1 2009-05-25 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c
4 (hildon_pannable_area_button_release_cb): Added a threshold to
5 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
7 2009-05-25 Alejandro G. Castro <alex@igalia.com>
9 * hildon/hildon-pannable-area.c,
10 (hildon_pannable_area_set_property): Added code to sync the gtk
11 dnd threshold with the panning threshold.
13 2009-05-25 Alejandro G. Castro <alex@igalia.com>
15 * hildon/hildon-pannable-area.c,
16 (hildon_pannable_area_class_init): Changed some of the default
17 values, now it should be less responsive and more accurate.
19 2009-05-25 Alejandro G. Castro <alex@igalia.com>
21 * hildon/hildon-pannable-area.c,
22 (hildon_pannable_area_init),
23 (hildon_pannable_area_scroll_indicator_fade),
24 (hildon_pannable_area_button_press_cb),
25 (hildon_pannable_axis_scroll),
26 (hildon_pannable_area_timeout),
27 (hildon_pannable_area_motion_notify_cb),
28 (hildon_pannable_area_button_release_cb): Changed the name of the
29 clicked attribute to button_pressed, it is more clear about its use.
31 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
33 * src/hildon-pannable-area.c
34 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
36 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
37 vertical scrollbar visibility, and use the data on private section instead,
38 remove the initial_hint check
39 (hildon_pannable_area_expose_event): add the initial_hint check here
41 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
43 * src/hildon-pannable-area.c
44 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
45 if the fadeout effect was used
46 (hildon_pannable_area_expose_event): check if it is required to
47 manage the initial effect on the begining of the function. Previously
48 it was made at the end, but this doesn't ensure that the scrollbars
49 will be painted on the first show. Do not set to FALSE initial_effect,
50 to ensure that the initial hint is showed the first time the pannable
52 * examples/Makefile.am
53 * examples/hildon-pannable-area-initial-hint-example.c:
54 New example, to show that the initial-hint is showed when the widget
57 Fixes: NB#116607 (Pannable area should always have scrollbar visible
58 initially if the application can be scrolled)
60 2009-05-25 Alberto Garcia <agarcia@igalia.com>
62 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
63 Resize table before adding new items to make sure that
64 gtk_table_resize() is called just once.
66 2009-05-25 Alberto Garcia <agarcia@igalia.com>
68 * hildon/hildon-app-menu-private.h
69 * hildon/hildon-app-menu.c (item_visibility_changed)
70 (filter_visibility_changed, hildon_app_menu_show_all)
71 (hildon_app_menu_hide_all, hildon_app_menu_init):
72 Rearrange items just once when gtk_widget_show_all()/hide_all()
75 2009-05-25 Alberto Garcia <agarcia@igalia.com>
77 * hildon/hildon-app-menu.c
78 (hildon_app_menu_insert, hildon_app_menu_add_filter):
79 Don't call gtk_widget_show() on added items.
81 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
82 automatically when they're added)
84 2009-05-20 Alberto Garcia <agarcia@igalia.com>
86 * hildon/hildon-banner.c
87 (hildon_banner_realize, +hildon_banner_unrealize)
88 (+screen_size_changed, hildon_banner_class_init):
89 Redisplay the banner if the screen is rotated.
91 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
92 on transition from landscape to portrait)
94 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
96 * hildon/hildon-banner.[ch]:
97 (hildon_banner_show_information_override_dnd): remove icon_name from the
98 method definition as it is ignored.
99 * examples/hildon-banner-dnd-example.c: updated with the change on
102 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
104 * hildon/hildon-banner-private.h: new require_override_dnd and
105 overrides_dnd variables
106 * hildon/hildon-banner.h:
107 (hildon_banner_show_information_override_dnd): new method, that shows
108 the information but sets the override flag, in order to show important
110 * hildon/hildon-banner.c
111 (hildon_banner_show_information_override_dnd): new method
112 (hildon_banner_set_override_flag): new utility function
113 (hildon_banner_real_show_information): new utility function, in order to
114 generalize the current hildon_banner_show_information_override_dnd and
115 hildon_banner_show_information_override_dnd
116 * examples/Makefile.am
117 * examples/hildon-banner-dnd-example.c: New example that show how to
118 use the new hildon_banner_show_information_override_dnd
120 Fixes: NB#114874 (There is no possibility to show hildon banners with
123 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
125 * hildon/hildon-pannable-area.c: Add a comment explaining the math
126 behind hildon_pannable_calculate_vel_factor().
128 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
130 * hildon/hildon-pannable-area.c
131 (hildon_pannable_calculate_vel_factor): Correct the sum of the
132 deceleration factors.
134 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
136 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
137 Reduce the default value for 'scroll_time' to 1 second, since the
138 current initial scrolling takes too much time.
140 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
142 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
143 calculate velocity factor during initialization, since the properties
146 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
148 * hildon/hildon-pannable-area.c
149 (hildon_pannable_area_set_property): Calculate the velocity factor
150 after setting the deceleration property and not after.
152 2009-05-20 Alberto Garcia <agarcia@igalia.com>
154 * hildon/hildon-entry.c
155 (hildon_entry_class_init, +set_property, hildon_entry_new)
156 * hildon/hildon-check-button.c
157 (hildon_check_button_class_init)
158 (+set_property, hildon_check_button_new):
159 Make the theme size a property.
161 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
162 others) do too much in the _new function)
164 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
166 * configure.ac: post release version bump
167 * debian/changelog: post release version bump
169 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
174 * configure.ac: Bump version.
175 * debian/changelog: Updates.
177 2009-05-15 Alberto Garcia <agarcia@igalia.com>
179 * hildon/hildon-gtk.h
180 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
181 New API function to take a screenshot of a window
183 Fixes: NB#106374 (Need API to take a loading screenshot)
185 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
187 * hildon/hildon-time-selector.c
188 (update_format_policy): prevent to use hours and minutes unitialized
190 2009-05-15 Alberto Garcia <agarcia@igalia.com>
192 * hildon/hildon-window.c (hildon_window_size_request):
193 Always request the full size of the screen (minus the title bar if
194 not in fullscreen mode).
196 Fixes: NB#107486 (HildonWindow should size itself properly)
198 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
200 * hildon/hildon-note-private.h: Add idle_handler to the private data.
201 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
202 (on_show_cb), (sound_handling): Disconnect the idle handler for
203 the sound when the note is finalized to avoid possible crashes.
205 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
208 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
210 * src/hildon-animation-actor.c,
211 * src/hildon-remote-texture.c:
212 Added proper object cleanup to remove signal handler and object
213 references as HildonAnimationActor and HildonRemoteTexture
214 objects get destroyed.
216 Fixes: NB#116682 (Destroying parented animation actors when
217 parent in unmapped leads to crash)
219 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
221 Based on a patch by Christian Dywan (christian@imendio.com)
223 * doc/hildon-sections.txt:
224 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
225 * hildon/hildon-helper.h: New file size formatting method.
227 * debian/control: Depend on osso-filemanager l10n package for
228 proper localization strings.
230 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
232 * tests/Makefile.am: Include top_srcdir to make possible to build
233 tests in a different builddir.
234 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
235 on a different builddir.
237 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
239 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
240 (hildon_touch_selector_remove): Disconnect model's signal handler
243 Fixes: NB#116289 (Hildon home crashes while adding task
246 2009-05-11 Alberto Garcia <agarcia@igalia.com>
248 * hildon/hildon-button.c
249 (hildon_button_set_title, hildon_button_set_value):
250 Hide labels containing an empty string.
252 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
254 * configure.ac: post release version bump
255 * debian/changelog: post release version bump
257 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
262 * configure.ac: Bump version.
263 * debian/changelog: Updates.
265 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
267 * hildon/hildon-note-private.h: Removed sound_signal_handler
268 * hildon/hildon-note.c
269 (on_show_cb): new callback on note "show" event, this simply adds
270 a idle, with the function sound_handling
271 (sound_handling): removed the sound_signal_handler management
272 (hildon_note_init): connect note "show" event to on_show_cb
273 (hildon_note_realize): remove the connection to "expose-event"
275 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
276 device?' confirmation note)
278 2009-05-08 Alberto Garcia <agarcia@igalia.com>
280 * hildon/hildon-note.c
281 (hildon_note_new_information_with_icon_name)
282 (hildon_note_new_confirmation_with_icon_name):
283 Terminate the list of parameters in g_object_set() calls
285 Fixes: NB#115166 (Formatting memory card is not taking place)
287 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
289 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
290 "dialog-information" role for the sound being played.
292 2009-05-06 Alberto Garcia <agarcia@igalia.com>
294 * hildon/hildon-app-menu.c (hildon_app_menu_init):
295 Don't make the menu a modal window, it causes strange interactions
296 with the pointer grab and it's not really needed.
298 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
300 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
302 * hildon/hildon-touch-selector.[ch]
303 (hildon_touch_selector_optimal_size_request): function added to get a
304 optimal size request from the touch selector, when you want a dialog to
305 show as much of the selector
306 * hildon/hildon-picker-dialog.c:
307 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
308 (hildon_app_menu_class_init):
309 New "max-height-landscape" and "max-height-portrait" style properties
310 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
311 (hildon_picker_dialog_get_max_height): returns the maximum height using
312 the style properties defined and checking the current portrait/landscape
314 (_hildon_picker_dialog_set_selector): removed the set_size_request
316 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
318 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
320 * hildon/hildon-bread-crumb-trail.c:
321 * hildon/hildon-bread-crumb.c:
322 * hildon/hildon-seekbar.c:
323 Add reference to replacements for these deprecated widgets.
325 Fixes: MB#4461 (Documentation: All deprecations should mention
328 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
330 * examples/hildon-remote-texture-example.c
332 Change the include to the hildon-remote-texture in order to compile
333 properly the examples on the installed libhildon1-examples package
335 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
337 * tests/Makefile.am: Add check for HildonPickerButton.
338 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
339 (START_TEST), (create_hildon_picker_button_suite): Add three simple
340 checks for the HildonPickerButton.
341 * tests/check_test.c (configure_tests): Add the test suite.
342 * tests/test_suites.h: likewise.
344 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
346 * hildon/hildon-touch-selector.c
347 (+on_row_changed): Emit HildonTouchSelector:changed when the
348 contents of a selected row change.
349 (_create_new_column), (_hildon_touch_selector_set_model): connect
350 to GtkTreeModel:row-changed on a newly set model.
352 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
354 2009-05-05 Alberto Garcia <agarcia@igalia.com>
356 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
358 * hildon/hildon-banner.c (hildon_banner_destroy)
359 (hildon_banner_show_progress, hildon_banner_set_fraction):
360 Remove the progress bar from HildonBanner and use a progress
363 Fixes: NB#113761 (Update progress banner to use progress
366 2009-05-04 Alberto Garcia <agarcia@igalia.com>
368 * hildon/hildon-banner.c:
369 Calculate size of the banner label using the actual screen width
370 rather than using a fixed value.
372 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
375 2009-05-04 Alejandro G. Castro <alex@igalia.com>
377 * hildon/hildon-pannable-area.c,
378 (hildon_pannable_area_class_init): Fixed signals documentation
381 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
383 * configure.ac: post release version bump
384 * debian/changelog: post release version bump
386 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
391 * configure.ac: Bump version.
392 * debian/changelog: Updates.
394 2009-05-01 Alberto Garcia <agarcia@igalia.com>
396 * hildon/hildon-edit-toolbar.c
397 (hildon_edit_toolbar_init):
398 Don't let buttons in HildonEditToolbar receive focus.
400 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
401 typing on an HW arrows key)
403 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
405 * doc/Makefile.am: Fix build.
407 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
409 * doc/Makefile.am: Do not redefine content_files.
411 2009-04-30 Alberto Garcia <agarcia@igalia.com>
419 Renamed src/ to hildon/
424 Include <hildon/hildon.h> directly in all examples.
426 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
428 * src/hildon-sort-dialog.c
429 (hildon_sort_dialog_add_sort_key_with_sorting)
433 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
435 * src/Makefile.am: Move generated sources to CLEANFILES, so that
436 make distcheck passes.
438 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
440 * Makefile.am: Enable gtk-doc during distcheck.
442 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
444 * Makefile.am: Do not distribute the debian/ directory.
446 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
448 * doc/Makefile.am: Add the extra SGML files to content_files,
449 so that they are distributed properly.
451 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
453 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
456 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
458 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
459 (hildon_note_new_information_with_icon_name): Set the "icon" property
460 to preserve soundness.
462 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
464 * src/hildon-font-selection-dialog.c
465 (hildon_font_selection_dialog_set_property): Fail when the "family"
466 property is set to NULL.
468 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
470 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
473 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
475 * src/hildon-time-selector.h:
476 Added HildonTimeSelectorFormatPolicy
477 * src/hildon-time-selector.c:
478 Added PROP_TIME_FORMAT_POLICY
479 (_check_ampm_format): renamed to check_automatic_ampm_format
480 (update_format_policy), (update_format_dependant_columns): new functions
481 (hildon_time_selector_class_init)
482 (hildon_time_selector_contructor)
483 (hildon_time_selector_init)
484 (hildon_time_selector_get_property)
485 (hildon_time_selector_set_property)
486 (hildon_time_selector_get_time)
487 (hildon_time_selector_set_time)
488 * src/hildon-touch-selector.h: new file
489 * src/hildon-touch-selector.c
490 (hildon_touch_selector_emit_changed)
491 (hildon_touch_selector_block_changed)
492 (hildon_touch_selector_unblock_changed)
493 Added functions to allow to block the emission of the "changed" signal
494 * src/hildon-picker-dialog.c
495 (hildon_picker_dialog_show): call the parent show before the custom code
496 * examples/hildon-time-button-example.c
497 Modified, so now you can configure the time format using the new property
499 Added a new property "time-format-policy" that allow to choose the time
500 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
501 case it uses gconf in order to check if the time selector must use
504 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
507 2009-04-28 Alberto Garcia <agarcia@igalia.com>
509 * src/hildon-note.c (hildon_note_init):
510 Label in HildonNote must be left aligned, not centered. This
511 reverts the last commit in HildonNote.
513 Fixes: NB#112933 (text is not left aligned in confirmation dialog
514 is connectivity dialog)
516 2009-04-27 Alberto Garcia <agarcia@igalia.com>
521 * doc/hildon-sections.txt:
522 Added hildon_gtk_window_set_do_not_disturb()
524 2009-04-27 Alberto Garcia <agarcia@igalia.com>
526 * src/hildon-note.c (hildon_note_init): Center label.
528 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
531 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
536 * configure.ac: Bump version.
537 * debian/changelog: Updates.
539 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
541 * src/hildon-note-private.h: Add button-width to the private data.
542 * src/hildon-note.c (+resize_button),
543 (+hildon_note_orientation_update): methods to repack widgets on orientation
545 (screen_size_changed): Call above method for confirmation notes.
546 (hildon_note_realize): Always connect to the "screen-size" changed signal.
547 (hildon_note_rebuild): Store the original width request from buttons.
549 Fixes: NB#109635 (Confirmation notes do not support portrait)
551 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
553 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
554 when it is a progress note.
556 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
558 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
559 in the note, since there are no horizontally arranged contents.
561 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
563 * src/hildon-gtk.c (+set_flag): new generic method to
564 set/delay a flag setting in a window.
565 (hildon_gtk_window_set_progress_indicator):
566 (hildon_gtk_window_set_do_not_disturb),
567 (hildon_gtk_window_set_portrait_flags): use set_flag() to
568 avoid code redundance.
570 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
572 Based on a patch by Alberto Garcia (agarcia@igalia.com)
574 * src/hildon-gtk.c (set_clear_window_flag),
575 (do_set_progress_indicator), (do_set_do_not_disturb),
576 (do_set_portrait_flags),
577 (hildon_gtk_window_set_progress_indicator),
578 (hildon_gtk_window_set_do_not_disturb),
579 (hildon_gtk_window_set_portrait_flags):
580 Allow setting dnd-flag, progress indicator, and portrait flags
581 when the window is not realized.
583 2009-04-24 Alejandro G. Castro <alex@igalia.com>
585 * src/hildon-pannable-area.c,
586 * src/hildon-pannable-area.h: Add the hildon deprecated define to
587 the size request policy function and defines.
589 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
591 * doc/hildon-sections.txt: Add the new API.
592 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
593 method to set the portrait flags.
594 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
596 Fixes: NB#112328 (Adding helpers for setting portrait properties)
598 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
600 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
601 to allow using this method with other flags.
602 (hildon_gtk_window_set_progress_indicator): Update accordingly.
603 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
605 2009-04-22 Alberto Garcia <agarcia@igalia.com>
607 * src/hildon-touch-selector.c
608 (hildon_touch_selector_append_text_column):
609 Make the cell renderer use the smallest width possible.
611 Fixes: NB#108470 (Selected items in multiple selection are either
612 having a tick that is cut or not visible at all.)
614 2009-04-22 Alberto Garcia <agarcia@igalia.com>
616 * src/hildon-touch-selector.c
617 (hildon_touch_selector_append_text_column):
620 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
622 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
623 Use g_strdup_printf() instead of a fixed size buffer.
625 2009-04-21 Alberto Garcia <agarcia@igalia.com>
627 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
628 Close banners when a HildonAppMenu is popped up.
630 Fixes: NB#111027 (Title menu closed immediately if activated when
631 "Invalid e-mail address" banner is shown)
633 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
638 * configure.ac: Bump version.
639 * debian/changelog: Updates.
641 2009-04-20 Alberto Garcia <agarcia@igalia.com>
643 * src/hildon-banner.c (hildon_banner_realize):
644 Mark HildonBanner as supporting portrait mode.
645 Use GDK to set window properties insetad of direct Xlib calls.
647 Fixes: NB#111830 (HildonBanner should be marked as supporting
650 2009-04-20 Alberto Garcia <agarcia@igalia.com>
652 * src/hildon-note.c (hildon_note_rebuild):
653 Hide action area in information notes. Prevents text from being
654 slightly aligned to the left.
656 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
659 2009-04-20 Alberto Garcia <agarcia@igalia.com>
661 Patch by Mox Soini (ext-mox.soini@nokia.com)
663 * src/hildon-banner.c (hildon_banner_create_animation):
664 Use stylus-sized icons in animation banner.
666 Fixes: NB#111206 (stylus sized icon for animation banner)
668 2009-04-20 Alberto Garcia <agarcia@igalia.com>
672 (+hildon_gtk_window_set_do_not_disturb):
673 New API to set the do-not-disturb flag.
675 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
677 2009-04-20 Alberto Garcia <agarcia@igalia.com>
679 * examples/hildon-progress-indicator-example.c: Fix example
681 * src/hildon-gtk.c (set_clear_window_flag)
682 (hildon_gtk_window_set_progress_indicator):
683 Create a generic function for setting flags to a window.
684 Use GDK instead of direct Xlib calls.
686 2009-04-14 Alberto Garcia <agarcia@igalia.com>
688 * src/hildon-button.c (hildon_button_set_arrangement):
689 Due to NB#88126, if one of the labels is too long it will be
690 painted outside the button. The 'value' label is more likely to be
691 the longest one, so we change its packing options in order to
692 truncate it if necessary. As a side effect, the 'title' label will
693 no longer be truncated.
695 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
697 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
702 * configure.ac: Bump version.
703 * debian/changelog: Updates.
705 2009-04-13 Alejandro G. Castro <alex@igalia.com>
707 Deprecation of the hildon_pannable_area_set_size_request_policy
708 API, the only policy properly supported in gtk+ nowadays is the
711 * src/hildon-pannable-area.c,
712 (hildon_pannable_area_size_request): Added a workaround for the
713 size_request to avoid the problems of huge pixmaps in case someone
714 is still using the function.
715 * src/hildon-pannable-area.h: Deprecated the enum with the
718 Fixes: NB#110244 (Problems with the
719 hildon_pannable_area_set_size_request_policy API)
721 2009-04-08 Alejandro G. Castro <alex@igalia.com>
723 * src/hildon-pannable-area.c,
724 (hildon_pannable_area_init),
725 (hildon_pannable_area_size_request),
726 (hildon_pannable_area_style_set),
727 (hildon_pannable_draw_vscroll),
728 (hildon_pannable_draw_hscroll),
729 (hildon_pannable_area_check_scrollbars): Replaced area_width with
730 indicator_width to clarify the use of the attribute.
732 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
737 * configure.ac: Bump version.
738 * debian/changelog: Updates.
740 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
742 * src/hildon-picker-dialog.c
743 * src/hildon-touch-selector.c
744 Reverting the change that tried to avoid the hardcoded height on
745 the picker dialog, as causes problems on the hildon-touch-selector
748 Fixes: NB#110029 (selectors not scrolling to selected value)
750 2009-04-07 Alberto Garcia <agarcia@igalia.com>
752 * src/hildon-touch-selector.c: Fix typos
754 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
756 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
757 Use the event coordinates instead of gdk_window_get_pointer(). Also,
758 request more motions after using it.
760 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
762 * src/hildon-calendar.c (hildon_calendar_expose),
763 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
764 Remove unused variables.
766 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
768 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
771 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
773 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
774 Check the return value of gtk_tree_selection_get_selected()
777 2009-04-06 Alberto Garcia <agarcia@igalia.com>
779 * src/hildon-animation-actor.c
780 * src/hildon-button.c
782 * src/hildon-pannable-area.c
783 * src/hildon-picker-button.c
784 * src/hildon-program.c
785 * src/hildon-remote-texture.c
786 * src/hildon-text-view.c
787 * src/hildon-touch-selector.c
788 * src/hildon-window-stack.c
789 * src/hildon-window.c:
790 Add missing 'Since: 2.2' tags.
792 * doc/hildon-sections.txt:
793 Add some missing symbols.
795 * doc/hildon-docs.sgml:
796 New 'Other' section for HildonAnimationActor and
799 2009-04-06 Alberto Garcia <agarcia@igalia.com>
801 Patch by Iván Gómez (igomez@igalia.com)
805 * doc/hildon-docs.sgml
806 * doc/hildon-sections.txt
810 New chapters on using the Hildon library.
811 Updated the general structure of the reference manual.
812 Other minor documentation fixes.
814 * src/hildon-calendar-popup.c
815 * src/hildon-calendar.c
816 * src/hildon-controlbar.c
817 * src/hildon-date-editor.c
818 * src/hildon-dialog.c
819 * src/hildon-hvolumebar.c
820 * src/hildon-number-editor.c
821 * src/hildon-range-editor.c
822 * src/hildon-sort-dialog.c
823 * src/hildon-time-editor.c
824 * src/hildon-time-picker.c
825 * src/hildon-volumebar-range.c
826 * src/hildon-volumebar.c
827 * src/hildon-vvolumebar.c
828 * src/hildon-weekday-picker.c:
829 Add deprecation notes
831 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
832 Document 'horizontal-movement' and 'vertical-movement' signals.
834 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
839 * configure.ac: Bump version.
840 * debian/changelog: Updates.
842 2009-04-06 Alejandro G. Castro <alex@igalia.com>
844 * src/hildon-pannable-area.c,
845 (hildon_pannable_area_class_init): increased the minimum velocity.
846 (hildon_pannable_area_button_release_cb): Updated the
847 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
848 setup. Review the code to control that last event.
850 Fixes: NB#109790 (Releasing finger in pannable area easily causes
853 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
855 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
857 * src/hildon-get-password-dialog.c
858 (hildon_get_password_set_property),
859 (hildon_get_password_get_property), (create_contents):
860 * src/hildon-login-dialog-private.h:
861 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
862 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
863 (hildon_login_dialog_get_password):
864 * src/hildon-set-password-dialog-private.h:
865 * src/hildon-set-password-dialog.c
866 (hildon_set_password_set_property),
867 (hildon_set_password_get_property), (create_contents),
868 (hildon_set_password_response_change),
869 (hildon_set_password_response_set), (hildon_checkbox_toggled):
871 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
872 instead and look more Fremantle style.
874 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
876 2009-04-03 Alberto Garcia <agarcia@igalia.com>
878 * doc/hildon-sections.txt
879 * src/hildon-window-stack.h
880 * src/hildon-window-stack.c
881 (+hildon_window_stack_get_windows):
882 New API to obtain the list of windows on a stack.
884 2009-04-02 Alberto Garcia <agarcia@igalia.com>
886 * src/hildon-app-menu.c (hildon_app_menu_popup)
887 (hildon_app_menu_class_init, -hildon_app_menu_show):
888 Remove hildon_app_menu_show() and move all its checks to
889 hildon_app_menu_popup()
891 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
893 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
894 (_hildon_picker_dialog_set_selector): removed call to
895 gtk_widget_set_size_request
896 * src/hildon-touch-selector.c
897 (_create_new_column): change the pannable size request policy
899 Avoid to use a hardcoded height for the hildon picker dialog. In order
900 to get that, we needed to change the hildon pannable size request
902 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
904 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
906 * src/hildon-window.c (hildon_window_map): Check for vbox to be
907 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
910 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
912 * debian/control: Depend on osso-system-lock localization package.
913 * src/hildon-code-dialog.c: Obtain the secu_application_title
914 translation from osso-system-lock.
915 * src/hildon-get-password-dialog.c (create_contents): Do not mark
916 for translation the atk related strings, that's not necessary.
917 * src/hildon-set-password-dialog.c (create_contents): Ditto.
918 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
919 cancel button, it is not required.
921 2009-04-02 Alejandro G. Castro <alex@igalia.com>
923 * src/hildon-pannable-area.c,
924 (hildon_pannable_area_class_init): Modified the default value of
925 the overshooting max speed, we have reduced it.
927 2009-04-02 Alberto Garcia <agarcia@igalia.com>
929 * doc/hildon-sections.txt
930 * src/hildon-window-private.h
931 * src/hildon-window.h
932 * src/hildon-window.c (hildon_window_class_init)
933 (hildon_window_init, hildon_window_finalize)
934 (hildon_window_realize, hildon_window_get_property)
935 (hildon_window_set_property, hildon_window_update_markup)
936 (hildon_window_get_markup, hildon_window_set_markup):
937 New "markup" property and hildon_window_{get,set}_markup() methods.
939 * examples/hildon-stackable-window-example.c (new_window):
940 Update example to use hildon_window_set_markup()
942 Fixes: NB#106375 (Need API to retitle a window with a title
945 2009-04-01 Alejandro G. Castro <alex@igalia.com>
947 * src/hildon-pannable-area.c,
948 (hildon_pannable_area_class_init): Changed the default value of
949 the initial_hint to TRUE.
950 (hildon_pannable_area_initial_effect): Changed the initial effect,
951 not the effect is just the fade-out of the scrollbars.
953 Fixes: NB#107775 (No scrollbars can be seen when several items are
954 available in a dialog)
956 2009-04-01 Alberto Garcia <agarcia@igalia.com>
958 * src/hildon-program.c (hildon_program_update_top_most):
961 Fixes: NB#109179 (Memory leak in Hildon program)
963 2009-04-01 Alberto Garcia <agarcia@igalia.com>
965 * src/hildon-banner.c (-get_current_app_window):
966 Remove unused function.
968 2009-04-01 Alejandro G. Castro <alex@igalia.com>
970 * src/hildon-pannable-area.c: Modified the documentation of the
971 get adjustments functions to explain the problem of using the
973 (hildon_pannable_area_class_init): Improved the explanation about
976 2009-04-01 Alberto Garcia <agarcia@igalia.com>
978 * src/hildon-app-menu-private.h
979 * src/hildon-app-menu.c
980 (hildon_app_menu_class_init):
981 Bring back the 'external-border' style property
982 (hildon_app_menu_class_init, hildon_app_menu_init)
983 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
984 Set a fixed width-request for the menu, independent of the number
987 Fixes: NB#94957 (Smoothly opened application menu)
989 2009-03-30 Alberto Garcia <agarcia@igalia.com>
991 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
993 * src/hildon-banner.c
994 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
996 Make sure that the banner is correctly placed the first time it's
998 (hildon_banner_check_position, -check_fullscreen_state):
999 Show the banner in the same place no matter if the window is in
1000 fullscreen mode or not.
1002 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1004 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1006 * src/hildon-touch-selector.c (_default_print_func): reorder
1007 concatenation for clarity.
1009 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1011 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1012 for multicolumn selectors.
1014 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1016 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1021 * configure.ac: Bump version.
1022 * debian/changelog: Updates.
1024 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1026 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1029 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1031 * configure.ac: removed libcangerra-gtk dependency
1032 * debian/control: removed libcanberra-gtk dependency
1033 * src/Makefile.am: removed libcanberra gtk related flags
1034 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1035 context, and manage a global canberra context instead
1037 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1039 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1041 Patch by Daniel Borgmann (danielb@openismus.com)
1043 * src/hildon-edit-toolbar.c:
1044 Adjust the left padding.
1045 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1046 Paint background of the edit toolbar.
1048 Fixes: NB#107897 (Patch to make editmodetoolbar background
1049 themeable and adjust margin)
1051 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1053 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1055 * src/hildon-program.c (hildon_program_update_top_most):
1056 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1058 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1059 change when the user tasks in/out of an application)
1061 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1063 * configure.ac: added libcangerra-gtk dependency
1064 * debian/control: added libcanberra-gtk dependency
1065 * src/Makefile.am: added libcanberra gtk related flags
1066 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1069 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1071 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1073 * src/hildon-program.c (hildon_program_remove_window)
1074 (hildon_program_add_window): Add checks for the window
1075 parameter. Don't decrease the window counter if the window is not
1078 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1080 * src/hildon-pannable-area.c,
1081 (hildon_pannable_area_realize): Fixed position of the event_window
1082 in the realize method.
1084 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1086 * src/hildon-app-menu-private.h
1087 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1088 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1089 (hildon_app_menu_key_press, hildon_app_menu_init)
1090 (hildon_app_menu_finalize):
1091 Make sure that all idle functions are removed when the widget is
1094 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1096 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1101 * configure.ac: Bump version.
1102 * debian/changelog: Updates.
1104 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1106 * src/hildon-entry.c
1107 (+hildon_entry_show_placeholder),
1108 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1109 that replace hildon_entry_update_contents().
1110 (hildon_entry_set_text),
1111 (hildon_entry_set_placeholder),
1112 (hildon_entry_focus_in_event),
1113 (hildon_entry_focus_out_event): Determine when it is needed
1114 either to show or hide the placeholder and call the above methods.
1116 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1117 when the placeholder text is already set)
1119 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1121 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1122 simple GdkPixbufAnim using the new icons for the banner.
1123 (hildon_banner_show_animation): Use the above mentioned method to
1124 create the animation widget.
1126 Fixes: NB#103564 (Make hildon animation banner use individual
1127 image files as the animation)
1129 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1131 * src/hildon-pannable-area.c,
1132 (hildon_pannable_leave_notify_event): Check if the child is NULL
1133 to avoid sending the leave.
1135 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1137 * src/hildon-pannable-area.c,
1138 (hildon_pannable_area_class_init),
1139 (hildon_pannable_leave_notify_event): Added a handler of the
1140 leave-notify-signal to consider when no motion notify before
1143 Fixes: NB#107494 (Items stay selected when clicking and moving
1144 away when inside pannable area)
1146 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1151 * configure.ac: Bump version.
1152 * debian/changelog: Updates.
1154 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1156 Patch by Alberto Garcia (agarcia@igalia.com)
1158 * src/hildon-date-button.c,
1159 (hildon_date_button_class_init),
1160 (hildon_date_button_init): Removed the construct property handling
1161 and created a default selector in the init method.
1162 * src/hildon-picker-button.c,
1163 (hildon_picker_button_class_init): Removed the construct flag of the
1166 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1168 * src/hildon-main.c (hildon_init):
1169 Don't allow hildon_init() to be called more than once.
1171 Fixes: NB#106607 (hildon_init should issue error message upon
1174 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1176 * examples/hildon-pannable-area-touch-list-example.c
1177 * examples/hildon-pannagle-area-touch-grid-example.c
1178 * examples/hildon-edit-toolbar-example.c
1179 * examples/hildon-touch-selector-multi-cells-example.c
1180 Removed the call to gtk_rc_parse_string, as it is not required since
1183 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1185 * src/hildon-pannable-area.c,
1186 (hildon_pannable_area_class_init): Modified the default panning
1187 threshold of the widget to 6px.
1189 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1190 than the threshold value ) within the button is not sending the
1193 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1195 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1196 for the treeview in the new column. This way, the touch list will never
1199 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1200 be selected manually for the HW keys to work)
1202 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1204 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1205 comparison instead of using strcmp(). Fixes a compiler warning as well.
1207 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1209 * doc/hildon-docs.sgml: Do not set the library version in the
1210 document title, use the releaseinfo tag for that purpose instead.
1212 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1214 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1215 Do not jump to the first item if the text in the entry is removed.
1217 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1222 * configure.ac: Bump version.
1223 * debian/changelog: Updates.
1225 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1227 * src/hildon-entry.c (hildon_entry_refresh_contents):
1228 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1229 Use "ReversedSecondaryTextColor" for the placeholder text.
1231 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1233 * src/hildon-text-view.c: Fix compilation warning.
1235 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1237 * src/hildon-button.c (hildon_button_class_init): Don't make
1238 "title" and "value" construction properties, to prevent them from
1239 overwriting labels set from derived classes.
1241 * src/hildon-picker-button.c
1242 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1243 (hildon_picker_button_class_init): Make touch-selector a
1244 construction property.
1246 * src/hildon-date-button.c (hildon_date_button_class_init)
1247 (+hildon_date_button_constructed): Add a default date selector if
1250 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1252 * src/hildon-touch-selector.c: Small documentation fixes.
1254 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1256 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1258 * src/hildon-entry.c (hildon_entry_refresh_contents),
1259 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1260 widget name, set the logical color directly instead and a boolean
1261 showing_placeholder instead.
1262 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1263 use the widget name here either.
1265 Fixes: NB#105678 (HildonTextView should use logical colours
1266 instead of setting widget name)
1268 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1270 Patch by Daniel Elster (danielk@openismus.com)
1272 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1273 Add user_data parameter.
1274 (hildon_touch_selector_set_print_func_full): New function akin
1275 hildon_touch_selector_set_print_func() but with support for user
1276 data and a destroy callback.
1277 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1278 to clean up the print function user data.
1279 (hildon_touch_selector_class_init): Install dispose function.
1280 (HildonTouchSelectorPrivate::print_user_data),
1281 (HildonTouchSelectorPrivate::print_destroy_func): New private
1283 (hildon_touch_selector_init): Initialize new private members.
1284 (hildon_touch_selector_get_current_text): Pass along user data
1285 to the print function.
1286 (_default_print_func): Add dummy user_data to parameter list.
1287 * hildon-date-selector.c (_custom_print_func): ditto,
1288 * hildon-time-selector.c (_custom_print_func): ditto,
1289 * hildon-touch-selector-entry.c
1290 (hildon_touch_selector_entry_print_func): ditto.
1292 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1294 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1296 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1298 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1300 * src/hildon-pannable-area.c,
1301 (hildon_pannable_area_init),
1302 (hildon_pannable_area_button_press_cb),
1303 (hildon_pannable_area_motion_notify_cb): We have added code to
1304 handle the leave and enter events when using the motion events.
1306 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1308 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1310 * src/hildon-date-button.c (hildon_date_button_get_date)
1311 (hildon_date_button_set_date): Make sure that the button has a
1314 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1316 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1318 * src/hildon-pannable-area.c,
1319 (hildon_pannable_area_class_init),
1320 (hildon_pannable_area_calculate_velocity): Modify the use of the
1321 force and adapt the value.
1323 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1325 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1326 (hildon_app_menu_class_init): Hide the menu if it receives a
1327 delete-event, but don't destroy it
1329 Fixes: NB#104485 (Not able to address the call when application
1330 menu is opened at background)
1332 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1334 * src/hildon-app-menu.c
1335 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1336 Remove the "external-border" style property, let the menu take its
1337 natural size (or the one set by the window manager)
1338 (hildon_app_menu_repack_items):
1339 Don't reshow the menu, avoid flickers.
1341 Partially fixes NB#94957 (Smoothly opened application menu)
1343 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1348 * configure.ac: Bump version.
1349 * debian/changelog: Updates.
1351 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1353 * src/hildon-pannable-area.c,
1354 (hildon_pannable_area_motion_notify_cb): We control that the
1355 direction error margin is used just in case the movement is
1356 allowed in the other direction.
1358 Fixes: NB#105012 (buttons inside a pannable area not getting
1359 release event when dragging/releasing)
1361 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1363 * src/hildon-pannable-area.c,
1364 (hildon_pannable_area_class_init),
1365 (hildon_pannable_area_get_property),
1366 (hildon_pannable_area_set_property),
1367 (hildon_pannable_area_initial_effect),
1368 (hildon_pannable_axis_scroll),
1369 (hildon_pannable_area_button_release_cb): Reviewed the
1370 overshooting effect, now it has its own max
1371 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1372 speed when bouncing.
1374 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1379 * configure.ac: Bump version.
1380 * debian/changelog: Updates.
1382 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1384 * src/hildon-pannable-area.c,
1385 (hildon_pannable_area_class_init): Changed the max speed, now
1386 users can launch the widget very fast. Reduced the default force,
1387 that way it is easier to control the launch speed.
1389 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1391 * src/hildon-pannable-area.c,
1392 (hildon_pannable_area_button_release_cb): Removed this check
1393 because it causes problems when the device is overloaded.
1395 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1397 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1398 add a current_text field to store the text entered in the
1399 touch selector entry.
1400 (_clean_current_selection): clean up the current text as well.
1401 (_save_current_selection), (_restore_current_selection):
1402 Save/restore the text in the entry if the selector is a
1403 HildonTouchSelectorEntry.
1405 Fixes: NB#102541 (value entered in the touch selector entry is not
1406 shown when opened for second time)
1408 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1410 * doc/hildon-sections.txt:
1411 * src/hildon-touch-selector-entry.c
1412 (+hildon_touch_selector_entry_get_entry):
1413 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1415 Fixes: NB#104815 (I need accessor to the entry inside
1416 HildonTouchSelectorEntry)
1418 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1420 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1421 (hildon_app_menu_class_init):
1422 New "filter-vertical-spacing" style property.
1424 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1426 * src/hildon-find-toolbar.c
1427 (hildon_find_toolbar_emit_close)
1428 (hildon_find_toolbar_emit_invalid_input)
1429 (hildon_find_toolbar_entry_activate):
1430 Use g_signal_emit() instead of g_signal_emit_by_name()
1432 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1434 Patch by Mox Soini (ext-mox.soini@nokia.com)
1436 * tests/TEST-CASES.txt
1437 * tests/check-hildon-banner.c
1438 * tests/check-hildon-note.c
1439 * src/hildon-banner.c
1440 * src/hildon-code-dialog.c
1441 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1442 * src/hildon-time-editor.c
1443 * examples/hildon-lookup-example.c (main):
1444 Replace obsolete icon names with new ones.
1446 * src/hildon-find-toolbar-private.h:
1447 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1448 (-hildon_find_toolbar_emit_search):
1449 Remove find button and change icon of close button.
1451 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1453 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1455 * src/hildon-time-button.c (hildon_time_button_new_step):
1456 Use the "touch-selector" property to set the selector directly
1457 when creating the object.
1459 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1461 Added a new example application that allows tuning the pannable
1462 area and replaced defines with properties in order to simplify the
1463 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1464 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1465 PROP_DIRECTION_ERROR_MARGIN.
1467 * examples/hildon-pannable-area-tuning-example.c: New example
1469 * src/hildon-pannable-area.c,
1470 (hildon_pannable_area_class_init),
1471 (hildon_pannable_area_init),
1472 (hildon_pannable_area_get_property),
1473 (hildon_pannable_area_set_property),
1474 (hildon_pannable_area_launch_fade_timeout),
1475 (hildon_pannable_area_adjust_value_changed),
1476 (hildon_pannable_axis_scroll),
1477 (hildon_pannable_area_motion_notify_cb),
1478 (hildon_pannable_area_scroll_cb),
1479 (hildon_pannable_area_button_release_cb): We have converted some
1480 of the defines that control the widget to properties to simplify
1483 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1485 * src/hildon-app-menu.c (hildon_app_menu_map)
1486 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1487 so it's closed if a new window appears.
1489 Fixes: NB#104485 (Not able to address the call when application
1490 menu is opened at background)
1492 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1494 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1495 missing 'break' statement in in 'case' construct to avoid
1498 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1500 * src/hildon-touch-selector-entry.c
1501 (hildon_touch_selector_entry_get_property),
1502 (hildon_touch_selector_entry_set_property): Add missing 'break'
1503 statements in in 'case' constructs to avoid incorrect warnings.
1505 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1507 * src/hildon-time-editor.c
1508 (hildon_time_editor_get_time_separators): Do not crash if
1509 the first label is NULL.
1511 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1513 * src/hildon-date-selector.c (_month_days): Check for month to be
1514 strictly less than 12, since otherwise we may overrun the array.
1516 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1518 * src/hildon-date-button.c (+hildon_date_button_new_full)
1519 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1520 (hildon_date_button_init): Set the date selector using a
1521 construction property, to make it happen after HildonButton's
1522 "value" property is set.
1524 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1525 current date by default)
1527 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1529 * doc/hildon-sections.txt
1530 * src/hildon-program.c
1531 * src/hildon-stackable-window.c
1532 * src/hildon-window.c:
1533 Documentation updates
1535 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1537 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1538 (hildon_window_stack_new, +hildon_window_stack_set_property)
1539 (+hildon_window_stack_get_property)
1540 (hildon_window_stack_class_init)
1541 (+hildon_window_stack_set_window_group)
1542 (+hildon_window_stack_get_window_group):
1543 Make the window group a construction property.
1545 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1547 * doc/hildon-sections.txt
1548 * src/hildon-stackable-window-private.h
1549 * src/hildon-stackable-window.h
1550 * src/hildon-stackable-window.c
1551 (-hildon_stackable_window_set_app_menu)
1552 (-hildon_stackable_window_get_app_menu)
1553 (-hildon_stackable_window_toggle_menu)
1554 (-hildon_stackable_window_finalize)
1555 (hildon_stackable_window_class_init)
1556 (hildon_stackable_window_init)
1557 * src/hildon-window-private.h
1558 * src/hildon-window.h
1559 * src/hildon-window.c (hildon_window_init)
1560 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1561 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1562 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1563 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1564 Moved all HildonAppMenu code to HildonWindow. The menu does not
1565 require a HildonStackableWindow anymore.
1567 * src/hildon-app-menu.c
1568 * src/hildon-program.c
1569 * examples/hildon-app-menu-example.c (main):
1570 Update examples and documentation to reflect HildonAppMenu
1573 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1575 * src/hildon-remote-texture.c
1576 * src/hildon-animation-actor.c:
1577 Don't include unused private headers.
1579 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1581 * src/hildon-program-private.h
1582 * src/hildon-program.c
1583 (hildon_program_set_common_menu)
1584 (hildon_program_get_common_menu)
1585 (hildon_program_set_common_app_menu)
1586 (hildon_program_get_common_app_menu):
1587 Change common menu pointers from GtkWidget* to GtkMenu* and
1588 HildonAppMenu* to avoid unnecessary casts.
1590 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1592 * src/hildon-window.c (hildon_window_set_main_menu):
1593 Removed incorrect 'Since:' tag
1595 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1597 * src/hildon-pannable-area.c,
1598 (hildon_pannable_area_calculate_velocity): We use now the
1599 RATIO_TOLERANCE here to check the distance, fixed typo in the
1601 (hildon_pannable_area_motion_notify_cb): We have to set the type
1602 and time even if we are not sending the motion.
1604 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1606 * doc/hildon-sections.txt
1607 * src/hildon-app-menu.h
1608 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1609 (+hildon_app_menu_get_filters): New methods to get the contents of
1612 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1615 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1617 * src/hildon-app-menu.c (hildon_app_menu_popup):
1620 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1622 * src/hildon-window.h
1623 * src/hildon-window.c (+hildon_window_get_main_menu)
1624 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1625 and deprecated hildon_window_get_menu().
1627 * src/hildon-stackable-window.h
1628 * src/hildon-stackable-window.c
1629 (+hildon_stackable_window_set_app_menu)
1630 (+hildon_stackable_window_get_app_menu)
1631 (hildon_stackable_window_set_main_menu): Created
1632 hildon_stackable_window_{get,set}_app_menu() and deprecated
1633 hildon_stackable_window_set_main_menu().
1635 * doc/hildon-sections.txt
1636 * examples/hildon-app-menu-example.c (main)
1637 * src/hildon-app-menu.c
1638 * src/hildon-program.c:
1639 Updated examples and documentation.
1641 Fixes: NB#103758 (No way to obtain a menu from a
1642 HildonStackableWindow)
1644 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1649 * configure.ac: Bump version.
1650 * debian/changelog: Updates.
1652 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1654 * examples/hildon-remote-texture-example.c: Include
1655 hildon-remote-texture.h explicitely.
1656 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1657 applications not defining _XOPEN_SOURCE which don't require this header.
1659 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1661 * doc/hildon-sections.txt
1662 * src/hildon-app-menu.h
1663 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1664 New function to pop up a HildonAppMenu
1666 * src/hildon-stackable-window.c
1667 (hildon_stackable_window_toggle_menu):
1668 Use hildon_app_menu_popup() to show the menu.
1670 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1672 * src/hildon-app-menu.c (hildon_app_menu_show)
1673 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1674 menu if there's another window between it and its parent window.
1676 Fixes: NB#100468 (Application menu window is launched even when a
1677 new secondary-window/dialog is pending to be shown/realized)
1679 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1681 * src/hildon-window-stack.c (hildon_window_stack_push)
1682 (hildon_window_stack_pop_and_push):
1683 Don't forget to push/pop the first window.
1684 Reverse the window list before calling _push_list()
1686 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1688 * src/hildon-picker-button.h
1689 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1690 Remove "value_changed" slot to avoid ABI breakage
1692 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1694 * src/hildon-pannable-area.c,
1695 (hildon_pannable_area_realize),
1696 (hildon_pannable_area_unrealize),
1697 (hildon_pannable_draw_vscroll),
1698 (hildon_pannable_draw_hscroll): Changed the method to handle the
1699 GC used to draw the transparent scrollbar, this way we avoid
1700 creating the GC all the time when drawing the scrollbars.
1702 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1704 * src/hildon-pannable-area.c,
1705 (hildon_pannable_area_init),
1706 (hildon_pannable_area_remove): Removed some unnecessary casts.
1707 (hildon_pannable_area_dispose): Disconnected some signals before
1708 releasing the adjustments.
1710 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1712 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1713 Make sure that all widgets contained in the toolbar are shown.
1715 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1717 * doc/hildon-sections.txt
1718 * src/hildon-picker-button.h
1719 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1720 (_selection_changed, hildon_picker_button_on_dialog_response)
1721 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1722 New hildon_picker_button_value_changed() method.
1725 * src/hildon-picker-button-private.h
1726 * src/hildon-picker-button.c (hildon_picker_button_init)
1727 (+hildon_picker_button_disable_value_changed): Add protected
1728 function for disabling the "value-changed" signal.
1730 * src/hildon-date-button.c (hildon_date_button_set_date):
1731 Don't emit "value-changed" for each one of the three columns.
1733 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1734 before actual change of values)
1736 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1738 * src/hildon-pannable-area.c,
1739 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1740 for the treeview overshooting.
1742 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1744 * src/hildon-banner.c (+hildon_banner_bind_style):
1745 Renamed from hildon_banner_bind_label_style(), now naming the
1746 banner itself as well.
1747 (hildon_banner_show_information),
1748 (hildon_banner_show_information_with_markup),
1749 (hildon_banner_show_animation), (hildon_banner_show_progress):
1750 Name the widgets and labels, based on their type.
1752 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1755 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1757 * src/hildon-note.c (hildon_note_set_property): call
1758 hildon_note_rename() on HildonNote:note-type set.
1759 (hildon_note_rename): Name the note and its label, based on the
1760 HildonNote:note-type property.
1762 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1765 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1767 * src/hildon-pannable-area.c,
1768 (hildon_pannable_area_class_init),
1769 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1770 panning parameters, increased SPS and deceleration factor. Added
1771 also a margin to control fake directions.
1773 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1775 Patch by Sven Herzberg (sven@imendio.com)
1777 * configure.ac: Add missing AM_PROG_CC_C_0
1778 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1780 See NB#101420 (Update unit tests and fix make check)
1782 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1784 This patch was applied before but reverted because it caused
1785 problems, we have changed the main condition and tested the
1786 regressions we detected before and they work ok. We have done a
1787 complete review of the topmost algorithm in order to get a more
1790 * src/hildon-pannable-area.c,
1791 (hildon_pannable_area_get_topmost): Added a new parameter to
1792 filter the the windows that do not include those events.
1793 (hildon_pannable_area_button_press_cb),
1794 (hildon_pannable_area_button_release_cb),
1795 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1796 topmost function, we have added the new parameter.
1798 Fixes: NB#97458 (Pannable area prevents propagation of button
1801 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1803 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1804 if all columns in the selector have an item selected.
1805 (_on_dialog_response): Stop "response" signal emission if there is
1806 any selector column without selected items.
1808 Fixes: NB#101889 (Picker dialog should not close when nothing is
1809 selected in multiple selection list)
1811 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1813 * src/hildon-font-selection-dialog.c
1814 (hildon_font_selection_dialog_class_init),
1815 (hildon_font_selection_dialog_init): Remove the preview
1816 button and dialog, since previewing with default theming is likely
1817 to be overcomplicated. The :preview property has now no effect.
1818 Update documentation blurbs to inform about this.
1820 Fixes: NB#92297 (Preview content is not clearly visible for
1821 default colour text)
1823 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1825 Reviewed the geometry that handles the children size and
1826 scrollbar, now it tries a size and reviews the results depending
1827 on the scrollbars visibility.
1829 * src/hildon-pannable-area.c,
1830 (hildon_pannable_area_realize): Fixed a typo.
1831 (hildon_pannable_area_child_allocate_calculate): Added this
1832 function to calculate the child allocation.
1833 (hildon_pannable_area_size_allocate): Reviewed the allocation
1835 (hildon_pannable_area_check_scrollbars),
1836 (hildon_pannable_area_refresh): Refactored refresh function, this
1837 way we can call the code handling the scrollbars without causing a
1838 size_request, it is interesting in the allocate.
1839 (hildon_pannable_area_init): Replace the callbacks of the
1840 value_changed and changed signals to propertly deal with the
1842 (hildon_pannable_area_grab_notify),
1843 (hildon_pannable_area_initial_effect),
1844 (hildon_pannable_area_launch_fade_timeout),
1845 (hildon_pannable_area_adjust_changed),
1846 (hildon_pannable_area_adjust_value_changed),
1847 (hildon_pannable_area_redraw),
1848 (hildon_pannable_area_button_press_cb),
1849 (hildon_pannable_area_button_release_cb),
1850 (hildon_pannable_area_scroll_cb),
1851 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1852 code and use the new functions adjust_changed and
1853 adjust_value_changed.
1855 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1856 Contact editor dialog)
1858 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1863 * configure.ac: Bump version.
1864 * debian/changelog: Updates.
1866 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1868 * src/hildon-pannable-area.c,
1869 (hildon_pannable_area_get_topmost),
1870 (hildon_pannable_area_button_press_cb),
1871 (hildon_pannable_area_button_release_cb),
1872 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1873 topmost function adding the event mask. We have to try a
1874 differente approach because it is still causing problems (NB#9745,
1877 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1879 * src/hildon-banner.c:
1880 Update the maximum width of timed banners.
1881 (force_to_wrap_truncated): Enforce the maximum text width if the
1884 Fixes: NB#102413 (The text margins (wrapping) in information
1885 banner should be HILDON_MARGIN_TRIPLE)
1887 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1889 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1891 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1892 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1893 bound when calculating the scroll indicator position.
1895 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1896 treat ->lower correctly)
1898 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1900 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1901 expose event handling, since it is not necessary to draw the focus
1904 Fixes: NB#102467 (Do not show highlight on the text in
1907 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1909 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1910 full height of the toolbar for the button and the label.
1912 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1914 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1915 padding before the label and after the button.
1917 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1919 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1921 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1922 Add a GtkVSeparator between the button and the back arrow.
1923 Let the button have automatic size.
1924 Set a name to the widget for theming handling.
1926 Fixes: NB#101793 (Make edit toolbar the same height as window
1927 title bar (use title area theming))
1929 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1931 * src/hildon-helper.c (attach_new_color_element): Fix memory
1934 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1936 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1938 * examples/hildon-button-example.c (common_buttons_window): Don't
1941 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1943 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1944 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1946 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1948 * src/hildon-gtk.c: Check that the window is realized.
1950 Fixes: NB#102225 (Crash setting the progress indicator to a non
1953 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1955 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1956 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1957 instead of modifying the one in the widget style.
1959 Fixes: NB#101043 (Second row of all the command button are
1960 displayed in transparent mode.)
1962 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1964 * src/hildon-date-button.c
1965 * src/hildon-time-button.c: Add gettext macros
1967 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1969 * src/hildon-date-button.c (hildon_date_button_new):
1970 * src/hildon-time-button.c (hildon_time_button_new_step):
1971 Use new logical strings to set the button default title.
1973 Fixes: NB#99915 (Date and Time options are not localised in Date
1976 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1978 * src/hildon-pannable-area.c
1979 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1980 the PANNING_THRESHOLD.
1982 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1984 * src/hildon-pannable-area.c,
1985 (hildon_pannable_area_class_init): Increased the maximum speed.
1986 (hildon_pannable_area_get_property),
1987 (hildon_pannable_area_set_property),
1988 (hildon_pannable_area_timeout): Added a new low friction mode, it
1989 allows the user avoid friction when launching the widget fast
1990 enough. It is interesting to traverse long lists.
1992 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1994 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1995 (+hildon_stackable_window_delete_event): Ignore delete events if
1996 the window is not the topmost one.
1998 Fixes: NB#101698 (Back button long press and delete-event handling)
2000 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2002 * src/hildon-pannable-area.c,
2003 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2004 gtk-dnd-drag-threshold, it was too big. We have defined our own
2005 dnd define and set a smaller value: PANNIG_THRESHOLD.
2007 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2009 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2010 user-defined icons, use always the default one.
2012 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2014 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2016 This patch was applied before but reverted because it caused
2017 problems, we have changed the main condition and tested the
2018 regressions we detected before and they work ok.
2020 * src/hildon-pannable-area.c,
2021 (hildon_pannable_area_get_topmost): Added a new parameter to
2022 filter the the windows that do not include those events. Added
2023 also a condition when finding the window to filter windows that do
2024 not ask for those events.
2025 (hildon_pannable_area_button_press_cb),
2026 (hildon_pannable_area_button_release_cb),
2027 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2028 topmost function, we have added the new parameter.
2030 Fixes: NB#97458 (Pannable area prevents propagation of button
2033 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2035 * tests/check-hildon-color-button.c (START_TEST): do not leak
2038 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2040 * src/hildon-font-selection-dialog.c
2041 (hildon_font_selection_dialog_get_preview_text): Return NULL
2042 instead of FALSE on the g_return_val_if_fail().
2044 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2046 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2047 * src/hildon-date-selector.c
2048 (hildon_date_selector_select_current_date):
2049 Do not compare unsigned integers to be greater than or equal 0,
2050 because it's always TRUE.
2052 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2054 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2055 (hildon_date_selector_constructor): Do not select the current
2056 date until we are handle the "changed" signal, to avoid having bogus
2057 elements in the days model.
2059 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2061 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2062 for num_days, since _month_days() can return a negative value.
2064 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2066 * src/hildon-caption.c (hildon_caption_size_allocate):
2067 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2068 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2070 Initialize allocation variables to 0, to avoid eventually using
2071 unitialized variables.
2073 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2075 * src/hildon-bread-crumb-trail.c
2076 (hildon_bread_crumb_trail_size_allocate):
2077 * src/hildon-calendar.c (hildon_calendar_set_background):
2078 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2079 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2080 * src/hildon-seekbar.c (hildon_seekbar_init):
2081 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2082 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2083 * src/hildon-touch-selector-entry.c
2084 (hildon_touch_selector_get_text_from_model):
2085 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2086 * src/hildon-window.c (hildon_window_finalize):
2088 Remove many unused variables.
2090 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2092 * src/hildon-seekbar.c: (hildon_seekbar_init),
2093 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2095 Remove unnecessary g_assert() calls.
2097 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2099 * src/hildon-caption.c: (hildon_caption_expose),
2100 (hildon_caption_set_property), (hildon_caption_init),
2101 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2102 (hildon_caption_size_request), (hildon_caption_size_allocate),
2103 (hildon_caption_forall), (hildon_caption_set_separator),
2104 (hildon_caption_activate), (hildon_caption_set_child_expand),
2105 (hildon_caption_set_label_text),
2106 (hildon_caption_get_label_alignment):
2108 Remove unnecessary g_assert() calls.
2110 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2112 * src/hildon-banner.c
2113 (hildon_banner_map, hildon_banner_init): Make banner temporary
2114 before mapping it to avoid closing other temporary windows, but
2115 make it non-temporary afterwards to avoid being closed by other
2116 non-temporary windows.
2117 (-hildon_banner_client_event, hildon_banner_init):
2118 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2120 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2123 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2125 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2128 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2130 * src/hildon-remote-texture.c
2131 * src/hildon-remote-texture.h
2132 * src/hildon-remote-texture-private.h
2133 * examples/hildon-remote-texture-example.c:
2134 Updates/fixes to remote-texture and its example.
2136 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2138 Patch by Mox Soini (ext-mox.soini@nokia.com)
2140 * src/hildon-code-dialog.c: Update logical id.
2141 * src/hildon-set-password-dialog.c: Update logical id.
2143 Fixes: NB#100646 (Logical strings is shown for ok in set
2144 password,Password needed dialogs)
2146 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2149 * src/hildon-remote-texture.c
2150 * src/hildon-remote-texture.h
2151 * src/hildon-remote-texture-private.h
2153 Added remote texture widget (for Clutter shared memory textures)
2155 * examples/hildon-remote-texture-example.c
2156 * examples/Makefile.am
2157 Added example file for remote texture usage
2159 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2161 * configure.ac: post release version bump.
2162 * debian/changelog: version bump.
2164 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2169 * configure.ac: Bump version.
2170 * debian/changelog: Updates.
2172 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2174 * src/hildon-date-selector.c (hildon_date_selector_init)
2175 (hildon_date_selector_constructor): Don't connect to the "changed"
2176 signal until the selector is completely constructed.
2178 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2180 * src/hildon-touch-selector.c: (_create_new_column),
2181 (hildon_touch_selector_append_column),
2182 (hildon_touch_selector_set_column_selection_mode),
2183 (hildon_touch_selector_set_active),
2184 (hildon_touch_selector_select_iter):
2185 Emit the HildonTouchSelector::changed signal every time selection
2186 is changed in any of the methods above. This behavior was already
2187 documented but not fully functional.
2189 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2190 selection is programmatically changed)
2192 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2194 * doc/hildon-sections.txt: Remove obsolete icon
2195 sizes from here as well.
2197 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2199 * examples/hildon-stackable-window-example.c (add_window): Remove
2202 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2204 * src/hildon-app-menu.c
2205 (hildon_app_menu_show): Check whether the parent window of a menu
2206 is topmost before popping it up.
2208 Fixes: NB#100468 (Application menu window is launched even when a
2209 new secondary-window/dialog is pending to be shown/realized.)
2211 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2213 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2216 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2218 Patch by Mox Soini (ext-mox.soini@nokia.com)
2220 * src/hildon-banner.c: (hildon_banner_show_animation):
2221 use stylus size instead of obsolete note size.
2222 * src/hildon-defines.h: Update icon sizes.
2224 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2226 * src/hildon-touch-selector-entry.c:
2227 (hildon_touch_selector_entry_init): Disable unsupported
2229 (hildon_touch_selector_entry_get_text_column): Emit a warning
2230 if an unsupported input modes is used and explicitile state
2231 these modes in the documentation.
2233 Fixes: NB#99802 (Hildon touch selector entry not working properly
2234 for some of the input modes)
2236 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2238 * src/hildon-pannable-area.c,
2239 (hildon_pannable_area_init): Added the changed signal handlers of
2242 Fixes: NB#100320 (HildonPannableArea does not listen to
2243 GtkAdjustment "change" signals)
2245 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2247 * doc/hildon-sections.txt
2248 * src/hildon-window-private.h
2249 * src/hildon-window.h
2250 * src/hildon-window.c (hildon_window_init)
2251 (hildon_window_realize, hildon_window_unrealize)
2252 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2253 (hildon_window_size_request, hildon_window_size_allocate)
2254 (hildon_window_forall, hildon_window_show_all)
2255 (hildon_window_destroy, +paint_edit_toolbar)
2256 (+hildon_window_set_edit_toolbar):
2257 New hildon_window_set_edit_toolbar() method, to add a
2258 HildonEditToolbar to a window without having to pack it manually.
2260 Reorganize hildon_window_size_allocate()
2262 * src/hildon-edit-toolbar.c: Update documentation.
2264 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2265 example to use the new API.
2267 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2269 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2271 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2272 Remove from stack before calling parent's hide.
2274 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2276 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2277 window is removed from the middle of the stack, update the
2278 transiency of the previous one.
2280 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2283 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2285 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2286 block/unblock the signal handler if it's not actually being used.
2287 Fixes some critical warnings.
2289 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2291 Based on a patch by Iván Gómez (igomez@igalia.com)
2293 * src/hildon-banner.c
2297 * src/hildon-pannable-area.c
2298 * src/hildon-picker-dialog.c
2299 * src/hildon-wizard-dialog.h
2300 * src/hildon-wizard-dialog.c: Documentation updates.
2302 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2303 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2305 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2307 * configure.ac: post release version bump.
2308 * debian/changelog: version bump.
2310 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2315 * configure.ac: Bump version.
2316 * debian/changelog: Updates.
2318 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2320 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2321 a stock icon nor change the relief of the back arrow.
2323 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2324 graphics from theme)
2326 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2328 * src/hildon-button.c (hildon_button_set_alignment): Use
2329 priv->alignment if the button has no child yet.
2331 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2333 * src/hildon-button.c: (hildon_button_init): Set the
2334 button style during initialization to give it the proper
2337 Fixes: NB#99713 (HildonButton value label color is wrong)
2339 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2341 * src/hildon-touch-selector.c: Document
2342 hildon_touch_selector_center_on_selected()
2344 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2346 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2347 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2348 all menu items, but not the menu itself.
2349 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2350 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2351 items after adding them to the menu so keyboard accelerators work.
2352 (hildon_app_menu_show): Don't show the menu if it contains items
2353 but none of them are visible.
2355 * examples/hildon-app-menu-example.c (create_menu): Use
2356 gtk_widget_show_all() to show all menu items.
2358 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2360 * src/hildon-picker-dialog.c:
2361 (-_update_title_on_selector_changed_cb),
2362 (-_dialog_update_title): Removed.
2363 (_select_on_selector_changed_cb), (_on_dialog_response),
2364 (on_selector_columns_changed): Do not update the dialog title.
2365 (setup_interaction_mode): Do not connect to
2366 HildonTouchSelector::changed signal if there's a "done" button, as
2367 the dialog title doesn't need to be updated.
2369 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2372 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2374 Patch by Kristian Rietveld (kris@imendio.com)
2376 * src/hildon-touch-selector.c: (_create_new_column): Use new
2377 GtkTreeView::hildon-row-tapped signal to react to user interactions
2378 instead of ::changed.
2380 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2381 with some dynamic tree model)
2383 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2385 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2386 (+screen_size_changed, +label_size_request)
2387 (hildon_note_class_init): Make the Hildon information note have a
2388 minimum height, and make its text hvae a maximum width.
2390 Fixes: NB#98614 (Hildon information note (background) should have
2391 minimum height and maximum text width)
2393 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2395 * src/hildon-banner.h
2396 * src/hildon-banner.c (hildon_banner_show_information)
2397 (hildon_banner_show_informationf)
2398 (hildon_banner_show_information_with_markup): Update documentation
2399 to reflect that the icon_name parameter is not used anymore.
2400 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2401 Remove all code from these functions and mark them as deprecated.
2402 (hildon_banner_show_progress): Mark as deprecated.
2404 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2406 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2408 * src/hildon-pannable-area.c,
2409 (hildon_pannable_area_class_init),
2410 (tranparency_color),
2411 (hildon_pannable_draw_vscroll),
2412 (hildon_pannable_draw_hscroll),
2413 (hildon_pannable_area_expose_event): Added a new way to render the
2414 scrollbars of the pannable area avoiding using cairo at all. This
2415 way we improve the performance of the pannable area rendering. The
2416 cairo rendering procedure is still in the code, we can control
2417 which one to use changing the value of the define
2418 USE_CAIRO_SCROLLBARS.
2420 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2422 * configure.ac: post release version bump.
2423 * debian/changelog: version bump.
2425 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2430 * configure.ac: Bump version.
2431 * debian/changelog: Updates.
2433 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2435 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2436 banners instead of destroying them when they receive a button
2439 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2441 Reverted commit 34028, it was causing regressions, probably the
2442 topmost condition is not correct, we have to check it in more
2443 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2444 propagation of button press events)
2446 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2448 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2449 that the selection is not empty before attempting to retrieve the
2450 current ampm selection.
2452 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2454 * src/hildon-picker-button.c:
2455 (hildon_picker_button_on_dialog_response): Directly update the
2456 button contents when required instead of calling _selection_changed.
2458 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2460 * src/hildon-program.c (hildon_program_update_top_most): Update
2461 'is-topmost' property also when wm_hints is not set.
2463 Fixes: NB#98383 (is-topmost signal is not emitted when task
2464 switcher is clicked.)
2466 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2468 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2472 * src/hildon-animation-actor.c,
2473 * src/hildon-animation-actor.h: Added the animation actor class,
2474 this widget represents an animation actor for WM-assisted
2475 animation effects in the Hildon framework.
2477 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2479 * src/hildon-window-stack-private.h
2480 * src/hildon-window-stack.c
2481 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2482 Avoid calling gtk_widget_show() again indirectly from
2483 hildon_stackable_window_show()
2485 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2487 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2490 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2492 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2493 (hildon_time_selector_init): Move the construction of the hours and
2494 ampm columns to the constructor to preserve the order the columns
2497 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2499 * src/hildon-picker-dialog.c:
2500 (hildon_picker_dialog_class_init): Connect a realize method.
2501 (+hildon_picker_dialog_realize): Setup the interaction mode here
2503 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2504 yet, do it during the realize instead.
2505 (_on_dialog_response):
2506 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2507 if the widget is not realized, to avoid the dialog response before it
2510 Avoid premature responses in the HildonPickerDialog that can cause it
2511 to be hidden before it's even shown.
2513 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2515 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2516 (on_selector_columns_changed), (requires_done_button),
2517 (+prepare_action_area), (setup_interaction_mode),
2518 (_hildon_picker_dialog_set_selector):
2520 Split the interaction mode setup into preparation of the
2521 action area (prepare_action_area()) and the connection of
2522 the signals in setup_interaction_mode() and update the code to
2525 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2527 * src/hildon-pannable-area.c,
2528 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2529 per second to 15, we will check if this is ok regarding
2532 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2534 * src/hildon-pannable-area.c,
2535 (hildon_pannable_axis_scroll): Avoid resize if we already have
2536 reached overshoot_max.
2538 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2540 * src/hildon-pannable-area.c,
2541 (hildon_pannable_area_init),
2542 (hildon_pannable_area_realize),
2543 (hildon_pannable_area_size_allocate),
2544 (hildon_pannable_area_map),
2545 (hildon_pannable_area_unmap),
2546 (hildon_pannable_draw_vscroll),
2547 (hildon_pannable_draw_hscroll),
2548 (hildon_pannable_area_expose_event),
2549 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2550 pannable are to avoid the expose events go to the window and
2551 redraw the window. We save this way that part of the stack and the
2552 paint_boxes. We had to change the positions of the elements when
2555 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2557 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2558 * src/hildon-color-chooser-dialog.c:
2559 (hildon_color_chooser_dialog_init):
2560 * src/hildon-font-selection-dialog.c:
2561 (hildon_font_selection_dialog_init),
2562 (hildon_font_selection_dialog_show_preview):
2563 * src/hildon-get-password-dialog.c:
2564 * src/hildon-login-dialog.c:
2565 * src/hildon-set-password-dialog.c:
2566 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2567 * src/hildon-time-picker.c: (hildon_time_picker_init):
2569 Remove obsolete logical string IDs and update to the appropriate ones.
2571 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2573 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2575 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2576 that happens if the window hasn't been realized yet.
2578 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2579 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2581 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2583 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2584 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2587 Fixes: NB#98537 (Device hangs in account settings dialog)
2589 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2591 * configure.ac: post release version bump.
2592 * debian/changelog: version bump
2594 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2599 * configure.ac: Bump version.
2600 * debian/changelog: Updates.
2602 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2604 Added a new function to the HildonTimeButton widget that allows to
2605 change the step of the minutes in the selector associated with the
2606 button: hildon_time_button_new_step
2608 * src/hildon-time-button.c,
2609 (hildon_time_button_init),
2610 (hildon_time_button_new),
2611 (hildon_time_button_new_step):
2612 * src/hildon-time-button.h: Added the new function and refactored
2614 * examples/hildon-time-button-example.c,
2615 (main): We have replaced the function without parameters with the
2616 function with the steps set to 5
2618 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2620 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2622 * src/hildon-time-selector.c,
2623 (hildon_time_selector_class_init),
2624 (hildon_time_selector_constructor),
2625 (hildon_time_selector_get_property),
2626 (hildon_time_selector_set_property),
2627 (_create_minutes_model),
2628 (hildon_time_selector_new_step),
2629 (hildon_time_selector_set_time),
2630 * src/hildon-time-selector.h: Added a new property to the
2631 HildonTimeSelector (minutes-step), we use that property to control
2632 the steps between the minutes in the list of the selector. We have
2633 added a new function to the API to create a widget changing the
2634 step: hildon_time_selector_new_step.
2636 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2638 * src/hildon-time-selector.c,
2639 (hildon_time_selector_class_init),
2640 (hildon_time_selector_constructor),
2641 (hildon_time_selector_init): Overrided the construct function when
2642 creating the time selector object. We have moved the minutes model
2643 handling code from the init to the new construction function:
2644 hildon_time_selector_constructor.
2646 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2648 * examples/hildon-date-button-example.c: (main): Use the new
2649 hildon_date_button_new_with_year_range() method in the example.
2650 * src/hildon-date-button.c:
2651 (+hildon_date_button_new_with_year_range): New public method
2652 to conveniently create a HildonDateButton with a custom year range
2653 in its HildonDateSelector.
2654 * src/hildon-date-button.h: Add the new public method definition.
2656 Fixes: NB#97908 (Not possible to change the year range in
2657 HildonDateSelector/HildonDateButton)
2659 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2661 * src/hildon-date-selector.c:
2662 (+hildon_date_selector_set_property),
2663 (+hildon_date_selector_get_property),
2664 (hildon_date_selector_class_init): Install new properties "min-year"
2665 and "max-year" to define boundaries for the year column.
2666 (_create_year_model): Use the boundary properties to populate the model.
2667 (+hildon_date_selector_new_with_year_range): New public method to
2668 create a HildonDateSelector with a user defined year range.
2669 (hildon_date_selector_select_current_date): Use the new boundaries to
2670 calculate the iterator of current year.
2671 * src/hildon-date-selector.h: Add the new public method definition.
2673 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2675 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2676 Install a constructor method.
2677 (+hildon_date_selector_construct_ui): construct the widget.
2678 (+hildon_date_selector_constructor): new constructor.
2679 (+hildon_date_selector_init): move out widget construction code to
2680 the new constructor.
2682 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2684 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2685 that there's actually a month or year selected before obtaining them.
2686 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2687 of the HildonTouchSelector::changed signal, as it was emitted on every
2688 single item selection.
2690 Fix some warnings and possible crashers due to the selection restoring.
2692 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2694 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2695 the signal handlers only after creating the dialog instead of on every
2698 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2700 * src/hildon-button.c (hildon_button_init)
2701 * src/hildon-check-button.c (hildon_check_button_init)
2702 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2703 focus when clicked by default.
2705 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2707 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2710 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2712 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2713 Alejandro G. Castro (alex@igalia.com)
2715 * src/hildon-picker-dialog.c:
2716 (hildon_picker_dialog_class_init): install new "center-on-show"
2718 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2719 (hildon_picker_dialog_set_property): add setter code for the new
2721 (hildon_picker_dialog_get_property): add getter code for the new
2723 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2724 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2727 Fixes: NB#92849 (Selected item is not always visible when
2728 HildonTouchSelector is shown)
2730 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2732 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2733 Alejandro G. Castro (alex@igalia.com)
2735 * src/hildon-touch-selector.c:
2736 (_create_new_column): Do not connect to the "realize" signal of the
2738 (hildon_touch_selector_append_column): center on the selected items
2739 when a new column is appended.
2740 (hildon_touch_selector_select_iter): Factor out the code to select a
2741 column to hildon_touch_selector_scroll_to().
2742 (+search_nearest_element): Method to retrieve the nearest selected
2743 element to the visible area of the pannable area in a column.
2744 (+on_realize_cb): scroll to the initially selected item.
2745 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2746 the pannable area is realized, otherwise delay this until it is.
2747 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2748 selected items of a given column.
2749 (+hildon_touch_selector_center_on_selected): Public method to center
2750 all columns on the nearest selected item.
2751 * src/hildon-touch-selector.h: Add definition for
2752 hildon_touch_selector_center_on_selected().
2754 Implement public API to ensure visibility of all selected items in
2755 a HildonTouchSelector.
2757 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2759 Fixed a problem in the fading when calling the scroll_to API, and
2760 improve scrollbar fading handling.
2762 * src/hildon-pannable-area.c,
2763 (hildon_pannable_area_grab_notify): avoid the timeout when the
2765 (hildon_pannable_area_button_press_cb),
2766 (hildon_pannable_area_motion_notify_cb): Code style changes.
2767 (hildon_pannable_area_button_release_cb): Review the conditions
2768 when releasing the mouse button to avoid unrequired fading
2770 (hildon_pannable_area_scroll_to): Do not calculate and set the
2771 velocity if the scroll is not required.
2773 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2775 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2776 Don't check whether the new selector is NULL: it cannot be.
2777 Hold a reference to the selector while doing the replacement.
2779 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2781 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2782 unnecessary size_request in a removed widget.
2784 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2786 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2787 an unnecessary reference tracking that was leaking.
2789 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2791 Added delayed motion notify event handling, this way we can
2792 discard redrawing if more than 25 events arrive per second.
2794 * src/hildon-pannable-area.c,
2795 (hildon_pannable_area_init): Initialized the new private atributes
2796 controlling this timeout
2797 (hildon_pannable_area_dispose): Remove the timeout that controls
2798 the motion notify events.
2799 (hildon_pannable_area_scroll): Added a condition to control the
2800 use of the acceleration.
2801 (hildon_pannable_area_motion_event_scroll_timeout),
2802 (hildon_pannable_area_motion_event_scroll): Added this two
2803 functions, they handle the motion notify events inside the
2805 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2806 to the scroll method with the new function.
2807 (hildon_pannable_area_button_release_cb): We have to remove the
2808 timeout handler and move to the last position if the last motion
2809 events were not handled.
2811 Fixes: NB#97028 (Pannable area updates on every motion event)
2813 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2815 * src/hildon-pannable-area.c,
2816 (hildon_pannable_area_get_topmost): Added a new parameter to
2817 filter the the windows that do not include those events. Added
2818 also a condition when finding the window to filter windows that do
2819 not ask for those events.
2820 (hildon_pannable_area_button_press_cb),
2821 (hildon_pannable_area_button_release_cb),
2822 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2823 topmost function, we have added the new parameter.
2825 Fixes: NB#97458 (Pannable area prevents propagation of button
2828 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2830 * src/hildon-pannable-area.c,
2831 (hildon_pannable_area_initial_effect): Added controls before
2832 launching the timeout and the idle functions.
2833 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2834 of the method, in some situations it can return with TRUE and 0 in
2836 (hildon_pannable_area_button_press_cb): We do not need to set
2837 DELAY for fading out here.
2839 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2841 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2843 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2844 post-cleaning if the selection is not NULL.
2846 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2848 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2849 all items before restoring the selection.
2851 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2853 * src/hildon-touch-selector.c:
2854 (+hildon_touch_selector_unselect_all):
2855 * src/hildon-touch-selector.h: New API to unselect all items in a
2856 column of the touch selector.
2858 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2860 * src/hildon-pannable-area.c,
2861 (hildon_pannable_area_redraw): Added a call to the refresh
2862 function inside the redraw because apparently in some cases the
2863 change in the adjustment does not imply a size allocate.
2865 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2866 despite the view not being scrollable)
2868 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2870 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2871 leak. Check for NULL before attempting to set the window title.
2873 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2875 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2876 whether to show or not the 'Done' button each time the dialog is
2877 shown, as it depends on the HildonTouchSelector selection mode.
2879 Fixes: NB#96226 (In multiple selection mode Done button is shown
2880 sometimes in listpicker)
2882 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2884 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2885 for the number of columns in the HildonTouchSelector more than once.
2887 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2889 * src/hildon-touch-selector.c: Minor documentation fixes.
2891 * src/hildon-picker-dialog.c (+_dialog_update_title)
2892 (_select_on_selector_changed_cb)
2893 (_update_title_on_selector_changed_cb)
2894 (on_selector_columns_changed): Update dialog title when there's no
2895 'Done' button and also when the number of columns in the selector
2899 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2900 (+_selection_changed, hildon_picker_button_on_dialog_response)
2901 (hildon_picker_button_selector_selection_changed)
2902 (+hildon_picker_button_selector_columns_changed)
2903 (hildon_picker_button_set_selector): Update button value and emit
2904 'value-changed' when the number of columns in the selector
2908 Fixes: NB#96225 (Dialog titles are not shown according to the
2909 values selected in the list picker)
2911 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2913 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2914 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2915 New "arrow-width" and "arrow-height" style properties to set the
2916 size of the arrow button.
2917 Set name of arrow button ("hildon-edit-toolbar-arrow").
2919 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2920 graphics from theme)
2922 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2924 * src/hildon-picker-button.c:
2925 (hildon_picker_button_selector_selection_changed): Use
2926 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2927 the dialog is present.
2929 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2930 the selection is accepted in the dialog)
2932 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2934 * src/hildon-color-chooser.h
2935 * src/hildon-color-chooser-dialog.h:
2936 Added G_BEGIN_DECLS and G_END_DECLS
2938 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2940 (_clean_current_selection): plug a leak in the list.
2942 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2944 * src/hildon-picker-dialog.c:
2945 (+free_path_list): Method to free a GList of GtkTreePaths.
2946 (_clean_current_selection), (_save_current_selection),
2947 (_restore_current_selection): Save the current selection in
2948 as a list of lists, to support multiple selection properly.
2950 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2952 patch by Claudio Saavedra (csaavedra@igalia.com)
2954 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2955 Store the press position.
2956 (+hildon_text_view_button_release_event): If the release position is
2957 close enough to the press position, move the cursor here. Otherwise,
2959 (hildon_text_view_class_init): Override GtkTextView press, release, and
2960 motion event handlers, disabling this way text selection through
2961 pointer interaction, and allowing the container widget to handle the
2964 Fixes: NB#95828 (HildonTextView functionality)
2966 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2968 Based on a patch by Iván Gómez (igomez@igalia.com)
2970 * src/hildon-button.[ch]
2971 * src/hildon-calendar.c
2972 * src/hildon-check-button.c
2973 * src/hildon-date-editor.c
2974 * src/hildon-date-selector.c
2975 * src/hildon-picker-button.c
2976 * src/hildon-time-editor.c
2977 * src/hildon-time-selector.c
2978 * src/hildon-touch-selector.[ch]:
2979 Documentation updates
2981 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2983 * src/hildon-pannable-area.c,
2984 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2985 threshold, it was required due to X events handling.
2987 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2989 * src/hildon-pannable-area.c,
2990 (hildon_pannable_area_grab_notify),
2991 (hildon_pannable_area_initial_effect),
2992 (hildon_pannable_area_button_press_cb),
2993 (hildon_pannable_area_button_release_cb),
2994 (hildon_pannable_area_scroll_cb),
2995 (hildon_pannable_area_scroll_to): Review the timeout management of
2996 the scrollbar, the frecuency was incorrectly set.
2998 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3000 * src/hildon-picker-button.c:
3001 (+hildon_picker_button_on_dialog_response),
3002 (hildon_picker_button_clicked): Present the dialog instead of
3003 running it with gtk_dialog_run().
3005 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3008 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3010 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3011 (hildon_app_menu_finalize): When a window is hidden it doesn't
3012 emit notify::is-topmost, so make sure than the menu also
3013 disappears in that case.
3014 (parent_window_topmost_notify): Renamed from parent_window_hidden
3016 Fixes: NB#94460 (stackable window's menu is not closed when its
3019 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3021 * src/hildon-touch-selector-entry.c:
3022 (+hildon_touch_selector_entry_set_input_mode),
3023 (+hildon_touch_selector_entry_get_input_mode):
3024 * src/hildon-touch-selector-entry.h: New methods to access the input
3025 mode in the selector's entry.
3027 Fixes: NB#93410 (API required for setting IM mode in
3028 HildonTouchSelectorEntry)
3030 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3032 * configure.ac: post release version bump.
3033 * debian/changelog: version bump
3035 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3040 * configure.ac: Bump version.
3041 * debian/changelog: Updates.
3043 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3045 * src/hildon-touch-selector.c:
3046 (_hildon_touch_selector_has_multiple_selection): No need
3047 to initialize the variables here.
3049 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3051 * src/hildon-note-private.h
3052 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3053 (hildon_note_finalize, hildon_note_rebuild): Close information
3054 notes when they receive a button press.
3056 Fixes: NB#89890 (Information notes does not get disappeared after
3059 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3061 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3062 mark from the wizard title, as it's not really necessary. Also,
3063 do not display the page title if not set.
3065 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3067 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3068 (parent_window_hidden): Use the window's "is-topmost" property to
3069 detect when to hide the menu.
3071 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3073 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3074 (hildon_app_menu_finalize): If the parent window of the menu is
3075 hidden, hide the menu too.
3077 Fixes: NB#94460 (stackable window's menu is not closed when its
3080 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3083 * debian/libhildon1-examples.install
3085 * examples/Makefile.am:
3086 Use dh_install to install all examples.
3087 Use DEB_SRCDIR instead of defining SOURCE_DIR
3089 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3091 * configure.ac: post release version bump.
3092 * debian/changelog: version bump
3094 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3099 * configure.ac: bump version
3100 * debian/changelog: updates
3101 * debian/control: bump gtk+ dependency
3103 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3105 patch by Christian Dywan (christian@imendio.com)
3107 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3108 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3110 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3112 * src/hildon-check-button.c (hildon_check_button_init)
3113 (hildon_check_button_class_init, hildon_check_button_style_set)
3114 (hildon_check_button_apply_style):
3115 New "checkbox-size" style property.
3117 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3118 larger / configurable size)
3120 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3122 * configure.ac: post release version bump.
3123 * debian/changelog: version bump
3125 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3130 * configure.ac: bump version
3131 * debian/changelog: updates
3133 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3135 * doc/hildon-sections.txt
3136 * src/hildon-pannable-area.c
3137 * src/hildon-program.c
3138 * src/hildon-time-editor.c
3139 * src/hildon-touch-selector-entry.c:
3141 More documentation updates.
3143 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3145 * doc/hildon-sections.txt
3146 * src/hildon-caption.c
3147 * src/hildon-code-dialog.c
3148 * src/hildon-color-button.c
3149 * src/hildon-controlbar.c
3150 * src/hildon-date-editor.c
3151 * src/hildon-date-selector.c
3152 * src/hildon-edit-toolbar.c
3153 * src/hildon-find-toolbar.c
3154 * src/hildon-font-selection-dialog.c
3156 * src/hildon-program.c
3157 * src/hildon-range-editor.c
3158 * src/hildon-seekbar.c
3159 * src/hildon-time-editor.c
3160 * src/hildon-time-selector.c
3161 * src/hildon-volumebar-range.c
3162 * src/hildon-volumebar.c
3163 * src/hildon-vvolumebar.c
3164 * src/hildon-weekday-picker.c
3165 * src/hildon-window.c
3166 * src/hildon-wizard-dialog.c:
3168 Lots of documentation fixes.
3170 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3172 Patch contributed by Iván Gómez (igomez@igalia.com)
3174 * src/hildon-check-button.c:
3175 * src/hildon-date-button.c:
3176 * src/hildon-date-selector.c:
3177 * src/hildon-dialog.c:
3178 * src/hildon-edit-toolbar.c:
3179 * src/hildon-entry.c:
3180 * src/hildon-picker-button.c:
3181 * src/hildon-program.c:
3182 * src/hildon-text-view.c:
3183 * src/hildon-time-button.c:
3184 * src/hildon-touch-selector-entry.c:
3185 * src/hildon-window-stack.c:
3187 Add more "since" tags to the new API.
3189 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3191 * doc/hildon-sections.txt: Add below method.
3192 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3193 version for the hildonized scale.
3194 * src/hildon-gtk.h: Add the definition.
3196 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3198 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3200 * doc/hildon-sections.txt: Add missing entries for new methods.
3202 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3204 Added API to pannable are in order to get its adjustments. We
3205 added two properties to manage the values we had in the private
3208 * src/hildon-pannable-area.c:
3209 (hildon_pannable_area_class_init): Added hadjustment and
3210 vadjustment properties in order to expose horizontal and vertical
3212 (hildon_pannable_area_get_property),
3213 (hildon_pannable_area_set_property): Added code to handle the new
3215 (hildon_pannable_area_get_hadjustment),
3216 (hildon_pannable_area_get_vadjustment): API functions to get the
3218 * src/hildon-pannable-area.h:
3219 (hildon_pannable_area_get_hadjustment),
3220 (hildon_pannable_area_get_vadjustment): API functions to get the
3223 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3225 Fixed some leaks, after valgrinding.
3227 * src/hildon-touch-selector.c:
3228 (_default_print_func): Fixed a leak.
3229 (hildon_touch_selector_append_column): Fixed a leak.
3230 * src/hildon-date-button.c:
3231 (hildon_date_button_init): Fixed a leak.
3232 * src/hildon-date-selector.c
3233 (hildon_date_selector_finalize): Fixed a leak.
3235 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3237 Based on a patch by Christian Dywan (christian@imendio.com)
3239 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3241 * src/hildon-gtk.h: Add definition.
3243 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3245 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3247 * src/hildon-picker-button.c: (hildon_picker_button_init),
3248 (hildon_picker_button_new): Set the HildonButton::style property
3249 in the init method, to propagate the value to the derived classes.
3251 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3253 * src/hildon-button.c: (hildon_button_class_init): Do not make
3254 the "style" property a construct property.
3256 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3258 * src/hildon-wizard-dialog.h
3259 * src/hildon-wizard-dialog.c
3260 (hildon_wizard_dialog_set_forward_page_func)
3261 * src/hildon-pannable-area.h
3262 * src/hildon-pannable-area.c
3263 (hildon_pannable_area_set_size_request_policy):
3264 Documentation fixes.
3266 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3268 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3270 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3272 * doc/hildon-sections.txt: Added sections file.
3274 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3277 * src/*.[ch]: Updates.
3279 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3281 * examples/hildon-progress-indicator-example.c: new file
3282 * examples/Makefile.am: include the new example program
3284 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3286 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3288 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3290 * configure.ac: post release version bump
3291 * debian/changelog: version bump
3293 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3298 * configure.ac: bump version
3299 * debian/changelog: updates
3300 * debian/control: bump gtk+ dependency
3302 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3304 * src/hildon-dialog.c: Mark as deprecated.
3305 * src/hildon-dialog.h: Mark as deprecated.
3306 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3307 from HildonDialog and still work, even if
3308 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3309 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3311 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3312 maemo changes) instead)
3314 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3316 * src/hildon-pannable_area.h:
3317 * src/hildon-pannable_area.c:
3318 (hildon_pannable_area_class_init),
3319 (hildon_pannable_area_set_property),
3320 (hildon_pannable_area_get_property),
3321 (hildon_pannable_area_size_request),
3322 (hildon_pannable_area_get_size_request_policy),
3323 (hildon_pannable_area_set_size_request_policy): Added new API
3324 allowing applications to control the request policy. Now they can
3325 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3326 children allocation (HILDON_MOVEMENT_CHILDREN).
3328 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3332 (hildon_gtk_tree_view_set_ui_mode)
3333 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3334 mode of treeviews and iconviews.
3336 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3338 * src/hildon-touch-selector-entry.c:
3339 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3340 of a GtkEntry to get proper theming.
3342 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3343 widget, not GtkEntry)
3345 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3347 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3348 no HildonWizardDialogPageFunc.
3350 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3352 Patch contributed by Iván Gómez (igomez@igalia.com)
3354 * src/hildon-app-menu.c:
3355 * src/hildon-button.c:
3356 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3357 * src/hildon-stackable-window.c:
3358 * src/hildon-time-selector.c:
3359 * src/hildon-touch-selector.c:
3360 * src/hildon-window.c:
3362 Add more "since" tags to the new API in hildon 2.2.
3364 2008-12-05 Tim Janik <timj@imendio.com>
3366 Patch contributed by Christian Dywan (christian@imendio.com)
3368 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3369 HildonSizeType, which are supplied by Gtk+ now.
3371 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3373 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3374 (with maemo changes) instead)
3376 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3378 Patch contributed by Iván Gómez (igomez@igalia.com)
3380 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3383 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3385 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3386 (some_page_func), (main): Update the example to use a
3387 HildonWizardDialogPageFunc function.
3389 * src/hildon-wizard-dialog-private.h: Add private data for
3390 the HildonWizardDialogPageFunc function usage.
3392 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3393 (destroy), (hildon_wizard_dialog_init), (response),
3394 (hildon_wizard_dialog_set_forward_page_func):
3395 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3396 that applications can use to stop a HildonWizardDialog to jump to
3399 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3402 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3404 * src/hildon-program.h
3405 * src/hildon-program-private.h
3406 * src/hildon-program.c (hildon_program_init)
3407 (hildon_program_set_common_app_menu)
3408 (hildon_program_get_common_app_menu):
3409 New API for setting a common HildonAppMenu for all
3410 HildonStackableWindows registered with the HildonProgram.
3412 * src/hildon-stackable-window.c
3413 (hildon_stackable_window_toggle_menu):
3414 Use the common HildonAppMenu if a window doesn't have a specific
3417 * src/hildon-app-menu-private.h
3418 * src/hildon-app-menu.c
3419 (hildon_app_menu_get_parent_window):
3420 Function to obtain the window a HildonAppMenu is attached to.
3421 (hildon_app_menu_set_parent_window):
3422 Hide the menu if the parent window is set to NULL.
3424 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3426 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3427 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3428 search widget to popup.
3430 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3432 * configure.ac: post release version bump
3433 * debian/changelog: version bump
3435 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3440 * configure.ac: bump version
3441 * debian/changelog: updates
3443 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3445 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3447 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3448 (hildon_window_stack_window_realized)
3449 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3450 Set the leader GdkWindow when a window is stacked and realized,
3451 unset it when it's unstacked.
3452 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3454 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3456 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3458 * src/hildon-stackable-window.h
3459 * src/hildon-window-stack.h:
3460 Protect definition of HildonWindowStack using the preprocessor.
3462 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3464 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3465 Fix warning if all menu items are hidden.
3467 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3469 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3471 * src/hildon-controlbar.c:
3472 * src/hildon-hvolumebar.c:
3473 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3474 Multiple scale size defines updates.
3476 Fixes: NB#94322 (Scale Updates)
3478 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3480 * examples/hildon-app-menu-example.c (create_menu)
3481 Show items after adding them to the menu, as in the future the
3482 menu will no longer call gtk_widget_show() on the added items.
3484 * src/hildon-app-menu.c:
3485 Update example as explained above.
3487 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3489 * src/hildon-app-menu.c
3490 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3491 Make sure that all menu items have finger height.
3493 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3495 * src/hildon-picker-dialog.c:
3496 (_on_dialog_response), (_save_current_selection),
3497 (_restore_current_selection), (_clean_current_selection),
3498 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3499 Defined new functions in order to save the current internal selector
3500 selection previous open the dialog, in case that the use cancel the
3501 interaction, so the widget restores the previous selection.
3503 Fixes: NB#92032 (In calendar application, date values in 'new event'
3506 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3508 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3510 * src/hildon-button.c: Add a reference to the button examples in
3511 hildon-button-example.c
3513 * examples/hildon-button-example.c: Added examples of the most
3514 common button layouts.
3516 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3518 * src/hildon-app-menu.c (hildon_app_menu_show)
3519 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3521 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3523 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3525 * src/hildon-picker-dialog.c:
3526 (hildon_picker_dialog_init): Initialize the signal id for
3527 HildonTouchSelector::columns-changed.
3528 (+on_selector_columns_changed): Set up the interaction mode everytime a
3529 column is added or removed from the HildonTouchSelector.
3530 (_hildon_picker_dialog_set_selector): Connect to
3531 HildonTouchSelector::columns-changed and keep track of it.
3533 Make sure to update the interaction mode of the dialog everytime a
3534 column is added or removed in the HildonTouchSelector.
3536 Fixes: NB#93228 (Done button is not shown always in listpicker)
3538 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3540 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3541 a new ::columns-changed signal.
3542 (hildon_touch_selector_append_column): Emit ::columns-changed.
3543 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3545 Add a ::columns-changed signal, emitted when the number of columns in a
3546 HildonTouchSelector changes.
3548 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3550 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3551 (_hildon_picker_dialog_set_selector): Factor out the code
3552 to set up the dialog interaction mode.
3554 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3556 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3557 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3558 to signal_changed_id.
3560 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3562 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3565 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3567 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3568 Updated the logical ids related to ampm format, as now it is required to
3569 show it correctly localized even on languages with no default
3570 abbreviations for am or pm
3571 (_check_am_pm_format): check correctly the 24h format gconf property
3573 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3575 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3577 * src/hildon-button.c: Documentation updates.
3579 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3581 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3582 * src/hildon-caption.c: (hildon_caption_class_init):
3583 * src/hildon-color-button.c: (hildon_color_button_class_init):
3584 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3585 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3586 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3587 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3589 Remove deprecated GTK+ marshalers and replace them with the ones
3590 provided by GLib, for those available, add a marshaler for
3591 BOOLEAN:VOID, which is not available in GLib, and use it.
3593 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3595 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3596 the text from the previous column if there is no
3597 HildonTouchSelectorColumn::text-property set.
3599 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3601 * src/hildon-button.h
3602 * src/hildon-button.c (hildon_button_set_property)
3603 (hildon_button_get_property, hildon_button_class_init)
3604 (hildon_button_set_style, hildon_button_get_style):
3605 New "style" property to change the visual appearance of the
3608 * src/hildon-picker-button.c (hildon_picker_button_new):
3609 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3611 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3612 HildonButton look like PickerButton)
3614 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3616 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3617 column while building the default string.
3619 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3621 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3622 scroll indicator by default.
3624 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3626 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3628 * src/hildon-main.c: Fix the documentation for hildon_init()
3630 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3632 * doc/hildon-docs.sgml
3636 * src/hildon-window-stack-private.h
3637 * src/hildon-window-stack.h
3638 * src/hildon-window-stack.c:
3639 New HildonWindowStack object, that adds support for multiple
3640 stacks of windows per process.
3642 * src/hildon-stackable-window-private.h
3643 * src/hildon-stackable-window.h
3644 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3645 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3646 (hildon_stackable_window_show, hildon_stackable_window_hide)
3647 (hildon_stackable_window_class_init)
3648 (hildon_stackable_window_init):
3649 Use HildonWindowStack for stack management.
3651 * src/hildon-program.c (hildon_program_pop_window_stack)
3652 (hildon_program_peek_window_stack)
3653 (hildon_program_go_to_root_window):
3654 Add a fallback implementation to the deprecated functions using
3657 * examples/hildon-stackable-window-example.c:
3658 Use the new HildonWindowStack API.
3660 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3662 * src/hildon-stackable-window-private.h
3663 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3664 (hildon_stackable_window_hide, hildon_stackable_window_init):
3665 Remove all window stack management.
3667 * src/hildon-program-private.h
3668 * src/hildon-program.h
3669 * src/hildon-program.c (hildon_program_init)
3670 (hildon_program_pop_window_stack)
3671 (hildon_program_peek_window_stack)
3672 (hildon_program_go_to_root_window):
3673 Remove all window stack management and mark functions as
3676 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3678 * src/hildon-app-menu.c (hildon_app_menu_realize):
3679 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3681 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3683 * configure.ac: post release version bump
3684 * debian/changelog: version bump
3686 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3691 * configure.ac: bump version
3692 * debian/changelog: updates
3694 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3696 Based on initial code by Christian Dywan (christian@imendio.com)
3698 * doc/hildon-docs.sgml: Add section for hildon-main.
3699 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3700 * src/Makefile.am: Add new hildon-main.[ch]
3701 * src/hildon-defines.h: Update the icon sizes.
3702 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3703 new library initialization files and register icon sizes.
3704 * src/hildon-main.h: New declarations.
3705 * src/hildon.h: Include hildon-main.h
3707 Add new initialization functions to the library. These methods
3708 will register the hildon specific icon sizes and can be used in the
3709 future for other hildon specific bits.
3711 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3713 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3715 * src/hildon-window.c: (hildon_window_realize),
3716 (hildon_window_notify), (-hildon_window_update_title): Do not set
3717 the application name in the window title.
3719 Fixes: NB#89754 (Applications shouldn't display their names in the
3722 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3724 * src/hildon-note-private.h:
3725 * src/hildon-note.c: (hildon_note_set_property),
3726 (hildon_note_get_property), (hildon_note_class_init),
3727 (hildon_note_init), (hildon_note_finalize),
3728 (hildon_note_new_confirmation_with_icon_name),
3729 (hildon_note_new_information_with_icon_name):
3731 No need to mark as deprecated the actual code. Revert
3732 to avoid missing symbols in widgets using deprecated API.
3734 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3736 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3738 * src/hildon-volumebar.h
3739 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3740 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3742 * src/hildon-helper.h
3743 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3744 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3746 * examples/Makefile.am:
3747 Deprecate hildon-insensitive-example
3749 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3751 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3753 * examples/hildon-pannable-area-buttons-scroll-example.c:
3754 Make all buttons finger height
3756 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3758 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3760 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3761 update the day model only if it is really required, and to avoid the
3762 full-reconstruction aproach. Now it only add or remove the required days.
3764 The purpose of this is avoid superfluous HildonTouchSelector::changed
3767 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3768 with strange parameters)
3770 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3772 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3774 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3775 the WINDOW_TYPE property.
3777 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3779 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3782 Fix dependency to allow parallel compilation with make -jX
3784 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3786 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3787 color frame and some minor tweaks to make it more consistent with
3790 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3791 highlighted but not visible)
3793 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3795 * examples/Makefile.am: Fixed typo in the Makefile.am.
3797 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3799 Reviewed the use of MAEMO_GTK define, now we add the define in the
3800 compilation line, and we also add it to the pc file.
3802 * configure.ac: Added MAEMO_GTK define to the compilation command
3803 and removed it from the config.h.
3805 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3806 do not have to take care about this define if the library was
3810 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3812 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3814 * examples/Makefile.am,
3815 * examples/hildon-pannable-area-buttons-scroll-example.c,
3816 * examples/hildon-pannable-area-gesture-signals-example.c,
3817 * examples/hildon-pannable-area-scroll-jump-example.c,
3818 * examples/hildon-pannable-area-tree-view-example.c:
3819 Renamed the pannable area examples, now they have more meaningful
3822 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3824 * src/hildon-touch-selector.c:
3825 (hildon_touch_selector_set_column_selection_mode): Used of
3826 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3827 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3828 to avoid re-seting the same selection mode.
3830 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3831 breaks HildonPickerDialog)
3833 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3835 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3836 conditional in the Makefile.am
3838 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3840 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3841 Remove unused methods.
3843 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3845 * src/hildon-button.c (hildon_button_init):
3846 Make button images center-aligned by default
3848 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3851 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3852 activated, we have to think about how to deal with both defines
3853 MAEMO_GTK and MAEMO_CHANGES.
3855 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3857 * examples/hildon-app-menu-example.c (create_menu): Make all
3858 buttons finger size.
3860 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3862 Fixed the compilation without maemo gtk adding ifdefs with
3863 MAEMO_GTK define to the code, we have to check this version more
3866 * examples/Makefile.am: Added control to avoid some examples that
3867 just make sense with maemo gtk.
3870 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3871 hildon modes with the define.
3873 * examples/hildon-edit-toolbar-example.c,
3874 (create_icon_view): Create the icon view without hildon-gtk
3875 helpers if we are not using maemo gtk.
3877 * src/hildon-touch-selector.c,
3878 (_create_new_column): Create the treeview without hildon-gtk
3879 helpers if we are not using maemo gtk.
3881 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3883 * src/hildon-pnnable-area.c,
3884 (hildon_pannable_area_dispose),
3885 (hildon_pannable_area_button_press_cb),
3886 (hildon_pannable_area_child_mapped),
3887 (hildon_pannable_area_add),
3888 (hildon_pannable_area_remove): Added code to control the position
3889 of the event_window when adding and removing children from the
3890 pannable. We have to raise the event window when the child is
3893 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3894 selection mode using custom widget inside pannable)
3896 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3898 * configure.ac: post release version bump
3899 * debian/changelog: version bump
3901 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3906 * configure.ac: bump version
3907 * debian/changelog: updates
3909 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3911 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3912 search mode, in order to avoid lose the focus on the treeview when
3913 a hw key (like enter) is pressed.
3915 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3916 in HildonDateSelector dialog)
3918 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3920 * debian/rules: Added --enable-maintainer-mode
3921 * Makefile.am: Added ACLOCAL_AMFLAGS
3923 This allows to properly regenerate the Makefiles if you modify the
3924 configure.ac or any Makefile.am.
3926 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3928 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3929 properties, not needed at all.
3931 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3933 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3935 * src/hildon-note.c: (hildon_note_set_property),
3936 (hildon_note_get_property), (hildon_note_class_init),
3937 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3938 (hildon_note_new_confirmation_add_buttons): Remove icons.
3939 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3940 (hildon_note_new_information_with_icon_name): Deprecate.
3941 (hildon_note_new_confirmation): Act directly, without calling
3942 the deprecated constructor.
3943 (hildon_note_new_information): Act directly, without calling
3944 the deprecated constructor.
3945 * src/hildon-note.h: Mark deprecate methods as such.
3946 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3947 not run tests on the deprecated methods if built with deprecation
3950 Fixes: NB#91688 (Never show icons in information notes/confirmation
3953 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3955 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3956 (hildon_app_menu_key_press): Remove leftover usage of the
3957 private structure in HildonAppMenu struct.
3958 * src/hildon-app-menu.h: Remove leftover private structure
3959 from the HildonAppMenu struct.
3961 Fixes a crasher when using the HildonAppMenu.
3963 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3965 * src/hildon-picker-dialog.c: Use appropriate logical id
3966 for the default "Done" text.
3968 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3970 * configure.ac: post release version bump
3971 * debian/changelog: version bump
3973 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3975 Modified the way to scroll to the current selection just when the touch
3976 selector is shown on the screen, avoiding a g_idle. Added too a property
3977 to configure this behaviour. See hildon_pannable_area_jump_to_child
3978 documentation for more information.
3980 * src/hildon-touch-selector.c
3981 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3982 Added 'initial-scroll' property
3983 (hildon_touch_selector_set_property): Added
3984 (hildon_touch_selector_map): Removed as not required anymore
3985 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3986 only a concrete column, instead of iterate along all the columns
3988 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3993 * configure.ac: bump version
3994 * debian/changelog: updates
3996 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3998 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3999 compilation time warnings.
4001 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4003 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4004 the default value for HildonPannableArea::mov-mode to
4005 HILDON_PANNABLE_AREA_MODE_VERT.
4007 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4009 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4011 Reverting following commit:
4013 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4015 * src/hildon-app-menu-private.h
4016 * src/hildon-app-menu.[ch]
4017 * src/hildon-button.[ch]
4018 * src/hildon-check-button.[ch]
4019 * src/hildon-entry.[ch]
4020 * src/hildon-pannable-area.[ch]
4021 * src/hildon-text-view.[ch]:
4022 Added private field to the object's structure.
4024 because it causes an ABI breakage. We will need to introduce these
4025 changes later at some point. See NB#91636 for an extensive
4026 explanation and status.
4028 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4030 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4032 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4033 remove special cases that are no longer necessary.
4035 Fixes: NB#91016 (Change toolbar sizes, simplification)
4037 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4039 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4040 is shown in the cancel note.
4042 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4044 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4045 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4046 (hildon_seekbar_init): Remove steppers, remove expose event.
4047 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4049 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4051 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4053 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4054 label font to "SmallSystemFont" for vertically arranged buttons.
4056 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4059 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4061 * src/hildon-check-button.c
4062 (hildon_check_button_set_active, hildon_check_button_clicked):
4063 Don't access private parts directly, use getters instead.
4065 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4067 * src/hildon-check-button.c (hildon_check_button_new):
4068 Align the contents of the check button to the left.
4070 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4072 * src/hildon-pannable-area.c,
4073 (hildon_pannable_area_scroll_to),
4074 (hildon_pannable_area_jump_to),
4075 (hildon_pannable_area_scroll_to_child),
4076 (hildon_pannable_area_jump_to_child): Replace the mapped
4077 precondition of these functions with the realized, it is the
4078 correct state of the widget in this case. Changed the
4079 documentation according to this modification.
4081 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4083 Added a new EXTRA_CFLAGS option to add the deprecated define to
4084 the compilation command. This way we can avoid using the define in
4085 the documentation compilation.
4087 * configure.ac: Defined EXTRA_CFLAGS.
4089 * examples/Makefile.am:
4091 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4093 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4095 * src/hildon-picker-dialog.c:
4096 Defined a utility macro with the desired touch selector height
4097 Removed currently unused separator, and title_label variables from
4099 (hildon_picker_dialog_init): Removed code related to the creation
4100 of unused private variables title_label and separator.
4101 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4102 to ensure correct visualization of the touch selector inside the dialog.
4103 * src/hildon-touch-selector.c
4104 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4105 ensure a concrete height of the widget.
4107 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4110 * tests/Makefile.am:
4112 Remove spurious whitespaces.
4114 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4116 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4117 compilation warning after the cancel button removal.
4119 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4121 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4123 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4124 Makefile.am, that way we can choose not to compile some examples
4125 and tests of the deprecated widgets.
4127 * examples/Makefile.am: Divided the sources in deprecated and
4130 * src/Makefile.am: Added undef statement of the deprecated
4131 symbol to the enums file generation process.
4133 * src/hildon-color-chooser-dialog.c
4134 * src/hildon-color-chooser-dialog.h
4135 * src/hildon-color-button.c
4136 * src/hildon-color-button.h
4137 * src/hildon-color-chooser.c
4138 * src/hildon-color-chooser.h
4139 * src/hildon-controlbar.c
4140 * src/hildon-controlbar.h
4141 * src/hildon-date-editor.c
4142 * src/hildon-date-editor.h
4143 * src/hildon-hvolumebar.c
4144 * src/hildon-hvolumebar.h
4145 * src/hildon-private.c
4146 * src/hildon-private.h
4147 * src/hildon-range-editor.c
4148 * src/hildon-range-editor.h
4149 * src/hildon-seekbar.c
4150 * src/hildon-seekbar.h
4151 * src/hildon-time-editor.c
4152 * src/hildon-time-editor.h
4153 * src/hildon-time-picker.c
4154 * src/hildon-time-picker.h
4155 * src/hildon-volumebar.c
4156 * src/hildon-volumebar.h
4157 * src/hildon-vvolumebar.c
4158 * src/hildon-vvolumebar.h
4159 * src/hildon-bread-crumb-trail.h
4160 * src/hildon-bread-crumb-trail.c
4161 * src/hildon-calendar-popup.c
4162 * src/hildon-calendar-popup.h
4163 * src/hildon-weekday-picker.c:
4164 * src/hildon-weekday-picker.h:
4165 * src/hildon-bread-crumb-widget.c:
4166 * src/hildon-bread-crumb-widget.h:
4167 * src/hildon-bread-crumb.c:
4168 * src/hildon-bread-crumb.h:
4169 * src/hildon-calendar.c:
4170 * src/hildon-calendar.h:
4171 * src/hildon-caption.c:
4172 * src/hildon-code-dialog.c:
4173 * src/hildon-code-dialog.h:
4174 * src/hildon-font-selection-dialog.c:
4175 * src/hildon-font-selection-dialog.h:
4176 * src/hildon-get-password-dialog.c:
4177 * src/hildon-get-password-dialog.h:
4178 * src/hildon-login-dialog.c:
4179 * src/hildon-login-dialog.h:
4180 * src/hildon-number-editor.c:
4181 * src/hildon-number-editor.h:
4182 * src/hildon-set-password-dialog.c:
4183 * src/hildon-set-password-dialog.h:
4184 * src/hildon-sort-dialog.c:
4185 * src/hildon-sort-dialog.h: This is the list of deprecated
4188 * src/hildon-touch-selector.c:
4189 * src/hildon-window.c: Added undef statement to avoid compilation
4192 * tests/Makefile.am: Divided the sources in deprecated and
4195 * tests/check_test.c,
4196 (configure_tests): Marked the deprecated code that was adding
4197 suites with deprecated tests.
4199 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4201 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4203 * src/hildon-touch-selector.c: (_default_print_func): Do not
4204 duplicate a string returned by gtk_tree_model_get(), it is already
4207 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4210 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4212 * src/hildon-pannable-area.c
4213 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4214 method, it had problems when adding a widget with viewport the
4215 second time. Now checks if it already has a viewport and uses it.
4217 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4220 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4222 * src/hildon-pannable-area.c,
4223 (hildon_pannable_area_scroll_to),
4224 (hildon_pannable_area_jump_to),
4225 (hildon_pannable_area_scroll_to_child),
4226 (hildon_pannable_area_jump_to_child): Added a precondition to the
4227 scroll and jump to functions: the widget must be mapped before we
4228 can safely call these functions. We have also added documentation
4229 to the functions to explain how to use them in this situation.
4232 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4234 Reviewed the threading handling of the pannable widget, we have
4235 used the gdk_threads_add_timeout function instead of the usual
4236 glib handlers. This avoids some problems with the threads.
4238 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4239 (hildon_pannable_area_initial_effect),
4240 (hildon_pannable_area_scroll_indicator_fade),
4241 (hildon_pannable_area_button_press_cb),
4242 (hildon_pannable_area_timeout),
4243 (hildon_pannable_area_motion_notify_cb),
4244 (hildon_pannable_area_button_release_cb),
4245 (hildon_pannable_area_scroll_cb),
4246 (hildon_pannable_area_scroll_to): Removed the
4247 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4248 gdk_threads_add_timeout.
4250 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4252 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4257 * configure.ac: bump version
4258 * debian/changelog: updates
4260 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4262 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4263 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4264 * src/hildon-color-chooser-dialog.c:
4265 (hildon_color_chooser_dialog_init):
4266 * src/hildon-font-selection-dialog.c:
4267 (hildon_font_selection_dialog_init):
4268 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4270 Remove all cancel/close-like dialogs, as these are not going to be
4273 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4275 * src/hildon-note.c: (hildon_note_rebuild),
4276 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4279 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4281 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4283 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4284 sure all buttons are shown, even the Cancel/Close-like ones.
4286 Fixes: NB#90861 (Custom Confirmation dialogs should be
4287 protected from cancel button removal)
4289 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4291 * debian/control: Change libhildon1-examples dependency from libhildon1
4293 * debian/libhildon1-examples.install
4295 * Makefile.am: Modified the final install directory for the examples on
4296 package libhildon1-examples
4297 * Makefile.static: Update clean target in order to remove all the binary
4300 Changes suggested by Claudio after review new libhildon1-examples package
4302 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4304 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4305 * src/hildon-touch-selector.c: Ditto.
4307 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4309 * debian/control: Added new package libhildon1-examples, in order to pack
4310 the current hildon examples as documentation
4311 * debian/rules: Not to compress .c files, modify some includes on the
4312 examples (as normally are compiled locally, but when installed it will
4313 require to include the installed libhildon1 library), and rename
4315 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4316 install all the example files on the new example package
4317 * examples/Makefile.static: Added static makefile that can be used to
4318 compile the examples, once installed the new example package
4319 * examples: Most of the examples were modified in order to grant that
4320 all use only '#include "hildon.h"', in order to be easy to prepare
4321 it on the example package
4323 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4326 * debian/libhildon1-dev.install
4327 * debian/libhildon1-doc.install:
4328 Move all gtk-doc files to a separate libhildon1-doc package.
4330 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4332 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4334 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4336 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4338 * debian/rules: Fixed a error in order to avoid unnecessary calls
4339 to autogen.sh on package building
4341 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4343 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4345 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4347 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4350 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4352 * src/hildon-picker-button.c
4353 (hildon_picker_button_finalize):
4354 Free priv->done_button_text
4356 * src/hildon-time-button.c
4357 (hildon_time_button_set_time)
4358 * src/hildon-picker-button.c
4359 (hildon_picker_button_clicked)
4360 (hildon_picker_button_selector_selection_changed)
4361 (hildon_picker_button_set_selector)
4362 * src/hildon-date-button.c
4363 (hildon_date_button_set_date):
4364 Free strings returned by hildon_touch_selector_get_current_text()
4366 * src/hildon-button.c (hildon_button_construct_child):
4367 Fix leaks in priv->image and priv->label_box
4369 Fixes: NB#90535 (Memory leak in picker button)
4371 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4373 * src/hildon-button.c: (hildon_button_get_property): Do not access
4374 private elements directly, use getters instead.
4376 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4378 * src/hildon-app-menu-private.h
4379 * src/hildon-app-menu.c
4380 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4381 Store the menu's parent window.
4383 * src/hildon-stackable-window.c
4384 (hildon_stackable_window_toggle_menu)
4385 (hildon_stackable_window_finalize):
4386 Set the menu's parent window when the menu is shown, unset it when
4389 * src/hildon-app-menu.c
4390 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4391 (hildon_app_menu_class_init):
4392 Send unhandled keyboard accelerators to the parent window.
4394 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4396 * src/hildon-stackable-window.c
4397 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4399 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4401 * configure.ac: post release version bump
4403 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4406 * configure.ac: Bump version
4407 * debian/changelog: Updates
4408 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4411 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4413 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4416 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4417 GtkMenu with Hildon style.
4419 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4421 * src/hildon-picker-button.c:
4422 (hildon_picker_button_set_done_button_text): Set the dialog's
4423 done button text here as well.
4425 Fixes: NB#90232 (Picker button does not set the label on done button
4426 for the second time)
4428 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4430 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4433 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4435 * src/hildon-app-menu.c (hildon_app_menu_insert)
4436 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4437 the HildonAppMenu to be activatable using keyboard accelerators
4438 when the menu is not being shown.
4440 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4442 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4444 * src/hildon-stackable-window.c
4445 (hildon_stackable_window_show):
4446 Don't hide old windows automatically when new windows are shown:
4447 this is now a task for the window manager.
4448 (hildon_stackable_window_class_init)
4449 (hildon_stackable_window_hide):
4450 Remove windows from the stack everytime they're hidden.
4451 (hildon_stackable_window_realize):
4452 Don't change the _NET_WM_WINDOW_TYPE property. Use
4453 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4454 it as a stackable window.
4456 * src/hildon-program.c
4457 (hildon_program_pop_window_stack):
4458 Just hide the window to remove it from the stack.
4459 (hildon_program_go_to_root_window):
4460 Don't call gtk_widget_show(), this is now a task for the window
4463 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4465 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4467 * src/hildon-button.c
4468 (hildon_button_construct_child):
4469 Don't pack anything in the button until text or image are
4470 set. This allows adding a custom child after creating the button
4471 with hildon_button_new().
4472 (hildon_button_finalize, hildon_button_class_init)
4473 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4474 alignment and the label box even when they're not packed in the
4477 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4479 * src/hildon-touch-selector.h:
4480 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4481 currently the type definition was using GTK_TYPE_VBOX
4482 * src/hildon-touch-selector.c:
4483 Added some implementation notes in order to clarify that any other widget
4484 added without the column related API will not be included on the
4485 selection logic, and how the widget is freed, as some people ask about
4487 (hildon_touch_selector_remove): Reimplemented in order to free properly
4488 the column related data when you remove the private hbox.
4489 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4490 to get a proper HildonTouchSelectorColumn documentation
4492 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4494 * src/hildon-touch-selector-entry.c:
4495 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4496 text in the GtkEntry and there is no item selected. Fixes a
4499 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4501 * src/hildon-app-menu-private.h
4502 * src/hildon-app-menu.[ch]
4503 * src/hildon-button.[ch]
4504 * src/hildon-check-button.[ch]
4505 * src/hildon-entry.[ch]
4506 * src/hildon-pannable-area.[ch]
4507 * src/hildon-text-view.[ch]:
4508 Added private field to the object's structure.
4510 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4512 * configure.ac: post-release version bump
4514 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4518 * configure.ac: pre-release version bump
4520 * debian/changelog: updates.
4522 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4524 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4525 Disconnect the handler for HildonTouchSelector::changed.
4527 (hildon_picker_button_selector_selection_changed): Update the button
4528 value if the selection change was not triggered by the
4531 (hildon_picker_button_set_selector): connect to
4532 HildonTouchSelector::changed.
4534 Fixes: NB#89650 (Picker button is not updated, when selection in
4535 selector has changed)
4537 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4539 * src/hildon-picker-dialog.c
4540 (hildon_picker_dialog_realize): Removed as not required
4541 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4542 * src/hildon-picker-button.c
4543 (_current_selector_empty): New function, checks if the selector is empty
4544 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4545 if the current selector is empty, in order to avoid to show the dialog
4546 close the dialog in this case (and shows a g_warning).
4548 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4550 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4552 * src/hildon-pannable-area.c,
4553 (hildon_pannable_area_scroll): Added clause to stop movement when
4554 the child of pannable is smaller than one page.
4555 (hildon_pannable_area_scroll_to): Added conditions to avoid
4556 starting the scrolling movement if the child is smaller than one
4557 page, the complete child is in the screen, we do not have to move.
4559 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4561 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4563 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4564 this is managed automatically by the widget when the size of the
4567 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4569 * src/hildon-picker-button.c
4570 (hildon_picker_button_set_done_button_text): Make a copy of the
4571 text, and free the previous value.
4573 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4575 * src/hildon-touch-selector-entry.c:
4576 (hildon_touch_selector_entry_print_func): Return the selected row's
4577 text if the entry is empty.
4579 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4582 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4584 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4586 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4589 * src/hildon-check-button.h
4590 * src/hildon-check-button.c
4591 * examples/hildon-check-button-example.c:
4592 HildonCheckButton is now a new widget. 'toggled' signal added.
4594 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4596 * src/hildon-program-private.h
4597 * src/hildon-program.c (hildon_program_init)
4598 (hildon_program_finalize): Removed unused variables group_leader
4599 and name from HildonProgramPrivate.
4601 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4603 * src/hildon-check-button.c (hildon_check_button_set_active)
4604 (hildon_check_button_get_active, hildon_check_button_new): Use
4605 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4607 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4609 * src/hildon-touch-selector.h
4610 (hildon_touch_selector_set_column_attributes): added deprecation
4611 guard HILDON_DISABLE_DEPRECATED
4612 * src/hildon-time-selector.c
4613 (hildon_time_selector_set_time)
4614 (hildon_time_selector_get_time): Fixed a typo on documentation
4615 * src/hildon-touch-selector.c: update HildonTouchSelector and
4616 HildonTouchSelectorColumn documentation
4617 * src/hildon-touch-selector-entry.c: update "text-column" property
4619 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4620 to be added to the general documentation.
4622 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4624 * examples/hildon-pannable-area-example-4.c,
4626 * examples/hildon-pannable-area-example.c,
4627 (main): Modified the code in order to use the container add, with
4628 viewport treeviews could have problems if they are really big.
4630 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4632 * src/hildon-weekday-picker.c,
4633 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4634 the agreement regarding deprecation in the library.
4636 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4638 * examples/hildon-picker-button-multicolumn-example.c:
4639 (main): Use custom "done" button text.
4641 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4642 (hildon_picker_button_set_property),
4643 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4644 (hildon_picker_button_init),
4645 (+hildon_picker_button_get_done_button_text),
4646 (+hildon_picker_button_set_done_button_text): New methods to customize
4647 the "done" button label in the launched HildonPickerDialog. Also,
4650 * src/hildon-picker-button.h: add the public API.
4652 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4654 * src/hildon-date-selector.h:
4655 * src/hildon-picker-dialog.h:
4656 * src/hildon-time-selector.h:
4657 * src/hildon-touch-selector-column.h:
4658 * src/hildon-touch-selector.h:
4660 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4661 declarations. Fixes gtk-doc warnings.
4663 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4665 * src/hildon-picker-dialog.h
4666 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4667 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4669 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4670 long text is set as label for done button)
4672 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4674 * src/hildon-dialog.c (hildon_dialog_add_button):
4675 Set fixed width to all buttons in the HildonDialog.
4677 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4679 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4681 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4682 Set widget name using class name plus "-finger" or "-thumb".
4684 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4686 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4687 'clicked' when the state of the button is manually changed.
4689 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4691 * src/hildon-app-menu.c (hildon_app_menu_realize)
4692 (hildon_app_menu_unrealize, hildon_app_menu_init)
4693 (hildon_app_menu_class_init, item_visibility_changed):
4694 Change the menu layout when the size of the screen changes.
4695 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4696 Show warning only when changing the number of colums using the
4699 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4701 * debian/compat: Set to 5
4702 * debian/control: Update dependencies.
4703 * debian/libhildon1-dbg.install: Remove.
4704 * debian/libhildon1-dev.install: Update according to cdbs paths.
4705 * debian/libhildon1.install: Update according to cdbs paths.
4706 * debian/rules: Switch to cdbs.
4708 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4710 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4711 'item' variable renamed to 'filter'
4713 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4715 * src/hildon-app-menu.c (hildon_app_menu_insert)
4716 (hildon_app_menu_add_filter, remove_item_from_list)
4717 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4718 Don't leak hidden items when the menu is destroyed.
4720 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4722 * src/hildon-app-menu.c (hildon_app_menu_insert)
4723 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4724 (hildon_app_menu_set_columns, item_visibility_changed)
4725 (filter_visibility_changed, hildon_app_menu_repack_filters)
4726 (hildon_app_menu_repack_items):
4727 Repack items and filters separately.
4729 Don't repack all items, change only the ones that are needed to
4732 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4734 * src/Makefile.am: added hildon-touch-selector-column.h
4736 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4738 * src/hildon-touch-selector.c: added the property "text-column" to the
4739 class HildonTouchSelectorColumn, and related get/set functions
4740 (_default_printf_func): updated to use "text-column" property
4741 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4742 "text-column" in his documentation, as this is now included on
4743 HildonTouchSelectorColumn. The get/set_property can still be used,
4744 working as a wrapper to the concrete column "text-column" property
4745 (_text_column_modified): callback added in order to handle the signal
4746 "notify::text-column" of the concrete HildonTouchSelectorColumn
4747 (hildon_touch_selector_entry_get_text_column)
4748 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4749 modified in order to use the HildonTouchSelectorColumn "text-column"
4751 * src/hildon-time-selector.c:
4752 * src/hildon-date-selector.c:
4753 * examples/hildon-touch-selector-example.c
4754 * examples/hildon-touch-selector-multi-cells-example.c
4755 * examples/hildon-picker-button-multicolumn-example.c
4756 Set the right value to "text-column" property on the creation of a new
4757 column using hildon_touch_selector_append_column()
4759 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4761 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4763 * src/hildon-app-menu.c
4764 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4765 updating the layout of the menu, don't create all widgets again,
4766 just repack the items in their new places.
4768 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4770 * src/hildon-time-selector.c
4771 (hildon_time_selector_get_time)
4772 (hildon_time_selector_set_time)
4773 Added documentation of these public methods
4775 * src/hildon-date-button.h
4776 * src/hildon-touch-selector-column.h
4777 * src/hildon-time-button.h
4778 * src/hildon-picker-dialog.h
4779 * src/hildon-time-selector.h
4780 * src/hildon-picker-button.h
4781 * src/hildon-touch-selector.h
4782 * src/hildon-time-picker.h
4783 * src/hildon-date-selector.h
4784 * src/hildon-touch-selector-entry.h
4785 Modified in order to use hildon-widgets code style
4787 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4789 Added deprecated support to the compilation process using
4790 HILDON_DISABLE_DEPRECATED
4792 * configure.ac: Added the --disable-deprecated to the configure
4795 * src/hildon-weekday-picker.c:
4796 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4797 to use the deprecated support. We will update the other deprecated
4798 widgets status in a new patch.
4800 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4802 * configure.ac: Fixed typo with fatal warnings support, the
4803 variable name was not correct
4805 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4807 * src/hildon-app-menu.c
4808 * src/hildon-program.c: Update documentation.
4810 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4812 * configure.ac: Post-release version bump.
4814 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4819 * configure.ac: Pre-release version bump.
4820 * debian/changelog: Updates.
4822 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4824 * NEWS: Update news for previous releases.
4826 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4828 * examples/hildon-touch-selector-multi-cells-example.c:
4829 (create_selector): Update the example to use
4830 hildon_touch_selector_append_column() with a NULL renderer and set
4831 the renderers later.
4832 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4833 passed a NULL renderer. This is documented behavior now.
4835 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4836 This must be used if the developer wants full control on the layout of
4837 the renderers to be added to the column.
4839 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4841 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4843 * src/hildon-touch-selector.c: Documentation fixes.
4845 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4847 * src/hildon-wizard-dialog-private.h: Remove image and box.
4848 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4849 (hildon_wizard_dialog_set_property), (response): Completely remove
4850 image/icon support, and the containers required for the layout.
4852 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4854 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4856 * src/hildon-app-menu.c: Updated documentation.
4858 * src/hildon-stackable-window.c
4859 (hildon_stackable_window_set_main_menu): Unref the old menu after
4860 ref'ing the new one.
4862 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4864 * src/hildon-stackable-window.c
4865 (hildon_stackable_window_set_main_menu): Unref the previous menu
4866 instead of destroying it.
4868 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4869 floating reference and set has_user_ref_count to FALSE to make
4870 HildonAppMenu act like a normal ref-counted widget and not a
4873 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4876 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4878 * src/hildon-touch-selector-column.h: new file
4879 * src/hildon-touch-selector.h
4880 * src/hildon-touch-selector.c
4881 Implemented GtkCellLayout interface, in order to allow to configure
4882 the cell layout on each individual selector column
4883 (hildon_touch_selector_set_column_attributes): marked as deprecated
4884 * examples/hildon-touch-selector-multi-cells-example.c
4885 Example of how to use the GtkCellLayout interface on the selector
4887 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4889 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4891 * src/hildon-app-menu.h
4892 * src/hildon-app-menu.c
4893 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4894 (hildon_app_menu_append, hildon_app_menu_prepend):
4895 New methods to prepend, insert and move items in the menu.
4897 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4899 * src/hildon-wizard-dialog.c:
4901 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4903 (create_title): Update logical IDs and related code.
4904 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4906 * src/hildon-wizard-dialog.h: Note that
4907 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4908 point, as it is not used anymore.
4910 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4912 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4914 * src/hildon-note.c:
4915 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4916 shown. Do not display an icon in confirmation notes nor information
4918 (hildon_note_set_button_text): Update logical ID for cancel button.
4920 Fixes: NB#88850 (Update HildonNote button strings + signals)
4922 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4924 * src/hildon-stackable-window.c
4925 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4927 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4929 * src/hildon-app-menu-private.h
4930 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4931 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4932 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4933 temporary property 'columns' to change the number of columns.
4935 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4937 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4939 * examples/hildon-note-example.c: (on_information_clicked),
4940 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4941 debugging information.
4942 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4944 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4945 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4946 in order to close: this will be handled by the WM from now on.
4948 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4950 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4952 * src/hildon-app-menu-private.h
4953 * src/hildon-app-menu.c
4954 (hildon_app_menu_append, hildon_app_menu_add_filter)
4955 (button_visibility_changed, hildon_app_menu_apply_style)
4956 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4957 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4958 layout everytime a button (item or filter) is shown or hidden.
4960 * src/hildon-stackable-window.c
4961 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4964 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4966 * src/hildon-touch-selector.c:
4967 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4968 that the treeview inside the touch selector is in fremantle hildon mode
4969 * examples/hildon-date-button-example.c
4970 * examples/hildon-picker-button-multicolumn-example.c
4971 * examples/hildon-touch-selector-entry-example.c
4972 * examples/hildon-touch-selector-example.c
4973 * examples/hildon-time-button-example.c
4974 * examples/hildon-picker-button-example.c:
4975 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4977 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4979 * examples/hildon-text-view-example.c: (main): Remove the
4980 gtkrc bits, now handled by the theme.
4982 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4984 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4987 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4989 * po/Makefile.am: Install properly the mo files.
4990 * po/en_GB.po: Update translation, to ease testing purposes.
4992 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4994 * examples/hildon-picker-button-example.c: (main): Select an item
4995 in the selector before setting it to the button.
4997 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4999 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5000 Update button's value if the selector has an item active.
5002 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5003 'value' with the selector)
5005 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5007 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5008 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5009 (hildon_picker_button_class_init): Plug the finalize method.
5010 (hildon_picker_button_set_selector): If there's a previously set
5011 selector, unref'it before setting a new one.
5013 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5014 HildonTouchSelector)
5016 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5018 * src/hildon-touch-selector-entry.c:
5019 (hildon_touch_selector_entry_changed): Check if there is no text
5020 selected before setting the entry text.
5023 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5025 * src/hildon-touch-selector.h
5026 * src/hildon-touch-selector.c
5027 (hildon_touch_selector_get_active)
5028 (hildon_touch_selector_set_active): New methods to set/get the
5029 index of the selected item.
5031 * src/hildon-picker-button.h
5032 * src/hildon-picker-button.c
5033 (hildon_picker_button_get_active)
5034 (hildon_picker_button_set_active): New methods to set/get the
5035 index of the selected item.
5037 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5039 * configure.ac: post-release version bump.
5041 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5045 * configure.ac: Pre-release version bump.
5046 * debian/changelog: Updates.
5047 * debian/control: Add myself as maintainer and depend on l10n
5050 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5052 * src/hildon-window.c
5053 (hildon_window_set_main_menu)
5054 * src/hildon-stackable-window.c
5055 (hildon_stackable_window_set_main_menu):
5056 Updated documentation.
5058 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5060 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5061 Don't free selector->priv manually.
5064 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5067 (hildon_gtk_window_set_progress_indicator):
5068 * src/hildon-gtk.h: Added the new API
5069 hildon_gtk_window_set_progress_indicator, it changes the state of
5070 the window progress hint.
5072 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5074 * src/hildon-button.c
5075 * src/hildon-stackable-window.c: Minor documentation updates.
5077 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5079 * src/hildon-stackable-window.c: Updated documentation.
5081 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5083 * src/hildon-defines.h: Update margins definitions
5084 to the Fremantle sizes.
5087 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5089 * src/hildon-touch-selector.c,
5090 (_hildon_touch_selector_set_model): Cleaning the code after
5091 review, removed g_print and #if 0 from the code.
5093 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5095 * src/hildon-edit-toolbar.c: Update documentation.
5097 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5099 * src/hildon-check-button.h
5100 * src/hildon-check-button.c
5101 (hildon_check_button_set_label, hildon_check_button_get_label)
5102 * examples/hildon-check-button-example.c
5103 (button_clicked_cb):
5104 Removed deprecated methods.
5106 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5108 * src/hildon-text-view.c:
5109 Add sample code to the documentation.
5111 * src/hildon-entry.h
5112 * src/hildon-text-view.h:
5113 Minor cosmetic changes.
5115 * src/hildon-entry.c:
5116 Add sample code to the documentation.
5117 (hildon_entry_init, hildon_entry_refresh_contents):
5118 Don't allow NULL values in the placeholder.
5120 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5122 * doc/hildon-docs.sgml
5124 * examples/Makefile.am
5125 * examples/hildon-text-view-example.c
5127 * src/hildon-text-view.c
5128 * src/hildon-text-view.h
5130 New HildonTextView widget, with example.
5132 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5134 * po/POTFILES.in: Add missing files with translatable strings.
5135 Partially fixes NB#88287.
5137 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5139 * examples/hildon-pannable-area-example-2.c: (main): No need to
5140 set the cellrenderer height inside hildon touch lists, the theme does
5143 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5145 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5146 they are integrated in the theme.
5148 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5150 * examples/hildon-entry-example.c: Update the example adding
5151 widgets to modify the text and the placeholder of the HildonEntry.
5153 * src/hildon-entry.c: Show the placeholder everytime the widget
5154 is empty and loses the focus.
5156 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5158 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5160 * src/hildon-pannable-area.c,
5161 (hildon_pannable_area_size_request): Fixed bug in height
5162 requisition, avoid increasing size and add border twice.
5164 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5166 * configure.ac: postrelease version bump.
5168 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5172 * configure.ac: Prerelease version bump.
5173 * debian/changelog: update.
5174 * debian/rules: make -dbg package contain useful debugging symbols.
5176 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5178 * src/hildon-dialog.h
5179 * src/hildon-dialog.c
5180 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5181 New methods to add buttons with finger size.
5182 (hildon_dialog_new_with_buttons):
5183 Create buttons with finger size.
5185 * examples/hildon-dialog-example.c (main): Use HildonDialog
5186 methods to add buttons.
5188 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5190 * src/hildon-entry.c: Updated HildonButton documentation.
5192 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5194 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5195 button value label with (FALSE, FALSE) to prevent NB#88126 from
5198 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5200 * examples/hildon-pannable-area-example.c,
5201 (main): Removed examples panning a vbox inside a pannable
5202 area. Check bug NB#87965
5204 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5206 Patch contributed by Kris Rietveld (kris@imendio.com)
5208 * src/hildon-pannable-area.c,
5209 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5210 get_size and get_position, this saves an X server roundtrip.
5212 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5214 * doc/hildon-docs.sgml
5216 * examples/Makefile.am
5217 * examples/hildon-entry-example.c
5219 * src/hildon-entry.c
5220 * src/hildon-entry.h
5222 New HildonEntry widget, with example.
5224 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5226 * src/hildon-button.c (hildon_button_construct_child): Pack the
5227 image with expand == fill == FALSE. This is a workaround for a bug
5230 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5232 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5233 labels for the text column, to make it more look more dynamic.
5235 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5237 * src/hildon-time-selector.c
5238 Define gettext auxiliar macro N_
5239 (_create_minutes_model)
5240 (_create_hours_model)
5241 (_create_ampm_model): use of strftime in order to fill the model
5242 * src/hildon-date-selector.c
5243 (hildon_date_selector_finalize):
5244 (_locales_init): remove the logic related to get the name of the months
5245 using nl_langinfo, as it is not required anymore
5247 (_create_year_model)
5248 (_create_month_model)
5249 (_update_day_model): use of strftime in order to fill the model properly
5252 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5254 * src/hildon-button.h
5255 * src/hildon-button.c (hildon_button_get_image): New method to
5258 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5260 * src/hildon-touch-selector.c:
5261 (hildon_touch_selector_remove_column): Remove from the correct parent
5262 and also remove the list element and free it.
5265 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5267 * src/hildon-time-selector.c
5268 (_create_hours_model): change the range on 12h ampm format in order to use
5269 a 12-11 range instead of previous 01-12 range
5270 (hildon_time_selector_set_time): change the way to select the current time
5271 on 12h ampm format, due the change on the range
5272 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5275 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5277 * src/hildon-touch-selector.c
5278 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5279 in order to allow use this function on multiple row selection mode if
5280 the column is different that the first one
5283 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5285 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5286 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5288 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5290 * src/hildon-date-selector.h: clean some comments, now on the .c
5291 * src/hildon-date-selector.c
5292 (hildon_date_selector_select_month): first implementation
5293 (hildon_date_selector_select_day): added documentation, reimplemented
5294 using hildon_date_selector_select_current_date to avoid repeat code
5297 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5299 Reviewed interaction logic based on device experiences, refactored
5302 * src/hildon-pannable-area.c,
5303 (hildon_pannable_area_class_init): Updated default vmax speed.
5304 (hildon_pannable_area_calculate_velocity): Added this function, it
5305 avoids duplicate valocity calculation. Adjusted calculation to
5306 avoid problems with zero dist events.
5308 (hildon_pannable_area_motion_notify_cb): Now we use the
5309 calculate_velocity function.
5311 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5313 * src/hildon-date-selector.c
5314 (hildon_date_selector_select_current_date): fix the day range check
5315 as it failed using the last day of the current month
5318 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5320 * src/hildon-touch-selector.c
5321 (hildon_touch_selector_get_num_columns): added a parameter validation
5324 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5326 * examples/Makefile.am
5327 * examples/hildon-edit-toolbar-example.c: Example of the
5328 HildonEditToolbar widget.
5330 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5332 * configure.ac: postrelease version bump.
5334 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5338 * configure.ac: prerelease version bump.
5339 * debian/changelog: update.
5341 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5343 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5344 renderer to display stock icons in the touch list. Also, set the sizes
5345 to the recommended in the style guide.
5347 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5348 * src/hildon-touch-selector.h
5349 (hildon_touch_selector_set_active_iter): renamed, now is
5350 hildon_touch_selector_select_iter
5351 (hildon_touch_selector_get_active_iter): renamed, now is
5352 hildon_touch_selector_get_selected
5353 (hildon_touch_selector_unselect_iter): added
5354 * src/hildon-touch-selector.c
5355 Update after API modification (methods renamed)
5356 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5357 order to avoid problems selecting multiple elements on the column
5358 (hildon_touch_selector_unselect_iter): added the implementation
5359 * src/hildon-time-selector.c
5360 * src/hildon-date-selector.c
5361 * src/hildon-touch-selector-entry.c
5362 Update methods calls after hildon-touch-selector.h API modification (methods
5365 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5367 * src/hildon-stackable-window.c
5368 (hildon_stackable_window_finalize): Call the parent class's finalize.
5370 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5372 * examples/hildon-touch-selector-example.c: (create_selector): Use
5373 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5376 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5378 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5379 set a cell background color, to respect theming.
5381 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5383 * doc/hildon-docs.sgml
5386 * src/hildon-edit-toolbar.c
5387 * src/hildon-edit-toolbar.h
5388 * src/hildon.h: New HildonEditToolbar widget.
5390 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5392 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5395 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5396 * src/hildon-touch-selector.c
5397 (_create_new_column): use g_object_set instead of two g_object_set_property
5399 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5400 * src/hildon-touch-selector.c
5401 (_create_new_column): use of hildon_gtk_tree_view_new to create
5402 the treeview, instead of use directly g_object_new
5403 (_create_new_column): update the property name "vindicator-mode" for the
5404 new one "vscrollbar-policy"
5405 * examples/hildon-date-button-example.c
5406 * examples/hildon-picker-button-multicolumn-example.c
5407 * examples/hildon-touch-selector-entry-example.c
5408 * examples/hildon-touch-selector-example.c
5409 * examples/hildon-time-button-example.c
5410 * examples/hildon-picker-button-example.c
5411 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5412 to all the treeviews inside a pannable area.
5414 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5416 * src/hildon-button.h
5417 * src/hildon-button.c (hildon_button_init)
5418 (hildon_button_set_arrangement, hildon_button_set_alignment)
5419 (hildon_button_set_title_alignment)
5420 (hildon_button_set_value_alignment)
5421 (hildon_button_set_image_alignment)
5422 (hildon_button_construct_child): New methods to set the alignment
5423 of the individual components of the button (title, value,
5424 image). Also, new method to alter the xscale and yscale properties
5425 of the GtkAlignment inside the button, so more complex layouts can
5428 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5430 * src/hildon-button.c (hildon_button_style_set)
5431 (hildon_button_class_init, hildon_button_set_arrangement)
5432 (hildon_button_construct_child): Apply style properties
5433 correctly. Use the 'image-spacing' style property too.
5435 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5437 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5438 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5441 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5443 * src/hildon-pannable-area.c,
5444 (hildon_pannable_area_size_request): Fixed problem with
5445 pannable-area size_request.
5447 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5449 Added management for the grab-focus to a child widget, like a
5450 range, we need to fade out the scrollbar when releasing.
5452 * src/hildon-pannable-area.c,
5453 (hildon_pannable_area_init): Connected the grab-focus signal to
5455 (hildon_pannable_area_grab_notify): Added this function in order
5456 to manage the situation when the grab-focus ends. We have to
5457 fade-out the scrollbar.
5459 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5461 * src/hildon-app-menu.c: Minor documentation update.
5463 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5465 * src/hildon-app-menu.c
5466 * examples/hildon-app-menu-example.c (create_menu): Update
5467 examples and documentation to explain how to connect callbacks.
5469 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5471 * examples/hildon-button-example.c
5472 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5473 hildon_stackable_window_new instead of gtk_window_new
5475 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5477 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5478 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5479 (hildon_pannable_area_set_property),
5480 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5481 (hildon_pannable_area_unrealize),
5482 (hildon_pannable_area_size_request),
5483 (hildon_pannable_area_size_allocate),
5484 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5485 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5486 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5487 (hildon_pannable_area_initial_effect),
5488 (hildon_pannable_area_redraw),
5489 (hildon_pannable_area_scroll_indicator_fade),
5490 (hildon_pannable_area_expose_event),
5491 (hildon_pannable_area_get_topmost), (synth_crossing),
5492 (hildon_pannable_area_button_press_cb),
5493 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5494 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5495 (hildon_pannable_area_motion_notify_cb),
5496 (hildon_pannable_area_button_release_cb),
5497 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5498 (hildon_pannable_area_remove),
5499 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5500 chage the code layout to a more GtkWidget like. Review the use of
5503 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5505 * examples/hildon-pannable-area-example-4.c,
5506 (main): Modified the name of the hindicator_mode to
5509 * src/hildon-pannable-area.c,
5510 (hildon_pannable_area_class_init),
5511 (hildon_pannable_area_motion_notify_cb),
5512 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5513 we have reduced the amount of signals and managed reviewed its
5514 rationale. Changed the default decelerate value.
5516 (hildon_pannable_area_add),
5517 (hildon_pannable_area_redraw): Refactored functions.
5519 (hildon_pannable_area_init),
5520 (hildon_pannable_area_get_property),
5521 (hildon_pannable_area_set_property):
5522 (hildon_pannable_draw_vscroll),
5523 (hildon_pannable_draw_hscroll),
5524 (hildon_pannable_area_initial_effect),
5525 (hildon_pannable_area_expose_event),
5526 (hildon_pannable_area_scroll),
5527 (hildon_pannable_area_button_press_cb),
5528 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5529 and vindicator_mode with hscrollbar_policy and
5530 vscrollbar_policy. Replaced hscroll and vscroll with
5531 hscroll_visible and vscroll_visible.
5533 (hildon_pannable_area_refresh): Refactor the function, remove
5534 variables and check the calls to this function, added resize
5535 conditions in case the children change their layout.
5537 (hildon_pannable_area_size_request): Added more detailed
5538 size_request calculation.
5541 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5543 * src/hildon-color-chooser.c
5544 (init_borders): use the correct gtk_border_free instead of g_free, to
5545 avoid a crash when this widget is used (ie: the three color selection
5548 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5550 * src/hildon-check-button.c,
5551 (hildon_check_button_set_active): Fixed problem when setting the
5552 active value, the widget was not redrawn.
5554 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5556 * src/hildon-pannable-area.c,
5557 (hildon_pannable_area_refresh),
5558 (hildon_pannable_area_scroll),
5559 (hildon_pannable_area_motion_notify_cb): Small code style change.
5561 (hildon_pannable_area_class_init): Default initial_hint set to
5562 FALSE, it is not in the specs.
5564 (hildon_pannable_area_initial_effect),
5565 (hildon_pannable_area_expose_event),
5566 (hildon_pannable_area_map),
5567 (hildon_pannable_area_init): Moved the launching point of the
5568 initial effect, it was in map but the sizes where not correct in
5569 that method so we do not know if we have the reproduce it. Now it
5570 is placed in the expose_event method and uses a variable to
5571 reproduce it just once.
5573 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5575 * src/hildon-pannable-area.c,
5576 (hildon_pannable_draw_vscroll),
5577 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5578 position allowed for the scrollbars.
5580 (hildon_pannable_area_size_allocate): Small style change.
5582 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5584 * src/hildon-pannable-area.c,
5585 (hildon_pannable_area_scroll_indicator_fade),
5586 (hildon_pannable_area_button_press_cb),
5587 (hildon_pannable_area_button_release_cb),
5588 (hildon_pannable_area_scroll_cb),
5589 (hildon_pannable_area_expose_event),
5590 (hildon_pannable_area_init): Added the define parameter
5591 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5592 and refactor the fade variable.
5594 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5596 * src/hildon-pannable-area.c,
5597 (hildon_pannable_area_redraw),
5598 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5599 lines, we were reimplemeting the redraw code.
5601 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5603 * src/hildon-pannable-area.c,
5604 (hildon_pannable_area_scroll_cb),
5605 (hildon_pannable_area_realize),
5606 (hildon_pannable_area_class_init): Added scroll_event management
5607 for pannable area, now we can scroll the usual desktop method.
5609 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5610 initialization of the parameters should depend on idle_id.
5612 (hildon_pannable_area_init),
5613 (hildon_pannable_area_map): Small code style modifications
5615 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5617 * src/hildon-pannable-area.c
5618 (hildon_pannable_area_button_press_cb),
5619 (hildon_pannable_area_motion_notify_cb),
5620 (hildon_pannable_area_button_release_cb),
5621 (hildon_pannable_area_size_allocate),
5622 (hildon_pannable_area_scroll_to): Improved the timeouts
5623 management, we avoid creating them each time.
5625 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5627 * src/hildon-pannable-area.c:
5628 (hildon_pannable_area_refresh),
5629 (hildon_pannable_area_motion_notify_cb),
5630 (hildon_pannable_area_class_init):
5631 * src/hildon-pannable-area.h:
5632 * src/hildon-touch-selector.c
5633 (_create_new_column):
5634 * examples/hildon-pannable-area-example-4.c:
5635 (horizontal_movement),
5636 (vertical_movement),
5638 Replaced the names of enums in the HildonPannableArea:
5639 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5640 HILDON_MOVEMENT_MODE_*
5641 - HILDON_PANNABLE_AREA_MOV_* ->
5643 - Removed HildonPannableAreaIndicatorMode, now we
5646 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5648 * examples/hildon-pannable-area-touch-grid-example.c
5649 * examples/hildon-pannable-area-touch-list-example.c: Fix
5650 compilation warnings.
5652 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5654 * src/hildon-gtk.c (hildon_gtk_button_new)
5655 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5656 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5657 images overriding the value of the "gtk-button-images" setting.
5659 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5661 * src/hildon-check-button.c (hildon_check_button_new):
5662 Instead of using a custom container, display the label and the
5663 checkbox using the standard GtkButton API.
5665 * examples/hildon-check-button-example.c (main): Don't use
5666 hildon_check_button_set_label() anymore
5668 * src/hildon-check-button.h
5669 * src/hildon-check-button.c
5670 (hildon_check_button_set_label, hildon_check_button_get_label):
5671 Set as deprecated, now we're using gtk_button_{get,set}_label()
5673 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5675 * src/hildon-pannable-area.c,
5676 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5677 GtkTreeview first line we detected it after the inclusion of the
5678 GtkWindowImpl in gtk+. We now check if the window is visible, not
5679 just if the pointer is over the window.
5680 (hildon_pannable_axis_scroll),
5681 (hildon_pannable_area_expose_event): Small style changes.
5683 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5685 * src/hildon-button.c: Update documentation.
5687 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5689 * examples/hildon-button-example.c: Add a switch to show images in
5692 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5694 * doc/hildon-docs.sgml: Some docs reorganization.
5696 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5698 * examples/hildon-pannable-area-touch-list-example.c
5700 * examples/hildon-pannable-area-touch-grid-example.c
5701 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5702 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5703 Fix memory leak when setting the tree model.
5705 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5709 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5711 * doc/hildon.types: Remove duplicated hildon_window_get_type
5712 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5713 documentation comment.
5715 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5717 * doc/Makefile.am: Complete list of private headers.
5719 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5721 * doc/hildon-docs.sgml
5722 * src/hildon-app-menu.c
5723 * src/hildon-bread-crumb.c
5724 * src/hildon-button.c
5726 * src/hildon-program.c
5727 * src/hildon-stackable-window.c
5728 * src/hildon-window.c: Lots of documentation updates.
5730 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5732 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5734 * configure.ac: Require Gtk+ 2.12.9 at least
5736 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5738 * src/hildon-pannable-area.c
5739 (hildon_pannable_area_scroll_indicator_fade),
5740 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5741 to protect the return of this timeout callbacks, avoiding deadlocks.
5743 2008-08-12 Christian Dywan <christian@imendio.com>
5746 * src/hildon-*.h: Ensure a consistent include order,
5747 include <gtk/gtk.h> instead of particular files and
5748 only include the topmost header in the gtk stack. See NB #39857
5750 2008-08-12 Christian Dywan <christian@imendio.com>
5752 * src/hildon-picker-dialog.c
5753 * src/hildon-touch-selector.c: Fix warnings about unused and
5754 uninitialized variables.
5756 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5758 * examples/Makefile.am
5759 * examples/hildon-check-button-example.c: Example of the hildon
5762 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5764 * src/hildon-window.h
5765 * src/hildon-window.c (hildon_window_class_init)
5766 (hildon_window_unset_program): Don't make
5767 hildon_window_unset_program a virtual function anymore.
5769 * src/hildon-stackable-window.c: Update documentation
5771 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5774 * doc/hildon-docs.sgml
5775 * doc/visual_index.xml
5776 * src/hildon-defines.c
5778 * src/hildon-helper.c
5779 * src/hildon-range-editor.c: Lots of documentation fixes.
5781 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5783 * examples/hildon-picker-button-multicolumn-example.c
5784 (create_touch_selector): Fix compilation warning.
5786 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5788 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5789 (hildon_pannable_area_button_release_cb)
5790 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5792 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5794 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5797 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5799 * src/hildon-bread-crumb-trail.h
5800 * src/hildon-date-editor.c
5801 * src/hildon-date-selector.c
5802 * src/hildon-pannable-area.c
5803 * src/hildon-picker-dialog.c
5804 * src/hildon-time-selector.c
5805 * src/hildon-touch-selector-entry.c
5806 * src/hildon-touch-selector.c
5807 * src/hildon-touch-selector.h: Misc documentation fixes
5809 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5811 * examples/hildon-date-editor-example.c (main): Updated date
5814 * examples/hildon-note-example.c (on_confirmation_clicked):
5815 Updated confirmation note example.
5817 * src/hildon-date-editor.c
5818 * src/hildon-note.c: Updated sample programs in documentation.
5821 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5823 * src/hildon-date-button.h:
5824 * src/hildon-picker-button.h:
5825 * src/hildon-time-button.c:
5826 * src/hildon-time-button.h:
5828 Some declarations changes to allow gtk-doc to document the widgets
5831 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5833 * src/hildon-date-button.c: Document the widget.
5834 * src/hildon-time-button.c: Document the widget.
5836 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5838 * src/hildon-picker-button.c: Document the widget.
5839 * src/hildon-touch-selector-entry.c: Document the widget.
5841 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5843 * doc/hildon-docs.sgml
5846 * src/hildon-check-button.h
5847 * src/hildon-check-button.c: New functions to create the Hildon
5851 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5853 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5855 * src/hildon-button.h
5856 * src/hildon-button.c
5857 (hildon_button_add_title_size_group)
5858 (hildon_button_add_value_size_group)
5859 (hildon_button_add_image_size_group)
5860 (hildon_button_add_size_groups): New functions to set size groups
5861 for the button labels and image.
5862 (hildon_button_new_full): Removed
5864 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5866 * src/hildon-time-selector.c
5867 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5868 in order to avoid a crash if gconf is not available
5870 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5872 * src/hildon-button.c (hildon_button_set_arrangement)
5873 (hildon_button_construct_child): Don't construct the button child
5874 before setting the arrangement.
5876 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5878 * src/hildon-program-private.h
5879 * src/hildon-program.c
5880 * src/hildon-program.h
5881 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5882 (hildon_program_peek_window_stack)
5883 (hildon_program_pop_window_stack)
5884 (hildon_program_go_to_root_window): HildonProgram now has a
5885 separate list for stackable windows. Functions are provided to
5886 manage that list with a stack-like API.
5888 * src/hildon-stackable-window.c: Stackable window management is
5889 now much simpler with the new HildonProgram API. Windows no
5890 longer need to be manually added to the program, they're
5891 automatically pushed to the top of the stack when shown.
5893 * examples/hildon-stackable-window-example.c: Updated example to
5894 reflect the API changes.
5896 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5898 * src/hildon-touch-selector.c: Comment out unimplemented
5899 hildon_touch_selector_insert_column() to avoid a compile warning.
5901 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5903 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5904 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5905 (hildon_touch_selector_set_column_selection_mode),
5906 (_hildon_touch_selector_set_model),
5907 (hildon_touch_selector_set_model):
5909 Complete review of HildonTouchSelector documentation.
5911 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5913 * doc/hildon-docs.sgml
5917 * src/hildon-gtk.c: Convenience functions for standard Gtk
5918 widgets, used to easily perform frequent operations.
5920 * src/hildon-button-helpers.h
5921 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5923 * src/hildon-helper.h
5924 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5925 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5927 * src/hildon-button.h
5928 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5930 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5932 * src/hildon-button.c (hildon_button_init)
5933 (hildon_button_set_arrangement, hildon_button_construct_child):
5934 Pack the image and the labels inside the same GtkAlignment so
5935 gtk_button_set_alignment() can be used
5937 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5939 * src/hildon-button.h
5940 * src/hildon-button.c
5941 (hildon_button_init, hildon_button_set_image)
5942 (hildon_button_set_image_position)
5943 (hildon_button_construct_child): New functions to add an image to
5946 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5948 * src/hildon-date-button.c
5949 * src/hildon-picker-button.c
5950 * src/hildon-time-button.c
5951 * src/hildon-button.c:
5952 (hildon_button_class_init): "size-flags" renamed to "size"
5953 (hildon_button_set_title): Hide the title label if set to NULL.
5955 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5957 HildonButtonFlags split into HildonButtonArrangement (to set the
5958 button layout) and HildonSizeType (which can be used for any
5961 * src/hildon-button.h
5962 * src/hildon-button.c
5963 (hildon_button_class_init)
5964 (hildon_button_set_arrangement)
5965 (hildon_button_set_property): New "size-flags"
5966 property. "arrangement-flags" renamed to "arrangement".
5967 (hildon_button_new, hildon_button_new_with_text)
5968 (hildon_button_new_full): Constructors updated to reflect type changes.
5970 * src/hildon-helper.h
5971 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5972 to set the size of a widget.
5976 * src/hildon-button-helpers.c
5977 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5979 * src/hildon-date-button.c
5980 * src/hildon-date-button.h
5981 * src/hildon-picker-button.c
5982 * src/hildon-picker-button.h
5983 * src/hildon-time-button.c
5984 * src/hildon-time-button.h: Updated widgets to reflect
5985 HildonButton API changes.
5987 * examples/hildon-button-example.c
5988 * examples/hildon-date-button-example.c
5989 * examples/hildon-picker-button-example.c
5990 * examples/hildon-picker-button-multicolumn-example.c
5991 * examples/hildon-time-button-example.c
5992 * examples/hildon-touch-selector-entry-example.c
5993 * examples/hildon-touch-selector-example.c: Updated examples to
5994 reflect HildonButton API changes.
5996 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5998 * doc/hildon-docs.sgml:
6000 * examples/Makefile.am:
6001 * examples/hildon-touch-selector-entry-example.c:
6003 * src/hildon-touch-selector-entry.c:
6004 * src/hildon-touch-selector-entry.h:
6007 Moved HildonTouchSelectorEntry from sandbox. Added its
6008 documentation and examples.
6010 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6012 * src/hildon-touch-selector.h:
6013 * examples/hildon-picker-button-multicolumn-example.c:
6014 (hildon_touch_selector_append_text_column): Add a gboolean
6015 parameter to determine if text must be centered in the column.
6017 * src/hildon-date-selector.c: (hildon_date_selector_init):
6018 * src/hildon-time-selector.c: (hildon_time_selector_init):
6019 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6020 (create_touch_selector): Update widgets and example to reflect
6023 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6025 * src/hildon-touch-selector.c:
6026 (hildon_touch_selector_set_active_iter): Set also the cursor in
6029 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6031 * doc/hildon-docs.sgml
6034 * src/hildon-toggle-button.c
6035 * src/hildon-toggle-button.h
6036 * src/hildon.h: Removed HildonToggleButton widget, a derived
6037 class is not necessary for this.
6039 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6041 * src/hildon-pannable-area.c,
6042 (hildon_pannable_area_realize),
6043 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6046 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6048 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6049 "done" button the default widget for the dialog.
6051 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6053 * src/hildon-touch-selector.c:
6054 (hildon_touch_selector_class_init),
6055 (hildon_touch_selector_get_property),
6056 (_hildon_touch_selector_set_model),
6057 (_hildon_touch_selector_has_multiple_selection),
6058 (hildon_touch_selector_has_multiple_selection):
6059 Add a "has-multiple-selection" property with a virtual
6060 has_multiple_selection() method to allow derived classes to
6061 override the default value for it. See the method and property
6062 documentation for details.
6064 * src/hildon-touch-selector.h: Add the new API.
6066 * src/hildon-picker-dialog.c: (requires_done_button): Call
6067 hildon_touch_selector_has_multiple_selection() instead of
6068 determining the need for a button itself.
6070 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6072 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6073 (_hildon_touch_selector_set_model),
6074 (hildon_touch_selector_set_model): Move working code to
6075 _hildon_touch_selector_set_mode(). Call the class method instead.
6077 * src/hildon-touch-selector.h: Add (*set_model) to
6078 HildonTouchSelectorClass.
6080 Make hildon_touch_selector_set_model() a virtual method, so that
6081 derived classes can extend it and do fancy stuff with the model.
6083 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6085 * configure.ac: Set back the tarname in AC_INIT to hildon.
6087 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6091 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6092 instead of libesd (NB#86876). Volume handling is still an open issue.
6094 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6097 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6099 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6100 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6101 derived class to ease placement of an entry widget in
6102 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6103 end, where the selector columns are packed now.
6105 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6107 * src/hildon-picker-button.c: Removed the simple _text() API.
6108 * src/hildon-picker-button.h: Likewise.
6110 * src/hildon-touch-selector.h:
6111 * src/hildon-touch-selector.c:
6112 (hildon_touch_selector_new_text),
6113 (hildon_touch_selector_append_text),
6114 (hildon_touch_selector_prepend_text),
6115 (hildon_touch_selector_insert_text):
6117 Moved the simple _text() API from HildonPickerButton to
6118 HildonTouchPicker, to provide better escalability and not to tie
6119 that API to HildonPickerButton.
6121 * examples/hildon-picker-button-example.c: (main): Example updated.
6123 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6125 * src/hildon-button.c: Updated documentation.
6127 * examples/hildon-button-example.c: Add the posibility to create
6128 the buttons using horizontal layout for title and value.
6130 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6132 * src/hildon-app-menu-private.h
6133 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6134 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6135 GtkSizeGroup for the filters, use the 'homogeneous' property of
6138 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6140 * examples/hildon-button-example.c: Updated example.
6142 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6144 * doc/hildon-docs.sgml:
6147 Update documentation.
6149 * examples/Makefile.am: Update renamed examples.
6151 * examples/hildon-picker-button-multicolumn-example.c:
6152 (create_touch_selector), (main): Update after the rename.
6154 * examples/hildon-touch-picker-example.c: Removed.
6155 * examples/hildon-touch-selector-example.c: (value_changed),
6156 (create_selector), (get_visible_content), (main): Renamed from
6157 hildon-touch-picker-example.c
6159 * src/Makefile.am: Updated renamed files.
6161 * src/hildon-date-button.c: (hildon_date_button_init),
6162 (hildon_date_button_get_date), (hildon_date_button_set_date):
6163 * src/hildon-date-selector.c: (hildon_date_selector_init),
6164 (_custom_print_func), (_update_day_model),
6165 (_manage_selector_change_cb),
6166 (hildon_date_selector_select_current_date),
6167 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6168 * src/hildon-date-selector.h:
6169 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6170 (hildon_picker_button_set_property),
6171 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6172 (hildon_picker_button_init), (hildon_picker_button_new_text),
6173 (hildon_picker_button_append_text),
6174 (hildon_picker_button_prepend_text),
6175 (hildon_picker_button_insert_text),
6176 (hildon_picker_button_set_selector),
6177 (hildon_picker_button_get_selector):
6178 * src/hildon-picker-button.h:
6179 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6180 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6181 (_update_title_on_selector_changed_cb), (requires_done_button),
6182 (_hildon_picker_dialog_set_selector),
6183 (hildon_picker_dialog_set_selector),
6184 (hildon_picker_dialog_get_selector):
6185 * src/hildon-picker-dialog.h:
6186 * src/hildon-time-button.c: (hildon_time_button_init),
6187 (hildon_time_button_get_time), (hildon_time_button_set_time):
6188 * src/hildon-time-selector.c: (hildon_time_selector_init),
6189 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6190 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6191 * src/hildon-time-selector.h:
6194 Massive code updates after the rename.
6196 * src/hildon-touch-picker.c: Removed.
6197 * src/hildon-touch-picker.h: Removed.
6199 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6200 (hildon_touch_selector_init), (hildon_touch_selector_map),
6201 (hildon_touch_selector_remove), (_default_print_func),
6202 (_selection_changed_cb), (_create_new_column),
6203 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6204 (hildon_touch_selector_append_text_column),
6205 (hildon_touch_selector_remove_column),
6206 (hildon_touch_selector_set_column_attributes),
6207 (hildon_touch_selector_insert_column),
6208 (hildon_touch_selector_get_num_columns),
6209 (hildon_touch_selector_get_column_selection_mode),
6210 (hildon_touch_selector_set_column_selection_mode),
6211 (hildon_touch_selector_set_print_func),
6212 (hildon_touch_selector_get_print_func),
6213 (hildon_touch_selector_get_active_iter),
6214 (hildon_touch_selector_set_active_iter),
6215 (hildon_touch_selector_get_selected_rows),
6216 (hildon_touch_selector_get_model),
6217 (hildon_touch_selector_set_model),
6218 (hildon_touch_selector_get_current_text),
6219 (_hildon_touch_selector_center_on_selected_items):
6220 * src/hildon-touch-selector.h: Renamed from
6221 hildon-touch-picker.[ch]
6223 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6224 references, code examples, and related documentation.
6226 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6228 * doc/hildon-docs.sgml
6231 * src/hildon-toggle-button.c
6232 * src/hildon-toggle-button.h
6233 * src/hildon.h: New HildonToggleButton widget.
6235 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6237 * src/hildon-button.c: Add API documentation.
6238 (hildon_button_set_size_groups): Check input parameters
6240 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6242 * src/hildon-pannable-area.c
6243 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6244 effect after reaching the movement thredshold. This way we start
6245 using the distance after passing the thredshold.
6247 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6249 * src/hildon-button.c: (hildon_button_set_property): Use the
6250 appropriate g_value_get_flags() method.
6252 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6254 * doc/hildon-docs.sgml:
6257 Add the touch pickers, picker dialogs, and picker button widgets
6258 to the documentation.
6260 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6262 * src/hildon-button.c: (hildon_button_set_property),
6263 (hildon_button_class_init): Make "arrangement-flags" a proper
6264 G_TYPE_FLAGS derived property.
6266 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6268 * examples/Makefile.am: Add below examples.
6269 * examples/hildon-date-button-example.c:
6270 * examples/hildon-picker-button-example.c:
6271 * examples/hildon-picker-button-multicolumn-example.c:
6272 * examples/hildon-time-button-example.c:
6273 * examples/hildon-touch-picker-example.c:
6275 Add examples for the recently added touch pickers,
6276 picker dialogs, and picker button widgets.
6278 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6280 * src/hildon-button.c: Add some API documentation
6282 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6284 * src/hildon-button.h
6285 * src/hildon-button.c
6287 (hildon_button_new_with_text): New constructor to create a button
6288 with no text at all.
6289 (hildon_button_init, hildon_button_set_arrangement)
6290 (hildon_button_set_title, hildon_button_set_value)
6291 (hildon_button_set_text)
6292 (hildon_button_construct_child): Hide the value when it's not used
6293 so the rest of the text is properly aligned.
6294 Allow creating buttons with arbitrary widgets inside (not just
6295 title/value labels).
6297 * examples/hildon-button-example.c (vertical_buttons_window)
6298 (horizontal_buttons_window): Update example to use new API.
6300 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6302 * src/Makefile.am: Added HildonTimeButton.
6303 * src/hildon-time-button.c: Added missing LGPL header.
6304 * src/hildon-time-button.h: Added missing LGPL header.
6305 * src/hildon.h: Add hildon-time-button.h
6307 Copied HildonTimeButton from sandbox to trunk. Future work on this
6308 widget must take place in trunk.
6310 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6312 * src/Makefile.am: Added HildonDateButton.
6313 * src/hildon-date-button.c: Update includes.
6314 * src/hildon.h: Add hildon-date-button.h
6316 Copied HildonDateButton from sandbox to trunk. Future work on this
6317 widget must take place in trunk.
6319 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6321 * src/Makefile.am: Added HildonPickerButton.
6322 * src/hildon-picker-button.h: Update includes.
6323 * src/hildon.h: Add hildon-picker-button.h
6325 Copied HildonPickerButton from sandbox to trunk. Future work on
6326 this widget must take place in trunk.
6328 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6330 * src/Makefile.am: Added HildonPickerDialog.
6331 * src/hildon-picker-dialog.c: Update includes.
6332 * src/hildon.h: Add hildon-picker-dialog.h
6334 Copied HildonPickerDialog from sandbox to trunk. Future work
6335 on this widget must take place in trunk.
6337 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6339 * src/Makefile.am: Added HildonTimeSelector.
6340 * src/hildon.h: Add hildon-time-selector.h
6342 Copied HildonTimeSelector widget from sandbox to trunk. Future
6343 work on this widget must happen in trunk.
6345 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6347 * src/Makefile.am: Added HildonDateSelector.
6348 * src/hildon.h: Add hildon-date-selector.h
6350 Copied HildonDateSelector widget from sandbox to trunk. Future
6351 work on this widget must happen in trunk.
6353 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6355 * src/Makefile.am: Added HildonTouchPicker.
6356 * src/hildon-touch-picker.c: Update includes.
6357 * src/hildon.h: Add hildon-touch-picker.h
6359 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6360 on this widget must happen in trunk.
6362 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6364 * src/hildon-pannable-area.c:
6365 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6367 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6369 * examples/hildon-app-menu-example.c (main): Let the window
6372 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6374 * src/hildon-pannable-area.c
6375 (hildon_pannable_area_class_init): Set the min value of the
6376 overshoot properties to zero, which points out that not
6377 overshooting allowed.
6379 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6381 Modified the procedure to get the widget at a point inside the
6382 pannable area when using the movement type signals. Now the user
6383 has to call a function to get the child, that way we just
6384 calculate the child in case the user really want to use it and not
6387 * src/hildon-marshalers.list: Modified the marshallers, now we do
6388 not have the widget as a parameter.
6390 * src/hildon-pannable-area.c
6391 (hildon_pannable_area_motion_notify_cb),
6392 (hildon_pannable_area_class_init),
6393 (hildon_pannable_get_child_widget_at): Removed the widget
6394 parameter from the signal callback. We have also refactored the
6395 emission of the signals.
6397 * src/hildon-pannable-area.h: Added a new method to the API to
6398 calculate a widget at a point inside the pannable area,
6399 hildon_pannable_get_child_widget_at.
6401 * examples/hildon-pannable-area-example-4.c
6402 (horizontal_movement): Modified the example to use the new API,
6403 added condition to control which widget is under the event. This
6404 way we can avoid scrolling laterally over other widgets.
6406 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6408 * src/hildon-pannable-area.c
6409 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6410 modes, we stop getting the pointer events due to returning the
6411 callback without properly calling the get pointer again. Fixed
6412 also an error using the hscroll and vscroll.
6414 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6416 * src/hildon-app-menu-private.h
6417 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6418 (hildon_app_menu_button_release, hildon_app_menu_init)
6419 (hildon_app_menu_class_init): Don't hide the menu on button
6420 release if the user didn't press outside first.
6422 * src/hildon-window.h
6423 * src/hildon-window.c (hildon_window_toggle_menu)
6424 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6425 hildon_window_toggle_menu a virtual function for the stackable
6426 window to override it.
6428 * src/hildon-stackable-window.h
6429 * src/hildon-stackable-window-private.h
6430 * src/hildon-stackable-window.c
6431 (hildon_stackable_window_realize)
6432 (hildon_stackable_window_finalize)
6433 (hildon_stackable_window_class_init)
6434 (hildon_stackable_window_init)
6435 (hildon_stackable_window_set_main_menu): New function to set the
6436 app menu of a HildonStackableWindow.
6438 * examples/hildon-app-menu-example.c: Remove the button to show
6439 the app menu, now it'll be shown when clicking on the title bar
6442 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6444 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6445 set the widget name if the arrangement flags do not specify
6448 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6450 * src/hildon-button.c: (hildon_button_set_property),
6451 (hildon_button_class_init), (hildon_button_new_full),
6452 (hildon_button_set_arrangement): Added "arrangement-flags"
6455 Make the HildonButtonFlags a construction-only property, to allow
6456 subclasses to set them properly.
6458 2008-07-21 Tim Janik <timj@imendio.com>
6460 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6461 insertion position after backspace, so additional digits are appended,
6464 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6466 * src/hildon-pannable-area.c,
6467 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6468 TODO list, it was complete and removed the g_debug and g_print
6471 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6473 Added the movement modes to the hildon-pannable-area, with this
6474 modes the developers can control in which directions the widget
6475 can scroll. They can also connect to signals in order to do
6476 something when that happens, allowing applications scroll. There
6477 is an example uploaded showing how to use it.
6479 * examples/Makefile.am:
6480 * examples/hildon-pannable-area-example-4.c: Added this example of
6481 an application using the modes.
6483 * src/hildon-marshalers.list: Added a new marshaller for the new
6486 * src/hildon-pannable-area.h: Added new enumerations and flags in
6487 order to control the movement modes and the new signals to warn
6488 about the movements in the area.
6490 * src/hildon-pannable-area.c:
6491 (hildon_pannable_axis_scroll),
6492 (hildon_pannable_area_scroll),
6493 (hildon_pannable_area_motion_notify_cb),
6494 (hildon_pannable_area_get_property),
6495 (hildon_pannable_area_set_property),
6496 (hildon_pannable_area_map),
6497 (hildon_pannable_area_class_init),
6498 (hildon_pannable_area_init),
6499 (hildon_pannable_area_jump_to): Added the modes to control the
6500 movement in the widget. We have added properties to control it,
6501 signals to warn about the movements and refactored some code.
6503 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6505 Changes required in order to allow vfast_factor set to zero to
6508 * src/hildon-pannable-area.c:
6509 (hildon_pannable_area_button_press_cb): Changed the condition, it
6510 is required for not allowing click when vfast_factor is zero.
6511 (hildon_pannable_area_timeout): Initialized velocity variables
6512 when we stop moving, it was less than 1 but not zero and we need
6513 to check zero in some situations.
6514 (hildon_pannable_area_class_init): Changed the default value of
6515 the speed factor, now the button_press is just sent in case the
6516 speed is 2 per cent of the max speed.
6517 (hildon_pannable_area_init): Initialization with 0.
6519 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6521 * src/hildon-pannable-area.c,
6522 (hildon_pannable_area_get_topmost): replaced
6523 gdk_window_get_children with gdk_window_peek_children, this way we
6524 do not have to free the list because it is not a copy.
6526 (hildon_pannable_axis_scroll),
6527 (hildon_pannable_area_scroll),
6528 (hildon_pannable_area_timeout),
6529 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6530 two parameters that were only used inside the
6531 hildon_pannable_area_scroll function.
6533 * examples/hildon-pannable-area-example.c,
6534 (get_sawtooth_label): Fixed small memory leak.
6536 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6538 More checks for the case where the overshoot is bigger than the
6541 * src/hildon-pannable-area.c:
6542 (hildon_pannable_draw_vscroll),
6543 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6544 to draw the slider of the scrollbar under the other scrollbar.
6545 (hildon_pannable_area_expose_event): added new checks to control
6546 the drawing of the overshooting area rectangle, in case it is too
6547 big for the area of the widget.
6548 (hildon_pannable_area_size_allocate): add more checks to avoid
6549 setting a position to the child widget outside the area.
6551 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6553 * src/hildon-pannable-area.c
6554 (hildon_pannable_area_size_allocate): Added conditions to control
6555 when overshooting is bigger than the allocated space for the
6556 children, this avoids negative allocations.
6558 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6560 * doc/hildon-docs.sgml
6562 * examples/Makefile.am
6563 * examples/hildon-button-example.c
6565 * src/hildon-button.c
6566 * src/hildon-button.h
6567 * src/hildon.h: Initial version of the new HildonButton widget,
6570 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6572 * src/hildon-pannable-area.c:
6573 (hildon_pannable_area_button_press_cb),
6574 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6575 (hildon_pannable_area_motion_notify_cb),
6576 (hildon_pannable_area_button_release_cb),
6577 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6578 (hildon_pannable_area_jump_to_child):
6580 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6582 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6584 * examples/Makefile.am
6585 * examples/hildon-pannable-area-touch-grid-example.c
6586 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6587 the Hildon Touch List and Hildon Touch Grid using the
6588 HildonPannableArea widget.
6590 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6592 * src/hildon-pannable-area.c,
6593 (hildon_pannable_area_button_press_cb),
6594 (hildon_pannable_area_refresh),
6595 (hildon_pannable_area_scroll),
6596 (hildon_pannable_area_motion_notify_cb),
6597 (hildon_pannable_area_button_release_cb),
6598 (hildon_pannable_area_expose_event),
6599 (hildon_pannable_area_add),
6600 (hildon_pannable_area_remove),
6601 (hildon_pannable_area_realize),
6602 (hildon_pannable_area_size_allocate),
6603 (hildon_pannable_area_class_init),
6604 (hildon_pannable_area_init),
6605 (hildon_pannable_area_scroll_to_child),
6606 (hildon_pannable_area_jump_to_child): Fixed the problem of
6607 removing the child from the GtkBin, we have rearranged the widget
6608 hierarchy, now there is no GtkAlignment which was not doing
6609 anything interesting but breaking some of the assumptions of
6610 GtkContainer. Now developers if they want to add a GtkAlignment
6611 they could, but it is not inside the area.
6613 We had to review the whole allocation/expose process, now it is
6614 improved and we save at least three signals which would be saving
6615 some time when rendering the widget. The allocation of the
6616 scrollbars is now made in the allocate method as usual.
6618 We have also added some conditions in order to control when there
6619 is no child of the pannable area. Maybe we will need more work
6622 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6624 * src/hildon-pannable-area.c,
6625 (hildon_pannable_area_dispose): Released the fade-out timeout when
6626 disposing the widget.
6628 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6630 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6631 zero, we are going to use that property in order to deactivate the
6633 (hildon_pannable_axis_scroll),
6634 (hildon_pannable_area_size_allocate): Added conditions to control
6635 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6636 call, now it is called in all situations and we can remove calls
6637 in the allocate method.
6638 (hildon_pannable_area_map): Control the situation when
6639 overshoot_max is zero, we do not need the timeout.
6640 (hildon_pannable_area_class_init): Added documentation in order to
6641 point out that setting zero to overshoot_max means deactivate
6644 NOTE: removed trailing whitespaces from my previous comments of
6647 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6649 * src/hildon-pannable-area.c
6650 (hildon_pannable_area_get_property),
6651 (hildon_pannable_area_set_property),
6652 (hildon_pannable_area_map),
6653 (hildon_pannable_area_class_init),
6654 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6655 to cause the widget give a hint about its panning abilities upon
6658 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6660 * src/hildon-pannable-area.c: Several documentation improvements.
6662 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6664 * src/hildon-program.c
6665 * src/hildon-stackable-window.c: Update documentation.
6667 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6669 * src/hildon-stackable-window.c (get_previous_window_if_last):
6670 Renamed get_last_window()
6671 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6672 (hildon_stackable_window_unset_program):
6674 (get_previous_window_if_last):
6675 Detect if the window hasn't been added to a HildonProgram.
6677 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6679 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6681 * src/hildon-pannable-area.c
6682 (hildon_pannable_area_button_press_cb),
6683 (hildon_pannable_axis_scroll),
6684 (hildon_pannable_area_scroll),
6685 (hildon_pannable_area_timeout),
6686 (hildon_pannable_calculate_vel_factor),
6687 (hildon_pannable_area_get_property),
6688 (hildon_pannable_area_set_property),
6689 (hildon_pannable_area_class_init),
6690 (hildon_pannable_area_init),
6691 (hildon_pannable_area_scroll_to),
6692 (hildon_pannable_area_jump_to),
6693 (hildon_pannable_area_scroll_to_child),
6694 (hildon_pannable_area_jump_to_child):
6695 * src/hildon-pannable-area.h: Added the new API functions:
6696 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6697 hildon_pannable_area_scroll_to_child,
6698 hildon_pannable_area_jump_to_child
6701 * examples/Makefile.am
6702 * examples/hildon-pannable-area-example-2.c
6703 * examples/hildon-pannable-area-example-3.c: Added these two new
6704 examples in order to test and show how the new APIs work.
6706 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6708 * examples/hildon-stackable-window-example.c (new_window):
6709 * src/Makefile.am (noinst_HEADERS):
6710 * src/hildon-program.c (hildon_program_go_to_root_window):
6711 * src/hildon-program.h:
6712 * src/hildon-stackable-window-private.h:
6713 * src/hildon-stackable-window.c:
6714 * src/hildon-stackable-window.h:
6715 Create hildon-stackable-window-private.h
6716 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6718 * examples/hildon-app-menu-example.c (create_menu):
6719 * examples/hildon-hvolumebar-insensitive-example.c (main):
6720 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6721 * examples/hildon-toolbar-seekbar-example.c (main):
6722 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6723 * src/hildon-banner.c (hildon_banner_set_property):
6724 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6725 Fix compilation warnings
6727 * src/hildon-window.c:
6730 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6732 * src/hildon-stackable-window.c
6733 (hildon_stackable_window_unset_program):
6734 Calculate correctly whether to show the previous window if the
6735 last one is removed from the stack.
6736 (hildon_stackable_window_go_to_root_window):
6737 Send delete events starting from the topmost window.
6738 Stop if one of the windows is not destroyed.
6740 (hildon_stackable_window_delete_event)
6741 (hildon_stackable_window_class_init):
6742 Ignore the delete event if the window is not the topmost one.
6744 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6746 * src/hildon-pannable-area.c
6747 (hildon_pannable_area_expose_event): Fixed a problem when
6748 selecting the background color of the scrollbars.
6750 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6752 * examples/hildon-stackable-window-example.c
6753 * src/hildon-stackable-window.c
6754 * src/hildon-stackable-window.h
6755 hildon_stackable_window_go_home() renamed to
6756 hildon_stackable_window_go_to_root_window()
6757 Send delete events to windows rather than closing them with
6758 gtk_widget_destroy()
6760 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6762 * src/hildon-pannable-area.c
6763 (hildon_pannable_area_button_release_cb): Fix overshooting in
6766 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6768 * src/hildon-pannable-area.c
6769 (hildon_pannable_area_init): Initially show the scroll indicators.
6770 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6772 Add initial effect showing the widget is pannable.
6774 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6776 * src/hildon-pannable-area.c
6777 (hildon_pannable_area_class_init)
6778 (hildon_pannable_area_set_property)
6779 (hildon_pannable_area_get_property)
6780 (hildon_pannable_area_button_press_cb):
6781 New 'velocity_fast_factor' property to decide which velocity is
6784 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6786 * src/hildon-pannable-area.c
6787 (hildon_pannable_draw_hscroll)
6788 (hildon_pannable_draw_vscroll):
6789 Use float variables to calculate the size of the scrollbars to
6790 avoid error propagation and resizing during scrolling.
6792 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6794 * src/hildon-pannable-area.c
6795 (hildon_pannable_draw_vscroll)
6796 (hildon_pannable_draw_hscroll):
6797 Define a minimum size for the scroll bars
6799 * src/hildon-stackable-window.c
6800 (hildon_stackable_window_go_home): Fix compilation warning
6801 (get_last_window): Minor optimizations
6802 (hildon_stackable_window_class_init): Fix initialization of
6805 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6807 * src/hildon-stackable-window.c: Fixed typos in doc
6809 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6811 * src/hildon-pannable-area.c
6812 (hildon_pannable_area_scroll):
6813 Calculate here whether we need to scroll instead of using the booleans
6814 that tell us whether to /draw/ the scrolling bars.
6816 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6818 * src/hildon-app-menu.h
6820 * src/hildon-app-menu.c
6821 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6822 multiple filter groups related code and API. Now we support only
6824 * examples/hildon-app-menu-example.c:
6826 Update to reflect API changes.
6828 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6830 * src/hildon-stackable-window.c
6831 (hildon_stackable_window_class_init):
6832 Add hildon_stackable_window_realize.
6833 (hildon_stackable_window_realize):
6834 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6835 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6836 to apply theming and behavior specific to HildonStackableWindow
6839 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6841 * src/hildon-note.c (hildon_note_button_release):
6842 Close information notes also when tapping on them
6844 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6846 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6847 ELASTICITY, refactor and review, fix some issues with drawing
6850 * src/hildon-pannable-area.c:
6851 (hildon_pannable_area_button_press_cb): removed the conditions to
6852 avoid clicks when overshooting. It is not required
6854 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6855 define. Refatored and reviewed the code, now we do not need to
6856 manage velocity in motion_notify.
6858 (hildon_pannable_area_motion_notify_cb): We have moved the code
6859 that controls the area_scroll to the axis_scroll function and get
6860 rid of duplicated code.
6862 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6864 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6866 (hildon_pannable_draw_vscroll),
6867 (hildon_pannable_draw_hscroll): Fixed the problems with the
6868 scrollbar drawing, now we do not use two surfaces, it is easier
6869 and saves resources.
6871 (hildon_pannable_area_get_property): Style modification.
6873 (hildon_pannable_area_class_init): Changed some default values.
6875 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6877 * src/hildon-stackable-window.c: Fix some typos in the
6880 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6882 * src/hildon-dialog.c:
6883 Change indentation style
6886 (hildon_note_button_release):
6887 Use root coordinates to check if the release event happened
6890 * src/hildon-app-menu.c
6891 (hildon_app_menu_button_release):
6892 Remove unnecessary check
6894 * examples/hildon-app-menu-example.c
6896 Add cast to fix warning
6898 * src/hildon-app-menu.c
6899 (hildon_app_menu_class_init):
6900 New inner-border style property.
6901 Set all default spacings to 16
6902 (hildon_app_menu_init):
6903 Use vertical-spacing to set the space between filter buttons and
6904 regular menu buttons.
6905 Set the default container border using the inner-border value.
6907 * examples/hildon-app-menu-example.c
6909 Don't set the menu border explicitly, now we have the inner-border
6910 style property for that.
6912 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6914 * src/hildon-app-menu.c (hildon_app_menu_init):
6915 Make the window modal
6917 * src/hildon-note.c (hildon_note_map)
6918 * src/hildon-app-menu.c (hildon_app_menu_map):
6919 Destroy the grab window if we're unable to grab the pointer
6921 * src/hildon-app-menu-private.h
6922 * src/hildon-app-menu.c
6923 (hildon_app_menu_init, hildon_app_menu_finalize)
6924 (hildon_app_menu_map, hildon_app_menu_unmap)
6925 (hildon_app_menu_button_release)
6926 (grab_transfer_window_get):
6927 Bring back the grab window
6928 (hildon_app_menu_realize):
6929 Decorate the window, set WM hint for Matchbox
6931 * src/hildon-note.c (hildon_note_realize):
6932 * src/hildon-banner.c (hildon_banner_realize):
6933 Add WM hints for Matchbox
6935 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6937 * src/hildon-app-menu-private.h
6938 * src/hildon-app-menu.c
6939 (hildon_app_menu_init, hildon_app_menu_finalize)
6940 (hildon_app_menu_map, hildon_app_menu_unmap)
6941 (hildon_app_menu_button_release):
6942 Remove the grab window, it's not needed anymore
6944 * src/hildon-program.c
6945 Fixed typo in documentation
6947 * src/hildon-app-menu.h
6948 * src/hildon-app-menu.c
6949 * examples/hildon-app-menu-example.c
6950 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6952 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6955 Added new transfer_window and close_if_pressed_outside private
6957 (hildon_note_rebuild):
6958 Don't add a cancel button to the information note. It will be
6959 closed when tapping outside
6960 Remove the comment about the OK button in the documentation
6961 (hildon_note_realize):
6962 Set the notification type hint
6963 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6964 Grab/ungrab pointer and keyboard if the note has to be closed when
6966 (hildon_note_button_release):
6967 Close the note when tapping outside (if applicable)
6969 * src/hildon-app-menu.c
6970 Grab/ungrab pointer and keyboard on map/unmap
6971 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6972 Close the menu on button release, not button press
6974 * src/hildon-banner.c
6975 (hildon_banner_set_property)
6976 (hildon_banner_check_position):
6977 Make the banner use the full width of the screen
6978 (hildon_banner_show_information)
6979 (hildon_banner_show_information_with_markup):
6980 Don't display an icon by default
6982 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6984 Added fading scrollbars and adapted all the overshooting code to
6985 horizontal scrolling. We have also fixed bugs with overshooting
6986 and current fading implementation.
6988 * src/hildon-pannable-area.c
6989 (hildon_pannable_area_scroll_indicator_fade): Time out function
6990 used to change the transparency of the scrollbars.
6992 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6993 control and fixed a problem with fading, we now remove the fade
6994 timeout before adding a new one.
6996 (hildon_pannable_axis_scroll):
6997 (hildon_pannable_area_scroll):
6998 (hildon_pannable_area_timeout): Added this functions so we can use
6999 the scroll code both for vertical and horizontal.
7001 (hildon_pannable_area_motion_notify_cb):
7002 (hildon_pannable_area_button_release_cb): Added the horizontal
7003 scrolling control, fixed a problem with the overshooting timeout.
7005 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7006 painting of the scrolls.
7008 (hildon_pannable_draw_vscroll):
7009 (hildon_pannable_draw_hscroll):
7010 (hildon_pannable_area_expose_event):
7011 Draw both scrollbars and rectangles in the overshooting area.
7013 (hildon_pannable_area_get_property):
7014 (hildon_pannable_area_set_property):
7015 Modified the overshoot property to overshoot_max
7017 (hildon_pannable_area_map):
7018 Replaced the comments symbols.
7020 (hildon_pannable_area_size_allocate):
7021 (hildon_pannable_area_class_init):
7022 (hildon_pannable_area_init): Added horizontal scroll, fading
7023 effect properties, fixed a problem when overshooting in the bottom
7026 * examples/hildon-pannable-area-example.c:
7027 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7028 looks better in the example.
7030 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7032 * src/hildon-window.c
7033 * src/hildon-window.h
7034 (hildon_window_class_init)
7035 (hildon_window_unset_program)
7036 (hildon_window_unset_program_real):
7037 Make unset_program a virtual function
7039 * src/hildon-stackable-window.c
7040 * src/hildon-stackable-window.h
7041 Added hildon_stackable_window_go_home()
7043 * examples/Makefile.am
7044 * examples/hildon-stackable-window-example.c
7045 HildonStackableWindow example
7047 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7049 * hildon-pannable-area.c: Added the overshoot property and removed
7050 the OVERSHOOT define. Fixed an indent style error.
7051 (hildon_pannable_area_motion_notify_cb):
7052 (hildon_pannable_area_get_property):
7053 (hildon_pannable_area_set_property): Add overshoot property.
7055 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7058 (hildon_pannable_area_class_init): Installed the new property.
7060 * hildon-pannable-area-example.c: Added a sawtooth function, this
7061 way it is easier to check the movement in the pannable.
7062 (get_sawtooth_label): Added this function.
7063 (main): Now we get the labels from the new get_sawtooth_label
7066 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7068 * src/hildon-app-menu.h
7069 * src/hildon-app-menu.c
7070 Renamed API variables for consistency
7072 (hildon_app_menu_popup): Use also the default window size to
7073 decide where to place the menu
7075 (hildon_app_menu_init, hildon_app_menu_class_init): New
7076 external-border style property
7078 2008-05-26 Michael Natterer <mitch@imendio.com>
7080 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7081 widget_class->tap_and_hold_setup signal slot doesn't exist any
7082 longer, stop overriding it.
7084 (hildon_time_editor_init): g_signal_connect() to the
7085 tap-and-hold-setup signal instead.
7087 (hildon_time_editor_entry_keypress): add cast to fix warning.
7089 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7091 * doc/hildon-docs.sgml
7093 * examples/Makefile.am
7094 * examples/hildon-app-menu-example.c
7096 * src/hildon-app-menu-private.h
7097 * src/hildon-app-menu.c
7098 * src/hildon-app-menu.h
7100 New HildonAppMenu widget
7102 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7104 Rearranged the inheritance of the pannable area, now it inherits
7105 from GtkBin. This will allow us to control the event_window and
7106 the allocation process of the widget, required for some effects.
7108 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7109 GtkBin structures. * src/hildon-pannable-area.c: Added the
7110 event_window variable.
7111 (hildon_pannable_area_button_press_cb):
7112 (hildon_pannable_area_button_release_cb):
7113 (hildon_pannable_area_motion_notify_cb):
7114 Changed the signature of the method, now we override the event
7115 callback instead of connecting to the signal.
7117 (hildon_pannable_area_realize):
7118 (hildon_pannable_area_unrealize):
7119 (hildon_pannable_area_map):
7120 (hildon_pannable_area_unmap):
7121 (hildon_pannable_area_size_allocate):
7122 Added functions to control the widget construction. We add a
7123 INPUT_ONLY window and we put it over the widgets inside the
7124 container, this event_window handles the events.
7126 (hildon_pannable_area_class_init):
7127 Replaced the signal connections with overrides of the event
7130 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7132 Bouncing effect added when touching the borders, you can change
7133 the elasticity of the border changing the ELASTICITY define.
7135 * src/hildon-pannable-area.c: Added ELASTICITY define.
7136 (hildon_pannable_area_timeout): Added inverse velocity when
7137 touching the border of the child widget, that causes a bounce.
7139 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7141 Improved performance, we now do not go to the X server in order to
7142 get the list of window children. Apparently the effect is the
7143 same, we have to be careful and check if this breaks something in
7146 * src/hildon-pannable-area.c:
7147 (get_ordered_children): Removed this function.
7148 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7149 the children windows function with gdk_window_get_children.
7151 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7153 * src/hildon-pannable-area.c:
7154 (hildon_pannable_area_dispose): Fixed a crash when closing the
7155 window and kinetics is activated.
7157 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7159 * src/hildon-pannable-area.h
7160 * src/hildon-pannable-area.c
7161 Changed indentation style to meet the one used in Hildon
7163 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7165 Reviewed the interaction of the AUTO mode, now we use the time
7166 attribute of the events and calculate the velocity in the motion,
7167 doing a gimp like calculation. The velocity is calculated in each
7168 motion event using the last velocity and the current one, the
7169 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7171 * src/hildon-pannable-area.c: Replaced the time based algorithm
7173 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7174 timeout for the AUTO mode when we are still moving the cursor. We
7175 added also the velocity calculation in this function.
7176 (hildon_pannable_area_button_release_cb): launch the timeout in
7177 case we are in AUTO mode. There are still some constants here that
7178 come from the old implementation that should be reviewed and
7181 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7183 * doc/hildon-docs.sgml
7186 * src/hildon-stackable-window.c
7187 * src/hildon-stackable-window.h
7189 New HildonStackableWindow widget
7191 * examples/hildon-dialog-example.c
7192 * examples/hildon-pannable-area-example.c
7195 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7197 * src/hildon-dialog.c
7198 (hildon_dialog_new_with_buttons): New constructor.
7200 * examples/hildon-dialog-example.c
7201 (main): Update the example to use the new
7202 hildon_dialog_new_with_buttons().
7204 * examples/hildon-pannable-area-example.c
7205 (main): Update example.
7207 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7209 * doc/hildon-docs.sgml
7211 Added HildonPannableArea to the documentation.
7213 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7215 * doc/visual_index.xml
7216 Fix reference to HildonLoginDialog in documentation
7218 * doc/hildon-docs.sgml
7220 * examples/Makefile.am
7221 * examples/hildon-dialog-example.c
7223 * src/hildon-dialog.c
7224 * src/hildon-dialog.h
7226 New HildonDialog widget.
7228 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7230 * src/hildon-pannable-area.c
7231 Merge latest changes (r4318, r4342) from libmokoui trunk
7233 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7235 * examples/Makefile.am
7236 * examples/hildon-pannable-area-example.c
7238 * src/hildon-pannable-area.c
7239 * src/hildon-pannable-area.h
7241 New HildonPannableArea widget.
7243 2008-04-15 18:05:19 <timj@imendio.com>
7245 * src/hildon-banner.c: revert the recent change, that introduced
7246 gtk_window_present() calls. this reopens:
7247 Bug 78481 - [freetest] information banners are hidden under browser menu
7248 But resolves another variant of:
7249 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7251 2008-04-15 13:21:13 <timj@imendio.com>
7253 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7254 recreated its layout, spotted by Kris. this fixes all remaining
7255 artefacts and stability issues with the banner code. in particular:
7256 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7258 2008-04-14 16:52:59 <timj@imendio.com>
7260 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7261 operating on unrealized widgets, fixes:
7262 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7264 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7266 2008-04-09 Kristian Rietveld <kris@imendio.com>
7268 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7269 makes banner disappear.
7270 Fixes: NB#79182: info banner flickering with certain message lengts.
7272 * src/hildon-banner.c (hildon_banner_constructor),
7273 (hildon_banner_init), (hildon_banner_set_text),
7274 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7275 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7276 FALSE, reset size requests of label and banner,
7277 (force_to_wrap_truncated): when the text is too wide, always enforce
7278 the maximum possible width instead of recalculating it from the
7279 layout; enforce the maximum banner height of 3 lines,
7280 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7281 nicer wrapping and no truncated chars if space gets tight.
7283 * src/hildon-banner-private.h: add has_been_wrapped and
7284 has_been_truncated fields.
7286 2008-04-07 Sven Herzberg <sven@imendio.com>
7288 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7289 local values in hildon_date_editor_size_allocate
7291 * src/hildon-date-editor.c: moved the real allocation code into the
7294 2008-04-07 Sven Herzberg <sven@imendio.com>
7296 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7297 local values in hildon_date_editor_size_allocate
7299 * src/hildon-date-editor.c: merged the two if() branches together
7301 2008-04-07 Sven Herzberg <sven@imendio.com>
7303 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7304 local values in hildon_date_editor_size_allocate
7306 * src/hildon-date-editor.c: changed the arguments of the if()
7309 2008-04-07 Sven Herzberg <sven@imendio.com>
7311 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7312 local values in hildon_date_editor_size_allocate
7314 * src/hildon-date-editor.c: split the calculation of the allocation
7315 from the real allocation
7317 2008-03-27 Michael Natterer <mitch@imendio.com>
7319 Fixes: NB#81696: The passcode is not overwritten even after
7322 * src/hildon-code-dialog.c
7323 (hildon_code_dialog_button_clicked)
7324 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7325 because that doesn't overwrite selected text. Instead, emit the
7326 "commit" signal on the entry's im_context so the entry's normal
7327 insert logic is triggered. Set the cursor to the end of the entry
7328 after each insert operation so that we *only* insert in the middle
7329 of the text if something was selected.
7331 2008-03-27 Michael Natterer <mitch@imendio.com>
7333 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7334 selector cannot be opened
7336 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7337 when the popup color selector is created. Please connect to this
7338 signal in order to set the dialog's help ID.
7340 2008-03-25 Sven Herzberg <sven@imendio.com>
7342 Fixes: MB#1212: Hide info banners (infoprints) on click
7344 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7345 extracted the close event simulation into an extra function
7346 (hildon_banner_button_press_event): simulate a close event and destroy
7347 the widget if the event wasn't handled
7348 (hildon_banner_class_init): added the button_press_event handler
7349 (hildon_banner_init): added button-press events to the widget
7351 2008-03-25 Sven Herzberg <sven@imendio.com>
7353 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7354 Patch from: Mohammad Anwari <mdamt@maemo.org>
7356 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7357 instead of the right in RTL mode
7358 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7359 breadcrumb button list in RTL mode
7360 * src/hildon-caption.c: mirror the appearance of the caption widget in
7362 * src/hildon-date-editor.c: mirror appearance of the date editor in
7364 * src/hildon-time-editor.c: mirror appearance of the time editor in
7366 * src/hildon-window.c: fix the position of the popup in RTL mode
7368 2008-03-25 Sven Herzberg <sven@imendio.com>
7370 Amendment to the fix of NB#22072. Fix compilation.
7372 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7374 2008-03-19 Sven Herzberg <sven@imendio.com>
7376 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7379 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7380 timeout id properly when the timeout will disappear this leaves no
7381 artifacts around in the destroy(); there will only be the timeout
7382 created by hildon_banner_ensure_timeout() and adding a new timeout
7383 will also work if the timeout gets removed because the timeout_handler
7386 2008-03-19 Michael Natterer <mitch@imendio.com>
7388 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7390 * src/hildon-volumebar.c
7391 * src/hildon-vvolumebar.c
7392 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7393 the widget becomes focussable at all.
7395 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7396 set the focus to wither the mute button or the volumebar.
7398 Remove own "can-focus" property and instead listen to
7399 notify::can-focus in order to update the widget's state.
7401 Implement GtkWidget::focus() and make sure we can also *leave* the
7402 widget, not only enter it, depending on volumebar orientation and
7403 requested focus direction.
7405 Clean up set_mute() to cooperate nicely with all the above.
7407 2008-03-04 Michael Natterer <mitch@imendio.com>
7409 Fixes: NB#78481: information banners are hidden under browser menu
7411 * src/hildon-banner.c: call gtk_window_present() on the banners so
7412 they are risen if they are already visible.
7414 2008-03-03 Sven Herzberg <sven@imendio.com>
7416 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7418 * examples/hildon-window-menu-example.c: (main): extended the window
7419 menu example to serve as a testcase for automatically added
7420 accelerator groups, too
7421 * src/hildon-window.c: (hildon_window_add_accel_group),
7422 (hildon_window_set_menu): added patch by Tommi Komulainen
7424 2008-03-03 Sven Herzberg <sven@imendio.com>
7426 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7428 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7429 knowledge about the border allocators used within GTK+
7431 2008-02-26 Sven Herzberg <sven@imendio.com>
7433 Fixes: MB#2981: Build with asserts broken
7435 * src/hildon-date-editor.c,
7436 * src/hildon-number-editor.c,
7437 * src/hildon-time-editor.c,
7438 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7439 the proper GType instance check
7441 2008-02-25 Sven Herzberg <sven@imendio.com>
7443 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7445 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7446 * examples/hildon-window-menu-example.c: (main): explicitly show
7448 * src/hildon-window.c:
7449 (hildon_window_set_main_menu): moved most of the code from set_menu()
7450 to this place; skipped the call to gtk_widget_show_all(); also didn't
7451 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7452 (hildon_window_set_menu): removed most of the code, just keep the
7453 questionable gtk_widget_show_all()
7454 * src/hildon-window.h: added the new function and deprecate the old
7457 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7463 * debian/changelog: Updating.
7465 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7468 * pkgconfig/Makefile.am:
7469 * pkgconfig/hildon.pc.in:
7472 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7473 use newly created API_MAJOR_VERSION.
7475 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7481 * debian/changelog: Updating.
7483 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7485 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7487 Add outer_border style property, we use it but don't define it (!).
7491 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7493 * examples/hildon-bread-crumb-trail-example.c (main):
7497 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7499 Fix logic for the bread crumb trail node removal.
7503 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7509 * debian/changelog: Updating.
7511 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7513 Patch by Alejandro to get/set passwords dialogs accesibility.
7515 * hildon-1/src/hildon-get-password-dialog.c:
7516 * hildon-1/src/hildon-set-password-dialog.c:
7517 Set atk_set_name to the passwd entries in order to allow
7518 accessibility by name on this entries.
7520 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7525 * debian/control: Updating gtk dep.
7527 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7529 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7530 USE_MAEMO_GTK is enabled.
7532 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7534 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7535 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7537 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7543 * debian/changelog: Updating.
7545 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7547 * examples/Makefile.am:
7548 * examples/hildon-logical-color-example.c:
7549 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7550 applied + adding a test case. Fixes: NB#71660.
7552 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7554 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7555 to be visible, fixes warning on map for windows without toolbars.
7557 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7559 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7560 2.11.0, add a check for that besides the MAEMO_GTK check.
7562 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7568 * debian/changelog: Updating.
7570 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7572 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7573 visibility. Fixes: NB#70842 and MB#615.
7575 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7577 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7578 set the separator as no-show-all so it doesn't unintentionally appear when
7579 someone does a show_all.
7581 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7583 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7584 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7585 toplevel item. Fixes: NB#62031
7587 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7589 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7590 fix the name of the function in the docs.
7592 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7598 * debian/changelog: Updating.
7600 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7602 * examples/hildon-banner-long-example.c: Adding a test-case for long
7605 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7607 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7609 * src/hildon-color-chooser-dialog.c:
7610 * src/hildon-color-chooser.c:
7611 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7612 memory leaks in font selector and color selector. Fixes: NB#70499 and
7615 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7617 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7619 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7621 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7622 little bit bigger. Fixes: #NB63694.
7624 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7630 * debian/changelog: Updating.
7632 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7635 * doc/hildon-docs.sgml:
7636 * doc/images/bread-crumb-trail.png:
7637 * doc/images/calendar-popup.png:
7638 * doc/images/caption.png:
7639 * doc/images/code-dialog.png:
7640 * doc/images/color-button.png:
7641 * doc/images/color-chooser-dialog.png:
7642 * doc/images/color-chooser.png:
7643 * doc/images/controlbar.png:
7644 * doc/images/date-editor.png:
7645 * doc/images/font-selection-dialog.png:
7646 * doc/images/get-password-dialog.png:
7647 * doc/images/hvolumebar.png:
7648 * doc/images/login-dialog.png:
7649 * doc/images/note.png:
7650 * doc/images/number-editor.png:
7651 * doc/images/range-editor.png:
7652 * doc/images/seekbar.png:
7653 * doc/images/set-password-dialog.png:
7654 * doc/images/sort-dialog.png:
7655 * doc/images/time-editor.png:
7656 * doc/images/time-picker.png:
7657 * doc/images/vvolumebar.png:
7658 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7659 Adding the bread-crumb-trial and helpers to the documentation.
7661 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7663 * examples/hildon-find-toolbar-example.c:
7664 * src/hildon-find-toolbar.c:
7665 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7666 actually continue firing the other handlers if connected. Adding a new
7668 hildon_find_toolbar_get_last_index that gets the index of the most
7669 recently added (last) item. Fixes: NB#52301.
7671 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7673 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7674 behaviour. Fixes: NB#68610.
7676 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7678 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7681 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7683 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7684 when realizing the banner. Should make the infonbanner effect a bit more
7687 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7689 * src/hildon-volumebar.c:
7690 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7691 hildon_volumebar_set_range_insensitive_message and
7692 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7694 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7696 * src/hildon-window.c: Fixing the border freeing on destroy.
7698 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7700 * src/hildon-code-dialog-private.h:
7701 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7702 kw keyboard support in HildonCodeDialog.
7704 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7710 * debian/changelog: Updating.
7712 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7714 * src/hildon-date-editor.c:
7715 * src/hildon-number-editor.c:
7716 * src/hildon-private.c:
7717 * src/hildon-private.h:
7718 * src/hildon-time-editor.c:
7719 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7720 handling in subclassed composite widgets. Fixes: NB#66628.
7722 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7724 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7725 from destroy_ callback as it introduces problems in async dbus signal
7726 handlers. Fixes NB#66673.
7728 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7730 * examples/hildon-hvolumebar-example.c:
7731 * src/hildon-volumebar.c: Improving the focus handling in the
7732 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7733 set_property accessor so that "mute" property can be actually set. I'm
7734 scared that nobody noticed it's totally broken.
7736 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7738 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7741 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7743 * src/hildon-calendar.c:
7744 * src/hildon-number-editor.c:
7745 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7746 matches the spec of 6 chars per second. Fixes: NB#60489.
7748 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7750 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7751 gtk_style_lookup_color sometime returns FALSE even though color was
7752 found and values were filled properly. Weird. Removing the warning for the
7755 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7757 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7758 expand vertically. Adding some extra space to the find toolbar buttons to
7759 make them thumbable. Fixes NB#66060.
7761 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7763 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7764 popup with "Ok" and "Cancel". Fixes NB#59299.
7766 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7768 * src/hildon-calendar.c: Process all window updates before executing next
7769 timeout. Fixes: NB#54146.
7771 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7777 * debian/changelog: Updating.
7779 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7781 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7782 the client event and ignore it, since we use the delete event to close
7785 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7787 * src/hildon-helper.c: Remove the bogus warning about color not being
7788 found. Fixes NB#58352.
7790 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7792 * examples/Makefile.am:
7793 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7794 HildonSeekbar widget inside a toolbar.
7796 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7798 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7799 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7800 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7801 don't want to be closed by non-temporary windows on map.
7803 Also use G_DEFINE_TYPE instead of manually typed code.
7805 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7812 * debian/rules: Updating.
7814 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7816 * examples/Makefile.am:
7817 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7818 bug NB#61128. Strangely it works.
7820 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7822 * src/hildon-date-editor.c: When the date editor entry has been changed
7823 but the numbers of characters < max, turn off the skip validation flag.
7824 Prevents a situation when we enter first a valid year and later re-write
7825 it with an invalid one. Fixes NB#60154.
7827 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7829 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7830 code dialog. Fixes NB#64355.
7832 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7834 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7835 switching the page. Fixes NB#49374.
7837 * examples/Makefile.am:
7838 * examples/hildon-wizard-dialog-example.c: Adding an example for
7839 HildonWizardDialog that shows how to handle manual sensitivity setting on
7842 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7846 * src/hildon-version.h.in:
7847 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7849 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7851 * src/hildon-volumebar.c: Updating the docs.
7853 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7859 * debian/changelog: Updating.
7861 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7863 * src/hildon-find-toolbar.c:
7864 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7865 selected item: hildon_find_toolbar_set_active,
7866 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7867 hildon_find_toolbar_get_active_iter . They correspond to respective
7868 GtkComboBox functions.
7870 * examples/Makefile.am:
7871 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7874 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7876 * examples/Makefile.am:
7877 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7880 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7881 when font size > 32 and we pack a focusable widget inside. Actually using
7882 the default response would work too, but since we don't show default
7883 response state in any way (no theming) it would not be visible to the
7884 user. Fixes NB#63430.
7886 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7888 * src/hildon-date-editor.c: Adding the missing variable setter in the
7889 set_property handler. Fixes NB#54182.
7891 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7893 * src/hildon-window.h: Changing the long key press time from 1500ms to
7894 800ms as requested in NB#63700. I have a bad feeling about this, let's
7895 see... Fixes NB#63700.
7897 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7899 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7900 hildon_time_picker_map, hildon_time_picker_realize,
7901 hildon_time_picker_style_set): Split the contents of map to more
7902 appropriate functions; set window decorations on realize and update
7903 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7905 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7910 * debian/changelog: Updating.
7912 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7914 * src/Makefile.am: fixed installation of the header files
7916 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7922 * debian/changelog: Updating.
7924 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7926 * configure.ac: Removing some remaining of --enable-xan.
7928 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7930 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7931 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7933 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7934 2.10.12-osso6 because the move-focus signal needs to be available in
7937 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7939 * examples/Makefile.am:
7940 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7941 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7942 fine. Prolly NB#61128 is fixed now.
7944 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7946 * src/hildon-volumebar.c:
7947 * src/hildon-volumebar.h: Adding the
7948 hildon_volumebar_set_range_insensitive_message and
7949 hildon_volumebar_set_range_insensitive_messagef functions to set
7950 insensitive message on the slider of the volumebar. Fixes NB#61129.
7952 * examples/Makefile.am:
7953 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7954 test the new insensitive messsage functionality on HildonVolumebar.
7956 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7958 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7961 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7963 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7964 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7965 button on after clearing the trail.
7967 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7969 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7971 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7973 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7974 by splitting the installed headers in generated and non-generated groups. Use
7975 only the non-generated headers to create the hildon-enum-types.h file.
7977 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7979 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7981 * src/hildon-window.c: Hide the window before performing the destroy.
7982 Should make the app closing a little tiny bit more snappy.
7984 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7986 * src/hildon-seekbar.c: add gtkrange.h header
7987 * src/hildon-caption.c: remove unused variable
7989 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7991 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7994 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8000 * debian/changelog: Updating.
8002 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8004 * src/hildon-window.c (hildon_window_window_state_event,
8005 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8006 escape timeout on focus-out-event rather than notify::is-topmost; the
8007 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8009 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8011 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8012 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8014 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8016 * src/hildon-window: actually, you need to use the macro always, there's
8017 no private pointer in the instance structure. We should have cleaned this up
8018 when we had the chance...
8020 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8022 * src/hildon-window.c: do not get the private date from HildonWindow before
8023 it passes the g_return_if_fail check. Once it's passed the test, there's no
8024 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8025 if you are only going to access the data once. Whitespace cleanups.
8027 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8029 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8030 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8032 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8038 * debian/changelog: Updating.
8040 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8042 * src/hildon-window.c: When destroying the window, remove (if exists) the
8043 escape timeout handler. Fixes #NB59276.
8045 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8047 * src/hildon-banner.c: When realizing the widget, set the window
8048 transiency. Setting the transiency in the gobject constructor is not
8049 good, as the widget is not realized at that point. Fixes: #NB56624.
8051 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8053 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8054 Add padding for future expansions.
8056 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8058 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8059 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8060 will fake an activation on the previous to the last item of the trail, so
8061 the effect can be overrided by the developer as usual.
8062 Also change the callback for the back button to do the same thing, so its
8063 effect can be overrided too. Fixes: NB#58982
8065 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8067 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8068 HildonCaption. Fixes NB#52379.
8070 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8072 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8073 the internal state of the trail after the user has had the chance of executing
8074 his handler for the signal. Specifically, it may happen that the activated button
8075 is removed and the user still lets the default handler run. This would segfault
8078 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8080 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8081 scrollbar to the preview dialog. Fixes NB#54147.
8083 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8085 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8086 max/min year properties can be altered, so the client can modify it
8087 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8089 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8091 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8092 hildonlike by default. Fixing a problem with disappearing arrows when
8093 scrolling through months and years. Fixes NB#54127.
8095 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8097 * examples/hildon-date-editor-example.c: Adding error callback to the date
8100 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8106 * configure.ac: Updating.
8108 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8110 * configure.ac: Adding a special '--enable-xan' configure option that
8111 turns off the -Werror compilation setting. Usefull for development.
8113 * src/hildon-calendar.c:
8114 * src/hildon-number-editor.c:
8115 * src/hildon-time-picker.c: Adding the 5* multiplier to
8118 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8120 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8121 instead of g_object_ref + gtk_object_sink.
8123 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8129 * debian/changelog: Updating.
8131 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8133 * src/hildon-color-chooser-dialog.c:
8134 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8135 straight from Tommi labs.
8137 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8139 * examples/hildon-finger-example.c: Correcting the header file path.
8141 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8142 the changed signal. Fixes a small memory leak.
8144 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8148 * src/hildon-banner.c: Importing several usefull fixes from the
8149 ubuntu-mobile branch.
8151 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8153 * examples/Makefile.am:
8154 * examples/hildon-finger-example.c: Adding a finger-checking code
8157 * src/hildon-font-selection-dialog.c: Do not allocate the color
8158 structure using the g_new. Fixes NB#54061.
8160 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8162 * src/hildon-helper.c: Correcting tabs in file.
8164 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8166 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8167 control the visibility of the children.
8169 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8171 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8177 * debian/changelog: Updating.
8179 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8181 * src/hildon-bread-crumb-trail.c:
8182 (hildon_bread_crumb_trail_size_allocate):
8184 Make the back button always a square.
8186 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8188 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8189 from the .c file as it's a private file.
8191 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8193 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8194 uses slightly bigger height.
8196 * src/hildon-font-selection-dialog.c: Adding some checks before
8197 freeing memory in the font selection dialog.
8199 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8201 * src/hildon-font-selection-dialog.c: Adding a small check when
8204 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8205 buttons sensitivity on page switching.
8207 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8209 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8210 internal details of adding a bread crumb to the trail.
8212 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8218 * debian/changelog: Updating.
8220 * src/hildon-bread-crumb-trail.h:
8221 * src/hildon-bread-crumb.h: Changing the API guard to
8222 HILDON_ENABLE_UNSTABLE_API.
8224 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8232 * src/hildon-helper.h: Updating.
8234 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8242 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8246 * src/hildon-helper.h: Small fix to make the package actually compile.
8248 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8250 * src/hildon-bread-crumb-trail.h:
8251 * src/hildon-bread-crumb.h:
8253 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8254 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8256 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8258 * examples/hildon-bread-crumb-trail-example.c:
8260 * src/hildon-bread-crumb-trail.c:
8261 * src/hildon-bread-crumb-trail.h:
8262 * src/hildon-bread-crumb.c:
8263 * src/hildon-bread-crumb.h:
8264 * src/hildon-marshalers.list:
8265 * src/hildon-bread-crumb-widget.c:
8266 * src/hildon-bread-crumb-widget.h:
8268 Slight change in the widget design. The bread crumb trail API is
8269 unchanged, but HildonBreadCrumb is now an interface. A *private*
8270 implementation, hildon-bread-crumb-widget, is provided and used
8271 internally by the trail for the push_text/push_icon functions.
8273 The generic push API is still available, so anyone can implement
8274 and use its own bread crumb widget.
8276 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8278 * debian/rules: Fixing the shlibs.
8280 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8282 * src/hildon-banner.c: Fixing a problem with timed banners having
8283 their parrent destroyed before they are.
8285 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8287 * src/hildon-bread-crumb.c:
8288 * src/hildon-bread-crumb.h:
8290 Make the get_natural_size function a vfunc.
8292 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8294 * src/hildon-bread-crumb.c:
8295 * src/hildon-bread-crumb-trail.c:
8299 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8306 * debian/changelog: Updating for release.
8308 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8310 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8311 don't leak the pango layout.
8313 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8316 * examples/hildon-bread-crumb-trail-example.c:
8320 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8322 * debian/changelog: Removing the bug-fixed entries that were actually
8323 resolved as WONTFIX.
8325 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8328 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8330 * src/hildon-bread-crumb-trail.c:
8331 * src/hildon-bread-crumb-trail.h:
8332 * src/hildon-bread-crumb.c:
8333 * src/hildon-bread-crumb.h:
8337 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8339 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8340 until it's passed the type check.
8342 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8344 * examples/hildon-bread-crumb-trail-example.c
8348 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8350 * examples/Makefile.am
8351 * examples/hildon-bread-crumb-trail-example.c
8353 * src/hildon-bread-crumb-trail.c
8354 * src/hildon-bread-crumb-trail.h
8355 * src/hildon-bread-crumb.c
8356 * src/hildon-bread-crumb.h
8358 New HildonBreadCrumbTrail widget.
8360 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8362 * src/hildon-range-editor.c (hildon_range_editor_init),
8363 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8364 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8365 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8366 hildon_time_editor_class_init, hildon_time_editor_init),
8367 src/hildon-get-password-dialog.c (invalid_input,
8368 hildon_get_password_set_property, hildon_get_password_get_property,
8369 create_contents, hildon_get_password_dialog_set_max_characters),
8370 src/hildon-set-password-dialog.c (create_contents),
8371 src/hildon-date-editor.c (hildon_date_editor_init),
8372 src/hildon-login-dialog.c (hildon_login_dialog_init),
8373 src/hildon-number-editor.c (hildon_number_editor_init),
8374 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8375 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8376 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8377 configure option and adding the respective checks in the code.
8378 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8379 hildon_calendar_drag_data_received): fixed some build warnings.
8381 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8383 * debian/changelog: A 1.0.0 release notes.