1 2009-05-25 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_class_init): Changed some of the default
5 values, now it should be less responsive and more accurate.
7 2009-05-25 Alejandro G. Castro <alex@igalia.com>
9 * hildon/hildon-pannable-area.c,
10 (hildon_pannable_area_init),
11 (hildon_pannable_area_scroll_indicator_fade),
12 (hildon_pannable_area_button_press_cb),
13 (hildon_pannable_axis_scroll),
14 (hildon_pannable_area_timeout),
15 (hildon_pannable_area_motion_notify_cb),
16 (hildon_pannable_area_button_release_cb): Changed the name of the
17 clicked attribute to button_pressed, it is more clear about its use.
19 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
21 * src/hildon-pannable-area.c
22 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
24 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
25 vertical scrollbar visibility, and use the data on private section instead,
26 remove the initial_hint check
27 (hildon_pannable_area_expose_event): add the initial_hint check here
29 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
31 * src/hildon-pannable-area.c
32 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
33 if the fadeout effect was used
34 (hildon_pannable_area_expose_event): check if it is required to
35 manage the initial effect on the begining of the function. Previously
36 it was made at the end, but this doesn't ensure that the scrollbars
37 will be painted on the first show. Do not set to FALSE initial_effect,
38 to ensure that the initial hint is showed the first time the pannable
40 * examples/Makefile.am
41 * examples/hildon-pannable-area-initial-hint-example.c:
42 New example, to show that the initial-hint is showed when the widget
45 Fixes: NB#116607 (Pannable area should always have scrollbar visible
46 initially if the application can be scrolled)
48 2009-05-25 Alberto Garcia <agarcia@igalia.com>
50 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
51 Resize table before adding new items to make sure that
52 gtk_table_resize() is called just once.
54 2009-05-25 Alberto Garcia <agarcia@igalia.com>
56 * hildon/hildon-app-menu-private.h
57 * hildon/hildon-app-menu.c (item_visibility_changed)
58 (filter_visibility_changed, hildon_app_menu_show_all)
59 (hildon_app_menu_hide_all, hildon_app_menu_init):
60 Rearrange items just once when gtk_widget_show_all()/hide_all()
63 2009-05-25 Alberto Garcia <agarcia@igalia.com>
65 * hildon/hildon-app-menu.c
66 (hildon_app_menu_insert, hildon_app_menu_add_filter):
67 Don't call gtk_widget_show() on added items.
69 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
70 automatically when they're added)
72 2009-05-20 Alberto Garcia <agarcia@igalia.com>
74 * hildon/hildon-banner.c
75 (hildon_banner_realize, +hildon_banner_unrealize)
76 (+screen_size_changed, hildon_banner_class_init):
77 Redisplay the banner if the screen is rotated.
79 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
80 on transition from landscape to portrait)
82 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
84 * hildon/hildon-banner.[ch]:
85 (hildon_banner_show_information_override_dnd): remove icon_name from the
86 method definition as it is ignored.
87 * examples/hildon-banner-dnd-example.c: updated with the change on
90 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
92 * hildon/hildon-banner-private.h: new require_override_dnd and
93 overrides_dnd variables
94 * hildon/hildon-banner.h:
95 (hildon_banner_show_information_override_dnd): new method, that shows
96 the information but sets the override flag, in order to show important
98 * hildon/hildon-banner.c
99 (hildon_banner_show_information_override_dnd): new method
100 (hildon_banner_set_override_flag): new utility function
101 (hildon_banner_real_show_information): new utility function, in order to
102 generalize the current hildon_banner_show_information_override_dnd and
103 hildon_banner_show_information_override_dnd
104 * examples/Makefile.am
105 * examples/hildon-banner-dnd-example.c: New example that show how to
106 use the new hildon_banner_show_information_override_dnd
108 Fixes: NB#114874 (There is no possibility to show hildon banners with
111 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
113 * hildon/hildon-pannable-area.c: Add a comment explaining the math
114 behind hildon_pannable_calculate_vel_factor().
116 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
118 * hildon/hildon-pannable-area.c
119 (hildon_pannable_calculate_vel_factor): Correct the sum of the
120 deceleration factors.
122 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
124 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
125 Reduce the default value for 'scroll_time' to 1 second, since the
126 current initial scrolling takes too much time.
128 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
130 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
131 calculate velocity factor during initialization, since the properties
134 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
136 * hildon/hildon-pannable-area.c
137 (hildon_pannable_area_set_property): Calculate the velocity factor
138 after setting the deceleration property and not after.
140 2009-05-20 Alberto Garcia <agarcia@igalia.com>
142 * hildon/hildon-entry.c
143 (hildon_entry_class_init, +set_property, hildon_entry_new)
144 * hildon/hildon-check-button.c
145 (hildon_check_button_class_init)
146 (+set_property, hildon_check_button_new):
147 Make the theme size a property.
149 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
150 others) do too much in the _new function)
152 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
154 * configure.ac: post release version bump
155 * debian/changelog: post release version bump
157 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
162 * configure.ac: Bump version.
163 * debian/changelog: Updates.
165 2009-05-15 Alberto Garcia <agarcia@igalia.com>
167 * hildon/hildon-gtk.h
168 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
169 New API function to take a screenshot of a window
171 Fixes: NB#106374 (Need API to take a loading screenshot)
173 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
175 * hildon/hildon-time-selector.c
176 (update_format_policy): prevent to use hours and minutes unitialized
178 2009-05-15 Alberto Garcia <agarcia@igalia.com>
180 * hildon/hildon-window.c (hildon_window_size_request):
181 Always request the full size of the screen (minus the title bar if
182 not in fullscreen mode).
184 Fixes: NB#107486 (HildonWindow should size itself properly)
186 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
188 * hildon/hildon-note-private.h: Add idle_handler to the private data.
189 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
190 (on_show_cb), (sound_handling): Disconnect the idle handler for
191 the sound when the note is finalized to avoid possible crashes.
193 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
196 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
198 * src/hildon-animation-actor.c,
199 * src/hildon-remote-texture.c:
200 Added proper object cleanup to remove signal handler and object
201 references as HildonAnimationActor and HildonRemoteTexture
202 objects get destroyed.
204 Fixes: NB#116682 (Destroying parented animation actors when
205 parent in unmapped leads to crash)
207 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
209 Based on a patch by Christian Dywan (christian@imendio.com)
211 * doc/hildon-sections.txt:
212 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
213 * hildon/hildon-helper.h: New file size formatting method.
215 * debian/control: Depend on osso-filemanager l10n package for
216 proper localization strings.
218 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
220 * tests/Makefile.am: Include top_srcdir to make possible to build
221 tests in a different builddir.
222 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
223 on a different builddir.
225 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
227 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
228 (hildon_touch_selector_remove): Disconnect model's signal handler
231 Fixes: NB#116289 (Hildon home crashes while adding task
234 2009-05-11 Alberto Garcia <agarcia@igalia.com>
236 * hildon/hildon-button.c
237 (hildon_button_set_title, hildon_button_set_value):
238 Hide labels containing an empty string.
240 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
242 * configure.ac: post release version bump
243 * debian/changelog: post release version bump
245 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
250 * configure.ac: Bump version.
251 * debian/changelog: Updates.
253 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
255 * hildon/hildon-note-private.h: Removed sound_signal_handler
256 * hildon/hildon-note.c
257 (on_show_cb): new callback on note "show" event, this simply adds
258 a idle, with the function sound_handling
259 (sound_handling): removed the sound_signal_handler management
260 (hildon_note_init): connect note "show" event to on_show_cb
261 (hildon_note_realize): remove the connection to "expose-event"
263 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
264 device?' confirmation note)
266 2009-05-08 Alberto Garcia <agarcia@igalia.com>
268 * hildon/hildon-note.c
269 (hildon_note_new_information_with_icon_name)
270 (hildon_note_new_confirmation_with_icon_name):
271 Terminate the list of parameters in g_object_set() calls
273 Fixes: NB#115166 (Formatting memory card is not taking place)
275 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
277 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
278 "dialog-information" role for the sound being played.
280 2009-05-06 Alberto Garcia <agarcia@igalia.com>
282 * hildon/hildon-app-menu.c (hildon_app_menu_init):
283 Don't make the menu a modal window, it causes strange interactions
284 with the pointer grab and it's not really needed.
286 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
288 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
290 * hildon/hildon-touch-selector.[ch]
291 (hildon_touch_selector_optimal_size_request): function added to get a
292 optimal size request from the touch selector, when you want a dialog to
293 show as much of the selector
294 * hildon/hildon-picker-dialog.c:
295 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
296 (hildon_app_menu_class_init):
297 New "max-height-landscape" and "max-height-portrait" style properties
298 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
299 (hildon_picker_dialog_get_max_height): returns the maximum height using
300 the style properties defined and checking the current portrait/landscape
302 (_hildon_picker_dialog_set_selector): removed the set_size_request
304 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
306 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
308 * hildon/hildon-bread-crumb-trail.c:
309 * hildon/hildon-bread-crumb.c:
310 * hildon/hildon-seekbar.c:
311 Add reference to replacements for these deprecated widgets.
313 Fixes: MB#4461 (Documentation: All deprecations should mention
316 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
318 * examples/hildon-remote-texture-example.c
320 Change the include to the hildon-remote-texture in order to compile
321 properly the examples on the installed libhildon1-examples package
323 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
325 * tests/Makefile.am: Add check for HildonPickerButton.
326 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
327 (START_TEST), (create_hildon_picker_button_suite): Add three simple
328 checks for the HildonPickerButton.
329 * tests/check_test.c (configure_tests): Add the test suite.
330 * tests/test_suites.h: likewise.
332 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
334 * hildon/hildon-touch-selector.c
335 (+on_row_changed): Emit HildonTouchSelector:changed when the
336 contents of a selected row change.
337 (_create_new_column), (_hildon_touch_selector_set_model): connect
338 to GtkTreeModel:row-changed on a newly set model.
340 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
342 2009-05-05 Alberto Garcia <agarcia@igalia.com>
344 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
346 * hildon/hildon-banner.c (hildon_banner_destroy)
347 (hildon_banner_show_progress, hildon_banner_set_fraction):
348 Remove the progress bar from HildonBanner and use a progress
351 Fixes: NB#113761 (Update progress banner to use progress
354 2009-05-04 Alberto Garcia <agarcia@igalia.com>
356 * hildon/hildon-banner.c:
357 Calculate size of the banner label using the actual screen width
358 rather than using a fixed value.
360 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
363 2009-05-04 Alejandro G. Castro <alex@igalia.com>
365 * hildon/hildon-pannable-area.c,
366 (hildon_pannable_area_class_init): Fixed signals documentation
369 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
371 * configure.ac: post release version bump
372 * debian/changelog: post release version bump
374 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
379 * configure.ac: Bump version.
380 * debian/changelog: Updates.
382 2009-05-01 Alberto Garcia <agarcia@igalia.com>
384 * hildon/hildon-edit-toolbar.c
385 (hildon_edit_toolbar_init):
386 Don't let buttons in HildonEditToolbar receive focus.
388 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
389 typing on an HW arrows key)
391 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
393 * doc/Makefile.am: Fix build.
395 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
397 * doc/Makefile.am: Do not redefine content_files.
399 2009-04-30 Alberto Garcia <agarcia@igalia.com>
407 Renamed src/ to hildon/
412 Include <hildon/hildon.h> directly in all examples.
414 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
416 * src/hildon-sort-dialog.c
417 (hildon_sort_dialog_add_sort_key_with_sorting)
421 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
423 * src/Makefile.am: Move generated sources to CLEANFILES, so that
424 make distcheck passes.
426 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
428 * Makefile.am: Enable gtk-doc during distcheck.
430 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
432 * Makefile.am: Do not distribute the debian/ directory.
434 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
436 * doc/Makefile.am: Add the extra SGML files to content_files,
437 so that they are distributed properly.
439 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
441 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
444 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
446 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
447 (hildon_note_new_information_with_icon_name): Set the "icon" property
448 to preserve soundness.
450 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
452 * src/hildon-font-selection-dialog.c
453 (hildon_font_selection_dialog_set_property): Fail when the "family"
454 property is set to NULL.
456 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
458 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
461 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
463 * src/hildon-time-selector.h:
464 Added HildonTimeSelectorFormatPolicy
465 * src/hildon-time-selector.c:
466 Added PROP_TIME_FORMAT_POLICY
467 (_check_ampm_format): renamed to check_automatic_ampm_format
468 (update_format_policy), (update_format_dependant_columns): new functions
469 (hildon_time_selector_class_init)
470 (hildon_time_selector_contructor)
471 (hildon_time_selector_init)
472 (hildon_time_selector_get_property)
473 (hildon_time_selector_set_property)
474 (hildon_time_selector_get_time)
475 (hildon_time_selector_set_time)
476 * src/hildon-touch-selector.h: new file
477 * src/hildon-touch-selector.c
478 (hildon_touch_selector_emit_changed)
479 (hildon_touch_selector_block_changed)
480 (hildon_touch_selector_unblock_changed)
481 Added functions to allow to block the emission of the "changed" signal
482 * src/hildon-picker-dialog.c
483 (hildon_picker_dialog_show): call the parent show before the custom code
484 * examples/hildon-time-button-example.c
485 Modified, so now you can configure the time format using the new property
487 Added a new property "time-format-policy" that allow to choose the time
488 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
489 case it uses gconf in order to check if the time selector must use
492 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
495 2009-04-28 Alberto Garcia <agarcia@igalia.com>
497 * src/hildon-note.c (hildon_note_init):
498 Label in HildonNote must be left aligned, not centered. This
499 reverts the last commit in HildonNote.
501 Fixes: NB#112933 (text is not left aligned in confirmation dialog
502 is connectivity dialog)
504 2009-04-27 Alberto Garcia <agarcia@igalia.com>
509 * doc/hildon-sections.txt:
510 Added hildon_gtk_window_set_do_not_disturb()
512 2009-04-27 Alberto Garcia <agarcia@igalia.com>
514 * src/hildon-note.c (hildon_note_init): Center label.
516 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
519 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
524 * configure.ac: Bump version.
525 * debian/changelog: Updates.
527 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
529 * src/hildon-note-private.h: Add button-width to the private data.
530 * src/hildon-note.c (+resize_button),
531 (+hildon_note_orientation_update): methods to repack widgets on orientation
533 (screen_size_changed): Call above method for confirmation notes.
534 (hildon_note_realize): Always connect to the "screen-size" changed signal.
535 (hildon_note_rebuild): Store the original width request from buttons.
537 Fixes: NB#109635 (Confirmation notes do not support portrait)
539 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
541 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
542 when it is a progress note.
544 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
546 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
547 in the note, since there are no horizontally arranged contents.
549 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
551 * src/hildon-gtk.c (+set_flag): new generic method to
552 set/delay a flag setting in a window.
553 (hildon_gtk_window_set_progress_indicator):
554 (hildon_gtk_window_set_do_not_disturb),
555 (hildon_gtk_window_set_portrait_flags): use set_flag() to
556 avoid code redundance.
558 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
560 Based on a patch by Alberto Garcia (agarcia@igalia.com)
562 * src/hildon-gtk.c (set_clear_window_flag),
563 (do_set_progress_indicator), (do_set_do_not_disturb),
564 (do_set_portrait_flags),
565 (hildon_gtk_window_set_progress_indicator),
566 (hildon_gtk_window_set_do_not_disturb),
567 (hildon_gtk_window_set_portrait_flags):
568 Allow setting dnd-flag, progress indicator, and portrait flags
569 when the window is not realized.
571 2009-04-24 Alejandro G. Castro <alex@igalia.com>
573 * src/hildon-pannable-area.c,
574 * src/hildon-pannable-area.h: Add the hildon deprecated define to
575 the size request policy function and defines.
577 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
579 * doc/hildon-sections.txt: Add the new API.
580 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
581 method to set the portrait flags.
582 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
584 Fixes: NB#112328 (Adding helpers for setting portrait properties)
586 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
588 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
589 to allow using this method with other flags.
590 (hildon_gtk_window_set_progress_indicator): Update accordingly.
591 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
593 2009-04-22 Alberto Garcia <agarcia@igalia.com>
595 * src/hildon-touch-selector.c
596 (hildon_touch_selector_append_text_column):
597 Make the cell renderer use the smallest width possible.
599 Fixes: NB#108470 (Selected items in multiple selection are either
600 having a tick that is cut or not visible at all.)
602 2009-04-22 Alberto Garcia <agarcia@igalia.com>
604 * src/hildon-touch-selector.c
605 (hildon_touch_selector_append_text_column):
608 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
610 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
611 Use g_strdup_printf() instead of a fixed size buffer.
613 2009-04-21 Alberto Garcia <agarcia@igalia.com>
615 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
616 Close banners when a HildonAppMenu is popped up.
618 Fixes: NB#111027 (Title menu closed immediately if activated when
619 "Invalid e-mail address" banner is shown)
621 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
626 * configure.ac: Bump version.
627 * debian/changelog: Updates.
629 2009-04-20 Alberto Garcia <agarcia@igalia.com>
631 * src/hildon-banner.c (hildon_banner_realize):
632 Mark HildonBanner as supporting portrait mode.
633 Use GDK to set window properties insetad of direct Xlib calls.
635 Fixes: NB#111830 (HildonBanner should be marked as supporting
638 2009-04-20 Alberto Garcia <agarcia@igalia.com>
640 * src/hildon-note.c (hildon_note_rebuild):
641 Hide action area in information notes. Prevents text from being
642 slightly aligned to the left.
644 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
647 2009-04-20 Alberto Garcia <agarcia@igalia.com>
649 Patch by Mox Soini (ext-mox.soini@nokia.com)
651 * src/hildon-banner.c (hildon_banner_create_animation):
652 Use stylus-sized icons in animation banner.
654 Fixes: NB#111206 (stylus sized icon for animation banner)
656 2009-04-20 Alberto Garcia <agarcia@igalia.com>
660 (+hildon_gtk_window_set_do_not_disturb):
661 New API to set the do-not-disturb flag.
663 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
665 2009-04-20 Alberto Garcia <agarcia@igalia.com>
667 * examples/hildon-progress-indicator-example.c: Fix example
669 * src/hildon-gtk.c (set_clear_window_flag)
670 (hildon_gtk_window_set_progress_indicator):
671 Create a generic function for setting flags to a window.
672 Use GDK instead of direct Xlib calls.
674 2009-04-14 Alberto Garcia <agarcia@igalia.com>
676 * src/hildon-button.c (hildon_button_set_arrangement):
677 Due to NB#88126, if one of the labels is too long it will be
678 painted outside the button. The 'value' label is more likely to be
679 the longest one, so we change its packing options in order to
680 truncate it if necessary. As a side effect, the 'title' label will
681 no longer be truncated.
683 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
685 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
690 * configure.ac: Bump version.
691 * debian/changelog: Updates.
693 2009-04-13 Alejandro G. Castro <alex@igalia.com>
695 Deprecation of the hildon_pannable_area_set_size_request_policy
696 API, the only policy properly supported in gtk+ nowadays is the
699 * src/hildon-pannable-area.c,
700 (hildon_pannable_area_size_request): Added a workaround for the
701 size_request to avoid the problems of huge pixmaps in case someone
702 is still using the function.
703 * src/hildon-pannable-area.h: Deprecated the enum with the
706 Fixes: NB#110244 (Problems with the
707 hildon_pannable_area_set_size_request_policy API)
709 2009-04-08 Alejandro G. Castro <alex@igalia.com>
711 * src/hildon-pannable-area.c,
712 (hildon_pannable_area_init),
713 (hildon_pannable_area_size_request),
714 (hildon_pannable_area_style_set),
715 (hildon_pannable_draw_vscroll),
716 (hildon_pannable_draw_hscroll),
717 (hildon_pannable_area_check_scrollbars): Replaced area_width with
718 indicator_width to clarify the use of the attribute.
720 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
725 * configure.ac: Bump version.
726 * debian/changelog: Updates.
728 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
730 * src/hildon-picker-dialog.c
731 * src/hildon-touch-selector.c
732 Reverting the change that tried to avoid the hardcoded height on
733 the picker dialog, as causes problems on the hildon-touch-selector
736 Fixes: NB#110029 (selectors not scrolling to selected value)
738 2009-04-07 Alberto Garcia <agarcia@igalia.com>
740 * src/hildon-touch-selector.c: Fix typos
742 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
744 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
745 Use the event coordinates instead of gdk_window_get_pointer(). Also,
746 request more motions after using it.
748 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
750 * src/hildon-calendar.c (hildon_calendar_expose),
751 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
752 Remove unused variables.
754 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
756 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
759 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
761 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
762 Check the return value of gtk_tree_selection_get_selected()
765 2009-04-06 Alberto Garcia <agarcia@igalia.com>
767 * src/hildon-animation-actor.c
768 * src/hildon-button.c
770 * src/hildon-pannable-area.c
771 * src/hildon-picker-button.c
772 * src/hildon-program.c
773 * src/hildon-remote-texture.c
774 * src/hildon-text-view.c
775 * src/hildon-touch-selector.c
776 * src/hildon-window-stack.c
777 * src/hildon-window.c:
778 Add missing 'Since: 2.2' tags.
780 * doc/hildon-sections.txt:
781 Add some missing symbols.
783 * doc/hildon-docs.sgml:
784 New 'Other' section for HildonAnimationActor and
787 2009-04-06 Alberto Garcia <agarcia@igalia.com>
789 Patch by Iván Gómez (igomez@igalia.com)
793 * doc/hildon-docs.sgml
794 * doc/hildon-sections.txt
798 New chapters on using the Hildon library.
799 Updated the general structure of the reference manual.
800 Other minor documentation fixes.
802 * src/hildon-calendar-popup.c
803 * src/hildon-calendar.c
804 * src/hildon-controlbar.c
805 * src/hildon-date-editor.c
806 * src/hildon-dialog.c
807 * src/hildon-hvolumebar.c
808 * src/hildon-number-editor.c
809 * src/hildon-range-editor.c
810 * src/hildon-sort-dialog.c
811 * src/hildon-time-editor.c
812 * src/hildon-time-picker.c
813 * src/hildon-volumebar-range.c
814 * src/hildon-volumebar.c
815 * src/hildon-vvolumebar.c
816 * src/hildon-weekday-picker.c:
817 Add deprecation notes
819 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
820 Document 'horizontal-movement' and 'vertical-movement' signals.
822 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
827 * configure.ac: Bump version.
828 * debian/changelog: Updates.
830 2009-04-06 Alejandro G. Castro <alex@igalia.com>
832 * src/hildon-pannable-area.c,
833 (hildon_pannable_area_class_init): increased the minimum velocity.
834 (hildon_pannable_area_button_release_cb): Updated the
835 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
836 setup. Review the code to control that last event.
838 Fixes: NB#109790 (Releasing finger in pannable area easily causes
841 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
843 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
845 * src/hildon-get-password-dialog.c
846 (hildon_get_password_set_property),
847 (hildon_get_password_get_property), (create_contents):
848 * src/hildon-login-dialog-private.h:
849 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
850 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
851 (hildon_login_dialog_get_password):
852 * src/hildon-set-password-dialog-private.h:
853 * src/hildon-set-password-dialog.c
854 (hildon_set_password_set_property),
855 (hildon_set_password_get_property), (create_contents),
856 (hildon_set_password_response_change),
857 (hildon_set_password_response_set), (hildon_checkbox_toggled):
859 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
860 instead and look more Fremantle style.
862 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
864 2009-04-03 Alberto Garcia <agarcia@igalia.com>
866 * doc/hildon-sections.txt
867 * src/hildon-window-stack.h
868 * src/hildon-window-stack.c
869 (+hildon_window_stack_get_windows):
870 New API to obtain the list of windows on a stack.
872 2009-04-02 Alberto Garcia <agarcia@igalia.com>
874 * src/hildon-app-menu.c (hildon_app_menu_popup)
875 (hildon_app_menu_class_init, -hildon_app_menu_show):
876 Remove hildon_app_menu_show() and move all its checks to
877 hildon_app_menu_popup()
879 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
881 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
882 (_hildon_picker_dialog_set_selector): removed call to
883 gtk_widget_set_size_request
884 * src/hildon-touch-selector.c
885 (_create_new_column): change the pannable size request policy
887 Avoid to use a hardcoded height for the hildon picker dialog. In order
888 to get that, we needed to change the hildon pannable size request
890 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
892 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
894 * src/hildon-window.c (hildon_window_map): Check for vbox to be
895 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
898 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
900 * debian/control: Depend on osso-system-lock localization package.
901 * src/hildon-code-dialog.c: Obtain the secu_application_title
902 translation from osso-system-lock.
903 * src/hildon-get-password-dialog.c (create_contents): Do not mark
904 for translation the atk related strings, that's not necessary.
905 * src/hildon-set-password-dialog.c (create_contents): Ditto.
906 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
907 cancel button, it is not required.
909 2009-04-02 Alejandro G. Castro <alex@igalia.com>
911 * src/hildon-pannable-area.c,
912 (hildon_pannable_area_class_init): Modified the default value of
913 the overshooting max speed, we have reduced it.
915 2009-04-02 Alberto Garcia <agarcia@igalia.com>
917 * doc/hildon-sections.txt
918 * src/hildon-window-private.h
919 * src/hildon-window.h
920 * src/hildon-window.c (hildon_window_class_init)
921 (hildon_window_init, hildon_window_finalize)
922 (hildon_window_realize, hildon_window_get_property)
923 (hildon_window_set_property, hildon_window_update_markup)
924 (hildon_window_get_markup, hildon_window_set_markup):
925 New "markup" property and hildon_window_{get,set}_markup() methods.
927 * examples/hildon-stackable-window-example.c (new_window):
928 Update example to use hildon_window_set_markup()
930 Fixes: NB#106375 (Need API to retitle a window with a title
933 2009-04-01 Alejandro G. Castro <alex@igalia.com>
935 * src/hildon-pannable-area.c,
936 (hildon_pannable_area_class_init): Changed the default value of
937 the initial_hint to TRUE.
938 (hildon_pannable_area_initial_effect): Changed the initial effect,
939 not the effect is just the fade-out of the scrollbars.
941 Fixes: NB#107775 (No scrollbars can be seen when several items are
942 available in a dialog)
944 2009-04-01 Alberto Garcia <agarcia@igalia.com>
946 * src/hildon-program.c (hildon_program_update_top_most):
949 Fixes: NB#109179 (Memory leak in Hildon program)
951 2009-04-01 Alberto Garcia <agarcia@igalia.com>
953 * src/hildon-banner.c (-get_current_app_window):
954 Remove unused function.
956 2009-04-01 Alejandro G. Castro <alex@igalia.com>
958 * src/hildon-pannable-area.c: Modified the documentation of the
959 get adjustments functions to explain the problem of using the
961 (hildon_pannable_area_class_init): Improved the explanation about
964 2009-04-01 Alberto Garcia <agarcia@igalia.com>
966 * src/hildon-app-menu-private.h
967 * src/hildon-app-menu.c
968 (hildon_app_menu_class_init):
969 Bring back the 'external-border' style property
970 (hildon_app_menu_class_init, hildon_app_menu_init)
971 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
972 Set a fixed width-request for the menu, independent of the number
975 Fixes: NB#94957 (Smoothly opened application menu)
977 2009-03-30 Alberto Garcia <agarcia@igalia.com>
979 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
981 * src/hildon-banner.c
982 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
984 Make sure that the banner is correctly placed the first time it's
986 (hildon_banner_check_position, -check_fullscreen_state):
987 Show the banner in the same place no matter if the window is in
988 fullscreen mode or not.
990 Fixes: NB#107386 (Odd stacking behaviour for information banners)
992 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
994 * src/hildon-touch-selector.c (_default_print_func): reorder
995 concatenation for clarity.
997 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
999 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1000 for multicolumn selectors.
1002 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1004 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1009 * configure.ac: Bump version.
1010 * debian/changelog: Updates.
1012 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1014 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1017 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1019 * configure.ac: removed libcangerra-gtk dependency
1020 * debian/control: removed libcanberra-gtk dependency
1021 * src/Makefile.am: removed libcanberra gtk related flags
1022 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1023 context, and manage a global canberra context instead
1025 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1027 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1029 Patch by Daniel Borgmann (danielb@openismus.com)
1031 * src/hildon-edit-toolbar.c:
1032 Adjust the left padding.
1033 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1034 Paint background of the edit toolbar.
1036 Fixes: NB#107897 (Patch to make editmodetoolbar background
1037 themeable and adjust margin)
1039 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1041 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1043 * src/hildon-program.c (hildon_program_update_top_most):
1044 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1046 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1047 change when the user tasks in/out of an application)
1049 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1051 * configure.ac: added libcangerra-gtk dependency
1052 * debian/control: added libcanberra-gtk dependency
1053 * src/Makefile.am: added libcanberra gtk related flags
1054 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1057 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1059 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1061 * src/hildon-program.c (hildon_program_remove_window)
1062 (hildon_program_add_window): Add checks for the window
1063 parameter. Don't decrease the window counter if the window is not
1066 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1068 * src/hildon-pannable-area.c,
1069 (hildon_pannable_area_realize): Fixed position of the event_window
1070 in the realize method.
1072 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1074 * src/hildon-app-menu-private.h
1075 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1076 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1077 (hildon_app_menu_key_press, hildon_app_menu_init)
1078 (hildon_app_menu_finalize):
1079 Make sure that all idle functions are removed when the widget is
1082 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1084 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1089 * configure.ac: Bump version.
1090 * debian/changelog: Updates.
1092 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1094 * src/hildon-entry.c
1095 (+hildon_entry_show_placeholder),
1096 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1097 that replace hildon_entry_update_contents().
1098 (hildon_entry_set_text),
1099 (hildon_entry_set_placeholder),
1100 (hildon_entry_focus_in_event),
1101 (hildon_entry_focus_out_event): Determine when it is needed
1102 either to show or hide the placeholder and call the above methods.
1104 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1105 when the placeholder text is already set)
1107 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1109 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1110 simple GdkPixbufAnim using the new icons for the banner.
1111 (hildon_banner_show_animation): Use the above mentioned method to
1112 create the animation widget.
1114 Fixes: NB#103564 (Make hildon animation banner use individual
1115 image files as the animation)
1117 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1119 * src/hildon-pannable-area.c,
1120 (hildon_pannable_leave_notify_event): Check if the child is NULL
1121 to avoid sending the leave.
1123 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1125 * src/hildon-pannable-area.c,
1126 (hildon_pannable_area_class_init),
1127 (hildon_pannable_leave_notify_event): Added a handler of the
1128 leave-notify-signal to consider when no motion notify before
1131 Fixes: NB#107494 (Items stay selected when clicking and moving
1132 away when inside pannable area)
1134 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1139 * configure.ac: Bump version.
1140 * debian/changelog: Updates.
1142 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1144 Patch by Alberto Garcia (agarcia@igalia.com)
1146 * src/hildon-date-button.c,
1147 (hildon_date_button_class_init),
1148 (hildon_date_button_init): Removed the construct property handling
1149 and created a default selector in the init method.
1150 * src/hildon-picker-button.c,
1151 (hildon_picker_button_class_init): Removed the construct flag of the
1154 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1156 * src/hildon-main.c (hildon_init):
1157 Don't allow hildon_init() to be called more than once.
1159 Fixes: NB#106607 (hildon_init should issue error message upon
1162 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1164 * examples/hildon-pannable-area-touch-list-example.c
1165 * examples/hildon-pannagle-area-touch-grid-example.c
1166 * examples/hildon-edit-toolbar-example.c
1167 * examples/hildon-touch-selector-multi-cells-example.c
1168 Removed the call to gtk_rc_parse_string, as it is not required since
1171 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1173 * src/hildon-pannable-area.c,
1174 (hildon_pannable_area_class_init): Modified the default panning
1175 threshold of the widget to 6px.
1177 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1178 than the threshold value ) within the button is not sending the
1181 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1183 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1184 for the treeview in the new column. This way, the touch list will never
1187 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1188 be selected manually for the HW keys to work)
1190 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1192 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1193 comparison instead of using strcmp(). Fixes a compiler warning as well.
1195 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1197 * doc/hildon-docs.sgml: Do not set the library version in the
1198 document title, use the releaseinfo tag for that purpose instead.
1200 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1202 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1203 Do not jump to the first item if the text in the entry is removed.
1205 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1210 * configure.ac: Bump version.
1211 * debian/changelog: Updates.
1213 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1215 * src/hildon-entry.c (hildon_entry_refresh_contents):
1216 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1217 Use "ReversedSecondaryTextColor" for the placeholder text.
1219 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1221 * src/hildon-text-view.c: Fix compilation warning.
1223 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1225 * src/hildon-button.c (hildon_button_class_init): Don't make
1226 "title" and "value" construction properties, to prevent them from
1227 overwriting labels set from derived classes.
1229 * src/hildon-picker-button.c
1230 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1231 (hildon_picker_button_class_init): Make touch-selector a
1232 construction property.
1234 * src/hildon-date-button.c (hildon_date_button_class_init)
1235 (+hildon_date_button_constructed): Add a default date selector if
1238 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1240 * src/hildon-touch-selector.c: Small documentation fixes.
1242 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1244 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1246 * src/hildon-entry.c (hildon_entry_refresh_contents),
1247 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1248 widget name, set the logical color directly instead and a boolean
1249 showing_placeholder instead.
1250 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1251 use the widget name here either.
1253 Fixes: NB#105678 (HildonTextView should use logical colours
1254 instead of setting widget name)
1256 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1258 Patch by Daniel Elster (danielk@openismus.com)
1260 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1261 Add user_data parameter.
1262 (hildon_touch_selector_set_print_func_full): New function akin
1263 hildon_touch_selector_set_print_func() but with support for user
1264 data and a destroy callback.
1265 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1266 to clean up the print function user data.
1267 (hildon_touch_selector_class_init): Install dispose function.
1268 (HildonTouchSelectorPrivate::print_user_data),
1269 (HildonTouchSelectorPrivate::print_destroy_func): New private
1271 (hildon_touch_selector_init): Initialize new private members.
1272 (hildon_touch_selector_get_current_text): Pass along user data
1273 to the print function.
1274 (_default_print_func): Add dummy user_data to parameter list.
1275 * hildon-date-selector.c (_custom_print_func): ditto,
1276 * hildon-time-selector.c (_custom_print_func): ditto,
1277 * hildon-touch-selector-entry.c
1278 (hildon_touch_selector_entry_print_func): ditto.
1280 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1282 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1284 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1286 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1288 * src/hildon-pannable-area.c,
1289 (hildon_pannable_area_init),
1290 (hildon_pannable_area_button_press_cb),
1291 (hildon_pannable_area_motion_notify_cb): We have added code to
1292 handle the leave and enter events when using the motion events.
1294 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1296 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1298 * src/hildon-date-button.c (hildon_date_button_get_date)
1299 (hildon_date_button_set_date): Make sure that the button has a
1302 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1304 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1306 * src/hildon-pannable-area.c,
1307 (hildon_pannable_area_class_init),
1308 (hildon_pannable_area_calculate_velocity): Modify the use of the
1309 force and adapt the value.
1311 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1313 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1314 (hildon_app_menu_class_init): Hide the menu if it receives a
1315 delete-event, but don't destroy it
1317 Fixes: NB#104485 (Not able to address the call when application
1318 menu is opened at background)
1320 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1322 * src/hildon-app-menu.c
1323 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1324 Remove the "external-border" style property, let the menu take its
1325 natural size (or the one set by the window manager)
1326 (hildon_app_menu_repack_items):
1327 Don't reshow the menu, avoid flickers.
1329 Partially fixes NB#94957 (Smoothly opened application menu)
1331 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1336 * configure.ac: Bump version.
1337 * debian/changelog: Updates.
1339 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1341 * src/hildon-pannable-area.c,
1342 (hildon_pannable_area_motion_notify_cb): We control that the
1343 direction error margin is used just in case the movement is
1344 allowed in the other direction.
1346 Fixes: NB#105012 (buttons inside a pannable area not getting
1347 release event when dragging/releasing)
1349 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1351 * src/hildon-pannable-area.c,
1352 (hildon_pannable_area_class_init),
1353 (hildon_pannable_area_get_property),
1354 (hildon_pannable_area_set_property),
1355 (hildon_pannable_area_initial_effect),
1356 (hildon_pannable_axis_scroll),
1357 (hildon_pannable_area_button_release_cb): Reviewed the
1358 overshooting effect, now it has its own max
1359 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1360 speed when bouncing.
1362 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1367 * configure.ac: Bump version.
1368 * debian/changelog: Updates.
1370 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1372 * src/hildon-pannable-area.c,
1373 (hildon_pannable_area_class_init): Changed the max speed, now
1374 users can launch the widget very fast. Reduced the default force,
1375 that way it is easier to control the launch speed.
1377 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1379 * src/hildon-pannable-area.c,
1380 (hildon_pannable_area_button_release_cb): Removed this check
1381 because it causes problems when the device is overloaded.
1383 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1385 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1386 add a current_text field to store the text entered in the
1387 touch selector entry.
1388 (_clean_current_selection): clean up the current text as well.
1389 (_save_current_selection), (_restore_current_selection):
1390 Save/restore the text in the entry if the selector is a
1391 HildonTouchSelectorEntry.
1393 Fixes: NB#102541 (value entered in the touch selector entry is not
1394 shown when opened for second time)
1396 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1398 * doc/hildon-sections.txt:
1399 * src/hildon-touch-selector-entry.c
1400 (+hildon_touch_selector_entry_get_entry):
1401 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1403 Fixes: NB#104815 (I need accessor to the entry inside
1404 HildonTouchSelectorEntry)
1406 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1408 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1409 (hildon_app_menu_class_init):
1410 New "filter-vertical-spacing" style property.
1412 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1414 * src/hildon-find-toolbar.c
1415 (hildon_find_toolbar_emit_close)
1416 (hildon_find_toolbar_emit_invalid_input)
1417 (hildon_find_toolbar_entry_activate):
1418 Use g_signal_emit() instead of g_signal_emit_by_name()
1420 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1422 Patch by Mox Soini (ext-mox.soini@nokia.com)
1424 * tests/TEST-CASES.txt
1425 * tests/check-hildon-banner.c
1426 * tests/check-hildon-note.c
1427 * src/hildon-banner.c
1428 * src/hildon-code-dialog.c
1429 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1430 * src/hildon-time-editor.c
1431 * examples/hildon-lookup-example.c (main):
1432 Replace obsolete icon names with new ones.
1434 * src/hildon-find-toolbar-private.h:
1435 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1436 (-hildon_find_toolbar_emit_search):
1437 Remove find button and change icon of close button.
1439 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1441 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1443 * src/hildon-time-button.c (hildon_time_button_new_step):
1444 Use the "touch-selector" property to set the selector directly
1445 when creating the object.
1447 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1449 Added a new example application that allows tuning the pannable
1450 area and replaced defines with properties in order to simplify the
1451 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1452 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1453 PROP_DIRECTION_ERROR_MARGIN.
1455 * examples/hildon-pannable-area-tuning-example.c: New example
1457 * src/hildon-pannable-area.c,
1458 (hildon_pannable_area_class_init),
1459 (hildon_pannable_area_init),
1460 (hildon_pannable_area_get_property),
1461 (hildon_pannable_area_set_property),
1462 (hildon_pannable_area_launch_fade_timeout),
1463 (hildon_pannable_area_adjust_value_changed),
1464 (hildon_pannable_axis_scroll),
1465 (hildon_pannable_area_motion_notify_cb),
1466 (hildon_pannable_area_scroll_cb),
1467 (hildon_pannable_area_button_release_cb): We have converted some
1468 of the defines that control the widget to properties to simplify
1471 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1473 * src/hildon-app-menu.c (hildon_app_menu_map)
1474 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1475 so it's closed if a new window appears.
1477 Fixes: NB#104485 (Not able to address the call when application
1478 menu is opened at background)
1480 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1482 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1483 missing 'break' statement in in 'case' construct to avoid
1486 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1488 * src/hildon-touch-selector-entry.c
1489 (hildon_touch_selector_entry_get_property),
1490 (hildon_touch_selector_entry_set_property): Add missing 'break'
1491 statements in in 'case' constructs to avoid incorrect warnings.
1493 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1495 * src/hildon-time-editor.c
1496 (hildon_time_editor_get_time_separators): Do not crash if
1497 the first label is NULL.
1499 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1501 * src/hildon-date-selector.c (_month_days): Check for month to be
1502 strictly less than 12, since otherwise we may overrun the array.
1504 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1506 * src/hildon-date-button.c (+hildon_date_button_new_full)
1507 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1508 (hildon_date_button_init): Set the date selector using a
1509 construction property, to make it happen after HildonButton's
1510 "value" property is set.
1512 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1513 current date by default)
1515 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1517 * doc/hildon-sections.txt
1518 * src/hildon-program.c
1519 * src/hildon-stackable-window.c
1520 * src/hildon-window.c:
1521 Documentation updates
1523 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1525 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1526 (hildon_window_stack_new, +hildon_window_stack_set_property)
1527 (+hildon_window_stack_get_property)
1528 (hildon_window_stack_class_init)
1529 (+hildon_window_stack_set_window_group)
1530 (+hildon_window_stack_get_window_group):
1531 Make the window group a construction property.
1533 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1535 * doc/hildon-sections.txt
1536 * src/hildon-stackable-window-private.h
1537 * src/hildon-stackable-window.h
1538 * src/hildon-stackable-window.c
1539 (-hildon_stackable_window_set_app_menu)
1540 (-hildon_stackable_window_get_app_menu)
1541 (-hildon_stackable_window_toggle_menu)
1542 (-hildon_stackable_window_finalize)
1543 (hildon_stackable_window_class_init)
1544 (hildon_stackable_window_init)
1545 * src/hildon-window-private.h
1546 * src/hildon-window.h
1547 * src/hildon-window.c (hildon_window_init)
1548 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1549 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1550 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1551 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1552 Moved all HildonAppMenu code to HildonWindow. The menu does not
1553 require a HildonStackableWindow anymore.
1555 * src/hildon-app-menu.c
1556 * src/hildon-program.c
1557 * examples/hildon-app-menu-example.c (main):
1558 Update examples and documentation to reflect HildonAppMenu
1561 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1563 * src/hildon-remote-texture.c
1564 * src/hildon-animation-actor.c:
1565 Don't include unused private headers.
1567 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1569 * src/hildon-program-private.h
1570 * src/hildon-program.c
1571 (hildon_program_set_common_menu)
1572 (hildon_program_get_common_menu)
1573 (hildon_program_set_common_app_menu)
1574 (hildon_program_get_common_app_menu):
1575 Change common menu pointers from GtkWidget* to GtkMenu* and
1576 HildonAppMenu* to avoid unnecessary casts.
1578 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1580 * src/hildon-window.c (hildon_window_set_main_menu):
1581 Removed incorrect 'Since:' tag
1583 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1585 * src/hildon-pannable-area.c,
1586 (hildon_pannable_area_calculate_velocity): We use now the
1587 RATIO_TOLERANCE here to check the distance, fixed typo in the
1589 (hildon_pannable_area_motion_notify_cb): We have to set the type
1590 and time even if we are not sending the motion.
1592 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1594 * doc/hildon-sections.txt
1595 * src/hildon-app-menu.h
1596 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1597 (+hildon_app_menu_get_filters): New methods to get the contents of
1600 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1603 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1605 * src/hildon-app-menu.c (hildon_app_menu_popup):
1608 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1610 * src/hildon-window.h
1611 * src/hildon-window.c (+hildon_window_get_main_menu)
1612 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1613 and deprecated hildon_window_get_menu().
1615 * src/hildon-stackable-window.h
1616 * src/hildon-stackable-window.c
1617 (+hildon_stackable_window_set_app_menu)
1618 (+hildon_stackable_window_get_app_menu)
1619 (hildon_stackable_window_set_main_menu): Created
1620 hildon_stackable_window_{get,set}_app_menu() and deprecated
1621 hildon_stackable_window_set_main_menu().
1623 * doc/hildon-sections.txt
1624 * examples/hildon-app-menu-example.c (main)
1625 * src/hildon-app-menu.c
1626 * src/hildon-program.c:
1627 Updated examples and documentation.
1629 Fixes: NB#103758 (No way to obtain a menu from a
1630 HildonStackableWindow)
1632 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1637 * configure.ac: Bump version.
1638 * debian/changelog: Updates.
1640 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1642 * examples/hildon-remote-texture-example.c: Include
1643 hildon-remote-texture.h explicitely.
1644 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1645 applications not defining _XOPEN_SOURCE which don't require this header.
1647 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1649 * doc/hildon-sections.txt
1650 * src/hildon-app-menu.h
1651 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1652 New function to pop up a HildonAppMenu
1654 * src/hildon-stackable-window.c
1655 (hildon_stackable_window_toggle_menu):
1656 Use hildon_app_menu_popup() to show the menu.
1658 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1660 * src/hildon-app-menu.c (hildon_app_menu_show)
1661 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1662 menu if there's another window between it and its parent window.
1664 Fixes: NB#100468 (Application menu window is launched even when a
1665 new secondary-window/dialog is pending to be shown/realized)
1667 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1669 * src/hildon-window-stack.c (hildon_window_stack_push)
1670 (hildon_window_stack_pop_and_push):
1671 Don't forget to push/pop the first window.
1672 Reverse the window list before calling _push_list()
1674 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1676 * src/hildon-picker-button.h
1677 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1678 Remove "value_changed" slot to avoid ABI breakage
1680 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1682 * src/hildon-pannable-area.c,
1683 (hildon_pannable_area_realize),
1684 (hildon_pannable_area_unrealize),
1685 (hildon_pannable_draw_vscroll),
1686 (hildon_pannable_draw_hscroll): Changed the method to handle the
1687 GC used to draw the transparent scrollbar, this way we avoid
1688 creating the GC all the time when drawing the scrollbars.
1690 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1692 * src/hildon-pannable-area.c,
1693 (hildon_pannable_area_init),
1694 (hildon_pannable_area_remove): Removed some unnecessary casts.
1695 (hildon_pannable_area_dispose): Disconnected some signals before
1696 releasing the adjustments.
1698 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1700 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1701 Make sure that all widgets contained in the toolbar are shown.
1703 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1705 * doc/hildon-sections.txt
1706 * src/hildon-picker-button.h
1707 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1708 (_selection_changed, hildon_picker_button_on_dialog_response)
1709 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1710 New hildon_picker_button_value_changed() method.
1713 * src/hildon-picker-button-private.h
1714 * src/hildon-picker-button.c (hildon_picker_button_init)
1715 (+hildon_picker_button_disable_value_changed): Add protected
1716 function for disabling the "value-changed" signal.
1718 * src/hildon-date-button.c (hildon_date_button_set_date):
1719 Don't emit "value-changed" for each one of the three columns.
1721 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1722 before actual change of values)
1724 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1726 * src/hildon-pannable-area.c,
1727 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1728 for the treeview overshooting.
1730 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1732 * src/hildon-banner.c (+hildon_banner_bind_style):
1733 Renamed from hildon_banner_bind_label_style(), now naming the
1734 banner itself as well.
1735 (hildon_banner_show_information),
1736 (hildon_banner_show_information_with_markup),
1737 (hildon_banner_show_animation), (hildon_banner_show_progress):
1738 Name the widgets and labels, based on their type.
1740 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1743 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1745 * src/hildon-note.c (hildon_note_set_property): call
1746 hildon_note_rename() on HildonNote:note-type set.
1747 (hildon_note_rename): Name the note and its label, based on the
1748 HildonNote:note-type property.
1750 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1753 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1755 * src/hildon-pannable-area.c,
1756 (hildon_pannable_area_class_init),
1757 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1758 panning parameters, increased SPS and deceleration factor. Added
1759 also a margin to control fake directions.
1761 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1763 Patch by Sven Herzberg (sven@imendio.com)
1765 * configure.ac: Add missing AM_PROG_CC_C_0
1766 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1768 See NB#101420 (Update unit tests and fix make check)
1770 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1772 This patch was applied before but reverted because it caused
1773 problems, we have changed the main condition and tested the
1774 regressions we detected before and they work ok. We have done a
1775 complete review of the topmost algorithm in order to get a more
1778 * src/hildon-pannable-area.c,
1779 (hildon_pannable_area_get_topmost): Added a new parameter to
1780 filter the the windows that do not include those events.
1781 (hildon_pannable_area_button_press_cb),
1782 (hildon_pannable_area_button_release_cb),
1783 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1784 topmost function, we have added the new parameter.
1786 Fixes: NB#97458 (Pannable area prevents propagation of button
1789 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1791 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1792 if all columns in the selector have an item selected.
1793 (_on_dialog_response): Stop "response" signal emission if there is
1794 any selector column without selected items.
1796 Fixes: NB#101889 (Picker dialog should not close when nothing is
1797 selected in multiple selection list)
1799 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1801 * src/hildon-font-selection-dialog.c
1802 (hildon_font_selection_dialog_class_init),
1803 (hildon_font_selection_dialog_init): Remove the preview
1804 button and dialog, since previewing with default theming is likely
1805 to be overcomplicated. The :preview property has now no effect.
1806 Update documentation blurbs to inform about this.
1808 Fixes: NB#92297 (Preview content is not clearly visible for
1809 default colour text)
1811 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1813 Reviewed the geometry that handles the children size and
1814 scrollbar, now it tries a size and reviews the results depending
1815 on the scrollbars visibility.
1817 * src/hildon-pannable-area.c,
1818 (hildon_pannable_area_realize): Fixed a typo.
1819 (hildon_pannable_area_child_allocate_calculate): Added this
1820 function to calculate the child allocation.
1821 (hildon_pannable_area_size_allocate): Reviewed the allocation
1823 (hildon_pannable_area_check_scrollbars),
1824 (hildon_pannable_area_refresh): Refactored refresh function, this
1825 way we can call the code handling the scrollbars without causing a
1826 size_request, it is interesting in the allocate.
1827 (hildon_pannable_area_init): Replace the callbacks of the
1828 value_changed and changed signals to propertly deal with the
1830 (hildon_pannable_area_grab_notify),
1831 (hildon_pannable_area_initial_effect),
1832 (hildon_pannable_area_launch_fade_timeout),
1833 (hildon_pannable_area_adjust_changed),
1834 (hildon_pannable_area_adjust_value_changed),
1835 (hildon_pannable_area_redraw),
1836 (hildon_pannable_area_button_press_cb),
1837 (hildon_pannable_area_button_release_cb),
1838 (hildon_pannable_area_scroll_cb),
1839 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1840 code and use the new functions adjust_changed and
1841 adjust_value_changed.
1843 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1844 Contact editor dialog)
1846 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1851 * configure.ac: Bump version.
1852 * debian/changelog: Updates.
1854 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1856 * src/hildon-pannable-area.c,
1857 (hildon_pannable_area_get_topmost),
1858 (hildon_pannable_area_button_press_cb),
1859 (hildon_pannable_area_button_release_cb),
1860 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1861 topmost function adding the event mask. We have to try a
1862 differente approach because it is still causing problems (NB#9745,
1865 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1867 * src/hildon-banner.c:
1868 Update the maximum width of timed banners.
1869 (force_to_wrap_truncated): Enforce the maximum text width if the
1872 Fixes: NB#102413 (The text margins (wrapping) in information
1873 banner should be HILDON_MARGIN_TRIPLE)
1875 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1877 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1879 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1880 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1881 bound when calculating the scroll indicator position.
1883 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1884 treat ->lower correctly)
1886 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1888 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1889 expose event handling, since it is not necessary to draw the focus
1892 Fixes: NB#102467 (Do not show highlight on the text in
1895 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1897 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1898 full height of the toolbar for the button and the label.
1900 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1902 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1903 padding before the label and after the button.
1905 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1907 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1909 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1910 Add a GtkVSeparator between the button and the back arrow.
1911 Let the button have automatic size.
1912 Set a name to the widget for theming handling.
1914 Fixes: NB#101793 (Make edit toolbar the same height as window
1915 title bar (use title area theming))
1917 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1919 * src/hildon-helper.c (attach_new_color_element): Fix memory
1922 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1924 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1926 * examples/hildon-button-example.c (common_buttons_window): Don't
1929 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1931 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1932 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1934 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1936 * src/hildon-gtk.c: Check that the window is realized.
1938 Fixes: NB#102225 (Crash setting the progress indicator to a non
1941 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1943 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1944 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1945 instead of modifying the one in the widget style.
1947 Fixes: NB#101043 (Second row of all the command button are
1948 displayed in transparent mode.)
1950 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1952 * src/hildon-date-button.c
1953 * src/hildon-time-button.c: Add gettext macros
1955 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1957 * src/hildon-date-button.c (hildon_date_button_new):
1958 * src/hildon-time-button.c (hildon_time_button_new_step):
1959 Use new logical strings to set the button default title.
1961 Fixes: NB#99915 (Date and Time options are not localised in Date
1964 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1966 * src/hildon-pannable-area.c
1967 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1968 the PANNING_THRESHOLD.
1970 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1972 * src/hildon-pannable-area.c,
1973 (hildon_pannable_area_class_init): Increased the maximum speed.
1974 (hildon_pannable_area_get_property),
1975 (hildon_pannable_area_set_property),
1976 (hildon_pannable_area_timeout): Added a new low friction mode, it
1977 allows the user avoid friction when launching the widget fast
1978 enough. It is interesting to traverse long lists.
1980 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1982 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1983 (+hildon_stackable_window_delete_event): Ignore delete events if
1984 the window is not the topmost one.
1986 Fixes: NB#101698 (Back button long press and delete-event handling)
1988 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1990 * src/hildon-pannable-area.c,
1991 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1992 gtk-dnd-drag-threshold, it was too big. We have defined our own
1993 dnd define and set a smaller value: PANNIG_THRESHOLD.
1995 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1997 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1998 user-defined icons, use always the default one.
2000 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2002 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2004 This patch was applied before but reverted because it caused
2005 problems, we have changed the main condition and tested the
2006 regressions we detected before and they work ok.
2008 * src/hildon-pannable-area.c,
2009 (hildon_pannable_area_get_topmost): Added a new parameter to
2010 filter the the windows that do not include those events. Added
2011 also a condition when finding the window to filter windows that do
2012 not ask for those events.
2013 (hildon_pannable_area_button_press_cb),
2014 (hildon_pannable_area_button_release_cb),
2015 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2016 topmost function, we have added the new parameter.
2018 Fixes: NB#97458 (Pannable area prevents propagation of button
2021 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2023 * tests/check-hildon-color-button.c (START_TEST): do not leak
2026 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2028 * src/hildon-font-selection-dialog.c
2029 (hildon_font_selection_dialog_get_preview_text): Return NULL
2030 instead of FALSE on the g_return_val_if_fail().
2032 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2034 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2035 * src/hildon-date-selector.c
2036 (hildon_date_selector_select_current_date):
2037 Do not compare unsigned integers to be greater than or equal 0,
2038 because it's always TRUE.
2040 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2042 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2043 (hildon_date_selector_constructor): Do not select the current
2044 date until we are handle the "changed" signal, to avoid having bogus
2045 elements in the days model.
2047 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2049 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2050 for num_days, since _month_days() can return a negative value.
2052 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2054 * src/hildon-caption.c (hildon_caption_size_allocate):
2055 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2056 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2058 Initialize allocation variables to 0, to avoid eventually using
2059 unitialized variables.
2061 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2063 * src/hildon-bread-crumb-trail.c
2064 (hildon_bread_crumb_trail_size_allocate):
2065 * src/hildon-calendar.c (hildon_calendar_set_background):
2066 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2067 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2068 * src/hildon-seekbar.c (hildon_seekbar_init):
2069 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2070 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2071 * src/hildon-touch-selector-entry.c
2072 (hildon_touch_selector_get_text_from_model):
2073 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2074 * src/hildon-window.c (hildon_window_finalize):
2076 Remove many unused variables.
2078 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2080 * src/hildon-seekbar.c: (hildon_seekbar_init),
2081 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2083 Remove unnecessary g_assert() calls.
2085 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2087 * src/hildon-caption.c: (hildon_caption_expose),
2088 (hildon_caption_set_property), (hildon_caption_init),
2089 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2090 (hildon_caption_size_request), (hildon_caption_size_allocate),
2091 (hildon_caption_forall), (hildon_caption_set_separator),
2092 (hildon_caption_activate), (hildon_caption_set_child_expand),
2093 (hildon_caption_set_label_text),
2094 (hildon_caption_get_label_alignment):
2096 Remove unnecessary g_assert() calls.
2098 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2100 * src/hildon-banner.c
2101 (hildon_banner_map, hildon_banner_init): Make banner temporary
2102 before mapping it to avoid closing other temporary windows, but
2103 make it non-temporary afterwards to avoid being closed by other
2104 non-temporary windows.
2105 (-hildon_banner_client_event, hildon_banner_init):
2106 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2108 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2111 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2113 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2116 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2118 * src/hildon-remote-texture.c
2119 * src/hildon-remote-texture.h
2120 * src/hildon-remote-texture-private.h
2121 * examples/hildon-remote-texture-example.c:
2122 Updates/fixes to remote-texture and its example.
2124 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2126 Patch by Mox Soini (ext-mox.soini@nokia.com)
2128 * src/hildon-code-dialog.c: Update logical id.
2129 * src/hildon-set-password-dialog.c: Update logical id.
2131 Fixes: NB#100646 (Logical strings is shown for ok in set
2132 password,Password needed dialogs)
2134 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2137 * src/hildon-remote-texture.c
2138 * src/hildon-remote-texture.h
2139 * src/hildon-remote-texture-private.h
2141 Added remote texture widget (for Clutter shared memory textures)
2143 * examples/hildon-remote-texture-example.c
2144 * examples/Makefile.am
2145 Added example file for remote texture usage
2147 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2149 * configure.ac: post release version bump.
2150 * debian/changelog: version bump.
2152 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2157 * configure.ac: Bump version.
2158 * debian/changelog: Updates.
2160 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2162 * src/hildon-date-selector.c (hildon_date_selector_init)
2163 (hildon_date_selector_constructor): Don't connect to the "changed"
2164 signal until the selector is completely constructed.
2166 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2168 * src/hildon-touch-selector.c: (_create_new_column),
2169 (hildon_touch_selector_append_column),
2170 (hildon_touch_selector_set_column_selection_mode),
2171 (hildon_touch_selector_set_active),
2172 (hildon_touch_selector_select_iter):
2173 Emit the HildonTouchSelector::changed signal every time selection
2174 is changed in any of the methods above. This behavior was already
2175 documented but not fully functional.
2177 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2178 selection is programmatically changed)
2180 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2182 * doc/hildon-sections.txt: Remove obsolete icon
2183 sizes from here as well.
2185 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2187 * examples/hildon-stackable-window-example.c (add_window): Remove
2190 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2192 * src/hildon-app-menu.c
2193 (hildon_app_menu_show): Check whether the parent window of a menu
2194 is topmost before popping it up.
2196 Fixes: NB#100468 (Application menu window is launched even when a
2197 new secondary-window/dialog is pending to be shown/realized.)
2199 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2201 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2204 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2206 Patch by Mox Soini (ext-mox.soini@nokia.com)
2208 * src/hildon-banner.c: (hildon_banner_show_animation):
2209 use stylus size instead of obsolete note size.
2210 * src/hildon-defines.h: Update icon sizes.
2212 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2214 * src/hildon-touch-selector-entry.c:
2215 (hildon_touch_selector_entry_init): Disable unsupported
2217 (hildon_touch_selector_entry_get_text_column): Emit a warning
2218 if an unsupported input modes is used and explicitile state
2219 these modes in the documentation.
2221 Fixes: NB#99802 (Hildon touch selector entry not working properly
2222 for some of the input modes)
2224 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2226 * src/hildon-pannable-area.c,
2227 (hildon_pannable_area_init): Added the changed signal handlers of
2230 Fixes: NB#100320 (HildonPannableArea does not listen to
2231 GtkAdjustment "change" signals)
2233 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2235 * doc/hildon-sections.txt
2236 * src/hildon-window-private.h
2237 * src/hildon-window.h
2238 * src/hildon-window.c (hildon_window_init)
2239 (hildon_window_realize, hildon_window_unrealize)
2240 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2241 (hildon_window_size_request, hildon_window_size_allocate)
2242 (hildon_window_forall, hildon_window_show_all)
2243 (hildon_window_destroy, +paint_edit_toolbar)
2244 (+hildon_window_set_edit_toolbar):
2245 New hildon_window_set_edit_toolbar() method, to add a
2246 HildonEditToolbar to a window without having to pack it manually.
2248 Reorganize hildon_window_size_allocate()
2250 * src/hildon-edit-toolbar.c: Update documentation.
2252 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2253 example to use the new API.
2255 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2257 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2259 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2260 Remove from stack before calling parent's hide.
2262 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2264 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2265 window is removed from the middle of the stack, update the
2266 transiency of the previous one.
2268 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2271 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2273 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2274 block/unblock the signal handler if it's not actually being used.
2275 Fixes some critical warnings.
2277 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2279 Based on a patch by Iván Gómez (igomez@igalia.com)
2281 * src/hildon-banner.c
2285 * src/hildon-pannable-area.c
2286 * src/hildon-picker-dialog.c
2287 * src/hildon-wizard-dialog.h
2288 * src/hildon-wizard-dialog.c: Documentation updates.
2290 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2291 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2293 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2295 * configure.ac: post release version bump.
2296 * debian/changelog: version bump.
2298 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2303 * configure.ac: Bump version.
2304 * debian/changelog: Updates.
2306 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2308 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2309 a stock icon nor change the relief of the back arrow.
2311 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2312 graphics from theme)
2314 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2316 * src/hildon-button.c (hildon_button_set_alignment): Use
2317 priv->alignment if the button has no child yet.
2319 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2321 * src/hildon-button.c: (hildon_button_init): Set the
2322 button style during initialization to give it the proper
2325 Fixes: NB#99713 (HildonButton value label color is wrong)
2327 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2329 * src/hildon-touch-selector.c: Document
2330 hildon_touch_selector_center_on_selected()
2332 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2334 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2335 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2336 all menu items, but not the menu itself.
2337 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2338 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2339 items after adding them to the menu so keyboard accelerators work.
2340 (hildon_app_menu_show): Don't show the menu if it contains items
2341 but none of them are visible.
2343 * examples/hildon-app-menu-example.c (create_menu): Use
2344 gtk_widget_show_all() to show all menu items.
2346 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2348 * src/hildon-picker-dialog.c:
2349 (-_update_title_on_selector_changed_cb),
2350 (-_dialog_update_title): Removed.
2351 (_select_on_selector_changed_cb), (_on_dialog_response),
2352 (on_selector_columns_changed): Do not update the dialog title.
2353 (setup_interaction_mode): Do not connect to
2354 HildonTouchSelector::changed signal if there's a "done" button, as
2355 the dialog title doesn't need to be updated.
2357 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2360 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2362 Patch by Kristian Rietveld (kris@imendio.com)
2364 * src/hildon-touch-selector.c: (_create_new_column): Use new
2365 GtkTreeView::hildon-row-tapped signal to react to user interactions
2366 instead of ::changed.
2368 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2369 with some dynamic tree model)
2371 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2373 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2374 (+screen_size_changed, +label_size_request)
2375 (hildon_note_class_init): Make the Hildon information note have a
2376 minimum height, and make its text hvae a maximum width.
2378 Fixes: NB#98614 (Hildon information note (background) should have
2379 minimum height and maximum text width)
2381 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2383 * src/hildon-banner.h
2384 * src/hildon-banner.c (hildon_banner_show_information)
2385 (hildon_banner_show_informationf)
2386 (hildon_banner_show_information_with_markup): Update documentation
2387 to reflect that the icon_name parameter is not used anymore.
2388 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2389 Remove all code from these functions and mark them as deprecated.
2390 (hildon_banner_show_progress): Mark as deprecated.
2392 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2394 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2396 * src/hildon-pannable-area.c,
2397 (hildon_pannable_area_class_init),
2398 (tranparency_color),
2399 (hildon_pannable_draw_vscroll),
2400 (hildon_pannable_draw_hscroll),
2401 (hildon_pannable_area_expose_event): Added a new way to render the
2402 scrollbars of the pannable area avoiding using cairo at all. This
2403 way we improve the performance of the pannable area rendering. The
2404 cairo rendering procedure is still in the code, we can control
2405 which one to use changing the value of the define
2406 USE_CAIRO_SCROLLBARS.
2408 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2410 * configure.ac: post release version bump.
2411 * debian/changelog: version bump.
2413 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2418 * configure.ac: Bump version.
2419 * debian/changelog: Updates.
2421 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2423 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2424 banners instead of destroying them when they receive a button
2427 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2429 Reverted commit 34028, it was causing regressions, probably the
2430 topmost condition is not correct, we have to check it in more
2431 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2432 propagation of button press events)
2434 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2436 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2437 that the selection is not empty before attempting to retrieve the
2438 current ampm selection.
2440 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2442 * src/hildon-picker-button.c:
2443 (hildon_picker_button_on_dialog_response): Directly update the
2444 button contents when required instead of calling _selection_changed.
2446 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2448 * src/hildon-program.c (hildon_program_update_top_most): Update
2449 'is-topmost' property also when wm_hints is not set.
2451 Fixes: NB#98383 (is-topmost signal is not emitted when task
2452 switcher is clicked.)
2454 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2456 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2460 * src/hildon-animation-actor.c,
2461 * src/hildon-animation-actor.h: Added the animation actor class,
2462 this widget represents an animation actor for WM-assisted
2463 animation effects in the Hildon framework.
2465 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2467 * src/hildon-window-stack-private.h
2468 * src/hildon-window-stack.c
2469 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2470 Avoid calling gtk_widget_show() again indirectly from
2471 hildon_stackable_window_show()
2473 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2475 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2478 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2480 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2481 (hildon_time_selector_init): Move the construction of the hours and
2482 ampm columns to the constructor to preserve the order the columns
2485 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2487 * src/hildon-picker-dialog.c:
2488 (hildon_picker_dialog_class_init): Connect a realize method.
2489 (+hildon_picker_dialog_realize): Setup the interaction mode here
2491 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2492 yet, do it during the realize instead.
2493 (_on_dialog_response):
2494 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2495 if the widget is not realized, to avoid the dialog response before it
2498 Avoid premature responses in the HildonPickerDialog that can cause it
2499 to be hidden before it's even shown.
2501 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2503 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2504 (on_selector_columns_changed), (requires_done_button),
2505 (+prepare_action_area), (setup_interaction_mode),
2506 (_hildon_picker_dialog_set_selector):
2508 Split the interaction mode setup into preparation of the
2509 action area (prepare_action_area()) and the connection of
2510 the signals in setup_interaction_mode() and update the code to
2513 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2515 * src/hildon-pannable-area.c,
2516 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2517 per second to 15, we will check if this is ok regarding
2520 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2522 * src/hildon-pannable-area.c,
2523 (hildon_pannable_axis_scroll): Avoid resize if we already have
2524 reached overshoot_max.
2526 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2528 * src/hildon-pannable-area.c,
2529 (hildon_pannable_area_init),
2530 (hildon_pannable_area_realize),
2531 (hildon_pannable_area_size_allocate),
2532 (hildon_pannable_area_map),
2533 (hildon_pannable_area_unmap),
2534 (hildon_pannable_draw_vscroll),
2535 (hildon_pannable_draw_hscroll),
2536 (hildon_pannable_area_expose_event),
2537 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2538 pannable are to avoid the expose events go to the window and
2539 redraw the window. We save this way that part of the stack and the
2540 paint_boxes. We had to change the positions of the elements when
2543 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2545 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2546 * src/hildon-color-chooser-dialog.c:
2547 (hildon_color_chooser_dialog_init):
2548 * src/hildon-font-selection-dialog.c:
2549 (hildon_font_selection_dialog_init),
2550 (hildon_font_selection_dialog_show_preview):
2551 * src/hildon-get-password-dialog.c:
2552 * src/hildon-login-dialog.c:
2553 * src/hildon-set-password-dialog.c:
2554 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2555 * src/hildon-time-picker.c: (hildon_time_picker_init):
2557 Remove obsolete logical string IDs and update to the appropriate ones.
2559 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2561 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2563 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2564 that happens if the window hasn't been realized yet.
2566 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2567 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2569 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2571 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2572 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2575 Fixes: NB#98537 (Device hangs in account settings dialog)
2577 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2579 * configure.ac: post release version bump.
2580 * debian/changelog: version bump
2582 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2587 * configure.ac: Bump version.
2588 * debian/changelog: Updates.
2590 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2592 Added a new function to the HildonTimeButton widget that allows to
2593 change the step of the minutes in the selector associated with the
2594 button: hildon_time_button_new_step
2596 * src/hildon-time-button.c,
2597 (hildon_time_button_init),
2598 (hildon_time_button_new),
2599 (hildon_time_button_new_step):
2600 * src/hildon-time-button.h: Added the new function and refactored
2602 * examples/hildon-time-button-example.c,
2603 (main): We have replaced the function without parameters with the
2604 function with the steps set to 5
2606 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2608 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2610 * src/hildon-time-selector.c,
2611 (hildon_time_selector_class_init),
2612 (hildon_time_selector_constructor),
2613 (hildon_time_selector_get_property),
2614 (hildon_time_selector_set_property),
2615 (_create_minutes_model),
2616 (hildon_time_selector_new_step),
2617 (hildon_time_selector_set_time),
2618 * src/hildon-time-selector.h: Added a new property to the
2619 HildonTimeSelector (minutes-step), we use that property to control
2620 the steps between the minutes in the list of the selector. We have
2621 added a new function to the API to create a widget changing the
2622 step: hildon_time_selector_new_step.
2624 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2626 * src/hildon-time-selector.c,
2627 (hildon_time_selector_class_init),
2628 (hildon_time_selector_constructor),
2629 (hildon_time_selector_init): Overrided the construct function when
2630 creating the time selector object. We have moved the minutes model
2631 handling code from the init to the new construction function:
2632 hildon_time_selector_constructor.
2634 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2636 * examples/hildon-date-button-example.c: (main): Use the new
2637 hildon_date_button_new_with_year_range() method in the example.
2638 * src/hildon-date-button.c:
2639 (+hildon_date_button_new_with_year_range): New public method
2640 to conveniently create a HildonDateButton with a custom year range
2641 in its HildonDateSelector.
2642 * src/hildon-date-button.h: Add the new public method definition.
2644 Fixes: NB#97908 (Not possible to change the year range in
2645 HildonDateSelector/HildonDateButton)
2647 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2649 * src/hildon-date-selector.c:
2650 (+hildon_date_selector_set_property),
2651 (+hildon_date_selector_get_property),
2652 (hildon_date_selector_class_init): Install new properties "min-year"
2653 and "max-year" to define boundaries for the year column.
2654 (_create_year_model): Use the boundary properties to populate the model.
2655 (+hildon_date_selector_new_with_year_range): New public method to
2656 create a HildonDateSelector with a user defined year range.
2657 (hildon_date_selector_select_current_date): Use the new boundaries to
2658 calculate the iterator of current year.
2659 * src/hildon-date-selector.h: Add the new public method definition.
2661 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2663 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2664 Install a constructor method.
2665 (+hildon_date_selector_construct_ui): construct the widget.
2666 (+hildon_date_selector_constructor): new constructor.
2667 (+hildon_date_selector_init): move out widget construction code to
2668 the new constructor.
2670 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2672 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2673 that there's actually a month or year selected before obtaining them.
2674 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2675 of the HildonTouchSelector::changed signal, as it was emitted on every
2676 single item selection.
2678 Fix some warnings and possible crashers due to the selection restoring.
2680 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2682 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2683 the signal handlers only after creating the dialog instead of on every
2686 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2688 * src/hildon-button.c (hildon_button_init)
2689 * src/hildon-check-button.c (hildon_check_button_init)
2690 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2691 focus when clicked by default.
2693 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2695 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2698 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2700 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2701 Alejandro G. Castro (alex@igalia.com)
2703 * src/hildon-picker-dialog.c:
2704 (hildon_picker_dialog_class_init): install new "center-on-show"
2706 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2707 (hildon_picker_dialog_set_property): add setter code for the new
2709 (hildon_picker_dialog_get_property): add getter code for the new
2711 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2712 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2715 Fixes: NB#92849 (Selected item is not always visible when
2716 HildonTouchSelector is shown)
2718 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2720 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2721 Alejandro G. Castro (alex@igalia.com)
2723 * src/hildon-touch-selector.c:
2724 (_create_new_column): Do not connect to the "realize" signal of the
2726 (hildon_touch_selector_append_column): center on the selected items
2727 when a new column is appended.
2728 (hildon_touch_selector_select_iter): Factor out the code to select a
2729 column to hildon_touch_selector_scroll_to().
2730 (+search_nearest_element): Method to retrieve the nearest selected
2731 element to the visible area of the pannable area in a column.
2732 (+on_realize_cb): scroll to the initially selected item.
2733 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2734 the pannable area is realized, otherwise delay this until it is.
2735 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2736 selected items of a given column.
2737 (+hildon_touch_selector_center_on_selected): Public method to center
2738 all columns on the nearest selected item.
2739 * src/hildon-touch-selector.h: Add definition for
2740 hildon_touch_selector_center_on_selected().
2742 Implement public API to ensure visibility of all selected items in
2743 a HildonTouchSelector.
2745 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2747 Fixed a problem in the fading when calling the scroll_to API, and
2748 improve scrollbar fading handling.
2750 * src/hildon-pannable-area.c,
2751 (hildon_pannable_area_grab_notify): avoid the timeout when the
2753 (hildon_pannable_area_button_press_cb),
2754 (hildon_pannable_area_motion_notify_cb): Code style changes.
2755 (hildon_pannable_area_button_release_cb): Review the conditions
2756 when releasing the mouse button to avoid unrequired fading
2758 (hildon_pannable_area_scroll_to): Do not calculate and set the
2759 velocity if the scroll is not required.
2761 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2763 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2764 Don't check whether the new selector is NULL: it cannot be.
2765 Hold a reference to the selector while doing the replacement.
2767 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2769 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2770 unnecessary size_request in a removed widget.
2772 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2774 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2775 an unnecessary reference tracking that was leaking.
2777 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2779 Added delayed motion notify event handling, this way we can
2780 discard redrawing if more than 25 events arrive per second.
2782 * src/hildon-pannable-area.c,
2783 (hildon_pannable_area_init): Initialized the new private atributes
2784 controlling this timeout
2785 (hildon_pannable_area_dispose): Remove the timeout that controls
2786 the motion notify events.
2787 (hildon_pannable_area_scroll): Added a condition to control the
2788 use of the acceleration.
2789 (hildon_pannable_area_motion_event_scroll_timeout),
2790 (hildon_pannable_area_motion_event_scroll): Added this two
2791 functions, they handle the motion notify events inside the
2793 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2794 to the scroll method with the new function.
2795 (hildon_pannable_area_button_release_cb): We have to remove the
2796 timeout handler and move to the last position if the last motion
2797 events were not handled.
2799 Fixes: NB#97028 (Pannable area updates on every motion event)
2801 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2803 * src/hildon-pannable-area.c,
2804 (hildon_pannable_area_get_topmost): Added a new parameter to
2805 filter the the windows that do not include those events. Added
2806 also a condition when finding the window to filter windows that do
2807 not ask for those events.
2808 (hildon_pannable_area_button_press_cb),
2809 (hildon_pannable_area_button_release_cb),
2810 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2811 topmost function, we have added the new parameter.
2813 Fixes: NB#97458 (Pannable area prevents propagation of button
2816 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2818 * src/hildon-pannable-area.c,
2819 (hildon_pannable_area_initial_effect): Added controls before
2820 launching the timeout and the idle functions.
2821 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2822 of the method, in some situations it can return with TRUE and 0 in
2824 (hildon_pannable_area_button_press_cb): We do not need to set
2825 DELAY for fading out here.
2827 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2829 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2831 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2832 post-cleaning if the selection is not NULL.
2834 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2836 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2837 all items before restoring the selection.
2839 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2841 * src/hildon-touch-selector.c:
2842 (+hildon_touch_selector_unselect_all):
2843 * src/hildon-touch-selector.h: New API to unselect all items in a
2844 column of the touch selector.
2846 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2848 * src/hildon-pannable-area.c,
2849 (hildon_pannable_area_redraw): Added a call to the refresh
2850 function inside the redraw because apparently in some cases the
2851 change in the adjustment does not imply a size allocate.
2853 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2854 despite the view not being scrollable)
2856 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2858 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2859 leak. Check for NULL before attempting to set the window title.
2861 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2863 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2864 whether to show or not the 'Done' button each time the dialog is
2865 shown, as it depends on the HildonTouchSelector selection mode.
2867 Fixes: NB#96226 (In multiple selection mode Done button is shown
2868 sometimes in listpicker)
2870 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2872 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2873 for the number of columns in the HildonTouchSelector more than once.
2875 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2877 * src/hildon-touch-selector.c: Minor documentation fixes.
2879 * src/hildon-picker-dialog.c (+_dialog_update_title)
2880 (_select_on_selector_changed_cb)
2881 (_update_title_on_selector_changed_cb)
2882 (on_selector_columns_changed): Update dialog title when there's no
2883 'Done' button and also when the number of columns in the selector
2887 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2888 (+_selection_changed, hildon_picker_button_on_dialog_response)
2889 (hildon_picker_button_selector_selection_changed)
2890 (+hildon_picker_button_selector_columns_changed)
2891 (hildon_picker_button_set_selector): Update button value and emit
2892 'value-changed' when the number of columns in the selector
2896 Fixes: NB#96225 (Dialog titles are not shown according to the
2897 values selected in the list picker)
2899 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2901 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2902 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2903 New "arrow-width" and "arrow-height" style properties to set the
2904 size of the arrow button.
2905 Set name of arrow button ("hildon-edit-toolbar-arrow").
2907 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2908 graphics from theme)
2910 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2912 * src/hildon-picker-button.c:
2913 (hildon_picker_button_selector_selection_changed): Use
2914 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2915 the dialog is present.
2917 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2918 the selection is accepted in the dialog)
2920 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2922 * src/hildon-color-chooser.h
2923 * src/hildon-color-chooser-dialog.h:
2924 Added G_BEGIN_DECLS and G_END_DECLS
2926 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2928 (_clean_current_selection): plug a leak in the list.
2930 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2932 * src/hildon-picker-dialog.c:
2933 (+free_path_list): Method to free a GList of GtkTreePaths.
2934 (_clean_current_selection), (_save_current_selection),
2935 (_restore_current_selection): Save the current selection in
2936 as a list of lists, to support multiple selection properly.
2938 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2940 patch by Claudio Saavedra (csaavedra@igalia.com)
2942 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2943 Store the press position.
2944 (+hildon_text_view_button_release_event): If the release position is
2945 close enough to the press position, move the cursor here. Otherwise,
2947 (hildon_text_view_class_init): Override GtkTextView press, release, and
2948 motion event handlers, disabling this way text selection through
2949 pointer interaction, and allowing the container widget to handle the
2952 Fixes: NB#95828 (HildonTextView functionality)
2954 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2956 Based on a patch by Iván Gómez (igomez@igalia.com)
2958 * src/hildon-button.[ch]
2959 * src/hildon-calendar.c
2960 * src/hildon-check-button.c
2961 * src/hildon-date-editor.c
2962 * src/hildon-date-selector.c
2963 * src/hildon-picker-button.c
2964 * src/hildon-time-editor.c
2965 * src/hildon-time-selector.c
2966 * src/hildon-touch-selector.[ch]:
2967 Documentation updates
2969 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2971 * src/hildon-pannable-area.c,
2972 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2973 threshold, it was required due to X events handling.
2975 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2977 * src/hildon-pannable-area.c,
2978 (hildon_pannable_area_grab_notify),
2979 (hildon_pannable_area_initial_effect),
2980 (hildon_pannable_area_button_press_cb),
2981 (hildon_pannable_area_button_release_cb),
2982 (hildon_pannable_area_scroll_cb),
2983 (hildon_pannable_area_scroll_to): Review the timeout management of
2984 the scrollbar, the frecuency was incorrectly set.
2986 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2988 * src/hildon-picker-button.c:
2989 (+hildon_picker_button_on_dialog_response),
2990 (hildon_picker_button_clicked): Present the dialog instead of
2991 running it with gtk_dialog_run().
2993 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2996 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2998 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2999 (hildon_app_menu_finalize): When a window is hidden it doesn't
3000 emit notify::is-topmost, so make sure than the menu also
3001 disappears in that case.
3002 (parent_window_topmost_notify): Renamed from parent_window_hidden
3004 Fixes: NB#94460 (stackable window's menu is not closed when its
3007 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3009 * src/hildon-touch-selector-entry.c:
3010 (+hildon_touch_selector_entry_set_input_mode),
3011 (+hildon_touch_selector_entry_get_input_mode):
3012 * src/hildon-touch-selector-entry.h: New methods to access the input
3013 mode in the selector's entry.
3015 Fixes: NB#93410 (API required for setting IM mode in
3016 HildonTouchSelectorEntry)
3018 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3020 * configure.ac: post release version bump.
3021 * debian/changelog: version bump
3023 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3028 * configure.ac: Bump version.
3029 * debian/changelog: Updates.
3031 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3033 * src/hildon-touch-selector.c:
3034 (_hildon_touch_selector_has_multiple_selection): No need
3035 to initialize the variables here.
3037 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3039 * src/hildon-note-private.h
3040 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3041 (hildon_note_finalize, hildon_note_rebuild): Close information
3042 notes when they receive a button press.
3044 Fixes: NB#89890 (Information notes does not get disappeared after
3047 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3049 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3050 mark from the wizard title, as it's not really necessary. Also,
3051 do not display the page title if not set.
3053 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3055 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3056 (parent_window_hidden): Use the window's "is-topmost" property to
3057 detect when to hide the menu.
3059 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3061 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3062 (hildon_app_menu_finalize): If the parent window of the menu is
3063 hidden, hide the menu too.
3065 Fixes: NB#94460 (stackable window's menu is not closed when its
3068 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3071 * debian/libhildon1-examples.install
3073 * examples/Makefile.am:
3074 Use dh_install to install all examples.
3075 Use DEB_SRCDIR instead of defining SOURCE_DIR
3077 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3079 * configure.ac: post release version bump.
3080 * debian/changelog: version bump
3082 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3087 * configure.ac: bump version
3088 * debian/changelog: updates
3089 * debian/control: bump gtk+ dependency
3091 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3093 patch by Christian Dywan (christian@imendio.com)
3095 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3096 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3098 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3100 * src/hildon-check-button.c (hildon_check_button_init)
3101 (hildon_check_button_class_init, hildon_check_button_style_set)
3102 (hildon_check_button_apply_style):
3103 New "checkbox-size" style property.
3105 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3106 larger / configurable size)
3108 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3110 * configure.ac: post release version bump.
3111 * debian/changelog: version bump
3113 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3118 * configure.ac: bump version
3119 * debian/changelog: updates
3121 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3123 * doc/hildon-sections.txt
3124 * src/hildon-pannable-area.c
3125 * src/hildon-program.c
3126 * src/hildon-time-editor.c
3127 * src/hildon-touch-selector-entry.c:
3129 More documentation updates.
3131 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3133 * doc/hildon-sections.txt
3134 * src/hildon-caption.c
3135 * src/hildon-code-dialog.c
3136 * src/hildon-color-button.c
3137 * src/hildon-controlbar.c
3138 * src/hildon-date-editor.c
3139 * src/hildon-date-selector.c
3140 * src/hildon-edit-toolbar.c
3141 * src/hildon-find-toolbar.c
3142 * src/hildon-font-selection-dialog.c
3144 * src/hildon-program.c
3145 * src/hildon-range-editor.c
3146 * src/hildon-seekbar.c
3147 * src/hildon-time-editor.c
3148 * src/hildon-time-selector.c
3149 * src/hildon-volumebar-range.c
3150 * src/hildon-volumebar.c
3151 * src/hildon-vvolumebar.c
3152 * src/hildon-weekday-picker.c
3153 * src/hildon-window.c
3154 * src/hildon-wizard-dialog.c:
3156 Lots of documentation fixes.
3158 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3160 Patch contributed by Iván Gómez (igomez@igalia.com)
3162 * src/hildon-check-button.c:
3163 * src/hildon-date-button.c:
3164 * src/hildon-date-selector.c:
3165 * src/hildon-dialog.c:
3166 * src/hildon-edit-toolbar.c:
3167 * src/hildon-entry.c:
3168 * src/hildon-picker-button.c:
3169 * src/hildon-program.c:
3170 * src/hildon-text-view.c:
3171 * src/hildon-time-button.c:
3172 * src/hildon-touch-selector-entry.c:
3173 * src/hildon-window-stack.c:
3175 Add more "since" tags to the new API.
3177 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3179 * doc/hildon-sections.txt: Add below method.
3180 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3181 version for the hildonized scale.
3182 * src/hildon-gtk.h: Add the definition.
3184 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3186 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3188 * doc/hildon-sections.txt: Add missing entries for new methods.
3190 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3192 Added API to pannable are in order to get its adjustments. We
3193 added two properties to manage the values we had in the private
3196 * src/hildon-pannable-area.c:
3197 (hildon_pannable_area_class_init): Added hadjustment and
3198 vadjustment properties in order to expose horizontal and vertical
3200 (hildon_pannable_area_get_property),
3201 (hildon_pannable_area_set_property): Added code to handle the new
3203 (hildon_pannable_area_get_hadjustment),
3204 (hildon_pannable_area_get_vadjustment): API functions to get the
3206 * src/hildon-pannable-area.h:
3207 (hildon_pannable_area_get_hadjustment),
3208 (hildon_pannable_area_get_vadjustment): API functions to get the
3211 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3213 Fixed some leaks, after valgrinding.
3215 * src/hildon-touch-selector.c:
3216 (_default_print_func): Fixed a leak.
3217 (hildon_touch_selector_append_column): Fixed a leak.
3218 * src/hildon-date-button.c:
3219 (hildon_date_button_init): Fixed a leak.
3220 * src/hildon-date-selector.c
3221 (hildon_date_selector_finalize): Fixed a leak.
3223 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3225 Based on a patch by Christian Dywan (christian@imendio.com)
3227 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3229 * src/hildon-gtk.h: Add definition.
3231 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3233 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3235 * src/hildon-picker-button.c: (hildon_picker_button_init),
3236 (hildon_picker_button_new): Set the HildonButton::style property
3237 in the init method, to propagate the value to the derived classes.
3239 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3241 * src/hildon-button.c: (hildon_button_class_init): Do not make
3242 the "style" property a construct property.
3244 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3246 * src/hildon-wizard-dialog.h
3247 * src/hildon-wizard-dialog.c
3248 (hildon_wizard_dialog_set_forward_page_func)
3249 * src/hildon-pannable-area.h
3250 * src/hildon-pannable-area.c
3251 (hildon_pannable_area_set_size_request_policy):
3252 Documentation fixes.
3254 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3256 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3258 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3260 * doc/hildon-sections.txt: Added sections file.
3262 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3265 * src/*.[ch]: Updates.
3267 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3269 * examples/hildon-progress-indicator-example.c: new file
3270 * examples/Makefile.am: include the new example program
3272 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3274 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3276 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3278 * configure.ac: post release version bump
3279 * debian/changelog: version bump
3281 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3286 * configure.ac: bump version
3287 * debian/changelog: updates
3288 * debian/control: bump gtk+ dependency
3290 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3292 * src/hildon-dialog.c: Mark as deprecated.
3293 * src/hildon-dialog.h: Mark as deprecated.
3294 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3295 from HildonDialog and still work, even if
3296 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3297 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3299 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3300 maemo changes) instead)
3302 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3304 * src/hildon-pannable_area.h:
3305 * src/hildon-pannable_area.c:
3306 (hildon_pannable_area_class_init),
3307 (hildon_pannable_area_set_property),
3308 (hildon_pannable_area_get_property),
3309 (hildon_pannable_area_size_request),
3310 (hildon_pannable_area_get_size_request_policy),
3311 (hildon_pannable_area_set_size_request_policy): Added new API
3312 allowing applications to control the request policy. Now they can
3313 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3314 children allocation (HILDON_MOVEMENT_CHILDREN).
3316 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3320 (hildon_gtk_tree_view_set_ui_mode)
3321 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3322 mode of treeviews and iconviews.
3324 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3326 * src/hildon-touch-selector-entry.c:
3327 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3328 of a GtkEntry to get proper theming.
3330 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3331 widget, not GtkEntry)
3333 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3335 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3336 no HildonWizardDialogPageFunc.
3338 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3340 Patch contributed by Iván Gómez (igomez@igalia.com)
3342 * src/hildon-app-menu.c:
3343 * src/hildon-button.c:
3344 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3345 * src/hildon-stackable-window.c:
3346 * src/hildon-time-selector.c:
3347 * src/hildon-touch-selector.c:
3348 * src/hildon-window.c:
3350 Add more "since" tags to the new API in hildon 2.2.
3352 2008-12-05 Tim Janik <timj@imendio.com>
3354 Patch contributed by Christian Dywan (christian@imendio.com)
3356 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3357 HildonSizeType, which are supplied by Gtk+ now.
3359 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3361 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3362 (with maemo changes) instead)
3364 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3366 Patch contributed by Iván Gómez (igomez@igalia.com)
3368 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3371 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3373 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3374 (some_page_func), (main): Update the example to use a
3375 HildonWizardDialogPageFunc function.
3377 * src/hildon-wizard-dialog-private.h: Add private data for
3378 the HildonWizardDialogPageFunc function usage.
3380 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3381 (destroy), (hildon_wizard_dialog_init), (response),
3382 (hildon_wizard_dialog_set_forward_page_func):
3383 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3384 that applications can use to stop a HildonWizardDialog to jump to
3387 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3390 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3392 * src/hildon-program.h
3393 * src/hildon-program-private.h
3394 * src/hildon-program.c (hildon_program_init)
3395 (hildon_program_set_common_app_menu)
3396 (hildon_program_get_common_app_menu):
3397 New API for setting a common HildonAppMenu for all
3398 HildonStackableWindows registered with the HildonProgram.
3400 * src/hildon-stackable-window.c
3401 (hildon_stackable_window_toggle_menu):
3402 Use the common HildonAppMenu if a window doesn't have a specific
3405 * src/hildon-app-menu-private.h
3406 * src/hildon-app-menu.c
3407 (hildon_app_menu_get_parent_window):
3408 Function to obtain the window a HildonAppMenu is attached to.
3409 (hildon_app_menu_set_parent_window):
3410 Hide the menu if the parent window is set to NULL.
3412 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3414 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3415 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3416 search widget to popup.
3418 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3420 * configure.ac: post release version bump
3421 * debian/changelog: version bump
3423 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3428 * configure.ac: bump version
3429 * debian/changelog: updates
3431 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3433 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3435 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3436 (hildon_window_stack_window_realized)
3437 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3438 Set the leader GdkWindow when a window is stacked and realized,
3439 unset it when it's unstacked.
3440 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3442 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3444 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3446 * src/hildon-stackable-window.h
3447 * src/hildon-window-stack.h:
3448 Protect definition of HildonWindowStack using the preprocessor.
3450 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3452 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3453 Fix warning if all menu items are hidden.
3455 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3457 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3459 * src/hildon-controlbar.c:
3460 * src/hildon-hvolumebar.c:
3461 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3462 Multiple scale size defines updates.
3464 Fixes: NB#94322 (Scale Updates)
3466 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3468 * examples/hildon-app-menu-example.c (create_menu)
3469 Show items after adding them to the menu, as in the future the
3470 menu will no longer call gtk_widget_show() on the added items.
3472 * src/hildon-app-menu.c:
3473 Update example as explained above.
3475 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3477 * src/hildon-app-menu.c
3478 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3479 Make sure that all menu items have finger height.
3481 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3483 * src/hildon-picker-dialog.c:
3484 (_on_dialog_response), (_save_current_selection),
3485 (_restore_current_selection), (_clean_current_selection),
3486 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3487 Defined new functions in order to save the current internal selector
3488 selection previous open the dialog, in case that the use cancel the
3489 interaction, so the widget restores the previous selection.
3491 Fixes: NB#92032 (In calendar application, date values in 'new event'
3494 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3496 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3498 * src/hildon-button.c: Add a reference to the button examples in
3499 hildon-button-example.c
3501 * examples/hildon-button-example.c: Added examples of the most
3502 common button layouts.
3504 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3506 * src/hildon-app-menu.c (hildon_app_menu_show)
3507 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3509 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3511 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3513 * src/hildon-picker-dialog.c:
3514 (hildon_picker_dialog_init): Initialize the signal id for
3515 HildonTouchSelector::columns-changed.
3516 (+on_selector_columns_changed): Set up the interaction mode everytime a
3517 column is added or removed from the HildonTouchSelector.
3518 (_hildon_picker_dialog_set_selector): Connect to
3519 HildonTouchSelector::columns-changed and keep track of it.
3521 Make sure to update the interaction mode of the dialog everytime a
3522 column is added or removed in the HildonTouchSelector.
3524 Fixes: NB#93228 (Done button is not shown always in listpicker)
3526 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3528 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3529 a new ::columns-changed signal.
3530 (hildon_touch_selector_append_column): Emit ::columns-changed.
3531 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3533 Add a ::columns-changed signal, emitted when the number of columns in a
3534 HildonTouchSelector changes.
3536 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3538 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3539 (_hildon_picker_dialog_set_selector): Factor out the code
3540 to set up the dialog interaction mode.
3542 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3544 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3545 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3546 to signal_changed_id.
3548 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3550 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3553 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3555 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3556 Updated the logical ids related to ampm format, as now it is required to
3557 show it correctly localized even on languages with no default
3558 abbreviations for am or pm
3559 (_check_am_pm_format): check correctly the 24h format gconf property
3561 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3563 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3565 * src/hildon-button.c: Documentation updates.
3567 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3569 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3570 * src/hildon-caption.c: (hildon_caption_class_init):
3571 * src/hildon-color-button.c: (hildon_color_button_class_init):
3572 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3573 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3574 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3575 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3577 Remove deprecated GTK+ marshalers and replace them with the ones
3578 provided by GLib, for those available, add a marshaler for
3579 BOOLEAN:VOID, which is not available in GLib, and use it.
3581 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3583 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3584 the text from the previous column if there is no
3585 HildonTouchSelectorColumn::text-property set.
3587 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3589 * src/hildon-button.h
3590 * src/hildon-button.c (hildon_button_set_property)
3591 (hildon_button_get_property, hildon_button_class_init)
3592 (hildon_button_set_style, hildon_button_get_style):
3593 New "style" property to change the visual appearance of the
3596 * src/hildon-picker-button.c (hildon_picker_button_new):
3597 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3599 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3600 HildonButton look like PickerButton)
3602 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3604 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3605 column while building the default string.
3607 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3609 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3610 scroll indicator by default.
3612 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3614 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3616 * src/hildon-main.c: Fix the documentation for hildon_init()
3618 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3620 * doc/hildon-docs.sgml
3624 * src/hildon-window-stack-private.h
3625 * src/hildon-window-stack.h
3626 * src/hildon-window-stack.c:
3627 New HildonWindowStack object, that adds support for multiple
3628 stacks of windows per process.
3630 * src/hildon-stackable-window-private.h
3631 * src/hildon-stackable-window.h
3632 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3633 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3634 (hildon_stackable_window_show, hildon_stackable_window_hide)
3635 (hildon_stackable_window_class_init)
3636 (hildon_stackable_window_init):
3637 Use HildonWindowStack for stack management.
3639 * src/hildon-program.c (hildon_program_pop_window_stack)
3640 (hildon_program_peek_window_stack)
3641 (hildon_program_go_to_root_window):
3642 Add a fallback implementation to the deprecated functions using
3645 * examples/hildon-stackable-window-example.c:
3646 Use the new HildonWindowStack API.
3648 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3650 * src/hildon-stackable-window-private.h
3651 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3652 (hildon_stackable_window_hide, hildon_stackable_window_init):
3653 Remove all window stack management.
3655 * src/hildon-program-private.h
3656 * src/hildon-program.h
3657 * src/hildon-program.c (hildon_program_init)
3658 (hildon_program_pop_window_stack)
3659 (hildon_program_peek_window_stack)
3660 (hildon_program_go_to_root_window):
3661 Remove all window stack management and mark functions as
3664 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3666 * src/hildon-app-menu.c (hildon_app_menu_realize):
3667 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3669 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3671 * configure.ac: post release version bump
3672 * debian/changelog: version bump
3674 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3679 * configure.ac: bump version
3680 * debian/changelog: updates
3682 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3684 Based on initial code by Christian Dywan (christian@imendio.com)
3686 * doc/hildon-docs.sgml: Add section for hildon-main.
3687 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3688 * src/Makefile.am: Add new hildon-main.[ch]
3689 * src/hildon-defines.h: Update the icon sizes.
3690 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3691 new library initialization files and register icon sizes.
3692 * src/hildon-main.h: New declarations.
3693 * src/hildon.h: Include hildon-main.h
3695 Add new initialization functions to the library. These methods
3696 will register the hildon specific icon sizes and can be used in the
3697 future for other hildon specific bits.
3699 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3701 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3703 * src/hildon-window.c: (hildon_window_realize),
3704 (hildon_window_notify), (-hildon_window_update_title): Do not set
3705 the application name in the window title.
3707 Fixes: NB#89754 (Applications shouldn't display their names in the
3710 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3712 * src/hildon-note-private.h:
3713 * src/hildon-note.c: (hildon_note_set_property),
3714 (hildon_note_get_property), (hildon_note_class_init),
3715 (hildon_note_init), (hildon_note_finalize),
3716 (hildon_note_new_confirmation_with_icon_name),
3717 (hildon_note_new_information_with_icon_name):
3719 No need to mark as deprecated the actual code. Revert
3720 to avoid missing symbols in widgets using deprecated API.
3722 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3724 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3726 * src/hildon-volumebar.h
3727 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3728 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3730 * src/hildon-helper.h
3731 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3732 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3734 * examples/Makefile.am:
3735 Deprecate hildon-insensitive-example
3737 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3739 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3741 * examples/hildon-pannable-area-buttons-scroll-example.c:
3742 Make all buttons finger height
3744 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3746 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3748 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3749 update the day model only if it is really required, and to avoid the
3750 full-reconstruction aproach. Now it only add or remove the required days.
3752 The purpose of this is avoid superfluous HildonTouchSelector::changed
3755 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3756 with strange parameters)
3758 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3760 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3762 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3763 the WINDOW_TYPE property.
3765 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3767 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3770 Fix dependency to allow parallel compilation with make -jX
3772 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3774 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3775 color frame and some minor tweaks to make it more consistent with
3778 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3779 highlighted but not visible)
3781 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3783 * examples/Makefile.am: Fixed typo in the Makefile.am.
3785 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3787 Reviewed the use of MAEMO_GTK define, now we add the define in the
3788 compilation line, and we also add it to the pc file.
3790 * configure.ac: Added MAEMO_GTK define to the compilation command
3791 and removed it from the config.h.
3793 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3794 do not have to take care about this define if the library was
3798 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3800 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3802 * examples/Makefile.am,
3803 * examples/hildon-pannable-area-buttons-scroll-example.c,
3804 * examples/hildon-pannable-area-gesture-signals-example.c,
3805 * examples/hildon-pannable-area-scroll-jump-example.c,
3806 * examples/hildon-pannable-area-tree-view-example.c:
3807 Renamed the pannable area examples, now they have more meaningful
3810 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3812 * src/hildon-touch-selector.c:
3813 (hildon_touch_selector_set_column_selection_mode): Used of
3814 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3815 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3816 to avoid re-seting the same selection mode.
3818 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3819 breaks HildonPickerDialog)
3821 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3823 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3824 conditional in the Makefile.am
3826 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3828 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3829 Remove unused methods.
3831 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3833 * src/hildon-button.c (hildon_button_init):
3834 Make button images center-aligned by default
3836 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3839 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3840 activated, we have to think about how to deal with both defines
3841 MAEMO_GTK and MAEMO_CHANGES.
3843 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3845 * examples/hildon-app-menu-example.c (create_menu): Make all
3846 buttons finger size.
3848 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3850 Fixed the compilation without maemo gtk adding ifdefs with
3851 MAEMO_GTK define to the code, we have to check this version more
3854 * examples/Makefile.am: Added control to avoid some examples that
3855 just make sense with maemo gtk.
3858 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3859 hildon modes with the define.
3861 * examples/hildon-edit-toolbar-example.c,
3862 (create_icon_view): Create the icon view without hildon-gtk
3863 helpers if we are not using maemo gtk.
3865 * src/hildon-touch-selector.c,
3866 (_create_new_column): Create the treeview without hildon-gtk
3867 helpers if we are not using maemo gtk.
3869 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3871 * src/hildon-pnnable-area.c,
3872 (hildon_pannable_area_dispose),
3873 (hildon_pannable_area_button_press_cb),
3874 (hildon_pannable_area_child_mapped),
3875 (hildon_pannable_area_add),
3876 (hildon_pannable_area_remove): Added code to control the position
3877 of the event_window when adding and removing children from the
3878 pannable. We have to raise the event window when the child is
3881 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3882 selection mode using custom widget inside pannable)
3884 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3886 * configure.ac: post release version bump
3887 * debian/changelog: version bump
3889 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3894 * configure.ac: bump version
3895 * debian/changelog: updates
3897 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3899 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3900 search mode, in order to avoid lose the focus on the treeview when
3901 a hw key (like enter) is pressed.
3903 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3904 in HildonDateSelector dialog)
3906 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3908 * debian/rules: Added --enable-maintainer-mode
3909 * Makefile.am: Added ACLOCAL_AMFLAGS
3911 This allows to properly regenerate the Makefiles if you modify the
3912 configure.ac or any Makefile.am.
3914 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3916 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3917 properties, not needed at all.
3919 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3921 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3923 * src/hildon-note.c: (hildon_note_set_property),
3924 (hildon_note_get_property), (hildon_note_class_init),
3925 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3926 (hildon_note_new_confirmation_add_buttons): Remove icons.
3927 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3928 (hildon_note_new_information_with_icon_name): Deprecate.
3929 (hildon_note_new_confirmation): Act directly, without calling
3930 the deprecated constructor.
3931 (hildon_note_new_information): Act directly, without calling
3932 the deprecated constructor.
3933 * src/hildon-note.h: Mark deprecate methods as such.
3934 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3935 not run tests on the deprecated methods if built with deprecation
3938 Fixes: NB#91688 (Never show icons in information notes/confirmation
3941 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3943 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3944 (hildon_app_menu_key_press): Remove leftover usage of the
3945 private structure in HildonAppMenu struct.
3946 * src/hildon-app-menu.h: Remove leftover private structure
3947 from the HildonAppMenu struct.
3949 Fixes a crasher when using the HildonAppMenu.
3951 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3953 * src/hildon-picker-dialog.c: Use appropriate logical id
3954 for the default "Done" text.
3956 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3958 * configure.ac: post release version bump
3959 * debian/changelog: version bump
3961 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3963 Modified the way to scroll to the current selection just when the touch
3964 selector is shown on the screen, avoiding a g_idle. Added too a property
3965 to configure this behaviour. See hildon_pannable_area_jump_to_child
3966 documentation for more information.
3968 * src/hildon-touch-selector.c
3969 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3970 Added 'initial-scroll' property
3971 (hildon_touch_selector_set_property): Added
3972 (hildon_touch_selector_map): Removed as not required anymore
3973 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3974 only a concrete column, instead of iterate along all the columns
3976 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3981 * configure.ac: bump version
3982 * debian/changelog: updates
3984 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3986 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3987 compilation time warnings.
3989 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3991 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3992 the default value for HildonPannableArea::mov-mode to
3993 HILDON_PANNABLE_AREA_MODE_VERT.
3995 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3997 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3999 Reverting following commit:
4001 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4003 * src/hildon-app-menu-private.h
4004 * src/hildon-app-menu.[ch]
4005 * src/hildon-button.[ch]
4006 * src/hildon-check-button.[ch]
4007 * src/hildon-entry.[ch]
4008 * src/hildon-pannable-area.[ch]
4009 * src/hildon-text-view.[ch]:
4010 Added private field to the object's structure.
4012 because it causes an ABI breakage. We will need to introduce these
4013 changes later at some point. See NB#91636 for an extensive
4014 explanation and status.
4016 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4018 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4020 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4021 remove special cases that are no longer necessary.
4023 Fixes: NB#91016 (Change toolbar sizes, simplification)
4025 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4027 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4028 is shown in the cancel note.
4030 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4032 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4033 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4034 (hildon_seekbar_init): Remove steppers, remove expose event.
4035 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4037 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4039 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4041 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4042 label font to "SmallSystemFont" for vertically arranged buttons.
4044 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4047 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4049 * src/hildon-check-button.c
4050 (hildon_check_button_set_active, hildon_check_button_clicked):
4051 Don't access private parts directly, use getters instead.
4053 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4055 * src/hildon-check-button.c (hildon_check_button_new):
4056 Align the contents of the check button to the left.
4058 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4060 * src/hildon-pannable-area.c,
4061 (hildon_pannable_area_scroll_to),
4062 (hildon_pannable_area_jump_to),
4063 (hildon_pannable_area_scroll_to_child),
4064 (hildon_pannable_area_jump_to_child): Replace the mapped
4065 precondition of these functions with the realized, it is the
4066 correct state of the widget in this case. Changed the
4067 documentation according to this modification.
4069 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4071 Added a new EXTRA_CFLAGS option to add the deprecated define to
4072 the compilation command. This way we can avoid using the define in
4073 the documentation compilation.
4075 * configure.ac: Defined EXTRA_CFLAGS.
4077 * examples/Makefile.am:
4079 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4081 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4083 * src/hildon-picker-dialog.c:
4084 Defined a utility macro with the desired touch selector height
4085 Removed currently unused separator, and title_label variables from
4087 (hildon_picker_dialog_init): Removed code related to the creation
4088 of unused private variables title_label and separator.
4089 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4090 to ensure correct visualization of the touch selector inside the dialog.
4091 * src/hildon-touch-selector.c
4092 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4093 ensure a concrete height of the widget.
4095 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4098 * tests/Makefile.am:
4100 Remove spurious whitespaces.
4102 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4104 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4105 compilation warning after the cancel button removal.
4107 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4109 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4111 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4112 Makefile.am, that way we can choose not to compile some examples
4113 and tests of the deprecated widgets.
4115 * examples/Makefile.am: Divided the sources in deprecated and
4118 * src/Makefile.am: Added undef statement of the deprecated
4119 symbol to the enums file generation process.
4121 * src/hildon-color-chooser-dialog.c
4122 * src/hildon-color-chooser-dialog.h
4123 * src/hildon-color-button.c
4124 * src/hildon-color-button.h
4125 * src/hildon-color-chooser.c
4126 * src/hildon-color-chooser.h
4127 * src/hildon-controlbar.c
4128 * src/hildon-controlbar.h
4129 * src/hildon-date-editor.c
4130 * src/hildon-date-editor.h
4131 * src/hildon-hvolumebar.c
4132 * src/hildon-hvolumebar.h
4133 * src/hildon-private.c
4134 * src/hildon-private.h
4135 * src/hildon-range-editor.c
4136 * src/hildon-range-editor.h
4137 * src/hildon-seekbar.c
4138 * src/hildon-seekbar.h
4139 * src/hildon-time-editor.c
4140 * src/hildon-time-editor.h
4141 * src/hildon-time-picker.c
4142 * src/hildon-time-picker.h
4143 * src/hildon-volumebar.c
4144 * src/hildon-volumebar.h
4145 * src/hildon-vvolumebar.c
4146 * src/hildon-vvolumebar.h
4147 * src/hildon-bread-crumb-trail.h
4148 * src/hildon-bread-crumb-trail.c
4149 * src/hildon-calendar-popup.c
4150 * src/hildon-calendar-popup.h
4151 * src/hildon-weekday-picker.c:
4152 * src/hildon-weekday-picker.h:
4153 * src/hildon-bread-crumb-widget.c:
4154 * src/hildon-bread-crumb-widget.h:
4155 * src/hildon-bread-crumb.c:
4156 * src/hildon-bread-crumb.h:
4157 * src/hildon-calendar.c:
4158 * src/hildon-calendar.h:
4159 * src/hildon-caption.c:
4160 * src/hildon-code-dialog.c:
4161 * src/hildon-code-dialog.h:
4162 * src/hildon-font-selection-dialog.c:
4163 * src/hildon-font-selection-dialog.h:
4164 * src/hildon-get-password-dialog.c:
4165 * src/hildon-get-password-dialog.h:
4166 * src/hildon-login-dialog.c:
4167 * src/hildon-login-dialog.h:
4168 * src/hildon-number-editor.c:
4169 * src/hildon-number-editor.h:
4170 * src/hildon-set-password-dialog.c:
4171 * src/hildon-set-password-dialog.h:
4172 * src/hildon-sort-dialog.c:
4173 * src/hildon-sort-dialog.h: This is the list of deprecated
4176 * src/hildon-touch-selector.c:
4177 * src/hildon-window.c: Added undef statement to avoid compilation
4180 * tests/Makefile.am: Divided the sources in deprecated and
4183 * tests/check_test.c,
4184 (configure_tests): Marked the deprecated code that was adding
4185 suites with deprecated tests.
4187 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4189 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4191 * src/hildon-touch-selector.c: (_default_print_func): Do not
4192 duplicate a string returned by gtk_tree_model_get(), it is already
4195 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4198 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4200 * src/hildon-pannable-area.c
4201 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4202 method, it had problems when adding a widget with viewport the
4203 second time. Now checks if it already has a viewport and uses it.
4205 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4208 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4210 * src/hildon-pannable-area.c,
4211 (hildon_pannable_area_scroll_to),
4212 (hildon_pannable_area_jump_to),
4213 (hildon_pannable_area_scroll_to_child),
4214 (hildon_pannable_area_jump_to_child): Added a precondition to the
4215 scroll and jump to functions: the widget must be mapped before we
4216 can safely call these functions. We have also added documentation
4217 to the functions to explain how to use them in this situation.
4220 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4222 Reviewed the threading handling of the pannable widget, we have
4223 used the gdk_threads_add_timeout function instead of the usual
4224 glib handlers. This avoids some problems with the threads.
4226 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4227 (hildon_pannable_area_initial_effect),
4228 (hildon_pannable_area_scroll_indicator_fade),
4229 (hildon_pannable_area_button_press_cb),
4230 (hildon_pannable_area_timeout),
4231 (hildon_pannable_area_motion_notify_cb),
4232 (hildon_pannable_area_button_release_cb),
4233 (hildon_pannable_area_scroll_cb),
4234 (hildon_pannable_area_scroll_to): Removed the
4235 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4236 gdk_threads_add_timeout.
4238 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4240 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4245 * configure.ac: bump version
4246 * debian/changelog: updates
4248 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4250 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4251 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4252 * src/hildon-color-chooser-dialog.c:
4253 (hildon_color_chooser_dialog_init):
4254 * src/hildon-font-selection-dialog.c:
4255 (hildon_font_selection_dialog_init):
4256 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4258 Remove all cancel/close-like dialogs, as these are not going to be
4261 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4263 * src/hildon-note.c: (hildon_note_rebuild),
4264 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4267 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4269 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4271 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4272 sure all buttons are shown, even the Cancel/Close-like ones.
4274 Fixes: NB#90861 (Custom Confirmation dialogs should be
4275 protected from cancel button removal)
4277 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4279 * debian/control: Change libhildon1-examples dependency from libhildon1
4281 * debian/libhildon1-examples.install
4283 * Makefile.am: Modified the final install directory for the examples on
4284 package libhildon1-examples
4285 * Makefile.static: Update clean target in order to remove all the binary
4288 Changes suggested by Claudio after review new libhildon1-examples package
4290 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4292 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4293 * src/hildon-touch-selector.c: Ditto.
4295 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4297 * debian/control: Added new package libhildon1-examples, in order to pack
4298 the current hildon examples as documentation
4299 * debian/rules: Not to compress .c files, modify some includes on the
4300 examples (as normally are compiled locally, but when installed it will
4301 require to include the installed libhildon1 library), and rename
4303 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4304 install all the example files on the new example package
4305 * examples/Makefile.static: Added static makefile that can be used to
4306 compile the examples, once installed the new example package
4307 * examples: Most of the examples were modified in order to grant that
4308 all use only '#include "hildon.h"', in order to be easy to prepare
4309 it on the example package
4311 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4314 * debian/libhildon1-dev.install
4315 * debian/libhildon1-doc.install:
4316 Move all gtk-doc files to a separate libhildon1-doc package.
4318 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4320 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4322 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4324 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4326 * debian/rules: Fixed a error in order to avoid unnecessary calls
4327 to autogen.sh on package building
4329 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4331 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4333 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4335 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4338 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4340 * src/hildon-picker-button.c
4341 (hildon_picker_button_finalize):
4342 Free priv->done_button_text
4344 * src/hildon-time-button.c
4345 (hildon_time_button_set_time)
4346 * src/hildon-picker-button.c
4347 (hildon_picker_button_clicked)
4348 (hildon_picker_button_selector_selection_changed)
4349 (hildon_picker_button_set_selector)
4350 * src/hildon-date-button.c
4351 (hildon_date_button_set_date):
4352 Free strings returned by hildon_touch_selector_get_current_text()
4354 * src/hildon-button.c (hildon_button_construct_child):
4355 Fix leaks in priv->image and priv->label_box
4357 Fixes: NB#90535 (Memory leak in picker button)
4359 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4361 * src/hildon-button.c: (hildon_button_get_property): Do not access
4362 private elements directly, use getters instead.
4364 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4366 * src/hildon-app-menu-private.h
4367 * src/hildon-app-menu.c
4368 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4369 Store the menu's parent window.
4371 * src/hildon-stackable-window.c
4372 (hildon_stackable_window_toggle_menu)
4373 (hildon_stackable_window_finalize):
4374 Set the menu's parent window when the menu is shown, unset it when
4377 * src/hildon-app-menu.c
4378 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4379 (hildon_app_menu_class_init):
4380 Send unhandled keyboard accelerators to the parent window.
4382 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4384 * src/hildon-stackable-window.c
4385 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4387 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4389 * configure.ac: post release version bump
4391 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4394 * configure.ac: Bump version
4395 * debian/changelog: Updates
4396 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4399 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4401 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4404 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4405 GtkMenu with Hildon style.
4407 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4409 * src/hildon-picker-button.c:
4410 (hildon_picker_button_set_done_button_text): Set the dialog's
4411 done button text here as well.
4413 Fixes: NB#90232 (Picker button does not set the label on done button
4414 for the second time)
4416 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4418 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4421 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4423 * src/hildon-app-menu.c (hildon_app_menu_insert)
4424 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4425 the HildonAppMenu to be activatable using keyboard accelerators
4426 when the menu is not being shown.
4428 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4430 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4432 * src/hildon-stackable-window.c
4433 (hildon_stackable_window_show):
4434 Don't hide old windows automatically when new windows are shown:
4435 this is now a task for the window manager.
4436 (hildon_stackable_window_class_init)
4437 (hildon_stackable_window_hide):
4438 Remove windows from the stack everytime they're hidden.
4439 (hildon_stackable_window_realize):
4440 Don't change the _NET_WM_WINDOW_TYPE property. Use
4441 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4442 it as a stackable window.
4444 * src/hildon-program.c
4445 (hildon_program_pop_window_stack):
4446 Just hide the window to remove it from the stack.
4447 (hildon_program_go_to_root_window):
4448 Don't call gtk_widget_show(), this is now a task for the window
4451 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4453 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4455 * src/hildon-button.c
4456 (hildon_button_construct_child):
4457 Don't pack anything in the button until text or image are
4458 set. This allows adding a custom child after creating the button
4459 with hildon_button_new().
4460 (hildon_button_finalize, hildon_button_class_init)
4461 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4462 alignment and the label box even when they're not packed in the
4465 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4467 * src/hildon-touch-selector.h:
4468 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4469 currently the type definition was using GTK_TYPE_VBOX
4470 * src/hildon-touch-selector.c:
4471 Added some implementation notes in order to clarify that any other widget
4472 added without the column related API will not be included on the
4473 selection logic, and how the widget is freed, as some people ask about
4475 (hildon_touch_selector_remove): Reimplemented in order to free properly
4476 the column related data when you remove the private hbox.
4477 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4478 to get a proper HildonTouchSelectorColumn documentation
4480 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4482 * src/hildon-touch-selector-entry.c:
4483 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4484 text in the GtkEntry and there is no item selected. Fixes a
4487 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4489 * src/hildon-app-menu-private.h
4490 * src/hildon-app-menu.[ch]
4491 * src/hildon-button.[ch]
4492 * src/hildon-check-button.[ch]
4493 * src/hildon-entry.[ch]
4494 * src/hildon-pannable-area.[ch]
4495 * src/hildon-text-view.[ch]:
4496 Added private field to the object's structure.
4498 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4500 * configure.ac: post-release version bump
4502 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4506 * configure.ac: pre-release version bump
4508 * debian/changelog: updates.
4510 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4512 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4513 Disconnect the handler for HildonTouchSelector::changed.
4515 (hildon_picker_button_selector_selection_changed): Update the button
4516 value if the selection change was not triggered by the
4519 (hildon_picker_button_set_selector): connect to
4520 HildonTouchSelector::changed.
4522 Fixes: NB#89650 (Picker button is not updated, when selection in
4523 selector has changed)
4525 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4527 * src/hildon-picker-dialog.c
4528 (hildon_picker_dialog_realize): Removed as not required
4529 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4530 * src/hildon-picker-button.c
4531 (_current_selector_empty): New function, checks if the selector is empty
4532 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4533 if the current selector is empty, in order to avoid to show the dialog
4534 close the dialog in this case (and shows a g_warning).
4536 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4538 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4540 * src/hildon-pannable-area.c,
4541 (hildon_pannable_area_scroll): Added clause to stop movement when
4542 the child of pannable is smaller than one page.
4543 (hildon_pannable_area_scroll_to): Added conditions to avoid
4544 starting the scrolling movement if the child is smaller than one
4545 page, the complete child is in the screen, we do not have to move.
4547 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4549 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4551 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4552 this is managed automatically by the widget when the size of the
4555 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4557 * src/hildon-picker-button.c
4558 (hildon_picker_button_set_done_button_text): Make a copy of the
4559 text, and free the previous value.
4561 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4563 * src/hildon-touch-selector-entry.c:
4564 (hildon_touch_selector_entry_print_func): Return the selected row's
4565 text if the entry is empty.
4567 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4570 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4572 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4574 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4577 * src/hildon-check-button.h
4578 * src/hildon-check-button.c
4579 * examples/hildon-check-button-example.c:
4580 HildonCheckButton is now a new widget. 'toggled' signal added.
4582 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4584 * src/hildon-program-private.h
4585 * src/hildon-program.c (hildon_program_init)
4586 (hildon_program_finalize): Removed unused variables group_leader
4587 and name from HildonProgramPrivate.
4589 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4591 * src/hildon-check-button.c (hildon_check_button_set_active)
4592 (hildon_check_button_get_active, hildon_check_button_new): Use
4593 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4595 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4597 * src/hildon-touch-selector.h
4598 (hildon_touch_selector_set_column_attributes): added deprecation
4599 guard HILDON_DISABLE_DEPRECATED
4600 * src/hildon-time-selector.c
4601 (hildon_time_selector_set_time)
4602 (hildon_time_selector_get_time): Fixed a typo on documentation
4603 * src/hildon-touch-selector.c: update HildonTouchSelector and
4604 HildonTouchSelectorColumn documentation
4605 * src/hildon-touch-selector-entry.c: update "text-column" property
4607 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4608 to be added to the general documentation.
4610 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4612 * examples/hildon-pannable-area-example-4.c,
4614 * examples/hildon-pannable-area-example.c,
4615 (main): Modified the code in order to use the container add, with
4616 viewport treeviews could have problems if they are really big.
4618 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4620 * src/hildon-weekday-picker.c,
4621 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4622 the agreement regarding deprecation in the library.
4624 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4626 * examples/hildon-picker-button-multicolumn-example.c:
4627 (main): Use custom "done" button text.
4629 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4630 (hildon_picker_button_set_property),
4631 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4632 (hildon_picker_button_init),
4633 (+hildon_picker_button_get_done_button_text),
4634 (+hildon_picker_button_set_done_button_text): New methods to customize
4635 the "done" button label in the launched HildonPickerDialog. Also,
4638 * src/hildon-picker-button.h: add the public API.
4640 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4642 * src/hildon-date-selector.h:
4643 * src/hildon-picker-dialog.h:
4644 * src/hildon-time-selector.h:
4645 * src/hildon-touch-selector-column.h:
4646 * src/hildon-touch-selector.h:
4648 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4649 declarations. Fixes gtk-doc warnings.
4651 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4653 * src/hildon-picker-dialog.h
4654 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4655 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4657 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4658 long text is set as label for done button)
4660 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4662 * src/hildon-dialog.c (hildon_dialog_add_button):
4663 Set fixed width to all buttons in the HildonDialog.
4665 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4667 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4669 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4670 Set widget name using class name plus "-finger" or "-thumb".
4672 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4674 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4675 'clicked' when the state of the button is manually changed.
4677 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4679 * src/hildon-app-menu.c (hildon_app_menu_realize)
4680 (hildon_app_menu_unrealize, hildon_app_menu_init)
4681 (hildon_app_menu_class_init, item_visibility_changed):
4682 Change the menu layout when the size of the screen changes.
4683 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4684 Show warning only when changing the number of colums using the
4687 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4689 * debian/compat: Set to 5
4690 * debian/control: Update dependencies.
4691 * debian/libhildon1-dbg.install: Remove.
4692 * debian/libhildon1-dev.install: Update according to cdbs paths.
4693 * debian/libhildon1.install: Update according to cdbs paths.
4694 * debian/rules: Switch to cdbs.
4696 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4698 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4699 'item' variable renamed to 'filter'
4701 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4703 * src/hildon-app-menu.c (hildon_app_menu_insert)
4704 (hildon_app_menu_add_filter, remove_item_from_list)
4705 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4706 Don't leak hidden items when the menu is destroyed.
4708 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4710 * src/hildon-app-menu.c (hildon_app_menu_insert)
4711 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4712 (hildon_app_menu_set_columns, item_visibility_changed)
4713 (filter_visibility_changed, hildon_app_menu_repack_filters)
4714 (hildon_app_menu_repack_items):
4715 Repack items and filters separately.
4717 Don't repack all items, change only the ones that are needed to
4720 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4722 * src/Makefile.am: added hildon-touch-selector-column.h
4724 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4726 * src/hildon-touch-selector.c: added the property "text-column" to the
4727 class HildonTouchSelectorColumn, and related get/set functions
4728 (_default_printf_func): updated to use "text-column" property
4729 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4730 "text-column" in his documentation, as this is now included on
4731 HildonTouchSelectorColumn. The get/set_property can still be used,
4732 working as a wrapper to the concrete column "text-column" property
4733 (_text_column_modified): callback added in order to handle the signal
4734 "notify::text-column" of the concrete HildonTouchSelectorColumn
4735 (hildon_touch_selector_entry_get_text_column)
4736 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4737 modified in order to use the HildonTouchSelectorColumn "text-column"
4739 * src/hildon-time-selector.c:
4740 * src/hildon-date-selector.c:
4741 * examples/hildon-touch-selector-example.c
4742 * examples/hildon-touch-selector-multi-cells-example.c
4743 * examples/hildon-picker-button-multicolumn-example.c
4744 Set the right value to "text-column" property on the creation of a new
4745 column using hildon_touch_selector_append_column()
4747 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4749 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4751 * src/hildon-app-menu.c
4752 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4753 updating the layout of the menu, don't create all widgets again,
4754 just repack the items in their new places.
4756 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4758 * src/hildon-time-selector.c
4759 (hildon_time_selector_get_time)
4760 (hildon_time_selector_set_time)
4761 Added documentation of these public methods
4763 * src/hildon-date-button.h
4764 * src/hildon-touch-selector-column.h
4765 * src/hildon-time-button.h
4766 * src/hildon-picker-dialog.h
4767 * src/hildon-time-selector.h
4768 * src/hildon-picker-button.h
4769 * src/hildon-touch-selector.h
4770 * src/hildon-time-picker.h
4771 * src/hildon-date-selector.h
4772 * src/hildon-touch-selector-entry.h
4773 Modified in order to use hildon-widgets code style
4775 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4777 Added deprecated support to the compilation process using
4778 HILDON_DISABLE_DEPRECATED
4780 * configure.ac: Added the --disable-deprecated to the configure
4783 * src/hildon-weekday-picker.c:
4784 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4785 to use the deprecated support. We will update the other deprecated
4786 widgets status in a new patch.
4788 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4790 * configure.ac: Fixed typo with fatal warnings support, the
4791 variable name was not correct
4793 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4795 * src/hildon-app-menu.c
4796 * src/hildon-program.c: Update documentation.
4798 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4800 * configure.ac: Post-release version bump.
4802 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4807 * configure.ac: Pre-release version bump.
4808 * debian/changelog: Updates.
4810 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4812 * NEWS: Update news for previous releases.
4814 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4816 * examples/hildon-touch-selector-multi-cells-example.c:
4817 (create_selector): Update the example to use
4818 hildon_touch_selector_append_column() with a NULL renderer and set
4819 the renderers later.
4820 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4821 passed a NULL renderer. This is documented behavior now.
4823 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4824 This must be used if the developer wants full control on the layout of
4825 the renderers to be added to the column.
4827 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4829 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4831 * src/hildon-touch-selector.c: Documentation fixes.
4833 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4835 * src/hildon-wizard-dialog-private.h: Remove image and box.
4836 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4837 (hildon_wizard_dialog_set_property), (response): Completely remove
4838 image/icon support, and the containers required for the layout.
4840 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4842 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4844 * src/hildon-app-menu.c: Updated documentation.
4846 * src/hildon-stackable-window.c
4847 (hildon_stackable_window_set_main_menu): Unref the old menu after
4848 ref'ing the new one.
4850 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4852 * src/hildon-stackable-window.c
4853 (hildon_stackable_window_set_main_menu): Unref the previous menu
4854 instead of destroying it.
4856 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4857 floating reference and set has_user_ref_count to FALSE to make
4858 HildonAppMenu act like a normal ref-counted widget and not a
4861 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4864 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4866 * src/hildon-touch-selector-column.h: new file
4867 * src/hildon-touch-selector.h
4868 * src/hildon-touch-selector.c
4869 Implemented GtkCellLayout interface, in order to allow to configure
4870 the cell layout on each individual selector column
4871 (hildon_touch_selector_set_column_attributes): marked as deprecated
4872 * examples/hildon-touch-selector-multi-cells-example.c
4873 Example of how to use the GtkCellLayout interface on the selector
4875 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4877 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4879 * src/hildon-app-menu.h
4880 * src/hildon-app-menu.c
4881 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4882 (hildon_app_menu_append, hildon_app_menu_prepend):
4883 New methods to prepend, insert and move items in the menu.
4885 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4887 * src/hildon-wizard-dialog.c:
4889 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4891 (create_title): Update logical IDs and related code.
4892 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4894 * src/hildon-wizard-dialog.h: Note that
4895 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4896 point, as it is not used anymore.
4898 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4900 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4902 * src/hildon-note.c:
4903 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4904 shown. Do not display an icon in confirmation notes nor information
4906 (hildon_note_set_button_text): Update logical ID for cancel button.
4908 Fixes: NB#88850 (Update HildonNote button strings + signals)
4910 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4912 * src/hildon-stackable-window.c
4913 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4915 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4917 * src/hildon-app-menu-private.h
4918 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4919 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4920 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4921 temporary property 'columns' to change the number of columns.
4923 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4925 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4927 * examples/hildon-note-example.c: (on_information_clicked),
4928 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4929 debugging information.
4930 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4932 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4933 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4934 in order to close: this will be handled by the WM from now on.
4936 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4938 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4940 * src/hildon-app-menu-private.h
4941 * src/hildon-app-menu.c
4942 (hildon_app_menu_append, hildon_app_menu_add_filter)
4943 (button_visibility_changed, hildon_app_menu_apply_style)
4944 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4945 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4946 layout everytime a button (item or filter) is shown or hidden.
4948 * src/hildon-stackable-window.c
4949 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4952 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4954 * src/hildon-touch-selector.c:
4955 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4956 that the treeview inside the touch selector is in fremantle hildon mode
4957 * examples/hildon-date-button-example.c
4958 * examples/hildon-picker-button-multicolumn-example.c
4959 * examples/hildon-touch-selector-entry-example.c
4960 * examples/hildon-touch-selector-example.c
4961 * examples/hildon-time-button-example.c
4962 * examples/hildon-picker-button-example.c:
4963 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4965 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4967 * examples/hildon-text-view-example.c: (main): Remove the
4968 gtkrc bits, now handled by the theme.
4970 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4972 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4975 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4977 * po/Makefile.am: Install properly the mo files.
4978 * po/en_GB.po: Update translation, to ease testing purposes.
4980 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4982 * examples/hildon-picker-button-example.c: (main): Select an item
4983 in the selector before setting it to the button.
4985 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4987 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4988 Update button's value if the selector has an item active.
4990 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4991 'value' with the selector)
4993 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4995 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4996 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4997 (hildon_picker_button_class_init): Plug the finalize method.
4998 (hildon_picker_button_set_selector): If there's a previously set
4999 selector, unref'it before setting a new one.
5001 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5002 HildonTouchSelector)
5004 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5006 * src/hildon-touch-selector-entry.c:
5007 (hildon_touch_selector_entry_changed): Check if there is no text
5008 selected before setting the entry text.
5011 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5013 * src/hildon-touch-selector.h
5014 * src/hildon-touch-selector.c
5015 (hildon_touch_selector_get_active)
5016 (hildon_touch_selector_set_active): New methods to set/get the
5017 index of the selected item.
5019 * src/hildon-picker-button.h
5020 * src/hildon-picker-button.c
5021 (hildon_picker_button_get_active)
5022 (hildon_picker_button_set_active): New methods to set/get the
5023 index of the selected item.
5025 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5027 * configure.ac: post-release version bump.
5029 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5033 * configure.ac: Pre-release version bump.
5034 * debian/changelog: Updates.
5035 * debian/control: Add myself as maintainer and depend on l10n
5038 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5040 * src/hildon-window.c
5041 (hildon_window_set_main_menu)
5042 * src/hildon-stackable-window.c
5043 (hildon_stackable_window_set_main_menu):
5044 Updated documentation.
5046 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5048 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5049 Don't free selector->priv manually.
5052 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5055 (hildon_gtk_window_set_progress_indicator):
5056 * src/hildon-gtk.h: Added the new API
5057 hildon_gtk_window_set_progress_indicator, it changes the state of
5058 the window progress hint.
5060 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5062 * src/hildon-button.c
5063 * src/hildon-stackable-window.c: Minor documentation updates.
5065 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5067 * src/hildon-stackable-window.c: Updated documentation.
5069 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5071 * src/hildon-defines.h: Update margins definitions
5072 to the Fremantle sizes.
5075 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5077 * src/hildon-touch-selector.c,
5078 (_hildon_touch_selector_set_model): Cleaning the code after
5079 review, removed g_print and #if 0 from the code.
5081 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5083 * src/hildon-edit-toolbar.c: Update documentation.
5085 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5087 * src/hildon-check-button.h
5088 * src/hildon-check-button.c
5089 (hildon_check_button_set_label, hildon_check_button_get_label)
5090 * examples/hildon-check-button-example.c
5091 (button_clicked_cb):
5092 Removed deprecated methods.
5094 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5096 * src/hildon-text-view.c:
5097 Add sample code to the documentation.
5099 * src/hildon-entry.h
5100 * src/hildon-text-view.h:
5101 Minor cosmetic changes.
5103 * src/hildon-entry.c:
5104 Add sample code to the documentation.
5105 (hildon_entry_init, hildon_entry_refresh_contents):
5106 Don't allow NULL values in the placeholder.
5108 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5110 * doc/hildon-docs.sgml
5112 * examples/Makefile.am
5113 * examples/hildon-text-view-example.c
5115 * src/hildon-text-view.c
5116 * src/hildon-text-view.h
5118 New HildonTextView widget, with example.
5120 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5122 * po/POTFILES.in: Add missing files with translatable strings.
5123 Partially fixes NB#88287.
5125 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5127 * examples/hildon-pannable-area-example-2.c: (main): No need to
5128 set the cellrenderer height inside hildon touch lists, the theme does
5131 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5133 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5134 they are integrated in the theme.
5136 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5138 * examples/hildon-entry-example.c: Update the example adding
5139 widgets to modify the text and the placeholder of the HildonEntry.
5141 * src/hildon-entry.c: Show the placeholder everytime the widget
5142 is empty and loses the focus.
5144 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5146 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5148 * src/hildon-pannable-area.c,
5149 (hildon_pannable_area_size_request): Fixed bug in height
5150 requisition, avoid increasing size and add border twice.
5152 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5154 * configure.ac: postrelease version bump.
5156 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5160 * configure.ac: Prerelease version bump.
5161 * debian/changelog: update.
5162 * debian/rules: make -dbg package contain useful debugging symbols.
5164 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5166 * src/hildon-dialog.h
5167 * src/hildon-dialog.c
5168 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5169 New methods to add buttons with finger size.
5170 (hildon_dialog_new_with_buttons):
5171 Create buttons with finger size.
5173 * examples/hildon-dialog-example.c (main): Use HildonDialog
5174 methods to add buttons.
5176 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5178 * src/hildon-entry.c: Updated HildonButton documentation.
5180 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5182 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5183 button value label with (FALSE, FALSE) to prevent NB#88126 from
5186 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5188 * examples/hildon-pannable-area-example.c,
5189 (main): Removed examples panning a vbox inside a pannable
5190 area. Check bug NB#87965
5192 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5194 Patch contributed by Kris Rietveld (kris@imendio.com)
5196 * src/hildon-pannable-area.c,
5197 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5198 get_size and get_position, this saves an X server roundtrip.
5200 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5202 * doc/hildon-docs.sgml
5204 * examples/Makefile.am
5205 * examples/hildon-entry-example.c
5207 * src/hildon-entry.c
5208 * src/hildon-entry.h
5210 New HildonEntry widget, with example.
5212 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5214 * src/hildon-button.c (hildon_button_construct_child): Pack the
5215 image with expand == fill == FALSE. This is a workaround for a bug
5218 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5220 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5221 labels for the text column, to make it more look more dynamic.
5223 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5225 * src/hildon-time-selector.c
5226 Define gettext auxiliar macro N_
5227 (_create_minutes_model)
5228 (_create_hours_model)
5229 (_create_ampm_model): use of strftime in order to fill the model
5230 * src/hildon-date-selector.c
5231 (hildon_date_selector_finalize):
5232 (_locales_init): remove the logic related to get the name of the months
5233 using nl_langinfo, as it is not required anymore
5235 (_create_year_model)
5236 (_create_month_model)
5237 (_update_day_model): use of strftime in order to fill the model properly
5240 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5242 * src/hildon-button.h
5243 * src/hildon-button.c (hildon_button_get_image): New method to
5246 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5248 * src/hildon-touch-selector.c:
5249 (hildon_touch_selector_remove_column): Remove from the correct parent
5250 and also remove the list element and free it.
5253 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5255 * src/hildon-time-selector.c
5256 (_create_hours_model): change the range on 12h ampm format in order to use
5257 a 12-11 range instead of previous 01-12 range
5258 (hildon_time_selector_set_time): change the way to select the current time
5259 on 12h ampm format, due the change on the range
5260 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5263 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5265 * src/hildon-touch-selector.c
5266 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5267 in order to allow use this function on multiple row selection mode if
5268 the column is different that the first one
5271 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5273 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5274 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5276 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5278 * src/hildon-date-selector.h: clean some comments, now on the .c
5279 * src/hildon-date-selector.c
5280 (hildon_date_selector_select_month): first implementation
5281 (hildon_date_selector_select_day): added documentation, reimplemented
5282 using hildon_date_selector_select_current_date to avoid repeat code
5285 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5287 Reviewed interaction logic based on device experiences, refactored
5290 * src/hildon-pannable-area.c,
5291 (hildon_pannable_area_class_init): Updated default vmax speed.
5292 (hildon_pannable_area_calculate_velocity): Added this function, it
5293 avoids duplicate valocity calculation. Adjusted calculation to
5294 avoid problems with zero dist events.
5296 (hildon_pannable_area_motion_notify_cb): Now we use the
5297 calculate_velocity function.
5299 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5301 * src/hildon-date-selector.c
5302 (hildon_date_selector_select_current_date): fix the day range check
5303 as it failed using the last day of the current month
5306 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5308 * src/hildon-touch-selector.c
5309 (hildon_touch_selector_get_num_columns): added a parameter validation
5312 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5314 * examples/Makefile.am
5315 * examples/hildon-edit-toolbar-example.c: Example of the
5316 HildonEditToolbar widget.
5318 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5320 * configure.ac: postrelease version bump.
5322 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5326 * configure.ac: prerelease version bump.
5327 * debian/changelog: update.
5329 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5331 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5332 renderer to display stock icons in the touch list. Also, set the sizes
5333 to the recommended in the style guide.
5335 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5336 * src/hildon-touch-selector.h
5337 (hildon_touch_selector_set_active_iter): renamed, now is
5338 hildon_touch_selector_select_iter
5339 (hildon_touch_selector_get_active_iter): renamed, now is
5340 hildon_touch_selector_get_selected
5341 (hildon_touch_selector_unselect_iter): added
5342 * src/hildon-touch-selector.c
5343 Update after API modification (methods renamed)
5344 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5345 order to avoid problems selecting multiple elements on the column
5346 (hildon_touch_selector_unselect_iter): added the implementation
5347 * src/hildon-time-selector.c
5348 * src/hildon-date-selector.c
5349 * src/hildon-touch-selector-entry.c
5350 Update methods calls after hildon-touch-selector.h API modification (methods
5353 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5355 * src/hildon-stackable-window.c
5356 (hildon_stackable_window_finalize): Call the parent class's finalize.
5358 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5360 * examples/hildon-touch-selector-example.c: (create_selector): Use
5361 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5364 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5366 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5367 set a cell background color, to respect theming.
5369 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5371 * doc/hildon-docs.sgml
5374 * src/hildon-edit-toolbar.c
5375 * src/hildon-edit-toolbar.h
5376 * src/hildon.h: New HildonEditToolbar widget.
5378 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5380 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5383 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5384 * src/hildon-touch-selector.c
5385 (_create_new_column): use g_object_set instead of two g_object_set_property
5387 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5388 * src/hildon-touch-selector.c
5389 (_create_new_column): use of hildon_gtk_tree_view_new to create
5390 the treeview, instead of use directly g_object_new
5391 (_create_new_column): update the property name "vindicator-mode" for the
5392 new one "vscrollbar-policy"
5393 * examples/hildon-date-button-example.c
5394 * examples/hildon-picker-button-multicolumn-example.c
5395 * examples/hildon-touch-selector-entry-example.c
5396 * examples/hildon-touch-selector-example.c
5397 * examples/hildon-time-button-example.c
5398 * examples/hildon-picker-button-example.c
5399 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5400 to all the treeviews inside a pannable area.
5402 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5404 * src/hildon-button.h
5405 * src/hildon-button.c (hildon_button_init)
5406 (hildon_button_set_arrangement, hildon_button_set_alignment)
5407 (hildon_button_set_title_alignment)
5408 (hildon_button_set_value_alignment)
5409 (hildon_button_set_image_alignment)
5410 (hildon_button_construct_child): New methods to set the alignment
5411 of the individual components of the button (title, value,
5412 image). Also, new method to alter the xscale and yscale properties
5413 of the GtkAlignment inside the button, so more complex layouts can
5416 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5418 * src/hildon-button.c (hildon_button_style_set)
5419 (hildon_button_class_init, hildon_button_set_arrangement)
5420 (hildon_button_construct_child): Apply style properties
5421 correctly. Use the 'image-spacing' style property too.
5423 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5425 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5426 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5429 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5431 * src/hildon-pannable-area.c,
5432 (hildon_pannable_area_size_request): Fixed problem with
5433 pannable-area size_request.
5435 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5437 Added management for the grab-focus to a child widget, like a
5438 range, we need to fade out the scrollbar when releasing.
5440 * src/hildon-pannable-area.c,
5441 (hildon_pannable_area_init): Connected the grab-focus signal to
5443 (hildon_pannable_area_grab_notify): Added this function in order
5444 to manage the situation when the grab-focus ends. We have to
5445 fade-out the scrollbar.
5447 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5449 * src/hildon-app-menu.c: Minor documentation update.
5451 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5453 * src/hildon-app-menu.c
5454 * examples/hildon-app-menu-example.c (create_menu): Update
5455 examples and documentation to explain how to connect callbacks.
5457 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5459 * examples/hildon-button-example.c
5460 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5461 hildon_stackable_window_new instead of gtk_window_new
5463 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5465 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5466 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5467 (hildon_pannable_area_set_property),
5468 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5469 (hildon_pannable_area_unrealize),
5470 (hildon_pannable_area_size_request),
5471 (hildon_pannable_area_size_allocate),
5472 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5473 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5474 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5475 (hildon_pannable_area_initial_effect),
5476 (hildon_pannable_area_redraw),
5477 (hildon_pannable_area_scroll_indicator_fade),
5478 (hildon_pannable_area_expose_event),
5479 (hildon_pannable_area_get_topmost), (synth_crossing),
5480 (hildon_pannable_area_button_press_cb),
5481 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5482 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5483 (hildon_pannable_area_motion_notify_cb),
5484 (hildon_pannable_area_button_release_cb),
5485 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5486 (hildon_pannable_area_remove),
5487 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5488 chage the code layout to a more GtkWidget like. Review the use of
5491 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5493 * examples/hildon-pannable-area-example-4.c,
5494 (main): Modified the name of the hindicator_mode to
5497 * src/hildon-pannable-area.c,
5498 (hildon_pannable_area_class_init),
5499 (hildon_pannable_area_motion_notify_cb),
5500 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5501 we have reduced the amount of signals and managed reviewed its
5502 rationale. Changed the default decelerate value.
5504 (hildon_pannable_area_add),
5505 (hildon_pannable_area_redraw): Refactored functions.
5507 (hildon_pannable_area_init),
5508 (hildon_pannable_area_get_property),
5509 (hildon_pannable_area_set_property):
5510 (hildon_pannable_draw_vscroll),
5511 (hildon_pannable_draw_hscroll),
5512 (hildon_pannable_area_initial_effect),
5513 (hildon_pannable_area_expose_event),
5514 (hildon_pannable_area_scroll),
5515 (hildon_pannable_area_button_press_cb),
5516 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5517 and vindicator_mode with hscrollbar_policy and
5518 vscrollbar_policy. Replaced hscroll and vscroll with
5519 hscroll_visible and vscroll_visible.
5521 (hildon_pannable_area_refresh): Refactor the function, remove
5522 variables and check the calls to this function, added resize
5523 conditions in case the children change their layout.
5525 (hildon_pannable_area_size_request): Added more detailed
5526 size_request calculation.
5529 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5531 * src/hildon-color-chooser.c
5532 (init_borders): use the correct gtk_border_free instead of g_free, to
5533 avoid a crash when this widget is used (ie: the three color selection
5536 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5538 * src/hildon-check-button.c,
5539 (hildon_check_button_set_active): Fixed problem when setting the
5540 active value, the widget was not redrawn.
5542 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5544 * src/hildon-pannable-area.c,
5545 (hildon_pannable_area_refresh),
5546 (hildon_pannable_area_scroll),
5547 (hildon_pannable_area_motion_notify_cb): Small code style change.
5549 (hildon_pannable_area_class_init): Default initial_hint set to
5550 FALSE, it is not in the specs.
5552 (hildon_pannable_area_initial_effect),
5553 (hildon_pannable_area_expose_event),
5554 (hildon_pannable_area_map),
5555 (hildon_pannable_area_init): Moved the launching point of the
5556 initial effect, it was in map but the sizes where not correct in
5557 that method so we do not know if we have the reproduce it. Now it
5558 is placed in the expose_event method and uses a variable to
5559 reproduce it just once.
5561 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5563 * src/hildon-pannable-area.c,
5564 (hildon_pannable_draw_vscroll),
5565 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5566 position allowed for the scrollbars.
5568 (hildon_pannable_area_size_allocate): Small style change.
5570 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5572 * src/hildon-pannable-area.c,
5573 (hildon_pannable_area_scroll_indicator_fade),
5574 (hildon_pannable_area_button_press_cb),
5575 (hildon_pannable_area_button_release_cb),
5576 (hildon_pannable_area_scroll_cb),
5577 (hildon_pannable_area_expose_event),
5578 (hildon_pannable_area_init): Added the define parameter
5579 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5580 and refactor the fade variable.
5582 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5584 * src/hildon-pannable-area.c,
5585 (hildon_pannable_area_redraw),
5586 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5587 lines, we were reimplemeting the redraw code.
5589 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5591 * src/hildon-pannable-area.c,
5592 (hildon_pannable_area_scroll_cb),
5593 (hildon_pannable_area_realize),
5594 (hildon_pannable_area_class_init): Added scroll_event management
5595 for pannable area, now we can scroll the usual desktop method.
5597 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5598 initialization of the parameters should depend on idle_id.
5600 (hildon_pannable_area_init),
5601 (hildon_pannable_area_map): Small code style modifications
5603 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5605 * src/hildon-pannable-area.c
5606 (hildon_pannable_area_button_press_cb),
5607 (hildon_pannable_area_motion_notify_cb),
5608 (hildon_pannable_area_button_release_cb),
5609 (hildon_pannable_area_size_allocate),
5610 (hildon_pannable_area_scroll_to): Improved the timeouts
5611 management, we avoid creating them each time.
5613 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5615 * src/hildon-pannable-area.c:
5616 (hildon_pannable_area_refresh),
5617 (hildon_pannable_area_motion_notify_cb),
5618 (hildon_pannable_area_class_init):
5619 * src/hildon-pannable-area.h:
5620 * src/hildon-touch-selector.c
5621 (_create_new_column):
5622 * examples/hildon-pannable-area-example-4.c:
5623 (horizontal_movement),
5624 (vertical_movement),
5626 Replaced the names of enums in the HildonPannableArea:
5627 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5628 HILDON_MOVEMENT_MODE_*
5629 - HILDON_PANNABLE_AREA_MOV_* ->
5631 - Removed HildonPannableAreaIndicatorMode, now we
5634 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5636 * examples/hildon-pannable-area-touch-grid-example.c
5637 * examples/hildon-pannable-area-touch-list-example.c: Fix
5638 compilation warnings.
5640 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5642 * src/hildon-gtk.c (hildon_gtk_button_new)
5643 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5644 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5645 images overriding the value of the "gtk-button-images" setting.
5647 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5649 * src/hildon-check-button.c (hildon_check_button_new):
5650 Instead of using a custom container, display the label and the
5651 checkbox using the standard GtkButton API.
5653 * examples/hildon-check-button-example.c (main): Don't use
5654 hildon_check_button_set_label() anymore
5656 * src/hildon-check-button.h
5657 * src/hildon-check-button.c
5658 (hildon_check_button_set_label, hildon_check_button_get_label):
5659 Set as deprecated, now we're using gtk_button_{get,set}_label()
5661 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5663 * src/hildon-pannable-area.c,
5664 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5665 GtkTreeview first line we detected it after the inclusion of the
5666 GtkWindowImpl in gtk+. We now check if the window is visible, not
5667 just if the pointer is over the window.
5668 (hildon_pannable_axis_scroll),
5669 (hildon_pannable_area_expose_event): Small style changes.
5671 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5673 * src/hildon-button.c: Update documentation.
5675 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5677 * examples/hildon-button-example.c: Add a switch to show images in
5680 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5682 * doc/hildon-docs.sgml: Some docs reorganization.
5684 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5686 * examples/hildon-pannable-area-touch-list-example.c
5688 * examples/hildon-pannable-area-touch-grid-example.c
5689 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5690 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5691 Fix memory leak when setting the tree model.
5693 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5697 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5699 * doc/hildon.types: Remove duplicated hildon_window_get_type
5700 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5701 documentation comment.
5703 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5705 * doc/Makefile.am: Complete list of private headers.
5707 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5709 * doc/hildon-docs.sgml
5710 * src/hildon-app-menu.c
5711 * src/hildon-bread-crumb.c
5712 * src/hildon-button.c
5714 * src/hildon-program.c
5715 * src/hildon-stackable-window.c
5716 * src/hildon-window.c: Lots of documentation updates.
5718 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5720 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5722 * configure.ac: Require Gtk+ 2.12.9 at least
5724 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5726 * src/hildon-pannable-area.c
5727 (hildon_pannable_area_scroll_indicator_fade),
5728 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5729 to protect the return of this timeout callbacks, avoiding deadlocks.
5731 2008-08-12 Christian Dywan <christian@imendio.com>
5734 * src/hildon-*.h: Ensure a consistent include order,
5735 include <gtk/gtk.h> instead of particular files and
5736 only include the topmost header in the gtk stack. See NB #39857
5738 2008-08-12 Christian Dywan <christian@imendio.com>
5740 * src/hildon-picker-dialog.c
5741 * src/hildon-touch-selector.c: Fix warnings about unused and
5742 uninitialized variables.
5744 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5746 * examples/Makefile.am
5747 * examples/hildon-check-button-example.c: Example of the hildon
5750 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5752 * src/hildon-window.h
5753 * src/hildon-window.c (hildon_window_class_init)
5754 (hildon_window_unset_program): Don't make
5755 hildon_window_unset_program a virtual function anymore.
5757 * src/hildon-stackable-window.c: Update documentation
5759 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5762 * doc/hildon-docs.sgml
5763 * doc/visual_index.xml
5764 * src/hildon-defines.c
5766 * src/hildon-helper.c
5767 * src/hildon-range-editor.c: Lots of documentation fixes.
5769 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5771 * examples/hildon-picker-button-multicolumn-example.c
5772 (create_touch_selector): Fix compilation warning.
5774 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5776 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5777 (hildon_pannable_area_button_release_cb)
5778 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5780 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5782 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5785 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5787 * src/hildon-bread-crumb-trail.h
5788 * src/hildon-date-editor.c
5789 * src/hildon-date-selector.c
5790 * src/hildon-pannable-area.c
5791 * src/hildon-picker-dialog.c
5792 * src/hildon-time-selector.c
5793 * src/hildon-touch-selector-entry.c
5794 * src/hildon-touch-selector.c
5795 * src/hildon-touch-selector.h: Misc documentation fixes
5797 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5799 * examples/hildon-date-editor-example.c (main): Updated date
5802 * examples/hildon-note-example.c (on_confirmation_clicked):
5803 Updated confirmation note example.
5805 * src/hildon-date-editor.c
5806 * src/hildon-note.c: Updated sample programs in documentation.
5809 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5811 * src/hildon-date-button.h:
5812 * src/hildon-picker-button.h:
5813 * src/hildon-time-button.c:
5814 * src/hildon-time-button.h:
5816 Some declarations changes to allow gtk-doc to document the widgets
5819 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5821 * src/hildon-date-button.c: Document the widget.
5822 * src/hildon-time-button.c: Document the widget.
5824 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5826 * src/hildon-picker-button.c: Document the widget.
5827 * src/hildon-touch-selector-entry.c: Document the widget.
5829 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5831 * doc/hildon-docs.sgml
5834 * src/hildon-check-button.h
5835 * src/hildon-check-button.c: New functions to create the Hildon
5839 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5841 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5843 * src/hildon-button.h
5844 * src/hildon-button.c
5845 (hildon_button_add_title_size_group)
5846 (hildon_button_add_value_size_group)
5847 (hildon_button_add_image_size_group)
5848 (hildon_button_add_size_groups): New functions to set size groups
5849 for the button labels and image.
5850 (hildon_button_new_full): Removed
5852 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5854 * src/hildon-time-selector.c
5855 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5856 in order to avoid a crash if gconf is not available
5858 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5860 * src/hildon-button.c (hildon_button_set_arrangement)
5861 (hildon_button_construct_child): Don't construct the button child
5862 before setting the arrangement.
5864 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5866 * src/hildon-program-private.h
5867 * src/hildon-program.c
5868 * src/hildon-program.h
5869 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5870 (hildon_program_peek_window_stack)
5871 (hildon_program_pop_window_stack)
5872 (hildon_program_go_to_root_window): HildonProgram now has a
5873 separate list for stackable windows. Functions are provided to
5874 manage that list with a stack-like API.
5876 * src/hildon-stackable-window.c: Stackable window management is
5877 now much simpler with the new HildonProgram API. Windows no
5878 longer need to be manually added to the program, they're
5879 automatically pushed to the top of the stack when shown.
5881 * examples/hildon-stackable-window-example.c: Updated example to
5882 reflect the API changes.
5884 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5886 * src/hildon-touch-selector.c: Comment out unimplemented
5887 hildon_touch_selector_insert_column() to avoid a compile warning.
5889 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5891 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5892 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5893 (hildon_touch_selector_set_column_selection_mode),
5894 (_hildon_touch_selector_set_model),
5895 (hildon_touch_selector_set_model):
5897 Complete review of HildonTouchSelector documentation.
5899 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5901 * doc/hildon-docs.sgml
5905 * src/hildon-gtk.c: Convenience functions for standard Gtk
5906 widgets, used to easily perform frequent operations.
5908 * src/hildon-button-helpers.h
5909 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5911 * src/hildon-helper.h
5912 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5913 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5915 * src/hildon-button.h
5916 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5918 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5920 * src/hildon-button.c (hildon_button_init)
5921 (hildon_button_set_arrangement, hildon_button_construct_child):
5922 Pack the image and the labels inside the same GtkAlignment so
5923 gtk_button_set_alignment() can be used
5925 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5927 * src/hildon-button.h
5928 * src/hildon-button.c
5929 (hildon_button_init, hildon_button_set_image)
5930 (hildon_button_set_image_position)
5931 (hildon_button_construct_child): New functions to add an image to
5934 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5936 * src/hildon-date-button.c
5937 * src/hildon-picker-button.c
5938 * src/hildon-time-button.c
5939 * src/hildon-button.c:
5940 (hildon_button_class_init): "size-flags" renamed to "size"
5941 (hildon_button_set_title): Hide the title label if set to NULL.
5943 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5945 HildonButtonFlags split into HildonButtonArrangement (to set the
5946 button layout) and HildonSizeType (which can be used for any
5949 * src/hildon-button.h
5950 * src/hildon-button.c
5951 (hildon_button_class_init)
5952 (hildon_button_set_arrangement)
5953 (hildon_button_set_property): New "size-flags"
5954 property. "arrangement-flags" renamed to "arrangement".
5955 (hildon_button_new, hildon_button_new_with_text)
5956 (hildon_button_new_full): Constructors updated to reflect type changes.
5958 * src/hildon-helper.h
5959 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5960 to set the size of a widget.
5964 * src/hildon-button-helpers.c
5965 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5967 * src/hildon-date-button.c
5968 * src/hildon-date-button.h
5969 * src/hildon-picker-button.c
5970 * src/hildon-picker-button.h
5971 * src/hildon-time-button.c
5972 * src/hildon-time-button.h: Updated widgets to reflect
5973 HildonButton API changes.
5975 * examples/hildon-button-example.c
5976 * examples/hildon-date-button-example.c
5977 * examples/hildon-picker-button-example.c
5978 * examples/hildon-picker-button-multicolumn-example.c
5979 * examples/hildon-time-button-example.c
5980 * examples/hildon-touch-selector-entry-example.c
5981 * examples/hildon-touch-selector-example.c: Updated examples to
5982 reflect HildonButton API changes.
5984 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5986 * doc/hildon-docs.sgml:
5988 * examples/Makefile.am:
5989 * examples/hildon-touch-selector-entry-example.c:
5991 * src/hildon-touch-selector-entry.c:
5992 * src/hildon-touch-selector-entry.h:
5995 Moved HildonTouchSelectorEntry from sandbox. Added its
5996 documentation and examples.
5998 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6000 * src/hildon-touch-selector.h:
6001 * examples/hildon-picker-button-multicolumn-example.c:
6002 (hildon_touch_selector_append_text_column): Add a gboolean
6003 parameter to determine if text must be centered in the column.
6005 * src/hildon-date-selector.c: (hildon_date_selector_init):
6006 * src/hildon-time-selector.c: (hildon_time_selector_init):
6007 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6008 (create_touch_selector): Update widgets and example to reflect
6011 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6013 * src/hildon-touch-selector.c:
6014 (hildon_touch_selector_set_active_iter): Set also the cursor in
6017 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6019 * doc/hildon-docs.sgml
6022 * src/hildon-toggle-button.c
6023 * src/hildon-toggle-button.h
6024 * src/hildon.h: Removed HildonToggleButton widget, a derived
6025 class is not necessary for this.
6027 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6029 * src/hildon-pannable-area.c,
6030 (hildon_pannable_area_realize),
6031 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6034 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6036 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6037 "done" button the default widget for the dialog.
6039 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6041 * src/hildon-touch-selector.c:
6042 (hildon_touch_selector_class_init),
6043 (hildon_touch_selector_get_property),
6044 (_hildon_touch_selector_set_model),
6045 (_hildon_touch_selector_has_multiple_selection),
6046 (hildon_touch_selector_has_multiple_selection):
6047 Add a "has-multiple-selection" property with a virtual
6048 has_multiple_selection() method to allow derived classes to
6049 override the default value for it. See the method and property
6050 documentation for details.
6052 * src/hildon-touch-selector.h: Add the new API.
6054 * src/hildon-picker-dialog.c: (requires_done_button): Call
6055 hildon_touch_selector_has_multiple_selection() instead of
6056 determining the need for a button itself.
6058 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6060 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6061 (_hildon_touch_selector_set_model),
6062 (hildon_touch_selector_set_model): Move working code to
6063 _hildon_touch_selector_set_mode(). Call the class method instead.
6065 * src/hildon-touch-selector.h: Add (*set_model) to
6066 HildonTouchSelectorClass.
6068 Make hildon_touch_selector_set_model() a virtual method, so that
6069 derived classes can extend it and do fancy stuff with the model.
6071 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6073 * configure.ac: Set back the tarname in AC_INIT to hildon.
6075 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6079 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6080 instead of libesd (NB#86876). Volume handling is still an open issue.
6082 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6085 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6087 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6088 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6089 derived class to ease placement of an entry widget in
6090 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6091 end, where the selector columns are packed now.
6093 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6095 * src/hildon-picker-button.c: Removed the simple _text() API.
6096 * src/hildon-picker-button.h: Likewise.
6098 * src/hildon-touch-selector.h:
6099 * src/hildon-touch-selector.c:
6100 (hildon_touch_selector_new_text),
6101 (hildon_touch_selector_append_text),
6102 (hildon_touch_selector_prepend_text),
6103 (hildon_touch_selector_insert_text):
6105 Moved the simple _text() API from HildonPickerButton to
6106 HildonTouchPicker, to provide better escalability and not to tie
6107 that API to HildonPickerButton.
6109 * examples/hildon-picker-button-example.c: (main): Example updated.
6111 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6113 * src/hildon-button.c: Updated documentation.
6115 * examples/hildon-button-example.c: Add the posibility to create
6116 the buttons using horizontal layout for title and value.
6118 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6120 * src/hildon-app-menu-private.h
6121 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6122 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6123 GtkSizeGroup for the filters, use the 'homogeneous' property of
6126 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6128 * examples/hildon-button-example.c: Updated example.
6130 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6132 * doc/hildon-docs.sgml:
6135 Update documentation.
6137 * examples/Makefile.am: Update renamed examples.
6139 * examples/hildon-picker-button-multicolumn-example.c:
6140 (create_touch_selector), (main): Update after the rename.
6142 * examples/hildon-touch-picker-example.c: Removed.
6143 * examples/hildon-touch-selector-example.c: (value_changed),
6144 (create_selector), (get_visible_content), (main): Renamed from
6145 hildon-touch-picker-example.c
6147 * src/Makefile.am: Updated renamed files.
6149 * src/hildon-date-button.c: (hildon_date_button_init),
6150 (hildon_date_button_get_date), (hildon_date_button_set_date):
6151 * src/hildon-date-selector.c: (hildon_date_selector_init),
6152 (_custom_print_func), (_update_day_model),
6153 (_manage_selector_change_cb),
6154 (hildon_date_selector_select_current_date),
6155 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6156 * src/hildon-date-selector.h:
6157 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6158 (hildon_picker_button_set_property),
6159 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6160 (hildon_picker_button_init), (hildon_picker_button_new_text),
6161 (hildon_picker_button_append_text),
6162 (hildon_picker_button_prepend_text),
6163 (hildon_picker_button_insert_text),
6164 (hildon_picker_button_set_selector),
6165 (hildon_picker_button_get_selector):
6166 * src/hildon-picker-button.h:
6167 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6168 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6169 (_update_title_on_selector_changed_cb), (requires_done_button),
6170 (_hildon_picker_dialog_set_selector),
6171 (hildon_picker_dialog_set_selector),
6172 (hildon_picker_dialog_get_selector):
6173 * src/hildon-picker-dialog.h:
6174 * src/hildon-time-button.c: (hildon_time_button_init),
6175 (hildon_time_button_get_time), (hildon_time_button_set_time):
6176 * src/hildon-time-selector.c: (hildon_time_selector_init),
6177 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6178 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6179 * src/hildon-time-selector.h:
6182 Massive code updates after the rename.
6184 * src/hildon-touch-picker.c: Removed.
6185 * src/hildon-touch-picker.h: Removed.
6187 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6188 (hildon_touch_selector_init), (hildon_touch_selector_map),
6189 (hildon_touch_selector_remove), (_default_print_func),
6190 (_selection_changed_cb), (_create_new_column),
6191 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6192 (hildon_touch_selector_append_text_column),
6193 (hildon_touch_selector_remove_column),
6194 (hildon_touch_selector_set_column_attributes),
6195 (hildon_touch_selector_insert_column),
6196 (hildon_touch_selector_get_num_columns),
6197 (hildon_touch_selector_get_column_selection_mode),
6198 (hildon_touch_selector_set_column_selection_mode),
6199 (hildon_touch_selector_set_print_func),
6200 (hildon_touch_selector_get_print_func),
6201 (hildon_touch_selector_get_active_iter),
6202 (hildon_touch_selector_set_active_iter),
6203 (hildon_touch_selector_get_selected_rows),
6204 (hildon_touch_selector_get_model),
6205 (hildon_touch_selector_set_model),
6206 (hildon_touch_selector_get_current_text),
6207 (_hildon_touch_selector_center_on_selected_items):
6208 * src/hildon-touch-selector.h: Renamed from
6209 hildon-touch-picker.[ch]
6211 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6212 references, code examples, and related documentation.
6214 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6216 * doc/hildon-docs.sgml
6219 * src/hildon-toggle-button.c
6220 * src/hildon-toggle-button.h
6221 * src/hildon.h: New HildonToggleButton widget.
6223 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6225 * src/hildon-button.c: Add API documentation.
6226 (hildon_button_set_size_groups): Check input parameters
6228 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6230 * src/hildon-pannable-area.c
6231 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6232 effect after reaching the movement thredshold. This way we start
6233 using the distance after passing the thredshold.
6235 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6237 * src/hildon-button.c: (hildon_button_set_property): Use the
6238 appropriate g_value_get_flags() method.
6240 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6242 * doc/hildon-docs.sgml:
6245 Add the touch pickers, picker dialogs, and picker button widgets
6246 to the documentation.
6248 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6250 * src/hildon-button.c: (hildon_button_set_property),
6251 (hildon_button_class_init): Make "arrangement-flags" a proper
6252 G_TYPE_FLAGS derived property.
6254 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6256 * examples/Makefile.am: Add below examples.
6257 * examples/hildon-date-button-example.c:
6258 * examples/hildon-picker-button-example.c:
6259 * examples/hildon-picker-button-multicolumn-example.c:
6260 * examples/hildon-time-button-example.c:
6261 * examples/hildon-touch-picker-example.c:
6263 Add examples for the recently added touch pickers,
6264 picker dialogs, and picker button widgets.
6266 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6268 * src/hildon-button.c: Add some API documentation
6270 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6272 * src/hildon-button.h
6273 * src/hildon-button.c
6275 (hildon_button_new_with_text): New constructor to create a button
6276 with no text at all.
6277 (hildon_button_init, hildon_button_set_arrangement)
6278 (hildon_button_set_title, hildon_button_set_value)
6279 (hildon_button_set_text)
6280 (hildon_button_construct_child): Hide the value when it's not used
6281 so the rest of the text is properly aligned.
6282 Allow creating buttons with arbitrary widgets inside (not just
6283 title/value labels).
6285 * examples/hildon-button-example.c (vertical_buttons_window)
6286 (horizontal_buttons_window): Update example to use new API.
6288 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6290 * src/Makefile.am: Added HildonTimeButton.
6291 * src/hildon-time-button.c: Added missing LGPL header.
6292 * src/hildon-time-button.h: Added missing LGPL header.
6293 * src/hildon.h: Add hildon-time-button.h
6295 Copied HildonTimeButton from sandbox to trunk. Future work on this
6296 widget must take place in trunk.
6298 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6300 * src/Makefile.am: Added HildonDateButton.
6301 * src/hildon-date-button.c: Update includes.
6302 * src/hildon.h: Add hildon-date-button.h
6304 Copied HildonDateButton from sandbox to trunk. Future work on this
6305 widget must take place in trunk.
6307 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6309 * src/Makefile.am: Added HildonPickerButton.
6310 * src/hildon-picker-button.h: Update includes.
6311 * src/hildon.h: Add hildon-picker-button.h
6313 Copied HildonPickerButton from sandbox to trunk. Future work on
6314 this widget must take place in trunk.
6316 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6318 * src/Makefile.am: Added HildonPickerDialog.
6319 * src/hildon-picker-dialog.c: Update includes.
6320 * src/hildon.h: Add hildon-picker-dialog.h
6322 Copied HildonPickerDialog from sandbox to trunk. Future work
6323 on this widget must take place in trunk.
6325 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6327 * src/Makefile.am: Added HildonTimeSelector.
6328 * src/hildon.h: Add hildon-time-selector.h
6330 Copied HildonTimeSelector widget from sandbox to trunk. Future
6331 work on this widget must happen in trunk.
6333 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6335 * src/Makefile.am: Added HildonDateSelector.
6336 * src/hildon.h: Add hildon-date-selector.h
6338 Copied HildonDateSelector widget from sandbox to trunk. Future
6339 work on this widget must happen in trunk.
6341 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6343 * src/Makefile.am: Added HildonTouchPicker.
6344 * src/hildon-touch-picker.c: Update includes.
6345 * src/hildon.h: Add hildon-touch-picker.h
6347 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6348 on this widget must happen in trunk.
6350 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6352 * src/hildon-pannable-area.c:
6353 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6355 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6357 * examples/hildon-app-menu-example.c (main): Let the window
6360 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6362 * src/hildon-pannable-area.c
6363 (hildon_pannable_area_class_init): Set the min value of the
6364 overshoot properties to zero, which points out that not
6365 overshooting allowed.
6367 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6369 Modified the procedure to get the widget at a point inside the
6370 pannable area when using the movement type signals. Now the user
6371 has to call a function to get the child, that way we just
6372 calculate the child in case the user really want to use it and not
6375 * src/hildon-marshalers.list: Modified the marshallers, now we do
6376 not have the widget as a parameter.
6378 * src/hildon-pannable-area.c
6379 (hildon_pannable_area_motion_notify_cb),
6380 (hildon_pannable_area_class_init),
6381 (hildon_pannable_get_child_widget_at): Removed the widget
6382 parameter from the signal callback. We have also refactored the
6383 emission of the signals.
6385 * src/hildon-pannable-area.h: Added a new method to the API to
6386 calculate a widget at a point inside the pannable area,
6387 hildon_pannable_get_child_widget_at.
6389 * examples/hildon-pannable-area-example-4.c
6390 (horizontal_movement): Modified the example to use the new API,
6391 added condition to control which widget is under the event. This
6392 way we can avoid scrolling laterally over other widgets.
6394 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6396 * src/hildon-pannable-area.c
6397 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6398 modes, we stop getting the pointer events due to returning the
6399 callback without properly calling the get pointer again. Fixed
6400 also an error using the hscroll and vscroll.
6402 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6404 * src/hildon-app-menu-private.h
6405 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6406 (hildon_app_menu_button_release, hildon_app_menu_init)
6407 (hildon_app_menu_class_init): Don't hide the menu on button
6408 release if the user didn't press outside first.
6410 * src/hildon-window.h
6411 * src/hildon-window.c (hildon_window_toggle_menu)
6412 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6413 hildon_window_toggle_menu a virtual function for the stackable
6414 window to override it.
6416 * src/hildon-stackable-window.h
6417 * src/hildon-stackable-window-private.h
6418 * src/hildon-stackable-window.c
6419 (hildon_stackable_window_realize)
6420 (hildon_stackable_window_finalize)
6421 (hildon_stackable_window_class_init)
6422 (hildon_stackable_window_init)
6423 (hildon_stackable_window_set_main_menu): New function to set the
6424 app menu of a HildonStackableWindow.
6426 * examples/hildon-app-menu-example.c: Remove the button to show
6427 the app menu, now it'll be shown when clicking on the title bar
6430 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6432 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6433 set the widget name if the arrangement flags do not specify
6436 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6438 * src/hildon-button.c: (hildon_button_set_property),
6439 (hildon_button_class_init), (hildon_button_new_full),
6440 (hildon_button_set_arrangement): Added "arrangement-flags"
6443 Make the HildonButtonFlags a construction-only property, to allow
6444 subclasses to set them properly.
6446 2008-07-21 Tim Janik <timj@imendio.com>
6448 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6449 insertion position after backspace, so additional digits are appended,
6452 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6454 * src/hildon-pannable-area.c,
6455 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6456 TODO list, it was complete and removed the g_debug and g_print
6459 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6461 Added the movement modes to the hildon-pannable-area, with this
6462 modes the developers can control in which directions the widget
6463 can scroll. They can also connect to signals in order to do
6464 something when that happens, allowing applications scroll. There
6465 is an example uploaded showing how to use it.
6467 * examples/Makefile.am:
6468 * examples/hildon-pannable-area-example-4.c: Added this example of
6469 an application using the modes.
6471 * src/hildon-marshalers.list: Added a new marshaller for the new
6474 * src/hildon-pannable-area.h: Added new enumerations and flags in
6475 order to control the movement modes and the new signals to warn
6476 about the movements in the area.
6478 * src/hildon-pannable-area.c:
6479 (hildon_pannable_axis_scroll),
6480 (hildon_pannable_area_scroll),
6481 (hildon_pannable_area_motion_notify_cb),
6482 (hildon_pannable_area_get_property),
6483 (hildon_pannable_area_set_property),
6484 (hildon_pannable_area_map),
6485 (hildon_pannable_area_class_init),
6486 (hildon_pannable_area_init),
6487 (hildon_pannable_area_jump_to): Added the modes to control the
6488 movement in the widget. We have added properties to control it,
6489 signals to warn about the movements and refactored some code.
6491 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6493 Changes required in order to allow vfast_factor set to zero to
6496 * src/hildon-pannable-area.c:
6497 (hildon_pannable_area_button_press_cb): Changed the condition, it
6498 is required for not allowing click when vfast_factor is zero.
6499 (hildon_pannable_area_timeout): Initialized velocity variables
6500 when we stop moving, it was less than 1 but not zero and we need
6501 to check zero in some situations.
6502 (hildon_pannable_area_class_init): Changed the default value of
6503 the speed factor, now the button_press is just sent in case the
6504 speed is 2 per cent of the max speed.
6505 (hildon_pannable_area_init): Initialization with 0.
6507 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6509 * src/hildon-pannable-area.c,
6510 (hildon_pannable_area_get_topmost): replaced
6511 gdk_window_get_children with gdk_window_peek_children, this way we
6512 do not have to free the list because it is not a copy.
6514 (hildon_pannable_axis_scroll),
6515 (hildon_pannable_area_scroll),
6516 (hildon_pannable_area_timeout),
6517 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6518 two parameters that were only used inside the
6519 hildon_pannable_area_scroll function.
6521 * examples/hildon-pannable-area-example.c,
6522 (get_sawtooth_label): Fixed small memory leak.
6524 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6526 More checks for the case where the overshoot is bigger than the
6529 * src/hildon-pannable-area.c:
6530 (hildon_pannable_draw_vscroll),
6531 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6532 to draw the slider of the scrollbar under the other scrollbar.
6533 (hildon_pannable_area_expose_event): added new checks to control
6534 the drawing of the overshooting area rectangle, in case it is too
6535 big for the area of the widget.
6536 (hildon_pannable_area_size_allocate): add more checks to avoid
6537 setting a position to the child widget outside the area.
6539 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6541 * src/hildon-pannable-area.c
6542 (hildon_pannable_area_size_allocate): Added conditions to control
6543 when overshooting is bigger than the allocated space for the
6544 children, this avoids negative allocations.
6546 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6548 * doc/hildon-docs.sgml
6550 * examples/Makefile.am
6551 * examples/hildon-button-example.c
6553 * src/hildon-button.c
6554 * src/hildon-button.h
6555 * src/hildon.h: Initial version of the new HildonButton widget,
6558 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6560 * src/hildon-pannable-area.c:
6561 (hildon_pannable_area_button_press_cb),
6562 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6563 (hildon_pannable_area_motion_notify_cb),
6564 (hildon_pannable_area_button_release_cb),
6565 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6566 (hildon_pannable_area_jump_to_child):
6568 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6570 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6572 * examples/Makefile.am
6573 * examples/hildon-pannable-area-touch-grid-example.c
6574 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6575 the Hildon Touch List and Hildon Touch Grid using the
6576 HildonPannableArea widget.
6578 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6580 * src/hildon-pannable-area.c,
6581 (hildon_pannable_area_button_press_cb),
6582 (hildon_pannable_area_refresh),
6583 (hildon_pannable_area_scroll),
6584 (hildon_pannable_area_motion_notify_cb),
6585 (hildon_pannable_area_button_release_cb),
6586 (hildon_pannable_area_expose_event),
6587 (hildon_pannable_area_add),
6588 (hildon_pannable_area_remove),
6589 (hildon_pannable_area_realize),
6590 (hildon_pannable_area_size_allocate),
6591 (hildon_pannable_area_class_init),
6592 (hildon_pannable_area_init),
6593 (hildon_pannable_area_scroll_to_child),
6594 (hildon_pannable_area_jump_to_child): Fixed the problem of
6595 removing the child from the GtkBin, we have rearranged the widget
6596 hierarchy, now there is no GtkAlignment which was not doing
6597 anything interesting but breaking some of the assumptions of
6598 GtkContainer. Now developers if they want to add a GtkAlignment
6599 they could, but it is not inside the area.
6601 We had to review the whole allocation/expose process, now it is
6602 improved and we save at least three signals which would be saving
6603 some time when rendering the widget. The allocation of the
6604 scrollbars is now made in the allocate method as usual.
6606 We have also added some conditions in order to control when there
6607 is no child of the pannable area. Maybe we will need more work
6610 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6612 * src/hildon-pannable-area.c,
6613 (hildon_pannable_area_dispose): Released the fade-out timeout when
6614 disposing the widget.
6616 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6618 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6619 zero, we are going to use that property in order to deactivate the
6621 (hildon_pannable_axis_scroll),
6622 (hildon_pannable_area_size_allocate): Added conditions to control
6623 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6624 call, now it is called in all situations and we can remove calls
6625 in the allocate method.
6626 (hildon_pannable_area_map): Control the situation when
6627 overshoot_max is zero, we do not need the timeout.
6628 (hildon_pannable_area_class_init): Added documentation in order to
6629 point out that setting zero to overshoot_max means deactivate
6632 NOTE: removed trailing whitespaces from my previous comments of
6635 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6637 * src/hildon-pannable-area.c
6638 (hildon_pannable_area_get_property),
6639 (hildon_pannable_area_set_property),
6640 (hildon_pannable_area_map),
6641 (hildon_pannable_area_class_init),
6642 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6643 to cause the widget give a hint about its panning abilities upon
6646 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6648 * src/hildon-pannable-area.c: Several documentation improvements.
6650 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6652 * src/hildon-program.c
6653 * src/hildon-stackable-window.c: Update documentation.
6655 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6657 * src/hildon-stackable-window.c (get_previous_window_if_last):
6658 Renamed get_last_window()
6659 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6660 (hildon_stackable_window_unset_program):
6662 (get_previous_window_if_last):
6663 Detect if the window hasn't been added to a HildonProgram.
6665 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6667 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6669 * src/hildon-pannable-area.c
6670 (hildon_pannable_area_button_press_cb),
6671 (hildon_pannable_axis_scroll),
6672 (hildon_pannable_area_scroll),
6673 (hildon_pannable_area_timeout),
6674 (hildon_pannable_calculate_vel_factor),
6675 (hildon_pannable_area_get_property),
6676 (hildon_pannable_area_set_property),
6677 (hildon_pannable_area_class_init),
6678 (hildon_pannable_area_init),
6679 (hildon_pannable_area_scroll_to),
6680 (hildon_pannable_area_jump_to),
6681 (hildon_pannable_area_scroll_to_child),
6682 (hildon_pannable_area_jump_to_child):
6683 * src/hildon-pannable-area.h: Added the new API functions:
6684 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6685 hildon_pannable_area_scroll_to_child,
6686 hildon_pannable_area_jump_to_child
6689 * examples/Makefile.am
6690 * examples/hildon-pannable-area-example-2.c
6691 * examples/hildon-pannable-area-example-3.c: Added these two new
6692 examples in order to test and show how the new APIs work.
6694 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6696 * examples/hildon-stackable-window-example.c (new_window):
6697 * src/Makefile.am (noinst_HEADERS):
6698 * src/hildon-program.c (hildon_program_go_to_root_window):
6699 * src/hildon-program.h:
6700 * src/hildon-stackable-window-private.h:
6701 * src/hildon-stackable-window.c:
6702 * src/hildon-stackable-window.h:
6703 Create hildon-stackable-window-private.h
6704 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6706 * examples/hildon-app-menu-example.c (create_menu):
6707 * examples/hildon-hvolumebar-insensitive-example.c (main):
6708 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6709 * examples/hildon-toolbar-seekbar-example.c (main):
6710 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6711 * src/hildon-banner.c (hildon_banner_set_property):
6712 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6713 Fix compilation warnings
6715 * src/hildon-window.c:
6718 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6720 * src/hildon-stackable-window.c
6721 (hildon_stackable_window_unset_program):
6722 Calculate correctly whether to show the previous window if the
6723 last one is removed from the stack.
6724 (hildon_stackable_window_go_to_root_window):
6725 Send delete events starting from the topmost window.
6726 Stop if one of the windows is not destroyed.
6728 (hildon_stackable_window_delete_event)
6729 (hildon_stackable_window_class_init):
6730 Ignore the delete event if the window is not the topmost one.
6732 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6734 * src/hildon-pannable-area.c
6735 (hildon_pannable_area_expose_event): Fixed a problem when
6736 selecting the background color of the scrollbars.
6738 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6740 * examples/hildon-stackable-window-example.c
6741 * src/hildon-stackable-window.c
6742 * src/hildon-stackable-window.h
6743 hildon_stackable_window_go_home() renamed to
6744 hildon_stackable_window_go_to_root_window()
6745 Send delete events to windows rather than closing them with
6746 gtk_widget_destroy()
6748 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6750 * src/hildon-pannable-area.c
6751 (hildon_pannable_area_button_release_cb): Fix overshooting in
6754 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6756 * src/hildon-pannable-area.c
6757 (hildon_pannable_area_init): Initially show the scroll indicators.
6758 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6760 Add initial effect showing the widget is pannable.
6762 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6764 * src/hildon-pannable-area.c
6765 (hildon_pannable_area_class_init)
6766 (hildon_pannable_area_set_property)
6767 (hildon_pannable_area_get_property)
6768 (hildon_pannable_area_button_press_cb):
6769 New 'velocity_fast_factor' property to decide which velocity is
6772 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6774 * src/hildon-pannable-area.c
6775 (hildon_pannable_draw_hscroll)
6776 (hildon_pannable_draw_vscroll):
6777 Use float variables to calculate the size of the scrollbars to
6778 avoid error propagation and resizing during scrolling.
6780 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6782 * src/hildon-pannable-area.c
6783 (hildon_pannable_draw_vscroll)
6784 (hildon_pannable_draw_hscroll):
6785 Define a minimum size for the scroll bars
6787 * src/hildon-stackable-window.c
6788 (hildon_stackable_window_go_home): Fix compilation warning
6789 (get_last_window): Minor optimizations
6790 (hildon_stackable_window_class_init): Fix initialization of
6793 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6795 * src/hildon-stackable-window.c: Fixed typos in doc
6797 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6799 * src/hildon-pannable-area.c
6800 (hildon_pannable_area_scroll):
6801 Calculate here whether we need to scroll instead of using the booleans
6802 that tell us whether to /draw/ the scrolling bars.
6804 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6806 * src/hildon-app-menu.h
6808 * src/hildon-app-menu.c
6809 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6810 multiple filter groups related code and API. Now we support only
6812 * examples/hildon-app-menu-example.c:
6814 Update to reflect API changes.
6816 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6818 * src/hildon-stackable-window.c
6819 (hildon_stackable_window_class_init):
6820 Add hildon_stackable_window_realize.
6821 (hildon_stackable_window_realize):
6822 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6823 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6824 to apply theming and behavior specific to HildonStackableWindow
6827 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6829 * src/hildon-note.c (hildon_note_button_release):
6830 Close information notes also when tapping on them
6832 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6834 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6835 ELASTICITY, refactor and review, fix some issues with drawing
6838 * src/hildon-pannable-area.c:
6839 (hildon_pannable_area_button_press_cb): removed the conditions to
6840 avoid clicks when overshooting. It is not required
6842 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6843 define. Refatored and reviewed the code, now we do not need to
6844 manage velocity in motion_notify.
6846 (hildon_pannable_area_motion_notify_cb): We have moved the code
6847 that controls the area_scroll to the axis_scroll function and get
6848 rid of duplicated code.
6850 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6852 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6854 (hildon_pannable_draw_vscroll),
6855 (hildon_pannable_draw_hscroll): Fixed the problems with the
6856 scrollbar drawing, now we do not use two surfaces, it is easier
6857 and saves resources.
6859 (hildon_pannable_area_get_property): Style modification.
6861 (hildon_pannable_area_class_init): Changed some default values.
6863 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6865 * src/hildon-stackable-window.c: Fix some typos in the
6868 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6870 * src/hildon-dialog.c:
6871 Change indentation style
6874 (hildon_note_button_release):
6875 Use root coordinates to check if the release event happened
6878 * src/hildon-app-menu.c
6879 (hildon_app_menu_button_release):
6880 Remove unnecessary check
6882 * examples/hildon-app-menu-example.c
6884 Add cast to fix warning
6886 * src/hildon-app-menu.c
6887 (hildon_app_menu_class_init):
6888 New inner-border style property.
6889 Set all default spacings to 16
6890 (hildon_app_menu_init):
6891 Use vertical-spacing to set the space between filter buttons and
6892 regular menu buttons.
6893 Set the default container border using the inner-border value.
6895 * examples/hildon-app-menu-example.c
6897 Don't set the menu border explicitly, now we have the inner-border
6898 style property for that.
6900 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6902 * src/hildon-app-menu.c (hildon_app_menu_init):
6903 Make the window modal
6905 * src/hildon-note.c (hildon_note_map)
6906 * src/hildon-app-menu.c (hildon_app_menu_map):
6907 Destroy the grab window if we're unable to grab the pointer
6909 * src/hildon-app-menu-private.h
6910 * src/hildon-app-menu.c
6911 (hildon_app_menu_init, hildon_app_menu_finalize)
6912 (hildon_app_menu_map, hildon_app_menu_unmap)
6913 (hildon_app_menu_button_release)
6914 (grab_transfer_window_get):
6915 Bring back the grab window
6916 (hildon_app_menu_realize):
6917 Decorate the window, set WM hint for Matchbox
6919 * src/hildon-note.c (hildon_note_realize):
6920 * src/hildon-banner.c (hildon_banner_realize):
6921 Add WM hints for Matchbox
6923 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6925 * src/hildon-app-menu-private.h
6926 * src/hildon-app-menu.c
6927 (hildon_app_menu_init, hildon_app_menu_finalize)
6928 (hildon_app_menu_map, hildon_app_menu_unmap)
6929 (hildon_app_menu_button_release):
6930 Remove the grab window, it's not needed anymore
6932 * src/hildon-program.c
6933 Fixed typo in documentation
6935 * src/hildon-app-menu.h
6936 * src/hildon-app-menu.c
6937 * examples/hildon-app-menu-example.c
6938 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6940 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6943 Added new transfer_window and close_if_pressed_outside private
6945 (hildon_note_rebuild):
6946 Don't add a cancel button to the information note. It will be
6947 closed when tapping outside
6948 Remove the comment about the OK button in the documentation
6949 (hildon_note_realize):
6950 Set the notification type hint
6951 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6952 Grab/ungrab pointer and keyboard if the note has to be closed when
6954 (hildon_note_button_release):
6955 Close the note when tapping outside (if applicable)
6957 * src/hildon-app-menu.c
6958 Grab/ungrab pointer and keyboard on map/unmap
6959 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6960 Close the menu on button release, not button press
6962 * src/hildon-banner.c
6963 (hildon_banner_set_property)
6964 (hildon_banner_check_position):
6965 Make the banner use the full width of the screen
6966 (hildon_banner_show_information)
6967 (hildon_banner_show_information_with_markup):
6968 Don't display an icon by default
6970 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6972 Added fading scrollbars and adapted all the overshooting code to
6973 horizontal scrolling. We have also fixed bugs with overshooting
6974 and current fading implementation.
6976 * src/hildon-pannable-area.c
6977 (hildon_pannable_area_scroll_indicator_fade): Time out function
6978 used to change the transparency of the scrollbars.
6980 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6981 control and fixed a problem with fading, we now remove the fade
6982 timeout before adding a new one.
6984 (hildon_pannable_axis_scroll):
6985 (hildon_pannable_area_scroll):
6986 (hildon_pannable_area_timeout): Added this functions so we can use
6987 the scroll code both for vertical and horizontal.
6989 (hildon_pannable_area_motion_notify_cb):
6990 (hildon_pannable_area_button_release_cb): Added the horizontal
6991 scrolling control, fixed a problem with the overshooting timeout.
6993 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6994 painting of the scrolls.
6996 (hildon_pannable_draw_vscroll):
6997 (hildon_pannable_draw_hscroll):
6998 (hildon_pannable_area_expose_event):
6999 Draw both scrollbars and rectangles in the overshooting area.
7001 (hildon_pannable_area_get_property):
7002 (hildon_pannable_area_set_property):
7003 Modified the overshoot property to overshoot_max
7005 (hildon_pannable_area_map):
7006 Replaced the comments symbols.
7008 (hildon_pannable_area_size_allocate):
7009 (hildon_pannable_area_class_init):
7010 (hildon_pannable_area_init): Added horizontal scroll, fading
7011 effect properties, fixed a problem when overshooting in the bottom
7014 * examples/hildon-pannable-area-example.c:
7015 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7016 looks better in the example.
7018 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7020 * src/hildon-window.c
7021 * src/hildon-window.h
7022 (hildon_window_class_init)
7023 (hildon_window_unset_program)
7024 (hildon_window_unset_program_real):
7025 Make unset_program a virtual function
7027 * src/hildon-stackable-window.c
7028 * src/hildon-stackable-window.h
7029 Added hildon_stackable_window_go_home()
7031 * examples/Makefile.am
7032 * examples/hildon-stackable-window-example.c
7033 HildonStackableWindow example
7035 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7037 * hildon-pannable-area.c: Added the overshoot property and removed
7038 the OVERSHOOT define. Fixed an indent style error.
7039 (hildon_pannable_area_motion_notify_cb):
7040 (hildon_pannable_area_get_property):
7041 (hildon_pannable_area_set_property): Add overshoot property.
7043 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7046 (hildon_pannable_area_class_init): Installed the new property.
7048 * hildon-pannable-area-example.c: Added a sawtooth function, this
7049 way it is easier to check the movement in the pannable.
7050 (get_sawtooth_label): Added this function.
7051 (main): Now we get the labels from the new get_sawtooth_label
7054 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7056 * src/hildon-app-menu.h
7057 * src/hildon-app-menu.c
7058 Renamed API variables for consistency
7060 (hildon_app_menu_popup): Use also the default window size to
7061 decide where to place the menu
7063 (hildon_app_menu_init, hildon_app_menu_class_init): New
7064 external-border style property
7066 2008-05-26 Michael Natterer <mitch@imendio.com>
7068 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7069 widget_class->tap_and_hold_setup signal slot doesn't exist any
7070 longer, stop overriding it.
7072 (hildon_time_editor_init): g_signal_connect() to the
7073 tap-and-hold-setup signal instead.
7075 (hildon_time_editor_entry_keypress): add cast to fix warning.
7077 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7079 * doc/hildon-docs.sgml
7081 * examples/Makefile.am
7082 * examples/hildon-app-menu-example.c
7084 * src/hildon-app-menu-private.h
7085 * src/hildon-app-menu.c
7086 * src/hildon-app-menu.h
7088 New HildonAppMenu widget
7090 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7092 Rearranged the inheritance of the pannable area, now it inherits
7093 from GtkBin. This will allow us to control the event_window and
7094 the allocation process of the widget, required for some effects.
7096 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7097 GtkBin structures. * src/hildon-pannable-area.c: Added the
7098 event_window variable.
7099 (hildon_pannable_area_button_press_cb):
7100 (hildon_pannable_area_button_release_cb):
7101 (hildon_pannable_area_motion_notify_cb):
7102 Changed the signature of the method, now we override the event
7103 callback instead of connecting to the signal.
7105 (hildon_pannable_area_realize):
7106 (hildon_pannable_area_unrealize):
7107 (hildon_pannable_area_map):
7108 (hildon_pannable_area_unmap):
7109 (hildon_pannable_area_size_allocate):
7110 Added functions to control the widget construction. We add a
7111 INPUT_ONLY window and we put it over the widgets inside the
7112 container, this event_window handles the events.
7114 (hildon_pannable_area_class_init):
7115 Replaced the signal connections with overrides of the event
7118 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7120 Bouncing effect added when touching the borders, you can change
7121 the elasticity of the border changing the ELASTICITY define.
7123 * src/hildon-pannable-area.c: Added ELASTICITY define.
7124 (hildon_pannable_area_timeout): Added inverse velocity when
7125 touching the border of the child widget, that causes a bounce.
7127 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7129 Improved performance, we now do not go to the X server in order to
7130 get the list of window children. Apparently the effect is the
7131 same, we have to be careful and check if this breaks something in
7134 * src/hildon-pannable-area.c:
7135 (get_ordered_children): Removed this function.
7136 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7137 the children windows function with gdk_window_get_children.
7139 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7141 * src/hildon-pannable-area.c:
7142 (hildon_pannable_area_dispose): Fixed a crash when closing the
7143 window and kinetics is activated.
7145 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7147 * src/hildon-pannable-area.h
7148 * src/hildon-pannable-area.c
7149 Changed indentation style to meet the one used in Hildon
7151 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7153 Reviewed the interaction of the AUTO mode, now we use the time
7154 attribute of the events and calculate the velocity in the motion,
7155 doing a gimp like calculation. The velocity is calculated in each
7156 motion event using the last velocity and the current one, the
7157 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7159 * src/hildon-pannable-area.c: Replaced the time based algorithm
7161 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7162 timeout for the AUTO mode when we are still moving the cursor. We
7163 added also the velocity calculation in this function.
7164 (hildon_pannable_area_button_release_cb): launch the timeout in
7165 case we are in AUTO mode. There are still some constants here that
7166 come from the old implementation that should be reviewed and
7169 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7171 * doc/hildon-docs.sgml
7174 * src/hildon-stackable-window.c
7175 * src/hildon-stackable-window.h
7177 New HildonStackableWindow widget
7179 * examples/hildon-dialog-example.c
7180 * examples/hildon-pannable-area-example.c
7183 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7185 * src/hildon-dialog.c
7186 (hildon_dialog_new_with_buttons): New constructor.
7188 * examples/hildon-dialog-example.c
7189 (main): Update the example to use the new
7190 hildon_dialog_new_with_buttons().
7192 * examples/hildon-pannable-area-example.c
7193 (main): Update example.
7195 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7197 * doc/hildon-docs.sgml
7199 Added HildonPannableArea to the documentation.
7201 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7203 * doc/visual_index.xml
7204 Fix reference to HildonLoginDialog in documentation
7206 * doc/hildon-docs.sgml
7208 * examples/Makefile.am
7209 * examples/hildon-dialog-example.c
7211 * src/hildon-dialog.c
7212 * src/hildon-dialog.h
7214 New HildonDialog widget.
7216 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7218 * src/hildon-pannable-area.c
7219 Merge latest changes (r4318, r4342) from libmokoui trunk
7221 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7223 * examples/Makefile.am
7224 * examples/hildon-pannable-area-example.c
7226 * src/hildon-pannable-area.c
7227 * src/hildon-pannable-area.h
7229 New HildonPannableArea widget.
7231 2008-04-15 18:05:19 <timj@imendio.com>
7233 * src/hildon-banner.c: revert the recent change, that introduced
7234 gtk_window_present() calls. this reopens:
7235 Bug 78481 - [freetest] information banners are hidden under browser menu
7236 But resolves another variant of:
7237 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7239 2008-04-15 13:21:13 <timj@imendio.com>
7241 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7242 recreated its layout, spotted by Kris. this fixes all remaining
7243 artefacts and stability issues with the banner code. in particular:
7244 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7246 2008-04-14 16:52:59 <timj@imendio.com>
7248 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7249 operating on unrealized widgets, fixes:
7250 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7252 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7254 2008-04-09 Kristian Rietveld <kris@imendio.com>
7256 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7257 makes banner disappear.
7258 Fixes: NB#79182: info banner flickering with certain message lengts.
7260 * src/hildon-banner.c (hildon_banner_constructor),
7261 (hildon_banner_init), (hildon_banner_set_text),
7262 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7263 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7264 FALSE, reset size requests of label and banner,
7265 (force_to_wrap_truncated): when the text is too wide, always enforce
7266 the maximum possible width instead of recalculating it from the
7267 layout; enforce the maximum banner height of 3 lines,
7268 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7269 nicer wrapping and no truncated chars if space gets tight.
7271 * src/hildon-banner-private.h: add has_been_wrapped and
7272 has_been_truncated fields.
7274 2008-04-07 Sven Herzberg <sven@imendio.com>
7276 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7277 local values in hildon_date_editor_size_allocate
7279 * src/hildon-date-editor.c: moved the real allocation code into the
7282 2008-04-07 Sven Herzberg <sven@imendio.com>
7284 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7285 local values in hildon_date_editor_size_allocate
7287 * src/hildon-date-editor.c: merged the two if() branches together
7289 2008-04-07 Sven Herzberg <sven@imendio.com>
7291 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7292 local values in hildon_date_editor_size_allocate
7294 * src/hildon-date-editor.c: changed the arguments of the if()
7297 2008-04-07 Sven Herzberg <sven@imendio.com>
7299 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7300 local values in hildon_date_editor_size_allocate
7302 * src/hildon-date-editor.c: split the calculation of the allocation
7303 from the real allocation
7305 2008-03-27 Michael Natterer <mitch@imendio.com>
7307 Fixes: NB#81696: The passcode is not overwritten even after
7310 * src/hildon-code-dialog.c
7311 (hildon_code_dialog_button_clicked)
7312 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7313 because that doesn't overwrite selected text. Instead, emit the
7314 "commit" signal on the entry's im_context so the entry's normal
7315 insert logic is triggered. Set the cursor to the end of the entry
7316 after each insert operation so that we *only* insert in the middle
7317 of the text if something was selected.
7319 2008-03-27 Michael Natterer <mitch@imendio.com>
7321 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7322 selector cannot be opened
7324 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7325 when the popup color selector is created. Please connect to this
7326 signal in order to set the dialog's help ID.
7328 2008-03-25 Sven Herzberg <sven@imendio.com>
7330 Fixes: MB#1212: Hide info banners (infoprints) on click
7332 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7333 extracted the close event simulation into an extra function
7334 (hildon_banner_button_press_event): simulate a close event and destroy
7335 the widget if the event wasn't handled
7336 (hildon_banner_class_init): added the button_press_event handler
7337 (hildon_banner_init): added button-press events to the widget
7339 2008-03-25 Sven Herzberg <sven@imendio.com>
7341 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7342 Patch from: Mohammad Anwari <mdamt@maemo.org>
7344 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7345 instead of the right in RTL mode
7346 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7347 breadcrumb button list in RTL mode
7348 * src/hildon-caption.c: mirror the appearance of the caption widget in
7350 * src/hildon-date-editor.c: mirror appearance of the date editor in
7352 * src/hildon-time-editor.c: mirror appearance of the time editor in
7354 * src/hildon-window.c: fix the position of the popup in RTL mode
7356 2008-03-25 Sven Herzberg <sven@imendio.com>
7358 Amendment to the fix of NB#22072. Fix compilation.
7360 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7362 2008-03-19 Sven Herzberg <sven@imendio.com>
7364 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7367 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7368 timeout id properly when the timeout will disappear this leaves no
7369 artifacts around in the destroy(); there will only be the timeout
7370 created by hildon_banner_ensure_timeout() and adding a new timeout
7371 will also work if the timeout gets removed because the timeout_handler
7374 2008-03-19 Michael Natterer <mitch@imendio.com>
7376 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7378 * src/hildon-volumebar.c
7379 * src/hildon-vvolumebar.c
7380 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7381 the widget becomes focussable at all.
7383 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7384 set the focus to wither the mute button or the volumebar.
7386 Remove own "can-focus" property and instead listen to
7387 notify::can-focus in order to update the widget's state.
7389 Implement GtkWidget::focus() and make sure we can also *leave* the
7390 widget, not only enter it, depending on volumebar orientation and
7391 requested focus direction.
7393 Clean up set_mute() to cooperate nicely with all the above.
7395 2008-03-04 Michael Natterer <mitch@imendio.com>
7397 Fixes: NB#78481: information banners are hidden under browser menu
7399 * src/hildon-banner.c: call gtk_window_present() on the banners so
7400 they are risen if they are already visible.
7402 2008-03-03 Sven Herzberg <sven@imendio.com>
7404 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7406 * examples/hildon-window-menu-example.c: (main): extended the window
7407 menu example to serve as a testcase for automatically added
7408 accelerator groups, too
7409 * src/hildon-window.c: (hildon_window_add_accel_group),
7410 (hildon_window_set_menu): added patch by Tommi Komulainen
7412 2008-03-03 Sven Herzberg <sven@imendio.com>
7414 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7416 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7417 knowledge about the border allocators used within GTK+
7419 2008-02-26 Sven Herzberg <sven@imendio.com>
7421 Fixes: MB#2981: Build with asserts broken
7423 * src/hildon-date-editor.c,
7424 * src/hildon-number-editor.c,
7425 * src/hildon-time-editor.c,
7426 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7427 the proper GType instance check
7429 2008-02-25 Sven Herzberg <sven@imendio.com>
7431 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7433 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7434 * examples/hildon-window-menu-example.c: (main): explicitly show
7436 * src/hildon-window.c:
7437 (hildon_window_set_main_menu): moved most of the code from set_menu()
7438 to this place; skipped the call to gtk_widget_show_all(); also didn't
7439 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7440 (hildon_window_set_menu): removed most of the code, just keep the
7441 questionable gtk_widget_show_all()
7442 * src/hildon-window.h: added the new function and deprecate the old
7445 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7451 * debian/changelog: Updating.
7453 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7456 * pkgconfig/Makefile.am:
7457 * pkgconfig/hildon.pc.in:
7460 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7461 use newly created API_MAJOR_VERSION.
7463 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7469 * debian/changelog: Updating.
7471 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7473 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7475 Add outer_border style property, we use it but don't define it (!).
7479 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7481 * examples/hildon-bread-crumb-trail-example.c (main):
7485 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7487 Fix logic for the bread crumb trail node removal.
7491 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7497 * debian/changelog: Updating.
7499 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7501 Patch by Alejandro to get/set passwords dialogs accesibility.
7503 * hildon-1/src/hildon-get-password-dialog.c:
7504 * hildon-1/src/hildon-set-password-dialog.c:
7505 Set atk_set_name to the passwd entries in order to allow
7506 accessibility by name on this entries.
7508 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7513 * debian/control: Updating gtk dep.
7515 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7517 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7518 USE_MAEMO_GTK is enabled.
7520 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7522 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7523 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7525 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7531 * debian/changelog: Updating.
7533 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7535 * examples/Makefile.am:
7536 * examples/hildon-logical-color-example.c:
7537 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7538 applied + adding a test case. Fixes: NB#71660.
7540 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7542 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7543 to be visible, fixes warning on map for windows without toolbars.
7545 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7547 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7548 2.11.0, add a check for that besides the MAEMO_GTK check.
7550 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7556 * debian/changelog: Updating.
7558 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7560 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7561 visibility. Fixes: NB#70842 and MB#615.
7563 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7565 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7566 set the separator as no-show-all so it doesn't unintentionally appear when
7567 someone does a show_all.
7569 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7571 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7572 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7573 toplevel item. Fixes: NB#62031
7575 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7577 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7578 fix the name of the function in the docs.
7580 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7586 * debian/changelog: Updating.
7588 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7590 * examples/hildon-banner-long-example.c: Adding a test-case for long
7593 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7595 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7597 * src/hildon-color-chooser-dialog.c:
7598 * src/hildon-color-chooser.c:
7599 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7600 memory leaks in font selector and color selector. Fixes: NB#70499 and
7603 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7605 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7607 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7609 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7610 little bit bigger. Fixes: #NB63694.
7612 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7618 * debian/changelog: Updating.
7620 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7623 * doc/hildon-docs.sgml:
7624 * doc/images/bread-crumb-trail.png:
7625 * doc/images/calendar-popup.png:
7626 * doc/images/caption.png:
7627 * doc/images/code-dialog.png:
7628 * doc/images/color-button.png:
7629 * doc/images/color-chooser-dialog.png:
7630 * doc/images/color-chooser.png:
7631 * doc/images/controlbar.png:
7632 * doc/images/date-editor.png:
7633 * doc/images/font-selection-dialog.png:
7634 * doc/images/get-password-dialog.png:
7635 * doc/images/hvolumebar.png:
7636 * doc/images/login-dialog.png:
7637 * doc/images/note.png:
7638 * doc/images/number-editor.png:
7639 * doc/images/range-editor.png:
7640 * doc/images/seekbar.png:
7641 * doc/images/set-password-dialog.png:
7642 * doc/images/sort-dialog.png:
7643 * doc/images/time-editor.png:
7644 * doc/images/time-picker.png:
7645 * doc/images/vvolumebar.png:
7646 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7647 Adding the bread-crumb-trial and helpers to the documentation.
7649 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7651 * examples/hildon-find-toolbar-example.c:
7652 * src/hildon-find-toolbar.c:
7653 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7654 actually continue firing the other handlers if connected. Adding a new
7656 hildon_find_toolbar_get_last_index that gets the index of the most
7657 recently added (last) item. Fixes: NB#52301.
7659 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7661 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7662 behaviour. Fixes: NB#68610.
7664 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7666 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7669 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7671 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7672 when realizing the banner. Should make the infonbanner effect a bit more
7675 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7677 * src/hildon-volumebar.c:
7678 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7679 hildon_volumebar_set_range_insensitive_message and
7680 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7682 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7684 * src/hildon-window.c: Fixing the border freeing on destroy.
7686 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7688 * src/hildon-code-dialog-private.h:
7689 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7690 kw keyboard support in HildonCodeDialog.
7692 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7698 * debian/changelog: Updating.
7700 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7702 * src/hildon-date-editor.c:
7703 * src/hildon-number-editor.c:
7704 * src/hildon-private.c:
7705 * src/hildon-private.h:
7706 * src/hildon-time-editor.c:
7707 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7708 handling in subclassed composite widgets. Fixes: NB#66628.
7710 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7712 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7713 from destroy_ callback as it introduces problems in async dbus signal
7714 handlers. Fixes NB#66673.
7716 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7718 * examples/hildon-hvolumebar-example.c:
7719 * src/hildon-volumebar.c: Improving the focus handling in the
7720 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7721 set_property accessor so that "mute" property can be actually set. I'm
7722 scared that nobody noticed it's totally broken.
7724 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7726 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7729 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7731 * src/hildon-calendar.c:
7732 * src/hildon-number-editor.c:
7733 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7734 matches the spec of 6 chars per second. Fixes: NB#60489.
7736 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7738 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7739 gtk_style_lookup_color sometime returns FALSE even though color was
7740 found and values were filled properly. Weird. Removing the warning for the
7743 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7745 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7746 expand vertically. Adding some extra space to the find toolbar buttons to
7747 make them thumbable. Fixes NB#66060.
7749 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7751 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7752 popup with "Ok" and "Cancel". Fixes NB#59299.
7754 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7756 * src/hildon-calendar.c: Process all window updates before executing next
7757 timeout. Fixes: NB#54146.
7759 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7765 * debian/changelog: Updating.
7767 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7769 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7770 the client event and ignore it, since we use the delete event to close
7773 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7775 * src/hildon-helper.c: Remove the bogus warning about color not being
7776 found. Fixes NB#58352.
7778 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7780 * examples/Makefile.am:
7781 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7782 HildonSeekbar widget inside a toolbar.
7784 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7786 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7787 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7788 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7789 don't want to be closed by non-temporary windows on map.
7791 Also use G_DEFINE_TYPE instead of manually typed code.
7793 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7800 * debian/rules: Updating.
7802 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7804 * examples/Makefile.am:
7805 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7806 bug NB#61128. Strangely it works.
7808 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7810 * src/hildon-date-editor.c: When the date editor entry has been changed
7811 but the numbers of characters < max, turn off the skip validation flag.
7812 Prevents a situation when we enter first a valid year and later re-write
7813 it with an invalid one. Fixes NB#60154.
7815 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7817 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7818 code dialog. Fixes NB#64355.
7820 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7822 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7823 switching the page. Fixes NB#49374.
7825 * examples/Makefile.am:
7826 * examples/hildon-wizard-dialog-example.c: Adding an example for
7827 HildonWizardDialog that shows how to handle manual sensitivity setting on
7830 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7834 * src/hildon-version.h.in:
7835 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7837 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7839 * src/hildon-volumebar.c: Updating the docs.
7841 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7847 * debian/changelog: Updating.
7849 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7851 * src/hildon-find-toolbar.c:
7852 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7853 selected item: hildon_find_toolbar_set_active,
7854 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7855 hildon_find_toolbar_get_active_iter . They correspond to respective
7856 GtkComboBox functions.
7858 * examples/Makefile.am:
7859 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7862 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7864 * examples/Makefile.am:
7865 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7868 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7869 when font size > 32 and we pack a focusable widget inside. Actually using
7870 the default response would work too, but since we don't show default
7871 response state in any way (no theming) it would not be visible to the
7872 user. Fixes NB#63430.
7874 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7876 * src/hildon-date-editor.c: Adding the missing variable setter in the
7877 set_property handler. Fixes NB#54182.
7879 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7881 * src/hildon-window.h: Changing the long key press time from 1500ms to
7882 800ms as requested in NB#63700. I have a bad feeling about this, let's
7883 see... Fixes NB#63700.
7885 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7887 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7888 hildon_time_picker_map, hildon_time_picker_realize,
7889 hildon_time_picker_style_set): Split the contents of map to more
7890 appropriate functions; set window decorations on realize and update
7891 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7893 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7898 * debian/changelog: Updating.
7900 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7902 * src/Makefile.am: fixed installation of the header files
7904 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7910 * debian/changelog: Updating.
7912 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7914 * configure.ac: Removing some remaining of --enable-xan.
7916 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7918 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7919 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7921 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7922 2.10.12-osso6 because the move-focus signal needs to be available in
7925 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7927 * examples/Makefile.am:
7928 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7929 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7930 fine. Prolly NB#61128 is fixed now.
7932 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7934 * src/hildon-volumebar.c:
7935 * src/hildon-volumebar.h: Adding the
7936 hildon_volumebar_set_range_insensitive_message and
7937 hildon_volumebar_set_range_insensitive_messagef functions to set
7938 insensitive message on the slider of the volumebar. Fixes NB#61129.
7940 * examples/Makefile.am:
7941 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7942 test the new insensitive messsage functionality on HildonVolumebar.
7944 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7946 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7949 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7951 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7952 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7953 button on after clearing the trail.
7955 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7957 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7959 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7961 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7962 by splitting the installed headers in generated and non-generated groups. Use
7963 only the non-generated headers to create the hildon-enum-types.h file.
7965 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7967 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7969 * src/hildon-window.c: Hide the window before performing the destroy.
7970 Should make the app closing a little tiny bit more snappy.
7972 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7974 * src/hildon-seekbar.c: add gtkrange.h header
7975 * src/hildon-caption.c: remove unused variable
7977 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7979 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7982 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7988 * debian/changelog: Updating.
7990 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7992 * src/hildon-window.c (hildon_window_window_state_event,
7993 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7994 escape timeout on focus-out-event rather than notify::is-topmost; the
7995 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7997 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7999 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8000 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8002 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8004 * src/hildon-window: actually, you need to use the macro always, there's
8005 no private pointer in the instance structure. We should have cleaned this up
8006 when we had the chance...
8008 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8010 * src/hildon-window.c: do not get the private date from HildonWindow before
8011 it passes the g_return_if_fail check. Once it's passed the test, there's no
8012 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8013 if you are only going to access the data once. Whitespace cleanups.
8015 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8017 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8018 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8020 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8026 * debian/changelog: Updating.
8028 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8030 * src/hildon-window.c: When destroying the window, remove (if exists) the
8031 escape timeout handler. Fixes #NB59276.
8033 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8035 * src/hildon-banner.c: When realizing the widget, set the window
8036 transiency. Setting the transiency in the gobject constructor is not
8037 good, as the widget is not realized at that point. Fixes: #NB56624.
8039 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8041 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8042 Add padding for future expansions.
8044 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8046 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8047 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8048 will fake an activation on the previous to the last item of the trail, so
8049 the effect can be overrided by the developer as usual.
8050 Also change the callback for the back button to do the same thing, so its
8051 effect can be overrided too. Fixes: NB#58982
8053 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8055 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8056 HildonCaption. Fixes NB#52379.
8058 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8060 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8061 the internal state of the trail after the user has had the chance of executing
8062 his handler for the signal. Specifically, it may happen that the activated button
8063 is removed and the user still lets the default handler run. This would segfault
8066 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8068 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8069 scrollbar to the preview dialog. Fixes NB#54147.
8071 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8073 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8074 max/min year properties can be altered, so the client can modify it
8075 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8077 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8079 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8080 hildonlike by default. Fixing a problem with disappearing arrows when
8081 scrolling through months and years. Fixes NB#54127.
8083 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8085 * examples/hildon-date-editor-example.c: Adding error callback to the date
8088 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8094 * configure.ac: Updating.
8096 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8098 * configure.ac: Adding a special '--enable-xan' configure option that
8099 turns off the -Werror compilation setting. Usefull for development.
8101 * src/hildon-calendar.c:
8102 * src/hildon-number-editor.c:
8103 * src/hildon-time-picker.c: Adding the 5* multiplier to
8106 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8108 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8109 instead of g_object_ref + gtk_object_sink.
8111 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8117 * debian/changelog: Updating.
8119 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8121 * src/hildon-color-chooser-dialog.c:
8122 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8123 straight from Tommi labs.
8125 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8127 * examples/hildon-finger-example.c: Correcting the header file path.
8129 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8130 the changed signal. Fixes a small memory leak.
8132 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8136 * src/hildon-banner.c: Importing several usefull fixes from the
8137 ubuntu-mobile branch.
8139 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8141 * examples/Makefile.am:
8142 * examples/hildon-finger-example.c: Adding a finger-checking code
8145 * src/hildon-font-selection-dialog.c: Do not allocate the color
8146 structure using the g_new. Fixes NB#54061.
8148 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8150 * src/hildon-helper.c: Correcting tabs in file.
8152 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8154 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8155 control the visibility of the children.
8157 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8159 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8165 * debian/changelog: Updating.
8167 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8169 * src/hildon-bread-crumb-trail.c:
8170 (hildon_bread_crumb_trail_size_allocate):
8172 Make the back button always a square.
8174 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8176 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8177 from the .c file as it's a private file.
8179 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8181 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8182 uses slightly bigger height.
8184 * src/hildon-font-selection-dialog.c: Adding some checks before
8185 freeing memory in the font selection dialog.
8187 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8189 * src/hildon-font-selection-dialog.c: Adding a small check when
8192 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8193 buttons sensitivity on page switching.
8195 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8197 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8198 internal details of adding a bread crumb to the trail.
8200 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8206 * debian/changelog: Updating.
8208 * src/hildon-bread-crumb-trail.h:
8209 * src/hildon-bread-crumb.h: Changing the API guard to
8210 HILDON_ENABLE_UNSTABLE_API.
8212 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8220 * src/hildon-helper.h: Updating.
8222 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8230 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8234 * src/hildon-helper.h: Small fix to make the package actually compile.
8236 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8238 * src/hildon-bread-crumb-trail.h:
8239 * src/hildon-bread-crumb.h:
8241 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8242 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8244 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8246 * examples/hildon-bread-crumb-trail-example.c:
8248 * src/hildon-bread-crumb-trail.c:
8249 * src/hildon-bread-crumb-trail.h:
8250 * src/hildon-bread-crumb.c:
8251 * src/hildon-bread-crumb.h:
8252 * src/hildon-marshalers.list:
8253 * src/hildon-bread-crumb-widget.c:
8254 * src/hildon-bread-crumb-widget.h:
8256 Slight change in the widget design. The bread crumb trail API is
8257 unchanged, but HildonBreadCrumb is now an interface. A *private*
8258 implementation, hildon-bread-crumb-widget, is provided and used
8259 internally by the trail for the push_text/push_icon functions.
8261 The generic push API is still available, so anyone can implement
8262 and use its own bread crumb widget.
8264 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8266 * debian/rules: Fixing the shlibs.
8268 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8270 * src/hildon-banner.c: Fixing a problem with timed banners having
8271 their parrent destroyed before they are.
8273 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8275 * src/hildon-bread-crumb.c:
8276 * src/hildon-bread-crumb.h:
8278 Make the get_natural_size function a vfunc.
8280 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8282 * src/hildon-bread-crumb.c:
8283 * src/hildon-bread-crumb-trail.c:
8287 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8294 * debian/changelog: Updating for release.
8296 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8298 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8299 don't leak the pango layout.
8301 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8304 * examples/hildon-bread-crumb-trail-example.c:
8308 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8310 * debian/changelog: Removing the bug-fixed entries that were actually
8311 resolved as WONTFIX.
8313 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8316 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8318 * src/hildon-bread-crumb-trail.c:
8319 * src/hildon-bread-crumb-trail.h:
8320 * src/hildon-bread-crumb.c:
8321 * src/hildon-bread-crumb.h:
8325 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8327 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8328 until it's passed the type check.
8330 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8332 * examples/hildon-bread-crumb-trail-example.c
8336 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8338 * examples/Makefile.am
8339 * examples/hildon-bread-crumb-trail-example.c
8341 * src/hildon-bread-crumb-trail.c
8342 * src/hildon-bread-crumb-trail.h
8343 * src/hildon-bread-crumb.c
8344 * src/hildon-bread-crumb.h
8346 New HildonBreadCrumbTrail widget.
8348 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8350 * src/hildon-range-editor.c (hildon_range_editor_init),
8351 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8352 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8353 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8354 hildon_time_editor_class_init, hildon_time_editor_init),
8355 src/hildon-get-password-dialog.c (invalid_input,
8356 hildon_get_password_set_property, hildon_get_password_get_property,
8357 create_contents, hildon_get_password_dialog_set_max_characters),
8358 src/hildon-set-password-dialog.c (create_contents),
8359 src/hildon-date-editor.c (hildon_date_editor_init),
8360 src/hildon-login-dialog.c (hildon_login_dialog_init),
8361 src/hildon-number-editor.c (hildon_number_editor_init),
8362 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8363 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8364 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8365 configure option and adding the respective checks in the code.
8366 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8367 hildon_calendar_drag_data_received): fixed some build warnings.
8369 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8371 * debian/changelog: A 1.0.0 release notes.