1 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
6 * configure.ac: Bump version.
7 * debian/changelog: Updates.
9 2009-05-25 Alberto Garcia <agarcia@igalia.com>
11 * hildon/hildon-app-menu.c: Doc updates.
13 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
15 * hildon/hildon-banner.c: Remove leftover macro.
17 2009-05-25 Alejandro G. Castro <alex@igalia.com>
19 * hildon/hildon-pannable-area.c,
20 (hildon_pannable_area_scroll_indicator_fade),
21 (hildon_pannable_area_button_release_cb): Reviewed vmin
22 conditions, it could cause problems in the fadeout procedure.
24 2009-05-25 Alejandro G. Castro <alex@igalia.com>
26 * hildon/hildon-pannable-area.c
27 (hildon_pannable_area_button_release_cb): Added a threshold to
28 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
30 2009-05-25 Alejandro G. Castro <alex@igalia.com>
32 * hildon/hildon-pannable-area.c,
33 (hildon_pannable_area_set_property): Added code to sync the gtk
34 dnd threshold with the panning threshold.
36 2009-05-25 Alejandro G. Castro <alex@igalia.com>
38 * hildon/hildon-pannable-area.c,
39 (hildon_pannable_area_class_init): Changed some of the default
40 values, now it should be less responsive and more accurate.
42 2009-05-25 Alejandro G. Castro <alex@igalia.com>
44 * hildon/hildon-pannable-area.c,
45 (hildon_pannable_area_init),
46 (hildon_pannable_area_scroll_indicator_fade),
47 (hildon_pannable_area_button_press_cb),
48 (hildon_pannable_axis_scroll),
49 (hildon_pannable_area_timeout),
50 (hildon_pannable_area_motion_notify_cb),
51 (hildon_pannable_area_button_release_cb): Changed the name of the
52 clicked attribute to button_pressed, it is more clear about its use.
54 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
56 * src/hildon-pannable-area.c
57 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
59 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
60 vertical scrollbar visibility, and use the data on private section instead,
61 remove the initial_hint check
62 (hildon_pannable_area_expose_event): add the initial_hint check here
64 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
66 * src/hildon-pannable-area.c
67 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
68 if the fadeout effect was used
69 (hildon_pannable_area_expose_event): check if it is required to
70 manage the initial effect on the begining of the function. Previously
71 it was made at the end, but this doesn't ensure that the scrollbars
72 will be painted on the first show. Do not set to FALSE initial_effect,
73 to ensure that the initial hint is showed the first time the pannable
75 * examples/Makefile.am
76 * examples/hildon-pannable-area-initial-hint-example.c:
77 New example, to show that the initial-hint is showed when the widget
80 Fixes: NB#116607 (Pannable area should always have scrollbar visible
81 initially if the application can be scrolled)
83 2009-05-25 Alberto Garcia <agarcia@igalia.com>
85 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
86 Resize table before adding new items to make sure that
87 gtk_table_resize() is called just once.
89 2009-05-25 Alberto Garcia <agarcia@igalia.com>
91 * hildon/hildon-app-menu-private.h
92 * hildon/hildon-app-menu.c (item_visibility_changed)
93 (filter_visibility_changed, hildon_app_menu_show_all)
94 (hildon_app_menu_hide_all, hildon_app_menu_init):
95 Rearrange items just once when gtk_widget_show_all()/hide_all()
98 2009-05-25 Alberto Garcia <agarcia@igalia.com>
100 * hildon/hildon-app-menu.c
101 (hildon_app_menu_insert, hildon_app_menu_add_filter):
102 Don't call gtk_widget_show() on added items.
104 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
105 automatically when they're added)
107 2009-05-20 Alberto Garcia <agarcia@igalia.com>
109 * hildon/hildon-banner.c
110 (hildon_banner_realize, +hildon_banner_unrealize)
111 (+screen_size_changed, hildon_banner_class_init):
112 Redisplay the banner if the screen is rotated.
114 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
115 on transition from landscape to portrait)
117 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
119 * hildon/hildon-banner.[ch]:
120 (hildon_banner_show_information_override_dnd): remove icon_name from the
121 method definition as it is ignored.
122 * examples/hildon-banner-dnd-example.c: updated with the change on
125 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
127 * hildon/hildon-banner-private.h: new require_override_dnd and
128 overrides_dnd variables
129 * hildon/hildon-banner.h:
130 (hildon_banner_show_information_override_dnd): new method, that shows
131 the information but sets the override flag, in order to show important
133 * hildon/hildon-banner.c
134 (hildon_banner_show_information_override_dnd): new method
135 (hildon_banner_set_override_flag): new utility function
136 (hildon_banner_real_show_information): new utility function, in order to
137 generalize the current hildon_banner_show_information_override_dnd and
138 hildon_banner_show_information_override_dnd
139 * examples/Makefile.am
140 * examples/hildon-banner-dnd-example.c: New example that show how to
141 use the new hildon_banner_show_information_override_dnd
143 Fixes: NB#114874 (There is no possibility to show hildon banners with
146 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
148 * hildon/hildon-pannable-area.c: Add a comment explaining the math
149 behind hildon_pannable_calculate_vel_factor().
151 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
153 * hildon/hildon-pannable-area.c
154 (hildon_pannable_calculate_vel_factor): Correct the sum of the
155 deceleration factors.
157 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
159 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
160 Reduce the default value for 'scroll_time' to 1 second, since the
161 current initial scrolling takes too much time.
163 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
165 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
166 calculate velocity factor during initialization, since the properties
169 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
171 * hildon/hildon-pannable-area.c
172 (hildon_pannable_area_set_property): Calculate the velocity factor
173 after setting the deceleration property and not after.
175 2009-05-20 Alberto Garcia <agarcia@igalia.com>
177 * hildon/hildon-entry.c
178 (hildon_entry_class_init, +set_property, hildon_entry_new)
179 * hildon/hildon-check-button.c
180 (hildon_check_button_class_init)
181 (+set_property, hildon_check_button_new):
182 Make the theme size a property.
184 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
185 others) do too much in the _new function)
187 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
189 * configure.ac: post release version bump
190 * debian/changelog: post release version bump
192 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
197 * configure.ac: Bump version.
198 * debian/changelog: Updates.
200 2009-05-15 Alberto Garcia <agarcia@igalia.com>
202 * hildon/hildon-gtk.h
203 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
204 New API function to take a screenshot of a window
206 Fixes: NB#106374 (Need API to take a loading screenshot)
208 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
210 * hildon/hildon-time-selector.c
211 (update_format_policy): prevent to use hours and minutes unitialized
213 2009-05-15 Alberto Garcia <agarcia@igalia.com>
215 * hildon/hildon-window.c (hildon_window_size_request):
216 Always request the full size of the screen (minus the title bar if
217 not in fullscreen mode).
219 Fixes: NB#107486 (HildonWindow should size itself properly)
221 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
223 * hildon/hildon-note-private.h: Add idle_handler to the private data.
224 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
225 (on_show_cb), (sound_handling): Disconnect the idle handler for
226 the sound when the note is finalized to avoid possible crashes.
228 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
231 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
233 * src/hildon-animation-actor.c,
234 * src/hildon-remote-texture.c:
235 Added proper object cleanup to remove signal handler and object
236 references as HildonAnimationActor and HildonRemoteTexture
237 objects get destroyed.
239 Fixes: NB#116682 (Destroying parented animation actors when
240 parent in unmapped leads to crash)
242 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
244 Based on a patch by Christian Dywan (christian@imendio.com)
246 * doc/hildon-sections.txt:
247 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
248 * hildon/hildon-helper.h: New file size formatting method.
250 * debian/control: Depend on osso-filemanager l10n package for
251 proper localization strings.
253 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
255 * tests/Makefile.am: Include top_srcdir to make possible to build
256 tests in a different builddir.
257 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
258 on a different builddir.
260 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
262 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
263 (hildon_touch_selector_remove): Disconnect model's signal handler
266 Fixes: NB#116289 (Hildon home crashes while adding task
269 2009-05-11 Alberto Garcia <agarcia@igalia.com>
271 * hildon/hildon-button.c
272 (hildon_button_set_title, hildon_button_set_value):
273 Hide labels containing an empty string.
275 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
277 * configure.ac: post release version bump
278 * debian/changelog: post release version bump
280 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
285 * configure.ac: Bump version.
286 * debian/changelog: Updates.
288 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
290 * hildon/hildon-note-private.h: Removed sound_signal_handler
291 * hildon/hildon-note.c
292 (on_show_cb): new callback on note "show" event, this simply adds
293 a idle, with the function sound_handling
294 (sound_handling): removed the sound_signal_handler management
295 (hildon_note_init): connect note "show" event to on_show_cb
296 (hildon_note_realize): remove the connection to "expose-event"
298 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
299 device?' confirmation note)
301 2009-05-08 Alberto Garcia <agarcia@igalia.com>
303 * hildon/hildon-note.c
304 (hildon_note_new_information_with_icon_name)
305 (hildon_note_new_confirmation_with_icon_name):
306 Terminate the list of parameters in g_object_set() calls
308 Fixes: NB#115166 (Formatting memory card is not taking place)
310 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
312 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
313 "dialog-information" role for the sound being played.
315 2009-05-06 Alberto Garcia <agarcia@igalia.com>
317 * hildon/hildon-app-menu.c (hildon_app_menu_init):
318 Don't make the menu a modal window, it causes strange interactions
319 with the pointer grab and it's not really needed.
321 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
323 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
325 * hildon/hildon-touch-selector.[ch]
326 (hildon_touch_selector_optimal_size_request): function added to get a
327 optimal size request from the touch selector, when you want a dialog to
328 show as much of the selector
329 * hildon/hildon-picker-dialog.c:
330 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
331 (hildon_app_menu_class_init):
332 New "max-height-landscape" and "max-height-portrait" style properties
333 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
334 (hildon_picker_dialog_get_max_height): returns the maximum height using
335 the style properties defined and checking the current portrait/landscape
337 (_hildon_picker_dialog_set_selector): removed the set_size_request
339 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
341 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
343 * hildon/hildon-bread-crumb-trail.c:
344 * hildon/hildon-bread-crumb.c:
345 * hildon/hildon-seekbar.c:
346 Add reference to replacements for these deprecated widgets.
348 Fixes: MB#4461 (Documentation: All deprecations should mention
351 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
353 * examples/hildon-remote-texture-example.c
355 Change the include to the hildon-remote-texture in order to compile
356 properly the examples on the installed libhildon1-examples package
358 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
360 * tests/Makefile.am: Add check for HildonPickerButton.
361 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
362 (START_TEST), (create_hildon_picker_button_suite): Add three simple
363 checks for the HildonPickerButton.
364 * tests/check_test.c (configure_tests): Add the test suite.
365 * tests/test_suites.h: likewise.
367 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
369 * hildon/hildon-touch-selector.c
370 (+on_row_changed): Emit HildonTouchSelector:changed when the
371 contents of a selected row change.
372 (_create_new_column), (_hildon_touch_selector_set_model): connect
373 to GtkTreeModel:row-changed on a newly set model.
375 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
377 2009-05-05 Alberto Garcia <agarcia@igalia.com>
379 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
381 * hildon/hildon-banner.c (hildon_banner_destroy)
382 (hildon_banner_show_progress, hildon_banner_set_fraction):
383 Remove the progress bar from HildonBanner and use a progress
386 Fixes: NB#113761 (Update progress banner to use progress
389 2009-05-04 Alberto Garcia <agarcia@igalia.com>
391 * hildon/hildon-banner.c:
392 Calculate size of the banner label using the actual screen width
393 rather than using a fixed value.
395 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
398 2009-05-04 Alejandro G. Castro <alex@igalia.com>
400 * hildon/hildon-pannable-area.c,
401 (hildon_pannable_area_class_init): Fixed signals documentation
404 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
406 * configure.ac: post release version bump
407 * debian/changelog: post release version bump
409 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
414 * configure.ac: Bump version.
415 * debian/changelog: Updates.
417 2009-05-01 Alberto Garcia <agarcia@igalia.com>
419 * hildon/hildon-edit-toolbar.c
420 (hildon_edit_toolbar_init):
421 Don't let buttons in HildonEditToolbar receive focus.
423 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
424 typing on an HW arrows key)
426 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
428 * doc/Makefile.am: Fix build.
430 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
432 * doc/Makefile.am: Do not redefine content_files.
434 2009-04-30 Alberto Garcia <agarcia@igalia.com>
442 Renamed src/ to hildon/
447 Include <hildon/hildon.h> directly in all examples.
449 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
451 * src/hildon-sort-dialog.c
452 (hildon_sort_dialog_add_sort_key_with_sorting)
456 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
458 * src/Makefile.am: Move generated sources to CLEANFILES, so that
459 make distcheck passes.
461 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
463 * Makefile.am: Enable gtk-doc during distcheck.
465 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
467 * Makefile.am: Do not distribute the debian/ directory.
469 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
471 * doc/Makefile.am: Add the extra SGML files to content_files,
472 so that they are distributed properly.
474 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
476 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
479 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
481 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
482 (hildon_note_new_information_with_icon_name): Set the "icon" property
483 to preserve soundness.
485 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
487 * src/hildon-font-selection-dialog.c
488 (hildon_font_selection_dialog_set_property): Fail when the "family"
489 property is set to NULL.
491 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
493 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
496 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
498 * src/hildon-time-selector.h:
499 Added HildonTimeSelectorFormatPolicy
500 * src/hildon-time-selector.c:
501 Added PROP_TIME_FORMAT_POLICY
502 (_check_ampm_format): renamed to check_automatic_ampm_format
503 (update_format_policy), (update_format_dependant_columns): new functions
504 (hildon_time_selector_class_init)
505 (hildon_time_selector_contructor)
506 (hildon_time_selector_init)
507 (hildon_time_selector_get_property)
508 (hildon_time_selector_set_property)
509 (hildon_time_selector_get_time)
510 (hildon_time_selector_set_time)
511 * src/hildon-touch-selector.h: new file
512 * src/hildon-touch-selector.c
513 (hildon_touch_selector_emit_changed)
514 (hildon_touch_selector_block_changed)
515 (hildon_touch_selector_unblock_changed)
516 Added functions to allow to block the emission of the "changed" signal
517 * src/hildon-picker-dialog.c
518 (hildon_picker_dialog_show): call the parent show before the custom code
519 * examples/hildon-time-button-example.c
520 Modified, so now you can configure the time format using the new property
522 Added a new property "time-format-policy" that allow to choose the time
523 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
524 case it uses gconf in order to check if the time selector must use
527 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
530 2009-04-28 Alberto Garcia <agarcia@igalia.com>
532 * src/hildon-note.c (hildon_note_init):
533 Label in HildonNote must be left aligned, not centered. This
534 reverts the last commit in HildonNote.
536 Fixes: NB#112933 (text is not left aligned in confirmation dialog
537 is connectivity dialog)
539 2009-04-27 Alberto Garcia <agarcia@igalia.com>
544 * doc/hildon-sections.txt:
545 Added hildon_gtk_window_set_do_not_disturb()
547 2009-04-27 Alberto Garcia <agarcia@igalia.com>
549 * src/hildon-note.c (hildon_note_init): Center label.
551 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
554 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
559 * configure.ac: Bump version.
560 * debian/changelog: Updates.
562 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
564 * src/hildon-note-private.h: Add button-width to the private data.
565 * src/hildon-note.c (+resize_button),
566 (+hildon_note_orientation_update): methods to repack widgets on orientation
568 (screen_size_changed): Call above method for confirmation notes.
569 (hildon_note_realize): Always connect to the "screen-size" changed signal.
570 (hildon_note_rebuild): Store the original width request from buttons.
572 Fixes: NB#109635 (Confirmation notes do not support portrait)
574 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
576 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
577 when it is a progress note.
579 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
581 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
582 in the note, since there are no horizontally arranged contents.
584 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
586 * src/hildon-gtk.c (+set_flag): new generic method to
587 set/delay a flag setting in a window.
588 (hildon_gtk_window_set_progress_indicator):
589 (hildon_gtk_window_set_do_not_disturb),
590 (hildon_gtk_window_set_portrait_flags): use set_flag() to
591 avoid code redundance.
593 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
595 Based on a patch by Alberto Garcia (agarcia@igalia.com)
597 * src/hildon-gtk.c (set_clear_window_flag),
598 (do_set_progress_indicator), (do_set_do_not_disturb),
599 (do_set_portrait_flags),
600 (hildon_gtk_window_set_progress_indicator),
601 (hildon_gtk_window_set_do_not_disturb),
602 (hildon_gtk_window_set_portrait_flags):
603 Allow setting dnd-flag, progress indicator, and portrait flags
604 when the window is not realized.
606 2009-04-24 Alejandro G. Castro <alex@igalia.com>
608 * src/hildon-pannable-area.c,
609 * src/hildon-pannable-area.h: Add the hildon deprecated define to
610 the size request policy function and defines.
612 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
614 * doc/hildon-sections.txt: Add the new API.
615 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
616 method to set the portrait flags.
617 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
619 Fixes: NB#112328 (Adding helpers for setting portrait properties)
621 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
623 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
624 to allow using this method with other flags.
625 (hildon_gtk_window_set_progress_indicator): Update accordingly.
626 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
628 2009-04-22 Alberto Garcia <agarcia@igalia.com>
630 * src/hildon-touch-selector.c
631 (hildon_touch_selector_append_text_column):
632 Make the cell renderer use the smallest width possible.
634 Fixes: NB#108470 (Selected items in multiple selection are either
635 having a tick that is cut or not visible at all.)
637 2009-04-22 Alberto Garcia <agarcia@igalia.com>
639 * src/hildon-touch-selector.c
640 (hildon_touch_selector_append_text_column):
643 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
645 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
646 Use g_strdup_printf() instead of a fixed size buffer.
648 2009-04-21 Alberto Garcia <agarcia@igalia.com>
650 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
651 Close banners when a HildonAppMenu is popped up.
653 Fixes: NB#111027 (Title menu closed immediately if activated when
654 "Invalid e-mail address" banner is shown)
656 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
661 * configure.ac: Bump version.
662 * debian/changelog: Updates.
664 2009-04-20 Alberto Garcia <agarcia@igalia.com>
666 * src/hildon-banner.c (hildon_banner_realize):
667 Mark HildonBanner as supporting portrait mode.
668 Use GDK to set window properties insetad of direct Xlib calls.
670 Fixes: NB#111830 (HildonBanner should be marked as supporting
673 2009-04-20 Alberto Garcia <agarcia@igalia.com>
675 * src/hildon-note.c (hildon_note_rebuild):
676 Hide action area in information notes. Prevents text from being
677 slightly aligned to the left.
679 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
682 2009-04-20 Alberto Garcia <agarcia@igalia.com>
684 Patch by Mox Soini (ext-mox.soini@nokia.com)
686 * src/hildon-banner.c (hildon_banner_create_animation):
687 Use stylus-sized icons in animation banner.
689 Fixes: NB#111206 (stylus sized icon for animation banner)
691 2009-04-20 Alberto Garcia <agarcia@igalia.com>
695 (+hildon_gtk_window_set_do_not_disturb):
696 New API to set the do-not-disturb flag.
698 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
700 2009-04-20 Alberto Garcia <agarcia@igalia.com>
702 * examples/hildon-progress-indicator-example.c: Fix example
704 * src/hildon-gtk.c (set_clear_window_flag)
705 (hildon_gtk_window_set_progress_indicator):
706 Create a generic function for setting flags to a window.
707 Use GDK instead of direct Xlib calls.
709 2009-04-14 Alberto Garcia <agarcia@igalia.com>
711 * src/hildon-button.c (hildon_button_set_arrangement):
712 Due to NB#88126, if one of the labels is too long it will be
713 painted outside the button. The 'value' label is more likely to be
714 the longest one, so we change its packing options in order to
715 truncate it if necessary. As a side effect, the 'title' label will
716 no longer be truncated.
718 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
720 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
725 * configure.ac: Bump version.
726 * debian/changelog: Updates.
728 2009-04-13 Alejandro G. Castro <alex@igalia.com>
730 Deprecation of the hildon_pannable_area_set_size_request_policy
731 API, the only policy properly supported in gtk+ nowadays is the
734 * src/hildon-pannable-area.c,
735 (hildon_pannable_area_size_request): Added a workaround for the
736 size_request to avoid the problems of huge pixmaps in case someone
737 is still using the function.
738 * src/hildon-pannable-area.h: Deprecated the enum with the
741 Fixes: NB#110244 (Problems with the
742 hildon_pannable_area_set_size_request_policy API)
744 2009-04-08 Alejandro G. Castro <alex@igalia.com>
746 * src/hildon-pannable-area.c,
747 (hildon_pannable_area_init),
748 (hildon_pannable_area_size_request),
749 (hildon_pannable_area_style_set),
750 (hildon_pannable_draw_vscroll),
751 (hildon_pannable_draw_hscroll),
752 (hildon_pannable_area_check_scrollbars): Replaced area_width with
753 indicator_width to clarify the use of the attribute.
755 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
760 * configure.ac: Bump version.
761 * debian/changelog: Updates.
763 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
765 * src/hildon-picker-dialog.c
766 * src/hildon-touch-selector.c
767 Reverting the change that tried to avoid the hardcoded height on
768 the picker dialog, as causes problems on the hildon-touch-selector
771 Fixes: NB#110029 (selectors not scrolling to selected value)
773 2009-04-07 Alberto Garcia <agarcia@igalia.com>
775 * src/hildon-touch-selector.c: Fix typos
777 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
779 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
780 Use the event coordinates instead of gdk_window_get_pointer(). Also,
781 request more motions after using it.
783 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
785 * src/hildon-calendar.c (hildon_calendar_expose),
786 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
787 Remove unused variables.
789 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
791 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
794 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
796 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
797 Check the return value of gtk_tree_selection_get_selected()
800 2009-04-06 Alberto Garcia <agarcia@igalia.com>
802 * src/hildon-animation-actor.c
803 * src/hildon-button.c
805 * src/hildon-pannable-area.c
806 * src/hildon-picker-button.c
807 * src/hildon-program.c
808 * src/hildon-remote-texture.c
809 * src/hildon-text-view.c
810 * src/hildon-touch-selector.c
811 * src/hildon-window-stack.c
812 * src/hildon-window.c:
813 Add missing 'Since: 2.2' tags.
815 * doc/hildon-sections.txt:
816 Add some missing symbols.
818 * doc/hildon-docs.sgml:
819 New 'Other' section for HildonAnimationActor and
822 2009-04-06 Alberto Garcia <agarcia@igalia.com>
824 Patch by Iván Gómez (igomez@igalia.com)
828 * doc/hildon-docs.sgml
829 * doc/hildon-sections.txt
833 New chapters on using the Hildon library.
834 Updated the general structure of the reference manual.
835 Other minor documentation fixes.
837 * src/hildon-calendar-popup.c
838 * src/hildon-calendar.c
839 * src/hildon-controlbar.c
840 * src/hildon-date-editor.c
841 * src/hildon-dialog.c
842 * src/hildon-hvolumebar.c
843 * src/hildon-number-editor.c
844 * src/hildon-range-editor.c
845 * src/hildon-sort-dialog.c
846 * src/hildon-time-editor.c
847 * src/hildon-time-picker.c
848 * src/hildon-volumebar-range.c
849 * src/hildon-volumebar.c
850 * src/hildon-vvolumebar.c
851 * src/hildon-weekday-picker.c:
852 Add deprecation notes
854 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
855 Document 'horizontal-movement' and 'vertical-movement' signals.
857 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
862 * configure.ac: Bump version.
863 * debian/changelog: Updates.
865 2009-04-06 Alejandro G. Castro <alex@igalia.com>
867 * src/hildon-pannable-area.c,
868 (hildon_pannable_area_class_init): increased the minimum velocity.
869 (hildon_pannable_area_button_release_cb): Updated the
870 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
871 setup. Review the code to control that last event.
873 Fixes: NB#109790 (Releasing finger in pannable area easily causes
876 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
878 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
880 * src/hildon-get-password-dialog.c
881 (hildon_get_password_set_property),
882 (hildon_get_password_get_property), (create_contents):
883 * src/hildon-login-dialog-private.h:
884 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
885 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
886 (hildon_login_dialog_get_password):
887 * src/hildon-set-password-dialog-private.h:
888 * src/hildon-set-password-dialog.c
889 (hildon_set_password_set_property),
890 (hildon_set_password_get_property), (create_contents),
891 (hildon_set_password_response_change),
892 (hildon_set_password_response_set), (hildon_checkbox_toggled):
894 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
895 instead and look more Fremantle style.
897 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
899 2009-04-03 Alberto Garcia <agarcia@igalia.com>
901 * doc/hildon-sections.txt
902 * src/hildon-window-stack.h
903 * src/hildon-window-stack.c
904 (+hildon_window_stack_get_windows):
905 New API to obtain the list of windows on a stack.
907 2009-04-02 Alberto Garcia <agarcia@igalia.com>
909 * src/hildon-app-menu.c (hildon_app_menu_popup)
910 (hildon_app_menu_class_init, -hildon_app_menu_show):
911 Remove hildon_app_menu_show() and move all its checks to
912 hildon_app_menu_popup()
914 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
916 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
917 (_hildon_picker_dialog_set_selector): removed call to
918 gtk_widget_set_size_request
919 * src/hildon-touch-selector.c
920 (_create_new_column): change the pannable size request policy
922 Avoid to use a hardcoded height for the hildon picker dialog. In order
923 to get that, we needed to change the hildon pannable size request
925 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
927 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
929 * src/hildon-window.c (hildon_window_map): Check for vbox to be
930 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
933 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
935 * debian/control: Depend on osso-system-lock localization package.
936 * src/hildon-code-dialog.c: Obtain the secu_application_title
937 translation from osso-system-lock.
938 * src/hildon-get-password-dialog.c (create_contents): Do not mark
939 for translation the atk related strings, that's not necessary.
940 * src/hildon-set-password-dialog.c (create_contents): Ditto.
941 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
942 cancel button, it is not required.
944 2009-04-02 Alejandro G. Castro <alex@igalia.com>
946 * src/hildon-pannable-area.c,
947 (hildon_pannable_area_class_init): Modified the default value of
948 the overshooting max speed, we have reduced it.
950 2009-04-02 Alberto Garcia <agarcia@igalia.com>
952 * doc/hildon-sections.txt
953 * src/hildon-window-private.h
954 * src/hildon-window.h
955 * src/hildon-window.c (hildon_window_class_init)
956 (hildon_window_init, hildon_window_finalize)
957 (hildon_window_realize, hildon_window_get_property)
958 (hildon_window_set_property, hildon_window_update_markup)
959 (hildon_window_get_markup, hildon_window_set_markup):
960 New "markup" property and hildon_window_{get,set}_markup() methods.
962 * examples/hildon-stackable-window-example.c (new_window):
963 Update example to use hildon_window_set_markup()
965 Fixes: NB#106375 (Need API to retitle a window with a title
968 2009-04-01 Alejandro G. Castro <alex@igalia.com>
970 * src/hildon-pannable-area.c,
971 (hildon_pannable_area_class_init): Changed the default value of
972 the initial_hint to TRUE.
973 (hildon_pannable_area_initial_effect): Changed the initial effect,
974 not the effect is just the fade-out of the scrollbars.
976 Fixes: NB#107775 (No scrollbars can be seen when several items are
977 available in a dialog)
979 2009-04-01 Alberto Garcia <agarcia@igalia.com>
981 * src/hildon-program.c (hildon_program_update_top_most):
984 Fixes: NB#109179 (Memory leak in Hildon program)
986 2009-04-01 Alberto Garcia <agarcia@igalia.com>
988 * src/hildon-banner.c (-get_current_app_window):
989 Remove unused function.
991 2009-04-01 Alejandro G. Castro <alex@igalia.com>
993 * src/hildon-pannable-area.c: Modified the documentation of the
994 get adjustments functions to explain the problem of using the
996 (hildon_pannable_area_class_init): Improved the explanation about
999 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1001 * src/hildon-app-menu-private.h
1002 * src/hildon-app-menu.c
1003 (hildon_app_menu_class_init):
1004 Bring back the 'external-border' style property
1005 (hildon_app_menu_class_init, hildon_app_menu_init)
1006 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1007 Set a fixed width-request for the menu, independent of the number
1010 Fixes: NB#94957 (Smoothly opened application menu)
1012 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1014 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1016 * src/hildon-banner.c
1017 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1019 Make sure that the banner is correctly placed the first time it's
1021 (hildon_banner_check_position, -check_fullscreen_state):
1022 Show the banner in the same place no matter if the window is in
1023 fullscreen mode or not.
1025 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1027 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1029 * src/hildon-touch-selector.c (_default_print_func): reorder
1030 concatenation for clarity.
1032 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1034 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1035 for multicolumn selectors.
1037 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1039 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1044 * configure.ac: Bump version.
1045 * debian/changelog: Updates.
1047 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1049 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1052 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1054 * configure.ac: removed libcangerra-gtk dependency
1055 * debian/control: removed libcanberra-gtk dependency
1056 * src/Makefile.am: removed libcanberra gtk related flags
1057 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1058 context, and manage a global canberra context instead
1060 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1062 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1064 Patch by Daniel Borgmann (danielb@openismus.com)
1066 * src/hildon-edit-toolbar.c:
1067 Adjust the left padding.
1068 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1069 Paint background of the edit toolbar.
1071 Fixes: NB#107897 (Patch to make editmodetoolbar background
1072 themeable and adjust margin)
1074 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1076 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1078 * src/hildon-program.c (hildon_program_update_top_most):
1079 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1081 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1082 change when the user tasks in/out of an application)
1084 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1086 * configure.ac: added libcangerra-gtk dependency
1087 * debian/control: added libcanberra-gtk dependency
1088 * src/Makefile.am: added libcanberra gtk related flags
1089 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1092 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1094 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1096 * src/hildon-program.c (hildon_program_remove_window)
1097 (hildon_program_add_window): Add checks for the window
1098 parameter. Don't decrease the window counter if the window is not
1101 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1103 * src/hildon-pannable-area.c,
1104 (hildon_pannable_area_realize): Fixed position of the event_window
1105 in the realize method.
1107 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1109 * src/hildon-app-menu-private.h
1110 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1111 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1112 (hildon_app_menu_key_press, hildon_app_menu_init)
1113 (hildon_app_menu_finalize):
1114 Make sure that all idle functions are removed when the widget is
1117 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1119 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1124 * configure.ac: Bump version.
1125 * debian/changelog: Updates.
1127 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1129 * src/hildon-entry.c
1130 (+hildon_entry_show_placeholder),
1131 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1132 that replace hildon_entry_update_contents().
1133 (hildon_entry_set_text),
1134 (hildon_entry_set_placeholder),
1135 (hildon_entry_focus_in_event),
1136 (hildon_entry_focus_out_event): Determine when it is needed
1137 either to show or hide the placeholder and call the above methods.
1139 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1140 when the placeholder text is already set)
1142 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1144 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1145 simple GdkPixbufAnim using the new icons for the banner.
1146 (hildon_banner_show_animation): Use the above mentioned method to
1147 create the animation widget.
1149 Fixes: NB#103564 (Make hildon animation banner use individual
1150 image files as the animation)
1152 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1154 * src/hildon-pannable-area.c,
1155 (hildon_pannable_leave_notify_event): Check if the child is NULL
1156 to avoid sending the leave.
1158 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1160 * src/hildon-pannable-area.c,
1161 (hildon_pannable_area_class_init),
1162 (hildon_pannable_leave_notify_event): Added a handler of the
1163 leave-notify-signal to consider when no motion notify before
1166 Fixes: NB#107494 (Items stay selected when clicking and moving
1167 away when inside pannable area)
1169 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1174 * configure.ac: Bump version.
1175 * debian/changelog: Updates.
1177 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1179 Patch by Alberto Garcia (agarcia@igalia.com)
1181 * src/hildon-date-button.c,
1182 (hildon_date_button_class_init),
1183 (hildon_date_button_init): Removed the construct property handling
1184 and created a default selector in the init method.
1185 * src/hildon-picker-button.c,
1186 (hildon_picker_button_class_init): Removed the construct flag of the
1189 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1191 * src/hildon-main.c (hildon_init):
1192 Don't allow hildon_init() to be called more than once.
1194 Fixes: NB#106607 (hildon_init should issue error message upon
1197 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1199 * examples/hildon-pannable-area-touch-list-example.c
1200 * examples/hildon-pannagle-area-touch-grid-example.c
1201 * examples/hildon-edit-toolbar-example.c
1202 * examples/hildon-touch-selector-multi-cells-example.c
1203 Removed the call to gtk_rc_parse_string, as it is not required since
1206 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1208 * src/hildon-pannable-area.c,
1209 (hildon_pannable_area_class_init): Modified the default panning
1210 threshold of the widget to 6px.
1212 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1213 than the threshold value ) within the button is not sending the
1216 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1218 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1219 for the treeview in the new column. This way, the touch list will never
1222 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1223 be selected manually for the HW keys to work)
1225 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1227 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1228 comparison instead of using strcmp(). Fixes a compiler warning as well.
1230 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1232 * doc/hildon-docs.sgml: Do not set the library version in the
1233 document title, use the releaseinfo tag for that purpose instead.
1235 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1237 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1238 Do not jump to the first item if the text in the entry is removed.
1240 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1245 * configure.ac: Bump version.
1246 * debian/changelog: Updates.
1248 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1250 * src/hildon-entry.c (hildon_entry_refresh_contents):
1251 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1252 Use "ReversedSecondaryTextColor" for the placeholder text.
1254 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1256 * src/hildon-text-view.c: Fix compilation warning.
1258 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1260 * src/hildon-button.c (hildon_button_class_init): Don't make
1261 "title" and "value" construction properties, to prevent them from
1262 overwriting labels set from derived classes.
1264 * src/hildon-picker-button.c
1265 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1266 (hildon_picker_button_class_init): Make touch-selector a
1267 construction property.
1269 * src/hildon-date-button.c (hildon_date_button_class_init)
1270 (+hildon_date_button_constructed): Add a default date selector if
1273 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1275 * src/hildon-touch-selector.c: Small documentation fixes.
1277 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1279 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1281 * src/hildon-entry.c (hildon_entry_refresh_contents),
1282 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1283 widget name, set the logical color directly instead and a boolean
1284 showing_placeholder instead.
1285 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1286 use the widget name here either.
1288 Fixes: NB#105678 (HildonTextView should use logical colours
1289 instead of setting widget name)
1291 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1293 Patch by Daniel Elster (danielk@openismus.com)
1295 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1296 Add user_data parameter.
1297 (hildon_touch_selector_set_print_func_full): New function akin
1298 hildon_touch_selector_set_print_func() but with support for user
1299 data and a destroy callback.
1300 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1301 to clean up the print function user data.
1302 (hildon_touch_selector_class_init): Install dispose function.
1303 (HildonTouchSelectorPrivate::print_user_data),
1304 (HildonTouchSelectorPrivate::print_destroy_func): New private
1306 (hildon_touch_selector_init): Initialize new private members.
1307 (hildon_touch_selector_get_current_text): Pass along user data
1308 to the print function.
1309 (_default_print_func): Add dummy user_data to parameter list.
1310 * hildon-date-selector.c (_custom_print_func): ditto,
1311 * hildon-time-selector.c (_custom_print_func): ditto,
1312 * hildon-touch-selector-entry.c
1313 (hildon_touch_selector_entry_print_func): ditto.
1315 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1317 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1319 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1321 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1323 * src/hildon-pannable-area.c,
1324 (hildon_pannable_area_init),
1325 (hildon_pannable_area_button_press_cb),
1326 (hildon_pannable_area_motion_notify_cb): We have added code to
1327 handle the leave and enter events when using the motion events.
1329 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1331 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1333 * src/hildon-date-button.c (hildon_date_button_get_date)
1334 (hildon_date_button_set_date): Make sure that the button has a
1337 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1339 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1341 * src/hildon-pannable-area.c,
1342 (hildon_pannable_area_class_init),
1343 (hildon_pannable_area_calculate_velocity): Modify the use of the
1344 force and adapt the value.
1346 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1348 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1349 (hildon_app_menu_class_init): Hide the menu if it receives a
1350 delete-event, but don't destroy it
1352 Fixes: NB#104485 (Not able to address the call when application
1353 menu is opened at background)
1355 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1357 * src/hildon-app-menu.c
1358 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1359 Remove the "external-border" style property, let the menu take its
1360 natural size (or the one set by the window manager)
1361 (hildon_app_menu_repack_items):
1362 Don't reshow the menu, avoid flickers.
1364 Partially fixes NB#94957 (Smoothly opened application menu)
1366 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1371 * configure.ac: Bump version.
1372 * debian/changelog: Updates.
1374 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1376 * src/hildon-pannable-area.c,
1377 (hildon_pannable_area_motion_notify_cb): We control that the
1378 direction error margin is used just in case the movement is
1379 allowed in the other direction.
1381 Fixes: NB#105012 (buttons inside a pannable area not getting
1382 release event when dragging/releasing)
1384 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1386 * src/hildon-pannable-area.c,
1387 (hildon_pannable_area_class_init),
1388 (hildon_pannable_area_get_property),
1389 (hildon_pannable_area_set_property),
1390 (hildon_pannable_area_initial_effect),
1391 (hildon_pannable_axis_scroll),
1392 (hildon_pannable_area_button_release_cb): Reviewed the
1393 overshooting effect, now it has its own max
1394 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1395 speed when bouncing.
1397 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1402 * configure.ac: Bump version.
1403 * debian/changelog: Updates.
1405 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1407 * src/hildon-pannable-area.c,
1408 (hildon_pannable_area_class_init): Changed the max speed, now
1409 users can launch the widget very fast. Reduced the default force,
1410 that way it is easier to control the launch speed.
1412 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1414 * src/hildon-pannable-area.c,
1415 (hildon_pannable_area_button_release_cb): Removed this check
1416 because it causes problems when the device is overloaded.
1418 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1420 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1421 add a current_text field to store the text entered in the
1422 touch selector entry.
1423 (_clean_current_selection): clean up the current text as well.
1424 (_save_current_selection), (_restore_current_selection):
1425 Save/restore the text in the entry if the selector is a
1426 HildonTouchSelectorEntry.
1428 Fixes: NB#102541 (value entered in the touch selector entry is not
1429 shown when opened for second time)
1431 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1433 * doc/hildon-sections.txt:
1434 * src/hildon-touch-selector-entry.c
1435 (+hildon_touch_selector_entry_get_entry):
1436 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1438 Fixes: NB#104815 (I need accessor to the entry inside
1439 HildonTouchSelectorEntry)
1441 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1443 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1444 (hildon_app_menu_class_init):
1445 New "filter-vertical-spacing" style property.
1447 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1449 * src/hildon-find-toolbar.c
1450 (hildon_find_toolbar_emit_close)
1451 (hildon_find_toolbar_emit_invalid_input)
1452 (hildon_find_toolbar_entry_activate):
1453 Use g_signal_emit() instead of g_signal_emit_by_name()
1455 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1457 Patch by Mox Soini (ext-mox.soini@nokia.com)
1459 * tests/TEST-CASES.txt
1460 * tests/check-hildon-banner.c
1461 * tests/check-hildon-note.c
1462 * src/hildon-banner.c
1463 * src/hildon-code-dialog.c
1464 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1465 * src/hildon-time-editor.c
1466 * examples/hildon-lookup-example.c (main):
1467 Replace obsolete icon names with new ones.
1469 * src/hildon-find-toolbar-private.h:
1470 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1471 (-hildon_find_toolbar_emit_search):
1472 Remove find button and change icon of close button.
1474 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1476 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1478 * src/hildon-time-button.c (hildon_time_button_new_step):
1479 Use the "touch-selector" property to set the selector directly
1480 when creating the object.
1482 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1484 Added a new example application that allows tuning the pannable
1485 area and replaced defines with properties in order to simplify the
1486 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1487 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1488 PROP_DIRECTION_ERROR_MARGIN.
1490 * examples/hildon-pannable-area-tuning-example.c: New example
1492 * src/hildon-pannable-area.c,
1493 (hildon_pannable_area_class_init),
1494 (hildon_pannable_area_init),
1495 (hildon_pannable_area_get_property),
1496 (hildon_pannable_area_set_property),
1497 (hildon_pannable_area_launch_fade_timeout),
1498 (hildon_pannable_area_adjust_value_changed),
1499 (hildon_pannable_axis_scroll),
1500 (hildon_pannable_area_motion_notify_cb),
1501 (hildon_pannable_area_scroll_cb),
1502 (hildon_pannable_area_button_release_cb): We have converted some
1503 of the defines that control the widget to properties to simplify
1506 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1508 * src/hildon-app-menu.c (hildon_app_menu_map)
1509 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1510 so it's closed if a new window appears.
1512 Fixes: NB#104485 (Not able to address the call when application
1513 menu is opened at background)
1515 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1517 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1518 missing 'break' statement in in 'case' construct to avoid
1521 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1523 * src/hildon-touch-selector-entry.c
1524 (hildon_touch_selector_entry_get_property),
1525 (hildon_touch_selector_entry_set_property): Add missing 'break'
1526 statements in in 'case' constructs to avoid incorrect warnings.
1528 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1530 * src/hildon-time-editor.c
1531 (hildon_time_editor_get_time_separators): Do not crash if
1532 the first label is NULL.
1534 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1536 * src/hildon-date-selector.c (_month_days): Check for month to be
1537 strictly less than 12, since otherwise we may overrun the array.
1539 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1541 * src/hildon-date-button.c (+hildon_date_button_new_full)
1542 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1543 (hildon_date_button_init): Set the date selector using a
1544 construction property, to make it happen after HildonButton's
1545 "value" property is set.
1547 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1548 current date by default)
1550 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1552 * doc/hildon-sections.txt
1553 * src/hildon-program.c
1554 * src/hildon-stackable-window.c
1555 * src/hildon-window.c:
1556 Documentation updates
1558 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1560 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1561 (hildon_window_stack_new, +hildon_window_stack_set_property)
1562 (+hildon_window_stack_get_property)
1563 (hildon_window_stack_class_init)
1564 (+hildon_window_stack_set_window_group)
1565 (+hildon_window_stack_get_window_group):
1566 Make the window group a construction property.
1568 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1570 * doc/hildon-sections.txt
1571 * src/hildon-stackable-window-private.h
1572 * src/hildon-stackable-window.h
1573 * src/hildon-stackable-window.c
1574 (-hildon_stackable_window_set_app_menu)
1575 (-hildon_stackable_window_get_app_menu)
1576 (-hildon_stackable_window_toggle_menu)
1577 (-hildon_stackable_window_finalize)
1578 (hildon_stackable_window_class_init)
1579 (hildon_stackable_window_init)
1580 * src/hildon-window-private.h
1581 * src/hildon-window.h
1582 * src/hildon-window.c (hildon_window_init)
1583 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1584 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1585 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1586 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1587 Moved all HildonAppMenu code to HildonWindow. The menu does not
1588 require a HildonStackableWindow anymore.
1590 * src/hildon-app-menu.c
1591 * src/hildon-program.c
1592 * examples/hildon-app-menu-example.c (main):
1593 Update examples and documentation to reflect HildonAppMenu
1596 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1598 * src/hildon-remote-texture.c
1599 * src/hildon-animation-actor.c:
1600 Don't include unused private headers.
1602 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1604 * src/hildon-program-private.h
1605 * src/hildon-program.c
1606 (hildon_program_set_common_menu)
1607 (hildon_program_get_common_menu)
1608 (hildon_program_set_common_app_menu)
1609 (hildon_program_get_common_app_menu):
1610 Change common menu pointers from GtkWidget* to GtkMenu* and
1611 HildonAppMenu* to avoid unnecessary casts.
1613 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1615 * src/hildon-window.c (hildon_window_set_main_menu):
1616 Removed incorrect 'Since:' tag
1618 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1620 * src/hildon-pannable-area.c,
1621 (hildon_pannable_area_calculate_velocity): We use now the
1622 RATIO_TOLERANCE here to check the distance, fixed typo in the
1624 (hildon_pannable_area_motion_notify_cb): We have to set the type
1625 and time even if we are not sending the motion.
1627 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1629 * doc/hildon-sections.txt
1630 * src/hildon-app-menu.h
1631 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1632 (+hildon_app_menu_get_filters): New methods to get the contents of
1635 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1638 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1640 * src/hildon-app-menu.c (hildon_app_menu_popup):
1643 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1645 * src/hildon-window.h
1646 * src/hildon-window.c (+hildon_window_get_main_menu)
1647 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1648 and deprecated hildon_window_get_menu().
1650 * src/hildon-stackable-window.h
1651 * src/hildon-stackable-window.c
1652 (+hildon_stackable_window_set_app_menu)
1653 (+hildon_stackable_window_get_app_menu)
1654 (hildon_stackable_window_set_main_menu): Created
1655 hildon_stackable_window_{get,set}_app_menu() and deprecated
1656 hildon_stackable_window_set_main_menu().
1658 * doc/hildon-sections.txt
1659 * examples/hildon-app-menu-example.c (main)
1660 * src/hildon-app-menu.c
1661 * src/hildon-program.c:
1662 Updated examples and documentation.
1664 Fixes: NB#103758 (No way to obtain a menu from a
1665 HildonStackableWindow)
1667 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1672 * configure.ac: Bump version.
1673 * debian/changelog: Updates.
1675 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1677 * examples/hildon-remote-texture-example.c: Include
1678 hildon-remote-texture.h explicitely.
1679 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1680 applications not defining _XOPEN_SOURCE which don't require this header.
1682 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1684 * doc/hildon-sections.txt
1685 * src/hildon-app-menu.h
1686 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1687 New function to pop up a HildonAppMenu
1689 * src/hildon-stackable-window.c
1690 (hildon_stackable_window_toggle_menu):
1691 Use hildon_app_menu_popup() to show the menu.
1693 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1695 * src/hildon-app-menu.c (hildon_app_menu_show)
1696 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1697 menu if there's another window between it and its parent window.
1699 Fixes: NB#100468 (Application menu window is launched even when a
1700 new secondary-window/dialog is pending to be shown/realized)
1702 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1704 * src/hildon-window-stack.c (hildon_window_stack_push)
1705 (hildon_window_stack_pop_and_push):
1706 Don't forget to push/pop the first window.
1707 Reverse the window list before calling _push_list()
1709 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1711 * src/hildon-picker-button.h
1712 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1713 Remove "value_changed" slot to avoid ABI breakage
1715 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1717 * src/hildon-pannable-area.c,
1718 (hildon_pannable_area_realize),
1719 (hildon_pannable_area_unrealize),
1720 (hildon_pannable_draw_vscroll),
1721 (hildon_pannable_draw_hscroll): Changed the method to handle the
1722 GC used to draw the transparent scrollbar, this way we avoid
1723 creating the GC all the time when drawing the scrollbars.
1725 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1727 * src/hildon-pannable-area.c,
1728 (hildon_pannable_area_init),
1729 (hildon_pannable_area_remove): Removed some unnecessary casts.
1730 (hildon_pannable_area_dispose): Disconnected some signals before
1731 releasing the adjustments.
1733 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1735 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1736 Make sure that all widgets contained in the toolbar are shown.
1738 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1740 * doc/hildon-sections.txt
1741 * src/hildon-picker-button.h
1742 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1743 (_selection_changed, hildon_picker_button_on_dialog_response)
1744 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1745 New hildon_picker_button_value_changed() method.
1748 * src/hildon-picker-button-private.h
1749 * src/hildon-picker-button.c (hildon_picker_button_init)
1750 (+hildon_picker_button_disable_value_changed): Add protected
1751 function for disabling the "value-changed" signal.
1753 * src/hildon-date-button.c (hildon_date_button_set_date):
1754 Don't emit "value-changed" for each one of the three columns.
1756 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1757 before actual change of values)
1759 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1761 * src/hildon-pannable-area.c,
1762 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1763 for the treeview overshooting.
1765 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1767 * src/hildon-banner.c (+hildon_banner_bind_style):
1768 Renamed from hildon_banner_bind_label_style(), now naming the
1769 banner itself as well.
1770 (hildon_banner_show_information),
1771 (hildon_banner_show_information_with_markup),
1772 (hildon_banner_show_animation), (hildon_banner_show_progress):
1773 Name the widgets and labels, based on their type.
1775 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1778 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1780 * src/hildon-note.c (hildon_note_set_property): call
1781 hildon_note_rename() on HildonNote:note-type set.
1782 (hildon_note_rename): Name the note and its label, based on the
1783 HildonNote:note-type property.
1785 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1788 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1790 * src/hildon-pannable-area.c,
1791 (hildon_pannable_area_class_init),
1792 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1793 panning parameters, increased SPS and deceleration factor. Added
1794 also a margin to control fake directions.
1796 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1798 Patch by Sven Herzberg (sven@imendio.com)
1800 * configure.ac: Add missing AM_PROG_CC_C_0
1801 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1803 See NB#101420 (Update unit tests and fix make check)
1805 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1807 This patch was applied before but reverted because it caused
1808 problems, we have changed the main condition and tested the
1809 regressions we detected before and they work ok. We have done a
1810 complete review of the topmost algorithm in order to get a more
1813 * src/hildon-pannable-area.c,
1814 (hildon_pannable_area_get_topmost): Added a new parameter to
1815 filter the the windows that do not include those events.
1816 (hildon_pannable_area_button_press_cb),
1817 (hildon_pannable_area_button_release_cb),
1818 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1819 topmost function, we have added the new parameter.
1821 Fixes: NB#97458 (Pannable area prevents propagation of button
1824 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1826 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1827 if all columns in the selector have an item selected.
1828 (_on_dialog_response): Stop "response" signal emission if there is
1829 any selector column without selected items.
1831 Fixes: NB#101889 (Picker dialog should not close when nothing is
1832 selected in multiple selection list)
1834 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1836 * src/hildon-font-selection-dialog.c
1837 (hildon_font_selection_dialog_class_init),
1838 (hildon_font_selection_dialog_init): Remove the preview
1839 button and dialog, since previewing with default theming is likely
1840 to be overcomplicated. The :preview property has now no effect.
1841 Update documentation blurbs to inform about this.
1843 Fixes: NB#92297 (Preview content is not clearly visible for
1844 default colour text)
1846 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1848 Reviewed the geometry that handles the children size and
1849 scrollbar, now it tries a size and reviews the results depending
1850 on the scrollbars visibility.
1852 * src/hildon-pannable-area.c,
1853 (hildon_pannable_area_realize): Fixed a typo.
1854 (hildon_pannable_area_child_allocate_calculate): Added this
1855 function to calculate the child allocation.
1856 (hildon_pannable_area_size_allocate): Reviewed the allocation
1858 (hildon_pannable_area_check_scrollbars),
1859 (hildon_pannable_area_refresh): Refactored refresh function, this
1860 way we can call the code handling the scrollbars without causing a
1861 size_request, it is interesting in the allocate.
1862 (hildon_pannable_area_init): Replace the callbacks of the
1863 value_changed and changed signals to propertly deal with the
1865 (hildon_pannable_area_grab_notify),
1866 (hildon_pannable_area_initial_effect),
1867 (hildon_pannable_area_launch_fade_timeout),
1868 (hildon_pannable_area_adjust_changed),
1869 (hildon_pannable_area_adjust_value_changed),
1870 (hildon_pannable_area_redraw),
1871 (hildon_pannable_area_button_press_cb),
1872 (hildon_pannable_area_button_release_cb),
1873 (hildon_pannable_area_scroll_cb),
1874 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1875 code and use the new functions adjust_changed and
1876 adjust_value_changed.
1878 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1879 Contact editor dialog)
1881 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1886 * configure.ac: Bump version.
1887 * debian/changelog: Updates.
1889 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1891 * src/hildon-pannable-area.c,
1892 (hildon_pannable_area_get_topmost),
1893 (hildon_pannable_area_button_press_cb),
1894 (hildon_pannable_area_button_release_cb),
1895 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1896 topmost function adding the event mask. We have to try a
1897 differente approach because it is still causing problems (NB#9745,
1900 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1902 * src/hildon-banner.c:
1903 Update the maximum width of timed banners.
1904 (force_to_wrap_truncated): Enforce the maximum text width if the
1907 Fixes: NB#102413 (The text margins (wrapping) in information
1908 banner should be HILDON_MARGIN_TRIPLE)
1910 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1912 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1914 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1915 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1916 bound when calculating the scroll indicator position.
1918 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1919 treat ->lower correctly)
1921 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1923 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1924 expose event handling, since it is not necessary to draw the focus
1927 Fixes: NB#102467 (Do not show highlight on the text in
1930 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1932 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1933 full height of the toolbar for the button and the label.
1935 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1937 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1938 padding before the label and after the button.
1940 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1942 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1944 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1945 Add a GtkVSeparator between the button and the back arrow.
1946 Let the button have automatic size.
1947 Set a name to the widget for theming handling.
1949 Fixes: NB#101793 (Make edit toolbar the same height as window
1950 title bar (use title area theming))
1952 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1954 * src/hildon-helper.c (attach_new_color_element): Fix memory
1957 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1959 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1961 * examples/hildon-button-example.c (common_buttons_window): Don't
1964 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1966 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1967 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1969 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1971 * src/hildon-gtk.c: Check that the window is realized.
1973 Fixes: NB#102225 (Crash setting the progress indicator to a non
1976 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1978 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1979 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1980 instead of modifying the one in the widget style.
1982 Fixes: NB#101043 (Second row of all the command button are
1983 displayed in transparent mode.)
1985 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1987 * src/hildon-date-button.c
1988 * src/hildon-time-button.c: Add gettext macros
1990 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1992 * src/hildon-date-button.c (hildon_date_button_new):
1993 * src/hildon-time-button.c (hildon_time_button_new_step):
1994 Use new logical strings to set the button default title.
1996 Fixes: NB#99915 (Date and Time options are not localised in Date
1999 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2001 * src/hildon-pannable-area.c
2002 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2003 the PANNING_THRESHOLD.
2005 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2007 * src/hildon-pannable-area.c,
2008 (hildon_pannable_area_class_init): Increased the maximum speed.
2009 (hildon_pannable_area_get_property),
2010 (hildon_pannable_area_set_property),
2011 (hildon_pannable_area_timeout): Added a new low friction mode, it
2012 allows the user avoid friction when launching the widget fast
2013 enough. It is interesting to traverse long lists.
2015 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2017 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2018 (+hildon_stackable_window_delete_event): Ignore delete events if
2019 the window is not the topmost one.
2021 Fixes: NB#101698 (Back button long press and delete-event handling)
2023 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2025 * src/hildon-pannable-area.c,
2026 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2027 gtk-dnd-drag-threshold, it was too big. We have defined our own
2028 dnd define and set a smaller value: PANNIG_THRESHOLD.
2030 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2032 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2033 user-defined icons, use always the default one.
2035 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2037 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2039 This patch was applied before but reverted because it caused
2040 problems, we have changed the main condition and tested the
2041 regressions we detected before and they work ok.
2043 * src/hildon-pannable-area.c,
2044 (hildon_pannable_area_get_topmost): Added a new parameter to
2045 filter the the windows that do not include those events. Added
2046 also a condition when finding the window to filter windows that do
2047 not ask for those events.
2048 (hildon_pannable_area_button_press_cb),
2049 (hildon_pannable_area_button_release_cb),
2050 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2051 topmost function, we have added the new parameter.
2053 Fixes: NB#97458 (Pannable area prevents propagation of button
2056 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2058 * tests/check-hildon-color-button.c (START_TEST): do not leak
2061 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2063 * src/hildon-font-selection-dialog.c
2064 (hildon_font_selection_dialog_get_preview_text): Return NULL
2065 instead of FALSE on the g_return_val_if_fail().
2067 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2069 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2070 * src/hildon-date-selector.c
2071 (hildon_date_selector_select_current_date):
2072 Do not compare unsigned integers to be greater than or equal 0,
2073 because it's always TRUE.
2075 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2077 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2078 (hildon_date_selector_constructor): Do not select the current
2079 date until we are handle the "changed" signal, to avoid having bogus
2080 elements in the days model.
2082 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2084 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2085 for num_days, since _month_days() can return a negative value.
2087 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2089 * src/hildon-caption.c (hildon_caption_size_allocate):
2090 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2091 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2093 Initialize allocation variables to 0, to avoid eventually using
2094 unitialized variables.
2096 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2098 * src/hildon-bread-crumb-trail.c
2099 (hildon_bread_crumb_trail_size_allocate):
2100 * src/hildon-calendar.c (hildon_calendar_set_background):
2101 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2102 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2103 * src/hildon-seekbar.c (hildon_seekbar_init):
2104 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2105 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2106 * src/hildon-touch-selector-entry.c
2107 (hildon_touch_selector_get_text_from_model):
2108 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2109 * src/hildon-window.c (hildon_window_finalize):
2111 Remove many unused variables.
2113 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2115 * src/hildon-seekbar.c: (hildon_seekbar_init),
2116 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2118 Remove unnecessary g_assert() calls.
2120 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2122 * src/hildon-caption.c: (hildon_caption_expose),
2123 (hildon_caption_set_property), (hildon_caption_init),
2124 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2125 (hildon_caption_size_request), (hildon_caption_size_allocate),
2126 (hildon_caption_forall), (hildon_caption_set_separator),
2127 (hildon_caption_activate), (hildon_caption_set_child_expand),
2128 (hildon_caption_set_label_text),
2129 (hildon_caption_get_label_alignment):
2131 Remove unnecessary g_assert() calls.
2133 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2135 * src/hildon-banner.c
2136 (hildon_banner_map, hildon_banner_init): Make banner temporary
2137 before mapping it to avoid closing other temporary windows, but
2138 make it non-temporary afterwards to avoid being closed by other
2139 non-temporary windows.
2140 (-hildon_banner_client_event, hildon_banner_init):
2141 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2143 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2146 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2148 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2151 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2153 * src/hildon-remote-texture.c
2154 * src/hildon-remote-texture.h
2155 * src/hildon-remote-texture-private.h
2156 * examples/hildon-remote-texture-example.c:
2157 Updates/fixes to remote-texture and its example.
2159 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2161 Patch by Mox Soini (ext-mox.soini@nokia.com)
2163 * src/hildon-code-dialog.c: Update logical id.
2164 * src/hildon-set-password-dialog.c: Update logical id.
2166 Fixes: NB#100646 (Logical strings is shown for ok in set
2167 password,Password needed dialogs)
2169 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2172 * src/hildon-remote-texture.c
2173 * src/hildon-remote-texture.h
2174 * src/hildon-remote-texture-private.h
2176 Added remote texture widget (for Clutter shared memory textures)
2178 * examples/hildon-remote-texture-example.c
2179 * examples/Makefile.am
2180 Added example file for remote texture usage
2182 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2184 * configure.ac: post release version bump.
2185 * debian/changelog: version bump.
2187 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2192 * configure.ac: Bump version.
2193 * debian/changelog: Updates.
2195 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2197 * src/hildon-date-selector.c (hildon_date_selector_init)
2198 (hildon_date_selector_constructor): Don't connect to the "changed"
2199 signal until the selector is completely constructed.
2201 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2203 * src/hildon-touch-selector.c: (_create_new_column),
2204 (hildon_touch_selector_append_column),
2205 (hildon_touch_selector_set_column_selection_mode),
2206 (hildon_touch_selector_set_active),
2207 (hildon_touch_selector_select_iter):
2208 Emit the HildonTouchSelector::changed signal every time selection
2209 is changed in any of the methods above. This behavior was already
2210 documented but not fully functional.
2212 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2213 selection is programmatically changed)
2215 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2217 * doc/hildon-sections.txt: Remove obsolete icon
2218 sizes from here as well.
2220 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2222 * examples/hildon-stackable-window-example.c (add_window): Remove
2225 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2227 * src/hildon-app-menu.c
2228 (hildon_app_menu_show): Check whether the parent window of a menu
2229 is topmost before popping it up.
2231 Fixes: NB#100468 (Application menu window is launched even when a
2232 new secondary-window/dialog is pending to be shown/realized.)
2234 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2236 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2239 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2241 Patch by Mox Soini (ext-mox.soini@nokia.com)
2243 * src/hildon-banner.c: (hildon_banner_show_animation):
2244 use stylus size instead of obsolete note size.
2245 * src/hildon-defines.h: Update icon sizes.
2247 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2249 * src/hildon-touch-selector-entry.c:
2250 (hildon_touch_selector_entry_init): Disable unsupported
2252 (hildon_touch_selector_entry_get_text_column): Emit a warning
2253 if an unsupported input modes is used and explicitile state
2254 these modes in the documentation.
2256 Fixes: NB#99802 (Hildon touch selector entry not working properly
2257 for some of the input modes)
2259 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2261 * src/hildon-pannable-area.c,
2262 (hildon_pannable_area_init): Added the changed signal handlers of
2265 Fixes: NB#100320 (HildonPannableArea does not listen to
2266 GtkAdjustment "change" signals)
2268 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2270 * doc/hildon-sections.txt
2271 * src/hildon-window-private.h
2272 * src/hildon-window.h
2273 * src/hildon-window.c (hildon_window_init)
2274 (hildon_window_realize, hildon_window_unrealize)
2275 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2276 (hildon_window_size_request, hildon_window_size_allocate)
2277 (hildon_window_forall, hildon_window_show_all)
2278 (hildon_window_destroy, +paint_edit_toolbar)
2279 (+hildon_window_set_edit_toolbar):
2280 New hildon_window_set_edit_toolbar() method, to add a
2281 HildonEditToolbar to a window without having to pack it manually.
2283 Reorganize hildon_window_size_allocate()
2285 * src/hildon-edit-toolbar.c: Update documentation.
2287 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2288 example to use the new API.
2290 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2292 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2294 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2295 Remove from stack before calling parent's hide.
2297 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2299 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2300 window is removed from the middle of the stack, update the
2301 transiency of the previous one.
2303 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2306 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2308 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2309 block/unblock the signal handler if it's not actually being used.
2310 Fixes some critical warnings.
2312 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2314 Based on a patch by Iván Gómez (igomez@igalia.com)
2316 * src/hildon-banner.c
2320 * src/hildon-pannable-area.c
2321 * src/hildon-picker-dialog.c
2322 * src/hildon-wizard-dialog.h
2323 * src/hildon-wizard-dialog.c: Documentation updates.
2325 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2326 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2328 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2330 * configure.ac: post release version bump.
2331 * debian/changelog: version bump.
2333 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2338 * configure.ac: Bump version.
2339 * debian/changelog: Updates.
2341 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2343 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2344 a stock icon nor change the relief of the back arrow.
2346 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2347 graphics from theme)
2349 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2351 * src/hildon-button.c (hildon_button_set_alignment): Use
2352 priv->alignment if the button has no child yet.
2354 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2356 * src/hildon-button.c: (hildon_button_init): Set the
2357 button style during initialization to give it the proper
2360 Fixes: NB#99713 (HildonButton value label color is wrong)
2362 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2364 * src/hildon-touch-selector.c: Document
2365 hildon_touch_selector_center_on_selected()
2367 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2369 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2370 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2371 all menu items, but not the menu itself.
2372 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2373 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2374 items after adding them to the menu so keyboard accelerators work.
2375 (hildon_app_menu_show): Don't show the menu if it contains items
2376 but none of them are visible.
2378 * examples/hildon-app-menu-example.c (create_menu): Use
2379 gtk_widget_show_all() to show all menu items.
2381 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2383 * src/hildon-picker-dialog.c:
2384 (-_update_title_on_selector_changed_cb),
2385 (-_dialog_update_title): Removed.
2386 (_select_on_selector_changed_cb), (_on_dialog_response),
2387 (on_selector_columns_changed): Do not update the dialog title.
2388 (setup_interaction_mode): Do not connect to
2389 HildonTouchSelector::changed signal if there's a "done" button, as
2390 the dialog title doesn't need to be updated.
2392 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2395 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2397 Patch by Kristian Rietveld (kris@imendio.com)
2399 * src/hildon-touch-selector.c: (_create_new_column): Use new
2400 GtkTreeView::hildon-row-tapped signal to react to user interactions
2401 instead of ::changed.
2403 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2404 with some dynamic tree model)
2406 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2408 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2409 (+screen_size_changed, +label_size_request)
2410 (hildon_note_class_init): Make the Hildon information note have a
2411 minimum height, and make its text hvae a maximum width.
2413 Fixes: NB#98614 (Hildon information note (background) should have
2414 minimum height and maximum text width)
2416 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2418 * src/hildon-banner.h
2419 * src/hildon-banner.c (hildon_banner_show_information)
2420 (hildon_banner_show_informationf)
2421 (hildon_banner_show_information_with_markup): Update documentation
2422 to reflect that the icon_name parameter is not used anymore.
2423 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2424 Remove all code from these functions and mark them as deprecated.
2425 (hildon_banner_show_progress): Mark as deprecated.
2427 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2429 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2431 * src/hildon-pannable-area.c,
2432 (hildon_pannable_area_class_init),
2433 (tranparency_color),
2434 (hildon_pannable_draw_vscroll),
2435 (hildon_pannable_draw_hscroll),
2436 (hildon_pannable_area_expose_event): Added a new way to render the
2437 scrollbars of the pannable area avoiding using cairo at all. This
2438 way we improve the performance of the pannable area rendering. The
2439 cairo rendering procedure is still in the code, we can control
2440 which one to use changing the value of the define
2441 USE_CAIRO_SCROLLBARS.
2443 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2445 * configure.ac: post release version bump.
2446 * debian/changelog: version bump.
2448 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2453 * configure.ac: Bump version.
2454 * debian/changelog: Updates.
2456 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2458 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2459 banners instead of destroying them when they receive a button
2462 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2464 Reverted commit 34028, it was causing regressions, probably the
2465 topmost condition is not correct, we have to check it in more
2466 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2467 propagation of button press events)
2469 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2471 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2472 that the selection is not empty before attempting to retrieve the
2473 current ampm selection.
2475 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2477 * src/hildon-picker-button.c:
2478 (hildon_picker_button_on_dialog_response): Directly update the
2479 button contents when required instead of calling _selection_changed.
2481 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2483 * src/hildon-program.c (hildon_program_update_top_most): Update
2484 'is-topmost' property also when wm_hints is not set.
2486 Fixes: NB#98383 (is-topmost signal is not emitted when task
2487 switcher is clicked.)
2489 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2491 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2495 * src/hildon-animation-actor.c,
2496 * src/hildon-animation-actor.h: Added the animation actor class,
2497 this widget represents an animation actor for WM-assisted
2498 animation effects in the Hildon framework.
2500 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2502 * src/hildon-window-stack-private.h
2503 * src/hildon-window-stack.c
2504 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2505 Avoid calling gtk_widget_show() again indirectly from
2506 hildon_stackable_window_show()
2508 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2510 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2513 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2515 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2516 (hildon_time_selector_init): Move the construction of the hours and
2517 ampm columns to the constructor to preserve the order the columns
2520 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2522 * src/hildon-picker-dialog.c:
2523 (hildon_picker_dialog_class_init): Connect a realize method.
2524 (+hildon_picker_dialog_realize): Setup the interaction mode here
2526 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2527 yet, do it during the realize instead.
2528 (_on_dialog_response):
2529 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2530 if the widget is not realized, to avoid the dialog response before it
2533 Avoid premature responses in the HildonPickerDialog that can cause it
2534 to be hidden before it's even shown.
2536 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2538 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2539 (on_selector_columns_changed), (requires_done_button),
2540 (+prepare_action_area), (setup_interaction_mode),
2541 (_hildon_picker_dialog_set_selector):
2543 Split the interaction mode setup into preparation of the
2544 action area (prepare_action_area()) and the connection of
2545 the signals in setup_interaction_mode() and update the code to
2548 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2550 * src/hildon-pannable-area.c,
2551 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2552 per second to 15, we will check if this is ok regarding
2555 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2557 * src/hildon-pannable-area.c,
2558 (hildon_pannable_axis_scroll): Avoid resize if we already have
2559 reached overshoot_max.
2561 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2563 * src/hildon-pannable-area.c,
2564 (hildon_pannable_area_init),
2565 (hildon_pannable_area_realize),
2566 (hildon_pannable_area_size_allocate),
2567 (hildon_pannable_area_map),
2568 (hildon_pannable_area_unmap),
2569 (hildon_pannable_draw_vscroll),
2570 (hildon_pannable_draw_hscroll),
2571 (hildon_pannable_area_expose_event),
2572 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2573 pannable are to avoid the expose events go to the window and
2574 redraw the window. We save this way that part of the stack and the
2575 paint_boxes. We had to change the positions of the elements when
2578 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2580 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2581 * src/hildon-color-chooser-dialog.c:
2582 (hildon_color_chooser_dialog_init):
2583 * src/hildon-font-selection-dialog.c:
2584 (hildon_font_selection_dialog_init),
2585 (hildon_font_selection_dialog_show_preview):
2586 * src/hildon-get-password-dialog.c:
2587 * src/hildon-login-dialog.c:
2588 * src/hildon-set-password-dialog.c:
2589 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2590 * src/hildon-time-picker.c: (hildon_time_picker_init):
2592 Remove obsolete logical string IDs and update to the appropriate ones.
2594 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2596 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2598 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2599 that happens if the window hasn't been realized yet.
2601 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2602 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2604 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2606 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2607 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2610 Fixes: NB#98537 (Device hangs in account settings dialog)
2612 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2614 * configure.ac: post release version bump.
2615 * debian/changelog: version bump
2617 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2622 * configure.ac: Bump version.
2623 * debian/changelog: Updates.
2625 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2627 Added a new function to the HildonTimeButton widget that allows to
2628 change the step of the minutes in the selector associated with the
2629 button: hildon_time_button_new_step
2631 * src/hildon-time-button.c,
2632 (hildon_time_button_init),
2633 (hildon_time_button_new),
2634 (hildon_time_button_new_step):
2635 * src/hildon-time-button.h: Added the new function and refactored
2637 * examples/hildon-time-button-example.c,
2638 (main): We have replaced the function without parameters with the
2639 function with the steps set to 5
2641 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2643 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2645 * src/hildon-time-selector.c,
2646 (hildon_time_selector_class_init),
2647 (hildon_time_selector_constructor),
2648 (hildon_time_selector_get_property),
2649 (hildon_time_selector_set_property),
2650 (_create_minutes_model),
2651 (hildon_time_selector_new_step),
2652 (hildon_time_selector_set_time),
2653 * src/hildon-time-selector.h: Added a new property to the
2654 HildonTimeSelector (minutes-step), we use that property to control
2655 the steps between the minutes in the list of the selector. We have
2656 added a new function to the API to create a widget changing the
2657 step: hildon_time_selector_new_step.
2659 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2661 * src/hildon-time-selector.c,
2662 (hildon_time_selector_class_init),
2663 (hildon_time_selector_constructor),
2664 (hildon_time_selector_init): Overrided the construct function when
2665 creating the time selector object. We have moved the minutes model
2666 handling code from the init to the new construction function:
2667 hildon_time_selector_constructor.
2669 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2671 * examples/hildon-date-button-example.c: (main): Use the new
2672 hildon_date_button_new_with_year_range() method in the example.
2673 * src/hildon-date-button.c:
2674 (+hildon_date_button_new_with_year_range): New public method
2675 to conveniently create a HildonDateButton with a custom year range
2676 in its HildonDateSelector.
2677 * src/hildon-date-button.h: Add the new public method definition.
2679 Fixes: NB#97908 (Not possible to change the year range in
2680 HildonDateSelector/HildonDateButton)
2682 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2684 * src/hildon-date-selector.c:
2685 (+hildon_date_selector_set_property),
2686 (+hildon_date_selector_get_property),
2687 (hildon_date_selector_class_init): Install new properties "min-year"
2688 and "max-year" to define boundaries for the year column.
2689 (_create_year_model): Use the boundary properties to populate the model.
2690 (+hildon_date_selector_new_with_year_range): New public method to
2691 create a HildonDateSelector with a user defined year range.
2692 (hildon_date_selector_select_current_date): Use the new boundaries to
2693 calculate the iterator of current year.
2694 * src/hildon-date-selector.h: Add the new public method definition.
2696 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2698 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2699 Install a constructor method.
2700 (+hildon_date_selector_construct_ui): construct the widget.
2701 (+hildon_date_selector_constructor): new constructor.
2702 (+hildon_date_selector_init): move out widget construction code to
2703 the new constructor.
2705 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2707 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2708 that there's actually a month or year selected before obtaining them.
2709 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2710 of the HildonTouchSelector::changed signal, as it was emitted on every
2711 single item selection.
2713 Fix some warnings and possible crashers due to the selection restoring.
2715 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2717 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2718 the signal handlers only after creating the dialog instead of on every
2721 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2723 * src/hildon-button.c (hildon_button_init)
2724 * src/hildon-check-button.c (hildon_check_button_init)
2725 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2726 focus when clicked by default.
2728 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2730 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2733 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2735 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2736 Alejandro G. Castro (alex@igalia.com)
2738 * src/hildon-picker-dialog.c:
2739 (hildon_picker_dialog_class_init): install new "center-on-show"
2741 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2742 (hildon_picker_dialog_set_property): add setter code for the new
2744 (hildon_picker_dialog_get_property): add getter code for the new
2746 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2747 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2750 Fixes: NB#92849 (Selected item is not always visible when
2751 HildonTouchSelector is shown)
2753 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2755 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2756 Alejandro G. Castro (alex@igalia.com)
2758 * src/hildon-touch-selector.c:
2759 (_create_new_column): Do not connect to the "realize" signal of the
2761 (hildon_touch_selector_append_column): center on the selected items
2762 when a new column is appended.
2763 (hildon_touch_selector_select_iter): Factor out the code to select a
2764 column to hildon_touch_selector_scroll_to().
2765 (+search_nearest_element): Method to retrieve the nearest selected
2766 element to the visible area of the pannable area in a column.
2767 (+on_realize_cb): scroll to the initially selected item.
2768 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2769 the pannable area is realized, otherwise delay this until it is.
2770 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2771 selected items of a given column.
2772 (+hildon_touch_selector_center_on_selected): Public method to center
2773 all columns on the nearest selected item.
2774 * src/hildon-touch-selector.h: Add definition for
2775 hildon_touch_selector_center_on_selected().
2777 Implement public API to ensure visibility of all selected items in
2778 a HildonTouchSelector.
2780 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2782 Fixed a problem in the fading when calling the scroll_to API, and
2783 improve scrollbar fading handling.
2785 * src/hildon-pannable-area.c,
2786 (hildon_pannable_area_grab_notify): avoid the timeout when the
2788 (hildon_pannable_area_button_press_cb),
2789 (hildon_pannable_area_motion_notify_cb): Code style changes.
2790 (hildon_pannable_area_button_release_cb): Review the conditions
2791 when releasing the mouse button to avoid unrequired fading
2793 (hildon_pannable_area_scroll_to): Do not calculate and set the
2794 velocity if the scroll is not required.
2796 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2798 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2799 Don't check whether the new selector is NULL: it cannot be.
2800 Hold a reference to the selector while doing the replacement.
2802 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2804 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2805 unnecessary size_request in a removed widget.
2807 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2809 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2810 an unnecessary reference tracking that was leaking.
2812 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2814 Added delayed motion notify event handling, this way we can
2815 discard redrawing if more than 25 events arrive per second.
2817 * src/hildon-pannable-area.c,
2818 (hildon_pannable_area_init): Initialized the new private atributes
2819 controlling this timeout
2820 (hildon_pannable_area_dispose): Remove the timeout that controls
2821 the motion notify events.
2822 (hildon_pannable_area_scroll): Added a condition to control the
2823 use of the acceleration.
2824 (hildon_pannable_area_motion_event_scroll_timeout),
2825 (hildon_pannable_area_motion_event_scroll): Added this two
2826 functions, they handle the motion notify events inside the
2828 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2829 to the scroll method with the new function.
2830 (hildon_pannable_area_button_release_cb): We have to remove the
2831 timeout handler and move to the last position if the last motion
2832 events were not handled.
2834 Fixes: NB#97028 (Pannable area updates on every motion event)
2836 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2838 * src/hildon-pannable-area.c,
2839 (hildon_pannable_area_get_topmost): Added a new parameter to
2840 filter the the windows that do not include those events. Added
2841 also a condition when finding the window to filter windows that do
2842 not ask for those events.
2843 (hildon_pannable_area_button_press_cb),
2844 (hildon_pannable_area_button_release_cb),
2845 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2846 topmost function, we have added the new parameter.
2848 Fixes: NB#97458 (Pannable area prevents propagation of button
2851 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2853 * src/hildon-pannable-area.c,
2854 (hildon_pannable_area_initial_effect): Added controls before
2855 launching the timeout and the idle functions.
2856 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2857 of the method, in some situations it can return with TRUE and 0 in
2859 (hildon_pannable_area_button_press_cb): We do not need to set
2860 DELAY for fading out here.
2862 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2864 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2866 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2867 post-cleaning if the selection is not NULL.
2869 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2871 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2872 all items before restoring the selection.
2874 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2876 * src/hildon-touch-selector.c:
2877 (+hildon_touch_selector_unselect_all):
2878 * src/hildon-touch-selector.h: New API to unselect all items in a
2879 column of the touch selector.
2881 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2883 * src/hildon-pannable-area.c,
2884 (hildon_pannable_area_redraw): Added a call to the refresh
2885 function inside the redraw because apparently in some cases the
2886 change in the adjustment does not imply a size allocate.
2888 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2889 despite the view not being scrollable)
2891 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2893 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2894 leak. Check for NULL before attempting to set the window title.
2896 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2898 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2899 whether to show or not the 'Done' button each time the dialog is
2900 shown, as it depends on the HildonTouchSelector selection mode.
2902 Fixes: NB#96226 (In multiple selection mode Done button is shown
2903 sometimes in listpicker)
2905 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2907 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2908 for the number of columns in the HildonTouchSelector more than once.
2910 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2912 * src/hildon-touch-selector.c: Minor documentation fixes.
2914 * src/hildon-picker-dialog.c (+_dialog_update_title)
2915 (_select_on_selector_changed_cb)
2916 (_update_title_on_selector_changed_cb)
2917 (on_selector_columns_changed): Update dialog title when there's no
2918 'Done' button and also when the number of columns in the selector
2922 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2923 (+_selection_changed, hildon_picker_button_on_dialog_response)
2924 (hildon_picker_button_selector_selection_changed)
2925 (+hildon_picker_button_selector_columns_changed)
2926 (hildon_picker_button_set_selector): Update button value and emit
2927 'value-changed' when the number of columns in the selector
2931 Fixes: NB#96225 (Dialog titles are not shown according to the
2932 values selected in the list picker)
2934 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2936 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2937 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2938 New "arrow-width" and "arrow-height" style properties to set the
2939 size of the arrow button.
2940 Set name of arrow button ("hildon-edit-toolbar-arrow").
2942 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2943 graphics from theme)
2945 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2947 * src/hildon-picker-button.c:
2948 (hildon_picker_button_selector_selection_changed): Use
2949 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2950 the dialog is present.
2952 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2953 the selection is accepted in the dialog)
2955 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2957 * src/hildon-color-chooser.h
2958 * src/hildon-color-chooser-dialog.h:
2959 Added G_BEGIN_DECLS and G_END_DECLS
2961 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2963 (_clean_current_selection): plug a leak in the list.
2965 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2967 * src/hildon-picker-dialog.c:
2968 (+free_path_list): Method to free a GList of GtkTreePaths.
2969 (_clean_current_selection), (_save_current_selection),
2970 (_restore_current_selection): Save the current selection in
2971 as a list of lists, to support multiple selection properly.
2973 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2975 patch by Claudio Saavedra (csaavedra@igalia.com)
2977 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2978 Store the press position.
2979 (+hildon_text_view_button_release_event): If the release position is
2980 close enough to the press position, move the cursor here. Otherwise,
2982 (hildon_text_view_class_init): Override GtkTextView press, release, and
2983 motion event handlers, disabling this way text selection through
2984 pointer interaction, and allowing the container widget to handle the
2987 Fixes: NB#95828 (HildonTextView functionality)
2989 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2991 Based on a patch by Iván Gómez (igomez@igalia.com)
2993 * src/hildon-button.[ch]
2994 * src/hildon-calendar.c
2995 * src/hildon-check-button.c
2996 * src/hildon-date-editor.c
2997 * src/hildon-date-selector.c
2998 * src/hildon-picker-button.c
2999 * src/hildon-time-editor.c
3000 * src/hildon-time-selector.c
3001 * src/hildon-touch-selector.[ch]:
3002 Documentation updates
3004 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3006 * src/hildon-pannable-area.c,
3007 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3008 threshold, it was required due to X events handling.
3010 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3012 * src/hildon-pannable-area.c,
3013 (hildon_pannable_area_grab_notify),
3014 (hildon_pannable_area_initial_effect),
3015 (hildon_pannable_area_button_press_cb),
3016 (hildon_pannable_area_button_release_cb),
3017 (hildon_pannable_area_scroll_cb),
3018 (hildon_pannable_area_scroll_to): Review the timeout management of
3019 the scrollbar, the frecuency was incorrectly set.
3021 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3023 * src/hildon-picker-button.c:
3024 (+hildon_picker_button_on_dialog_response),
3025 (hildon_picker_button_clicked): Present the dialog instead of
3026 running it with gtk_dialog_run().
3028 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3031 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3033 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3034 (hildon_app_menu_finalize): When a window is hidden it doesn't
3035 emit notify::is-topmost, so make sure than the menu also
3036 disappears in that case.
3037 (parent_window_topmost_notify): Renamed from parent_window_hidden
3039 Fixes: NB#94460 (stackable window's menu is not closed when its
3042 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3044 * src/hildon-touch-selector-entry.c:
3045 (+hildon_touch_selector_entry_set_input_mode),
3046 (+hildon_touch_selector_entry_get_input_mode):
3047 * src/hildon-touch-selector-entry.h: New methods to access the input
3048 mode in the selector's entry.
3050 Fixes: NB#93410 (API required for setting IM mode in
3051 HildonTouchSelectorEntry)
3053 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3055 * configure.ac: post release version bump.
3056 * debian/changelog: version bump
3058 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3063 * configure.ac: Bump version.
3064 * debian/changelog: Updates.
3066 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3068 * src/hildon-touch-selector.c:
3069 (_hildon_touch_selector_has_multiple_selection): No need
3070 to initialize the variables here.
3072 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3074 * src/hildon-note-private.h
3075 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3076 (hildon_note_finalize, hildon_note_rebuild): Close information
3077 notes when they receive a button press.
3079 Fixes: NB#89890 (Information notes does not get disappeared after
3082 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3084 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3085 mark from the wizard title, as it's not really necessary. Also,
3086 do not display the page title if not set.
3088 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3090 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3091 (parent_window_hidden): Use the window's "is-topmost" property to
3092 detect when to hide the menu.
3094 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3096 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3097 (hildon_app_menu_finalize): If the parent window of the menu is
3098 hidden, hide the menu too.
3100 Fixes: NB#94460 (stackable window's menu is not closed when its
3103 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3106 * debian/libhildon1-examples.install
3108 * examples/Makefile.am:
3109 Use dh_install to install all examples.
3110 Use DEB_SRCDIR instead of defining SOURCE_DIR
3112 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3114 * configure.ac: post release version bump.
3115 * debian/changelog: version bump
3117 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3122 * configure.ac: bump version
3123 * debian/changelog: updates
3124 * debian/control: bump gtk+ dependency
3126 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3128 patch by Christian Dywan (christian@imendio.com)
3130 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3131 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3133 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3135 * src/hildon-check-button.c (hildon_check_button_init)
3136 (hildon_check_button_class_init, hildon_check_button_style_set)
3137 (hildon_check_button_apply_style):
3138 New "checkbox-size" style property.
3140 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3141 larger / configurable size)
3143 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3145 * configure.ac: post release version bump.
3146 * debian/changelog: version bump
3148 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3153 * configure.ac: bump version
3154 * debian/changelog: updates
3156 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3158 * doc/hildon-sections.txt
3159 * src/hildon-pannable-area.c
3160 * src/hildon-program.c
3161 * src/hildon-time-editor.c
3162 * src/hildon-touch-selector-entry.c:
3164 More documentation updates.
3166 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3168 * doc/hildon-sections.txt
3169 * src/hildon-caption.c
3170 * src/hildon-code-dialog.c
3171 * src/hildon-color-button.c
3172 * src/hildon-controlbar.c
3173 * src/hildon-date-editor.c
3174 * src/hildon-date-selector.c
3175 * src/hildon-edit-toolbar.c
3176 * src/hildon-find-toolbar.c
3177 * src/hildon-font-selection-dialog.c
3179 * src/hildon-program.c
3180 * src/hildon-range-editor.c
3181 * src/hildon-seekbar.c
3182 * src/hildon-time-editor.c
3183 * src/hildon-time-selector.c
3184 * src/hildon-volumebar-range.c
3185 * src/hildon-volumebar.c
3186 * src/hildon-vvolumebar.c
3187 * src/hildon-weekday-picker.c
3188 * src/hildon-window.c
3189 * src/hildon-wizard-dialog.c:
3191 Lots of documentation fixes.
3193 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3195 Patch contributed by Iván Gómez (igomez@igalia.com)
3197 * src/hildon-check-button.c:
3198 * src/hildon-date-button.c:
3199 * src/hildon-date-selector.c:
3200 * src/hildon-dialog.c:
3201 * src/hildon-edit-toolbar.c:
3202 * src/hildon-entry.c:
3203 * src/hildon-picker-button.c:
3204 * src/hildon-program.c:
3205 * src/hildon-text-view.c:
3206 * src/hildon-time-button.c:
3207 * src/hildon-touch-selector-entry.c:
3208 * src/hildon-window-stack.c:
3210 Add more "since" tags to the new API.
3212 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3214 * doc/hildon-sections.txt: Add below method.
3215 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3216 version for the hildonized scale.
3217 * src/hildon-gtk.h: Add the definition.
3219 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3221 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3223 * doc/hildon-sections.txt: Add missing entries for new methods.
3225 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3227 Added API to pannable are in order to get its adjustments. We
3228 added two properties to manage the values we had in the private
3231 * src/hildon-pannable-area.c:
3232 (hildon_pannable_area_class_init): Added hadjustment and
3233 vadjustment properties in order to expose horizontal and vertical
3235 (hildon_pannable_area_get_property),
3236 (hildon_pannable_area_set_property): Added code to handle the new
3238 (hildon_pannable_area_get_hadjustment),
3239 (hildon_pannable_area_get_vadjustment): API functions to get the
3241 * src/hildon-pannable-area.h:
3242 (hildon_pannable_area_get_hadjustment),
3243 (hildon_pannable_area_get_vadjustment): API functions to get the
3246 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3248 Fixed some leaks, after valgrinding.
3250 * src/hildon-touch-selector.c:
3251 (_default_print_func): Fixed a leak.
3252 (hildon_touch_selector_append_column): Fixed a leak.
3253 * src/hildon-date-button.c:
3254 (hildon_date_button_init): Fixed a leak.
3255 * src/hildon-date-selector.c
3256 (hildon_date_selector_finalize): Fixed a leak.
3258 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3260 Based on a patch by Christian Dywan (christian@imendio.com)
3262 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3264 * src/hildon-gtk.h: Add definition.
3266 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3268 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3270 * src/hildon-picker-button.c: (hildon_picker_button_init),
3271 (hildon_picker_button_new): Set the HildonButton::style property
3272 in the init method, to propagate the value to the derived classes.
3274 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3276 * src/hildon-button.c: (hildon_button_class_init): Do not make
3277 the "style" property a construct property.
3279 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3281 * src/hildon-wizard-dialog.h
3282 * src/hildon-wizard-dialog.c
3283 (hildon_wizard_dialog_set_forward_page_func)
3284 * src/hildon-pannable-area.h
3285 * src/hildon-pannable-area.c
3286 (hildon_pannable_area_set_size_request_policy):
3287 Documentation fixes.
3289 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3291 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3293 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3295 * doc/hildon-sections.txt: Added sections file.
3297 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3300 * src/*.[ch]: Updates.
3302 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3304 * examples/hildon-progress-indicator-example.c: new file
3305 * examples/Makefile.am: include the new example program
3307 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3309 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3311 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3313 * configure.ac: post release version bump
3314 * debian/changelog: version bump
3316 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3321 * configure.ac: bump version
3322 * debian/changelog: updates
3323 * debian/control: bump gtk+ dependency
3325 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3327 * src/hildon-dialog.c: Mark as deprecated.
3328 * src/hildon-dialog.h: Mark as deprecated.
3329 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3330 from HildonDialog and still work, even if
3331 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3332 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3334 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3335 maemo changes) instead)
3337 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3339 * src/hildon-pannable_area.h:
3340 * src/hildon-pannable_area.c:
3341 (hildon_pannable_area_class_init),
3342 (hildon_pannable_area_set_property),
3343 (hildon_pannable_area_get_property),
3344 (hildon_pannable_area_size_request),
3345 (hildon_pannable_area_get_size_request_policy),
3346 (hildon_pannable_area_set_size_request_policy): Added new API
3347 allowing applications to control the request policy. Now they can
3348 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3349 children allocation (HILDON_MOVEMENT_CHILDREN).
3351 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3355 (hildon_gtk_tree_view_set_ui_mode)
3356 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3357 mode of treeviews and iconviews.
3359 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3361 * src/hildon-touch-selector-entry.c:
3362 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3363 of a GtkEntry to get proper theming.
3365 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3366 widget, not GtkEntry)
3368 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3370 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3371 no HildonWizardDialogPageFunc.
3373 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3375 Patch contributed by Iván Gómez (igomez@igalia.com)
3377 * src/hildon-app-menu.c:
3378 * src/hildon-button.c:
3379 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3380 * src/hildon-stackable-window.c:
3381 * src/hildon-time-selector.c:
3382 * src/hildon-touch-selector.c:
3383 * src/hildon-window.c:
3385 Add more "since" tags to the new API in hildon 2.2.
3387 2008-12-05 Tim Janik <timj@imendio.com>
3389 Patch contributed by Christian Dywan (christian@imendio.com)
3391 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3392 HildonSizeType, which are supplied by Gtk+ now.
3394 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3396 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3397 (with maemo changes) instead)
3399 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3401 Patch contributed by Iván Gómez (igomez@igalia.com)
3403 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3406 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3408 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3409 (some_page_func), (main): Update the example to use a
3410 HildonWizardDialogPageFunc function.
3412 * src/hildon-wizard-dialog-private.h: Add private data for
3413 the HildonWizardDialogPageFunc function usage.
3415 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3416 (destroy), (hildon_wizard_dialog_init), (response),
3417 (hildon_wizard_dialog_set_forward_page_func):
3418 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3419 that applications can use to stop a HildonWizardDialog to jump to
3422 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3425 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3427 * src/hildon-program.h
3428 * src/hildon-program-private.h
3429 * src/hildon-program.c (hildon_program_init)
3430 (hildon_program_set_common_app_menu)
3431 (hildon_program_get_common_app_menu):
3432 New API for setting a common HildonAppMenu for all
3433 HildonStackableWindows registered with the HildonProgram.
3435 * src/hildon-stackable-window.c
3436 (hildon_stackable_window_toggle_menu):
3437 Use the common HildonAppMenu if a window doesn't have a specific
3440 * src/hildon-app-menu-private.h
3441 * src/hildon-app-menu.c
3442 (hildon_app_menu_get_parent_window):
3443 Function to obtain the window a HildonAppMenu is attached to.
3444 (hildon_app_menu_set_parent_window):
3445 Hide the menu if the parent window is set to NULL.
3447 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3449 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3450 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3451 search widget to popup.
3453 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3455 * configure.ac: post release version bump
3456 * debian/changelog: version bump
3458 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3463 * configure.ac: bump version
3464 * debian/changelog: updates
3466 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3468 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3470 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3471 (hildon_window_stack_window_realized)
3472 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3473 Set the leader GdkWindow when a window is stacked and realized,
3474 unset it when it's unstacked.
3475 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3477 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3479 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3481 * src/hildon-stackable-window.h
3482 * src/hildon-window-stack.h:
3483 Protect definition of HildonWindowStack using the preprocessor.
3485 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3487 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3488 Fix warning if all menu items are hidden.
3490 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3492 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3494 * src/hildon-controlbar.c:
3495 * src/hildon-hvolumebar.c:
3496 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3497 Multiple scale size defines updates.
3499 Fixes: NB#94322 (Scale Updates)
3501 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3503 * examples/hildon-app-menu-example.c (create_menu)
3504 Show items after adding them to the menu, as in the future the
3505 menu will no longer call gtk_widget_show() on the added items.
3507 * src/hildon-app-menu.c:
3508 Update example as explained above.
3510 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3512 * src/hildon-app-menu.c
3513 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3514 Make sure that all menu items have finger height.
3516 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3518 * src/hildon-picker-dialog.c:
3519 (_on_dialog_response), (_save_current_selection),
3520 (_restore_current_selection), (_clean_current_selection),
3521 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3522 Defined new functions in order to save the current internal selector
3523 selection previous open the dialog, in case that the use cancel the
3524 interaction, so the widget restores the previous selection.
3526 Fixes: NB#92032 (In calendar application, date values in 'new event'
3529 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3531 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3533 * src/hildon-button.c: Add a reference to the button examples in
3534 hildon-button-example.c
3536 * examples/hildon-button-example.c: Added examples of the most
3537 common button layouts.
3539 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3541 * src/hildon-app-menu.c (hildon_app_menu_show)
3542 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3544 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3546 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3548 * src/hildon-picker-dialog.c:
3549 (hildon_picker_dialog_init): Initialize the signal id for
3550 HildonTouchSelector::columns-changed.
3551 (+on_selector_columns_changed): Set up the interaction mode everytime a
3552 column is added or removed from the HildonTouchSelector.
3553 (_hildon_picker_dialog_set_selector): Connect to
3554 HildonTouchSelector::columns-changed and keep track of it.
3556 Make sure to update the interaction mode of the dialog everytime a
3557 column is added or removed in the HildonTouchSelector.
3559 Fixes: NB#93228 (Done button is not shown always in listpicker)
3561 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3563 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3564 a new ::columns-changed signal.
3565 (hildon_touch_selector_append_column): Emit ::columns-changed.
3566 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3568 Add a ::columns-changed signal, emitted when the number of columns in a
3569 HildonTouchSelector changes.
3571 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3573 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3574 (_hildon_picker_dialog_set_selector): Factor out the code
3575 to set up the dialog interaction mode.
3577 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3579 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3580 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3581 to signal_changed_id.
3583 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3585 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3588 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3590 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3591 Updated the logical ids related to ampm format, as now it is required to
3592 show it correctly localized even on languages with no default
3593 abbreviations for am or pm
3594 (_check_am_pm_format): check correctly the 24h format gconf property
3596 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3598 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3600 * src/hildon-button.c: Documentation updates.
3602 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3604 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3605 * src/hildon-caption.c: (hildon_caption_class_init):
3606 * src/hildon-color-button.c: (hildon_color_button_class_init):
3607 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3608 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3609 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3610 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3612 Remove deprecated GTK+ marshalers and replace them with the ones
3613 provided by GLib, for those available, add a marshaler for
3614 BOOLEAN:VOID, which is not available in GLib, and use it.
3616 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3618 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3619 the text from the previous column if there is no
3620 HildonTouchSelectorColumn::text-property set.
3622 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3624 * src/hildon-button.h
3625 * src/hildon-button.c (hildon_button_set_property)
3626 (hildon_button_get_property, hildon_button_class_init)
3627 (hildon_button_set_style, hildon_button_get_style):
3628 New "style" property to change the visual appearance of the
3631 * src/hildon-picker-button.c (hildon_picker_button_new):
3632 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3634 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3635 HildonButton look like PickerButton)
3637 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3639 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3640 column while building the default string.
3642 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3644 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3645 scroll indicator by default.
3647 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3649 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3651 * src/hildon-main.c: Fix the documentation for hildon_init()
3653 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3655 * doc/hildon-docs.sgml
3659 * src/hildon-window-stack-private.h
3660 * src/hildon-window-stack.h
3661 * src/hildon-window-stack.c:
3662 New HildonWindowStack object, that adds support for multiple
3663 stacks of windows per process.
3665 * src/hildon-stackable-window-private.h
3666 * src/hildon-stackable-window.h
3667 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3668 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3669 (hildon_stackable_window_show, hildon_stackable_window_hide)
3670 (hildon_stackable_window_class_init)
3671 (hildon_stackable_window_init):
3672 Use HildonWindowStack for stack management.
3674 * src/hildon-program.c (hildon_program_pop_window_stack)
3675 (hildon_program_peek_window_stack)
3676 (hildon_program_go_to_root_window):
3677 Add a fallback implementation to the deprecated functions using
3680 * examples/hildon-stackable-window-example.c:
3681 Use the new HildonWindowStack API.
3683 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3685 * src/hildon-stackable-window-private.h
3686 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3687 (hildon_stackable_window_hide, hildon_stackable_window_init):
3688 Remove all window stack management.
3690 * src/hildon-program-private.h
3691 * src/hildon-program.h
3692 * src/hildon-program.c (hildon_program_init)
3693 (hildon_program_pop_window_stack)
3694 (hildon_program_peek_window_stack)
3695 (hildon_program_go_to_root_window):
3696 Remove all window stack management and mark functions as
3699 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3701 * src/hildon-app-menu.c (hildon_app_menu_realize):
3702 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3704 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3706 * configure.ac: post release version bump
3707 * debian/changelog: version bump
3709 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3714 * configure.ac: bump version
3715 * debian/changelog: updates
3717 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3719 Based on initial code by Christian Dywan (christian@imendio.com)
3721 * doc/hildon-docs.sgml: Add section for hildon-main.
3722 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3723 * src/Makefile.am: Add new hildon-main.[ch]
3724 * src/hildon-defines.h: Update the icon sizes.
3725 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3726 new library initialization files and register icon sizes.
3727 * src/hildon-main.h: New declarations.
3728 * src/hildon.h: Include hildon-main.h
3730 Add new initialization functions to the library. These methods
3731 will register the hildon specific icon sizes and can be used in the
3732 future for other hildon specific bits.
3734 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3736 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3738 * src/hildon-window.c: (hildon_window_realize),
3739 (hildon_window_notify), (-hildon_window_update_title): Do not set
3740 the application name in the window title.
3742 Fixes: NB#89754 (Applications shouldn't display their names in the
3745 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3747 * src/hildon-note-private.h:
3748 * src/hildon-note.c: (hildon_note_set_property),
3749 (hildon_note_get_property), (hildon_note_class_init),
3750 (hildon_note_init), (hildon_note_finalize),
3751 (hildon_note_new_confirmation_with_icon_name),
3752 (hildon_note_new_information_with_icon_name):
3754 No need to mark as deprecated the actual code. Revert
3755 to avoid missing symbols in widgets using deprecated API.
3757 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3759 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3761 * src/hildon-volumebar.h
3762 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3763 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3765 * src/hildon-helper.h
3766 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3767 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3769 * examples/Makefile.am:
3770 Deprecate hildon-insensitive-example
3772 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3774 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3776 * examples/hildon-pannable-area-buttons-scroll-example.c:
3777 Make all buttons finger height
3779 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3781 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3783 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3784 update the day model only if it is really required, and to avoid the
3785 full-reconstruction aproach. Now it only add or remove the required days.
3787 The purpose of this is avoid superfluous HildonTouchSelector::changed
3790 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3791 with strange parameters)
3793 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3795 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3797 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3798 the WINDOW_TYPE property.
3800 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3802 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3805 Fix dependency to allow parallel compilation with make -jX
3807 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3809 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3810 color frame and some minor tweaks to make it more consistent with
3813 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3814 highlighted but not visible)
3816 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3818 * examples/Makefile.am: Fixed typo in the Makefile.am.
3820 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3822 Reviewed the use of MAEMO_GTK define, now we add the define in the
3823 compilation line, and we also add it to the pc file.
3825 * configure.ac: Added MAEMO_GTK define to the compilation command
3826 and removed it from the config.h.
3828 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3829 do not have to take care about this define if the library was
3833 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3835 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3837 * examples/Makefile.am,
3838 * examples/hildon-pannable-area-buttons-scroll-example.c,
3839 * examples/hildon-pannable-area-gesture-signals-example.c,
3840 * examples/hildon-pannable-area-scroll-jump-example.c,
3841 * examples/hildon-pannable-area-tree-view-example.c:
3842 Renamed the pannable area examples, now they have more meaningful
3845 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3847 * src/hildon-touch-selector.c:
3848 (hildon_touch_selector_set_column_selection_mode): Used of
3849 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3850 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3851 to avoid re-seting the same selection mode.
3853 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3854 breaks HildonPickerDialog)
3856 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3858 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3859 conditional in the Makefile.am
3861 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3863 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3864 Remove unused methods.
3866 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3868 * src/hildon-button.c (hildon_button_init):
3869 Make button images center-aligned by default
3871 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3874 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3875 activated, we have to think about how to deal with both defines
3876 MAEMO_GTK and MAEMO_CHANGES.
3878 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3880 * examples/hildon-app-menu-example.c (create_menu): Make all
3881 buttons finger size.
3883 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3885 Fixed the compilation without maemo gtk adding ifdefs with
3886 MAEMO_GTK define to the code, we have to check this version more
3889 * examples/Makefile.am: Added control to avoid some examples that
3890 just make sense with maemo gtk.
3893 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3894 hildon modes with the define.
3896 * examples/hildon-edit-toolbar-example.c,
3897 (create_icon_view): Create the icon view without hildon-gtk
3898 helpers if we are not using maemo gtk.
3900 * src/hildon-touch-selector.c,
3901 (_create_new_column): Create the treeview without hildon-gtk
3902 helpers if we are not using maemo gtk.
3904 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3906 * src/hildon-pnnable-area.c,
3907 (hildon_pannable_area_dispose),
3908 (hildon_pannable_area_button_press_cb),
3909 (hildon_pannable_area_child_mapped),
3910 (hildon_pannable_area_add),
3911 (hildon_pannable_area_remove): Added code to control the position
3912 of the event_window when adding and removing children from the
3913 pannable. We have to raise the event window when the child is
3916 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3917 selection mode using custom widget inside pannable)
3919 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3921 * configure.ac: post release version bump
3922 * debian/changelog: version bump
3924 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3929 * configure.ac: bump version
3930 * debian/changelog: updates
3932 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3934 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3935 search mode, in order to avoid lose the focus on the treeview when
3936 a hw key (like enter) is pressed.
3938 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3939 in HildonDateSelector dialog)
3941 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3943 * debian/rules: Added --enable-maintainer-mode
3944 * Makefile.am: Added ACLOCAL_AMFLAGS
3946 This allows to properly regenerate the Makefiles if you modify the
3947 configure.ac or any Makefile.am.
3949 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3951 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3952 properties, not needed at all.
3954 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3956 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3958 * src/hildon-note.c: (hildon_note_set_property),
3959 (hildon_note_get_property), (hildon_note_class_init),
3960 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3961 (hildon_note_new_confirmation_add_buttons): Remove icons.
3962 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3963 (hildon_note_new_information_with_icon_name): Deprecate.
3964 (hildon_note_new_confirmation): Act directly, without calling
3965 the deprecated constructor.
3966 (hildon_note_new_information): Act directly, without calling
3967 the deprecated constructor.
3968 * src/hildon-note.h: Mark deprecate methods as such.
3969 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3970 not run tests on the deprecated methods if built with deprecation
3973 Fixes: NB#91688 (Never show icons in information notes/confirmation
3976 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3978 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3979 (hildon_app_menu_key_press): Remove leftover usage of the
3980 private structure in HildonAppMenu struct.
3981 * src/hildon-app-menu.h: Remove leftover private structure
3982 from the HildonAppMenu struct.
3984 Fixes a crasher when using the HildonAppMenu.
3986 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3988 * src/hildon-picker-dialog.c: Use appropriate logical id
3989 for the default "Done" text.
3991 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3993 * configure.ac: post release version bump
3994 * debian/changelog: version bump
3996 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3998 Modified the way to scroll to the current selection just when the touch
3999 selector is shown on the screen, avoiding a g_idle. Added too a property
4000 to configure this behaviour. See hildon_pannable_area_jump_to_child
4001 documentation for more information.
4003 * src/hildon-touch-selector.c
4004 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4005 Added 'initial-scroll' property
4006 (hildon_touch_selector_set_property): Added
4007 (hildon_touch_selector_map): Removed as not required anymore
4008 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4009 only a concrete column, instead of iterate along all the columns
4011 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4016 * configure.ac: bump version
4017 * debian/changelog: updates
4019 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4021 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4022 compilation time warnings.
4024 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4026 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4027 the default value for HildonPannableArea::mov-mode to
4028 HILDON_PANNABLE_AREA_MODE_VERT.
4030 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4032 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4034 Reverting following commit:
4036 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4038 * src/hildon-app-menu-private.h
4039 * src/hildon-app-menu.[ch]
4040 * src/hildon-button.[ch]
4041 * src/hildon-check-button.[ch]
4042 * src/hildon-entry.[ch]
4043 * src/hildon-pannable-area.[ch]
4044 * src/hildon-text-view.[ch]:
4045 Added private field to the object's structure.
4047 because it causes an ABI breakage. We will need to introduce these
4048 changes later at some point. See NB#91636 for an extensive
4049 explanation and status.
4051 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4053 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4055 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4056 remove special cases that are no longer necessary.
4058 Fixes: NB#91016 (Change toolbar sizes, simplification)
4060 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4062 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4063 is shown in the cancel note.
4065 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4067 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4068 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4069 (hildon_seekbar_init): Remove steppers, remove expose event.
4070 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4072 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4074 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4076 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4077 label font to "SmallSystemFont" for vertically arranged buttons.
4079 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4082 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4084 * src/hildon-check-button.c
4085 (hildon_check_button_set_active, hildon_check_button_clicked):
4086 Don't access private parts directly, use getters instead.
4088 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4090 * src/hildon-check-button.c (hildon_check_button_new):
4091 Align the contents of the check button to the left.
4093 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4095 * src/hildon-pannable-area.c,
4096 (hildon_pannable_area_scroll_to),
4097 (hildon_pannable_area_jump_to),
4098 (hildon_pannable_area_scroll_to_child),
4099 (hildon_pannable_area_jump_to_child): Replace the mapped
4100 precondition of these functions with the realized, it is the
4101 correct state of the widget in this case. Changed the
4102 documentation according to this modification.
4104 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4106 Added a new EXTRA_CFLAGS option to add the deprecated define to
4107 the compilation command. This way we can avoid using the define in
4108 the documentation compilation.
4110 * configure.ac: Defined EXTRA_CFLAGS.
4112 * examples/Makefile.am:
4114 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4116 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4118 * src/hildon-picker-dialog.c:
4119 Defined a utility macro with the desired touch selector height
4120 Removed currently unused separator, and title_label variables from
4122 (hildon_picker_dialog_init): Removed code related to the creation
4123 of unused private variables title_label and separator.
4124 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4125 to ensure correct visualization of the touch selector inside the dialog.
4126 * src/hildon-touch-selector.c
4127 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4128 ensure a concrete height of the widget.
4130 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4133 * tests/Makefile.am:
4135 Remove spurious whitespaces.
4137 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4139 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4140 compilation warning after the cancel button removal.
4142 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4144 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4146 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4147 Makefile.am, that way we can choose not to compile some examples
4148 and tests of the deprecated widgets.
4150 * examples/Makefile.am: Divided the sources in deprecated and
4153 * src/Makefile.am: Added undef statement of the deprecated
4154 symbol to the enums file generation process.
4156 * src/hildon-color-chooser-dialog.c
4157 * src/hildon-color-chooser-dialog.h
4158 * src/hildon-color-button.c
4159 * src/hildon-color-button.h
4160 * src/hildon-color-chooser.c
4161 * src/hildon-color-chooser.h
4162 * src/hildon-controlbar.c
4163 * src/hildon-controlbar.h
4164 * src/hildon-date-editor.c
4165 * src/hildon-date-editor.h
4166 * src/hildon-hvolumebar.c
4167 * src/hildon-hvolumebar.h
4168 * src/hildon-private.c
4169 * src/hildon-private.h
4170 * src/hildon-range-editor.c
4171 * src/hildon-range-editor.h
4172 * src/hildon-seekbar.c
4173 * src/hildon-seekbar.h
4174 * src/hildon-time-editor.c
4175 * src/hildon-time-editor.h
4176 * src/hildon-time-picker.c
4177 * src/hildon-time-picker.h
4178 * src/hildon-volumebar.c
4179 * src/hildon-volumebar.h
4180 * src/hildon-vvolumebar.c
4181 * src/hildon-vvolumebar.h
4182 * src/hildon-bread-crumb-trail.h
4183 * src/hildon-bread-crumb-trail.c
4184 * src/hildon-calendar-popup.c
4185 * src/hildon-calendar-popup.h
4186 * src/hildon-weekday-picker.c:
4187 * src/hildon-weekday-picker.h:
4188 * src/hildon-bread-crumb-widget.c:
4189 * src/hildon-bread-crumb-widget.h:
4190 * src/hildon-bread-crumb.c:
4191 * src/hildon-bread-crumb.h:
4192 * src/hildon-calendar.c:
4193 * src/hildon-calendar.h:
4194 * src/hildon-caption.c:
4195 * src/hildon-code-dialog.c:
4196 * src/hildon-code-dialog.h:
4197 * src/hildon-font-selection-dialog.c:
4198 * src/hildon-font-selection-dialog.h:
4199 * src/hildon-get-password-dialog.c:
4200 * src/hildon-get-password-dialog.h:
4201 * src/hildon-login-dialog.c:
4202 * src/hildon-login-dialog.h:
4203 * src/hildon-number-editor.c:
4204 * src/hildon-number-editor.h:
4205 * src/hildon-set-password-dialog.c:
4206 * src/hildon-set-password-dialog.h:
4207 * src/hildon-sort-dialog.c:
4208 * src/hildon-sort-dialog.h: This is the list of deprecated
4211 * src/hildon-touch-selector.c:
4212 * src/hildon-window.c: Added undef statement to avoid compilation
4215 * tests/Makefile.am: Divided the sources in deprecated and
4218 * tests/check_test.c,
4219 (configure_tests): Marked the deprecated code that was adding
4220 suites with deprecated tests.
4222 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4224 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4226 * src/hildon-touch-selector.c: (_default_print_func): Do not
4227 duplicate a string returned by gtk_tree_model_get(), it is already
4230 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4233 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4235 * src/hildon-pannable-area.c
4236 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4237 method, it had problems when adding a widget with viewport the
4238 second time. Now checks if it already has a viewport and uses it.
4240 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4243 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4245 * src/hildon-pannable-area.c,
4246 (hildon_pannable_area_scroll_to),
4247 (hildon_pannable_area_jump_to),
4248 (hildon_pannable_area_scroll_to_child),
4249 (hildon_pannable_area_jump_to_child): Added a precondition to the
4250 scroll and jump to functions: the widget must be mapped before we
4251 can safely call these functions. We have also added documentation
4252 to the functions to explain how to use them in this situation.
4255 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4257 Reviewed the threading handling of the pannable widget, we have
4258 used the gdk_threads_add_timeout function instead of the usual
4259 glib handlers. This avoids some problems with the threads.
4261 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4262 (hildon_pannable_area_initial_effect),
4263 (hildon_pannable_area_scroll_indicator_fade),
4264 (hildon_pannable_area_button_press_cb),
4265 (hildon_pannable_area_timeout),
4266 (hildon_pannable_area_motion_notify_cb),
4267 (hildon_pannable_area_button_release_cb),
4268 (hildon_pannable_area_scroll_cb),
4269 (hildon_pannable_area_scroll_to): Removed the
4270 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4271 gdk_threads_add_timeout.
4273 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4275 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4280 * configure.ac: bump version
4281 * debian/changelog: updates
4283 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4285 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4286 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4287 * src/hildon-color-chooser-dialog.c:
4288 (hildon_color_chooser_dialog_init):
4289 * src/hildon-font-selection-dialog.c:
4290 (hildon_font_selection_dialog_init):
4291 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4293 Remove all cancel/close-like dialogs, as these are not going to be
4296 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4298 * src/hildon-note.c: (hildon_note_rebuild),
4299 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4302 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4304 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4306 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4307 sure all buttons are shown, even the Cancel/Close-like ones.
4309 Fixes: NB#90861 (Custom Confirmation dialogs should be
4310 protected from cancel button removal)
4312 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4314 * debian/control: Change libhildon1-examples dependency from libhildon1
4316 * debian/libhildon1-examples.install
4318 * Makefile.am: Modified the final install directory for the examples on
4319 package libhildon1-examples
4320 * Makefile.static: Update clean target in order to remove all the binary
4323 Changes suggested by Claudio after review new libhildon1-examples package
4325 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4327 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4328 * src/hildon-touch-selector.c: Ditto.
4330 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4332 * debian/control: Added new package libhildon1-examples, in order to pack
4333 the current hildon examples as documentation
4334 * debian/rules: Not to compress .c files, modify some includes on the
4335 examples (as normally are compiled locally, but when installed it will
4336 require to include the installed libhildon1 library), and rename
4338 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4339 install all the example files on the new example package
4340 * examples/Makefile.static: Added static makefile that can be used to
4341 compile the examples, once installed the new example package
4342 * examples: Most of the examples were modified in order to grant that
4343 all use only '#include "hildon.h"', in order to be easy to prepare
4344 it on the example package
4346 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4349 * debian/libhildon1-dev.install
4350 * debian/libhildon1-doc.install:
4351 Move all gtk-doc files to a separate libhildon1-doc package.
4353 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4355 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4357 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4359 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4361 * debian/rules: Fixed a error in order to avoid unnecessary calls
4362 to autogen.sh on package building
4364 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4366 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4368 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4370 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4373 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4375 * src/hildon-picker-button.c
4376 (hildon_picker_button_finalize):
4377 Free priv->done_button_text
4379 * src/hildon-time-button.c
4380 (hildon_time_button_set_time)
4381 * src/hildon-picker-button.c
4382 (hildon_picker_button_clicked)
4383 (hildon_picker_button_selector_selection_changed)
4384 (hildon_picker_button_set_selector)
4385 * src/hildon-date-button.c
4386 (hildon_date_button_set_date):
4387 Free strings returned by hildon_touch_selector_get_current_text()
4389 * src/hildon-button.c (hildon_button_construct_child):
4390 Fix leaks in priv->image and priv->label_box
4392 Fixes: NB#90535 (Memory leak in picker button)
4394 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4396 * src/hildon-button.c: (hildon_button_get_property): Do not access
4397 private elements directly, use getters instead.
4399 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4401 * src/hildon-app-menu-private.h
4402 * src/hildon-app-menu.c
4403 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4404 Store the menu's parent window.
4406 * src/hildon-stackable-window.c
4407 (hildon_stackable_window_toggle_menu)
4408 (hildon_stackable_window_finalize):
4409 Set the menu's parent window when the menu is shown, unset it when
4412 * src/hildon-app-menu.c
4413 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4414 (hildon_app_menu_class_init):
4415 Send unhandled keyboard accelerators to the parent window.
4417 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4419 * src/hildon-stackable-window.c
4420 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4422 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4424 * configure.ac: post release version bump
4426 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4429 * configure.ac: Bump version
4430 * debian/changelog: Updates
4431 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4434 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4436 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4439 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4440 GtkMenu with Hildon style.
4442 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4444 * src/hildon-picker-button.c:
4445 (hildon_picker_button_set_done_button_text): Set the dialog's
4446 done button text here as well.
4448 Fixes: NB#90232 (Picker button does not set the label on done button
4449 for the second time)
4451 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4453 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4456 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4458 * src/hildon-app-menu.c (hildon_app_menu_insert)
4459 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4460 the HildonAppMenu to be activatable using keyboard accelerators
4461 when the menu is not being shown.
4463 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4465 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4467 * src/hildon-stackable-window.c
4468 (hildon_stackable_window_show):
4469 Don't hide old windows automatically when new windows are shown:
4470 this is now a task for the window manager.
4471 (hildon_stackable_window_class_init)
4472 (hildon_stackable_window_hide):
4473 Remove windows from the stack everytime they're hidden.
4474 (hildon_stackable_window_realize):
4475 Don't change the _NET_WM_WINDOW_TYPE property. Use
4476 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4477 it as a stackable window.
4479 * src/hildon-program.c
4480 (hildon_program_pop_window_stack):
4481 Just hide the window to remove it from the stack.
4482 (hildon_program_go_to_root_window):
4483 Don't call gtk_widget_show(), this is now a task for the window
4486 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4488 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4490 * src/hildon-button.c
4491 (hildon_button_construct_child):
4492 Don't pack anything in the button until text or image are
4493 set. This allows adding a custom child after creating the button
4494 with hildon_button_new().
4495 (hildon_button_finalize, hildon_button_class_init)
4496 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4497 alignment and the label box even when they're not packed in the
4500 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4502 * src/hildon-touch-selector.h:
4503 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4504 currently the type definition was using GTK_TYPE_VBOX
4505 * src/hildon-touch-selector.c:
4506 Added some implementation notes in order to clarify that any other widget
4507 added without the column related API will not be included on the
4508 selection logic, and how the widget is freed, as some people ask about
4510 (hildon_touch_selector_remove): Reimplemented in order to free properly
4511 the column related data when you remove the private hbox.
4512 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4513 to get a proper HildonTouchSelectorColumn documentation
4515 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4517 * src/hildon-touch-selector-entry.c:
4518 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4519 text in the GtkEntry and there is no item selected. Fixes a
4522 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4524 * src/hildon-app-menu-private.h
4525 * src/hildon-app-menu.[ch]
4526 * src/hildon-button.[ch]
4527 * src/hildon-check-button.[ch]
4528 * src/hildon-entry.[ch]
4529 * src/hildon-pannable-area.[ch]
4530 * src/hildon-text-view.[ch]:
4531 Added private field to the object's structure.
4533 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4535 * configure.ac: post-release version bump
4537 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4541 * configure.ac: pre-release version bump
4543 * debian/changelog: updates.
4545 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4547 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4548 Disconnect the handler for HildonTouchSelector::changed.
4550 (hildon_picker_button_selector_selection_changed): Update the button
4551 value if the selection change was not triggered by the
4554 (hildon_picker_button_set_selector): connect to
4555 HildonTouchSelector::changed.
4557 Fixes: NB#89650 (Picker button is not updated, when selection in
4558 selector has changed)
4560 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4562 * src/hildon-picker-dialog.c
4563 (hildon_picker_dialog_realize): Removed as not required
4564 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4565 * src/hildon-picker-button.c
4566 (_current_selector_empty): New function, checks if the selector is empty
4567 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4568 if the current selector is empty, in order to avoid to show the dialog
4569 close the dialog in this case (and shows a g_warning).
4571 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4573 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4575 * src/hildon-pannable-area.c,
4576 (hildon_pannable_area_scroll): Added clause to stop movement when
4577 the child of pannable is smaller than one page.
4578 (hildon_pannable_area_scroll_to): Added conditions to avoid
4579 starting the scrolling movement if the child is smaller than one
4580 page, the complete child is in the screen, we do not have to move.
4582 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4584 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4586 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4587 this is managed automatically by the widget when the size of the
4590 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4592 * src/hildon-picker-button.c
4593 (hildon_picker_button_set_done_button_text): Make a copy of the
4594 text, and free the previous value.
4596 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4598 * src/hildon-touch-selector-entry.c:
4599 (hildon_touch_selector_entry_print_func): Return the selected row's
4600 text if the entry is empty.
4602 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4605 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4607 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4609 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4612 * src/hildon-check-button.h
4613 * src/hildon-check-button.c
4614 * examples/hildon-check-button-example.c:
4615 HildonCheckButton is now a new widget. 'toggled' signal added.
4617 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4619 * src/hildon-program-private.h
4620 * src/hildon-program.c (hildon_program_init)
4621 (hildon_program_finalize): Removed unused variables group_leader
4622 and name from HildonProgramPrivate.
4624 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4626 * src/hildon-check-button.c (hildon_check_button_set_active)
4627 (hildon_check_button_get_active, hildon_check_button_new): Use
4628 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4630 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4632 * src/hildon-touch-selector.h
4633 (hildon_touch_selector_set_column_attributes): added deprecation
4634 guard HILDON_DISABLE_DEPRECATED
4635 * src/hildon-time-selector.c
4636 (hildon_time_selector_set_time)
4637 (hildon_time_selector_get_time): Fixed a typo on documentation
4638 * src/hildon-touch-selector.c: update HildonTouchSelector and
4639 HildonTouchSelectorColumn documentation
4640 * src/hildon-touch-selector-entry.c: update "text-column" property
4642 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4643 to be added to the general documentation.
4645 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4647 * examples/hildon-pannable-area-example-4.c,
4649 * examples/hildon-pannable-area-example.c,
4650 (main): Modified the code in order to use the container add, with
4651 viewport treeviews could have problems if they are really big.
4653 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4655 * src/hildon-weekday-picker.c,
4656 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4657 the agreement regarding deprecation in the library.
4659 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4661 * examples/hildon-picker-button-multicolumn-example.c:
4662 (main): Use custom "done" button text.
4664 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4665 (hildon_picker_button_set_property),
4666 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4667 (hildon_picker_button_init),
4668 (+hildon_picker_button_get_done_button_text),
4669 (+hildon_picker_button_set_done_button_text): New methods to customize
4670 the "done" button label in the launched HildonPickerDialog. Also,
4673 * src/hildon-picker-button.h: add the public API.
4675 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4677 * src/hildon-date-selector.h:
4678 * src/hildon-picker-dialog.h:
4679 * src/hildon-time-selector.h:
4680 * src/hildon-touch-selector-column.h:
4681 * src/hildon-touch-selector.h:
4683 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4684 declarations. Fixes gtk-doc warnings.
4686 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4688 * src/hildon-picker-dialog.h
4689 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4690 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4692 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4693 long text is set as label for done button)
4695 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4697 * src/hildon-dialog.c (hildon_dialog_add_button):
4698 Set fixed width to all buttons in the HildonDialog.
4700 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4702 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4704 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4705 Set widget name using class name plus "-finger" or "-thumb".
4707 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4709 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4710 'clicked' when the state of the button is manually changed.
4712 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4714 * src/hildon-app-menu.c (hildon_app_menu_realize)
4715 (hildon_app_menu_unrealize, hildon_app_menu_init)
4716 (hildon_app_menu_class_init, item_visibility_changed):
4717 Change the menu layout when the size of the screen changes.
4718 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4719 Show warning only when changing the number of colums using the
4722 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4724 * debian/compat: Set to 5
4725 * debian/control: Update dependencies.
4726 * debian/libhildon1-dbg.install: Remove.
4727 * debian/libhildon1-dev.install: Update according to cdbs paths.
4728 * debian/libhildon1.install: Update according to cdbs paths.
4729 * debian/rules: Switch to cdbs.
4731 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4733 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4734 'item' variable renamed to 'filter'
4736 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4738 * src/hildon-app-menu.c (hildon_app_menu_insert)
4739 (hildon_app_menu_add_filter, remove_item_from_list)
4740 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4741 Don't leak hidden items when the menu is destroyed.
4743 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4745 * src/hildon-app-menu.c (hildon_app_menu_insert)
4746 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4747 (hildon_app_menu_set_columns, item_visibility_changed)
4748 (filter_visibility_changed, hildon_app_menu_repack_filters)
4749 (hildon_app_menu_repack_items):
4750 Repack items and filters separately.
4752 Don't repack all items, change only the ones that are needed to
4755 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4757 * src/Makefile.am: added hildon-touch-selector-column.h
4759 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4761 * src/hildon-touch-selector.c: added the property "text-column" to the
4762 class HildonTouchSelectorColumn, and related get/set functions
4763 (_default_printf_func): updated to use "text-column" property
4764 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4765 "text-column" in his documentation, as this is now included on
4766 HildonTouchSelectorColumn. The get/set_property can still be used,
4767 working as a wrapper to the concrete column "text-column" property
4768 (_text_column_modified): callback added in order to handle the signal
4769 "notify::text-column" of the concrete HildonTouchSelectorColumn
4770 (hildon_touch_selector_entry_get_text_column)
4771 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4772 modified in order to use the HildonTouchSelectorColumn "text-column"
4774 * src/hildon-time-selector.c:
4775 * src/hildon-date-selector.c:
4776 * examples/hildon-touch-selector-example.c
4777 * examples/hildon-touch-selector-multi-cells-example.c
4778 * examples/hildon-picker-button-multicolumn-example.c
4779 Set the right value to "text-column" property on the creation of a new
4780 column using hildon_touch_selector_append_column()
4782 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4784 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4786 * src/hildon-app-menu.c
4787 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4788 updating the layout of the menu, don't create all widgets again,
4789 just repack the items in their new places.
4791 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4793 * src/hildon-time-selector.c
4794 (hildon_time_selector_get_time)
4795 (hildon_time_selector_set_time)
4796 Added documentation of these public methods
4798 * src/hildon-date-button.h
4799 * src/hildon-touch-selector-column.h
4800 * src/hildon-time-button.h
4801 * src/hildon-picker-dialog.h
4802 * src/hildon-time-selector.h
4803 * src/hildon-picker-button.h
4804 * src/hildon-touch-selector.h
4805 * src/hildon-time-picker.h
4806 * src/hildon-date-selector.h
4807 * src/hildon-touch-selector-entry.h
4808 Modified in order to use hildon-widgets code style
4810 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4812 Added deprecated support to the compilation process using
4813 HILDON_DISABLE_DEPRECATED
4815 * configure.ac: Added the --disable-deprecated to the configure
4818 * src/hildon-weekday-picker.c:
4819 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4820 to use the deprecated support. We will update the other deprecated
4821 widgets status in a new patch.
4823 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4825 * configure.ac: Fixed typo with fatal warnings support, the
4826 variable name was not correct
4828 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4830 * src/hildon-app-menu.c
4831 * src/hildon-program.c: Update documentation.
4833 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4835 * configure.ac: Post-release version bump.
4837 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4842 * configure.ac: Pre-release version bump.
4843 * debian/changelog: Updates.
4845 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4847 * NEWS: Update news for previous releases.
4849 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4851 * examples/hildon-touch-selector-multi-cells-example.c:
4852 (create_selector): Update the example to use
4853 hildon_touch_selector_append_column() with a NULL renderer and set
4854 the renderers later.
4855 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4856 passed a NULL renderer. This is documented behavior now.
4858 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4859 This must be used if the developer wants full control on the layout of
4860 the renderers to be added to the column.
4862 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4864 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4866 * src/hildon-touch-selector.c: Documentation fixes.
4868 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4870 * src/hildon-wizard-dialog-private.h: Remove image and box.
4871 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4872 (hildon_wizard_dialog_set_property), (response): Completely remove
4873 image/icon support, and the containers required for the layout.
4875 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4877 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4879 * src/hildon-app-menu.c: Updated documentation.
4881 * src/hildon-stackable-window.c
4882 (hildon_stackable_window_set_main_menu): Unref the old menu after
4883 ref'ing the new one.
4885 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4887 * src/hildon-stackable-window.c
4888 (hildon_stackable_window_set_main_menu): Unref the previous menu
4889 instead of destroying it.
4891 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4892 floating reference and set has_user_ref_count to FALSE to make
4893 HildonAppMenu act like a normal ref-counted widget and not a
4896 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4899 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4901 * src/hildon-touch-selector-column.h: new file
4902 * src/hildon-touch-selector.h
4903 * src/hildon-touch-selector.c
4904 Implemented GtkCellLayout interface, in order to allow to configure
4905 the cell layout on each individual selector column
4906 (hildon_touch_selector_set_column_attributes): marked as deprecated
4907 * examples/hildon-touch-selector-multi-cells-example.c
4908 Example of how to use the GtkCellLayout interface on the selector
4910 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4912 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4914 * src/hildon-app-menu.h
4915 * src/hildon-app-menu.c
4916 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4917 (hildon_app_menu_append, hildon_app_menu_prepend):
4918 New methods to prepend, insert and move items in the menu.
4920 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4922 * src/hildon-wizard-dialog.c:
4924 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4926 (create_title): Update logical IDs and related code.
4927 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4929 * src/hildon-wizard-dialog.h: Note that
4930 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4931 point, as it is not used anymore.
4933 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4935 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4937 * src/hildon-note.c:
4938 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4939 shown. Do not display an icon in confirmation notes nor information
4941 (hildon_note_set_button_text): Update logical ID for cancel button.
4943 Fixes: NB#88850 (Update HildonNote button strings + signals)
4945 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4947 * src/hildon-stackable-window.c
4948 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4950 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4952 * src/hildon-app-menu-private.h
4953 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4954 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4955 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4956 temporary property 'columns' to change the number of columns.
4958 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4960 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4962 * examples/hildon-note-example.c: (on_information_clicked),
4963 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4964 debugging information.
4965 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4967 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4968 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4969 in order to close: this will be handled by the WM from now on.
4971 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4973 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4975 * src/hildon-app-menu-private.h
4976 * src/hildon-app-menu.c
4977 (hildon_app_menu_append, hildon_app_menu_add_filter)
4978 (button_visibility_changed, hildon_app_menu_apply_style)
4979 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4980 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4981 layout everytime a button (item or filter) is shown or hidden.
4983 * src/hildon-stackable-window.c
4984 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4987 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4989 * src/hildon-touch-selector.c:
4990 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4991 that the treeview inside the touch selector is in fremantle hildon mode
4992 * examples/hildon-date-button-example.c
4993 * examples/hildon-picker-button-multicolumn-example.c
4994 * examples/hildon-touch-selector-entry-example.c
4995 * examples/hildon-touch-selector-example.c
4996 * examples/hildon-time-button-example.c
4997 * examples/hildon-picker-button-example.c:
4998 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5000 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5002 * examples/hildon-text-view-example.c: (main): Remove the
5003 gtkrc bits, now handled by the theme.
5005 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5007 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5010 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5012 * po/Makefile.am: Install properly the mo files.
5013 * po/en_GB.po: Update translation, to ease testing purposes.
5015 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5017 * examples/hildon-picker-button-example.c: (main): Select an item
5018 in the selector before setting it to the button.
5020 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5022 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5023 Update button's value if the selector has an item active.
5025 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5026 'value' with the selector)
5028 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5030 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5031 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5032 (hildon_picker_button_class_init): Plug the finalize method.
5033 (hildon_picker_button_set_selector): If there's a previously set
5034 selector, unref'it before setting a new one.
5036 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5037 HildonTouchSelector)
5039 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5041 * src/hildon-touch-selector-entry.c:
5042 (hildon_touch_selector_entry_changed): Check if there is no text
5043 selected before setting the entry text.
5046 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5048 * src/hildon-touch-selector.h
5049 * src/hildon-touch-selector.c
5050 (hildon_touch_selector_get_active)
5051 (hildon_touch_selector_set_active): New methods to set/get the
5052 index of the selected item.
5054 * src/hildon-picker-button.h
5055 * src/hildon-picker-button.c
5056 (hildon_picker_button_get_active)
5057 (hildon_picker_button_set_active): New methods to set/get the
5058 index of the selected item.
5060 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5062 * configure.ac: post-release version bump.
5064 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5068 * configure.ac: Pre-release version bump.
5069 * debian/changelog: Updates.
5070 * debian/control: Add myself as maintainer and depend on l10n
5073 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5075 * src/hildon-window.c
5076 (hildon_window_set_main_menu)
5077 * src/hildon-stackable-window.c
5078 (hildon_stackable_window_set_main_menu):
5079 Updated documentation.
5081 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5083 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5084 Don't free selector->priv manually.
5087 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5090 (hildon_gtk_window_set_progress_indicator):
5091 * src/hildon-gtk.h: Added the new API
5092 hildon_gtk_window_set_progress_indicator, it changes the state of
5093 the window progress hint.
5095 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5097 * src/hildon-button.c
5098 * src/hildon-stackable-window.c: Minor documentation updates.
5100 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5102 * src/hildon-stackable-window.c: Updated documentation.
5104 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5106 * src/hildon-defines.h: Update margins definitions
5107 to the Fremantle sizes.
5110 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5112 * src/hildon-touch-selector.c,
5113 (_hildon_touch_selector_set_model): Cleaning the code after
5114 review, removed g_print and #if 0 from the code.
5116 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5118 * src/hildon-edit-toolbar.c: Update documentation.
5120 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5122 * src/hildon-check-button.h
5123 * src/hildon-check-button.c
5124 (hildon_check_button_set_label, hildon_check_button_get_label)
5125 * examples/hildon-check-button-example.c
5126 (button_clicked_cb):
5127 Removed deprecated methods.
5129 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5131 * src/hildon-text-view.c:
5132 Add sample code to the documentation.
5134 * src/hildon-entry.h
5135 * src/hildon-text-view.h:
5136 Minor cosmetic changes.
5138 * src/hildon-entry.c:
5139 Add sample code to the documentation.
5140 (hildon_entry_init, hildon_entry_refresh_contents):
5141 Don't allow NULL values in the placeholder.
5143 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5145 * doc/hildon-docs.sgml
5147 * examples/Makefile.am
5148 * examples/hildon-text-view-example.c
5150 * src/hildon-text-view.c
5151 * src/hildon-text-view.h
5153 New HildonTextView widget, with example.
5155 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5157 * po/POTFILES.in: Add missing files with translatable strings.
5158 Partially fixes NB#88287.
5160 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5162 * examples/hildon-pannable-area-example-2.c: (main): No need to
5163 set the cellrenderer height inside hildon touch lists, the theme does
5166 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5168 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5169 they are integrated in the theme.
5171 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5173 * examples/hildon-entry-example.c: Update the example adding
5174 widgets to modify the text and the placeholder of the HildonEntry.
5176 * src/hildon-entry.c: Show the placeholder everytime the widget
5177 is empty and loses the focus.
5179 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5181 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5183 * src/hildon-pannable-area.c,
5184 (hildon_pannable_area_size_request): Fixed bug in height
5185 requisition, avoid increasing size and add border twice.
5187 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5189 * configure.ac: postrelease version bump.
5191 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5195 * configure.ac: Prerelease version bump.
5196 * debian/changelog: update.
5197 * debian/rules: make -dbg package contain useful debugging symbols.
5199 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5201 * src/hildon-dialog.h
5202 * src/hildon-dialog.c
5203 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5204 New methods to add buttons with finger size.
5205 (hildon_dialog_new_with_buttons):
5206 Create buttons with finger size.
5208 * examples/hildon-dialog-example.c (main): Use HildonDialog
5209 methods to add buttons.
5211 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5213 * src/hildon-entry.c: Updated HildonButton documentation.
5215 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5217 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5218 button value label with (FALSE, FALSE) to prevent NB#88126 from
5221 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5223 * examples/hildon-pannable-area-example.c,
5224 (main): Removed examples panning a vbox inside a pannable
5225 area. Check bug NB#87965
5227 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5229 Patch contributed by Kris Rietveld (kris@imendio.com)
5231 * src/hildon-pannable-area.c,
5232 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5233 get_size and get_position, this saves an X server roundtrip.
5235 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5237 * doc/hildon-docs.sgml
5239 * examples/Makefile.am
5240 * examples/hildon-entry-example.c
5242 * src/hildon-entry.c
5243 * src/hildon-entry.h
5245 New HildonEntry widget, with example.
5247 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5249 * src/hildon-button.c (hildon_button_construct_child): Pack the
5250 image with expand == fill == FALSE. This is a workaround for a bug
5253 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5255 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5256 labels for the text column, to make it more look more dynamic.
5258 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5260 * src/hildon-time-selector.c
5261 Define gettext auxiliar macro N_
5262 (_create_minutes_model)
5263 (_create_hours_model)
5264 (_create_ampm_model): use of strftime in order to fill the model
5265 * src/hildon-date-selector.c
5266 (hildon_date_selector_finalize):
5267 (_locales_init): remove the logic related to get the name of the months
5268 using nl_langinfo, as it is not required anymore
5270 (_create_year_model)
5271 (_create_month_model)
5272 (_update_day_model): use of strftime in order to fill the model properly
5275 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5277 * src/hildon-button.h
5278 * src/hildon-button.c (hildon_button_get_image): New method to
5281 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5283 * src/hildon-touch-selector.c:
5284 (hildon_touch_selector_remove_column): Remove from the correct parent
5285 and also remove the list element and free it.
5288 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5290 * src/hildon-time-selector.c
5291 (_create_hours_model): change the range on 12h ampm format in order to use
5292 a 12-11 range instead of previous 01-12 range
5293 (hildon_time_selector_set_time): change the way to select the current time
5294 on 12h ampm format, due the change on the range
5295 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5298 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5300 * src/hildon-touch-selector.c
5301 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5302 in order to allow use this function on multiple row selection mode if
5303 the column is different that the first one
5306 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5308 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5309 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5311 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5313 * src/hildon-date-selector.h: clean some comments, now on the .c
5314 * src/hildon-date-selector.c
5315 (hildon_date_selector_select_month): first implementation
5316 (hildon_date_selector_select_day): added documentation, reimplemented
5317 using hildon_date_selector_select_current_date to avoid repeat code
5320 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5322 Reviewed interaction logic based on device experiences, refactored
5325 * src/hildon-pannable-area.c,
5326 (hildon_pannable_area_class_init): Updated default vmax speed.
5327 (hildon_pannable_area_calculate_velocity): Added this function, it
5328 avoids duplicate valocity calculation. Adjusted calculation to
5329 avoid problems with zero dist events.
5331 (hildon_pannable_area_motion_notify_cb): Now we use the
5332 calculate_velocity function.
5334 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5336 * src/hildon-date-selector.c
5337 (hildon_date_selector_select_current_date): fix the day range check
5338 as it failed using the last day of the current month
5341 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5343 * src/hildon-touch-selector.c
5344 (hildon_touch_selector_get_num_columns): added a parameter validation
5347 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5349 * examples/Makefile.am
5350 * examples/hildon-edit-toolbar-example.c: Example of the
5351 HildonEditToolbar widget.
5353 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5355 * configure.ac: postrelease version bump.
5357 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5361 * configure.ac: prerelease version bump.
5362 * debian/changelog: update.
5364 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5366 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5367 renderer to display stock icons in the touch list. Also, set the sizes
5368 to the recommended in the style guide.
5370 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5371 * src/hildon-touch-selector.h
5372 (hildon_touch_selector_set_active_iter): renamed, now is
5373 hildon_touch_selector_select_iter
5374 (hildon_touch_selector_get_active_iter): renamed, now is
5375 hildon_touch_selector_get_selected
5376 (hildon_touch_selector_unselect_iter): added
5377 * src/hildon-touch-selector.c
5378 Update after API modification (methods renamed)
5379 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5380 order to avoid problems selecting multiple elements on the column
5381 (hildon_touch_selector_unselect_iter): added the implementation
5382 * src/hildon-time-selector.c
5383 * src/hildon-date-selector.c
5384 * src/hildon-touch-selector-entry.c
5385 Update methods calls after hildon-touch-selector.h API modification (methods
5388 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5390 * src/hildon-stackable-window.c
5391 (hildon_stackable_window_finalize): Call the parent class's finalize.
5393 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5395 * examples/hildon-touch-selector-example.c: (create_selector): Use
5396 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5399 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5401 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5402 set a cell background color, to respect theming.
5404 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5406 * doc/hildon-docs.sgml
5409 * src/hildon-edit-toolbar.c
5410 * src/hildon-edit-toolbar.h
5411 * src/hildon.h: New HildonEditToolbar widget.
5413 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5415 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5418 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5419 * src/hildon-touch-selector.c
5420 (_create_new_column): use g_object_set instead of two g_object_set_property
5422 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5423 * src/hildon-touch-selector.c
5424 (_create_new_column): use of hildon_gtk_tree_view_new to create
5425 the treeview, instead of use directly g_object_new
5426 (_create_new_column): update the property name "vindicator-mode" for the
5427 new one "vscrollbar-policy"
5428 * examples/hildon-date-button-example.c
5429 * examples/hildon-picker-button-multicolumn-example.c
5430 * examples/hildon-touch-selector-entry-example.c
5431 * examples/hildon-touch-selector-example.c
5432 * examples/hildon-time-button-example.c
5433 * examples/hildon-picker-button-example.c
5434 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5435 to all the treeviews inside a pannable area.
5437 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5439 * src/hildon-button.h
5440 * src/hildon-button.c (hildon_button_init)
5441 (hildon_button_set_arrangement, hildon_button_set_alignment)
5442 (hildon_button_set_title_alignment)
5443 (hildon_button_set_value_alignment)
5444 (hildon_button_set_image_alignment)
5445 (hildon_button_construct_child): New methods to set the alignment
5446 of the individual components of the button (title, value,
5447 image). Also, new method to alter the xscale and yscale properties
5448 of the GtkAlignment inside the button, so more complex layouts can
5451 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5453 * src/hildon-button.c (hildon_button_style_set)
5454 (hildon_button_class_init, hildon_button_set_arrangement)
5455 (hildon_button_construct_child): Apply style properties
5456 correctly. Use the 'image-spacing' style property too.
5458 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5460 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5461 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5464 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5466 * src/hildon-pannable-area.c,
5467 (hildon_pannable_area_size_request): Fixed problem with
5468 pannable-area size_request.
5470 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5472 Added management for the grab-focus to a child widget, like a
5473 range, we need to fade out the scrollbar when releasing.
5475 * src/hildon-pannable-area.c,
5476 (hildon_pannable_area_init): Connected the grab-focus signal to
5478 (hildon_pannable_area_grab_notify): Added this function in order
5479 to manage the situation when the grab-focus ends. We have to
5480 fade-out the scrollbar.
5482 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5484 * src/hildon-app-menu.c: Minor documentation update.
5486 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5488 * src/hildon-app-menu.c
5489 * examples/hildon-app-menu-example.c (create_menu): Update
5490 examples and documentation to explain how to connect callbacks.
5492 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5494 * examples/hildon-button-example.c
5495 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5496 hildon_stackable_window_new instead of gtk_window_new
5498 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5500 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5501 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5502 (hildon_pannable_area_set_property),
5503 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5504 (hildon_pannable_area_unrealize),
5505 (hildon_pannable_area_size_request),
5506 (hildon_pannable_area_size_allocate),
5507 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5508 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5509 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5510 (hildon_pannable_area_initial_effect),
5511 (hildon_pannable_area_redraw),
5512 (hildon_pannable_area_scroll_indicator_fade),
5513 (hildon_pannable_area_expose_event),
5514 (hildon_pannable_area_get_topmost), (synth_crossing),
5515 (hildon_pannable_area_button_press_cb),
5516 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5517 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5518 (hildon_pannable_area_motion_notify_cb),
5519 (hildon_pannable_area_button_release_cb),
5520 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5521 (hildon_pannable_area_remove),
5522 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5523 chage the code layout to a more GtkWidget like. Review the use of
5526 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5528 * examples/hildon-pannable-area-example-4.c,
5529 (main): Modified the name of the hindicator_mode to
5532 * src/hildon-pannable-area.c,
5533 (hildon_pannable_area_class_init),
5534 (hildon_pannable_area_motion_notify_cb),
5535 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5536 we have reduced the amount of signals and managed reviewed its
5537 rationale. Changed the default decelerate value.
5539 (hildon_pannable_area_add),
5540 (hildon_pannable_area_redraw): Refactored functions.
5542 (hildon_pannable_area_init),
5543 (hildon_pannable_area_get_property),
5544 (hildon_pannable_area_set_property):
5545 (hildon_pannable_draw_vscroll),
5546 (hildon_pannable_draw_hscroll),
5547 (hildon_pannable_area_initial_effect),
5548 (hildon_pannable_area_expose_event),
5549 (hildon_pannable_area_scroll),
5550 (hildon_pannable_area_button_press_cb),
5551 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5552 and vindicator_mode with hscrollbar_policy and
5553 vscrollbar_policy. Replaced hscroll and vscroll with
5554 hscroll_visible and vscroll_visible.
5556 (hildon_pannable_area_refresh): Refactor the function, remove
5557 variables and check the calls to this function, added resize
5558 conditions in case the children change their layout.
5560 (hildon_pannable_area_size_request): Added more detailed
5561 size_request calculation.
5564 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5566 * src/hildon-color-chooser.c
5567 (init_borders): use the correct gtk_border_free instead of g_free, to
5568 avoid a crash when this widget is used (ie: the three color selection
5571 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5573 * src/hildon-check-button.c,
5574 (hildon_check_button_set_active): Fixed problem when setting the
5575 active value, the widget was not redrawn.
5577 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5579 * src/hildon-pannable-area.c,
5580 (hildon_pannable_area_refresh),
5581 (hildon_pannable_area_scroll),
5582 (hildon_pannable_area_motion_notify_cb): Small code style change.
5584 (hildon_pannable_area_class_init): Default initial_hint set to
5585 FALSE, it is not in the specs.
5587 (hildon_pannable_area_initial_effect),
5588 (hildon_pannable_area_expose_event),
5589 (hildon_pannable_area_map),
5590 (hildon_pannable_area_init): Moved the launching point of the
5591 initial effect, it was in map but the sizes where not correct in
5592 that method so we do not know if we have the reproduce it. Now it
5593 is placed in the expose_event method and uses a variable to
5594 reproduce it just once.
5596 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5598 * src/hildon-pannable-area.c,
5599 (hildon_pannable_draw_vscroll),
5600 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5601 position allowed for the scrollbars.
5603 (hildon_pannable_area_size_allocate): Small style change.
5605 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5607 * src/hildon-pannable-area.c,
5608 (hildon_pannable_area_scroll_indicator_fade),
5609 (hildon_pannable_area_button_press_cb),
5610 (hildon_pannable_area_button_release_cb),
5611 (hildon_pannable_area_scroll_cb),
5612 (hildon_pannable_area_expose_event),
5613 (hildon_pannable_area_init): Added the define parameter
5614 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5615 and refactor the fade variable.
5617 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5619 * src/hildon-pannable-area.c,
5620 (hildon_pannable_area_redraw),
5621 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5622 lines, we were reimplemeting the redraw code.
5624 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5626 * src/hildon-pannable-area.c,
5627 (hildon_pannable_area_scroll_cb),
5628 (hildon_pannable_area_realize),
5629 (hildon_pannable_area_class_init): Added scroll_event management
5630 for pannable area, now we can scroll the usual desktop method.
5632 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5633 initialization of the parameters should depend on idle_id.
5635 (hildon_pannable_area_init),
5636 (hildon_pannable_area_map): Small code style modifications
5638 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5640 * src/hildon-pannable-area.c
5641 (hildon_pannable_area_button_press_cb),
5642 (hildon_pannable_area_motion_notify_cb),
5643 (hildon_pannable_area_button_release_cb),
5644 (hildon_pannable_area_size_allocate),
5645 (hildon_pannable_area_scroll_to): Improved the timeouts
5646 management, we avoid creating them each time.
5648 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5650 * src/hildon-pannable-area.c:
5651 (hildon_pannable_area_refresh),
5652 (hildon_pannable_area_motion_notify_cb),
5653 (hildon_pannable_area_class_init):
5654 * src/hildon-pannable-area.h:
5655 * src/hildon-touch-selector.c
5656 (_create_new_column):
5657 * examples/hildon-pannable-area-example-4.c:
5658 (horizontal_movement),
5659 (vertical_movement),
5661 Replaced the names of enums in the HildonPannableArea:
5662 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5663 HILDON_MOVEMENT_MODE_*
5664 - HILDON_PANNABLE_AREA_MOV_* ->
5666 - Removed HildonPannableAreaIndicatorMode, now we
5669 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5671 * examples/hildon-pannable-area-touch-grid-example.c
5672 * examples/hildon-pannable-area-touch-list-example.c: Fix
5673 compilation warnings.
5675 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5677 * src/hildon-gtk.c (hildon_gtk_button_new)
5678 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5679 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5680 images overriding the value of the "gtk-button-images" setting.
5682 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5684 * src/hildon-check-button.c (hildon_check_button_new):
5685 Instead of using a custom container, display the label and the
5686 checkbox using the standard GtkButton API.
5688 * examples/hildon-check-button-example.c (main): Don't use
5689 hildon_check_button_set_label() anymore
5691 * src/hildon-check-button.h
5692 * src/hildon-check-button.c
5693 (hildon_check_button_set_label, hildon_check_button_get_label):
5694 Set as deprecated, now we're using gtk_button_{get,set}_label()
5696 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5698 * src/hildon-pannable-area.c,
5699 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5700 GtkTreeview first line we detected it after the inclusion of the
5701 GtkWindowImpl in gtk+. We now check if the window is visible, not
5702 just if the pointer is over the window.
5703 (hildon_pannable_axis_scroll),
5704 (hildon_pannable_area_expose_event): Small style changes.
5706 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5708 * src/hildon-button.c: Update documentation.
5710 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5712 * examples/hildon-button-example.c: Add a switch to show images in
5715 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5717 * doc/hildon-docs.sgml: Some docs reorganization.
5719 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5721 * examples/hildon-pannable-area-touch-list-example.c
5723 * examples/hildon-pannable-area-touch-grid-example.c
5724 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5725 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5726 Fix memory leak when setting the tree model.
5728 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5732 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5734 * doc/hildon.types: Remove duplicated hildon_window_get_type
5735 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5736 documentation comment.
5738 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5740 * doc/Makefile.am: Complete list of private headers.
5742 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5744 * doc/hildon-docs.sgml
5745 * src/hildon-app-menu.c
5746 * src/hildon-bread-crumb.c
5747 * src/hildon-button.c
5749 * src/hildon-program.c
5750 * src/hildon-stackable-window.c
5751 * src/hildon-window.c: Lots of documentation updates.
5753 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5755 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5757 * configure.ac: Require Gtk+ 2.12.9 at least
5759 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5761 * src/hildon-pannable-area.c
5762 (hildon_pannable_area_scroll_indicator_fade),
5763 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5764 to protect the return of this timeout callbacks, avoiding deadlocks.
5766 2008-08-12 Christian Dywan <christian@imendio.com>
5769 * src/hildon-*.h: Ensure a consistent include order,
5770 include <gtk/gtk.h> instead of particular files and
5771 only include the topmost header in the gtk stack. See NB #39857
5773 2008-08-12 Christian Dywan <christian@imendio.com>
5775 * src/hildon-picker-dialog.c
5776 * src/hildon-touch-selector.c: Fix warnings about unused and
5777 uninitialized variables.
5779 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5781 * examples/Makefile.am
5782 * examples/hildon-check-button-example.c: Example of the hildon
5785 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5787 * src/hildon-window.h
5788 * src/hildon-window.c (hildon_window_class_init)
5789 (hildon_window_unset_program): Don't make
5790 hildon_window_unset_program a virtual function anymore.
5792 * src/hildon-stackable-window.c: Update documentation
5794 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5797 * doc/hildon-docs.sgml
5798 * doc/visual_index.xml
5799 * src/hildon-defines.c
5801 * src/hildon-helper.c
5802 * src/hildon-range-editor.c: Lots of documentation fixes.
5804 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5806 * examples/hildon-picker-button-multicolumn-example.c
5807 (create_touch_selector): Fix compilation warning.
5809 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5811 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5812 (hildon_pannable_area_button_release_cb)
5813 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5815 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5817 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5820 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5822 * src/hildon-bread-crumb-trail.h
5823 * src/hildon-date-editor.c
5824 * src/hildon-date-selector.c
5825 * src/hildon-pannable-area.c
5826 * src/hildon-picker-dialog.c
5827 * src/hildon-time-selector.c
5828 * src/hildon-touch-selector-entry.c
5829 * src/hildon-touch-selector.c
5830 * src/hildon-touch-selector.h: Misc documentation fixes
5832 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5834 * examples/hildon-date-editor-example.c (main): Updated date
5837 * examples/hildon-note-example.c (on_confirmation_clicked):
5838 Updated confirmation note example.
5840 * src/hildon-date-editor.c
5841 * src/hildon-note.c: Updated sample programs in documentation.
5844 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5846 * src/hildon-date-button.h:
5847 * src/hildon-picker-button.h:
5848 * src/hildon-time-button.c:
5849 * src/hildon-time-button.h:
5851 Some declarations changes to allow gtk-doc to document the widgets
5854 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5856 * src/hildon-date-button.c: Document the widget.
5857 * src/hildon-time-button.c: Document the widget.
5859 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5861 * src/hildon-picker-button.c: Document the widget.
5862 * src/hildon-touch-selector-entry.c: Document the widget.
5864 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5866 * doc/hildon-docs.sgml
5869 * src/hildon-check-button.h
5870 * src/hildon-check-button.c: New functions to create the Hildon
5874 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5876 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5878 * src/hildon-button.h
5879 * src/hildon-button.c
5880 (hildon_button_add_title_size_group)
5881 (hildon_button_add_value_size_group)
5882 (hildon_button_add_image_size_group)
5883 (hildon_button_add_size_groups): New functions to set size groups
5884 for the button labels and image.
5885 (hildon_button_new_full): Removed
5887 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5889 * src/hildon-time-selector.c
5890 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5891 in order to avoid a crash if gconf is not available
5893 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5895 * src/hildon-button.c (hildon_button_set_arrangement)
5896 (hildon_button_construct_child): Don't construct the button child
5897 before setting the arrangement.
5899 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5901 * src/hildon-program-private.h
5902 * src/hildon-program.c
5903 * src/hildon-program.h
5904 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5905 (hildon_program_peek_window_stack)
5906 (hildon_program_pop_window_stack)
5907 (hildon_program_go_to_root_window): HildonProgram now has a
5908 separate list for stackable windows. Functions are provided to
5909 manage that list with a stack-like API.
5911 * src/hildon-stackable-window.c: Stackable window management is
5912 now much simpler with the new HildonProgram API. Windows no
5913 longer need to be manually added to the program, they're
5914 automatically pushed to the top of the stack when shown.
5916 * examples/hildon-stackable-window-example.c: Updated example to
5917 reflect the API changes.
5919 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5921 * src/hildon-touch-selector.c: Comment out unimplemented
5922 hildon_touch_selector_insert_column() to avoid a compile warning.
5924 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5926 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5927 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5928 (hildon_touch_selector_set_column_selection_mode),
5929 (_hildon_touch_selector_set_model),
5930 (hildon_touch_selector_set_model):
5932 Complete review of HildonTouchSelector documentation.
5934 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5936 * doc/hildon-docs.sgml
5940 * src/hildon-gtk.c: Convenience functions for standard Gtk
5941 widgets, used to easily perform frequent operations.
5943 * src/hildon-button-helpers.h
5944 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5946 * src/hildon-helper.h
5947 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5948 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5950 * src/hildon-button.h
5951 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5953 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5955 * src/hildon-button.c (hildon_button_init)
5956 (hildon_button_set_arrangement, hildon_button_construct_child):
5957 Pack the image and the labels inside the same GtkAlignment so
5958 gtk_button_set_alignment() can be used
5960 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5962 * src/hildon-button.h
5963 * src/hildon-button.c
5964 (hildon_button_init, hildon_button_set_image)
5965 (hildon_button_set_image_position)
5966 (hildon_button_construct_child): New functions to add an image to
5969 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5971 * src/hildon-date-button.c
5972 * src/hildon-picker-button.c
5973 * src/hildon-time-button.c
5974 * src/hildon-button.c:
5975 (hildon_button_class_init): "size-flags" renamed to "size"
5976 (hildon_button_set_title): Hide the title label if set to NULL.
5978 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5980 HildonButtonFlags split into HildonButtonArrangement (to set the
5981 button layout) and HildonSizeType (which can be used for any
5984 * src/hildon-button.h
5985 * src/hildon-button.c
5986 (hildon_button_class_init)
5987 (hildon_button_set_arrangement)
5988 (hildon_button_set_property): New "size-flags"
5989 property. "arrangement-flags" renamed to "arrangement".
5990 (hildon_button_new, hildon_button_new_with_text)
5991 (hildon_button_new_full): Constructors updated to reflect type changes.
5993 * src/hildon-helper.h
5994 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5995 to set the size of a widget.
5999 * src/hildon-button-helpers.c
6000 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6002 * src/hildon-date-button.c
6003 * src/hildon-date-button.h
6004 * src/hildon-picker-button.c
6005 * src/hildon-picker-button.h
6006 * src/hildon-time-button.c
6007 * src/hildon-time-button.h: Updated widgets to reflect
6008 HildonButton API changes.
6010 * examples/hildon-button-example.c
6011 * examples/hildon-date-button-example.c
6012 * examples/hildon-picker-button-example.c
6013 * examples/hildon-picker-button-multicolumn-example.c
6014 * examples/hildon-time-button-example.c
6015 * examples/hildon-touch-selector-entry-example.c
6016 * examples/hildon-touch-selector-example.c: Updated examples to
6017 reflect HildonButton API changes.
6019 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6021 * doc/hildon-docs.sgml:
6023 * examples/Makefile.am:
6024 * examples/hildon-touch-selector-entry-example.c:
6026 * src/hildon-touch-selector-entry.c:
6027 * src/hildon-touch-selector-entry.h:
6030 Moved HildonTouchSelectorEntry from sandbox. Added its
6031 documentation and examples.
6033 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6035 * src/hildon-touch-selector.h:
6036 * examples/hildon-picker-button-multicolumn-example.c:
6037 (hildon_touch_selector_append_text_column): Add a gboolean
6038 parameter to determine if text must be centered in the column.
6040 * src/hildon-date-selector.c: (hildon_date_selector_init):
6041 * src/hildon-time-selector.c: (hildon_time_selector_init):
6042 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6043 (create_touch_selector): Update widgets and example to reflect
6046 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6048 * src/hildon-touch-selector.c:
6049 (hildon_touch_selector_set_active_iter): Set also the cursor in
6052 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6054 * doc/hildon-docs.sgml
6057 * src/hildon-toggle-button.c
6058 * src/hildon-toggle-button.h
6059 * src/hildon.h: Removed HildonToggleButton widget, a derived
6060 class is not necessary for this.
6062 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6064 * src/hildon-pannable-area.c,
6065 (hildon_pannable_area_realize),
6066 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6069 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6071 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6072 "done" button the default widget for the dialog.
6074 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6076 * src/hildon-touch-selector.c:
6077 (hildon_touch_selector_class_init),
6078 (hildon_touch_selector_get_property),
6079 (_hildon_touch_selector_set_model),
6080 (_hildon_touch_selector_has_multiple_selection),
6081 (hildon_touch_selector_has_multiple_selection):
6082 Add a "has-multiple-selection" property with a virtual
6083 has_multiple_selection() method to allow derived classes to
6084 override the default value for it. See the method and property
6085 documentation for details.
6087 * src/hildon-touch-selector.h: Add the new API.
6089 * src/hildon-picker-dialog.c: (requires_done_button): Call
6090 hildon_touch_selector_has_multiple_selection() instead of
6091 determining the need for a button itself.
6093 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6095 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6096 (_hildon_touch_selector_set_model),
6097 (hildon_touch_selector_set_model): Move working code to
6098 _hildon_touch_selector_set_mode(). Call the class method instead.
6100 * src/hildon-touch-selector.h: Add (*set_model) to
6101 HildonTouchSelectorClass.
6103 Make hildon_touch_selector_set_model() a virtual method, so that
6104 derived classes can extend it and do fancy stuff with the model.
6106 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6108 * configure.ac: Set back the tarname in AC_INIT to hildon.
6110 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6114 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6115 instead of libesd (NB#86876). Volume handling is still an open issue.
6117 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6120 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6122 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6123 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6124 derived class to ease placement of an entry widget in
6125 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6126 end, where the selector columns are packed now.
6128 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6130 * src/hildon-picker-button.c: Removed the simple _text() API.
6131 * src/hildon-picker-button.h: Likewise.
6133 * src/hildon-touch-selector.h:
6134 * src/hildon-touch-selector.c:
6135 (hildon_touch_selector_new_text),
6136 (hildon_touch_selector_append_text),
6137 (hildon_touch_selector_prepend_text),
6138 (hildon_touch_selector_insert_text):
6140 Moved the simple _text() API from HildonPickerButton to
6141 HildonTouchPicker, to provide better escalability and not to tie
6142 that API to HildonPickerButton.
6144 * examples/hildon-picker-button-example.c: (main): Example updated.
6146 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6148 * src/hildon-button.c: Updated documentation.
6150 * examples/hildon-button-example.c: Add the posibility to create
6151 the buttons using horizontal layout for title and value.
6153 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6155 * src/hildon-app-menu-private.h
6156 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6157 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6158 GtkSizeGroup for the filters, use the 'homogeneous' property of
6161 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6163 * examples/hildon-button-example.c: Updated example.
6165 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6167 * doc/hildon-docs.sgml:
6170 Update documentation.
6172 * examples/Makefile.am: Update renamed examples.
6174 * examples/hildon-picker-button-multicolumn-example.c:
6175 (create_touch_selector), (main): Update after the rename.
6177 * examples/hildon-touch-picker-example.c: Removed.
6178 * examples/hildon-touch-selector-example.c: (value_changed),
6179 (create_selector), (get_visible_content), (main): Renamed from
6180 hildon-touch-picker-example.c
6182 * src/Makefile.am: Updated renamed files.
6184 * src/hildon-date-button.c: (hildon_date_button_init),
6185 (hildon_date_button_get_date), (hildon_date_button_set_date):
6186 * src/hildon-date-selector.c: (hildon_date_selector_init),
6187 (_custom_print_func), (_update_day_model),
6188 (_manage_selector_change_cb),
6189 (hildon_date_selector_select_current_date),
6190 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6191 * src/hildon-date-selector.h:
6192 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6193 (hildon_picker_button_set_property),
6194 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6195 (hildon_picker_button_init), (hildon_picker_button_new_text),
6196 (hildon_picker_button_append_text),
6197 (hildon_picker_button_prepend_text),
6198 (hildon_picker_button_insert_text),
6199 (hildon_picker_button_set_selector),
6200 (hildon_picker_button_get_selector):
6201 * src/hildon-picker-button.h:
6202 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6203 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6204 (_update_title_on_selector_changed_cb), (requires_done_button),
6205 (_hildon_picker_dialog_set_selector),
6206 (hildon_picker_dialog_set_selector),
6207 (hildon_picker_dialog_get_selector):
6208 * src/hildon-picker-dialog.h:
6209 * src/hildon-time-button.c: (hildon_time_button_init),
6210 (hildon_time_button_get_time), (hildon_time_button_set_time):
6211 * src/hildon-time-selector.c: (hildon_time_selector_init),
6212 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6213 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6214 * src/hildon-time-selector.h:
6217 Massive code updates after the rename.
6219 * src/hildon-touch-picker.c: Removed.
6220 * src/hildon-touch-picker.h: Removed.
6222 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6223 (hildon_touch_selector_init), (hildon_touch_selector_map),
6224 (hildon_touch_selector_remove), (_default_print_func),
6225 (_selection_changed_cb), (_create_new_column),
6226 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6227 (hildon_touch_selector_append_text_column),
6228 (hildon_touch_selector_remove_column),
6229 (hildon_touch_selector_set_column_attributes),
6230 (hildon_touch_selector_insert_column),
6231 (hildon_touch_selector_get_num_columns),
6232 (hildon_touch_selector_get_column_selection_mode),
6233 (hildon_touch_selector_set_column_selection_mode),
6234 (hildon_touch_selector_set_print_func),
6235 (hildon_touch_selector_get_print_func),
6236 (hildon_touch_selector_get_active_iter),
6237 (hildon_touch_selector_set_active_iter),
6238 (hildon_touch_selector_get_selected_rows),
6239 (hildon_touch_selector_get_model),
6240 (hildon_touch_selector_set_model),
6241 (hildon_touch_selector_get_current_text),
6242 (_hildon_touch_selector_center_on_selected_items):
6243 * src/hildon-touch-selector.h: Renamed from
6244 hildon-touch-picker.[ch]
6246 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6247 references, code examples, and related documentation.
6249 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6251 * doc/hildon-docs.sgml
6254 * src/hildon-toggle-button.c
6255 * src/hildon-toggle-button.h
6256 * src/hildon.h: New HildonToggleButton widget.
6258 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6260 * src/hildon-button.c: Add API documentation.
6261 (hildon_button_set_size_groups): Check input parameters
6263 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6265 * src/hildon-pannable-area.c
6266 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6267 effect after reaching the movement thredshold. This way we start
6268 using the distance after passing the thredshold.
6270 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6272 * src/hildon-button.c: (hildon_button_set_property): Use the
6273 appropriate g_value_get_flags() method.
6275 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6277 * doc/hildon-docs.sgml:
6280 Add the touch pickers, picker dialogs, and picker button widgets
6281 to the documentation.
6283 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6285 * src/hildon-button.c: (hildon_button_set_property),
6286 (hildon_button_class_init): Make "arrangement-flags" a proper
6287 G_TYPE_FLAGS derived property.
6289 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6291 * examples/Makefile.am: Add below examples.
6292 * examples/hildon-date-button-example.c:
6293 * examples/hildon-picker-button-example.c:
6294 * examples/hildon-picker-button-multicolumn-example.c:
6295 * examples/hildon-time-button-example.c:
6296 * examples/hildon-touch-picker-example.c:
6298 Add examples for the recently added touch pickers,
6299 picker dialogs, and picker button widgets.
6301 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6303 * src/hildon-button.c: Add some API documentation
6305 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6307 * src/hildon-button.h
6308 * src/hildon-button.c
6310 (hildon_button_new_with_text): New constructor to create a button
6311 with no text at all.
6312 (hildon_button_init, hildon_button_set_arrangement)
6313 (hildon_button_set_title, hildon_button_set_value)
6314 (hildon_button_set_text)
6315 (hildon_button_construct_child): Hide the value when it's not used
6316 so the rest of the text is properly aligned.
6317 Allow creating buttons with arbitrary widgets inside (not just
6318 title/value labels).
6320 * examples/hildon-button-example.c (vertical_buttons_window)
6321 (horizontal_buttons_window): Update example to use new API.
6323 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6325 * src/Makefile.am: Added HildonTimeButton.
6326 * src/hildon-time-button.c: Added missing LGPL header.
6327 * src/hildon-time-button.h: Added missing LGPL header.
6328 * src/hildon.h: Add hildon-time-button.h
6330 Copied HildonTimeButton from sandbox to trunk. Future work on this
6331 widget must take place in trunk.
6333 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6335 * src/Makefile.am: Added HildonDateButton.
6336 * src/hildon-date-button.c: Update includes.
6337 * src/hildon.h: Add hildon-date-button.h
6339 Copied HildonDateButton from sandbox to trunk. Future work on this
6340 widget must take place in trunk.
6342 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6344 * src/Makefile.am: Added HildonPickerButton.
6345 * src/hildon-picker-button.h: Update includes.
6346 * src/hildon.h: Add hildon-picker-button.h
6348 Copied HildonPickerButton from sandbox to trunk. Future work on
6349 this widget must take place in trunk.
6351 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6353 * src/Makefile.am: Added HildonPickerDialog.
6354 * src/hildon-picker-dialog.c: Update includes.
6355 * src/hildon.h: Add hildon-picker-dialog.h
6357 Copied HildonPickerDialog from sandbox to trunk. Future work
6358 on this widget must take place in trunk.
6360 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6362 * src/Makefile.am: Added HildonTimeSelector.
6363 * src/hildon.h: Add hildon-time-selector.h
6365 Copied HildonTimeSelector widget from sandbox to trunk. Future
6366 work on this widget must happen in trunk.
6368 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6370 * src/Makefile.am: Added HildonDateSelector.
6371 * src/hildon.h: Add hildon-date-selector.h
6373 Copied HildonDateSelector widget from sandbox to trunk. Future
6374 work on this widget must happen in trunk.
6376 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6378 * src/Makefile.am: Added HildonTouchPicker.
6379 * src/hildon-touch-picker.c: Update includes.
6380 * src/hildon.h: Add hildon-touch-picker.h
6382 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6383 on this widget must happen in trunk.
6385 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6387 * src/hildon-pannable-area.c:
6388 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6390 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6392 * examples/hildon-app-menu-example.c (main): Let the window
6395 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6397 * src/hildon-pannable-area.c
6398 (hildon_pannable_area_class_init): Set the min value of the
6399 overshoot properties to zero, which points out that not
6400 overshooting allowed.
6402 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6404 Modified the procedure to get the widget at a point inside the
6405 pannable area when using the movement type signals. Now the user
6406 has to call a function to get the child, that way we just
6407 calculate the child in case the user really want to use it and not
6410 * src/hildon-marshalers.list: Modified the marshallers, now we do
6411 not have the widget as a parameter.
6413 * src/hildon-pannable-area.c
6414 (hildon_pannable_area_motion_notify_cb),
6415 (hildon_pannable_area_class_init),
6416 (hildon_pannable_get_child_widget_at): Removed the widget
6417 parameter from the signal callback. We have also refactored the
6418 emission of the signals.
6420 * src/hildon-pannable-area.h: Added a new method to the API to
6421 calculate a widget at a point inside the pannable area,
6422 hildon_pannable_get_child_widget_at.
6424 * examples/hildon-pannable-area-example-4.c
6425 (horizontal_movement): Modified the example to use the new API,
6426 added condition to control which widget is under the event. This
6427 way we can avoid scrolling laterally over other widgets.
6429 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6431 * src/hildon-pannable-area.c
6432 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6433 modes, we stop getting the pointer events due to returning the
6434 callback without properly calling the get pointer again. Fixed
6435 also an error using the hscroll and vscroll.
6437 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6439 * src/hildon-app-menu-private.h
6440 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6441 (hildon_app_menu_button_release, hildon_app_menu_init)
6442 (hildon_app_menu_class_init): Don't hide the menu on button
6443 release if the user didn't press outside first.
6445 * src/hildon-window.h
6446 * src/hildon-window.c (hildon_window_toggle_menu)
6447 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6448 hildon_window_toggle_menu a virtual function for the stackable
6449 window to override it.
6451 * src/hildon-stackable-window.h
6452 * src/hildon-stackable-window-private.h
6453 * src/hildon-stackable-window.c
6454 (hildon_stackable_window_realize)
6455 (hildon_stackable_window_finalize)
6456 (hildon_stackable_window_class_init)
6457 (hildon_stackable_window_init)
6458 (hildon_stackable_window_set_main_menu): New function to set the
6459 app menu of a HildonStackableWindow.
6461 * examples/hildon-app-menu-example.c: Remove the button to show
6462 the app menu, now it'll be shown when clicking on the title bar
6465 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6467 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6468 set the widget name if the arrangement flags do not specify
6471 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6473 * src/hildon-button.c: (hildon_button_set_property),
6474 (hildon_button_class_init), (hildon_button_new_full),
6475 (hildon_button_set_arrangement): Added "arrangement-flags"
6478 Make the HildonButtonFlags a construction-only property, to allow
6479 subclasses to set them properly.
6481 2008-07-21 Tim Janik <timj@imendio.com>
6483 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6484 insertion position after backspace, so additional digits are appended,
6487 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6489 * src/hildon-pannable-area.c,
6490 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6491 TODO list, it was complete and removed the g_debug and g_print
6494 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6496 Added the movement modes to the hildon-pannable-area, with this
6497 modes the developers can control in which directions the widget
6498 can scroll. They can also connect to signals in order to do
6499 something when that happens, allowing applications scroll. There
6500 is an example uploaded showing how to use it.
6502 * examples/Makefile.am:
6503 * examples/hildon-pannable-area-example-4.c: Added this example of
6504 an application using the modes.
6506 * src/hildon-marshalers.list: Added a new marshaller for the new
6509 * src/hildon-pannable-area.h: Added new enumerations and flags in
6510 order to control the movement modes and the new signals to warn
6511 about the movements in the area.
6513 * src/hildon-pannable-area.c:
6514 (hildon_pannable_axis_scroll),
6515 (hildon_pannable_area_scroll),
6516 (hildon_pannable_area_motion_notify_cb),
6517 (hildon_pannable_area_get_property),
6518 (hildon_pannable_area_set_property),
6519 (hildon_pannable_area_map),
6520 (hildon_pannable_area_class_init),
6521 (hildon_pannable_area_init),
6522 (hildon_pannable_area_jump_to): Added the modes to control the
6523 movement in the widget. We have added properties to control it,
6524 signals to warn about the movements and refactored some code.
6526 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6528 Changes required in order to allow vfast_factor set to zero to
6531 * src/hildon-pannable-area.c:
6532 (hildon_pannable_area_button_press_cb): Changed the condition, it
6533 is required for not allowing click when vfast_factor is zero.
6534 (hildon_pannable_area_timeout): Initialized velocity variables
6535 when we stop moving, it was less than 1 but not zero and we need
6536 to check zero in some situations.
6537 (hildon_pannable_area_class_init): Changed the default value of
6538 the speed factor, now the button_press is just sent in case the
6539 speed is 2 per cent of the max speed.
6540 (hildon_pannable_area_init): Initialization with 0.
6542 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6544 * src/hildon-pannable-area.c,
6545 (hildon_pannable_area_get_topmost): replaced
6546 gdk_window_get_children with gdk_window_peek_children, this way we
6547 do not have to free the list because it is not a copy.
6549 (hildon_pannable_axis_scroll),
6550 (hildon_pannable_area_scroll),
6551 (hildon_pannable_area_timeout),
6552 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6553 two parameters that were only used inside the
6554 hildon_pannable_area_scroll function.
6556 * examples/hildon-pannable-area-example.c,
6557 (get_sawtooth_label): Fixed small memory leak.
6559 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6561 More checks for the case where the overshoot is bigger than the
6564 * src/hildon-pannable-area.c:
6565 (hildon_pannable_draw_vscroll),
6566 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6567 to draw the slider of the scrollbar under the other scrollbar.
6568 (hildon_pannable_area_expose_event): added new checks to control
6569 the drawing of the overshooting area rectangle, in case it is too
6570 big for the area of the widget.
6571 (hildon_pannable_area_size_allocate): add more checks to avoid
6572 setting a position to the child widget outside the area.
6574 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6576 * src/hildon-pannable-area.c
6577 (hildon_pannable_area_size_allocate): Added conditions to control
6578 when overshooting is bigger than the allocated space for the
6579 children, this avoids negative allocations.
6581 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6583 * doc/hildon-docs.sgml
6585 * examples/Makefile.am
6586 * examples/hildon-button-example.c
6588 * src/hildon-button.c
6589 * src/hildon-button.h
6590 * src/hildon.h: Initial version of the new HildonButton widget,
6593 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6595 * src/hildon-pannable-area.c:
6596 (hildon_pannable_area_button_press_cb),
6597 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6598 (hildon_pannable_area_motion_notify_cb),
6599 (hildon_pannable_area_button_release_cb),
6600 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6601 (hildon_pannable_area_jump_to_child):
6603 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6605 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6607 * examples/Makefile.am
6608 * examples/hildon-pannable-area-touch-grid-example.c
6609 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6610 the Hildon Touch List and Hildon Touch Grid using the
6611 HildonPannableArea widget.
6613 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6615 * src/hildon-pannable-area.c,
6616 (hildon_pannable_area_button_press_cb),
6617 (hildon_pannable_area_refresh),
6618 (hildon_pannable_area_scroll),
6619 (hildon_pannable_area_motion_notify_cb),
6620 (hildon_pannable_area_button_release_cb),
6621 (hildon_pannable_area_expose_event),
6622 (hildon_pannable_area_add),
6623 (hildon_pannable_area_remove),
6624 (hildon_pannable_area_realize),
6625 (hildon_pannable_area_size_allocate),
6626 (hildon_pannable_area_class_init),
6627 (hildon_pannable_area_init),
6628 (hildon_pannable_area_scroll_to_child),
6629 (hildon_pannable_area_jump_to_child): Fixed the problem of
6630 removing the child from the GtkBin, we have rearranged the widget
6631 hierarchy, now there is no GtkAlignment which was not doing
6632 anything interesting but breaking some of the assumptions of
6633 GtkContainer. Now developers if they want to add a GtkAlignment
6634 they could, but it is not inside the area.
6636 We had to review the whole allocation/expose process, now it is
6637 improved and we save at least three signals which would be saving
6638 some time when rendering the widget. The allocation of the
6639 scrollbars is now made in the allocate method as usual.
6641 We have also added some conditions in order to control when there
6642 is no child of the pannable area. Maybe we will need more work
6645 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6647 * src/hildon-pannable-area.c,
6648 (hildon_pannable_area_dispose): Released the fade-out timeout when
6649 disposing the widget.
6651 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6653 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6654 zero, we are going to use that property in order to deactivate the
6656 (hildon_pannable_axis_scroll),
6657 (hildon_pannable_area_size_allocate): Added conditions to control
6658 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6659 call, now it is called in all situations and we can remove calls
6660 in the allocate method.
6661 (hildon_pannable_area_map): Control the situation when
6662 overshoot_max is zero, we do not need the timeout.
6663 (hildon_pannable_area_class_init): Added documentation in order to
6664 point out that setting zero to overshoot_max means deactivate
6667 NOTE: removed trailing whitespaces from my previous comments of
6670 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6672 * src/hildon-pannable-area.c
6673 (hildon_pannable_area_get_property),
6674 (hildon_pannable_area_set_property),
6675 (hildon_pannable_area_map),
6676 (hildon_pannable_area_class_init),
6677 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6678 to cause the widget give a hint about its panning abilities upon
6681 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6683 * src/hildon-pannable-area.c: Several documentation improvements.
6685 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6687 * src/hildon-program.c
6688 * src/hildon-stackable-window.c: Update documentation.
6690 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6692 * src/hildon-stackable-window.c (get_previous_window_if_last):
6693 Renamed get_last_window()
6694 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6695 (hildon_stackable_window_unset_program):
6697 (get_previous_window_if_last):
6698 Detect if the window hasn't been added to a HildonProgram.
6700 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6702 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6704 * src/hildon-pannable-area.c
6705 (hildon_pannable_area_button_press_cb),
6706 (hildon_pannable_axis_scroll),
6707 (hildon_pannable_area_scroll),
6708 (hildon_pannable_area_timeout),
6709 (hildon_pannable_calculate_vel_factor),
6710 (hildon_pannable_area_get_property),
6711 (hildon_pannable_area_set_property),
6712 (hildon_pannable_area_class_init),
6713 (hildon_pannable_area_init),
6714 (hildon_pannable_area_scroll_to),
6715 (hildon_pannable_area_jump_to),
6716 (hildon_pannable_area_scroll_to_child),
6717 (hildon_pannable_area_jump_to_child):
6718 * src/hildon-pannable-area.h: Added the new API functions:
6719 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6720 hildon_pannable_area_scroll_to_child,
6721 hildon_pannable_area_jump_to_child
6724 * examples/Makefile.am
6725 * examples/hildon-pannable-area-example-2.c
6726 * examples/hildon-pannable-area-example-3.c: Added these two new
6727 examples in order to test and show how the new APIs work.
6729 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6731 * examples/hildon-stackable-window-example.c (new_window):
6732 * src/Makefile.am (noinst_HEADERS):
6733 * src/hildon-program.c (hildon_program_go_to_root_window):
6734 * src/hildon-program.h:
6735 * src/hildon-stackable-window-private.h:
6736 * src/hildon-stackable-window.c:
6737 * src/hildon-stackable-window.h:
6738 Create hildon-stackable-window-private.h
6739 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6741 * examples/hildon-app-menu-example.c (create_menu):
6742 * examples/hildon-hvolumebar-insensitive-example.c (main):
6743 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6744 * examples/hildon-toolbar-seekbar-example.c (main):
6745 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6746 * src/hildon-banner.c (hildon_banner_set_property):
6747 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6748 Fix compilation warnings
6750 * src/hildon-window.c:
6753 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6755 * src/hildon-stackable-window.c
6756 (hildon_stackable_window_unset_program):
6757 Calculate correctly whether to show the previous window if the
6758 last one is removed from the stack.
6759 (hildon_stackable_window_go_to_root_window):
6760 Send delete events starting from the topmost window.
6761 Stop if one of the windows is not destroyed.
6763 (hildon_stackable_window_delete_event)
6764 (hildon_stackable_window_class_init):
6765 Ignore the delete event if the window is not the topmost one.
6767 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6769 * src/hildon-pannable-area.c
6770 (hildon_pannable_area_expose_event): Fixed a problem when
6771 selecting the background color of the scrollbars.
6773 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6775 * examples/hildon-stackable-window-example.c
6776 * src/hildon-stackable-window.c
6777 * src/hildon-stackable-window.h
6778 hildon_stackable_window_go_home() renamed to
6779 hildon_stackable_window_go_to_root_window()
6780 Send delete events to windows rather than closing them with
6781 gtk_widget_destroy()
6783 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6785 * src/hildon-pannable-area.c
6786 (hildon_pannable_area_button_release_cb): Fix overshooting in
6789 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6791 * src/hildon-pannable-area.c
6792 (hildon_pannable_area_init): Initially show the scroll indicators.
6793 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6795 Add initial effect showing the widget is pannable.
6797 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6799 * src/hildon-pannable-area.c
6800 (hildon_pannable_area_class_init)
6801 (hildon_pannable_area_set_property)
6802 (hildon_pannable_area_get_property)
6803 (hildon_pannable_area_button_press_cb):
6804 New 'velocity_fast_factor' property to decide which velocity is
6807 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6809 * src/hildon-pannable-area.c
6810 (hildon_pannable_draw_hscroll)
6811 (hildon_pannable_draw_vscroll):
6812 Use float variables to calculate the size of the scrollbars to
6813 avoid error propagation and resizing during scrolling.
6815 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6817 * src/hildon-pannable-area.c
6818 (hildon_pannable_draw_vscroll)
6819 (hildon_pannable_draw_hscroll):
6820 Define a minimum size for the scroll bars
6822 * src/hildon-stackable-window.c
6823 (hildon_stackable_window_go_home): Fix compilation warning
6824 (get_last_window): Minor optimizations
6825 (hildon_stackable_window_class_init): Fix initialization of
6828 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6830 * src/hildon-stackable-window.c: Fixed typos in doc
6832 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6834 * src/hildon-pannable-area.c
6835 (hildon_pannable_area_scroll):
6836 Calculate here whether we need to scroll instead of using the booleans
6837 that tell us whether to /draw/ the scrolling bars.
6839 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6841 * src/hildon-app-menu.h
6843 * src/hildon-app-menu.c
6844 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6845 multiple filter groups related code and API. Now we support only
6847 * examples/hildon-app-menu-example.c:
6849 Update to reflect API changes.
6851 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6853 * src/hildon-stackable-window.c
6854 (hildon_stackable_window_class_init):
6855 Add hildon_stackable_window_realize.
6856 (hildon_stackable_window_realize):
6857 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6858 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6859 to apply theming and behavior specific to HildonStackableWindow
6862 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6864 * src/hildon-note.c (hildon_note_button_release):
6865 Close information notes also when tapping on them
6867 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6869 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6870 ELASTICITY, refactor and review, fix some issues with drawing
6873 * src/hildon-pannable-area.c:
6874 (hildon_pannable_area_button_press_cb): removed the conditions to
6875 avoid clicks when overshooting. It is not required
6877 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6878 define. Refatored and reviewed the code, now we do not need to
6879 manage velocity in motion_notify.
6881 (hildon_pannable_area_motion_notify_cb): We have moved the code
6882 that controls the area_scroll to the axis_scroll function and get
6883 rid of duplicated code.
6885 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6887 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6889 (hildon_pannable_draw_vscroll),
6890 (hildon_pannable_draw_hscroll): Fixed the problems with the
6891 scrollbar drawing, now we do not use two surfaces, it is easier
6892 and saves resources.
6894 (hildon_pannable_area_get_property): Style modification.
6896 (hildon_pannable_area_class_init): Changed some default values.
6898 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6900 * src/hildon-stackable-window.c: Fix some typos in the
6903 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6905 * src/hildon-dialog.c:
6906 Change indentation style
6909 (hildon_note_button_release):
6910 Use root coordinates to check if the release event happened
6913 * src/hildon-app-menu.c
6914 (hildon_app_menu_button_release):
6915 Remove unnecessary check
6917 * examples/hildon-app-menu-example.c
6919 Add cast to fix warning
6921 * src/hildon-app-menu.c
6922 (hildon_app_menu_class_init):
6923 New inner-border style property.
6924 Set all default spacings to 16
6925 (hildon_app_menu_init):
6926 Use vertical-spacing to set the space between filter buttons and
6927 regular menu buttons.
6928 Set the default container border using the inner-border value.
6930 * examples/hildon-app-menu-example.c
6932 Don't set the menu border explicitly, now we have the inner-border
6933 style property for that.
6935 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6937 * src/hildon-app-menu.c (hildon_app_menu_init):
6938 Make the window modal
6940 * src/hildon-note.c (hildon_note_map)
6941 * src/hildon-app-menu.c (hildon_app_menu_map):
6942 Destroy the grab window if we're unable to grab the pointer
6944 * src/hildon-app-menu-private.h
6945 * src/hildon-app-menu.c
6946 (hildon_app_menu_init, hildon_app_menu_finalize)
6947 (hildon_app_menu_map, hildon_app_menu_unmap)
6948 (hildon_app_menu_button_release)
6949 (grab_transfer_window_get):
6950 Bring back the grab window
6951 (hildon_app_menu_realize):
6952 Decorate the window, set WM hint for Matchbox
6954 * src/hildon-note.c (hildon_note_realize):
6955 * src/hildon-banner.c (hildon_banner_realize):
6956 Add WM hints for Matchbox
6958 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6960 * src/hildon-app-menu-private.h
6961 * src/hildon-app-menu.c
6962 (hildon_app_menu_init, hildon_app_menu_finalize)
6963 (hildon_app_menu_map, hildon_app_menu_unmap)
6964 (hildon_app_menu_button_release):
6965 Remove the grab window, it's not needed anymore
6967 * src/hildon-program.c
6968 Fixed typo in documentation
6970 * src/hildon-app-menu.h
6971 * src/hildon-app-menu.c
6972 * examples/hildon-app-menu-example.c
6973 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6975 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6978 Added new transfer_window and close_if_pressed_outside private
6980 (hildon_note_rebuild):
6981 Don't add a cancel button to the information note. It will be
6982 closed when tapping outside
6983 Remove the comment about the OK button in the documentation
6984 (hildon_note_realize):
6985 Set the notification type hint
6986 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6987 Grab/ungrab pointer and keyboard if the note has to be closed when
6989 (hildon_note_button_release):
6990 Close the note when tapping outside (if applicable)
6992 * src/hildon-app-menu.c
6993 Grab/ungrab pointer and keyboard on map/unmap
6994 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6995 Close the menu on button release, not button press
6997 * src/hildon-banner.c
6998 (hildon_banner_set_property)
6999 (hildon_banner_check_position):
7000 Make the banner use the full width of the screen
7001 (hildon_banner_show_information)
7002 (hildon_banner_show_information_with_markup):
7003 Don't display an icon by default
7005 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7007 Added fading scrollbars and adapted all the overshooting code to
7008 horizontal scrolling. We have also fixed bugs with overshooting
7009 and current fading implementation.
7011 * src/hildon-pannable-area.c
7012 (hildon_pannable_area_scroll_indicator_fade): Time out function
7013 used to change the transparency of the scrollbars.
7015 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7016 control and fixed a problem with fading, we now remove the fade
7017 timeout before adding a new one.
7019 (hildon_pannable_axis_scroll):
7020 (hildon_pannable_area_scroll):
7021 (hildon_pannable_area_timeout): Added this functions so we can use
7022 the scroll code both for vertical and horizontal.
7024 (hildon_pannable_area_motion_notify_cb):
7025 (hildon_pannable_area_button_release_cb): Added the horizontal
7026 scrolling control, fixed a problem with the overshooting timeout.
7028 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7029 painting of the scrolls.
7031 (hildon_pannable_draw_vscroll):
7032 (hildon_pannable_draw_hscroll):
7033 (hildon_pannable_area_expose_event):
7034 Draw both scrollbars and rectangles in the overshooting area.
7036 (hildon_pannable_area_get_property):
7037 (hildon_pannable_area_set_property):
7038 Modified the overshoot property to overshoot_max
7040 (hildon_pannable_area_map):
7041 Replaced the comments symbols.
7043 (hildon_pannable_area_size_allocate):
7044 (hildon_pannable_area_class_init):
7045 (hildon_pannable_area_init): Added horizontal scroll, fading
7046 effect properties, fixed a problem when overshooting in the bottom
7049 * examples/hildon-pannable-area-example.c:
7050 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7051 looks better in the example.
7053 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7055 * src/hildon-window.c
7056 * src/hildon-window.h
7057 (hildon_window_class_init)
7058 (hildon_window_unset_program)
7059 (hildon_window_unset_program_real):
7060 Make unset_program a virtual function
7062 * src/hildon-stackable-window.c
7063 * src/hildon-stackable-window.h
7064 Added hildon_stackable_window_go_home()
7066 * examples/Makefile.am
7067 * examples/hildon-stackable-window-example.c
7068 HildonStackableWindow example
7070 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7072 * hildon-pannable-area.c: Added the overshoot property and removed
7073 the OVERSHOOT define. Fixed an indent style error.
7074 (hildon_pannable_area_motion_notify_cb):
7075 (hildon_pannable_area_get_property):
7076 (hildon_pannable_area_set_property): Add overshoot property.
7078 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7081 (hildon_pannable_area_class_init): Installed the new property.
7083 * hildon-pannable-area-example.c: Added a sawtooth function, this
7084 way it is easier to check the movement in the pannable.
7085 (get_sawtooth_label): Added this function.
7086 (main): Now we get the labels from the new get_sawtooth_label
7089 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7091 * src/hildon-app-menu.h
7092 * src/hildon-app-menu.c
7093 Renamed API variables for consistency
7095 (hildon_app_menu_popup): Use also the default window size to
7096 decide where to place the menu
7098 (hildon_app_menu_init, hildon_app_menu_class_init): New
7099 external-border style property
7101 2008-05-26 Michael Natterer <mitch@imendio.com>
7103 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7104 widget_class->tap_and_hold_setup signal slot doesn't exist any
7105 longer, stop overriding it.
7107 (hildon_time_editor_init): g_signal_connect() to the
7108 tap-and-hold-setup signal instead.
7110 (hildon_time_editor_entry_keypress): add cast to fix warning.
7112 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7114 * doc/hildon-docs.sgml
7116 * examples/Makefile.am
7117 * examples/hildon-app-menu-example.c
7119 * src/hildon-app-menu-private.h
7120 * src/hildon-app-menu.c
7121 * src/hildon-app-menu.h
7123 New HildonAppMenu widget
7125 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7127 Rearranged the inheritance of the pannable area, now it inherits
7128 from GtkBin. This will allow us to control the event_window and
7129 the allocation process of the widget, required for some effects.
7131 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7132 GtkBin structures. * src/hildon-pannable-area.c: Added the
7133 event_window variable.
7134 (hildon_pannable_area_button_press_cb):
7135 (hildon_pannable_area_button_release_cb):
7136 (hildon_pannable_area_motion_notify_cb):
7137 Changed the signature of the method, now we override the event
7138 callback instead of connecting to the signal.
7140 (hildon_pannable_area_realize):
7141 (hildon_pannable_area_unrealize):
7142 (hildon_pannable_area_map):
7143 (hildon_pannable_area_unmap):
7144 (hildon_pannable_area_size_allocate):
7145 Added functions to control the widget construction. We add a
7146 INPUT_ONLY window and we put it over the widgets inside the
7147 container, this event_window handles the events.
7149 (hildon_pannable_area_class_init):
7150 Replaced the signal connections with overrides of the event
7153 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7155 Bouncing effect added when touching the borders, you can change
7156 the elasticity of the border changing the ELASTICITY define.
7158 * src/hildon-pannable-area.c: Added ELASTICITY define.
7159 (hildon_pannable_area_timeout): Added inverse velocity when
7160 touching the border of the child widget, that causes a bounce.
7162 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7164 Improved performance, we now do not go to the X server in order to
7165 get the list of window children. Apparently the effect is the
7166 same, we have to be careful and check if this breaks something in
7169 * src/hildon-pannable-area.c:
7170 (get_ordered_children): Removed this function.
7171 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7172 the children windows function with gdk_window_get_children.
7174 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7176 * src/hildon-pannable-area.c:
7177 (hildon_pannable_area_dispose): Fixed a crash when closing the
7178 window and kinetics is activated.
7180 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7182 * src/hildon-pannable-area.h
7183 * src/hildon-pannable-area.c
7184 Changed indentation style to meet the one used in Hildon
7186 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7188 Reviewed the interaction of the AUTO mode, now we use the time
7189 attribute of the events and calculate the velocity in the motion,
7190 doing a gimp like calculation. The velocity is calculated in each
7191 motion event using the last velocity and the current one, the
7192 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7194 * src/hildon-pannable-area.c: Replaced the time based algorithm
7196 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7197 timeout for the AUTO mode when we are still moving the cursor. We
7198 added also the velocity calculation in this function.
7199 (hildon_pannable_area_button_release_cb): launch the timeout in
7200 case we are in AUTO mode. There are still some constants here that
7201 come from the old implementation that should be reviewed and
7204 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7206 * doc/hildon-docs.sgml
7209 * src/hildon-stackable-window.c
7210 * src/hildon-stackable-window.h
7212 New HildonStackableWindow widget
7214 * examples/hildon-dialog-example.c
7215 * examples/hildon-pannable-area-example.c
7218 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7220 * src/hildon-dialog.c
7221 (hildon_dialog_new_with_buttons): New constructor.
7223 * examples/hildon-dialog-example.c
7224 (main): Update the example to use the new
7225 hildon_dialog_new_with_buttons().
7227 * examples/hildon-pannable-area-example.c
7228 (main): Update example.
7230 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7232 * doc/hildon-docs.sgml
7234 Added HildonPannableArea to the documentation.
7236 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7238 * doc/visual_index.xml
7239 Fix reference to HildonLoginDialog in documentation
7241 * doc/hildon-docs.sgml
7243 * examples/Makefile.am
7244 * examples/hildon-dialog-example.c
7246 * src/hildon-dialog.c
7247 * src/hildon-dialog.h
7249 New HildonDialog widget.
7251 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7253 * src/hildon-pannable-area.c
7254 Merge latest changes (r4318, r4342) from libmokoui trunk
7256 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7258 * examples/Makefile.am
7259 * examples/hildon-pannable-area-example.c
7261 * src/hildon-pannable-area.c
7262 * src/hildon-pannable-area.h
7264 New HildonPannableArea widget.
7266 2008-04-15 18:05:19 <timj@imendio.com>
7268 * src/hildon-banner.c: revert the recent change, that introduced
7269 gtk_window_present() calls. this reopens:
7270 Bug 78481 - [freetest] information banners are hidden under browser menu
7271 But resolves another variant of:
7272 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7274 2008-04-15 13:21:13 <timj@imendio.com>
7276 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7277 recreated its layout, spotted by Kris. this fixes all remaining
7278 artefacts and stability issues with the banner code. in particular:
7279 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7281 2008-04-14 16:52:59 <timj@imendio.com>
7283 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7284 operating on unrealized widgets, fixes:
7285 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7287 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7289 2008-04-09 Kristian Rietveld <kris@imendio.com>
7291 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7292 makes banner disappear.
7293 Fixes: NB#79182: info banner flickering with certain message lengts.
7295 * src/hildon-banner.c (hildon_banner_constructor),
7296 (hildon_banner_init), (hildon_banner_set_text),
7297 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7298 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7299 FALSE, reset size requests of label and banner,
7300 (force_to_wrap_truncated): when the text is too wide, always enforce
7301 the maximum possible width instead of recalculating it from the
7302 layout; enforce the maximum banner height of 3 lines,
7303 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7304 nicer wrapping and no truncated chars if space gets tight.
7306 * src/hildon-banner-private.h: add has_been_wrapped and
7307 has_been_truncated fields.
7309 2008-04-07 Sven Herzberg <sven@imendio.com>
7311 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7312 local values in hildon_date_editor_size_allocate
7314 * src/hildon-date-editor.c: moved the real allocation code into the
7317 2008-04-07 Sven Herzberg <sven@imendio.com>
7319 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7320 local values in hildon_date_editor_size_allocate
7322 * src/hildon-date-editor.c: merged the two if() branches together
7324 2008-04-07 Sven Herzberg <sven@imendio.com>
7326 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7327 local values in hildon_date_editor_size_allocate
7329 * src/hildon-date-editor.c: changed the arguments of the if()
7332 2008-04-07 Sven Herzberg <sven@imendio.com>
7334 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7335 local values in hildon_date_editor_size_allocate
7337 * src/hildon-date-editor.c: split the calculation of the allocation
7338 from the real allocation
7340 2008-03-27 Michael Natterer <mitch@imendio.com>
7342 Fixes: NB#81696: The passcode is not overwritten even after
7345 * src/hildon-code-dialog.c
7346 (hildon_code_dialog_button_clicked)
7347 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7348 because that doesn't overwrite selected text. Instead, emit the
7349 "commit" signal on the entry's im_context so the entry's normal
7350 insert logic is triggered. Set the cursor to the end of the entry
7351 after each insert operation so that we *only* insert in the middle
7352 of the text if something was selected.
7354 2008-03-27 Michael Natterer <mitch@imendio.com>
7356 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7357 selector cannot be opened
7359 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7360 when the popup color selector is created. Please connect to this
7361 signal in order to set the dialog's help ID.
7363 2008-03-25 Sven Herzberg <sven@imendio.com>
7365 Fixes: MB#1212: Hide info banners (infoprints) on click
7367 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7368 extracted the close event simulation into an extra function
7369 (hildon_banner_button_press_event): simulate a close event and destroy
7370 the widget if the event wasn't handled
7371 (hildon_banner_class_init): added the button_press_event handler
7372 (hildon_banner_init): added button-press events to the widget
7374 2008-03-25 Sven Herzberg <sven@imendio.com>
7376 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7377 Patch from: Mohammad Anwari <mdamt@maemo.org>
7379 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7380 instead of the right in RTL mode
7381 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7382 breadcrumb button list in RTL mode
7383 * src/hildon-caption.c: mirror the appearance of the caption widget in
7385 * src/hildon-date-editor.c: mirror appearance of the date editor in
7387 * src/hildon-time-editor.c: mirror appearance of the time editor in
7389 * src/hildon-window.c: fix the position of the popup in RTL mode
7391 2008-03-25 Sven Herzberg <sven@imendio.com>
7393 Amendment to the fix of NB#22072. Fix compilation.
7395 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7397 2008-03-19 Sven Herzberg <sven@imendio.com>
7399 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7402 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7403 timeout id properly when the timeout will disappear this leaves no
7404 artifacts around in the destroy(); there will only be the timeout
7405 created by hildon_banner_ensure_timeout() and adding a new timeout
7406 will also work if the timeout gets removed because the timeout_handler
7409 2008-03-19 Michael Natterer <mitch@imendio.com>
7411 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7413 * src/hildon-volumebar.c
7414 * src/hildon-vvolumebar.c
7415 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7416 the widget becomes focussable at all.
7418 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7419 set the focus to wither the mute button or the volumebar.
7421 Remove own "can-focus" property and instead listen to
7422 notify::can-focus in order to update the widget's state.
7424 Implement GtkWidget::focus() and make sure we can also *leave* the
7425 widget, not only enter it, depending on volumebar orientation and
7426 requested focus direction.
7428 Clean up set_mute() to cooperate nicely with all the above.
7430 2008-03-04 Michael Natterer <mitch@imendio.com>
7432 Fixes: NB#78481: information banners are hidden under browser menu
7434 * src/hildon-banner.c: call gtk_window_present() on the banners so
7435 they are risen if they are already visible.
7437 2008-03-03 Sven Herzberg <sven@imendio.com>
7439 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7441 * examples/hildon-window-menu-example.c: (main): extended the window
7442 menu example to serve as a testcase for automatically added
7443 accelerator groups, too
7444 * src/hildon-window.c: (hildon_window_add_accel_group),
7445 (hildon_window_set_menu): added patch by Tommi Komulainen
7447 2008-03-03 Sven Herzberg <sven@imendio.com>
7449 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7451 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7452 knowledge about the border allocators used within GTK+
7454 2008-02-26 Sven Herzberg <sven@imendio.com>
7456 Fixes: MB#2981: Build with asserts broken
7458 * src/hildon-date-editor.c,
7459 * src/hildon-number-editor.c,
7460 * src/hildon-time-editor.c,
7461 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7462 the proper GType instance check
7464 2008-02-25 Sven Herzberg <sven@imendio.com>
7466 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7468 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7469 * examples/hildon-window-menu-example.c: (main): explicitly show
7471 * src/hildon-window.c:
7472 (hildon_window_set_main_menu): moved most of the code from set_menu()
7473 to this place; skipped the call to gtk_widget_show_all(); also didn't
7474 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7475 (hildon_window_set_menu): removed most of the code, just keep the
7476 questionable gtk_widget_show_all()
7477 * src/hildon-window.h: added the new function and deprecate the old
7480 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7486 * debian/changelog: Updating.
7488 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7491 * pkgconfig/Makefile.am:
7492 * pkgconfig/hildon.pc.in:
7495 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7496 use newly created API_MAJOR_VERSION.
7498 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7504 * debian/changelog: Updating.
7506 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7508 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7510 Add outer_border style property, we use it but don't define it (!).
7514 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7516 * examples/hildon-bread-crumb-trail-example.c (main):
7520 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7522 Fix logic for the bread crumb trail node removal.
7526 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7532 * debian/changelog: Updating.
7534 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7536 Patch by Alejandro to get/set passwords dialogs accesibility.
7538 * hildon-1/src/hildon-get-password-dialog.c:
7539 * hildon-1/src/hildon-set-password-dialog.c:
7540 Set atk_set_name to the passwd entries in order to allow
7541 accessibility by name on this entries.
7543 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7548 * debian/control: Updating gtk dep.
7550 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7552 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7553 USE_MAEMO_GTK is enabled.
7555 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7557 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7558 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7560 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7566 * debian/changelog: Updating.
7568 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7570 * examples/Makefile.am:
7571 * examples/hildon-logical-color-example.c:
7572 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7573 applied + adding a test case. Fixes: NB#71660.
7575 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7577 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7578 to be visible, fixes warning on map for windows without toolbars.
7580 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7582 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7583 2.11.0, add a check for that besides the MAEMO_GTK check.
7585 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7591 * debian/changelog: Updating.
7593 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7595 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7596 visibility. Fixes: NB#70842 and MB#615.
7598 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7600 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7601 set the separator as no-show-all so it doesn't unintentionally appear when
7602 someone does a show_all.
7604 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7606 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7607 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7608 toplevel item. Fixes: NB#62031
7610 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7612 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7613 fix the name of the function in the docs.
7615 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7621 * debian/changelog: Updating.
7623 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7625 * examples/hildon-banner-long-example.c: Adding a test-case for long
7628 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7630 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7632 * src/hildon-color-chooser-dialog.c:
7633 * src/hildon-color-chooser.c:
7634 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7635 memory leaks in font selector and color selector. Fixes: NB#70499 and
7638 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7640 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7642 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7644 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7645 little bit bigger. Fixes: #NB63694.
7647 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7653 * debian/changelog: Updating.
7655 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7658 * doc/hildon-docs.sgml:
7659 * doc/images/bread-crumb-trail.png:
7660 * doc/images/calendar-popup.png:
7661 * doc/images/caption.png:
7662 * doc/images/code-dialog.png:
7663 * doc/images/color-button.png:
7664 * doc/images/color-chooser-dialog.png:
7665 * doc/images/color-chooser.png:
7666 * doc/images/controlbar.png:
7667 * doc/images/date-editor.png:
7668 * doc/images/font-selection-dialog.png:
7669 * doc/images/get-password-dialog.png:
7670 * doc/images/hvolumebar.png:
7671 * doc/images/login-dialog.png:
7672 * doc/images/note.png:
7673 * doc/images/number-editor.png:
7674 * doc/images/range-editor.png:
7675 * doc/images/seekbar.png:
7676 * doc/images/set-password-dialog.png:
7677 * doc/images/sort-dialog.png:
7678 * doc/images/time-editor.png:
7679 * doc/images/time-picker.png:
7680 * doc/images/vvolumebar.png:
7681 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7682 Adding the bread-crumb-trial and helpers to the documentation.
7684 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7686 * examples/hildon-find-toolbar-example.c:
7687 * src/hildon-find-toolbar.c:
7688 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7689 actually continue firing the other handlers if connected. Adding a new
7691 hildon_find_toolbar_get_last_index that gets the index of the most
7692 recently added (last) item. Fixes: NB#52301.
7694 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7696 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7697 behaviour. Fixes: NB#68610.
7699 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7701 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7704 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7706 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7707 when realizing the banner. Should make the infonbanner effect a bit more
7710 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7712 * src/hildon-volumebar.c:
7713 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7714 hildon_volumebar_set_range_insensitive_message and
7715 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7717 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7719 * src/hildon-window.c: Fixing the border freeing on destroy.
7721 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7723 * src/hildon-code-dialog-private.h:
7724 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7725 kw keyboard support in HildonCodeDialog.
7727 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7733 * debian/changelog: Updating.
7735 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7737 * src/hildon-date-editor.c:
7738 * src/hildon-number-editor.c:
7739 * src/hildon-private.c:
7740 * src/hildon-private.h:
7741 * src/hildon-time-editor.c:
7742 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7743 handling in subclassed composite widgets. Fixes: NB#66628.
7745 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7747 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7748 from destroy_ callback as it introduces problems in async dbus signal
7749 handlers. Fixes NB#66673.
7751 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7753 * examples/hildon-hvolumebar-example.c:
7754 * src/hildon-volumebar.c: Improving the focus handling in the
7755 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7756 set_property accessor so that "mute" property can be actually set. I'm
7757 scared that nobody noticed it's totally broken.
7759 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7761 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7764 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7766 * src/hildon-calendar.c:
7767 * src/hildon-number-editor.c:
7768 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7769 matches the spec of 6 chars per second. Fixes: NB#60489.
7771 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7773 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7774 gtk_style_lookup_color sometime returns FALSE even though color was
7775 found and values were filled properly. Weird. Removing the warning for the
7778 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7780 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7781 expand vertically. Adding some extra space to the find toolbar buttons to
7782 make them thumbable. Fixes NB#66060.
7784 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7786 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7787 popup with "Ok" and "Cancel". Fixes NB#59299.
7789 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7791 * src/hildon-calendar.c: Process all window updates before executing next
7792 timeout. Fixes: NB#54146.
7794 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7800 * debian/changelog: Updating.
7802 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7804 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7805 the client event and ignore it, since we use the delete event to close
7808 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7810 * src/hildon-helper.c: Remove the bogus warning about color not being
7811 found. Fixes NB#58352.
7813 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7815 * examples/Makefile.am:
7816 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7817 HildonSeekbar widget inside a toolbar.
7819 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7821 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7822 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7823 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7824 don't want to be closed by non-temporary windows on map.
7826 Also use G_DEFINE_TYPE instead of manually typed code.
7828 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7835 * debian/rules: Updating.
7837 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7839 * examples/Makefile.am:
7840 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7841 bug NB#61128. Strangely it works.
7843 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7845 * src/hildon-date-editor.c: When the date editor entry has been changed
7846 but the numbers of characters < max, turn off the skip validation flag.
7847 Prevents a situation when we enter first a valid year and later re-write
7848 it with an invalid one. Fixes NB#60154.
7850 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7852 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7853 code dialog. Fixes NB#64355.
7855 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7857 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7858 switching the page. Fixes NB#49374.
7860 * examples/Makefile.am:
7861 * examples/hildon-wizard-dialog-example.c: Adding an example for
7862 HildonWizardDialog that shows how to handle manual sensitivity setting on
7865 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7869 * src/hildon-version.h.in:
7870 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7872 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7874 * src/hildon-volumebar.c: Updating the docs.
7876 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7882 * debian/changelog: Updating.
7884 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7886 * src/hildon-find-toolbar.c:
7887 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7888 selected item: hildon_find_toolbar_set_active,
7889 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7890 hildon_find_toolbar_get_active_iter . They correspond to respective
7891 GtkComboBox functions.
7893 * examples/Makefile.am:
7894 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7897 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7899 * examples/Makefile.am:
7900 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7903 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7904 when font size > 32 and we pack a focusable widget inside. Actually using
7905 the default response would work too, but since we don't show default
7906 response state in any way (no theming) it would not be visible to the
7907 user. Fixes NB#63430.
7909 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7911 * src/hildon-date-editor.c: Adding the missing variable setter in the
7912 set_property handler. Fixes NB#54182.
7914 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7916 * src/hildon-window.h: Changing the long key press time from 1500ms to
7917 800ms as requested in NB#63700. I have a bad feeling about this, let's
7918 see... Fixes NB#63700.
7920 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7922 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7923 hildon_time_picker_map, hildon_time_picker_realize,
7924 hildon_time_picker_style_set): Split the contents of map to more
7925 appropriate functions; set window decorations on realize and update
7926 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7928 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7933 * debian/changelog: Updating.
7935 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7937 * src/Makefile.am: fixed installation of the header files
7939 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7945 * debian/changelog: Updating.
7947 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7949 * configure.ac: Removing some remaining of --enable-xan.
7951 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7953 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7954 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7956 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7957 2.10.12-osso6 because the move-focus signal needs to be available in
7960 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7962 * examples/Makefile.am:
7963 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7964 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7965 fine. Prolly NB#61128 is fixed now.
7967 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7969 * src/hildon-volumebar.c:
7970 * src/hildon-volumebar.h: Adding the
7971 hildon_volumebar_set_range_insensitive_message and
7972 hildon_volumebar_set_range_insensitive_messagef functions to set
7973 insensitive message on the slider of the volumebar. Fixes NB#61129.
7975 * examples/Makefile.am:
7976 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7977 test the new insensitive messsage functionality on HildonVolumebar.
7979 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7981 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7984 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7986 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7987 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7988 button on after clearing the trail.
7990 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7992 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7994 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7996 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7997 by splitting the installed headers in generated and non-generated groups. Use
7998 only the non-generated headers to create the hildon-enum-types.h file.
8000 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8002 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8004 * src/hildon-window.c: Hide the window before performing the destroy.
8005 Should make the app closing a little tiny bit more snappy.
8007 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8009 * src/hildon-seekbar.c: add gtkrange.h header
8010 * src/hildon-caption.c: remove unused variable
8012 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8014 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8017 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8023 * debian/changelog: Updating.
8025 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8027 * src/hildon-window.c (hildon_window_window_state_event,
8028 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8029 escape timeout on focus-out-event rather than notify::is-topmost; the
8030 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8032 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8034 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8035 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8037 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8039 * src/hildon-window: actually, you need to use the macro always, there's
8040 no private pointer in the instance structure. We should have cleaned this up
8041 when we had the chance...
8043 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8045 * src/hildon-window.c: do not get the private date from HildonWindow before
8046 it passes the g_return_if_fail check. Once it's passed the test, there's no
8047 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8048 if you are only going to access the data once. Whitespace cleanups.
8050 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8052 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8053 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8055 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8061 * debian/changelog: Updating.
8063 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8065 * src/hildon-window.c: When destroying the window, remove (if exists) the
8066 escape timeout handler. Fixes #NB59276.
8068 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8070 * src/hildon-banner.c: When realizing the widget, set the window
8071 transiency. Setting the transiency in the gobject constructor is not
8072 good, as the widget is not realized at that point. Fixes: #NB56624.
8074 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8076 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8077 Add padding for future expansions.
8079 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8081 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8082 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8083 will fake an activation on the previous to the last item of the trail, so
8084 the effect can be overrided by the developer as usual.
8085 Also change the callback for the back button to do the same thing, so its
8086 effect can be overrided too. Fixes: NB#58982
8088 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8090 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8091 HildonCaption. Fixes NB#52379.
8093 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8095 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8096 the internal state of the trail after the user has had the chance of executing
8097 his handler for the signal. Specifically, it may happen that the activated button
8098 is removed and the user still lets the default handler run. This would segfault
8101 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8103 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8104 scrollbar to the preview dialog. Fixes NB#54147.
8106 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8108 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8109 max/min year properties can be altered, so the client can modify it
8110 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8112 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8114 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8115 hildonlike by default. Fixing a problem with disappearing arrows when
8116 scrolling through months and years. Fixes NB#54127.
8118 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8120 * examples/hildon-date-editor-example.c: Adding error callback to the date
8123 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8129 * configure.ac: Updating.
8131 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8133 * configure.ac: Adding a special '--enable-xan' configure option that
8134 turns off the -Werror compilation setting. Usefull for development.
8136 * src/hildon-calendar.c:
8137 * src/hildon-number-editor.c:
8138 * src/hildon-time-picker.c: Adding the 5* multiplier to
8141 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8143 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8144 instead of g_object_ref + gtk_object_sink.
8146 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8152 * debian/changelog: Updating.
8154 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8156 * src/hildon-color-chooser-dialog.c:
8157 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8158 straight from Tommi labs.
8160 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8162 * examples/hildon-finger-example.c: Correcting the header file path.
8164 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8165 the changed signal. Fixes a small memory leak.
8167 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8171 * src/hildon-banner.c: Importing several usefull fixes from the
8172 ubuntu-mobile branch.
8174 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8176 * examples/Makefile.am:
8177 * examples/hildon-finger-example.c: Adding a finger-checking code
8180 * src/hildon-font-selection-dialog.c: Do not allocate the color
8181 structure using the g_new. Fixes NB#54061.
8183 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8185 * src/hildon-helper.c: Correcting tabs in file.
8187 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8189 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8190 control the visibility of the children.
8192 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8194 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8200 * debian/changelog: Updating.
8202 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8204 * src/hildon-bread-crumb-trail.c:
8205 (hildon_bread_crumb_trail_size_allocate):
8207 Make the back button always a square.
8209 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8211 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8212 from the .c file as it's a private file.
8214 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8216 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8217 uses slightly bigger height.
8219 * src/hildon-font-selection-dialog.c: Adding some checks before
8220 freeing memory in the font selection dialog.
8222 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8224 * src/hildon-font-selection-dialog.c: Adding a small check when
8227 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8228 buttons sensitivity on page switching.
8230 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8232 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8233 internal details of adding a bread crumb to the trail.
8235 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8241 * debian/changelog: Updating.
8243 * src/hildon-bread-crumb-trail.h:
8244 * src/hildon-bread-crumb.h: Changing the API guard to
8245 HILDON_ENABLE_UNSTABLE_API.
8247 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8255 * src/hildon-helper.h: Updating.
8257 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8265 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8269 * src/hildon-helper.h: Small fix to make the package actually compile.
8271 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8273 * src/hildon-bread-crumb-trail.h:
8274 * src/hildon-bread-crumb.h:
8276 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8277 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8279 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8281 * examples/hildon-bread-crumb-trail-example.c:
8283 * src/hildon-bread-crumb-trail.c:
8284 * src/hildon-bread-crumb-trail.h:
8285 * src/hildon-bread-crumb.c:
8286 * src/hildon-bread-crumb.h:
8287 * src/hildon-marshalers.list:
8288 * src/hildon-bread-crumb-widget.c:
8289 * src/hildon-bread-crumb-widget.h:
8291 Slight change in the widget design. The bread crumb trail API is
8292 unchanged, but HildonBreadCrumb is now an interface. A *private*
8293 implementation, hildon-bread-crumb-widget, is provided and used
8294 internally by the trail for the push_text/push_icon functions.
8296 The generic push API is still available, so anyone can implement
8297 and use its own bread crumb widget.
8299 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8301 * debian/rules: Fixing the shlibs.
8303 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8305 * src/hildon-banner.c: Fixing a problem with timed banners having
8306 their parrent destroyed before they are.
8308 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8310 * src/hildon-bread-crumb.c:
8311 * src/hildon-bread-crumb.h:
8313 Make the get_natural_size function a vfunc.
8315 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8317 * src/hildon-bread-crumb.c:
8318 * src/hildon-bread-crumb-trail.c:
8322 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8329 * debian/changelog: Updating for release.
8331 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8333 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8334 don't leak the pango layout.
8336 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8339 * examples/hildon-bread-crumb-trail-example.c:
8343 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8345 * debian/changelog: Removing the bug-fixed entries that were actually
8346 resolved as WONTFIX.
8348 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8351 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8353 * src/hildon-bread-crumb-trail.c:
8354 * src/hildon-bread-crumb-trail.h:
8355 * src/hildon-bread-crumb.c:
8356 * src/hildon-bread-crumb.h:
8360 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8362 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8363 until it's passed the type check.
8365 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8367 * examples/hildon-bread-crumb-trail-example.c
8371 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8373 * examples/Makefile.am
8374 * examples/hildon-bread-crumb-trail-example.c
8376 * src/hildon-bread-crumb-trail.c
8377 * src/hildon-bread-crumb-trail.h
8378 * src/hildon-bread-crumb.c
8379 * src/hildon-bread-crumb.h
8381 New HildonBreadCrumbTrail widget.
8383 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8385 * src/hildon-range-editor.c (hildon_range_editor_init),
8386 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8387 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8388 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8389 hildon_time_editor_class_init, hildon_time_editor_init),
8390 src/hildon-get-password-dialog.c (invalid_input,
8391 hildon_get_password_set_property, hildon_get_password_get_property,
8392 create_contents, hildon_get_password_dialog_set_max_characters),
8393 src/hildon-set-password-dialog.c (create_contents),
8394 src/hildon-date-editor.c (hildon_date_editor_init),
8395 src/hildon-login-dialog.c (hildon_login_dialog_init),
8396 src/hildon-number-editor.c (hildon_number_editor_init),
8397 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8398 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8399 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8400 configure option and adding the respective checks in the code.
8401 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8402 hildon_calendar_drag_data_received): fixed some build warnings.
8404 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8406 * debian/changelog: A 1.0.0 release notes.