1 2009-05-25 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-app-menu-private.h
4 * hildon/hildon-app-menu.c (item_visibility_changed)
5 (filter_visibility_changed, hildon_app_menu_show_all)
6 (hildon_app_menu_hide_all, hildon_app_menu_init):
7 Rearrange items just once when gtk_widget_show_all()/hide_all()
10 2009-05-25 Alberto Garcia <agarcia@igalia.com>
12 * hildon/hildon-app-menu.c
13 (hildon_app_menu_insert, hildon_app_menu_add_filter):
14 Don't call gtk_widget_show() on added items.
16 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
17 automatically when they're added)
19 2009-05-20 Alberto Garcia <agarcia@igalia.com>
21 * hildon/hildon-banner.c
22 (hildon_banner_realize, +hildon_banner_unrealize)
23 (+screen_size_changed, hildon_banner_class_init):
24 Redisplay the banner if the screen is rotated.
26 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
27 on transition from landscape to portrait)
29 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
31 * hildon/hildon-banner.[ch]:
32 (hildon_banner_show_information_override_dnd): remove icon_name from the
33 method definition as it is ignored.
34 * examples/hildon-banner-dnd-example.c: updated with the change on
37 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
39 * hildon/hildon-banner-private.h: new require_override_dnd and
40 overrides_dnd variables
41 * hildon/hildon-banner.h:
42 (hildon_banner_show_information_override_dnd): new method, that shows
43 the information but sets the override flag, in order to show important
45 * hildon/hildon-banner.c
46 (hildon_banner_show_information_override_dnd): new method
47 (hildon_banner_set_override_flag): new utility function
48 (hildon_banner_real_show_information): new utility function, in order to
49 generalize the current hildon_banner_show_information_override_dnd and
50 hildon_banner_show_information_override_dnd
51 * examples/Makefile.am
52 * examples/hildon-banner-dnd-example.c: New example that show how to
53 use the new hildon_banner_show_information_override_dnd
55 Fixes: NB#114874 (There is no possibility to show hildon banners with
58 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
60 * hildon/hildon-pannable-area.c: Add a comment explaining the math
61 behind hildon_pannable_calculate_vel_factor().
63 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
65 * hildon/hildon-pannable-area.c
66 (hildon_pannable_calculate_vel_factor): Correct the sum of the
69 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
71 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
72 Reduce the default value for 'scroll_time' to 1 second, since the
73 current initial scrolling takes too much time.
75 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
77 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
78 calculate velocity factor during initialization, since the properties
81 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
83 * hildon/hildon-pannable-area.c
84 (hildon_pannable_area_set_property): Calculate the velocity factor
85 after setting the deceleration property and not after.
87 2009-05-20 Alberto Garcia <agarcia@igalia.com>
89 * hildon/hildon-entry.c
90 (hildon_entry_class_init, +set_property, hildon_entry_new)
91 * hildon/hildon-check-button.c
92 (hildon_check_button_class_init)
93 (+set_property, hildon_check_button_new):
94 Make the theme size a property.
96 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
97 others) do too much in the _new function)
99 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
101 * configure.ac: post release version bump
102 * debian/changelog: post release version bump
104 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
109 * configure.ac: Bump version.
110 * debian/changelog: Updates.
112 2009-05-15 Alberto Garcia <agarcia@igalia.com>
114 * hildon/hildon-gtk.h
115 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
116 New API function to take a screenshot of a window
118 Fixes: NB#106374 (Need API to take a loading screenshot)
120 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
122 * hildon/hildon-time-selector.c
123 (update_format_policy): prevent to use hours and minutes unitialized
125 2009-05-15 Alberto Garcia <agarcia@igalia.com>
127 * hildon/hildon-window.c (hildon_window_size_request):
128 Always request the full size of the screen (minus the title bar if
129 not in fullscreen mode).
131 Fixes: NB#107486 (HildonWindow should size itself properly)
133 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
135 * hildon/hildon-note-private.h: Add idle_handler to the private data.
136 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
137 (on_show_cb), (sound_handling): Disconnect the idle handler for
138 the sound when the note is finalized to avoid possible crashes.
140 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
143 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
145 * src/hildon-animation-actor.c,
146 * src/hildon-remote-texture.c:
147 Added proper object cleanup to remove signal handler and object
148 references as HildonAnimationActor and HildonRemoteTexture
149 objects get destroyed.
151 Fixes: NB#116682 (Destroying parented animation actors when
152 parent in unmapped leads to crash)
154 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
156 Based on a patch by Christian Dywan (christian@imendio.com)
158 * doc/hildon-sections.txt:
159 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
160 * hildon/hildon-helper.h: New file size formatting method.
162 * debian/control: Depend on osso-filemanager l10n package for
163 proper localization strings.
165 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
167 * tests/Makefile.am: Include top_srcdir to make possible to build
168 tests in a different builddir.
169 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
170 on a different builddir.
172 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
174 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
175 (hildon_touch_selector_remove): Disconnect model's signal handler
178 Fixes: NB#116289 (Hildon home crashes while adding task
181 2009-05-11 Alberto Garcia <agarcia@igalia.com>
183 * hildon/hildon-button.c
184 (hildon_button_set_title, hildon_button_set_value):
185 Hide labels containing an empty string.
187 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
189 * configure.ac: post release version bump
190 * debian/changelog: post release version bump
192 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
197 * configure.ac: Bump version.
198 * debian/changelog: Updates.
200 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
202 * hildon/hildon-note-private.h: Removed sound_signal_handler
203 * hildon/hildon-note.c
204 (on_show_cb): new callback on note "show" event, this simply adds
205 a idle, with the function sound_handling
206 (sound_handling): removed the sound_signal_handler management
207 (hildon_note_init): connect note "show" event to on_show_cb
208 (hildon_note_realize): remove the connection to "expose-event"
210 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
211 device?' confirmation note)
213 2009-05-08 Alberto Garcia <agarcia@igalia.com>
215 * hildon/hildon-note.c
216 (hildon_note_new_information_with_icon_name)
217 (hildon_note_new_confirmation_with_icon_name):
218 Terminate the list of parameters in g_object_set() calls
220 Fixes: NB#115166 (Formatting memory card is not taking place)
222 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
224 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
225 "dialog-information" role for the sound being played.
227 2009-05-06 Alberto Garcia <agarcia@igalia.com>
229 * hildon/hildon-app-menu.c (hildon_app_menu_init):
230 Don't make the menu a modal window, it causes strange interactions
231 with the pointer grab and it's not really needed.
233 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
235 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
237 * hildon/hildon-touch-selector.[ch]
238 (hildon_touch_selector_optimal_size_request): function added to get a
239 optimal size request from the touch selector, when you want a dialog to
240 show as much of the selector
241 * hildon/hildon-picker-dialog.c:
242 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
243 (hildon_app_menu_class_init):
244 New "max-height-landscape" and "max-height-portrait" style properties
245 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
246 (hildon_picker_dialog_get_max_height): returns the maximum height using
247 the style properties defined and checking the current portrait/landscape
249 (_hildon_picker_dialog_set_selector): removed the set_size_request
251 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
253 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
255 * hildon/hildon-bread-crumb-trail.c:
256 * hildon/hildon-bread-crumb.c:
257 * hildon/hildon-seekbar.c:
258 Add reference to replacements for these deprecated widgets.
260 Fixes: MB#4461 (Documentation: All deprecations should mention
263 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
265 * examples/hildon-remote-texture-example.c
267 Change the include to the hildon-remote-texture in order to compile
268 properly the examples on the installed libhildon1-examples package
270 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
272 * tests/Makefile.am: Add check for HildonPickerButton.
273 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
274 (START_TEST), (create_hildon_picker_button_suite): Add three simple
275 checks for the HildonPickerButton.
276 * tests/check_test.c (configure_tests): Add the test suite.
277 * tests/test_suites.h: likewise.
279 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
281 * hildon/hildon-touch-selector.c
282 (+on_row_changed): Emit HildonTouchSelector:changed when the
283 contents of a selected row change.
284 (_create_new_column), (_hildon_touch_selector_set_model): connect
285 to GtkTreeModel:row-changed on a newly set model.
287 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
289 2009-05-05 Alberto Garcia <agarcia@igalia.com>
291 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
293 * hildon/hildon-banner.c (hildon_banner_destroy)
294 (hildon_banner_show_progress, hildon_banner_set_fraction):
295 Remove the progress bar from HildonBanner and use a progress
298 Fixes: NB#113761 (Update progress banner to use progress
301 2009-05-04 Alberto Garcia <agarcia@igalia.com>
303 * hildon/hildon-banner.c:
304 Calculate size of the banner label using the actual screen width
305 rather than using a fixed value.
307 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
310 2009-05-04 Alejandro G. Castro <alex@igalia.com>
312 * hildon/hildon-pannable-area.c,
313 (hildon_pannable_area_class_init): Fixed signals documentation
316 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
318 * configure.ac: post release version bump
319 * debian/changelog: post release version bump
321 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
326 * configure.ac: Bump version.
327 * debian/changelog: Updates.
329 2009-05-01 Alberto Garcia <agarcia@igalia.com>
331 * hildon/hildon-edit-toolbar.c
332 (hildon_edit_toolbar_init):
333 Don't let buttons in HildonEditToolbar receive focus.
335 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
336 typing on an HW arrows key)
338 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
340 * doc/Makefile.am: Fix build.
342 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
344 * doc/Makefile.am: Do not redefine content_files.
346 2009-04-30 Alberto Garcia <agarcia@igalia.com>
354 Renamed src/ to hildon/
359 Include <hildon/hildon.h> directly in all examples.
361 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
363 * src/hildon-sort-dialog.c
364 (hildon_sort_dialog_add_sort_key_with_sorting)
368 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
370 * src/Makefile.am: Move generated sources to CLEANFILES, so that
371 make distcheck passes.
373 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
375 * Makefile.am: Enable gtk-doc during distcheck.
377 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
379 * Makefile.am: Do not distribute the debian/ directory.
381 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
383 * doc/Makefile.am: Add the extra SGML files to content_files,
384 so that they are distributed properly.
386 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
388 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
391 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
393 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
394 (hildon_note_new_information_with_icon_name): Set the "icon" property
395 to preserve soundness.
397 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
399 * src/hildon-font-selection-dialog.c
400 (hildon_font_selection_dialog_set_property): Fail when the "family"
401 property is set to NULL.
403 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
405 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
408 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
410 * src/hildon-time-selector.h:
411 Added HildonTimeSelectorFormatPolicy
412 * src/hildon-time-selector.c:
413 Added PROP_TIME_FORMAT_POLICY
414 (_check_ampm_format): renamed to check_automatic_ampm_format
415 (update_format_policy), (update_format_dependant_columns): new functions
416 (hildon_time_selector_class_init)
417 (hildon_time_selector_contructor)
418 (hildon_time_selector_init)
419 (hildon_time_selector_get_property)
420 (hildon_time_selector_set_property)
421 (hildon_time_selector_get_time)
422 (hildon_time_selector_set_time)
423 * src/hildon-touch-selector.h: new file
424 * src/hildon-touch-selector.c
425 (hildon_touch_selector_emit_changed)
426 (hildon_touch_selector_block_changed)
427 (hildon_touch_selector_unblock_changed)
428 Added functions to allow to block the emission of the "changed" signal
429 * src/hildon-picker-dialog.c
430 (hildon_picker_dialog_show): call the parent show before the custom code
431 * examples/hildon-time-button-example.c
432 Modified, so now you can configure the time format using the new property
434 Added a new property "time-format-policy" that allow to choose the time
435 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
436 case it uses gconf in order to check if the time selector must use
439 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
442 2009-04-28 Alberto Garcia <agarcia@igalia.com>
444 * src/hildon-note.c (hildon_note_init):
445 Label in HildonNote must be left aligned, not centered. This
446 reverts the last commit in HildonNote.
448 Fixes: NB#112933 (text is not left aligned in confirmation dialog
449 is connectivity dialog)
451 2009-04-27 Alberto Garcia <agarcia@igalia.com>
456 * doc/hildon-sections.txt:
457 Added hildon_gtk_window_set_do_not_disturb()
459 2009-04-27 Alberto Garcia <agarcia@igalia.com>
461 * src/hildon-note.c (hildon_note_init): Center label.
463 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
466 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
471 * configure.ac: Bump version.
472 * debian/changelog: Updates.
474 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
476 * src/hildon-note-private.h: Add button-width to the private data.
477 * src/hildon-note.c (+resize_button),
478 (+hildon_note_orientation_update): methods to repack widgets on orientation
480 (screen_size_changed): Call above method for confirmation notes.
481 (hildon_note_realize): Always connect to the "screen-size" changed signal.
482 (hildon_note_rebuild): Store the original width request from buttons.
484 Fixes: NB#109635 (Confirmation notes do not support portrait)
486 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
488 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
489 when it is a progress note.
491 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
493 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
494 in the note, since there are no horizontally arranged contents.
496 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
498 * src/hildon-gtk.c (+set_flag): new generic method to
499 set/delay a flag setting in a window.
500 (hildon_gtk_window_set_progress_indicator):
501 (hildon_gtk_window_set_do_not_disturb),
502 (hildon_gtk_window_set_portrait_flags): use set_flag() to
503 avoid code redundance.
505 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
507 Based on a patch by Alberto Garcia (agarcia@igalia.com)
509 * src/hildon-gtk.c (set_clear_window_flag),
510 (do_set_progress_indicator), (do_set_do_not_disturb),
511 (do_set_portrait_flags),
512 (hildon_gtk_window_set_progress_indicator),
513 (hildon_gtk_window_set_do_not_disturb),
514 (hildon_gtk_window_set_portrait_flags):
515 Allow setting dnd-flag, progress indicator, and portrait flags
516 when the window is not realized.
518 2009-04-24 Alejandro G. Castro <alex@igalia.com>
520 * src/hildon-pannable-area.c,
521 * src/hildon-pannable-area.h: Add the hildon deprecated define to
522 the size request policy function and defines.
524 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
526 * doc/hildon-sections.txt: Add the new API.
527 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
528 method to set the portrait flags.
529 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
531 Fixes: NB#112328 (Adding helpers for setting portrait properties)
533 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
535 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
536 to allow using this method with other flags.
537 (hildon_gtk_window_set_progress_indicator): Update accordingly.
538 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
540 2009-04-22 Alberto Garcia <agarcia@igalia.com>
542 * src/hildon-touch-selector.c
543 (hildon_touch_selector_append_text_column):
544 Make the cell renderer use the smallest width possible.
546 Fixes: NB#108470 (Selected items in multiple selection are either
547 having a tick that is cut or not visible at all.)
549 2009-04-22 Alberto Garcia <agarcia@igalia.com>
551 * src/hildon-touch-selector.c
552 (hildon_touch_selector_append_text_column):
555 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
557 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
558 Use g_strdup_printf() instead of a fixed size buffer.
560 2009-04-21 Alberto Garcia <agarcia@igalia.com>
562 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
563 Close banners when a HildonAppMenu is popped up.
565 Fixes: NB#111027 (Title menu closed immediately if activated when
566 "Invalid e-mail address" banner is shown)
568 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
573 * configure.ac: Bump version.
574 * debian/changelog: Updates.
576 2009-04-20 Alberto Garcia <agarcia@igalia.com>
578 * src/hildon-banner.c (hildon_banner_realize):
579 Mark HildonBanner as supporting portrait mode.
580 Use GDK to set window properties insetad of direct Xlib calls.
582 Fixes: NB#111830 (HildonBanner should be marked as supporting
585 2009-04-20 Alberto Garcia <agarcia@igalia.com>
587 * src/hildon-note.c (hildon_note_rebuild):
588 Hide action area in information notes. Prevents text from being
589 slightly aligned to the left.
591 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
594 2009-04-20 Alberto Garcia <agarcia@igalia.com>
596 Patch by Mox Soini (ext-mox.soini@nokia.com)
598 * src/hildon-banner.c (hildon_banner_create_animation):
599 Use stylus-sized icons in animation banner.
601 Fixes: NB#111206 (stylus sized icon for animation banner)
603 2009-04-20 Alberto Garcia <agarcia@igalia.com>
607 (+hildon_gtk_window_set_do_not_disturb):
608 New API to set the do-not-disturb flag.
610 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
612 2009-04-20 Alberto Garcia <agarcia@igalia.com>
614 * examples/hildon-progress-indicator-example.c: Fix example
616 * src/hildon-gtk.c (set_clear_window_flag)
617 (hildon_gtk_window_set_progress_indicator):
618 Create a generic function for setting flags to a window.
619 Use GDK instead of direct Xlib calls.
621 2009-04-14 Alberto Garcia <agarcia@igalia.com>
623 * src/hildon-button.c (hildon_button_set_arrangement):
624 Due to NB#88126, if one of the labels is too long it will be
625 painted outside the button. The 'value' label is more likely to be
626 the longest one, so we change its packing options in order to
627 truncate it if necessary. As a side effect, the 'title' label will
628 no longer be truncated.
630 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
632 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
637 * configure.ac: Bump version.
638 * debian/changelog: Updates.
640 2009-04-13 Alejandro G. Castro <alex@igalia.com>
642 Deprecation of the hildon_pannable_area_set_size_request_policy
643 API, the only policy properly supported in gtk+ nowadays is the
646 * src/hildon-pannable-area.c,
647 (hildon_pannable_area_size_request): Added a workaround for the
648 size_request to avoid the problems of huge pixmaps in case someone
649 is still using the function.
650 * src/hildon-pannable-area.h: Deprecated the enum with the
653 Fixes: NB#110244 (Problems with the
654 hildon_pannable_area_set_size_request_policy API)
656 2009-04-08 Alejandro G. Castro <alex@igalia.com>
658 * src/hildon-pannable-area.c,
659 (hildon_pannable_area_init),
660 (hildon_pannable_area_size_request),
661 (hildon_pannable_area_style_set),
662 (hildon_pannable_draw_vscroll),
663 (hildon_pannable_draw_hscroll),
664 (hildon_pannable_area_check_scrollbars): Replaced area_width with
665 indicator_width to clarify the use of the attribute.
667 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
672 * configure.ac: Bump version.
673 * debian/changelog: Updates.
675 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
677 * src/hildon-picker-dialog.c
678 * src/hildon-touch-selector.c
679 Reverting the change that tried to avoid the hardcoded height on
680 the picker dialog, as causes problems on the hildon-touch-selector
683 Fixes: NB#110029 (selectors not scrolling to selected value)
685 2009-04-07 Alberto Garcia <agarcia@igalia.com>
687 * src/hildon-touch-selector.c: Fix typos
689 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
691 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
692 Use the event coordinates instead of gdk_window_get_pointer(). Also,
693 request more motions after using it.
695 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
697 * src/hildon-calendar.c (hildon_calendar_expose),
698 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
699 Remove unused variables.
701 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
703 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
706 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
708 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
709 Check the return value of gtk_tree_selection_get_selected()
712 2009-04-06 Alberto Garcia <agarcia@igalia.com>
714 * src/hildon-animation-actor.c
715 * src/hildon-button.c
717 * src/hildon-pannable-area.c
718 * src/hildon-picker-button.c
719 * src/hildon-program.c
720 * src/hildon-remote-texture.c
721 * src/hildon-text-view.c
722 * src/hildon-touch-selector.c
723 * src/hildon-window-stack.c
724 * src/hildon-window.c:
725 Add missing 'Since: 2.2' tags.
727 * doc/hildon-sections.txt:
728 Add some missing symbols.
730 * doc/hildon-docs.sgml:
731 New 'Other' section for HildonAnimationActor and
734 2009-04-06 Alberto Garcia <agarcia@igalia.com>
736 Patch by Iván Gómez (igomez@igalia.com)
740 * doc/hildon-docs.sgml
741 * doc/hildon-sections.txt
745 New chapters on using the Hildon library.
746 Updated the general structure of the reference manual.
747 Other minor documentation fixes.
749 * src/hildon-calendar-popup.c
750 * src/hildon-calendar.c
751 * src/hildon-controlbar.c
752 * src/hildon-date-editor.c
753 * src/hildon-dialog.c
754 * src/hildon-hvolumebar.c
755 * src/hildon-number-editor.c
756 * src/hildon-range-editor.c
757 * src/hildon-sort-dialog.c
758 * src/hildon-time-editor.c
759 * src/hildon-time-picker.c
760 * src/hildon-volumebar-range.c
761 * src/hildon-volumebar.c
762 * src/hildon-vvolumebar.c
763 * src/hildon-weekday-picker.c:
764 Add deprecation notes
766 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
767 Document 'horizontal-movement' and 'vertical-movement' signals.
769 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
774 * configure.ac: Bump version.
775 * debian/changelog: Updates.
777 2009-04-06 Alejandro G. Castro <alex@igalia.com>
779 * src/hildon-pannable-area.c,
780 (hildon_pannable_area_class_init): increased the minimum velocity.
781 (hildon_pannable_area_button_release_cb): Updated the
782 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
783 setup. Review the code to control that last event.
785 Fixes: NB#109790 (Releasing finger in pannable area easily causes
788 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
790 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
792 * src/hildon-get-password-dialog.c
793 (hildon_get_password_set_property),
794 (hildon_get_password_get_property), (create_contents):
795 * src/hildon-login-dialog-private.h:
796 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
797 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
798 (hildon_login_dialog_get_password):
799 * src/hildon-set-password-dialog-private.h:
800 * src/hildon-set-password-dialog.c
801 (hildon_set_password_set_property),
802 (hildon_set_password_get_property), (create_contents),
803 (hildon_set_password_response_change),
804 (hildon_set_password_response_set), (hildon_checkbox_toggled):
806 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
807 instead and look more Fremantle style.
809 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
811 2009-04-03 Alberto Garcia <agarcia@igalia.com>
813 * doc/hildon-sections.txt
814 * src/hildon-window-stack.h
815 * src/hildon-window-stack.c
816 (+hildon_window_stack_get_windows):
817 New API to obtain the list of windows on a stack.
819 2009-04-02 Alberto Garcia <agarcia@igalia.com>
821 * src/hildon-app-menu.c (hildon_app_menu_popup)
822 (hildon_app_menu_class_init, -hildon_app_menu_show):
823 Remove hildon_app_menu_show() and move all its checks to
824 hildon_app_menu_popup()
826 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
828 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
829 (_hildon_picker_dialog_set_selector): removed call to
830 gtk_widget_set_size_request
831 * src/hildon-touch-selector.c
832 (_create_new_column): change the pannable size request policy
834 Avoid to use a hardcoded height for the hildon picker dialog. In order
835 to get that, we needed to change the hildon pannable size request
837 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
839 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
841 * src/hildon-window.c (hildon_window_map): Check for vbox to be
842 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
845 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
847 * debian/control: Depend on osso-system-lock localization package.
848 * src/hildon-code-dialog.c: Obtain the secu_application_title
849 translation from osso-system-lock.
850 * src/hildon-get-password-dialog.c (create_contents): Do not mark
851 for translation the atk related strings, that's not necessary.
852 * src/hildon-set-password-dialog.c (create_contents): Ditto.
853 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
854 cancel button, it is not required.
856 2009-04-02 Alejandro G. Castro <alex@igalia.com>
858 * src/hildon-pannable-area.c,
859 (hildon_pannable_area_class_init): Modified the default value of
860 the overshooting max speed, we have reduced it.
862 2009-04-02 Alberto Garcia <agarcia@igalia.com>
864 * doc/hildon-sections.txt
865 * src/hildon-window-private.h
866 * src/hildon-window.h
867 * src/hildon-window.c (hildon_window_class_init)
868 (hildon_window_init, hildon_window_finalize)
869 (hildon_window_realize, hildon_window_get_property)
870 (hildon_window_set_property, hildon_window_update_markup)
871 (hildon_window_get_markup, hildon_window_set_markup):
872 New "markup" property and hildon_window_{get,set}_markup() methods.
874 * examples/hildon-stackable-window-example.c (new_window):
875 Update example to use hildon_window_set_markup()
877 Fixes: NB#106375 (Need API to retitle a window with a title
880 2009-04-01 Alejandro G. Castro <alex@igalia.com>
882 * src/hildon-pannable-area.c,
883 (hildon_pannable_area_class_init): Changed the default value of
884 the initial_hint to TRUE.
885 (hildon_pannable_area_initial_effect): Changed the initial effect,
886 not the effect is just the fade-out of the scrollbars.
888 Fixes: NB#107775 (No scrollbars can be seen when several items are
889 available in a dialog)
891 2009-04-01 Alberto Garcia <agarcia@igalia.com>
893 * src/hildon-program.c (hildon_program_update_top_most):
896 Fixes: NB#109179 (Memory leak in Hildon program)
898 2009-04-01 Alberto Garcia <agarcia@igalia.com>
900 * src/hildon-banner.c (-get_current_app_window):
901 Remove unused function.
903 2009-04-01 Alejandro G. Castro <alex@igalia.com>
905 * src/hildon-pannable-area.c: Modified the documentation of the
906 get adjustments functions to explain the problem of using the
908 (hildon_pannable_area_class_init): Improved the explanation about
911 2009-04-01 Alberto Garcia <agarcia@igalia.com>
913 * src/hildon-app-menu-private.h
914 * src/hildon-app-menu.c
915 (hildon_app_menu_class_init):
916 Bring back the 'external-border' style property
917 (hildon_app_menu_class_init, hildon_app_menu_init)
918 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
919 Set a fixed width-request for the menu, independent of the number
922 Fixes: NB#94957 (Smoothly opened application menu)
924 2009-03-30 Alberto Garcia <agarcia@igalia.com>
926 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
928 * src/hildon-banner.c
929 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
931 Make sure that the banner is correctly placed the first time it's
933 (hildon_banner_check_position, -check_fullscreen_state):
934 Show the banner in the same place no matter if the window is in
935 fullscreen mode or not.
937 Fixes: NB#107386 (Odd stacking behaviour for information banners)
939 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
941 * src/hildon-touch-selector.c (_default_print_func): reorder
942 concatenation for clarity.
944 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
946 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
947 for multicolumn selectors.
949 Fixes: NB#109099 (Memory leak in Hildon touch selector)
951 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
956 * configure.ac: Bump version.
957 * debian/changelog: Updates.
959 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
961 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
964 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
966 * configure.ac: removed libcangerra-gtk dependency
967 * debian/control: removed libcanberra-gtk dependency
968 * src/Makefile.am: removed libcanberra gtk related flags
969 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
970 context, and manage a global canberra context instead
972 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
974 2009-03-26 Alberto Garcia <agarcia@igalia.com>
976 Patch by Daniel Borgmann (danielb@openismus.com)
978 * src/hildon-edit-toolbar.c:
979 Adjust the left padding.
980 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
981 Paint background of the edit toolbar.
983 Fixes: NB#107897 (Patch to make editmodetoolbar background
984 themeable and adjust margin)
986 2009-03-25 Alberto Garcia <agarcia@igalia.com>
988 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
990 * src/hildon-program.c (hildon_program_update_top_most):
991 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
993 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
994 change when the user tasks in/out of an application)
996 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
998 * configure.ac: added libcangerra-gtk dependency
999 * debian/control: added libcanberra-gtk dependency
1000 * src/Makefile.am: added libcanberra gtk related flags
1001 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1004 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1006 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1008 * src/hildon-program.c (hildon_program_remove_window)
1009 (hildon_program_add_window): Add checks for the window
1010 parameter. Don't decrease the window counter if the window is not
1013 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1015 * src/hildon-pannable-area.c,
1016 (hildon_pannable_area_realize): Fixed position of the event_window
1017 in the realize method.
1019 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1021 * src/hildon-app-menu-private.h
1022 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1023 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1024 (hildon_app_menu_key_press, hildon_app_menu_init)
1025 (hildon_app_menu_finalize):
1026 Make sure that all idle functions are removed when the widget is
1029 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1031 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1036 * configure.ac: Bump version.
1037 * debian/changelog: Updates.
1039 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1041 * src/hildon-entry.c
1042 (+hildon_entry_show_placeholder),
1043 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1044 that replace hildon_entry_update_contents().
1045 (hildon_entry_set_text),
1046 (hildon_entry_set_placeholder),
1047 (hildon_entry_focus_in_event),
1048 (hildon_entry_focus_out_event): Determine when it is needed
1049 either to show or hide the placeholder and call the above methods.
1051 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1052 when the placeholder text is already set)
1054 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1056 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1057 simple GdkPixbufAnim using the new icons for the banner.
1058 (hildon_banner_show_animation): Use the above mentioned method to
1059 create the animation widget.
1061 Fixes: NB#103564 (Make hildon animation banner use individual
1062 image files as the animation)
1064 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1066 * src/hildon-pannable-area.c,
1067 (hildon_pannable_leave_notify_event): Check if the child is NULL
1068 to avoid sending the leave.
1070 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1072 * src/hildon-pannable-area.c,
1073 (hildon_pannable_area_class_init),
1074 (hildon_pannable_leave_notify_event): Added a handler of the
1075 leave-notify-signal to consider when no motion notify before
1078 Fixes: NB#107494 (Items stay selected when clicking and moving
1079 away when inside pannable area)
1081 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1086 * configure.ac: Bump version.
1087 * debian/changelog: Updates.
1089 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1091 Patch by Alberto Garcia (agarcia@igalia.com)
1093 * src/hildon-date-button.c,
1094 (hildon_date_button_class_init),
1095 (hildon_date_button_init): Removed the construct property handling
1096 and created a default selector in the init method.
1097 * src/hildon-picker-button.c,
1098 (hildon_picker_button_class_init): Removed the construct flag of the
1101 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1103 * src/hildon-main.c (hildon_init):
1104 Don't allow hildon_init() to be called more than once.
1106 Fixes: NB#106607 (hildon_init should issue error message upon
1109 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1111 * examples/hildon-pannable-area-touch-list-example.c
1112 * examples/hildon-pannagle-area-touch-grid-example.c
1113 * examples/hildon-edit-toolbar-example.c
1114 * examples/hildon-touch-selector-multi-cells-example.c
1115 Removed the call to gtk_rc_parse_string, as it is not required since
1118 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1120 * src/hildon-pannable-area.c,
1121 (hildon_pannable_area_class_init): Modified the default panning
1122 threshold of the widget to 6px.
1124 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1125 than the threshold value ) within the button is not sending the
1128 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1130 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1131 for the treeview in the new column. This way, the touch list will never
1134 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1135 be selected manually for the HW keys to work)
1137 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1139 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1140 comparison instead of using strcmp(). Fixes a compiler warning as well.
1142 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1144 * doc/hildon-docs.sgml: Do not set the library version in the
1145 document title, use the releaseinfo tag for that purpose instead.
1147 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1149 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1150 Do not jump to the first item if the text in the entry is removed.
1152 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1157 * configure.ac: Bump version.
1158 * debian/changelog: Updates.
1160 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1162 * src/hildon-entry.c (hildon_entry_refresh_contents):
1163 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1164 Use "ReversedSecondaryTextColor" for the placeholder text.
1166 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1168 * src/hildon-text-view.c: Fix compilation warning.
1170 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1172 * src/hildon-button.c (hildon_button_class_init): Don't make
1173 "title" and "value" construction properties, to prevent them from
1174 overwriting labels set from derived classes.
1176 * src/hildon-picker-button.c
1177 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1178 (hildon_picker_button_class_init): Make touch-selector a
1179 construction property.
1181 * src/hildon-date-button.c (hildon_date_button_class_init)
1182 (+hildon_date_button_constructed): Add a default date selector if
1185 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1187 * src/hildon-touch-selector.c: Small documentation fixes.
1189 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1191 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1193 * src/hildon-entry.c (hildon_entry_refresh_contents),
1194 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1195 widget name, set the logical color directly instead and a boolean
1196 showing_placeholder instead.
1197 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1198 use the widget name here either.
1200 Fixes: NB#105678 (HildonTextView should use logical colours
1201 instead of setting widget name)
1203 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1205 Patch by Daniel Elster (danielk@openismus.com)
1207 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1208 Add user_data parameter.
1209 (hildon_touch_selector_set_print_func_full): New function akin
1210 hildon_touch_selector_set_print_func() but with support for user
1211 data and a destroy callback.
1212 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1213 to clean up the print function user data.
1214 (hildon_touch_selector_class_init): Install dispose function.
1215 (HildonTouchSelectorPrivate::print_user_data),
1216 (HildonTouchSelectorPrivate::print_destroy_func): New private
1218 (hildon_touch_selector_init): Initialize new private members.
1219 (hildon_touch_selector_get_current_text): Pass along user data
1220 to the print function.
1221 (_default_print_func): Add dummy user_data to parameter list.
1222 * hildon-date-selector.c (_custom_print_func): ditto,
1223 * hildon-time-selector.c (_custom_print_func): ditto,
1224 * hildon-touch-selector-entry.c
1225 (hildon_touch_selector_entry_print_func): ditto.
1227 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1229 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1231 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1233 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1235 * src/hildon-pannable-area.c,
1236 (hildon_pannable_area_init),
1237 (hildon_pannable_area_button_press_cb),
1238 (hildon_pannable_area_motion_notify_cb): We have added code to
1239 handle the leave and enter events when using the motion events.
1241 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1243 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1245 * src/hildon-date-button.c (hildon_date_button_get_date)
1246 (hildon_date_button_set_date): Make sure that the button has a
1249 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1251 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1253 * src/hildon-pannable-area.c,
1254 (hildon_pannable_area_class_init),
1255 (hildon_pannable_area_calculate_velocity): Modify the use of the
1256 force and adapt the value.
1258 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1260 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1261 (hildon_app_menu_class_init): Hide the menu if it receives a
1262 delete-event, but don't destroy it
1264 Fixes: NB#104485 (Not able to address the call when application
1265 menu is opened at background)
1267 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1269 * src/hildon-app-menu.c
1270 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1271 Remove the "external-border" style property, let the menu take its
1272 natural size (or the one set by the window manager)
1273 (hildon_app_menu_repack_items):
1274 Don't reshow the menu, avoid flickers.
1276 Partially fixes NB#94957 (Smoothly opened application menu)
1278 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1283 * configure.ac: Bump version.
1284 * debian/changelog: Updates.
1286 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1288 * src/hildon-pannable-area.c,
1289 (hildon_pannable_area_motion_notify_cb): We control that the
1290 direction error margin is used just in case the movement is
1291 allowed in the other direction.
1293 Fixes: NB#105012 (buttons inside a pannable area not getting
1294 release event when dragging/releasing)
1296 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1298 * src/hildon-pannable-area.c,
1299 (hildon_pannable_area_class_init),
1300 (hildon_pannable_area_get_property),
1301 (hildon_pannable_area_set_property),
1302 (hildon_pannable_area_initial_effect),
1303 (hildon_pannable_axis_scroll),
1304 (hildon_pannable_area_button_release_cb): Reviewed the
1305 overshooting effect, now it has its own max
1306 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1307 speed when bouncing.
1309 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1314 * configure.ac: Bump version.
1315 * debian/changelog: Updates.
1317 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1319 * src/hildon-pannable-area.c,
1320 (hildon_pannable_area_class_init): Changed the max speed, now
1321 users can launch the widget very fast. Reduced the default force,
1322 that way it is easier to control the launch speed.
1324 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1326 * src/hildon-pannable-area.c,
1327 (hildon_pannable_area_button_release_cb): Removed this check
1328 because it causes problems when the device is overloaded.
1330 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1332 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1333 add a current_text field to store the text entered in the
1334 touch selector entry.
1335 (_clean_current_selection): clean up the current text as well.
1336 (_save_current_selection), (_restore_current_selection):
1337 Save/restore the text in the entry if the selector is a
1338 HildonTouchSelectorEntry.
1340 Fixes: NB#102541 (value entered in the touch selector entry is not
1341 shown when opened for second time)
1343 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1345 * doc/hildon-sections.txt:
1346 * src/hildon-touch-selector-entry.c
1347 (+hildon_touch_selector_entry_get_entry):
1348 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1350 Fixes: NB#104815 (I need accessor to the entry inside
1351 HildonTouchSelectorEntry)
1353 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1355 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1356 (hildon_app_menu_class_init):
1357 New "filter-vertical-spacing" style property.
1359 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1361 * src/hildon-find-toolbar.c
1362 (hildon_find_toolbar_emit_close)
1363 (hildon_find_toolbar_emit_invalid_input)
1364 (hildon_find_toolbar_entry_activate):
1365 Use g_signal_emit() instead of g_signal_emit_by_name()
1367 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1369 Patch by Mox Soini (ext-mox.soini@nokia.com)
1371 * tests/TEST-CASES.txt
1372 * tests/check-hildon-banner.c
1373 * tests/check-hildon-note.c
1374 * src/hildon-banner.c
1375 * src/hildon-code-dialog.c
1376 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1377 * src/hildon-time-editor.c
1378 * examples/hildon-lookup-example.c (main):
1379 Replace obsolete icon names with new ones.
1381 * src/hildon-find-toolbar-private.h:
1382 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1383 (-hildon_find_toolbar_emit_search):
1384 Remove find button and change icon of close button.
1386 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1388 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1390 * src/hildon-time-button.c (hildon_time_button_new_step):
1391 Use the "touch-selector" property to set the selector directly
1392 when creating the object.
1394 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1396 Added a new example application that allows tuning the pannable
1397 area and replaced defines with properties in order to simplify the
1398 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1399 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1400 PROP_DIRECTION_ERROR_MARGIN.
1402 * examples/hildon-pannable-area-tuning-example.c: New example
1404 * src/hildon-pannable-area.c,
1405 (hildon_pannable_area_class_init),
1406 (hildon_pannable_area_init),
1407 (hildon_pannable_area_get_property),
1408 (hildon_pannable_area_set_property),
1409 (hildon_pannable_area_launch_fade_timeout),
1410 (hildon_pannable_area_adjust_value_changed),
1411 (hildon_pannable_axis_scroll),
1412 (hildon_pannable_area_motion_notify_cb),
1413 (hildon_pannable_area_scroll_cb),
1414 (hildon_pannable_area_button_release_cb): We have converted some
1415 of the defines that control the widget to properties to simplify
1418 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1420 * src/hildon-app-menu.c (hildon_app_menu_map)
1421 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1422 so it's closed if a new window appears.
1424 Fixes: NB#104485 (Not able to address the call when application
1425 menu is opened at background)
1427 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1429 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1430 missing 'break' statement in in 'case' construct to avoid
1433 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1435 * src/hildon-touch-selector-entry.c
1436 (hildon_touch_selector_entry_get_property),
1437 (hildon_touch_selector_entry_set_property): Add missing 'break'
1438 statements in in 'case' constructs to avoid incorrect warnings.
1440 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1442 * src/hildon-time-editor.c
1443 (hildon_time_editor_get_time_separators): Do not crash if
1444 the first label is NULL.
1446 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1448 * src/hildon-date-selector.c (_month_days): Check for month to be
1449 strictly less than 12, since otherwise we may overrun the array.
1451 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1453 * src/hildon-date-button.c (+hildon_date_button_new_full)
1454 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1455 (hildon_date_button_init): Set the date selector using a
1456 construction property, to make it happen after HildonButton's
1457 "value" property is set.
1459 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1460 current date by default)
1462 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1464 * doc/hildon-sections.txt
1465 * src/hildon-program.c
1466 * src/hildon-stackable-window.c
1467 * src/hildon-window.c:
1468 Documentation updates
1470 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1472 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1473 (hildon_window_stack_new, +hildon_window_stack_set_property)
1474 (+hildon_window_stack_get_property)
1475 (hildon_window_stack_class_init)
1476 (+hildon_window_stack_set_window_group)
1477 (+hildon_window_stack_get_window_group):
1478 Make the window group a construction property.
1480 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1482 * doc/hildon-sections.txt
1483 * src/hildon-stackable-window-private.h
1484 * src/hildon-stackable-window.h
1485 * src/hildon-stackable-window.c
1486 (-hildon_stackable_window_set_app_menu)
1487 (-hildon_stackable_window_get_app_menu)
1488 (-hildon_stackable_window_toggle_menu)
1489 (-hildon_stackable_window_finalize)
1490 (hildon_stackable_window_class_init)
1491 (hildon_stackable_window_init)
1492 * src/hildon-window-private.h
1493 * src/hildon-window.h
1494 * src/hildon-window.c (hildon_window_init)
1495 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1496 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1497 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1498 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1499 Moved all HildonAppMenu code to HildonWindow. The menu does not
1500 require a HildonStackableWindow anymore.
1502 * src/hildon-app-menu.c
1503 * src/hildon-program.c
1504 * examples/hildon-app-menu-example.c (main):
1505 Update examples and documentation to reflect HildonAppMenu
1508 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1510 * src/hildon-remote-texture.c
1511 * src/hildon-animation-actor.c:
1512 Don't include unused private headers.
1514 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1516 * src/hildon-program-private.h
1517 * src/hildon-program.c
1518 (hildon_program_set_common_menu)
1519 (hildon_program_get_common_menu)
1520 (hildon_program_set_common_app_menu)
1521 (hildon_program_get_common_app_menu):
1522 Change common menu pointers from GtkWidget* to GtkMenu* and
1523 HildonAppMenu* to avoid unnecessary casts.
1525 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1527 * src/hildon-window.c (hildon_window_set_main_menu):
1528 Removed incorrect 'Since:' tag
1530 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1532 * src/hildon-pannable-area.c,
1533 (hildon_pannable_area_calculate_velocity): We use now the
1534 RATIO_TOLERANCE here to check the distance, fixed typo in the
1536 (hildon_pannable_area_motion_notify_cb): We have to set the type
1537 and time even if we are not sending the motion.
1539 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1541 * doc/hildon-sections.txt
1542 * src/hildon-app-menu.h
1543 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1544 (+hildon_app_menu_get_filters): New methods to get the contents of
1547 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1550 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1552 * src/hildon-app-menu.c (hildon_app_menu_popup):
1555 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1557 * src/hildon-window.h
1558 * src/hildon-window.c (+hildon_window_get_main_menu)
1559 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1560 and deprecated hildon_window_get_menu().
1562 * src/hildon-stackable-window.h
1563 * src/hildon-stackable-window.c
1564 (+hildon_stackable_window_set_app_menu)
1565 (+hildon_stackable_window_get_app_menu)
1566 (hildon_stackable_window_set_main_menu): Created
1567 hildon_stackable_window_{get,set}_app_menu() and deprecated
1568 hildon_stackable_window_set_main_menu().
1570 * doc/hildon-sections.txt
1571 * examples/hildon-app-menu-example.c (main)
1572 * src/hildon-app-menu.c
1573 * src/hildon-program.c:
1574 Updated examples and documentation.
1576 Fixes: NB#103758 (No way to obtain a menu from a
1577 HildonStackableWindow)
1579 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1584 * configure.ac: Bump version.
1585 * debian/changelog: Updates.
1587 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1589 * examples/hildon-remote-texture-example.c: Include
1590 hildon-remote-texture.h explicitely.
1591 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1592 applications not defining _XOPEN_SOURCE which don't require this header.
1594 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1596 * doc/hildon-sections.txt
1597 * src/hildon-app-menu.h
1598 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1599 New function to pop up a HildonAppMenu
1601 * src/hildon-stackable-window.c
1602 (hildon_stackable_window_toggle_menu):
1603 Use hildon_app_menu_popup() to show the menu.
1605 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1607 * src/hildon-app-menu.c (hildon_app_menu_show)
1608 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1609 menu if there's another window between it and its parent window.
1611 Fixes: NB#100468 (Application menu window is launched even when a
1612 new secondary-window/dialog is pending to be shown/realized)
1614 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1616 * src/hildon-window-stack.c (hildon_window_stack_push)
1617 (hildon_window_stack_pop_and_push):
1618 Don't forget to push/pop the first window.
1619 Reverse the window list before calling _push_list()
1621 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1623 * src/hildon-picker-button.h
1624 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1625 Remove "value_changed" slot to avoid ABI breakage
1627 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1629 * src/hildon-pannable-area.c,
1630 (hildon_pannable_area_realize),
1631 (hildon_pannable_area_unrealize),
1632 (hildon_pannable_draw_vscroll),
1633 (hildon_pannable_draw_hscroll): Changed the method to handle the
1634 GC used to draw the transparent scrollbar, this way we avoid
1635 creating the GC all the time when drawing the scrollbars.
1637 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1639 * src/hildon-pannable-area.c,
1640 (hildon_pannable_area_init),
1641 (hildon_pannable_area_remove): Removed some unnecessary casts.
1642 (hildon_pannable_area_dispose): Disconnected some signals before
1643 releasing the adjustments.
1645 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1647 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1648 Make sure that all widgets contained in the toolbar are shown.
1650 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1652 * doc/hildon-sections.txt
1653 * src/hildon-picker-button.h
1654 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1655 (_selection_changed, hildon_picker_button_on_dialog_response)
1656 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1657 New hildon_picker_button_value_changed() method.
1660 * src/hildon-picker-button-private.h
1661 * src/hildon-picker-button.c (hildon_picker_button_init)
1662 (+hildon_picker_button_disable_value_changed): Add protected
1663 function for disabling the "value-changed" signal.
1665 * src/hildon-date-button.c (hildon_date_button_set_date):
1666 Don't emit "value-changed" for each one of the three columns.
1668 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1669 before actual change of values)
1671 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1673 * src/hildon-pannable-area.c,
1674 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1675 for the treeview overshooting.
1677 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1679 * src/hildon-banner.c (+hildon_banner_bind_style):
1680 Renamed from hildon_banner_bind_label_style(), now naming the
1681 banner itself as well.
1682 (hildon_banner_show_information),
1683 (hildon_banner_show_information_with_markup),
1684 (hildon_banner_show_animation), (hildon_banner_show_progress):
1685 Name the widgets and labels, based on their type.
1687 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1690 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1692 * src/hildon-note.c (hildon_note_set_property): call
1693 hildon_note_rename() on HildonNote:note-type set.
1694 (hildon_note_rename): Name the note and its label, based on the
1695 HildonNote:note-type property.
1697 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1700 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1702 * src/hildon-pannable-area.c,
1703 (hildon_pannable_area_class_init),
1704 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1705 panning parameters, increased SPS and deceleration factor. Added
1706 also a margin to control fake directions.
1708 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1710 Patch by Sven Herzberg (sven@imendio.com)
1712 * configure.ac: Add missing AM_PROG_CC_C_0
1713 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1715 See NB#101420 (Update unit tests and fix make check)
1717 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1719 This patch was applied before but reverted because it caused
1720 problems, we have changed the main condition and tested the
1721 regressions we detected before and they work ok. We have done a
1722 complete review of the topmost algorithm in order to get a more
1725 * src/hildon-pannable-area.c,
1726 (hildon_pannable_area_get_topmost): Added a new parameter to
1727 filter the the windows that do not include those events.
1728 (hildon_pannable_area_button_press_cb),
1729 (hildon_pannable_area_button_release_cb),
1730 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1731 topmost function, we have added the new parameter.
1733 Fixes: NB#97458 (Pannable area prevents propagation of button
1736 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1738 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1739 if all columns in the selector have an item selected.
1740 (_on_dialog_response): Stop "response" signal emission if there is
1741 any selector column without selected items.
1743 Fixes: NB#101889 (Picker dialog should not close when nothing is
1744 selected in multiple selection list)
1746 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1748 * src/hildon-font-selection-dialog.c
1749 (hildon_font_selection_dialog_class_init),
1750 (hildon_font_selection_dialog_init): Remove the preview
1751 button and dialog, since previewing with default theming is likely
1752 to be overcomplicated. The :preview property has now no effect.
1753 Update documentation blurbs to inform about this.
1755 Fixes: NB#92297 (Preview content is not clearly visible for
1756 default colour text)
1758 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1760 Reviewed the geometry that handles the children size and
1761 scrollbar, now it tries a size and reviews the results depending
1762 on the scrollbars visibility.
1764 * src/hildon-pannable-area.c,
1765 (hildon_pannable_area_realize): Fixed a typo.
1766 (hildon_pannable_area_child_allocate_calculate): Added this
1767 function to calculate the child allocation.
1768 (hildon_pannable_area_size_allocate): Reviewed the allocation
1770 (hildon_pannable_area_check_scrollbars),
1771 (hildon_pannable_area_refresh): Refactored refresh function, this
1772 way we can call the code handling the scrollbars without causing a
1773 size_request, it is interesting in the allocate.
1774 (hildon_pannable_area_init): Replace the callbacks of the
1775 value_changed and changed signals to propertly deal with the
1777 (hildon_pannable_area_grab_notify),
1778 (hildon_pannable_area_initial_effect),
1779 (hildon_pannable_area_launch_fade_timeout),
1780 (hildon_pannable_area_adjust_changed),
1781 (hildon_pannable_area_adjust_value_changed),
1782 (hildon_pannable_area_redraw),
1783 (hildon_pannable_area_button_press_cb),
1784 (hildon_pannable_area_button_release_cb),
1785 (hildon_pannable_area_scroll_cb),
1786 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1787 code and use the new functions adjust_changed and
1788 adjust_value_changed.
1790 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1791 Contact editor dialog)
1793 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1798 * configure.ac: Bump version.
1799 * debian/changelog: Updates.
1801 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1803 * src/hildon-pannable-area.c,
1804 (hildon_pannable_area_get_topmost),
1805 (hildon_pannable_area_button_press_cb),
1806 (hildon_pannable_area_button_release_cb),
1807 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1808 topmost function adding the event mask. We have to try a
1809 differente approach because it is still causing problems (NB#9745,
1812 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1814 * src/hildon-banner.c:
1815 Update the maximum width of timed banners.
1816 (force_to_wrap_truncated): Enforce the maximum text width if the
1819 Fixes: NB#102413 (The text margins (wrapping) in information
1820 banner should be HILDON_MARGIN_TRIPLE)
1822 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1824 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1826 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1827 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1828 bound when calculating the scroll indicator position.
1830 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1831 treat ->lower correctly)
1833 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1835 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1836 expose event handling, since it is not necessary to draw the focus
1839 Fixes: NB#102467 (Do not show highlight on the text in
1842 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1844 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1845 full height of the toolbar for the button and the label.
1847 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1849 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1850 padding before the label and after the button.
1852 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1854 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1856 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1857 Add a GtkVSeparator between the button and the back arrow.
1858 Let the button have automatic size.
1859 Set a name to the widget for theming handling.
1861 Fixes: NB#101793 (Make edit toolbar the same height as window
1862 title bar (use title area theming))
1864 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1866 * src/hildon-helper.c (attach_new_color_element): Fix memory
1869 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1871 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1873 * examples/hildon-button-example.c (common_buttons_window): Don't
1876 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1878 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1879 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1881 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1883 * src/hildon-gtk.c: Check that the window is realized.
1885 Fixes: NB#102225 (Crash setting the progress indicator to a non
1888 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1890 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1891 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1892 instead of modifying the one in the widget style.
1894 Fixes: NB#101043 (Second row of all the command button are
1895 displayed in transparent mode.)
1897 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1899 * src/hildon-date-button.c
1900 * src/hildon-time-button.c: Add gettext macros
1902 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1904 * src/hildon-date-button.c (hildon_date_button_new):
1905 * src/hildon-time-button.c (hildon_time_button_new_step):
1906 Use new logical strings to set the button default title.
1908 Fixes: NB#99915 (Date and Time options are not localised in Date
1911 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1913 * src/hildon-pannable-area.c
1914 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1915 the PANNING_THRESHOLD.
1917 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1919 * src/hildon-pannable-area.c,
1920 (hildon_pannable_area_class_init): Increased the maximum speed.
1921 (hildon_pannable_area_get_property),
1922 (hildon_pannable_area_set_property),
1923 (hildon_pannable_area_timeout): Added a new low friction mode, it
1924 allows the user avoid friction when launching the widget fast
1925 enough. It is interesting to traverse long lists.
1927 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1929 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1930 (+hildon_stackable_window_delete_event): Ignore delete events if
1931 the window is not the topmost one.
1933 Fixes: NB#101698 (Back button long press and delete-event handling)
1935 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1937 * src/hildon-pannable-area.c,
1938 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1939 gtk-dnd-drag-threshold, it was too big. We have defined our own
1940 dnd define and set a smaller value: PANNIG_THRESHOLD.
1942 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1944 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1945 user-defined icons, use always the default one.
1947 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1949 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1951 This patch was applied before but reverted because it caused
1952 problems, we have changed the main condition and tested the
1953 regressions we detected before and they work ok.
1955 * src/hildon-pannable-area.c,
1956 (hildon_pannable_area_get_topmost): Added a new parameter to
1957 filter the the windows that do not include those events. Added
1958 also a condition when finding the window to filter windows that do
1959 not ask for those events.
1960 (hildon_pannable_area_button_press_cb),
1961 (hildon_pannable_area_button_release_cb),
1962 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1963 topmost function, we have added the new parameter.
1965 Fixes: NB#97458 (Pannable area prevents propagation of button
1968 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1970 * tests/check-hildon-color-button.c (START_TEST): do not leak
1973 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1975 * src/hildon-font-selection-dialog.c
1976 (hildon_font_selection_dialog_get_preview_text): Return NULL
1977 instead of FALSE on the g_return_val_if_fail().
1979 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1981 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1982 * src/hildon-date-selector.c
1983 (hildon_date_selector_select_current_date):
1984 Do not compare unsigned integers to be greater than or equal 0,
1985 because it's always TRUE.
1987 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1989 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1990 (hildon_date_selector_constructor): Do not select the current
1991 date until we are handle the "changed" signal, to avoid having bogus
1992 elements in the days model.
1994 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1996 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1997 for num_days, since _month_days() can return a negative value.
1999 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2001 * src/hildon-caption.c (hildon_caption_size_allocate):
2002 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2003 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2005 Initialize allocation variables to 0, to avoid eventually using
2006 unitialized variables.
2008 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2010 * src/hildon-bread-crumb-trail.c
2011 (hildon_bread_crumb_trail_size_allocate):
2012 * src/hildon-calendar.c (hildon_calendar_set_background):
2013 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2014 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2015 * src/hildon-seekbar.c (hildon_seekbar_init):
2016 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2017 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2018 * src/hildon-touch-selector-entry.c
2019 (hildon_touch_selector_get_text_from_model):
2020 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2021 * src/hildon-window.c (hildon_window_finalize):
2023 Remove many unused variables.
2025 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2027 * src/hildon-seekbar.c: (hildon_seekbar_init),
2028 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2030 Remove unnecessary g_assert() calls.
2032 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2034 * src/hildon-caption.c: (hildon_caption_expose),
2035 (hildon_caption_set_property), (hildon_caption_init),
2036 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2037 (hildon_caption_size_request), (hildon_caption_size_allocate),
2038 (hildon_caption_forall), (hildon_caption_set_separator),
2039 (hildon_caption_activate), (hildon_caption_set_child_expand),
2040 (hildon_caption_set_label_text),
2041 (hildon_caption_get_label_alignment):
2043 Remove unnecessary g_assert() calls.
2045 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2047 * src/hildon-banner.c
2048 (hildon_banner_map, hildon_banner_init): Make banner temporary
2049 before mapping it to avoid closing other temporary windows, but
2050 make it non-temporary afterwards to avoid being closed by other
2051 non-temporary windows.
2052 (-hildon_banner_client_event, hildon_banner_init):
2053 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2055 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2058 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2060 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2063 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2065 * src/hildon-remote-texture.c
2066 * src/hildon-remote-texture.h
2067 * src/hildon-remote-texture-private.h
2068 * examples/hildon-remote-texture-example.c:
2069 Updates/fixes to remote-texture and its example.
2071 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2073 Patch by Mox Soini (ext-mox.soini@nokia.com)
2075 * src/hildon-code-dialog.c: Update logical id.
2076 * src/hildon-set-password-dialog.c: Update logical id.
2078 Fixes: NB#100646 (Logical strings is shown for ok in set
2079 password,Password needed dialogs)
2081 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2084 * src/hildon-remote-texture.c
2085 * src/hildon-remote-texture.h
2086 * src/hildon-remote-texture-private.h
2088 Added remote texture widget (for Clutter shared memory textures)
2090 * examples/hildon-remote-texture-example.c
2091 * examples/Makefile.am
2092 Added example file for remote texture usage
2094 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2096 * configure.ac: post release version bump.
2097 * debian/changelog: version bump.
2099 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2104 * configure.ac: Bump version.
2105 * debian/changelog: Updates.
2107 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2109 * src/hildon-date-selector.c (hildon_date_selector_init)
2110 (hildon_date_selector_constructor): Don't connect to the "changed"
2111 signal until the selector is completely constructed.
2113 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2115 * src/hildon-touch-selector.c: (_create_new_column),
2116 (hildon_touch_selector_append_column),
2117 (hildon_touch_selector_set_column_selection_mode),
2118 (hildon_touch_selector_set_active),
2119 (hildon_touch_selector_select_iter):
2120 Emit the HildonTouchSelector::changed signal every time selection
2121 is changed in any of the methods above. This behavior was already
2122 documented but not fully functional.
2124 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2125 selection is programmatically changed)
2127 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2129 * doc/hildon-sections.txt: Remove obsolete icon
2130 sizes from here as well.
2132 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2134 * examples/hildon-stackable-window-example.c (add_window): Remove
2137 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2139 * src/hildon-app-menu.c
2140 (hildon_app_menu_show): Check whether the parent window of a menu
2141 is topmost before popping it up.
2143 Fixes: NB#100468 (Application menu window is launched even when a
2144 new secondary-window/dialog is pending to be shown/realized.)
2146 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2148 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2151 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2153 Patch by Mox Soini (ext-mox.soini@nokia.com)
2155 * src/hildon-banner.c: (hildon_banner_show_animation):
2156 use stylus size instead of obsolete note size.
2157 * src/hildon-defines.h: Update icon sizes.
2159 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2161 * src/hildon-touch-selector-entry.c:
2162 (hildon_touch_selector_entry_init): Disable unsupported
2164 (hildon_touch_selector_entry_get_text_column): Emit a warning
2165 if an unsupported input modes is used and explicitile state
2166 these modes in the documentation.
2168 Fixes: NB#99802 (Hildon touch selector entry not working properly
2169 for some of the input modes)
2171 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2173 * src/hildon-pannable-area.c,
2174 (hildon_pannable_area_init): Added the changed signal handlers of
2177 Fixes: NB#100320 (HildonPannableArea does not listen to
2178 GtkAdjustment "change" signals)
2180 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2182 * doc/hildon-sections.txt
2183 * src/hildon-window-private.h
2184 * src/hildon-window.h
2185 * src/hildon-window.c (hildon_window_init)
2186 (hildon_window_realize, hildon_window_unrealize)
2187 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2188 (hildon_window_size_request, hildon_window_size_allocate)
2189 (hildon_window_forall, hildon_window_show_all)
2190 (hildon_window_destroy, +paint_edit_toolbar)
2191 (+hildon_window_set_edit_toolbar):
2192 New hildon_window_set_edit_toolbar() method, to add a
2193 HildonEditToolbar to a window without having to pack it manually.
2195 Reorganize hildon_window_size_allocate()
2197 * src/hildon-edit-toolbar.c: Update documentation.
2199 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2200 example to use the new API.
2202 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2204 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2206 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2207 Remove from stack before calling parent's hide.
2209 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2211 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2212 window is removed from the middle of the stack, update the
2213 transiency of the previous one.
2215 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2218 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2220 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2221 block/unblock the signal handler if it's not actually being used.
2222 Fixes some critical warnings.
2224 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2226 Based on a patch by Iván Gómez (igomez@igalia.com)
2228 * src/hildon-banner.c
2232 * src/hildon-pannable-area.c
2233 * src/hildon-picker-dialog.c
2234 * src/hildon-wizard-dialog.h
2235 * src/hildon-wizard-dialog.c: Documentation updates.
2237 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2238 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2240 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2242 * configure.ac: post release version bump.
2243 * debian/changelog: version bump.
2245 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2250 * configure.ac: Bump version.
2251 * debian/changelog: Updates.
2253 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2255 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2256 a stock icon nor change the relief of the back arrow.
2258 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2259 graphics from theme)
2261 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2263 * src/hildon-button.c (hildon_button_set_alignment): Use
2264 priv->alignment if the button has no child yet.
2266 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2268 * src/hildon-button.c: (hildon_button_init): Set the
2269 button style during initialization to give it the proper
2272 Fixes: NB#99713 (HildonButton value label color is wrong)
2274 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2276 * src/hildon-touch-selector.c: Document
2277 hildon_touch_selector_center_on_selected()
2279 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2281 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2282 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2283 all menu items, but not the menu itself.
2284 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2285 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2286 items after adding them to the menu so keyboard accelerators work.
2287 (hildon_app_menu_show): Don't show the menu if it contains items
2288 but none of them are visible.
2290 * examples/hildon-app-menu-example.c (create_menu): Use
2291 gtk_widget_show_all() to show all menu items.
2293 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2295 * src/hildon-picker-dialog.c:
2296 (-_update_title_on_selector_changed_cb),
2297 (-_dialog_update_title): Removed.
2298 (_select_on_selector_changed_cb), (_on_dialog_response),
2299 (on_selector_columns_changed): Do not update the dialog title.
2300 (setup_interaction_mode): Do not connect to
2301 HildonTouchSelector::changed signal if there's a "done" button, as
2302 the dialog title doesn't need to be updated.
2304 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2307 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2309 Patch by Kristian Rietveld (kris@imendio.com)
2311 * src/hildon-touch-selector.c: (_create_new_column): Use new
2312 GtkTreeView::hildon-row-tapped signal to react to user interactions
2313 instead of ::changed.
2315 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2316 with some dynamic tree model)
2318 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2320 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2321 (+screen_size_changed, +label_size_request)
2322 (hildon_note_class_init): Make the Hildon information note have a
2323 minimum height, and make its text hvae a maximum width.
2325 Fixes: NB#98614 (Hildon information note (background) should have
2326 minimum height and maximum text width)
2328 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2330 * src/hildon-banner.h
2331 * src/hildon-banner.c (hildon_banner_show_information)
2332 (hildon_banner_show_informationf)
2333 (hildon_banner_show_information_with_markup): Update documentation
2334 to reflect that the icon_name parameter is not used anymore.
2335 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2336 Remove all code from these functions and mark them as deprecated.
2337 (hildon_banner_show_progress): Mark as deprecated.
2339 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2341 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2343 * src/hildon-pannable-area.c,
2344 (hildon_pannable_area_class_init),
2345 (tranparency_color),
2346 (hildon_pannable_draw_vscroll),
2347 (hildon_pannable_draw_hscroll),
2348 (hildon_pannable_area_expose_event): Added a new way to render the
2349 scrollbars of the pannable area avoiding using cairo at all. This
2350 way we improve the performance of the pannable area rendering. The
2351 cairo rendering procedure is still in the code, we can control
2352 which one to use changing the value of the define
2353 USE_CAIRO_SCROLLBARS.
2355 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2357 * configure.ac: post release version bump.
2358 * debian/changelog: version bump.
2360 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2365 * configure.ac: Bump version.
2366 * debian/changelog: Updates.
2368 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2370 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2371 banners instead of destroying them when they receive a button
2374 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2376 Reverted commit 34028, it was causing regressions, probably the
2377 topmost condition is not correct, we have to check it in more
2378 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2379 propagation of button press events)
2381 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2383 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2384 that the selection is not empty before attempting to retrieve the
2385 current ampm selection.
2387 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2389 * src/hildon-picker-button.c:
2390 (hildon_picker_button_on_dialog_response): Directly update the
2391 button contents when required instead of calling _selection_changed.
2393 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2395 * src/hildon-program.c (hildon_program_update_top_most): Update
2396 'is-topmost' property also when wm_hints is not set.
2398 Fixes: NB#98383 (is-topmost signal is not emitted when task
2399 switcher is clicked.)
2401 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2403 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2407 * src/hildon-animation-actor.c,
2408 * src/hildon-animation-actor.h: Added the animation actor class,
2409 this widget represents an animation actor for WM-assisted
2410 animation effects in the Hildon framework.
2412 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2414 * src/hildon-window-stack-private.h
2415 * src/hildon-window-stack.c
2416 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2417 Avoid calling gtk_widget_show() again indirectly from
2418 hildon_stackable_window_show()
2420 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2422 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2425 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2427 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2428 (hildon_time_selector_init): Move the construction of the hours and
2429 ampm columns to the constructor to preserve the order the columns
2432 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2434 * src/hildon-picker-dialog.c:
2435 (hildon_picker_dialog_class_init): Connect a realize method.
2436 (+hildon_picker_dialog_realize): Setup the interaction mode here
2438 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2439 yet, do it during the realize instead.
2440 (_on_dialog_response):
2441 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2442 if the widget is not realized, to avoid the dialog response before it
2445 Avoid premature responses in the HildonPickerDialog that can cause it
2446 to be hidden before it's even shown.
2448 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2450 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2451 (on_selector_columns_changed), (requires_done_button),
2452 (+prepare_action_area), (setup_interaction_mode),
2453 (_hildon_picker_dialog_set_selector):
2455 Split the interaction mode setup into preparation of the
2456 action area (prepare_action_area()) and the connection of
2457 the signals in setup_interaction_mode() and update the code to
2460 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2462 * src/hildon-pannable-area.c,
2463 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2464 per second to 15, we will check if this is ok regarding
2467 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2469 * src/hildon-pannable-area.c,
2470 (hildon_pannable_axis_scroll): Avoid resize if we already have
2471 reached overshoot_max.
2473 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2475 * src/hildon-pannable-area.c,
2476 (hildon_pannable_area_init),
2477 (hildon_pannable_area_realize),
2478 (hildon_pannable_area_size_allocate),
2479 (hildon_pannable_area_map),
2480 (hildon_pannable_area_unmap),
2481 (hildon_pannable_draw_vscroll),
2482 (hildon_pannable_draw_hscroll),
2483 (hildon_pannable_area_expose_event),
2484 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2485 pannable are to avoid the expose events go to the window and
2486 redraw the window. We save this way that part of the stack and the
2487 paint_boxes. We had to change the positions of the elements when
2490 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2492 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2493 * src/hildon-color-chooser-dialog.c:
2494 (hildon_color_chooser_dialog_init):
2495 * src/hildon-font-selection-dialog.c:
2496 (hildon_font_selection_dialog_init),
2497 (hildon_font_selection_dialog_show_preview):
2498 * src/hildon-get-password-dialog.c:
2499 * src/hildon-login-dialog.c:
2500 * src/hildon-set-password-dialog.c:
2501 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2502 * src/hildon-time-picker.c: (hildon_time_picker_init):
2504 Remove obsolete logical string IDs and update to the appropriate ones.
2506 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2508 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2510 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2511 that happens if the window hasn't been realized yet.
2513 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2514 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2516 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2518 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2519 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2522 Fixes: NB#98537 (Device hangs in account settings dialog)
2524 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2526 * configure.ac: post release version bump.
2527 * debian/changelog: version bump
2529 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2534 * configure.ac: Bump version.
2535 * debian/changelog: Updates.
2537 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2539 Added a new function to the HildonTimeButton widget that allows to
2540 change the step of the minutes in the selector associated with the
2541 button: hildon_time_button_new_step
2543 * src/hildon-time-button.c,
2544 (hildon_time_button_init),
2545 (hildon_time_button_new),
2546 (hildon_time_button_new_step):
2547 * src/hildon-time-button.h: Added the new function and refactored
2549 * examples/hildon-time-button-example.c,
2550 (main): We have replaced the function without parameters with the
2551 function with the steps set to 5
2553 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2555 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2557 * src/hildon-time-selector.c,
2558 (hildon_time_selector_class_init),
2559 (hildon_time_selector_constructor),
2560 (hildon_time_selector_get_property),
2561 (hildon_time_selector_set_property),
2562 (_create_minutes_model),
2563 (hildon_time_selector_new_step),
2564 (hildon_time_selector_set_time),
2565 * src/hildon-time-selector.h: Added a new property to the
2566 HildonTimeSelector (minutes-step), we use that property to control
2567 the steps between the minutes in the list of the selector. We have
2568 added a new function to the API to create a widget changing the
2569 step: hildon_time_selector_new_step.
2571 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2573 * src/hildon-time-selector.c,
2574 (hildon_time_selector_class_init),
2575 (hildon_time_selector_constructor),
2576 (hildon_time_selector_init): Overrided the construct function when
2577 creating the time selector object. We have moved the minutes model
2578 handling code from the init to the new construction function:
2579 hildon_time_selector_constructor.
2581 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2583 * examples/hildon-date-button-example.c: (main): Use the new
2584 hildon_date_button_new_with_year_range() method in the example.
2585 * src/hildon-date-button.c:
2586 (+hildon_date_button_new_with_year_range): New public method
2587 to conveniently create a HildonDateButton with a custom year range
2588 in its HildonDateSelector.
2589 * src/hildon-date-button.h: Add the new public method definition.
2591 Fixes: NB#97908 (Not possible to change the year range in
2592 HildonDateSelector/HildonDateButton)
2594 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2596 * src/hildon-date-selector.c:
2597 (+hildon_date_selector_set_property),
2598 (+hildon_date_selector_get_property),
2599 (hildon_date_selector_class_init): Install new properties "min-year"
2600 and "max-year" to define boundaries for the year column.
2601 (_create_year_model): Use the boundary properties to populate the model.
2602 (+hildon_date_selector_new_with_year_range): New public method to
2603 create a HildonDateSelector with a user defined year range.
2604 (hildon_date_selector_select_current_date): Use the new boundaries to
2605 calculate the iterator of current year.
2606 * src/hildon-date-selector.h: Add the new public method definition.
2608 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2610 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2611 Install a constructor method.
2612 (+hildon_date_selector_construct_ui): construct the widget.
2613 (+hildon_date_selector_constructor): new constructor.
2614 (+hildon_date_selector_init): move out widget construction code to
2615 the new constructor.
2617 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2619 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2620 that there's actually a month or year selected before obtaining them.
2621 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2622 of the HildonTouchSelector::changed signal, as it was emitted on every
2623 single item selection.
2625 Fix some warnings and possible crashers due to the selection restoring.
2627 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2629 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2630 the signal handlers only after creating the dialog instead of on every
2633 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2635 * src/hildon-button.c (hildon_button_init)
2636 * src/hildon-check-button.c (hildon_check_button_init)
2637 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2638 focus when clicked by default.
2640 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2642 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2645 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2647 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2648 Alejandro G. Castro (alex@igalia.com)
2650 * src/hildon-picker-dialog.c:
2651 (hildon_picker_dialog_class_init): install new "center-on-show"
2653 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2654 (hildon_picker_dialog_set_property): add setter code for the new
2656 (hildon_picker_dialog_get_property): add getter code for the new
2658 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2659 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2662 Fixes: NB#92849 (Selected item is not always visible when
2663 HildonTouchSelector is shown)
2665 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2667 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2668 Alejandro G. Castro (alex@igalia.com)
2670 * src/hildon-touch-selector.c:
2671 (_create_new_column): Do not connect to the "realize" signal of the
2673 (hildon_touch_selector_append_column): center on the selected items
2674 when a new column is appended.
2675 (hildon_touch_selector_select_iter): Factor out the code to select a
2676 column to hildon_touch_selector_scroll_to().
2677 (+search_nearest_element): Method to retrieve the nearest selected
2678 element to the visible area of the pannable area in a column.
2679 (+on_realize_cb): scroll to the initially selected item.
2680 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2681 the pannable area is realized, otherwise delay this until it is.
2682 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2683 selected items of a given column.
2684 (+hildon_touch_selector_center_on_selected): Public method to center
2685 all columns on the nearest selected item.
2686 * src/hildon-touch-selector.h: Add definition for
2687 hildon_touch_selector_center_on_selected().
2689 Implement public API to ensure visibility of all selected items in
2690 a HildonTouchSelector.
2692 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2694 Fixed a problem in the fading when calling the scroll_to API, and
2695 improve scrollbar fading handling.
2697 * src/hildon-pannable-area.c,
2698 (hildon_pannable_area_grab_notify): avoid the timeout when the
2700 (hildon_pannable_area_button_press_cb),
2701 (hildon_pannable_area_motion_notify_cb): Code style changes.
2702 (hildon_pannable_area_button_release_cb): Review the conditions
2703 when releasing the mouse button to avoid unrequired fading
2705 (hildon_pannable_area_scroll_to): Do not calculate and set the
2706 velocity if the scroll is not required.
2708 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2710 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2711 Don't check whether the new selector is NULL: it cannot be.
2712 Hold a reference to the selector while doing the replacement.
2714 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2716 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2717 unnecessary size_request in a removed widget.
2719 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2721 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2722 an unnecessary reference tracking that was leaking.
2724 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2726 Added delayed motion notify event handling, this way we can
2727 discard redrawing if more than 25 events arrive per second.
2729 * src/hildon-pannable-area.c,
2730 (hildon_pannable_area_init): Initialized the new private atributes
2731 controlling this timeout
2732 (hildon_pannable_area_dispose): Remove the timeout that controls
2733 the motion notify events.
2734 (hildon_pannable_area_scroll): Added a condition to control the
2735 use of the acceleration.
2736 (hildon_pannable_area_motion_event_scroll_timeout),
2737 (hildon_pannable_area_motion_event_scroll): Added this two
2738 functions, they handle the motion notify events inside the
2740 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2741 to the scroll method with the new function.
2742 (hildon_pannable_area_button_release_cb): We have to remove the
2743 timeout handler and move to the last position if the last motion
2744 events were not handled.
2746 Fixes: NB#97028 (Pannable area updates on every motion event)
2748 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2750 * src/hildon-pannable-area.c,
2751 (hildon_pannable_area_get_topmost): Added a new parameter to
2752 filter the the windows that do not include those events. Added
2753 also a condition when finding the window to filter windows that do
2754 not ask for those events.
2755 (hildon_pannable_area_button_press_cb),
2756 (hildon_pannable_area_button_release_cb),
2757 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2758 topmost function, we have added the new parameter.
2760 Fixes: NB#97458 (Pannable area prevents propagation of button
2763 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2765 * src/hildon-pannable-area.c,
2766 (hildon_pannable_area_initial_effect): Added controls before
2767 launching the timeout and the idle functions.
2768 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2769 of the method, in some situations it can return with TRUE and 0 in
2771 (hildon_pannable_area_button_press_cb): We do not need to set
2772 DELAY for fading out here.
2774 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2776 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2778 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2779 post-cleaning if the selection is not NULL.
2781 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2783 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2784 all items before restoring the selection.
2786 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2788 * src/hildon-touch-selector.c:
2789 (+hildon_touch_selector_unselect_all):
2790 * src/hildon-touch-selector.h: New API to unselect all items in a
2791 column of the touch selector.
2793 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2795 * src/hildon-pannable-area.c,
2796 (hildon_pannable_area_redraw): Added a call to the refresh
2797 function inside the redraw because apparently in some cases the
2798 change in the adjustment does not imply a size allocate.
2800 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2801 despite the view not being scrollable)
2803 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2805 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2806 leak. Check for NULL before attempting to set the window title.
2808 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2810 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2811 whether to show or not the 'Done' button each time the dialog is
2812 shown, as it depends on the HildonTouchSelector selection mode.
2814 Fixes: NB#96226 (In multiple selection mode Done button is shown
2815 sometimes in listpicker)
2817 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2819 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2820 for the number of columns in the HildonTouchSelector more than once.
2822 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2824 * src/hildon-touch-selector.c: Minor documentation fixes.
2826 * src/hildon-picker-dialog.c (+_dialog_update_title)
2827 (_select_on_selector_changed_cb)
2828 (_update_title_on_selector_changed_cb)
2829 (on_selector_columns_changed): Update dialog title when there's no
2830 'Done' button and also when the number of columns in the selector
2834 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2835 (+_selection_changed, hildon_picker_button_on_dialog_response)
2836 (hildon_picker_button_selector_selection_changed)
2837 (+hildon_picker_button_selector_columns_changed)
2838 (hildon_picker_button_set_selector): Update button value and emit
2839 'value-changed' when the number of columns in the selector
2843 Fixes: NB#96225 (Dialog titles are not shown according to the
2844 values selected in the list picker)
2846 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2848 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2849 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2850 New "arrow-width" and "arrow-height" style properties to set the
2851 size of the arrow button.
2852 Set name of arrow button ("hildon-edit-toolbar-arrow").
2854 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2855 graphics from theme)
2857 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2859 * src/hildon-picker-button.c:
2860 (hildon_picker_button_selector_selection_changed): Use
2861 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2862 the dialog is present.
2864 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2865 the selection is accepted in the dialog)
2867 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2869 * src/hildon-color-chooser.h
2870 * src/hildon-color-chooser-dialog.h:
2871 Added G_BEGIN_DECLS and G_END_DECLS
2873 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2875 (_clean_current_selection): plug a leak in the list.
2877 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2879 * src/hildon-picker-dialog.c:
2880 (+free_path_list): Method to free a GList of GtkTreePaths.
2881 (_clean_current_selection), (_save_current_selection),
2882 (_restore_current_selection): Save the current selection in
2883 as a list of lists, to support multiple selection properly.
2885 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2887 patch by Claudio Saavedra (csaavedra@igalia.com)
2889 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2890 Store the press position.
2891 (+hildon_text_view_button_release_event): If the release position is
2892 close enough to the press position, move the cursor here. Otherwise,
2894 (hildon_text_view_class_init): Override GtkTextView press, release, and
2895 motion event handlers, disabling this way text selection through
2896 pointer interaction, and allowing the container widget to handle the
2899 Fixes: NB#95828 (HildonTextView functionality)
2901 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2903 Based on a patch by Iván Gómez (igomez@igalia.com)
2905 * src/hildon-button.[ch]
2906 * src/hildon-calendar.c
2907 * src/hildon-check-button.c
2908 * src/hildon-date-editor.c
2909 * src/hildon-date-selector.c
2910 * src/hildon-picker-button.c
2911 * src/hildon-time-editor.c
2912 * src/hildon-time-selector.c
2913 * src/hildon-touch-selector.[ch]:
2914 Documentation updates
2916 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2918 * src/hildon-pannable-area.c,
2919 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2920 threshold, it was required due to X events handling.
2922 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2924 * src/hildon-pannable-area.c,
2925 (hildon_pannable_area_grab_notify),
2926 (hildon_pannable_area_initial_effect),
2927 (hildon_pannable_area_button_press_cb),
2928 (hildon_pannable_area_button_release_cb),
2929 (hildon_pannable_area_scroll_cb),
2930 (hildon_pannable_area_scroll_to): Review the timeout management of
2931 the scrollbar, the frecuency was incorrectly set.
2933 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2935 * src/hildon-picker-button.c:
2936 (+hildon_picker_button_on_dialog_response),
2937 (hildon_picker_button_clicked): Present the dialog instead of
2938 running it with gtk_dialog_run().
2940 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2943 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2945 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2946 (hildon_app_menu_finalize): When a window is hidden it doesn't
2947 emit notify::is-topmost, so make sure than the menu also
2948 disappears in that case.
2949 (parent_window_topmost_notify): Renamed from parent_window_hidden
2951 Fixes: NB#94460 (stackable window's menu is not closed when its
2954 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2956 * src/hildon-touch-selector-entry.c:
2957 (+hildon_touch_selector_entry_set_input_mode),
2958 (+hildon_touch_selector_entry_get_input_mode):
2959 * src/hildon-touch-selector-entry.h: New methods to access the input
2960 mode in the selector's entry.
2962 Fixes: NB#93410 (API required for setting IM mode in
2963 HildonTouchSelectorEntry)
2965 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2967 * configure.ac: post release version bump.
2968 * debian/changelog: version bump
2970 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2975 * configure.ac: Bump version.
2976 * debian/changelog: Updates.
2978 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2980 * src/hildon-touch-selector.c:
2981 (_hildon_touch_selector_has_multiple_selection): No need
2982 to initialize the variables here.
2984 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2986 * src/hildon-note-private.h
2987 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2988 (hildon_note_finalize, hildon_note_rebuild): Close information
2989 notes when they receive a button press.
2991 Fixes: NB#89890 (Information notes does not get disappeared after
2994 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2996 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2997 mark from the wizard title, as it's not really necessary. Also,
2998 do not display the page title if not set.
3000 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3002 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3003 (parent_window_hidden): Use the window's "is-topmost" property to
3004 detect when to hide the menu.
3006 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3008 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3009 (hildon_app_menu_finalize): If the parent window of the menu is
3010 hidden, hide the menu too.
3012 Fixes: NB#94460 (stackable window's menu is not closed when its
3015 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3018 * debian/libhildon1-examples.install
3020 * examples/Makefile.am:
3021 Use dh_install to install all examples.
3022 Use DEB_SRCDIR instead of defining SOURCE_DIR
3024 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3026 * configure.ac: post release version bump.
3027 * debian/changelog: version bump
3029 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3034 * configure.ac: bump version
3035 * debian/changelog: updates
3036 * debian/control: bump gtk+ dependency
3038 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3040 patch by Christian Dywan (christian@imendio.com)
3042 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3043 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3045 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3047 * src/hildon-check-button.c (hildon_check_button_init)
3048 (hildon_check_button_class_init, hildon_check_button_style_set)
3049 (hildon_check_button_apply_style):
3050 New "checkbox-size" style property.
3052 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3053 larger / configurable size)
3055 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3057 * configure.ac: post release version bump.
3058 * debian/changelog: version bump
3060 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3065 * configure.ac: bump version
3066 * debian/changelog: updates
3068 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3070 * doc/hildon-sections.txt
3071 * src/hildon-pannable-area.c
3072 * src/hildon-program.c
3073 * src/hildon-time-editor.c
3074 * src/hildon-touch-selector-entry.c:
3076 More documentation updates.
3078 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3080 * doc/hildon-sections.txt
3081 * src/hildon-caption.c
3082 * src/hildon-code-dialog.c
3083 * src/hildon-color-button.c
3084 * src/hildon-controlbar.c
3085 * src/hildon-date-editor.c
3086 * src/hildon-date-selector.c
3087 * src/hildon-edit-toolbar.c
3088 * src/hildon-find-toolbar.c
3089 * src/hildon-font-selection-dialog.c
3091 * src/hildon-program.c
3092 * src/hildon-range-editor.c
3093 * src/hildon-seekbar.c
3094 * src/hildon-time-editor.c
3095 * src/hildon-time-selector.c
3096 * src/hildon-volumebar-range.c
3097 * src/hildon-volumebar.c
3098 * src/hildon-vvolumebar.c
3099 * src/hildon-weekday-picker.c
3100 * src/hildon-window.c
3101 * src/hildon-wizard-dialog.c:
3103 Lots of documentation fixes.
3105 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3107 Patch contributed by Iván Gómez (igomez@igalia.com)
3109 * src/hildon-check-button.c:
3110 * src/hildon-date-button.c:
3111 * src/hildon-date-selector.c:
3112 * src/hildon-dialog.c:
3113 * src/hildon-edit-toolbar.c:
3114 * src/hildon-entry.c:
3115 * src/hildon-picker-button.c:
3116 * src/hildon-program.c:
3117 * src/hildon-text-view.c:
3118 * src/hildon-time-button.c:
3119 * src/hildon-touch-selector-entry.c:
3120 * src/hildon-window-stack.c:
3122 Add more "since" tags to the new API.
3124 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3126 * doc/hildon-sections.txt: Add below method.
3127 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3128 version for the hildonized scale.
3129 * src/hildon-gtk.h: Add the definition.
3131 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3133 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3135 * doc/hildon-sections.txt: Add missing entries for new methods.
3137 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3139 Added API to pannable are in order to get its adjustments. We
3140 added two properties to manage the values we had in the private
3143 * src/hildon-pannable-area.c:
3144 (hildon_pannable_area_class_init): Added hadjustment and
3145 vadjustment properties in order to expose horizontal and vertical
3147 (hildon_pannable_area_get_property),
3148 (hildon_pannable_area_set_property): Added code to handle the new
3150 (hildon_pannable_area_get_hadjustment),
3151 (hildon_pannable_area_get_vadjustment): API functions to get the
3153 * src/hildon-pannable-area.h:
3154 (hildon_pannable_area_get_hadjustment),
3155 (hildon_pannable_area_get_vadjustment): API functions to get the
3158 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3160 Fixed some leaks, after valgrinding.
3162 * src/hildon-touch-selector.c:
3163 (_default_print_func): Fixed a leak.
3164 (hildon_touch_selector_append_column): Fixed a leak.
3165 * src/hildon-date-button.c:
3166 (hildon_date_button_init): Fixed a leak.
3167 * src/hildon-date-selector.c
3168 (hildon_date_selector_finalize): Fixed a leak.
3170 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3172 Based on a patch by Christian Dywan (christian@imendio.com)
3174 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3176 * src/hildon-gtk.h: Add definition.
3178 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3180 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3182 * src/hildon-picker-button.c: (hildon_picker_button_init),
3183 (hildon_picker_button_new): Set the HildonButton::style property
3184 in the init method, to propagate the value to the derived classes.
3186 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3188 * src/hildon-button.c: (hildon_button_class_init): Do not make
3189 the "style" property a construct property.
3191 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3193 * src/hildon-wizard-dialog.h
3194 * src/hildon-wizard-dialog.c
3195 (hildon_wizard_dialog_set_forward_page_func)
3196 * src/hildon-pannable-area.h
3197 * src/hildon-pannable-area.c
3198 (hildon_pannable_area_set_size_request_policy):
3199 Documentation fixes.
3201 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3203 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3205 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3207 * doc/hildon-sections.txt: Added sections file.
3209 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3212 * src/*.[ch]: Updates.
3214 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3216 * examples/hildon-progress-indicator-example.c: new file
3217 * examples/Makefile.am: include the new example program
3219 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3221 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3223 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3225 * configure.ac: post release version bump
3226 * debian/changelog: version bump
3228 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3233 * configure.ac: bump version
3234 * debian/changelog: updates
3235 * debian/control: bump gtk+ dependency
3237 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3239 * src/hildon-dialog.c: Mark as deprecated.
3240 * src/hildon-dialog.h: Mark as deprecated.
3241 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3242 from HildonDialog and still work, even if
3243 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3244 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3246 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3247 maemo changes) instead)
3249 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3251 * src/hildon-pannable_area.h:
3252 * src/hildon-pannable_area.c:
3253 (hildon_pannable_area_class_init),
3254 (hildon_pannable_area_set_property),
3255 (hildon_pannable_area_get_property),
3256 (hildon_pannable_area_size_request),
3257 (hildon_pannable_area_get_size_request_policy),
3258 (hildon_pannable_area_set_size_request_policy): Added new API
3259 allowing applications to control the request policy. Now they can
3260 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3261 children allocation (HILDON_MOVEMENT_CHILDREN).
3263 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3267 (hildon_gtk_tree_view_set_ui_mode)
3268 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3269 mode of treeviews and iconviews.
3271 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3273 * src/hildon-touch-selector-entry.c:
3274 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3275 of a GtkEntry to get proper theming.
3277 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3278 widget, not GtkEntry)
3280 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3282 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3283 no HildonWizardDialogPageFunc.
3285 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3287 Patch contributed by Iván Gómez (igomez@igalia.com)
3289 * src/hildon-app-menu.c:
3290 * src/hildon-button.c:
3291 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3292 * src/hildon-stackable-window.c:
3293 * src/hildon-time-selector.c:
3294 * src/hildon-touch-selector.c:
3295 * src/hildon-window.c:
3297 Add more "since" tags to the new API in hildon 2.2.
3299 2008-12-05 Tim Janik <timj@imendio.com>
3301 Patch contributed by Christian Dywan (christian@imendio.com)
3303 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3304 HildonSizeType, which are supplied by Gtk+ now.
3306 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3308 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3309 (with maemo changes) instead)
3311 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3313 Patch contributed by Iván Gómez (igomez@igalia.com)
3315 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3318 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3320 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3321 (some_page_func), (main): Update the example to use a
3322 HildonWizardDialogPageFunc function.
3324 * src/hildon-wizard-dialog-private.h: Add private data for
3325 the HildonWizardDialogPageFunc function usage.
3327 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3328 (destroy), (hildon_wizard_dialog_init), (response),
3329 (hildon_wizard_dialog_set_forward_page_func):
3330 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3331 that applications can use to stop a HildonWizardDialog to jump to
3334 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3337 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3339 * src/hildon-program.h
3340 * src/hildon-program-private.h
3341 * src/hildon-program.c (hildon_program_init)
3342 (hildon_program_set_common_app_menu)
3343 (hildon_program_get_common_app_menu):
3344 New API for setting a common HildonAppMenu for all
3345 HildonStackableWindows registered with the HildonProgram.
3347 * src/hildon-stackable-window.c
3348 (hildon_stackable_window_toggle_menu):
3349 Use the common HildonAppMenu if a window doesn't have a specific
3352 * src/hildon-app-menu-private.h
3353 * src/hildon-app-menu.c
3354 (hildon_app_menu_get_parent_window):
3355 Function to obtain the window a HildonAppMenu is attached to.
3356 (hildon_app_menu_set_parent_window):
3357 Hide the menu if the parent window is set to NULL.
3359 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3361 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3362 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3363 search widget to popup.
3365 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3367 * configure.ac: post release version bump
3368 * debian/changelog: version bump
3370 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3375 * configure.ac: bump version
3376 * debian/changelog: updates
3378 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3380 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3382 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3383 (hildon_window_stack_window_realized)
3384 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3385 Set the leader GdkWindow when a window is stacked and realized,
3386 unset it when it's unstacked.
3387 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3389 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3391 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3393 * src/hildon-stackable-window.h
3394 * src/hildon-window-stack.h:
3395 Protect definition of HildonWindowStack using the preprocessor.
3397 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3399 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3400 Fix warning if all menu items are hidden.
3402 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3404 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3406 * src/hildon-controlbar.c:
3407 * src/hildon-hvolumebar.c:
3408 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3409 Multiple scale size defines updates.
3411 Fixes: NB#94322 (Scale Updates)
3413 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3415 * examples/hildon-app-menu-example.c (create_menu)
3416 Show items after adding them to the menu, as in the future the
3417 menu will no longer call gtk_widget_show() on the added items.
3419 * src/hildon-app-menu.c:
3420 Update example as explained above.
3422 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3424 * src/hildon-app-menu.c
3425 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3426 Make sure that all menu items have finger height.
3428 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3430 * src/hildon-picker-dialog.c:
3431 (_on_dialog_response), (_save_current_selection),
3432 (_restore_current_selection), (_clean_current_selection),
3433 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3434 Defined new functions in order to save the current internal selector
3435 selection previous open the dialog, in case that the use cancel the
3436 interaction, so the widget restores the previous selection.
3438 Fixes: NB#92032 (In calendar application, date values in 'new event'
3441 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3443 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3445 * src/hildon-button.c: Add a reference to the button examples in
3446 hildon-button-example.c
3448 * examples/hildon-button-example.c: Added examples of the most
3449 common button layouts.
3451 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3453 * src/hildon-app-menu.c (hildon_app_menu_show)
3454 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3456 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3458 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3460 * src/hildon-picker-dialog.c:
3461 (hildon_picker_dialog_init): Initialize the signal id for
3462 HildonTouchSelector::columns-changed.
3463 (+on_selector_columns_changed): Set up the interaction mode everytime a
3464 column is added or removed from the HildonTouchSelector.
3465 (_hildon_picker_dialog_set_selector): Connect to
3466 HildonTouchSelector::columns-changed and keep track of it.
3468 Make sure to update the interaction mode of the dialog everytime a
3469 column is added or removed in the HildonTouchSelector.
3471 Fixes: NB#93228 (Done button is not shown always in listpicker)
3473 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3475 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3476 a new ::columns-changed signal.
3477 (hildon_touch_selector_append_column): Emit ::columns-changed.
3478 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3480 Add a ::columns-changed signal, emitted when the number of columns in a
3481 HildonTouchSelector changes.
3483 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3485 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3486 (_hildon_picker_dialog_set_selector): Factor out the code
3487 to set up the dialog interaction mode.
3489 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3491 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3492 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3493 to signal_changed_id.
3495 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3497 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3500 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3502 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3503 Updated the logical ids related to ampm format, as now it is required to
3504 show it correctly localized even on languages with no default
3505 abbreviations for am or pm
3506 (_check_am_pm_format): check correctly the 24h format gconf property
3508 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3510 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3512 * src/hildon-button.c: Documentation updates.
3514 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3516 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3517 * src/hildon-caption.c: (hildon_caption_class_init):
3518 * src/hildon-color-button.c: (hildon_color_button_class_init):
3519 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3520 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3521 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3522 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3524 Remove deprecated GTK+ marshalers and replace them with the ones
3525 provided by GLib, for those available, add a marshaler for
3526 BOOLEAN:VOID, which is not available in GLib, and use it.
3528 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3530 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3531 the text from the previous column if there is no
3532 HildonTouchSelectorColumn::text-property set.
3534 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3536 * src/hildon-button.h
3537 * src/hildon-button.c (hildon_button_set_property)
3538 (hildon_button_get_property, hildon_button_class_init)
3539 (hildon_button_set_style, hildon_button_get_style):
3540 New "style" property to change the visual appearance of the
3543 * src/hildon-picker-button.c (hildon_picker_button_new):
3544 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3546 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3547 HildonButton look like PickerButton)
3549 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3551 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3552 column while building the default string.
3554 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3556 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3557 scroll indicator by default.
3559 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3561 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3563 * src/hildon-main.c: Fix the documentation for hildon_init()
3565 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3567 * doc/hildon-docs.sgml
3571 * src/hildon-window-stack-private.h
3572 * src/hildon-window-stack.h
3573 * src/hildon-window-stack.c:
3574 New HildonWindowStack object, that adds support for multiple
3575 stacks of windows per process.
3577 * src/hildon-stackable-window-private.h
3578 * src/hildon-stackable-window.h
3579 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3580 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3581 (hildon_stackable_window_show, hildon_stackable_window_hide)
3582 (hildon_stackable_window_class_init)
3583 (hildon_stackable_window_init):
3584 Use HildonWindowStack for stack management.
3586 * src/hildon-program.c (hildon_program_pop_window_stack)
3587 (hildon_program_peek_window_stack)
3588 (hildon_program_go_to_root_window):
3589 Add a fallback implementation to the deprecated functions using
3592 * examples/hildon-stackable-window-example.c:
3593 Use the new HildonWindowStack API.
3595 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3597 * src/hildon-stackable-window-private.h
3598 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3599 (hildon_stackable_window_hide, hildon_stackable_window_init):
3600 Remove all window stack management.
3602 * src/hildon-program-private.h
3603 * src/hildon-program.h
3604 * src/hildon-program.c (hildon_program_init)
3605 (hildon_program_pop_window_stack)
3606 (hildon_program_peek_window_stack)
3607 (hildon_program_go_to_root_window):
3608 Remove all window stack management and mark functions as
3611 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3613 * src/hildon-app-menu.c (hildon_app_menu_realize):
3614 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3616 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3618 * configure.ac: post release version bump
3619 * debian/changelog: version bump
3621 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3626 * configure.ac: bump version
3627 * debian/changelog: updates
3629 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3631 Based on initial code by Christian Dywan (christian@imendio.com)
3633 * doc/hildon-docs.sgml: Add section for hildon-main.
3634 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3635 * src/Makefile.am: Add new hildon-main.[ch]
3636 * src/hildon-defines.h: Update the icon sizes.
3637 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3638 new library initialization files and register icon sizes.
3639 * src/hildon-main.h: New declarations.
3640 * src/hildon.h: Include hildon-main.h
3642 Add new initialization functions to the library. These methods
3643 will register the hildon specific icon sizes and can be used in the
3644 future for other hildon specific bits.
3646 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3648 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3650 * src/hildon-window.c: (hildon_window_realize),
3651 (hildon_window_notify), (-hildon_window_update_title): Do not set
3652 the application name in the window title.
3654 Fixes: NB#89754 (Applications shouldn't display their names in the
3657 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3659 * src/hildon-note-private.h:
3660 * src/hildon-note.c: (hildon_note_set_property),
3661 (hildon_note_get_property), (hildon_note_class_init),
3662 (hildon_note_init), (hildon_note_finalize),
3663 (hildon_note_new_confirmation_with_icon_name),
3664 (hildon_note_new_information_with_icon_name):
3666 No need to mark as deprecated the actual code. Revert
3667 to avoid missing symbols in widgets using deprecated API.
3669 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3671 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3673 * src/hildon-volumebar.h
3674 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3675 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3677 * src/hildon-helper.h
3678 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3679 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3681 * examples/Makefile.am:
3682 Deprecate hildon-insensitive-example
3684 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3686 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3688 * examples/hildon-pannable-area-buttons-scroll-example.c:
3689 Make all buttons finger height
3691 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3693 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3695 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3696 update the day model only if it is really required, and to avoid the
3697 full-reconstruction aproach. Now it only add or remove the required days.
3699 The purpose of this is avoid superfluous HildonTouchSelector::changed
3702 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3703 with strange parameters)
3705 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3707 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3709 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3710 the WINDOW_TYPE property.
3712 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3714 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3717 Fix dependency to allow parallel compilation with make -jX
3719 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3721 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3722 color frame and some minor tweaks to make it more consistent with
3725 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3726 highlighted but not visible)
3728 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3730 * examples/Makefile.am: Fixed typo in the Makefile.am.
3732 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3734 Reviewed the use of MAEMO_GTK define, now we add the define in the
3735 compilation line, and we also add it to the pc file.
3737 * configure.ac: Added MAEMO_GTK define to the compilation command
3738 and removed it from the config.h.
3740 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3741 do not have to take care about this define if the library was
3745 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3747 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3749 * examples/Makefile.am,
3750 * examples/hildon-pannable-area-buttons-scroll-example.c,
3751 * examples/hildon-pannable-area-gesture-signals-example.c,
3752 * examples/hildon-pannable-area-scroll-jump-example.c,
3753 * examples/hildon-pannable-area-tree-view-example.c:
3754 Renamed the pannable area examples, now they have more meaningful
3757 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3759 * src/hildon-touch-selector.c:
3760 (hildon_touch_selector_set_column_selection_mode): Used of
3761 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3762 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3763 to avoid re-seting the same selection mode.
3765 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3766 breaks HildonPickerDialog)
3768 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3770 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3771 conditional in the Makefile.am
3773 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3775 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3776 Remove unused methods.
3778 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3780 * src/hildon-button.c (hildon_button_init):
3781 Make button images center-aligned by default
3783 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3786 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3787 activated, we have to think about how to deal with both defines
3788 MAEMO_GTK and MAEMO_CHANGES.
3790 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3792 * examples/hildon-app-menu-example.c (create_menu): Make all
3793 buttons finger size.
3795 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3797 Fixed the compilation without maemo gtk adding ifdefs with
3798 MAEMO_GTK define to the code, we have to check this version more
3801 * examples/Makefile.am: Added control to avoid some examples that
3802 just make sense with maemo gtk.
3805 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3806 hildon modes with the define.
3808 * examples/hildon-edit-toolbar-example.c,
3809 (create_icon_view): Create the icon view without hildon-gtk
3810 helpers if we are not using maemo gtk.
3812 * src/hildon-touch-selector.c,
3813 (_create_new_column): Create the treeview without hildon-gtk
3814 helpers if we are not using maemo gtk.
3816 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3818 * src/hildon-pnnable-area.c,
3819 (hildon_pannable_area_dispose),
3820 (hildon_pannable_area_button_press_cb),
3821 (hildon_pannable_area_child_mapped),
3822 (hildon_pannable_area_add),
3823 (hildon_pannable_area_remove): Added code to control the position
3824 of the event_window when adding and removing children from the
3825 pannable. We have to raise the event window when the child is
3828 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3829 selection mode using custom widget inside pannable)
3831 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3833 * configure.ac: post release version bump
3834 * debian/changelog: version bump
3836 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3841 * configure.ac: bump version
3842 * debian/changelog: updates
3844 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3846 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3847 search mode, in order to avoid lose the focus on the treeview when
3848 a hw key (like enter) is pressed.
3850 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3851 in HildonDateSelector dialog)
3853 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3855 * debian/rules: Added --enable-maintainer-mode
3856 * Makefile.am: Added ACLOCAL_AMFLAGS
3858 This allows to properly regenerate the Makefiles if you modify the
3859 configure.ac or any Makefile.am.
3861 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3863 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3864 properties, not needed at all.
3866 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3868 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3870 * src/hildon-note.c: (hildon_note_set_property),
3871 (hildon_note_get_property), (hildon_note_class_init),
3872 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3873 (hildon_note_new_confirmation_add_buttons): Remove icons.
3874 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3875 (hildon_note_new_information_with_icon_name): Deprecate.
3876 (hildon_note_new_confirmation): Act directly, without calling
3877 the deprecated constructor.
3878 (hildon_note_new_information): Act directly, without calling
3879 the deprecated constructor.
3880 * src/hildon-note.h: Mark deprecate methods as such.
3881 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3882 not run tests on the deprecated methods if built with deprecation
3885 Fixes: NB#91688 (Never show icons in information notes/confirmation
3888 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3890 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3891 (hildon_app_menu_key_press): Remove leftover usage of the
3892 private structure in HildonAppMenu struct.
3893 * src/hildon-app-menu.h: Remove leftover private structure
3894 from the HildonAppMenu struct.
3896 Fixes a crasher when using the HildonAppMenu.
3898 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3900 * src/hildon-picker-dialog.c: Use appropriate logical id
3901 for the default "Done" text.
3903 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3905 * configure.ac: post release version bump
3906 * debian/changelog: version bump
3908 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3910 Modified the way to scroll to the current selection just when the touch
3911 selector is shown on the screen, avoiding a g_idle. Added too a property
3912 to configure this behaviour. See hildon_pannable_area_jump_to_child
3913 documentation for more information.
3915 * src/hildon-touch-selector.c
3916 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3917 Added 'initial-scroll' property
3918 (hildon_touch_selector_set_property): Added
3919 (hildon_touch_selector_map): Removed as not required anymore
3920 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3921 only a concrete column, instead of iterate along all the columns
3923 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3928 * configure.ac: bump version
3929 * debian/changelog: updates
3931 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3933 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3934 compilation time warnings.
3936 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3938 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3939 the default value for HildonPannableArea::mov-mode to
3940 HILDON_PANNABLE_AREA_MODE_VERT.
3942 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3944 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3946 Reverting following commit:
3948 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3950 * src/hildon-app-menu-private.h
3951 * src/hildon-app-menu.[ch]
3952 * src/hildon-button.[ch]
3953 * src/hildon-check-button.[ch]
3954 * src/hildon-entry.[ch]
3955 * src/hildon-pannable-area.[ch]
3956 * src/hildon-text-view.[ch]:
3957 Added private field to the object's structure.
3959 because it causes an ABI breakage. We will need to introduce these
3960 changes later at some point. See NB#91636 for an extensive
3961 explanation and status.
3963 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3965 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3967 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3968 remove special cases that are no longer necessary.
3970 Fixes: NB#91016 (Change toolbar sizes, simplification)
3972 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3974 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3975 is shown in the cancel note.
3977 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3979 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3980 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3981 (hildon_seekbar_init): Remove steppers, remove expose event.
3982 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3984 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3986 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3988 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3989 label font to "SmallSystemFont" for vertically arranged buttons.
3991 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3994 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3996 * src/hildon-check-button.c
3997 (hildon_check_button_set_active, hildon_check_button_clicked):
3998 Don't access private parts directly, use getters instead.
4000 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4002 * src/hildon-check-button.c (hildon_check_button_new):
4003 Align the contents of the check button to the left.
4005 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4007 * src/hildon-pannable-area.c,
4008 (hildon_pannable_area_scroll_to),
4009 (hildon_pannable_area_jump_to),
4010 (hildon_pannable_area_scroll_to_child),
4011 (hildon_pannable_area_jump_to_child): Replace the mapped
4012 precondition of these functions with the realized, it is the
4013 correct state of the widget in this case. Changed the
4014 documentation according to this modification.
4016 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4018 Added a new EXTRA_CFLAGS option to add the deprecated define to
4019 the compilation command. This way we can avoid using the define in
4020 the documentation compilation.
4022 * configure.ac: Defined EXTRA_CFLAGS.
4024 * examples/Makefile.am:
4026 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4028 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4030 * src/hildon-picker-dialog.c:
4031 Defined a utility macro with the desired touch selector height
4032 Removed currently unused separator, and title_label variables from
4034 (hildon_picker_dialog_init): Removed code related to the creation
4035 of unused private variables title_label and separator.
4036 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4037 to ensure correct visualization of the touch selector inside the dialog.
4038 * src/hildon-touch-selector.c
4039 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4040 ensure a concrete height of the widget.
4042 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4045 * tests/Makefile.am:
4047 Remove spurious whitespaces.
4049 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4051 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4052 compilation warning after the cancel button removal.
4054 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4056 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4058 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4059 Makefile.am, that way we can choose not to compile some examples
4060 and tests of the deprecated widgets.
4062 * examples/Makefile.am: Divided the sources in deprecated and
4065 * src/Makefile.am: Added undef statement of the deprecated
4066 symbol to the enums file generation process.
4068 * src/hildon-color-chooser-dialog.c
4069 * src/hildon-color-chooser-dialog.h
4070 * src/hildon-color-button.c
4071 * src/hildon-color-button.h
4072 * src/hildon-color-chooser.c
4073 * src/hildon-color-chooser.h
4074 * src/hildon-controlbar.c
4075 * src/hildon-controlbar.h
4076 * src/hildon-date-editor.c
4077 * src/hildon-date-editor.h
4078 * src/hildon-hvolumebar.c
4079 * src/hildon-hvolumebar.h
4080 * src/hildon-private.c
4081 * src/hildon-private.h
4082 * src/hildon-range-editor.c
4083 * src/hildon-range-editor.h
4084 * src/hildon-seekbar.c
4085 * src/hildon-seekbar.h
4086 * src/hildon-time-editor.c
4087 * src/hildon-time-editor.h
4088 * src/hildon-time-picker.c
4089 * src/hildon-time-picker.h
4090 * src/hildon-volumebar.c
4091 * src/hildon-volumebar.h
4092 * src/hildon-vvolumebar.c
4093 * src/hildon-vvolumebar.h
4094 * src/hildon-bread-crumb-trail.h
4095 * src/hildon-bread-crumb-trail.c
4096 * src/hildon-calendar-popup.c
4097 * src/hildon-calendar-popup.h
4098 * src/hildon-weekday-picker.c:
4099 * src/hildon-weekday-picker.h:
4100 * src/hildon-bread-crumb-widget.c:
4101 * src/hildon-bread-crumb-widget.h:
4102 * src/hildon-bread-crumb.c:
4103 * src/hildon-bread-crumb.h:
4104 * src/hildon-calendar.c:
4105 * src/hildon-calendar.h:
4106 * src/hildon-caption.c:
4107 * src/hildon-code-dialog.c:
4108 * src/hildon-code-dialog.h:
4109 * src/hildon-font-selection-dialog.c:
4110 * src/hildon-font-selection-dialog.h:
4111 * src/hildon-get-password-dialog.c:
4112 * src/hildon-get-password-dialog.h:
4113 * src/hildon-login-dialog.c:
4114 * src/hildon-login-dialog.h:
4115 * src/hildon-number-editor.c:
4116 * src/hildon-number-editor.h:
4117 * src/hildon-set-password-dialog.c:
4118 * src/hildon-set-password-dialog.h:
4119 * src/hildon-sort-dialog.c:
4120 * src/hildon-sort-dialog.h: This is the list of deprecated
4123 * src/hildon-touch-selector.c:
4124 * src/hildon-window.c: Added undef statement to avoid compilation
4127 * tests/Makefile.am: Divided the sources in deprecated and
4130 * tests/check_test.c,
4131 (configure_tests): Marked the deprecated code that was adding
4132 suites with deprecated tests.
4134 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4136 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4138 * src/hildon-touch-selector.c: (_default_print_func): Do not
4139 duplicate a string returned by gtk_tree_model_get(), it is already
4142 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4145 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4147 * src/hildon-pannable-area.c
4148 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4149 method, it had problems when adding a widget with viewport the
4150 second time. Now checks if it already has a viewport and uses it.
4152 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4155 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4157 * src/hildon-pannable-area.c,
4158 (hildon_pannable_area_scroll_to),
4159 (hildon_pannable_area_jump_to),
4160 (hildon_pannable_area_scroll_to_child),
4161 (hildon_pannable_area_jump_to_child): Added a precondition to the
4162 scroll and jump to functions: the widget must be mapped before we
4163 can safely call these functions. We have also added documentation
4164 to the functions to explain how to use them in this situation.
4167 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4169 Reviewed the threading handling of the pannable widget, we have
4170 used the gdk_threads_add_timeout function instead of the usual
4171 glib handlers. This avoids some problems with the threads.
4173 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4174 (hildon_pannable_area_initial_effect),
4175 (hildon_pannable_area_scroll_indicator_fade),
4176 (hildon_pannable_area_button_press_cb),
4177 (hildon_pannable_area_timeout),
4178 (hildon_pannable_area_motion_notify_cb),
4179 (hildon_pannable_area_button_release_cb),
4180 (hildon_pannable_area_scroll_cb),
4181 (hildon_pannable_area_scroll_to): Removed the
4182 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4183 gdk_threads_add_timeout.
4185 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4187 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4192 * configure.ac: bump version
4193 * debian/changelog: updates
4195 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4197 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4198 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4199 * src/hildon-color-chooser-dialog.c:
4200 (hildon_color_chooser_dialog_init):
4201 * src/hildon-font-selection-dialog.c:
4202 (hildon_font_selection_dialog_init):
4203 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4205 Remove all cancel/close-like dialogs, as these are not going to be
4208 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4210 * src/hildon-note.c: (hildon_note_rebuild),
4211 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4214 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4216 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4218 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4219 sure all buttons are shown, even the Cancel/Close-like ones.
4221 Fixes: NB#90861 (Custom Confirmation dialogs should be
4222 protected from cancel button removal)
4224 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4226 * debian/control: Change libhildon1-examples dependency from libhildon1
4228 * debian/libhildon1-examples.install
4230 * Makefile.am: Modified the final install directory for the examples on
4231 package libhildon1-examples
4232 * Makefile.static: Update clean target in order to remove all the binary
4235 Changes suggested by Claudio after review new libhildon1-examples package
4237 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4239 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4240 * src/hildon-touch-selector.c: Ditto.
4242 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4244 * debian/control: Added new package libhildon1-examples, in order to pack
4245 the current hildon examples as documentation
4246 * debian/rules: Not to compress .c files, modify some includes on the
4247 examples (as normally are compiled locally, but when installed it will
4248 require to include the installed libhildon1 library), and rename
4250 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4251 install all the example files on the new example package
4252 * examples/Makefile.static: Added static makefile that can be used to
4253 compile the examples, once installed the new example package
4254 * examples: Most of the examples were modified in order to grant that
4255 all use only '#include "hildon.h"', in order to be easy to prepare
4256 it on the example package
4258 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4261 * debian/libhildon1-dev.install
4262 * debian/libhildon1-doc.install:
4263 Move all gtk-doc files to a separate libhildon1-doc package.
4265 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4267 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4269 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4271 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4273 * debian/rules: Fixed a error in order to avoid unnecessary calls
4274 to autogen.sh on package building
4276 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4278 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4280 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4282 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4285 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4287 * src/hildon-picker-button.c
4288 (hildon_picker_button_finalize):
4289 Free priv->done_button_text
4291 * src/hildon-time-button.c
4292 (hildon_time_button_set_time)
4293 * src/hildon-picker-button.c
4294 (hildon_picker_button_clicked)
4295 (hildon_picker_button_selector_selection_changed)
4296 (hildon_picker_button_set_selector)
4297 * src/hildon-date-button.c
4298 (hildon_date_button_set_date):
4299 Free strings returned by hildon_touch_selector_get_current_text()
4301 * src/hildon-button.c (hildon_button_construct_child):
4302 Fix leaks in priv->image and priv->label_box
4304 Fixes: NB#90535 (Memory leak in picker button)
4306 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4308 * src/hildon-button.c: (hildon_button_get_property): Do not access
4309 private elements directly, use getters instead.
4311 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4313 * src/hildon-app-menu-private.h
4314 * src/hildon-app-menu.c
4315 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4316 Store the menu's parent window.
4318 * src/hildon-stackable-window.c
4319 (hildon_stackable_window_toggle_menu)
4320 (hildon_stackable_window_finalize):
4321 Set the menu's parent window when the menu is shown, unset it when
4324 * src/hildon-app-menu.c
4325 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4326 (hildon_app_menu_class_init):
4327 Send unhandled keyboard accelerators to the parent window.
4329 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4331 * src/hildon-stackable-window.c
4332 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4334 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4336 * configure.ac: post release version bump
4338 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4341 * configure.ac: Bump version
4342 * debian/changelog: Updates
4343 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4346 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4348 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4351 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4352 GtkMenu with Hildon style.
4354 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4356 * src/hildon-picker-button.c:
4357 (hildon_picker_button_set_done_button_text): Set the dialog's
4358 done button text here as well.
4360 Fixes: NB#90232 (Picker button does not set the label on done button
4361 for the second time)
4363 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4365 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4368 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4370 * src/hildon-app-menu.c (hildon_app_menu_insert)
4371 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4372 the HildonAppMenu to be activatable using keyboard accelerators
4373 when the menu is not being shown.
4375 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4377 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4379 * src/hildon-stackable-window.c
4380 (hildon_stackable_window_show):
4381 Don't hide old windows automatically when new windows are shown:
4382 this is now a task for the window manager.
4383 (hildon_stackable_window_class_init)
4384 (hildon_stackable_window_hide):
4385 Remove windows from the stack everytime they're hidden.
4386 (hildon_stackable_window_realize):
4387 Don't change the _NET_WM_WINDOW_TYPE property. Use
4388 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4389 it as a stackable window.
4391 * src/hildon-program.c
4392 (hildon_program_pop_window_stack):
4393 Just hide the window to remove it from the stack.
4394 (hildon_program_go_to_root_window):
4395 Don't call gtk_widget_show(), this is now a task for the window
4398 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4400 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4402 * src/hildon-button.c
4403 (hildon_button_construct_child):
4404 Don't pack anything in the button until text or image are
4405 set. This allows adding a custom child after creating the button
4406 with hildon_button_new().
4407 (hildon_button_finalize, hildon_button_class_init)
4408 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4409 alignment and the label box even when they're not packed in the
4412 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4414 * src/hildon-touch-selector.h:
4415 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4416 currently the type definition was using GTK_TYPE_VBOX
4417 * src/hildon-touch-selector.c:
4418 Added some implementation notes in order to clarify that any other widget
4419 added without the column related API will not be included on the
4420 selection logic, and how the widget is freed, as some people ask about
4422 (hildon_touch_selector_remove): Reimplemented in order to free properly
4423 the column related data when you remove the private hbox.
4424 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4425 to get a proper HildonTouchSelectorColumn documentation
4427 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4429 * src/hildon-touch-selector-entry.c:
4430 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4431 text in the GtkEntry and there is no item selected. Fixes a
4434 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4436 * src/hildon-app-menu-private.h
4437 * src/hildon-app-menu.[ch]
4438 * src/hildon-button.[ch]
4439 * src/hildon-check-button.[ch]
4440 * src/hildon-entry.[ch]
4441 * src/hildon-pannable-area.[ch]
4442 * src/hildon-text-view.[ch]:
4443 Added private field to the object's structure.
4445 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4447 * configure.ac: post-release version bump
4449 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4453 * configure.ac: pre-release version bump
4455 * debian/changelog: updates.
4457 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4459 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4460 Disconnect the handler for HildonTouchSelector::changed.
4462 (hildon_picker_button_selector_selection_changed): Update the button
4463 value if the selection change was not triggered by the
4466 (hildon_picker_button_set_selector): connect to
4467 HildonTouchSelector::changed.
4469 Fixes: NB#89650 (Picker button is not updated, when selection in
4470 selector has changed)
4472 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4474 * src/hildon-picker-dialog.c
4475 (hildon_picker_dialog_realize): Removed as not required
4476 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4477 * src/hildon-picker-button.c
4478 (_current_selector_empty): New function, checks if the selector is empty
4479 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4480 if the current selector is empty, in order to avoid to show the dialog
4481 close the dialog in this case (and shows a g_warning).
4483 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4485 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4487 * src/hildon-pannable-area.c,
4488 (hildon_pannable_area_scroll): Added clause to stop movement when
4489 the child of pannable is smaller than one page.
4490 (hildon_pannable_area_scroll_to): Added conditions to avoid
4491 starting the scrolling movement if the child is smaller than one
4492 page, the complete child is in the screen, we do not have to move.
4494 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4496 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4498 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4499 this is managed automatically by the widget when the size of the
4502 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4504 * src/hildon-picker-button.c
4505 (hildon_picker_button_set_done_button_text): Make a copy of the
4506 text, and free the previous value.
4508 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4510 * src/hildon-touch-selector-entry.c:
4511 (hildon_touch_selector_entry_print_func): Return the selected row's
4512 text if the entry is empty.
4514 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4517 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4519 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4521 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4524 * src/hildon-check-button.h
4525 * src/hildon-check-button.c
4526 * examples/hildon-check-button-example.c:
4527 HildonCheckButton is now a new widget. 'toggled' signal added.
4529 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4531 * src/hildon-program-private.h
4532 * src/hildon-program.c (hildon_program_init)
4533 (hildon_program_finalize): Removed unused variables group_leader
4534 and name from HildonProgramPrivate.
4536 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4538 * src/hildon-check-button.c (hildon_check_button_set_active)
4539 (hildon_check_button_get_active, hildon_check_button_new): Use
4540 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4542 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4544 * src/hildon-touch-selector.h
4545 (hildon_touch_selector_set_column_attributes): added deprecation
4546 guard HILDON_DISABLE_DEPRECATED
4547 * src/hildon-time-selector.c
4548 (hildon_time_selector_set_time)
4549 (hildon_time_selector_get_time): Fixed a typo on documentation
4550 * src/hildon-touch-selector.c: update HildonTouchSelector and
4551 HildonTouchSelectorColumn documentation
4552 * src/hildon-touch-selector-entry.c: update "text-column" property
4554 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4555 to be added to the general documentation.
4557 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4559 * examples/hildon-pannable-area-example-4.c,
4561 * examples/hildon-pannable-area-example.c,
4562 (main): Modified the code in order to use the container add, with
4563 viewport treeviews could have problems if they are really big.
4565 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4567 * src/hildon-weekday-picker.c,
4568 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4569 the agreement regarding deprecation in the library.
4571 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4573 * examples/hildon-picker-button-multicolumn-example.c:
4574 (main): Use custom "done" button text.
4576 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4577 (hildon_picker_button_set_property),
4578 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4579 (hildon_picker_button_init),
4580 (+hildon_picker_button_get_done_button_text),
4581 (+hildon_picker_button_set_done_button_text): New methods to customize
4582 the "done" button label in the launched HildonPickerDialog. Also,
4585 * src/hildon-picker-button.h: add the public API.
4587 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4589 * src/hildon-date-selector.h:
4590 * src/hildon-picker-dialog.h:
4591 * src/hildon-time-selector.h:
4592 * src/hildon-touch-selector-column.h:
4593 * src/hildon-touch-selector.h:
4595 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4596 declarations. Fixes gtk-doc warnings.
4598 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4600 * src/hildon-picker-dialog.h
4601 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4602 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4604 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4605 long text is set as label for done button)
4607 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4609 * src/hildon-dialog.c (hildon_dialog_add_button):
4610 Set fixed width to all buttons in the HildonDialog.
4612 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4614 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4616 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4617 Set widget name using class name plus "-finger" or "-thumb".
4619 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4621 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4622 'clicked' when the state of the button is manually changed.
4624 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4626 * src/hildon-app-menu.c (hildon_app_menu_realize)
4627 (hildon_app_menu_unrealize, hildon_app_menu_init)
4628 (hildon_app_menu_class_init, item_visibility_changed):
4629 Change the menu layout when the size of the screen changes.
4630 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4631 Show warning only when changing the number of colums using the
4634 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4636 * debian/compat: Set to 5
4637 * debian/control: Update dependencies.
4638 * debian/libhildon1-dbg.install: Remove.
4639 * debian/libhildon1-dev.install: Update according to cdbs paths.
4640 * debian/libhildon1.install: Update according to cdbs paths.
4641 * debian/rules: Switch to cdbs.
4643 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4645 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4646 'item' variable renamed to 'filter'
4648 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4650 * src/hildon-app-menu.c (hildon_app_menu_insert)
4651 (hildon_app_menu_add_filter, remove_item_from_list)
4652 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4653 Don't leak hidden items when the menu is destroyed.
4655 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4657 * src/hildon-app-menu.c (hildon_app_menu_insert)
4658 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4659 (hildon_app_menu_set_columns, item_visibility_changed)
4660 (filter_visibility_changed, hildon_app_menu_repack_filters)
4661 (hildon_app_menu_repack_items):
4662 Repack items and filters separately.
4664 Don't repack all items, change only the ones that are needed to
4667 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4669 * src/Makefile.am: added hildon-touch-selector-column.h
4671 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4673 * src/hildon-touch-selector.c: added the property "text-column" to the
4674 class HildonTouchSelectorColumn, and related get/set functions
4675 (_default_printf_func): updated to use "text-column" property
4676 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4677 "text-column" in his documentation, as this is now included on
4678 HildonTouchSelectorColumn. The get/set_property can still be used,
4679 working as a wrapper to the concrete column "text-column" property
4680 (_text_column_modified): callback added in order to handle the signal
4681 "notify::text-column" of the concrete HildonTouchSelectorColumn
4682 (hildon_touch_selector_entry_get_text_column)
4683 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4684 modified in order to use the HildonTouchSelectorColumn "text-column"
4686 * src/hildon-time-selector.c:
4687 * src/hildon-date-selector.c:
4688 * examples/hildon-touch-selector-example.c
4689 * examples/hildon-touch-selector-multi-cells-example.c
4690 * examples/hildon-picker-button-multicolumn-example.c
4691 Set the right value to "text-column" property on the creation of a new
4692 column using hildon_touch_selector_append_column()
4694 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4696 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4698 * src/hildon-app-menu.c
4699 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4700 updating the layout of the menu, don't create all widgets again,
4701 just repack the items in their new places.
4703 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4705 * src/hildon-time-selector.c
4706 (hildon_time_selector_get_time)
4707 (hildon_time_selector_set_time)
4708 Added documentation of these public methods
4710 * src/hildon-date-button.h
4711 * src/hildon-touch-selector-column.h
4712 * src/hildon-time-button.h
4713 * src/hildon-picker-dialog.h
4714 * src/hildon-time-selector.h
4715 * src/hildon-picker-button.h
4716 * src/hildon-touch-selector.h
4717 * src/hildon-time-picker.h
4718 * src/hildon-date-selector.h
4719 * src/hildon-touch-selector-entry.h
4720 Modified in order to use hildon-widgets code style
4722 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4724 Added deprecated support to the compilation process using
4725 HILDON_DISABLE_DEPRECATED
4727 * configure.ac: Added the --disable-deprecated to the configure
4730 * src/hildon-weekday-picker.c:
4731 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4732 to use the deprecated support. We will update the other deprecated
4733 widgets status in a new patch.
4735 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4737 * configure.ac: Fixed typo with fatal warnings support, the
4738 variable name was not correct
4740 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4742 * src/hildon-app-menu.c
4743 * src/hildon-program.c: Update documentation.
4745 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4747 * configure.ac: Post-release version bump.
4749 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4754 * configure.ac: Pre-release version bump.
4755 * debian/changelog: Updates.
4757 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4759 * NEWS: Update news for previous releases.
4761 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4763 * examples/hildon-touch-selector-multi-cells-example.c:
4764 (create_selector): Update the example to use
4765 hildon_touch_selector_append_column() with a NULL renderer and set
4766 the renderers later.
4767 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4768 passed a NULL renderer. This is documented behavior now.
4770 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4771 This must be used if the developer wants full control on the layout of
4772 the renderers to be added to the column.
4774 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4776 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4778 * src/hildon-touch-selector.c: Documentation fixes.
4780 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4782 * src/hildon-wizard-dialog-private.h: Remove image and box.
4783 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4784 (hildon_wizard_dialog_set_property), (response): Completely remove
4785 image/icon support, and the containers required for the layout.
4787 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4789 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4791 * src/hildon-app-menu.c: Updated documentation.
4793 * src/hildon-stackable-window.c
4794 (hildon_stackable_window_set_main_menu): Unref the old menu after
4795 ref'ing the new one.
4797 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4799 * src/hildon-stackable-window.c
4800 (hildon_stackable_window_set_main_menu): Unref the previous menu
4801 instead of destroying it.
4803 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4804 floating reference and set has_user_ref_count to FALSE to make
4805 HildonAppMenu act like a normal ref-counted widget and not a
4808 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4811 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4813 * src/hildon-touch-selector-column.h: new file
4814 * src/hildon-touch-selector.h
4815 * src/hildon-touch-selector.c
4816 Implemented GtkCellLayout interface, in order to allow to configure
4817 the cell layout on each individual selector column
4818 (hildon_touch_selector_set_column_attributes): marked as deprecated
4819 * examples/hildon-touch-selector-multi-cells-example.c
4820 Example of how to use the GtkCellLayout interface on the selector
4822 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4824 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4826 * src/hildon-app-menu.h
4827 * src/hildon-app-menu.c
4828 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4829 (hildon_app_menu_append, hildon_app_menu_prepend):
4830 New methods to prepend, insert and move items in the menu.
4832 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4834 * src/hildon-wizard-dialog.c:
4836 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4838 (create_title): Update logical IDs and related code.
4839 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4841 * src/hildon-wizard-dialog.h: Note that
4842 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4843 point, as it is not used anymore.
4845 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4847 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4849 * src/hildon-note.c:
4850 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4851 shown. Do not display an icon in confirmation notes nor information
4853 (hildon_note_set_button_text): Update logical ID for cancel button.
4855 Fixes: NB#88850 (Update HildonNote button strings + signals)
4857 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4859 * src/hildon-stackable-window.c
4860 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4862 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4864 * src/hildon-app-menu-private.h
4865 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4866 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4867 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4868 temporary property 'columns' to change the number of columns.
4870 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4872 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4874 * examples/hildon-note-example.c: (on_information_clicked),
4875 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4876 debugging information.
4877 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4879 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4880 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4881 in order to close: this will be handled by the WM from now on.
4883 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4885 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4887 * src/hildon-app-menu-private.h
4888 * src/hildon-app-menu.c
4889 (hildon_app_menu_append, hildon_app_menu_add_filter)
4890 (button_visibility_changed, hildon_app_menu_apply_style)
4891 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4892 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4893 layout everytime a button (item or filter) is shown or hidden.
4895 * src/hildon-stackable-window.c
4896 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4899 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4901 * src/hildon-touch-selector.c:
4902 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4903 that the treeview inside the touch selector is in fremantle hildon mode
4904 * examples/hildon-date-button-example.c
4905 * examples/hildon-picker-button-multicolumn-example.c
4906 * examples/hildon-touch-selector-entry-example.c
4907 * examples/hildon-touch-selector-example.c
4908 * examples/hildon-time-button-example.c
4909 * examples/hildon-picker-button-example.c:
4910 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4912 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4914 * examples/hildon-text-view-example.c: (main): Remove the
4915 gtkrc bits, now handled by the theme.
4917 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4919 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4922 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4924 * po/Makefile.am: Install properly the mo files.
4925 * po/en_GB.po: Update translation, to ease testing purposes.
4927 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4929 * examples/hildon-picker-button-example.c: (main): Select an item
4930 in the selector before setting it to the button.
4932 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4934 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4935 Update button's value if the selector has an item active.
4937 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4938 'value' with the selector)
4940 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4942 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4943 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4944 (hildon_picker_button_class_init): Plug the finalize method.
4945 (hildon_picker_button_set_selector): If there's a previously set
4946 selector, unref'it before setting a new one.
4948 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4949 HildonTouchSelector)
4951 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4953 * src/hildon-touch-selector-entry.c:
4954 (hildon_touch_selector_entry_changed): Check if there is no text
4955 selected before setting the entry text.
4958 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4960 * src/hildon-touch-selector.h
4961 * src/hildon-touch-selector.c
4962 (hildon_touch_selector_get_active)
4963 (hildon_touch_selector_set_active): New methods to set/get the
4964 index of the selected item.
4966 * src/hildon-picker-button.h
4967 * src/hildon-picker-button.c
4968 (hildon_picker_button_get_active)
4969 (hildon_picker_button_set_active): New methods to set/get the
4970 index of the selected item.
4972 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4974 * configure.ac: post-release version bump.
4976 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4980 * configure.ac: Pre-release version bump.
4981 * debian/changelog: Updates.
4982 * debian/control: Add myself as maintainer and depend on l10n
4985 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4987 * src/hildon-window.c
4988 (hildon_window_set_main_menu)
4989 * src/hildon-stackable-window.c
4990 (hildon_stackable_window_set_main_menu):
4991 Updated documentation.
4993 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4995 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4996 Don't free selector->priv manually.
4999 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5002 (hildon_gtk_window_set_progress_indicator):
5003 * src/hildon-gtk.h: Added the new API
5004 hildon_gtk_window_set_progress_indicator, it changes the state of
5005 the window progress hint.
5007 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5009 * src/hildon-button.c
5010 * src/hildon-stackable-window.c: Minor documentation updates.
5012 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5014 * src/hildon-stackable-window.c: Updated documentation.
5016 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5018 * src/hildon-defines.h: Update margins definitions
5019 to the Fremantle sizes.
5022 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5024 * src/hildon-touch-selector.c,
5025 (_hildon_touch_selector_set_model): Cleaning the code after
5026 review, removed g_print and #if 0 from the code.
5028 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5030 * src/hildon-edit-toolbar.c: Update documentation.
5032 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5034 * src/hildon-check-button.h
5035 * src/hildon-check-button.c
5036 (hildon_check_button_set_label, hildon_check_button_get_label)
5037 * examples/hildon-check-button-example.c
5038 (button_clicked_cb):
5039 Removed deprecated methods.
5041 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5043 * src/hildon-text-view.c:
5044 Add sample code to the documentation.
5046 * src/hildon-entry.h
5047 * src/hildon-text-view.h:
5048 Minor cosmetic changes.
5050 * src/hildon-entry.c:
5051 Add sample code to the documentation.
5052 (hildon_entry_init, hildon_entry_refresh_contents):
5053 Don't allow NULL values in the placeholder.
5055 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5057 * doc/hildon-docs.sgml
5059 * examples/Makefile.am
5060 * examples/hildon-text-view-example.c
5062 * src/hildon-text-view.c
5063 * src/hildon-text-view.h
5065 New HildonTextView widget, with example.
5067 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5069 * po/POTFILES.in: Add missing files with translatable strings.
5070 Partially fixes NB#88287.
5072 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5074 * examples/hildon-pannable-area-example-2.c: (main): No need to
5075 set the cellrenderer height inside hildon touch lists, the theme does
5078 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5080 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5081 they are integrated in the theme.
5083 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5085 * examples/hildon-entry-example.c: Update the example adding
5086 widgets to modify the text and the placeholder of the HildonEntry.
5088 * src/hildon-entry.c: Show the placeholder everytime the widget
5089 is empty and loses the focus.
5091 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5093 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5095 * src/hildon-pannable-area.c,
5096 (hildon_pannable_area_size_request): Fixed bug in height
5097 requisition, avoid increasing size and add border twice.
5099 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5101 * configure.ac: postrelease version bump.
5103 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5107 * configure.ac: Prerelease version bump.
5108 * debian/changelog: update.
5109 * debian/rules: make -dbg package contain useful debugging symbols.
5111 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5113 * src/hildon-dialog.h
5114 * src/hildon-dialog.c
5115 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5116 New methods to add buttons with finger size.
5117 (hildon_dialog_new_with_buttons):
5118 Create buttons with finger size.
5120 * examples/hildon-dialog-example.c (main): Use HildonDialog
5121 methods to add buttons.
5123 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5125 * src/hildon-entry.c: Updated HildonButton documentation.
5127 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5129 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5130 button value label with (FALSE, FALSE) to prevent NB#88126 from
5133 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5135 * examples/hildon-pannable-area-example.c,
5136 (main): Removed examples panning a vbox inside a pannable
5137 area. Check bug NB#87965
5139 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5141 Patch contributed by Kris Rietveld (kris@imendio.com)
5143 * src/hildon-pannable-area.c,
5144 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5145 get_size and get_position, this saves an X server roundtrip.
5147 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5149 * doc/hildon-docs.sgml
5151 * examples/Makefile.am
5152 * examples/hildon-entry-example.c
5154 * src/hildon-entry.c
5155 * src/hildon-entry.h
5157 New HildonEntry widget, with example.
5159 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5161 * src/hildon-button.c (hildon_button_construct_child): Pack the
5162 image with expand == fill == FALSE. This is a workaround for a bug
5165 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5167 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5168 labels for the text column, to make it more look more dynamic.
5170 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5172 * src/hildon-time-selector.c
5173 Define gettext auxiliar macro N_
5174 (_create_minutes_model)
5175 (_create_hours_model)
5176 (_create_ampm_model): use of strftime in order to fill the model
5177 * src/hildon-date-selector.c
5178 (hildon_date_selector_finalize):
5179 (_locales_init): remove the logic related to get the name of the months
5180 using nl_langinfo, as it is not required anymore
5182 (_create_year_model)
5183 (_create_month_model)
5184 (_update_day_model): use of strftime in order to fill the model properly
5187 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5189 * src/hildon-button.h
5190 * src/hildon-button.c (hildon_button_get_image): New method to
5193 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5195 * src/hildon-touch-selector.c:
5196 (hildon_touch_selector_remove_column): Remove from the correct parent
5197 and also remove the list element and free it.
5200 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5202 * src/hildon-time-selector.c
5203 (_create_hours_model): change the range on 12h ampm format in order to use
5204 a 12-11 range instead of previous 01-12 range
5205 (hildon_time_selector_set_time): change the way to select the current time
5206 on 12h ampm format, due the change on the range
5207 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5210 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5212 * src/hildon-touch-selector.c
5213 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5214 in order to allow use this function on multiple row selection mode if
5215 the column is different that the first one
5218 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5220 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5221 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5223 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5225 * src/hildon-date-selector.h: clean some comments, now on the .c
5226 * src/hildon-date-selector.c
5227 (hildon_date_selector_select_month): first implementation
5228 (hildon_date_selector_select_day): added documentation, reimplemented
5229 using hildon_date_selector_select_current_date to avoid repeat code
5232 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5234 Reviewed interaction logic based on device experiences, refactored
5237 * src/hildon-pannable-area.c,
5238 (hildon_pannable_area_class_init): Updated default vmax speed.
5239 (hildon_pannable_area_calculate_velocity): Added this function, it
5240 avoids duplicate valocity calculation. Adjusted calculation to
5241 avoid problems with zero dist events.
5243 (hildon_pannable_area_motion_notify_cb): Now we use the
5244 calculate_velocity function.
5246 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5248 * src/hildon-date-selector.c
5249 (hildon_date_selector_select_current_date): fix the day range check
5250 as it failed using the last day of the current month
5253 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5255 * src/hildon-touch-selector.c
5256 (hildon_touch_selector_get_num_columns): added a parameter validation
5259 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5261 * examples/Makefile.am
5262 * examples/hildon-edit-toolbar-example.c: Example of the
5263 HildonEditToolbar widget.
5265 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5267 * configure.ac: postrelease version bump.
5269 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5273 * configure.ac: prerelease version bump.
5274 * debian/changelog: update.
5276 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5278 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5279 renderer to display stock icons in the touch list. Also, set the sizes
5280 to the recommended in the style guide.
5282 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5283 * src/hildon-touch-selector.h
5284 (hildon_touch_selector_set_active_iter): renamed, now is
5285 hildon_touch_selector_select_iter
5286 (hildon_touch_selector_get_active_iter): renamed, now is
5287 hildon_touch_selector_get_selected
5288 (hildon_touch_selector_unselect_iter): added
5289 * src/hildon-touch-selector.c
5290 Update after API modification (methods renamed)
5291 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5292 order to avoid problems selecting multiple elements on the column
5293 (hildon_touch_selector_unselect_iter): added the implementation
5294 * src/hildon-time-selector.c
5295 * src/hildon-date-selector.c
5296 * src/hildon-touch-selector-entry.c
5297 Update methods calls after hildon-touch-selector.h API modification (methods
5300 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5302 * src/hildon-stackable-window.c
5303 (hildon_stackable_window_finalize): Call the parent class's finalize.
5305 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5307 * examples/hildon-touch-selector-example.c: (create_selector): Use
5308 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5311 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5313 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5314 set a cell background color, to respect theming.
5316 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5318 * doc/hildon-docs.sgml
5321 * src/hildon-edit-toolbar.c
5322 * src/hildon-edit-toolbar.h
5323 * src/hildon.h: New HildonEditToolbar widget.
5325 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5327 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5330 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5331 * src/hildon-touch-selector.c
5332 (_create_new_column): use g_object_set instead of two g_object_set_property
5334 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5335 * src/hildon-touch-selector.c
5336 (_create_new_column): use of hildon_gtk_tree_view_new to create
5337 the treeview, instead of use directly g_object_new
5338 (_create_new_column): update the property name "vindicator-mode" for the
5339 new one "vscrollbar-policy"
5340 * examples/hildon-date-button-example.c
5341 * examples/hildon-picker-button-multicolumn-example.c
5342 * examples/hildon-touch-selector-entry-example.c
5343 * examples/hildon-touch-selector-example.c
5344 * examples/hildon-time-button-example.c
5345 * examples/hildon-picker-button-example.c
5346 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5347 to all the treeviews inside a pannable area.
5349 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5351 * src/hildon-button.h
5352 * src/hildon-button.c (hildon_button_init)
5353 (hildon_button_set_arrangement, hildon_button_set_alignment)
5354 (hildon_button_set_title_alignment)
5355 (hildon_button_set_value_alignment)
5356 (hildon_button_set_image_alignment)
5357 (hildon_button_construct_child): New methods to set the alignment
5358 of the individual components of the button (title, value,
5359 image). Also, new method to alter the xscale and yscale properties
5360 of the GtkAlignment inside the button, so more complex layouts can
5363 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5365 * src/hildon-button.c (hildon_button_style_set)
5366 (hildon_button_class_init, hildon_button_set_arrangement)
5367 (hildon_button_construct_child): Apply style properties
5368 correctly. Use the 'image-spacing' style property too.
5370 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5372 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5373 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5376 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5378 * src/hildon-pannable-area.c,
5379 (hildon_pannable_area_size_request): Fixed problem with
5380 pannable-area size_request.
5382 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5384 Added management for the grab-focus to a child widget, like a
5385 range, we need to fade out the scrollbar when releasing.
5387 * src/hildon-pannable-area.c,
5388 (hildon_pannable_area_init): Connected the grab-focus signal to
5390 (hildon_pannable_area_grab_notify): Added this function in order
5391 to manage the situation when the grab-focus ends. We have to
5392 fade-out the scrollbar.
5394 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5396 * src/hildon-app-menu.c: Minor documentation update.
5398 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5400 * src/hildon-app-menu.c
5401 * examples/hildon-app-menu-example.c (create_menu): Update
5402 examples and documentation to explain how to connect callbacks.
5404 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5406 * examples/hildon-button-example.c
5407 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5408 hildon_stackable_window_new instead of gtk_window_new
5410 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5412 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5413 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5414 (hildon_pannable_area_set_property),
5415 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5416 (hildon_pannable_area_unrealize),
5417 (hildon_pannable_area_size_request),
5418 (hildon_pannable_area_size_allocate),
5419 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5420 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5421 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5422 (hildon_pannable_area_initial_effect),
5423 (hildon_pannable_area_redraw),
5424 (hildon_pannable_area_scroll_indicator_fade),
5425 (hildon_pannable_area_expose_event),
5426 (hildon_pannable_area_get_topmost), (synth_crossing),
5427 (hildon_pannable_area_button_press_cb),
5428 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5429 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5430 (hildon_pannable_area_motion_notify_cb),
5431 (hildon_pannable_area_button_release_cb),
5432 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5433 (hildon_pannable_area_remove),
5434 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5435 chage the code layout to a more GtkWidget like. Review the use of
5438 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5440 * examples/hildon-pannable-area-example-4.c,
5441 (main): Modified the name of the hindicator_mode to
5444 * src/hildon-pannable-area.c,
5445 (hildon_pannable_area_class_init),
5446 (hildon_pannable_area_motion_notify_cb),
5447 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5448 we have reduced the amount of signals and managed reviewed its
5449 rationale. Changed the default decelerate value.
5451 (hildon_pannable_area_add),
5452 (hildon_pannable_area_redraw): Refactored functions.
5454 (hildon_pannable_area_init),
5455 (hildon_pannable_area_get_property),
5456 (hildon_pannable_area_set_property):
5457 (hildon_pannable_draw_vscroll),
5458 (hildon_pannable_draw_hscroll),
5459 (hildon_pannable_area_initial_effect),
5460 (hildon_pannable_area_expose_event),
5461 (hildon_pannable_area_scroll),
5462 (hildon_pannable_area_button_press_cb),
5463 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5464 and vindicator_mode with hscrollbar_policy and
5465 vscrollbar_policy. Replaced hscroll and vscroll with
5466 hscroll_visible and vscroll_visible.
5468 (hildon_pannable_area_refresh): Refactor the function, remove
5469 variables and check the calls to this function, added resize
5470 conditions in case the children change their layout.
5472 (hildon_pannable_area_size_request): Added more detailed
5473 size_request calculation.
5476 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5478 * src/hildon-color-chooser.c
5479 (init_borders): use the correct gtk_border_free instead of g_free, to
5480 avoid a crash when this widget is used (ie: the three color selection
5483 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5485 * src/hildon-check-button.c,
5486 (hildon_check_button_set_active): Fixed problem when setting the
5487 active value, the widget was not redrawn.
5489 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5491 * src/hildon-pannable-area.c,
5492 (hildon_pannable_area_refresh),
5493 (hildon_pannable_area_scroll),
5494 (hildon_pannable_area_motion_notify_cb): Small code style change.
5496 (hildon_pannable_area_class_init): Default initial_hint set to
5497 FALSE, it is not in the specs.
5499 (hildon_pannable_area_initial_effect),
5500 (hildon_pannable_area_expose_event),
5501 (hildon_pannable_area_map),
5502 (hildon_pannable_area_init): Moved the launching point of the
5503 initial effect, it was in map but the sizes where not correct in
5504 that method so we do not know if we have the reproduce it. Now it
5505 is placed in the expose_event method and uses a variable to
5506 reproduce it just once.
5508 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5510 * src/hildon-pannable-area.c,
5511 (hildon_pannable_draw_vscroll),
5512 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5513 position allowed for the scrollbars.
5515 (hildon_pannable_area_size_allocate): Small style change.
5517 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5519 * src/hildon-pannable-area.c,
5520 (hildon_pannable_area_scroll_indicator_fade),
5521 (hildon_pannable_area_button_press_cb),
5522 (hildon_pannable_area_button_release_cb),
5523 (hildon_pannable_area_scroll_cb),
5524 (hildon_pannable_area_expose_event),
5525 (hildon_pannable_area_init): Added the define parameter
5526 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5527 and refactor the fade variable.
5529 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5531 * src/hildon-pannable-area.c,
5532 (hildon_pannable_area_redraw),
5533 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5534 lines, we were reimplemeting the redraw code.
5536 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5538 * src/hildon-pannable-area.c,
5539 (hildon_pannable_area_scroll_cb),
5540 (hildon_pannable_area_realize),
5541 (hildon_pannable_area_class_init): Added scroll_event management
5542 for pannable area, now we can scroll the usual desktop method.
5544 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5545 initialization of the parameters should depend on idle_id.
5547 (hildon_pannable_area_init),
5548 (hildon_pannable_area_map): Small code style modifications
5550 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5552 * src/hildon-pannable-area.c
5553 (hildon_pannable_area_button_press_cb),
5554 (hildon_pannable_area_motion_notify_cb),
5555 (hildon_pannable_area_button_release_cb),
5556 (hildon_pannable_area_size_allocate),
5557 (hildon_pannable_area_scroll_to): Improved the timeouts
5558 management, we avoid creating them each time.
5560 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5562 * src/hildon-pannable-area.c:
5563 (hildon_pannable_area_refresh),
5564 (hildon_pannable_area_motion_notify_cb),
5565 (hildon_pannable_area_class_init):
5566 * src/hildon-pannable-area.h:
5567 * src/hildon-touch-selector.c
5568 (_create_new_column):
5569 * examples/hildon-pannable-area-example-4.c:
5570 (horizontal_movement),
5571 (vertical_movement),
5573 Replaced the names of enums in the HildonPannableArea:
5574 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5575 HILDON_MOVEMENT_MODE_*
5576 - HILDON_PANNABLE_AREA_MOV_* ->
5578 - Removed HildonPannableAreaIndicatorMode, now we
5581 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5583 * examples/hildon-pannable-area-touch-grid-example.c
5584 * examples/hildon-pannable-area-touch-list-example.c: Fix
5585 compilation warnings.
5587 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5589 * src/hildon-gtk.c (hildon_gtk_button_new)
5590 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5591 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5592 images overriding the value of the "gtk-button-images" setting.
5594 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5596 * src/hildon-check-button.c (hildon_check_button_new):
5597 Instead of using a custom container, display the label and the
5598 checkbox using the standard GtkButton API.
5600 * examples/hildon-check-button-example.c (main): Don't use
5601 hildon_check_button_set_label() anymore
5603 * src/hildon-check-button.h
5604 * src/hildon-check-button.c
5605 (hildon_check_button_set_label, hildon_check_button_get_label):
5606 Set as deprecated, now we're using gtk_button_{get,set}_label()
5608 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5610 * src/hildon-pannable-area.c,
5611 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5612 GtkTreeview first line we detected it after the inclusion of the
5613 GtkWindowImpl in gtk+. We now check if the window is visible, not
5614 just if the pointer is over the window.
5615 (hildon_pannable_axis_scroll),
5616 (hildon_pannable_area_expose_event): Small style changes.
5618 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5620 * src/hildon-button.c: Update documentation.
5622 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5624 * examples/hildon-button-example.c: Add a switch to show images in
5627 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5629 * doc/hildon-docs.sgml: Some docs reorganization.
5631 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5633 * examples/hildon-pannable-area-touch-list-example.c
5635 * examples/hildon-pannable-area-touch-grid-example.c
5636 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5637 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5638 Fix memory leak when setting the tree model.
5640 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5644 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5646 * doc/hildon.types: Remove duplicated hildon_window_get_type
5647 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5648 documentation comment.
5650 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5652 * doc/Makefile.am: Complete list of private headers.
5654 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5656 * doc/hildon-docs.sgml
5657 * src/hildon-app-menu.c
5658 * src/hildon-bread-crumb.c
5659 * src/hildon-button.c
5661 * src/hildon-program.c
5662 * src/hildon-stackable-window.c
5663 * src/hildon-window.c: Lots of documentation updates.
5665 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5667 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5669 * configure.ac: Require Gtk+ 2.12.9 at least
5671 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5673 * src/hildon-pannable-area.c
5674 (hildon_pannable_area_scroll_indicator_fade),
5675 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5676 to protect the return of this timeout callbacks, avoiding deadlocks.
5678 2008-08-12 Christian Dywan <christian@imendio.com>
5681 * src/hildon-*.h: Ensure a consistent include order,
5682 include <gtk/gtk.h> instead of particular files and
5683 only include the topmost header in the gtk stack. See NB #39857
5685 2008-08-12 Christian Dywan <christian@imendio.com>
5687 * src/hildon-picker-dialog.c
5688 * src/hildon-touch-selector.c: Fix warnings about unused and
5689 uninitialized variables.
5691 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5693 * examples/Makefile.am
5694 * examples/hildon-check-button-example.c: Example of the hildon
5697 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5699 * src/hildon-window.h
5700 * src/hildon-window.c (hildon_window_class_init)
5701 (hildon_window_unset_program): Don't make
5702 hildon_window_unset_program a virtual function anymore.
5704 * src/hildon-stackable-window.c: Update documentation
5706 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5709 * doc/hildon-docs.sgml
5710 * doc/visual_index.xml
5711 * src/hildon-defines.c
5713 * src/hildon-helper.c
5714 * src/hildon-range-editor.c: Lots of documentation fixes.
5716 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5718 * examples/hildon-picker-button-multicolumn-example.c
5719 (create_touch_selector): Fix compilation warning.
5721 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5723 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5724 (hildon_pannable_area_button_release_cb)
5725 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5727 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5729 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5732 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5734 * src/hildon-bread-crumb-trail.h
5735 * src/hildon-date-editor.c
5736 * src/hildon-date-selector.c
5737 * src/hildon-pannable-area.c
5738 * src/hildon-picker-dialog.c
5739 * src/hildon-time-selector.c
5740 * src/hildon-touch-selector-entry.c
5741 * src/hildon-touch-selector.c
5742 * src/hildon-touch-selector.h: Misc documentation fixes
5744 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5746 * examples/hildon-date-editor-example.c (main): Updated date
5749 * examples/hildon-note-example.c (on_confirmation_clicked):
5750 Updated confirmation note example.
5752 * src/hildon-date-editor.c
5753 * src/hildon-note.c: Updated sample programs in documentation.
5756 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5758 * src/hildon-date-button.h:
5759 * src/hildon-picker-button.h:
5760 * src/hildon-time-button.c:
5761 * src/hildon-time-button.h:
5763 Some declarations changes to allow gtk-doc to document the widgets
5766 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5768 * src/hildon-date-button.c: Document the widget.
5769 * src/hildon-time-button.c: Document the widget.
5771 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5773 * src/hildon-picker-button.c: Document the widget.
5774 * src/hildon-touch-selector-entry.c: Document the widget.
5776 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5778 * doc/hildon-docs.sgml
5781 * src/hildon-check-button.h
5782 * src/hildon-check-button.c: New functions to create the Hildon
5786 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5788 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5790 * src/hildon-button.h
5791 * src/hildon-button.c
5792 (hildon_button_add_title_size_group)
5793 (hildon_button_add_value_size_group)
5794 (hildon_button_add_image_size_group)
5795 (hildon_button_add_size_groups): New functions to set size groups
5796 for the button labels and image.
5797 (hildon_button_new_full): Removed
5799 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5801 * src/hildon-time-selector.c
5802 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5803 in order to avoid a crash if gconf is not available
5805 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5807 * src/hildon-button.c (hildon_button_set_arrangement)
5808 (hildon_button_construct_child): Don't construct the button child
5809 before setting the arrangement.
5811 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5813 * src/hildon-program-private.h
5814 * src/hildon-program.c
5815 * src/hildon-program.h
5816 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5817 (hildon_program_peek_window_stack)
5818 (hildon_program_pop_window_stack)
5819 (hildon_program_go_to_root_window): HildonProgram now has a
5820 separate list for stackable windows. Functions are provided to
5821 manage that list with a stack-like API.
5823 * src/hildon-stackable-window.c: Stackable window management is
5824 now much simpler with the new HildonProgram API. Windows no
5825 longer need to be manually added to the program, they're
5826 automatically pushed to the top of the stack when shown.
5828 * examples/hildon-stackable-window-example.c: Updated example to
5829 reflect the API changes.
5831 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5833 * src/hildon-touch-selector.c: Comment out unimplemented
5834 hildon_touch_selector_insert_column() to avoid a compile warning.
5836 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5838 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5839 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5840 (hildon_touch_selector_set_column_selection_mode),
5841 (_hildon_touch_selector_set_model),
5842 (hildon_touch_selector_set_model):
5844 Complete review of HildonTouchSelector documentation.
5846 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5848 * doc/hildon-docs.sgml
5852 * src/hildon-gtk.c: Convenience functions for standard Gtk
5853 widgets, used to easily perform frequent operations.
5855 * src/hildon-button-helpers.h
5856 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5858 * src/hildon-helper.h
5859 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5860 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5862 * src/hildon-button.h
5863 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5865 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5867 * src/hildon-button.c (hildon_button_init)
5868 (hildon_button_set_arrangement, hildon_button_construct_child):
5869 Pack the image and the labels inside the same GtkAlignment so
5870 gtk_button_set_alignment() can be used
5872 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5874 * src/hildon-button.h
5875 * src/hildon-button.c
5876 (hildon_button_init, hildon_button_set_image)
5877 (hildon_button_set_image_position)
5878 (hildon_button_construct_child): New functions to add an image to
5881 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5883 * src/hildon-date-button.c
5884 * src/hildon-picker-button.c
5885 * src/hildon-time-button.c
5886 * src/hildon-button.c:
5887 (hildon_button_class_init): "size-flags" renamed to "size"
5888 (hildon_button_set_title): Hide the title label if set to NULL.
5890 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5892 HildonButtonFlags split into HildonButtonArrangement (to set the
5893 button layout) and HildonSizeType (which can be used for any
5896 * src/hildon-button.h
5897 * src/hildon-button.c
5898 (hildon_button_class_init)
5899 (hildon_button_set_arrangement)
5900 (hildon_button_set_property): New "size-flags"
5901 property. "arrangement-flags" renamed to "arrangement".
5902 (hildon_button_new, hildon_button_new_with_text)
5903 (hildon_button_new_full): Constructors updated to reflect type changes.
5905 * src/hildon-helper.h
5906 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5907 to set the size of a widget.
5911 * src/hildon-button-helpers.c
5912 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5914 * src/hildon-date-button.c
5915 * src/hildon-date-button.h
5916 * src/hildon-picker-button.c
5917 * src/hildon-picker-button.h
5918 * src/hildon-time-button.c
5919 * src/hildon-time-button.h: Updated widgets to reflect
5920 HildonButton API changes.
5922 * examples/hildon-button-example.c
5923 * examples/hildon-date-button-example.c
5924 * examples/hildon-picker-button-example.c
5925 * examples/hildon-picker-button-multicolumn-example.c
5926 * examples/hildon-time-button-example.c
5927 * examples/hildon-touch-selector-entry-example.c
5928 * examples/hildon-touch-selector-example.c: Updated examples to
5929 reflect HildonButton API changes.
5931 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5933 * doc/hildon-docs.sgml:
5935 * examples/Makefile.am:
5936 * examples/hildon-touch-selector-entry-example.c:
5938 * src/hildon-touch-selector-entry.c:
5939 * src/hildon-touch-selector-entry.h:
5942 Moved HildonTouchSelectorEntry from sandbox. Added its
5943 documentation and examples.
5945 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5947 * src/hildon-touch-selector.h:
5948 * examples/hildon-picker-button-multicolumn-example.c:
5949 (hildon_touch_selector_append_text_column): Add a gboolean
5950 parameter to determine if text must be centered in the column.
5952 * src/hildon-date-selector.c: (hildon_date_selector_init):
5953 * src/hildon-time-selector.c: (hildon_time_selector_init):
5954 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5955 (create_touch_selector): Update widgets and example to reflect
5958 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5960 * src/hildon-touch-selector.c:
5961 (hildon_touch_selector_set_active_iter): Set also the cursor in
5964 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5966 * doc/hildon-docs.sgml
5969 * src/hildon-toggle-button.c
5970 * src/hildon-toggle-button.h
5971 * src/hildon.h: Removed HildonToggleButton widget, a derived
5972 class is not necessary for this.
5974 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5976 * src/hildon-pannable-area.c,
5977 (hildon_pannable_area_realize),
5978 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5981 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5983 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5984 "done" button the default widget for the dialog.
5986 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5988 * src/hildon-touch-selector.c:
5989 (hildon_touch_selector_class_init),
5990 (hildon_touch_selector_get_property),
5991 (_hildon_touch_selector_set_model),
5992 (_hildon_touch_selector_has_multiple_selection),
5993 (hildon_touch_selector_has_multiple_selection):
5994 Add a "has-multiple-selection" property with a virtual
5995 has_multiple_selection() method to allow derived classes to
5996 override the default value for it. See the method and property
5997 documentation for details.
5999 * src/hildon-touch-selector.h: Add the new API.
6001 * src/hildon-picker-dialog.c: (requires_done_button): Call
6002 hildon_touch_selector_has_multiple_selection() instead of
6003 determining the need for a button itself.
6005 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6007 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6008 (_hildon_touch_selector_set_model),
6009 (hildon_touch_selector_set_model): Move working code to
6010 _hildon_touch_selector_set_mode(). Call the class method instead.
6012 * src/hildon-touch-selector.h: Add (*set_model) to
6013 HildonTouchSelectorClass.
6015 Make hildon_touch_selector_set_model() a virtual method, so that
6016 derived classes can extend it and do fancy stuff with the model.
6018 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6020 * configure.ac: Set back the tarname in AC_INIT to hildon.
6022 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6026 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6027 instead of libesd (NB#86876). Volume handling is still an open issue.
6029 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6032 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6034 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6035 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6036 derived class to ease placement of an entry widget in
6037 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6038 end, where the selector columns are packed now.
6040 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6042 * src/hildon-picker-button.c: Removed the simple _text() API.
6043 * src/hildon-picker-button.h: Likewise.
6045 * src/hildon-touch-selector.h:
6046 * src/hildon-touch-selector.c:
6047 (hildon_touch_selector_new_text),
6048 (hildon_touch_selector_append_text),
6049 (hildon_touch_selector_prepend_text),
6050 (hildon_touch_selector_insert_text):
6052 Moved the simple _text() API from HildonPickerButton to
6053 HildonTouchPicker, to provide better escalability and not to tie
6054 that API to HildonPickerButton.
6056 * examples/hildon-picker-button-example.c: (main): Example updated.
6058 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6060 * src/hildon-button.c: Updated documentation.
6062 * examples/hildon-button-example.c: Add the posibility to create
6063 the buttons using horizontal layout for title and value.
6065 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6067 * src/hildon-app-menu-private.h
6068 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6069 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6070 GtkSizeGroup for the filters, use the 'homogeneous' property of
6073 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6075 * examples/hildon-button-example.c: Updated example.
6077 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6079 * doc/hildon-docs.sgml:
6082 Update documentation.
6084 * examples/Makefile.am: Update renamed examples.
6086 * examples/hildon-picker-button-multicolumn-example.c:
6087 (create_touch_selector), (main): Update after the rename.
6089 * examples/hildon-touch-picker-example.c: Removed.
6090 * examples/hildon-touch-selector-example.c: (value_changed),
6091 (create_selector), (get_visible_content), (main): Renamed from
6092 hildon-touch-picker-example.c
6094 * src/Makefile.am: Updated renamed files.
6096 * src/hildon-date-button.c: (hildon_date_button_init),
6097 (hildon_date_button_get_date), (hildon_date_button_set_date):
6098 * src/hildon-date-selector.c: (hildon_date_selector_init),
6099 (_custom_print_func), (_update_day_model),
6100 (_manage_selector_change_cb),
6101 (hildon_date_selector_select_current_date),
6102 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6103 * src/hildon-date-selector.h:
6104 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6105 (hildon_picker_button_set_property),
6106 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6107 (hildon_picker_button_init), (hildon_picker_button_new_text),
6108 (hildon_picker_button_append_text),
6109 (hildon_picker_button_prepend_text),
6110 (hildon_picker_button_insert_text),
6111 (hildon_picker_button_set_selector),
6112 (hildon_picker_button_get_selector):
6113 * src/hildon-picker-button.h:
6114 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6115 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6116 (_update_title_on_selector_changed_cb), (requires_done_button),
6117 (_hildon_picker_dialog_set_selector),
6118 (hildon_picker_dialog_set_selector),
6119 (hildon_picker_dialog_get_selector):
6120 * src/hildon-picker-dialog.h:
6121 * src/hildon-time-button.c: (hildon_time_button_init),
6122 (hildon_time_button_get_time), (hildon_time_button_set_time):
6123 * src/hildon-time-selector.c: (hildon_time_selector_init),
6124 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6125 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6126 * src/hildon-time-selector.h:
6129 Massive code updates after the rename.
6131 * src/hildon-touch-picker.c: Removed.
6132 * src/hildon-touch-picker.h: Removed.
6134 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6135 (hildon_touch_selector_init), (hildon_touch_selector_map),
6136 (hildon_touch_selector_remove), (_default_print_func),
6137 (_selection_changed_cb), (_create_new_column),
6138 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6139 (hildon_touch_selector_append_text_column),
6140 (hildon_touch_selector_remove_column),
6141 (hildon_touch_selector_set_column_attributes),
6142 (hildon_touch_selector_insert_column),
6143 (hildon_touch_selector_get_num_columns),
6144 (hildon_touch_selector_get_column_selection_mode),
6145 (hildon_touch_selector_set_column_selection_mode),
6146 (hildon_touch_selector_set_print_func),
6147 (hildon_touch_selector_get_print_func),
6148 (hildon_touch_selector_get_active_iter),
6149 (hildon_touch_selector_set_active_iter),
6150 (hildon_touch_selector_get_selected_rows),
6151 (hildon_touch_selector_get_model),
6152 (hildon_touch_selector_set_model),
6153 (hildon_touch_selector_get_current_text),
6154 (_hildon_touch_selector_center_on_selected_items):
6155 * src/hildon-touch-selector.h: Renamed from
6156 hildon-touch-picker.[ch]
6158 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6159 references, code examples, and related documentation.
6161 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6163 * doc/hildon-docs.sgml
6166 * src/hildon-toggle-button.c
6167 * src/hildon-toggle-button.h
6168 * src/hildon.h: New HildonToggleButton widget.
6170 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6172 * src/hildon-button.c: Add API documentation.
6173 (hildon_button_set_size_groups): Check input parameters
6175 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6177 * src/hildon-pannable-area.c
6178 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6179 effect after reaching the movement thredshold. This way we start
6180 using the distance after passing the thredshold.
6182 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6184 * src/hildon-button.c: (hildon_button_set_property): Use the
6185 appropriate g_value_get_flags() method.
6187 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6189 * doc/hildon-docs.sgml:
6192 Add the touch pickers, picker dialogs, and picker button widgets
6193 to the documentation.
6195 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6197 * src/hildon-button.c: (hildon_button_set_property),
6198 (hildon_button_class_init): Make "arrangement-flags" a proper
6199 G_TYPE_FLAGS derived property.
6201 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6203 * examples/Makefile.am: Add below examples.
6204 * examples/hildon-date-button-example.c:
6205 * examples/hildon-picker-button-example.c:
6206 * examples/hildon-picker-button-multicolumn-example.c:
6207 * examples/hildon-time-button-example.c:
6208 * examples/hildon-touch-picker-example.c:
6210 Add examples for the recently added touch pickers,
6211 picker dialogs, and picker button widgets.
6213 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6215 * src/hildon-button.c: Add some API documentation
6217 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6219 * src/hildon-button.h
6220 * src/hildon-button.c
6222 (hildon_button_new_with_text): New constructor to create a button
6223 with no text at all.
6224 (hildon_button_init, hildon_button_set_arrangement)
6225 (hildon_button_set_title, hildon_button_set_value)
6226 (hildon_button_set_text)
6227 (hildon_button_construct_child): Hide the value when it's not used
6228 so the rest of the text is properly aligned.
6229 Allow creating buttons with arbitrary widgets inside (not just
6230 title/value labels).
6232 * examples/hildon-button-example.c (vertical_buttons_window)
6233 (horizontal_buttons_window): Update example to use new API.
6235 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6237 * src/Makefile.am: Added HildonTimeButton.
6238 * src/hildon-time-button.c: Added missing LGPL header.
6239 * src/hildon-time-button.h: Added missing LGPL header.
6240 * src/hildon.h: Add hildon-time-button.h
6242 Copied HildonTimeButton from sandbox to trunk. Future work on this
6243 widget must take place in trunk.
6245 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6247 * src/Makefile.am: Added HildonDateButton.
6248 * src/hildon-date-button.c: Update includes.
6249 * src/hildon.h: Add hildon-date-button.h
6251 Copied HildonDateButton from sandbox to trunk. Future work on this
6252 widget must take place in trunk.
6254 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6256 * src/Makefile.am: Added HildonPickerButton.
6257 * src/hildon-picker-button.h: Update includes.
6258 * src/hildon.h: Add hildon-picker-button.h
6260 Copied HildonPickerButton from sandbox to trunk. Future work on
6261 this widget must take place in trunk.
6263 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6265 * src/Makefile.am: Added HildonPickerDialog.
6266 * src/hildon-picker-dialog.c: Update includes.
6267 * src/hildon.h: Add hildon-picker-dialog.h
6269 Copied HildonPickerDialog from sandbox to trunk. Future work
6270 on this widget must take place in trunk.
6272 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6274 * src/Makefile.am: Added HildonTimeSelector.
6275 * src/hildon.h: Add hildon-time-selector.h
6277 Copied HildonTimeSelector widget from sandbox to trunk. Future
6278 work on this widget must happen in trunk.
6280 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6282 * src/Makefile.am: Added HildonDateSelector.
6283 * src/hildon.h: Add hildon-date-selector.h
6285 Copied HildonDateSelector widget from sandbox to trunk. Future
6286 work on this widget must happen in trunk.
6288 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6290 * src/Makefile.am: Added HildonTouchPicker.
6291 * src/hildon-touch-picker.c: Update includes.
6292 * src/hildon.h: Add hildon-touch-picker.h
6294 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6295 on this widget must happen in trunk.
6297 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6299 * src/hildon-pannable-area.c:
6300 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6302 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6304 * examples/hildon-app-menu-example.c (main): Let the window
6307 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6309 * src/hildon-pannable-area.c
6310 (hildon_pannable_area_class_init): Set the min value of the
6311 overshoot properties to zero, which points out that not
6312 overshooting allowed.
6314 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6316 Modified the procedure to get the widget at a point inside the
6317 pannable area when using the movement type signals. Now the user
6318 has to call a function to get the child, that way we just
6319 calculate the child in case the user really want to use it and not
6322 * src/hildon-marshalers.list: Modified the marshallers, now we do
6323 not have the widget as a parameter.
6325 * src/hildon-pannable-area.c
6326 (hildon_pannable_area_motion_notify_cb),
6327 (hildon_pannable_area_class_init),
6328 (hildon_pannable_get_child_widget_at): Removed the widget
6329 parameter from the signal callback. We have also refactored the
6330 emission of the signals.
6332 * src/hildon-pannable-area.h: Added a new method to the API to
6333 calculate a widget at a point inside the pannable area,
6334 hildon_pannable_get_child_widget_at.
6336 * examples/hildon-pannable-area-example-4.c
6337 (horizontal_movement): Modified the example to use the new API,
6338 added condition to control which widget is under the event. This
6339 way we can avoid scrolling laterally over other widgets.
6341 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6343 * src/hildon-pannable-area.c
6344 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6345 modes, we stop getting the pointer events due to returning the
6346 callback without properly calling the get pointer again. Fixed
6347 also an error using the hscroll and vscroll.
6349 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6351 * src/hildon-app-menu-private.h
6352 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6353 (hildon_app_menu_button_release, hildon_app_menu_init)
6354 (hildon_app_menu_class_init): Don't hide the menu on button
6355 release if the user didn't press outside first.
6357 * src/hildon-window.h
6358 * src/hildon-window.c (hildon_window_toggle_menu)
6359 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6360 hildon_window_toggle_menu a virtual function for the stackable
6361 window to override it.
6363 * src/hildon-stackable-window.h
6364 * src/hildon-stackable-window-private.h
6365 * src/hildon-stackable-window.c
6366 (hildon_stackable_window_realize)
6367 (hildon_stackable_window_finalize)
6368 (hildon_stackable_window_class_init)
6369 (hildon_stackable_window_init)
6370 (hildon_stackable_window_set_main_menu): New function to set the
6371 app menu of a HildonStackableWindow.
6373 * examples/hildon-app-menu-example.c: Remove the button to show
6374 the app menu, now it'll be shown when clicking on the title bar
6377 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6379 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6380 set the widget name if the arrangement flags do not specify
6383 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6385 * src/hildon-button.c: (hildon_button_set_property),
6386 (hildon_button_class_init), (hildon_button_new_full),
6387 (hildon_button_set_arrangement): Added "arrangement-flags"
6390 Make the HildonButtonFlags a construction-only property, to allow
6391 subclasses to set them properly.
6393 2008-07-21 Tim Janik <timj@imendio.com>
6395 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6396 insertion position after backspace, so additional digits are appended,
6399 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6401 * src/hildon-pannable-area.c,
6402 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6403 TODO list, it was complete and removed the g_debug and g_print
6406 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6408 Added the movement modes to the hildon-pannable-area, with this
6409 modes the developers can control in which directions the widget
6410 can scroll. They can also connect to signals in order to do
6411 something when that happens, allowing applications scroll. There
6412 is an example uploaded showing how to use it.
6414 * examples/Makefile.am:
6415 * examples/hildon-pannable-area-example-4.c: Added this example of
6416 an application using the modes.
6418 * src/hildon-marshalers.list: Added a new marshaller for the new
6421 * src/hildon-pannable-area.h: Added new enumerations and flags in
6422 order to control the movement modes and the new signals to warn
6423 about the movements in the area.
6425 * src/hildon-pannable-area.c:
6426 (hildon_pannable_axis_scroll),
6427 (hildon_pannable_area_scroll),
6428 (hildon_pannable_area_motion_notify_cb),
6429 (hildon_pannable_area_get_property),
6430 (hildon_pannable_area_set_property),
6431 (hildon_pannable_area_map),
6432 (hildon_pannable_area_class_init),
6433 (hildon_pannable_area_init),
6434 (hildon_pannable_area_jump_to): Added the modes to control the
6435 movement in the widget. We have added properties to control it,
6436 signals to warn about the movements and refactored some code.
6438 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6440 Changes required in order to allow vfast_factor set to zero to
6443 * src/hildon-pannable-area.c:
6444 (hildon_pannable_area_button_press_cb): Changed the condition, it
6445 is required for not allowing click when vfast_factor is zero.
6446 (hildon_pannable_area_timeout): Initialized velocity variables
6447 when we stop moving, it was less than 1 but not zero and we need
6448 to check zero in some situations.
6449 (hildon_pannable_area_class_init): Changed the default value of
6450 the speed factor, now the button_press is just sent in case the
6451 speed is 2 per cent of the max speed.
6452 (hildon_pannable_area_init): Initialization with 0.
6454 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6456 * src/hildon-pannable-area.c,
6457 (hildon_pannable_area_get_topmost): replaced
6458 gdk_window_get_children with gdk_window_peek_children, this way we
6459 do not have to free the list because it is not a copy.
6461 (hildon_pannable_axis_scroll),
6462 (hildon_pannable_area_scroll),
6463 (hildon_pannable_area_timeout),
6464 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6465 two parameters that were only used inside the
6466 hildon_pannable_area_scroll function.
6468 * examples/hildon-pannable-area-example.c,
6469 (get_sawtooth_label): Fixed small memory leak.
6471 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6473 More checks for the case where the overshoot is bigger than the
6476 * src/hildon-pannable-area.c:
6477 (hildon_pannable_draw_vscroll),
6478 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6479 to draw the slider of the scrollbar under the other scrollbar.
6480 (hildon_pannable_area_expose_event): added new checks to control
6481 the drawing of the overshooting area rectangle, in case it is too
6482 big for the area of the widget.
6483 (hildon_pannable_area_size_allocate): add more checks to avoid
6484 setting a position to the child widget outside the area.
6486 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6488 * src/hildon-pannable-area.c
6489 (hildon_pannable_area_size_allocate): Added conditions to control
6490 when overshooting is bigger than the allocated space for the
6491 children, this avoids negative allocations.
6493 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6495 * doc/hildon-docs.sgml
6497 * examples/Makefile.am
6498 * examples/hildon-button-example.c
6500 * src/hildon-button.c
6501 * src/hildon-button.h
6502 * src/hildon.h: Initial version of the new HildonButton widget,
6505 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6507 * src/hildon-pannable-area.c:
6508 (hildon_pannable_area_button_press_cb),
6509 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6510 (hildon_pannable_area_motion_notify_cb),
6511 (hildon_pannable_area_button_release_cb),
6512 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6513 (hildon_pannable_area_jump_to_child):
6515 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6517 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6519 * examples/Makefile.am
6520 * examples/hildon-pannable-area-touch-grid-example.c
6521 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6522 the Hildon Touch List and Hildon Touch Grid using the
6523 HildonPannableArea widget.
6525 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6527 * src/hildon-pannable-area.c,
6528 (hildon_pannable_area_button_press_cb),
6529 (hildon_pannable_area_refresh),
6530 (hildon_pannable_area_scroll),
6531 (hildon_pannable_area_motion_notify_cb),
6532 (hildon_pannable_area_button_release_cb),
6533 (hildon_pannable_area_expose_event),
6534 (hildon_pannable_area_add),
6535 (hildon_pannable_area_remove),
6536 (hildon_pannable_area_realize),
6537 (hildon_pannable_area_size_allocate),
6538 (hildon_pannable_area_class_init),
6539 (hildon_pannable_area_init),
6540 (hildon_pannable_area_scroll_to_child),
6541 (hildon_pannable_area_jump_to_child): Fixed the problem of
6542 removing the child from the GtkBin, we have rearranged the widget
6543 hierarchy, now there is no GtkAlignment which was not doing
6544 anything interesting but breaking some of the assumptions of
6545 GtkContainer. Now developers if they want to add a GtkAlignment
6546 they could, but it is not inside the area.
6548 We had to review the whole allocation/expose process, now it is
6549 improved and we save at least three signals which would be saving
6550 some time when rendering the widget. The allocation of the
6551 scrollbars is now made in the allocate method as usual.
6553 We have also added some conditions in order to control when there
6554 is no child of the pannable area. Maybe we will need more work
6557 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6559 * src/hildon-pannable-area.c,
6560 (hildon_pannable_area_dispose): Released the fade-out timeout when
6561 disposing the widget.
6563 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6565 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6566 zero, we are going to use that property in order to deactivate the
6568 (hildon_pannable_axis_scroll),
6569 (hildon_pannable_area_size_allocate): Added conditions to control
6570 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6571 call, now it is called in all situations and we can remove calls
6572 in the allocate method.
6573 (hildon_pannable_area_map): Control the situation when
6574 overshoot_max is zero, we do not need the timeout.
6575 (hildon_pannable_area_class_init): Added documentation in order to
6576 point out that setting zero to overshoot_max means deactivate
6579 NOTE: removed trailing whitespaces from my previous comments of
6582 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6584 * src/hildon-pannable-area.c
6585 (hildon_pannable_area_get_property),
6586 (hildon_pannable_area_set_property),
6587 (hildon_pannable_area_map),
6588 (hildon_pannable_area_class_init),
6589 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6590 to cause the widget give a hint about its panning abilities upon
6593 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6595 * src/hildon-pannable-area.c: Several documentation improvements.
6597 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6599 * src/hildon-program.c
6600 * src/hildon-stackable-window.c: Update documentation.
6602 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6604 * src/hildon-stackable-window.c (get_previous_window_if_last):
6605 Renamed get_last_window()
6606 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6607 (hildon_stackable_window_unset_program):
6609 (get_previous_window_if_last):
6610 Detect if the window hasn't been added to a HildonProgram.
6612 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6614 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6616 * src/hildon-pannable-area.c
6617 (hildon_pannable_area_button_press_cb),
6618 (hildon_pannable_axis_scroll),
6619 (hildon_pannable_area_scroll),
6620 (hildon_pannable_area_timeout),
6621 (hildon_pannable_calculate_vel_factor),
6622 (hildon_pannable_area_get_property),
6623 (hildon_pannable_area_set_property),
6624 (hildon_pannable_area_class_init),
6625 (hildon_pannable_area_init),
6626 (hildon_pannable_area_scroll_to),
6627 (hildon_pannable_area_jump_to),
6628 (hildon_pannable_area_scroll_to_child),
6629 (hildon_pannable_area_jump_to_child):
6630 * src/hildon-pannable-area.h: Added the new API functions:
6631 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6632 hildon_pannable_area_scroll_to_child,
6633 hildon_pannable_area_jump_to_child
6636 * examples/Makefile.am
6637 * examples/hildon-pannable-area-example-2.c
6638 * examples/hildon-pannable-area-example-3.c: Added these two new
6639 examples in order to test and show how the new APIs work.
6641 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6643 * examples/hildon-stackable-window-example.c (new_window):
6644 * src/Makefile.am (noinst_HEADERS):
6645 * src/hildon-program.c (hildon_program_go_to_root_window):
6646 * src/hildon-program.h:
6647 * src/hildon-stackable-window-private.h:
6648 * src/hildon-stackable-window.c:
6649 * src/hildon-stackable-window.h:
6650 Create hildon-stackable-window-private.h
6651 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6653 * examples/hildon-app-menu-example.c (create_menu):
6654 * examples/hildon-hvolumebar-insensitive-example.c (main):
6655 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6656 * examples/hildon-toolbar-seekbar-example.c (main):
6657 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6658 * src/hildon-banner.c (hildon_banner_set_property):
6659 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6660 Fix compilation warnings
6662 * src/hildon-window.c:
6665 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6667 * src/hildon-stackable-window.c
6668 (hildon_stackable_window_unset_program):
6669 Calculate correctly whether to show the previous window if the
6670 last one is removed from the stack.
6671 (hildon_stackable_window_go_to_root_window):
6672 Send delete events starting from the topmost window.
6673 Stop if one of the windows is not destroyed.
6675 (hildon_stackable_window_delete_event)
6676 (hildon_stackable_window_class_init):
6677 Ignore the delete event if the window is not the topmost one.
6679 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6681 * src/hildon-pannable-area.c
6682 (hildon_pannable_area_expose_event): Fixed a problem when
6683 selecting the background color of the scrollbars.
6685 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6687 * examples/hildon-stackable-window-example.c
6688 * src/hildon-stackable-window.c
6689 * src/hildon-stackable-window.h
6690 hildon_stackable_window_go_home() renamed to
6691 hildon_stackable_window_go_to_root_window()
6692 Send delete events to windows rather than closing them with
6693 gtk_widget_destroy()
6695 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6697 * src/hildon-pannable-area.c
6698 (hildon_pannable_area_button_release_cb): Fix overshooting in
6701 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6703 * src/hildon-pannable-area.c
6704 (hildon_pannable_area_init): Initially show the scroll indicators.
6705 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6707 Add initial effect showing the widget is pannable.
6709 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6711 * src/hildon-pannable-area.c
6712 (hildon_pannable_area_class_init)
6713 (hildon_pannable_area_set_property)
6714 (hildon_pannable_area_get_property)
6715 (hildon_pannable_area_button_press_cb):
6716 New 'velocity_fast_factor' property to decide which velocity is
6719 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6721 * src/hildon-pannable-area.c
6722 (hildon_pannable_draw_hscroll)
6723 (hildon_pannable_draw_vscroll):
6724 Use float variables to calculate the size of the scrollbars to
6725 avoid error propagation and resizing during scrolling.
6727 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6729 * src/hildon-pannable-area.c
6730 (hildon_pannable_draw_vscroll)
6731 (hildon_pannable_draw_hscroll):
6732 Define a minimum size for the scroll bars
6734 * src/hildon-stackable-window.c
6735 (hildon_stackable_window_go_home): Fix compilation warning
6736 (get_last_window): Minor optimizations
6737 (hildon_stackable_window_class_init): Fix initialization of
6740 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6742 * src/hildon-stackable-window.c: Fixed typos in doc
6744 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6746 * src/hildon-pannable-area.c
6747 (hildon_pannable_area_scroll):
6748 Calculate here whether we need to scroll instead of using the booleans
6749 that tell us whether to /draw/ the scrolling bars.
6751 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6753 * src/hildon-app-menu.h
6755 * src/hildon-app-menu.c
6756 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6757 multiple filter groups related code and API. Now we support only
6759 * examples/hildon-app-menu-example.c:
6761 Update to reflect API changes.
6763 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6765 * src/hildon-stackable-window.c
6766 (hildon_stackable_window_class_init):
6767 Add hildon_stackable_window_realize.
6768 (hildon_stackable_window_realize):
6769 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6770 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6771 to apply theming and behavior specific to HildonStackableWindow
6774 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6776 * src/hildon-note.c (hildon_note_button_release):
6777 Close information notes also when tapping on them
6779 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6781 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6782 ELASTICITY, refactor and review, fix some issues with drawing
6785 * src/hildon-pannable-area.c:
6786 (hildon_pannable_area_button_press_cb): removed the conditions to
6787 avoid clicks when overshooting. It is not required
6789 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6790 define. Refatored and reviewed the code, now we do not need to
6791 manage velocity in motion_notify.
6793 (hildon_pannable_area_motion_notify_cb): We have moved the code
6794 that controls the area_scroll to the axis_scroll function and get
6795 rid of duplicated code.
6797 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6799 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6801 (hildon_pannable_draw_vscroll),
6802 (hildon_pannable_draw_hscroll): Fixed the problems with the
6803 scrollbar drawing, now we do not use two surfaces, it is easier
6804 and saves resources.
6806 (hildon_pannable_area_get_property): Style modification.
6808 (hildon_pannable_area_class_init): Changed some default values.
6810 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6812 * src/hildon-stackable-window.c: Fix some typos in the
6815 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6817 * src/hildon-dialog.c:
6818 Change indentation style
6821 (hildon_note_button_release):
6822 Use root coordinates to check if the release event happened
6825 * src/hildon-app-menu.c
6826 (hildon_app_menu_button_release):
6827 Remove unnecessary check
6829 * examples/hildon-app-menu-example.c
6831 Add cast to fix warning
6833 * src/hildon-app-menu.c
6834 (hildon_app_menu_class_init):
6835 New inner-border style property.
6836 Set all default spacings to 16
6837 (hildon_app_menu_init):
6838 Use vertical-spacing to set the space between filter buttons and
6839 regular menu buttons.
6840 Set the default container border using the inner-border value.
6842 * examples/hildon-app-menu-example.c
6844 Don't set the menu border explicitly, now we have the inner-border
6845 style property for that.
6847 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6849 * src/hildon-app-menu.c (hildon_app_menu_init):
6850 Make the window modal
6852 * src/hildon-note.c (hildon_note_map)
6853 * src/hildon-app-menu.c (hildon_app_menu_map):
6854 Destroy the grab window if we're unable to grab the pointer
6856 * src/hildon-app-menu-private.h
6857 * src/hildon-app-menu.c
6858 (hildon_app_menu_init, hildon_app_menu_finalize)
6859 (hildon_app_menu_map, hildon_app_menu_unmap)
6860 (hildon_app_menu_button_release)
6861 (grab_transfer_window_get):
6862 Bring back the grab window
6863 (hildon_app_menu_realize):
6864 Decorate the window, set WM hint for Matchbox
6866 * src/hildon-note.c (hildon_note_realize):
6867 * src/hildon-banner.c (hildon_banner_realize):
6868 Add WM hints for Matchbox
6870 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6872 * src/hildon-app-menu-private.h
6873 * src/hildon-app-menu.c
6874 (hildon_app_menu_init, hildon_app_menu_finalize)
6875 (hildon_app_menu_map, hildon_app_menu_unmap)
6876 (hildon_app_menu_button_release):
6877 Remove the grab window, it's not needed anymore
6879 * src/hildon-program.c
6880 Fixed typo in documentation
6882 * src/hildon-app-menu.h
6883 * src/hildon-app-menu.c
6884 * examples/hildon-app-menu-example.c
6885 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6887 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6890 Added new transfer_window and close_if_pressed_outside private
6892 (hildon_note_rebuild):
6893 Don't add a cancel button to the information note. It will be
6894 closed when tapping outside
6895 Remove the comment about the OK button in the documentation
6896 (hildon_note_realize):
6897 Set the notification type hint
6898 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6899 Grab/ungrab pointer and keyboard if the note has to be closed when
6901 (hildon_note_button_release):
6902 Close the note when tapping outside (if applicable)
6904 * src/hildon-app-menu.c
6905 Grab/ungrab pointer and keyboard on map/unmap
6906 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6907 Close the menu on button release, not button press
6909 * src/hildon-banner.c
6910 (hildon_banner_set_property)
6911 (hildon_banner_check_position):
6912 Make the banner use the full width of the screen
6913 (hildon_banner_show_information)
6914 (hildon_banner_show_information_with_markup):
6915 Don't display an icon by default
6917 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6919 Added fading scrollbars and adapted all the overshooting code to
6920 horizontal scrolling. We have also fixed bugs with overshooting
6921 and current fading implementation.
6923 * src/hildon-pannable-area.c
6924 (hildon_pannable_area_scroll_indicator_fade): Time out function
6925 used to change the transparency of the scrollbars.
6927 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6928 control and fixed a problem with fading, we now remove the fade
6929 timeout before adding a new one.
6931 (hildon_pannable_axis_scroll):
6932 (hildon_pannable_area_scroll):
6933 (hildon_pannable_area_timeout): Added this functions so we can use
6934 the scroll code both for vertical and horizontal.
6936 (hildon_pannable_area_motion_notify_cb):
6937 (hildon_pannable_area_button_release_cb): Added the horizontal
6938 scrolling control, fixed a problem with the overshooting timeout.
6940 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6941 painting of the scrolls.
6943 (hildon_pannable_draw_vscroll):
6944 (hildon_pannable_draw_hscroll):
6945 (hildon_pannable_area_expose_event):
6946 Draw both scrollbars and rectangles in the overshooting area.
6948 (hildon_pannable_area_get_property):
6949 (hildon_pannable_area_set_property):
6950 Modified the overshoot property to overshoot_max
6952 (hildon_pannable_area_map):
6953 Replaced the comments symbols.
6955 (hildon_pannable_area_size_allocate):
6956 (hildon_pannable_area_class_init):
6957 (hildon_pannable_area_init): Added horizontal scroll, fading
6958 effect properties, fixed a problem when overshooting in the bottom
6961 * examples/hildon-pannable-area-example.c:
6962 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6963 looks better in the example.
6965 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6967 * src/hildon-window.c
6968 * src/hildon-window.h
6969 (hildon_window_class_init)
6970 (hildon_window_unset_program)
6971 (hildon_window_unset_program_real):
6972 Make unset_program a virtual function
6974 * src/hildon-stackable-window.c
6975 * src/hildon-stackable-window.h
6976 Added hildon_stackable_window_go_home()
6978 * examples/Makefile.am
6979 * examples/hildon-stackable-window-example.c
6980 HildonStackableWindow example
6982 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6984 * hildon-pannable-area.c: Added the overshoot property and removed
6985 the OVERSHOOT define. Fixed an indent style error.
6986 (hildon_pannable_area_motion_notify_cb):
6987 (hildon_pannable_area_get_property):
6988 (hildon_pannable_area_set_property): Add overshoot property.
6990 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6993 (hildon_pannable_area_class_init): Installed the new property.
6995 * hildon-pannable-area-example.c: Added a sawtooth function, this
6996 way it is easier to check the movement in the pannable.
6997 (get_sawtooth_label): Added this function.
6998 (main): Now we get the labels from the new get_sawtooth_label
7001 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7003 * src/hildon-app-menu.h
7004 * src/hildon-app-menu.c
7005 Renamed API variables for consistency
7007 (hildon_app_menu_popup): Use also the default window size to
7008 decide where to place the menu
7010 (hildon_app_menu_init, hildon_app_menu_class_init): New
7011 external-border style property
7013 2008-05-26 Michael Natterer <mitch@imendio.com>
7015 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7016 widget_class->tap_and_hold_setup signal slot doesn't exist any
7017 longer, stop overriding it.
7019 (hildon_time_editor_init): g_signal_connect() to the
7020 tap-and-hold-setup signal instead.
7022 (hildon_time_editor_entry_keypress): add cast to fix warning.
7024 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7026 * doc/hildon-docs.sgml
7028 * examples/Makefile.am
7029 * examples/hildon-app-menu-example.c
7031 * src/hildon-app-menu-private.h
7032 * src/hildon-app-menu.c
7033 * src/hildon-app-menu.h
7035 New HildonAppMenu widget
7037 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7039 Rearranged the inheritance of the pannable area, now it inherits
7040 from GtkBin. This will allow us to control the event_window and
7041 the allocation process of the widget, required for some effects.
7043 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7044 GtkBin structures. * src/hildon-pannable-area.c: Added the
7045 event_window variable.
7046 (hildon_pannable_area_button_press_cb):
7047 (hildon_pannable_area_button_release_cb):
7048 (hildon_pannable_area_motion_notify_cb):
7049 Changed the signature of the method, now we override the event
7050 callback instead of connecting to the signal.
7052 (hildon_pannable_area_realize):
7053 (hildon_pannable_area_unrealize):
7054 (hildon_pannable_area_map):
7055 (hildon_pannable_area_unmap):
7056 (hildon_pannable_area_size_allocate):
7057 Added functions to control the widget construction. We add a
7058 INPUT_ONLY window and we put it over the widgets inside the
7059 container, this event_window handles the events.
7061 (hildon_pannable_area_class_init):
7062 Replaced the signal connections with overrides of the event
7065 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7067 Bouncing effect added when touching the borders, you can change
7068 the elasticity of the border changing the ELASTICITY define.
7070 * src/hildon-pannable-area.c: Added ELASTICITY define.
7071 (hildon_pannable_area_timeout): Added inverse velocity when
7072 touching the border of the child widget, that causes a bounce.
7074 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7076 Improved performance, we now do not go to the X server in order to
7077 get the list of window children. Apparently the effect is the
7078 same, we have to be careful and check if this breaks something in
7081 * src/hildon-pannable-area.c:
7082 (get_ordered_children): Removed this function.
7083 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7084 the children windows function with gdk_window_get_children.
7086 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7088 * src/hildon-pannable-area.c:
7089 (hildon_pannable_area_dispose): Fixed a crash when closing the
7090 window and kinetics is activated.
7092 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7094 * src/hildon-pannable-area.h
7095 * src/hildon-pannable-area.c
7096 Changed indentation style to meet the one used in Hildon
7098 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7100 Reviewed the interaction of the AUTO mode, now we use the time
7101 attribute of the events and calculate the velocity in the motion,
7102 doing a gimp like calculation. The velocity is calculated in each
7103 motion event using the last velocity and the current one, the
7104 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7106 * src/hildon-pannable-area.c: Replaced the time based algorithm
7108 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7109 timeout for the AUTO mode when we are still moving the cursor. We
7110 added also the velocity calculation in this function.
7111 (hildon_pannable_area_button_release_cb): launch the timeout in
7112 case we are in AUTO mode. There are still some constants here that
7113 come from the old implementation that should be reviewed and
7116 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7118 * doc/hildon-docs.sgml
7121 * src/hildon-stackable-window.c
7122 * src/hildon-stackable-window.h
7124 New HildonStackableWindow widget
7126 * examples/hildon-dialog-example.c
7127 * examples/hildon-pannable-area-example.c
7130 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7132 * src/hildon-dialog.c
7133 (hildon_dialog_new_with_buttons): New constructor.
7135 * examples/hildon-dialog-example.c
7136 (main): Update the example to use the new
7137 hildon_dialog_new_with_buttons().
7139 * examples/hildon-pannable-area-example.c
7140 (main): Update example.
7142 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7144 * doc/hildon-docs.sgml
7146 Added HildonPannableArea to the documentation.
7148 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7150 * doc/visual_index.xml
7151 Fix reference to HildonLoginDialog in documentation
7153 * doc/hildon-docs.sgml
7155 * examples/Makefile.am
7156 * examples/hildon-dialog-example.c
7158 * src/hildon-dialog.c
7159 * src/hildon-dialog.h
7161 New HildonDialog widget.
7163 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7165 * src/hildon-pannable-area.c
7166 Merge latest changes (r4318, r4342) from libmokoui trunk
7168 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7170 * examples/Makefile.am
7171 * examples/hildon-pannable-area-example.c
7173 * src/hildon-pannable-area.c
7174 * src/hildon-pannable-area.h
7176 New HildonPannableArea widget.
7178 2008-04-15 18:05:19 <timj@imendio.com>
7180 * src/hildon-banner.c: revert the recent change, that introduced
7181 gtk_window_present() calls. this reopens:
7182 Bug 78481 - [freetest] information banners are hidden under browser menu
7183 But resolves another variant of:
7184 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7186 2008-04-15 13:21:13 <timj@imendio.com>
7188 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7189 recreated its layout, spotted by Kris. this fixes all remaining
7190 artefacts and stability issues with the banner code. in particular:
7191 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7193 2008-04-14 16:52:59 <timj@imendio.com>
7195 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7196 operating on unrealized widgets, fixes:
7197 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7199 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7201 2008-04-09 Kristian Rietveld <kris@imendio.com>
7203 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7204 makes banner disappear.
7205 Fixes: NB#79182: info banner flickering with certain message lengts.
7207 * src/hildon-banner.c (hildon_banner_constructor),
7208 (hildon_banner_init), (hildon_banner_set_text),
7209 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7210 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7211 FALSE, reset size requests of label and banner,
7212 (force_to_wrap_truncated): when the text is too wide, always enforce
7213 the maximum possible width instead of recalculating it from the
7214 layout; enforce the maximum banner height of 3 lines,
7215 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7216 nicer wrapping and no truncated chars if space gets tight.
7218 * src/hildon-banner-private.h: add has_been_wrapped and
7219 has_been_truncated fields.
7221 2008-04-07 Sven Herzberg <sven@imendio.com>
7223 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7224 local values in hildon_date_editor_size_allocate
7226 * src/hildon-date-editor.c: moved the real allocation code into the
7229 2008-04-07 Sven Herzberg <sven@imendio.com>
7231 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7232 local values in hildon_date_editor_size_allocate
7234 * src/hildon-date-editor.c: merged the two if() branches together
7236 2008-04-07 Sven Herzberg <sven@imendio.com>
7238 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7239 local values in hildon_date_editor_size_allocate
7241 * src/hildon-date-editor.c: changed the arguments of the if()
7244 2008-04-07 Sven Herzberg <sven@imendio.com>
7246 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7247 local values in hildon_date_editor_size_allocate
7249 * src/hildon-date-editor.c: split the calculation of the allocation
7250 from the real allocation
7252 2008-03-27 Michael Natterer <mitch@imendio.com>
7254 Fixes: NB#81696: The passcode is not overwritten even after
7257 * src/hildon-code-dialog.c
7258 (hildon_code_dialog_button_clicked)
7259 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7260 because that doesn't overwrite selected text. Instead, emit the
7261 "commit" signal on the entry's im_context so the entry's normal
7262 insert logic is triggered. Set the cursor to the end of the entry
7263 after each insert operation so that we *only* insert in the middle
7264 of the text if something was selected.
7266 2008-03-27 Michael Natterer <mitch@imendio.com>
7268 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7269 selector cannot be opened
7271 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7272 when the popup color selector is created. Please connect to this
7273 signal in order to set the dialog's help ID.
7275 2008-03-25 Sven Herzberg <sven@imendio.com>
7277 Fixes: MB#1212: Hide info banners (infoprints) on click
7279 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7280 extracted the close event simulation into an extra function
7281 (hildon_banner_button_press_event): simulate a close event and destroy
7282 the widget if the event wasn't handled
7283 (hildon_banner_class_init): added the button_press_event handler
7284 (hildon_banner_init): added button-press events to the widget
7286 2008-03-25 Sven Herzberg <sven@imendio.com>
7288 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7289 Patch from: Mohammad Anwari <mdamt@maemo.org>
7291 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7292 instead of the right in RTL mode
7293 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7294 breadcrumb button list in RTL mode
7295 * src/hildon-caption.c: mirror the appearance of the caption widget in
7297 * src/hildon-date-editor.c: mirror appearance of the date editor in
7299 * src/hildon-time-editor.c: mirror appearance of the time editor in
7301 * src/hildon-window.c: fix the position of the popup in RTL mode
7303 2008-03-25 Sven Herzberg <sven@imendio.com>
7305 Amendment to the fix of NB#22072. Fix compilation.
7307 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7309 2008-03-19 Sven Herzberg <sven@imendio.com>
7311 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7314 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7315 timeout id properly when the timeout will disappear this leaves no
7316 artifacts around in the destroy(); there will only be the timeout
7317 created by hildon_banner_ensure_timeout() and adding a new timeout
7318 will also work if the timeout gets removed because the timeout_handler
7321 2008-03-19 Michael Natterer <mitch@imendio.com>
7323 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7325 * src/hildon-volumebar.c
7326 * src/hildon-vvolumebar.c
7327 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7328 the widget becomes focussable at all.
7330 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7331 set the focus to wither the mute button or the volumebar.
7333 Remove own "can-focus" property and instead listen to
7334 notify::can-focus in order to update the widget's state.
7336 Implement GtkWidget::focus() and make sure we can also *leave* the
7337 widget, not only enter it, depending on volumebar orientation and
7338 requested focus direction.
7340 Clean up set_mute() to cooperate nicely with all the above.
7342 2008-03-04 Michael Natterer <mitch@imendio.com>
7344 Fixes: NB#78481: information banners are hidden under browser menu
7346 * src/hildon-banner.c: call gtk_window_present() on the banners so
7347 they are risen if they are already visible.
7349 2008-03-03 Sven Herzberg <sven@imendio.com>
7351 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7353 * examples/hildon-window-menu-example.c: (main): extended the window
7354 menu example to serve as a testcase for automatically added
7355 accelerator groups, too
7356 * src/hildon-window.c: (hildon_window_add_accel_group),
7357 (hildon_window_set_menu): added patch by Tommi Komulainen
7359 2008-03-03 Sven Herzberg <sven@imendio.com>
7361 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7363 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7364 knowledge about the border allocators used within GTK+
7366 2008-02-26 Sven Herzberg <sven@imendio.com>
7368 Fixes: MB#2981: Build with asserts broken
7370 * src/hildon-date-editor.c,
7371 * src/hildon-number-editor.c,
7372 * src/hildon-time-editor.c,
7373 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7374 the proper GType instance check
7376 2008-02-25 Sven Herzberg <sven@imendio.com>
7378 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7380 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7381 * examples/hildon-window-menu-example.c: (main): explicitly show
7383 * src/hildon-window.c:
7384 (hildon_window_set_main_menu): moved most of the code from set_menu()
7385 to this place; skipped the call to gtk_widget_show_all(); also didn't
7386 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7387 (hildon_window_set_menu): removed most of the code, just keep the
7388 questionable gtk_widget_show_all()
7389 * src/hildon-window.h: added the new function and deprecate the old
7392 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7398 * debian/changelog: Updating.
7400 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7403 * pkgconfig/Makefile.am:
7404 * pkgconfig/hildon.pc.in:
7407 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7408 use newly created API_MAJOR_VERSION.
7410 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7416 * debian/changelog: Updating.
7418 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7420 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7422 Add outer_border style property, we use it but don't define it (!).
7426 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7428 * examples/hildon-bread-crumb-trail-example.c (main):
7432 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7434 Fix logic for the bread crumb trail node removal.
7438 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7444 * debian/changelog: Updating.
7446 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7448 Patch by Alejandro to get/set passwords dialogs accesibility.
7450 * hildon-1/src/hildon-get-password-dialog.c:
7451 * hildon-1/src/hildon-set-password-dialog.c:
7452 Set atk_set_name to the passwd entries in order to allow
7453 accessibility by name on this entries.
7455 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7460 * debian/control: Updating gtk dep.
7462 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7464 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7465 USE_MAEMO_GTK is enabled.
7467 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7469 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7470 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7472 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7478 * debian/changelog: Updating.
7480 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7482 * examples/Makefile.am:
7483 * examples/hildon-logical-color-example.c:
7484 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7485 applied + adding a test case. Fixes: NB#71660.
7487 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7489 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7490 to be visible, fixes warning on map for windows without toolbars.
7492 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7494 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7495 2.11.0, add a check for that besides the MAEMO_GTK check.
7497 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7503 * debian/changelog: Updating.
7505 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7507 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7508 visibility. Fixes: NB#70842 and MB#615.
7510 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7512 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7513 set the separator as no-show-all so it doesn't unintentionally appear when
7514 someone does a show_all.
7516 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7518 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7519 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7520 toplevel item. Fixes: NB#62031
7522 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7524 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7525 fix the name of the function in the docs.
7527 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7533 * debian/changelog: Updating.
7535 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7537 * examples/hildon-banner-long-example.c: Adding a test-case for long
7540 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7542 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7544 * src/hildon-color-chooser-dialog.c:
7545 * src/hildon-color-chooser.c:
7546 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7547 memory leaks in font selector and color selector. Fixes: NB#70499 and
7550 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7552 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7554 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7556 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7557 little bit bigger. Fixes: #NB63694.
7559 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7565 * debian/changelog: Updating.
7567 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7570 * doc/hildon-docs.sgml:
7571 * doc/images/bread-crumb-trail.png:
7572 * doc/images/calendar-popup.png:
7573 * doc/images/caption.png:
7574 * doc/images/code-dialog.png:
7575 * doc/images/color-button.png:
7576 * doc/images/color-chooser-dialog.png:
7577 * doc/images/color-chooser.png:
7578 * doc/images/controlbar.png:
7579 * doc/images/date-editor.png:
7580 * doc/images/font-selection-dialog.png:
7581 * doc/images/get-password-dialog.png:
7582 * doc/images/hvolumebar.png:
7583 * doc/images/login-dialog.png:
7584 * doc/images/note.png:
7585 * doc/images/number-editor.png:
7586 * doc/images/range-editor.png:
7587 * doc/images/seekbar.png:
7588 * doc/images/set-password-dialog.png:
7589 * doc/images/sort-dialog.png:
7590 * doc/images/time-editor.png:
7591 * doc/images/time-picker.png:
7592 * doc/images/vvolumebar.png:
7593 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7594 Adding the bread-crumb-trial and helpers to the documentation.
7596 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7598 * examples/hildon-find-toolbar-example.c:
7599 * src/hildon-find-toolbar.c:
7600 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7601 actually continue firing the other handlers if connected. Adding a new
7603 hildon_find_toolbar_get_last_index that gets the index of the most
7604 recently added (last) item. Fixes: NB#52301.
7606 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7608 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7609 behaviour. Fixes: NB#68610.
7611 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7613 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7616 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7618 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7619 when realizing the banner. Should make the infonbanner effect a bit more
7622 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7624 * src/hildon-volumebar.c:
7625 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7626 hildon_volumebar_set_range_insensitive_message and
7627 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7629 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7631 * src/hildon-window.c: Fixing the border freeing on destroy.
7633 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7635 * src/hildon-code-dialog-private.h:
7636 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7637 kw keyboard support in HildonCodeDialog.
7639 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7645 * debian/changelog: Updating.
7647 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7649 * src/hildon-date-editor.c:
7650 * src/hildon-number-editor.c:
7651 * src/hildon-private.c:
7652 * src/hildon-private.h:
7653 * src/hildon-time-editor.c:
7654 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7655 handling in subclassed composite widgets. Fixes: NB#66628.
7657 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7659 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7660 from destroy_ callback as it introduces problems in async dbus signal
7661 handlers. Fixes NB#66673.
7663 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7665 * examples/hildon-hvolumebar-example.c:
7666 * src/hildon-volumebar.c: Improving the focus handling in the
7667 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7668 set_property accessor so that "mute" property can be actually set. I'm
7669 scared that nobody noticed it's totally broken.
7671 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7673 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7676 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7678 * src/hildon-calendar.c:
7679 * src/hildon-number-editor.c:
7680 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7681 matches the spec of 6 chars per second. Fixes: NB#60489.
7683 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7685 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7686 gtk_style_lookup_color sometime returns FALSE even though color was
7687 found and values were filled properly. Weird. Removing the warning for the
7690 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7692 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7693 expand vertically. Adding some extra space to the find toolbar buttons to
7694 make them thumbable. Fixes NB#66060.
7696 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7698 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7699 popup with "Ok" and "Cancel". Fixes NB#59299.
7701 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7703 * src/hildon-calendar.c: Process all window updates before executing next
7704 timeout. Fixes: NB#54146.
7706 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7712 * debian/changelog: Updating.
7714 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7716 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7717 the client event and ignore it, since we use the delete event to close
7720 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7722 * src/hildon-helper.c: Remove the bogus warning about color not being
7723 found. Fixes NB#58352.
7725 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7727 * examples/Makefile.am:
7728 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7729 HildonSeekbar widget inside a toolbar.
7731 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7733 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7734 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7735 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7736 don't want to be closed by non-temporary windows on map.
7738 Also use G_DEFINE_TYPE instead of manually typed code.
7740 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7747 * debian/rules: Updating.
7749 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7751 * examples/Makefile.am:
7752 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7753 bug NB#61128. Strangely it works.
7755 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7757 * src/hildon-date-editor.c: When the date editor entry has been changed
7758 but the numbers of characters < max, turn off the skip validation flag.
7759 Prevents a situation when we enter first a valid year and later re-write
7760 it with an invalid one. Fixes NB#60154.
7762 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7764 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7765 code dialog. Fixes NB#64355.
7767 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7769 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7770 switching the page. Fixes NB#49374.
7772 * examples/Makefile.am:
7773 * examples/hildon-wizard-dialog-example.c: Adding an example for
7774 HildonWizardDialog that shows how to handle manual sensitivity setting on
7777 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7781 * src/hildon-version.h.in:
7782 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7784 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7786 * src/hildon-volumebar.c: Updating the docs.
7788 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7794 * debian/changelog: Updating.
7796 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7798 * src/hildon-find-toolbar.c:
7799 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7800 selected item: hildon_find_toolbar_set_active,
7801 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7802 hildon_find_toolbar_get_active_iter . They correspond to respective
7803 GtkComboBox functions.
7805 * examples/Makefile.am:
7806 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7809 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7811 * examples/Makefile.am:
7812 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7815 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7816 when font size > 32 and we pack a focusable widget inside. Actually using
7817 the default response would work too, but since we don't show default
7818 response state in any way (no theming) it would not be visible to the
7819 user. Fixes NB#63430.
7821 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7823 * src/hildon-date-editor.c: Adding the missing variable setter in the
7824 set_property handler. Fixes NB#54182.
7826 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7828 * src/hildon-window.h: Changing the long key press time from 1500ms to
7829 800ms as requested in NB#63700. I have a bad feeling about this, let's
7830 see... Fixes NB#63700.
7832 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7834 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7835 hildon_time_picker_map, hildon_time_picker_realize,
7836 hildon_time_picker_style_set): Split the contents of map to more
7837 appropriate functions; set window decorations on realize and update
7838 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7840 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7845 * debian/changelog: Updating.
7847 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7849 * src/Makefile.am: fixed installation of the header files
7851 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7857 * debian/changelog: Updating.
7859 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7861 * configure.ac: Removing some remaining of --enable-xan.
7863 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7865 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7866 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7868 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7869 2.10.12-osso6 because the move-focus signal needs to be available in
7872 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7874 * examples/Makefile.am:
7875 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7876 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7877 fine. Prolly NB#61128 is fixed now.
7879 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7881 * src/hildon-volumebar.c:
7882 * src/hildon-volumebar.h: Adding the
7883 hildon_volumebar_set_range_insensitive_message and
7884 hildon_volumebar_set_range_insensitive_messagef functions to set
7885 insensitive message on the slider of the volumebar. Fixes NB#61129.
7887 * examples/Makefile.am:
7888 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7889 test the new insensitive messsage functionality on HildonVolumebar.
7891 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7893 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7896 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7898 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7899 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7900 button on after clearing the trail.
7902 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7904 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7906 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7908 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7909 by splitting the installed headers in generated and non-generated groups. Use
7910 only the non-generated headers to create the hildon-enum-types.h file.
7912 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7914 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7916 * src/hildon-window.c: Hide the window before performing the destroy.
7917 Should make the app closing a little tiny bit more snappy.
7919 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7921 * src/hildon-seekbar.c: add gtkrange.h header
7922 * src/hildon-caption.c: remove unused variable
7924 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7926 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7929 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7935 * debian/changelog: Updating.
7937 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7939 * src/hildon-window.c (hildon_window_window_state_event,
7940 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7941 escape timeout on focus-out-event rather than notify::is-topmost; the
7942 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7944 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7946 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7947 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7949 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7951 * src/hildon-window: actually, you need to use the macro always, there's
7952 no private pointer in the instance structure. We should have cleaned this up
7953 when we had the chance...
7955 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7957 * src/hildon-window.c: do not get the private date from HildonWindow before
7958 it passes the g_return_if_fail check. Once it's passed the test, there's no
7959 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7960 if you are only going to access the data once. Whitespace cleanups.
7962 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7964 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7965 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7967 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7973 * debian/changelog: Updating.
7975 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7977 * src/hildon-window.c: When destroying the window, remove (if exists) the
7978 escape timeout handler. Fixes #NB59276.
7980 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7982 * src/hildon-banner.c: When realizing the widget, set the window
7983 transiency. Setting the transiency in the gobject constructor is not
7984 good, as the widget is not realized at that point. Fixes: #NB56624.
7986 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7988 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7989 Add padding for future expansions.
7991 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7993 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7994 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7995 will fake an activation on the previous to the last item of the trail, so
7996 the effect can be overrided by the developer as usual.
7997 Also change the callback for the back button to do the same thing, so its
7998 effect can be overrided too. Fixes: NB#58982
8000 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8002 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8003 HildonCaption. Fixes NB#52379.
8005 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8007 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8008 the internal state of the trail after the user has had the chance of executing
8009 his handler for the signal. Specifically, it may happen that the activated button
8010 is removed and the user still lets the default handler run. This would segfault
8013 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8015 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8016 scrollbar to the preview dialog. Fixes NB#54147.
8018 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8020 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8021 max/min year properties can be altered, so the client can modify it
8022 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8024 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8026 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8027 hildonlike by default. Fixing a problem with disappearing arrows when
8028 scrolling through months and years. Fixes NB#54127.
8030 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8032 * examples/hildon-date-editor-example.c: Adding error callback to the date
8035 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8041 * configure.ac: Updating.
8043 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8045 * configure.ac: Adding a special '--enable-xan' configure option that
8046 turns off the -Werror compilation setting. Usefull for development.
8048 * src/hildon-calendar.c:
8049 * src/hildon-number-editor.c:
8050 * src/hildon-time-picker.c: Adding the 5* multiplier to
8053 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8055 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8056 instead of g_object_ref + gtk_object_sink.
8058 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8064 * debian/changelog: Updating.
8066 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8068 * src/hildon-color-chooser-dialog.c:
8069 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8070 straight from Tommi labs.
8072 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8074 * examples/hildon-finger-example.c: Correcting the header file path.
8076 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8077 the changed signal. Fixes a small memory leak.
8079 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8083 * src/hildon-banner.c: Importing several usefull fixes from the
8084 ubuntu-mobile branch.
8086 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8088 * examples/Makefile.am:
8089 * examples/hildon-finger-example.c: Adding a finger-checking code
8092 * src/hildon-font-selection-dialog.c: Do not allocate the color
8093 structure using the g_new. Fixes NB#54061.
8095 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8097 * src/hildon-helper.c: Correcting tabs in file.
8099 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8101 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8102 control the visibility of the children.
8104 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8106 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8112 * debian/changelog: Updating.
8114 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8116 * src/hildon-bread-crumb-trail.c:
8117 (hildon_bread_crumb_trail_size_allocate):
8119 Make the back button always a square.
8121 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8123 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8124 from the .c file as it's a private file.
8126 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8128 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8129 uses slightly bigger height.
8131 * src/hildon-font-selection-dialog.c: Adding some checks before
8132 freeing memory in the font selection dialog.
8134 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8136 * src/hildon-font-selection-dialog.c: Adding a small check when
8139 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8140 buttons sensitivity on page switching.
8142 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8144 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8145 internal details of adding a bread crumb to the trail.
8147 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8153 * debian/changelog: Updating.
8155 * src/hildon-bread-crumb-trail.h:
8156 * src/hildon-bread-crumb.h: Changing the API guard to
8157 HILDON_ENABLE_UNSTABLE_API.
8159 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8167 * src/hildon-helper.h: Updating.
8169 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8177 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8181 * src/hildon-helper.h: Small fix to make the package actually compile.
8183 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8185 * src/hildon-bread-crumb-trail.h:
8186 * src/hildon-bread-crumb.h:
8188 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8189 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8191 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8193 * examples/hildon-bread-crumb-trail-example.c:
8195 * src/hildon-bread-crumb-trail.c:
8196 * src/hildon-bread-crumb-trail.h:
8197 * src/hildon-bread-crumb.c:
8198 * src/hildon-bread-crumb.h:
8199 * src/hildon-marshalers.list:
8200 * src/hildon-bread-crumb-widget.c:
8201 * src/hildon-bread-crumb-widget.h:
8203 Slight change in the widget design. The bread crumb trail API is
8204 unchanged, but HildonBreadCrumb is now an interface. A *private*
8205 implementation, hildon-bread-crumb-widget, is provided and used
8206 internally by the trail for the push_text/push_icon functions.
8208 The generic push API is still available, so anyone can implement
8209 and use its own bread crumb widget.
8211 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8213 * debian/rules: Fixing the shlibs.
8215 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8217 * src/hildon-banner.c: Fixing a problem with timed banners having
8218 their parrent destroyed before they are.
8220 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8222 * src/hildon-bread-crumb.c:
8223 * src/hildon-bread-crumb.h:
8225 Make the get_natural_size function a vfunc.
8227 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8229 * src/hildon-bread-crumb.c:
8230 * src/hildon-bread-crumb-trail.c:
8234 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8241 * debian/changelog: Updating for release.
8243 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8245 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8246 don't leak the pango layout.
8248 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8251 * examples/hildon-bread-crumb-trail-example.c:
8255 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8257 * debian/changelog: Removing the bug-fixed entries that were actually
8258 resolved as WONTFIX.
8260 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8263 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8265 * src/hildon-bread-crumb-trail.c:
8266 * src/hildon-bread-crumb-trail.h:
8267 * src/hildon-bread-crumb.c:
8268 * src/hildon-bread-crumb.h:
8272 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8274 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8275 until it's passed the type check.
8277 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8279 * examples/hildon-bread-crumb-trail-example.c
8283 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8285 * examples/Makefile.am
8286 * examples/hildon-bread-crumb-trail-example.c
8288 * src/hildon-bread-crumb-trail.c
8289 * src/hildon-bread-crumb-trail.h
8290 * src/hildon-bread-crumb.c
8291 * src/hildon-bread-crumb.h
8293 New HildonBreadCrumbTrail widget.
8295 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8297 * src/hildon-range-editor.c (hildon_range_editor_init),
8298 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8299 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8300 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8301 hildon_time_editor_class_init, hildon_time_editor_init),
8302 src/hildon-get-password-dialog.c (invalid_input,
8303 hildon_get_password_set_property, hildon_get_password_get_property,
8304 create_contents, hildon_get_password_dialog_set_max_characters),
8305 src/hildon-set-password-dialog.c (create_contents),
8306 src/hildon-date-editor.c (hildon_date_editor_init),
8307 src/hildon-login-dialog.c (hildon_login_dialog_init),
8308 src/hildon-number-editor.c (hildon_number_editor_init),
8309 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8310 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8311 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8312 configure option and adding the respective checks in the code.
8313 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8314 hildon_calendar_drag_data_received): fixed some build warnings.
8316 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8318 * debian/changelog: A 1.0.0 release notes.