1 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
3 * src/hildon-sort-dialog.c
4 (hildon_sort_dialog_add_sort_key_with_sorting)
8 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
10 * src/Makefile.am: Move generated sources to CLEANFILES, so that
11 make distcheck passes.
13 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
15 * Makefile.am: Enable gtk-doc during distcheck.
17 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
19 * Makefile.am: Do not distribute the debian/ directory.
21 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
23 * doc/Makefile.am: Add the extra SGML files to content_files,
24 so that they are distributed properly.
26 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
28 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
31 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
33 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
34 (hildon_note_new_information_with_icon_name): Set the "icon" property
35 to preserve soundness.
37 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
39 * src/hildon-font-selection-dialog.c
40 (hildon_font_selection_dialog_set_property): Fail when the "family"
41 property is set to NULL.
43 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
45 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
48 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
50 * src/hildon-time-selector.h:
51 Added HildonTimeSelectorFormatPolicy
52 * src/hildon-time-selector.c:
53 Added PROP_TIME_FORMAT_POLICY
54 (_check_ampm_format): renamed to check_automatic_ampm_format
55 (update_format_policy), (update_format_dependant_columns): new functions
56 (hildon_time_selector_class_init)
57 (hildon_time_selector_contructor)
58 (hildon_time_selector_init)
59 (hildon_time_selector_get_property)
60 (hildon_time_selector_set_property)
61 (hildon_time_selector_get_time)
62 (hildon_time_selector_set_time)
63 * src/hildon-touch-selector.h: new file
64 * src/hildon-touch-selector.c
65 (hildon_touch_selector_emit_changed)
66 (hildon_touch_selector_block_changed)
67 (hildon_touch_selector_unblock_changed)
68 Added functions to allow to block the emission of the "changed" signal
69 * src/hildon-picker-dialog.c
70 (hildon_picker_dialog_show): call the parent show before the custom code
71 * examples/hildon-time-button-example.c
72 Modified, so now you can configure the time format using the new property
74 Added a new property "time-format-policy" that allow to choose the time
75 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
76 case it uses gconf in order to check if the time selector must use
79 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
82 2009-04-28 Alberto Garcia <agarcia@igalia.com>
84 * src/hildon-note.c (hildon_note_init):
85 Label in HildonNote must be left aligned, not centered. This
86 reverts the last commit in HildonNote.
88 Fixes: NB#112933 (text is not left aligned in confirmation dialog
89 is connectivity dialog)
91 2009-04-27 Alberto Garcia <agarcia@igalia.com>
96 * doc/hildon-sections.txt:
97 Added hildon_gtk_window_set_do_not_disturb()
99 2009-04-27 Alberto Garcia <agarcia@igalia.com>
101 * src/hildon-note.c (hildon_note_init): Center label.
103 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
106 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
111 * configure.ac: Bump version.
112 * debian/changelog: Updates.
114 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
116 * src/hildon-note-private.h: Add button-width to the private data.
117 * src/hildon-note.c (+resize_button),
118 (+hildon_note_orientation_update): methods to repack widgets on orientation
120 (screen_size_changed): Call above method for confirmation notes.
121 (hildon_note_realize): Always connect to the "screen-size" changed signal.
122 (hildon_note_rebuild): Store the original width request from buttons.
124 Fixes: NB#109635 (Confirmation notes do not support portrait)
126 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
128 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
129 when it is a progress note.
131 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
133 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
134 in the note, since there are no horizontally arranged contents.
136 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
138 * src/hildon-gtk.c (+set_flag): new generic method to
139 set/delay a flag setting in a window.
140 (hildon_gtk_window_set_progress_indicator):
141 (hildon_gtk_window_set_do_not_disturb),
142 (hildon_gtk_window_set_portrait_flags): use set_flag() to
143 avoid code redundance.
145 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
147 Based on a patch by Alberto Garcia (agarcia@igalia.com)
149 * src/hildon-gtk.c (set_clear_window_flag),
150 (do_set_progress_indicator), (do_set_do_not_disturb),
151 (do_set_portrait_flags),
152 (hildon_gtk_window_set_progress_indicator),
153 (hildon_gtk_window_set_do_not_disturb),
154 (hildon_gtk_window_set_portrait_flags):
155 Allow setting dnd-flag, progress indicator, and portrait flags
156 when the window is not realized.
158 2009-04-24 Alejandro G. Castro <alex@igalia.com>
160 * src/hildon-pannable-area.c,
161 * src/hildon-pannable-area.h: Add the hildon deprecated define to
162 the size request policy function and defines.
164 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
166 * doc/hildon-sections.txt: Add the new API.
167 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
168 method to set the portrait flags.
169 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
171 Fixes: NB#112328 (Adding helpers for setting portrait properties)
173 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
175 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
176 to allow using this method with other flags.
177 (hildon_gtk_window_set_progress_indicator): Update accordingly.
178 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
180 2009-04-22 Alberto Garcia <agarcia@igalia.com>
182 * src/hildon-touch-selector.c
183 (hildon_touch_selector_append_text_column):
184 Make the cell renderer use the smallest width possible.
186 Fixes: NB#108470 (Selected items in multiple selection are either
187 having a tick that is cut or not visible at all.)
189 2009-04-22 Alberto Garcia <agarcia@igalia.com>
191 * src/hildon-touch-selector.c
192 (hildon_touch_selector_append_text_column):
195 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
197 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
198 Use g_strdup_printf() instead of a fixed size buffer.
200 2009-04-21 Alberto Garcia <agarcia@igalia.com>
202 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
203 Close banners when a HildonAppMenu is popped up.
205 Fixes: NB#111027 (Title menu closed immediately if activated when
206 "Invalid e-mail address" banner is shown)
208 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
213 * configure.ac: Bump version.
214 * debian/changelog: Updates.
216 2009-04-20 Alberto Garcia <agarcia@igalia.com>
218 * src/hildon-banner.c (hildon_banner_realize):
219 Mark HildonBanner as supporting portrait mode.
220 Use GDK to set window properties insetad of direct Xlib calls.
222 Fixes: NB#111830 (HildonBanner should be marked as supporting
225 2009-04-20 Alberto Garcia <agarcia@igalia.com>
227 * src/hildon-note.c (hildon_note_rebuild):
228 Hide action area in information notes. Prevents text from being
229 slightly aligned to the left.
231 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
234 2009-04-20 Alberto Garcia <agarcia@igalia.com>
236 Patch by Mox Soini (ext-mox.soini@nokia.com)
238 * src/hildon-banner.c (hildon_banner_create_animation):
239 Use stylus-sized icons in animation banner.
241 Fixes: NB#111206 (stylus sized icon for animation banner)
243 2009-04-20 Alberto Garcia <agarcia@igalia.com>
247 (+hildon_gtk_window_set_do_not_disturb):
248 New API to set the do-not-disturb flag.
250 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
252 2009-04-20 Alberto Garcia <agarcia@igalia.com>
254 * examples/hildon-progress-indicator-example.c: Fix example
256 * src/hildon-gtk.c (set_clear_window_flag)
257 (hildon_gtk_window_set_progress_indicator):
258 Create a generic function for setting flags to a window.
259 Use GDK instead of direct Xlib calls.
261 2009-04-14 Alberto Garcia <agarcia@igalia.com>
263 * src/hildon-button.c (hildon_button_set_arrangement):
264 Due to NB#88126, if one of the labels is too long it will be
265 painted outside the button. The 'value' label is more likely to be
266 the longest one, so we change its packing options in order to
267 truncate it if necessary. As a side effect, the 'title' label will
268 no longer be truncated.
270 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
272 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
277 * configure.ac: Bump version.
278 * debian/changelog: Updates.
280 2009-04-13 Alejandro G. Castro <alex@igalia.com>
282 Deprecation of the hildon_pannable_area_set_size_request_policy
283 API, the only policy properly supported in gtk+ nowadays is the
286 * src/hildon-pannable-area.c,
287 (hildon_pannable_area_size_request): Added a workaround for the
288 size_request to avoid the problems of huge pixmaps in case someone
289 is still using the function.
290 * src/hildon-pannable-area.h: Deprecated the enum with the
293 Fixes: NB#110244 (Problems with the
294 hildon_pannable_area_set_size_request_policy API)
296 2009-04-08 Alejandro G. Castro <alex@igalia.com>
298 * src/hildon-pannable-area.c,
299 (hildon_pannable_area_init),
300 (hildon_pannable_area_size_request),
301 (hildon_pannable_area_style_set),
302 (hildon_pannable_draw_vscroll),
303 (hildon_pannable_draw_hscroll),
304 (hildon_pannable_area_check_scrollbars): Replaced area_width with
305 indicator_width to clarify the use of the attribute.
307 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
312 * configure.ac: Bump version.
313 * debian/changelog: Updates.
315 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
317 * src/hildon-picker-dialog.c
318 * src/hildon-touch-selector.c
319 Reverting the change that tried to avoid the hardcoded height on
320 the picker dialog, as causes problems on the hildon-touch-selector
323 Fixes: NB#110029 (selectors not scrolling to selected value)
325 2009-04-07 Alberto Garcia <agarcia@igalia.com>
327 * src/hildon-touch-selector.c: Fix typos
329 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
331 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
332 Use the event coordinates instead of gdk_window_get_pointer(). Also,
333 request more motions after using it.
335 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
337 * src/hildon-calendar.c (hildon_calendar_expose),
338 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
339 Remove unused variables.
341 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
343 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
346 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
348 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
349 Check the return value of gtk_tree_selection_get_selected()
352 2009-04-06 Alberto Garcia <agarcia@igalia.com>
354 * src/hildon-animation-actor.c
355 * src/hildon-button.c
357 * src/hildon-pannable-area.c
358 * src/hildon-picker-button.c
359 * src/hildon-program.c
360 * src/hildon-remote-texture.c
361 * src/hildon-text-view.c
362 * src/hildon-touch-selector.c
363 * src/hildon-window-stack.c
364 * src/hildon-window.c:
365 Add missing 'Since: 2.2' tags.
367 * doc/hildon-sections.txt:
368 Add some missing symbols.
370 * doc/hildon-docs.sgml:
371 New 'Other' section for HildonAnimationActor and
374 2009-04-06 Alberto Garcia <agarcia@igalia.com>
376 Patch by Iván Gómez (igomez@igalia.com)
380 * doc/hildon-docs.sgml
381 * doc/hildon-sections.txt
385 New chapters on using the Hildon library.
386 Updated the general structure of the reference manual.
387 Other minor documentation fixes.
389 * src/hildon-calendar-popup.c
390 * src/hildon-calendar.c
391 * src/hildon-controlbar.c
392 * src/hildon-date-editor.c
393 * src/hildon-dialog.c
394 * src/hildon-hvolumebar.c
395 * src/hildon-number-editor.c
396 * src/hildon-range-editor.c
397 * src/hildon-sort-dialog.c
398 * src/hildon-time-editor.c
399 * src/hildon-time-picker.c
400 * src/hildon-volumebar-range.c
401 * src/hildon-volumebar.c
402 * src/hildon-vvolumebar.c
403 * src/hildon-weekday-picker.c:
404 Add deprecation notes
406 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
407 Document 'horizontal-movement' and 'vertical-movement' signals.
409 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
414 * configure.ac: Bump version.
415 * debian/changelog: Updates.
417 2009-04-06 Alejandro G. Castro <alex@igalia.com>
419 * src/hildon-pannable-area.c,
420 (hildon_pannable_area_class_init): increased the minimum velocity.
421 (hildon_pannable_area_button_release_cb): Updated the
422 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
423 setup. Review the code to control that last event.
425 Fixes: NB#109790 (Releasing finger in pannable area easily causes
428 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
430 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
432 * src/hildon-get-password-dialog.c
433 (hildon_get_password_set_property),
434 (hildon_get_password_get_property), (create_contents):
435 * src/hildon-login-dialog-private.h:
436 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
437 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
438 (hildon_login_dialog_get_password):
439 * src/hildon-set-password-dialog-private.h:
440 * src/hildon-set-password-dialog.c
441 (hildon_set_password_set_property),
442 (hildon_set_password_get_property), (create_contents),
443 (hildon_set_password_response_change),
444 (hildon_set_password_response_set), (hildon_checkbox_toggled):
446 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
447 instead and look more Fremantle style.
449 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
451 2009-04-03 Alberto Garcia <agarcia@igalia.com>
453 * doc/hildon-sections.txt
454 * src/hildon-window-stack.h
455 * src/hildon-window-stack.c
456 (+hildon_window_stack_get_windows):
457 New API to obtain the list of windows on a stack.
459 2009-04-02 Alberto Garcia <agarcia@igalia.com>
461 * src/hildon-app-menu.c (hildon_app_menu_popup)
462 (hildon_app_menu_class_init, -hildon_app_menu_show):
463 Remove hildon_app_menu_show() and move all its checks to
464 hildon_app_menu_popup()
466 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
468 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
469 (_hildon_picker_dialog_set_selector): removed call to
470 gtk_widget_set_size_request
471 * src/hildon-touch-selector.c
472 (_create_new_column): change the pannable size request policy
474 Avoid to use a hardcoded height for the hildon picker dialog. In order
475 to get that, we needed to change the hildon pannable size request
477 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
479 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
481 * src/hildon-window.c (hildon_window_map): Check for vbox to be
482 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
485 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
487 * debian/control: Depend on osso-system-lock localization package.
488 * src/hildon-code-dialog.c: Obtain the secu_application_title
489 translation from osso-system-lock.
490 * src/hildon-get-password-dialog.c (create_contents): Do not mark
491 for translation the atk related strings, that's not necessary.
492 * src/hildon-set-password-dialog.c (create_contents): Ditto.
493 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
494 cancel button, it is not required.
496 2009-04-02 Alejandro G. Castro <alex@igalia.com>
498 * src/hildon-pannable-area.c,
499 (hildon_pannable_area_class_init): Modified the default value of
500 the overshooting max speed, we have reduced it.
502 2009-04-02 Alberto Garcia <agarcia@igalia.com>
504 * doc/hildon-sections.txt
505 * src/hildon-window-private.h
506 * src/hildon-window.h
507 * src/hildon-window.c (hildon_window_class_init)
508 (hildon_window_init, hildon_window_finalize)
509 (hildon_window_realize, hildon_window_get_property)
510 (hildon_window_set_property, hildon_window_update_markup)
511 (hildon_window_get_markup, hildon_window_set_markup):
512 New "markup" property and hildon_window_{get,set}_markup() methods.
514 * examples/hildon-stackable-window-example.c (new_window):
515 Update example to use hildon_window_set_markup()
517 Fixes: NB#106375 (Need API to retitle a window with a title
520 2009-04-01 Alejandro G. Castro <alex@igalia.com>
522 * src/hildon-pannable-area.c,
523 (hildon_pannable_area_class_init): Changed the default value of
524 the initial_hint to TRUE.
525 (hildon_pannable_area_initial_effect): Changed the initial effect,
526 not the effect is just the fade-out of the scrollbars.
528 Fixes: NB#107775 (No scrollbars can be seen when several items are
529 available in a dialog)
531 2009-04-01 Alberto Garcia <agarcia@igalia.com>
533 * src/hildon-program.c (hildon_program_update_top_most):
536 Fixes: NB#109179 (Memory leak in Hildon program)
538 2009-04-01 Alberto Garcia <agarcia@igalia.com>
540 * src/hildon-banner.c (-get_current_app_window):
541 Remove unused function.
543 2009-04-01 Alejandro G. Castro <alex@igalia.com>
545 * src/hildon-pannable-area.c: Modified the documentation of the
546 get adjustments functions to explain the problem of using the
548 (hildon_pannable_area_class_init): Improved the explanation about
551 2009-04-01 Alberto Garcia <agarcia@igalia.com>
553 * src/hildon-app-menu-private.h
554 * src/hildon-app-menu.c
555 (hildon_app_menu_class_init):
556 Bring back the 'external-border' style property
557 (hildon_app_menu_class_init, hildon_app_menu_init)
558 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
559 Set a fixed width-request for the menu, independent of the number
562 Fixes: NB#94957 (Smoothly opened application menu)
564 2009-03-30 Alberto Garcia <agarcia@igalia.com>
566 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
568 * src/hildon-banner.c
569 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
571 Make sure that the banner is correctly placed the first time it's
573 (hildon_banner_check_position, -check_fullscreen_state):
574 Show the banner in the same place no matter if the window is in
575 fullscreen mode or not.
577 Fixes: NB#107386 (Odd stacking behaviour for information banners)
579 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
581 * src/hildon-touch-selector.c (_default_print_func): reorder
582 concatenation for clarity.
584 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
586 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
587 for multicolumn selectors.
589 Fixes: NB#109099 (Memory leak in Hildon touch selector)
591 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
596 * configure.ac: Bump version.
597 * debian/changelog: Updates.
599 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
601 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
604 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
606 * configure.ac: removed libcangerra-gtk dependency
607 * debian/control: removed libcanberra-gtk dependency
608 * src/Makefile.am: removed libcanberra gtk related flags
609 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
610 context, and manage a global canberra context instead
612 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
614 2009-03-26 Alberto Garcia <agarcia@igalia.com>
616 Patch by Daniel Borgmann (danielb@openismus.com)
618 * src/hildon-edit-toolbar.c:
619 Adjust the left padding.
620 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
621 Paint background of the edit toolbar.
623 Fixes: NB#107897 (Patch to make editmodetoolbar background
624 themeable and adjust margin)
626 2009-03-25 Alberto Garcia <agarcia@igalia.com>
628 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
630 * src/hildon-program.c (hildon_program_update_top_most):
631 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
633 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
634 change when the user tasks in/out of an application)
636 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
638 * configure.ac: added libcangerra-gtk dependency
639 * debian/control: added libcanberra-gtk dependency
640 * src/Makefile.am: added libcanberra gtk related flags
641 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
644 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
646 2009-03-25 Alberto Garcia <agarcia@igalia.com>
648 * src/hildon-program.c (hildon_program_remove_window)
649 (hildon_program_add_window): Add checks for the window
650 parameter. Don't decrease the window counter if the window is not
653 2009-03-24 Alejandro G. Castro <alex@igalia.com>
655 * src/hildon-pannable-area.c,
656 (hildon_pannable_area_realize): Fixed position of the event_window
657 in the realize method.
659 2009-03-24 Alberto Garcia <agarcia@igalia.com>
661 * src/hildon-app-menu-private.h
662 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
663 (hildon_app_menu_map, hildon_app_menu_hide_idle)
664 (hildon_app_menu_key_press, hildon_app_menu_init)
665 (hildon_app_menu_finalize):
666 Make sure that all idle functions are removed when the widget is
669 Fixes: NB#107583 (Hildon app menu crashes in various applications)
671 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
676 * configure.ac: Bump version.
677 * debian/changelog: Updates.
679 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
682 (+hildon_entry_show_placeholder),
683 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
684 that replace hildon_entry_update_contents().
685 (hildon_entry_set_text),
686 (hildon_entry_set_placeholder),
687 (hildon_entry_focus_in_event),
688 (hildon_entry_focus_out_event): Determine when it is needed
689 either to show or hide the placeholder and call the above methods.
691 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
692 when the placeholder text is already set)
694 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
696 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
697 simple GdkPixbufAnim using the new icons for the banner.
698 (hildon_banner_show_animation): Use the above mentioned method to
699 create the animation widget.
701 Fixes: NB#103564 (Make hildon animation banner use individual
702 image files as the animation)
704 2009-03-24 Alejandro G. Castro <alex@igalia.com>
706 * src/hildon-pannable-area.c,
707 (hildon_pannable_leave_notify_event): Check if the child is NULL
708 to avoid sending the leave.
710 2009-03-24 Alejandro G. Castro <alex@igalia.com>
712 * src/hildon-pannable-area.c,
713 (hildon_pannable_area_class_init),
714 (hildon_pannable_leave_notify_event): Added a handler of the
715 leave-notify-signal to consider when no motion notify before
718 Fixes: NB#107494 (Items stay selected when clicking and moving
719 away when inside pannable area)
721 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
726 * configure.ac: Bump version.
727 * debian/changelog: Updates.
729 2009-03-19 Alejandro G. Castro <alex@igalia.com>
731 Patch by Alberto Garcia (agarcia@igalia.com)
733 * src/hildon-date-button.c,
734 (hildon_date_button_class_init),
735 (hildon_date_button_init): Removed the construct property handling
736 and created a default selector in the init method.
737 * src/hildon-picker-button.c,
738 (hildon_picker_button_class_init): Removed the construct flag of the
741 2009-03-18 Alberto Garcia <agarcia@igalia.com>
743 * src/hildon-main.c (hildon_init):
744 Don't allow hildon_init() to be called more than once.
746 Fixes: NB#106607 (hildon_init should issue error message upon
749 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
751 * examples/hildon-pannable-area-touch-list-example.c
752 * examples/hildon-pannagle-area-touch-grid-example.c
753 * examples/hildon-edit-toolbar-example.c
754 * examples/hildon-touch-selector-multi-cells-example.c
755 Removed the call to gtk_rc_parse_string, as it is not required since
758 2009-03-17 Alejandro G. Castro <alex@igalia.com>
760 * src/hildon-pannable-area.c,
761 (hildon_pannable_area_class_init): Modified the default panning
762 threshold of the widget to 6px.
764 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
765 than the threshold value ) within the button is not sending the
768 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
770 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
771 for the treeview in the new column. This way, the touch list will never
774 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
775 be selected manually for the HW keys to work)
777 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
779 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
780 comparison instead of using strcmp(). Fixes a compiler warning as well.
782 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
784 * doc/hildon-docs.sgml: Do not set the library version in the
785 document title, use the releaseinfo tag for that purpose instead.
787 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
789 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
790 Do not jump to the first item if the text in the entry is removed.
792 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
797 * configure.ac: Bump version.
798 * debian/changelog: Updates.
800 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
802 * src/hildon-entry.c (hildon_entry_refresh_contents):
803 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
804 Use "ReversedSecondaryTextColor" for the placeholder text.
806 2009-03-12 Alberto Garcia <agarcia@igalia.com>
808 * src/hildon-text-view.c: Fix compilation warning.
810 2009-03-12 Alberto Garcia <agarcia@igalia.com>
812 * src/hildon-button.c (hildon_button_class_init): Don't make
813 "title" and "value" construction properties, to prevent them from
814 overwriting labels set from derived classes.
816 * src/hildon-picker-button.c
817 (hildon_picker_button_set_selector): Allow setting a NULL selector.
818 (hildon_picker_button_class_init): Make touch-selector a
819 construction property.
821 * src/hildon-date-button.c (hildon_date_button_class_init)
822 (+hildon_date_button_constructed): Add a default date selector if
825 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
827 * src/hildon-touch-selector.c: Small documentation fixes.
829 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
831 Based on a patch by Daniel Borgmann (danielb@openismus.com)
833 * src/hildon-entry.c (hildon_entry_refresh_contents),
834 (hildon_entry_get_text), (hildon_entry_init): Do not use the
835 widget name, set the logical color directly instead and a boolean
836 showing_placeholder instead.
837 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
838 use the widget name here either.
840 Fixes: NB#105678 (HildonTextView should use logical colours
841 instead of setting widget name)
843 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
845 Patch by Daniel Elster (danielk@openismus.com)
847 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
848 Add user_data parameter.
849 (hildon_touch_selector_set_print_func_full): New function akin
850 hildon_touch_selector_set_print_func() but with support for user
851 data and a destroy callback.
852 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
853 to clean up the print function user data.
854 (hildon_touch_selector_class_init): Install dispose function.
855 (HildonTouchSelectorPrivate::print_user_data),
856 (HildonTouchSelectorPrivate::print_destroy_func): New private
858 (hildon_touch_selector_init): Initialize new private members.
859 (hildon_touch_selector_get_current_text): Pass along user data
860 to the print function.
861 (_default_print_func): Add dummy user_data to parameter list.
862 * hildon-date-selector.c (_custom_print_func): ditto,
863 * hildon-time-selector.c (_custom_print_func): ditto,
864 * hildon-touch-selector-entry.c
865 (hildon_touch_selector_entry_print_func): ditto.
867 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
869 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
871 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
873 2009-03-12 Alejandro G. Castro <alex@igalia.com>
875 * src/hildon-pannable-area.c,
876 (hildon_pannable_area_init),
877 (hildon_pannable_area_button_press_cb),
878 (hildon_pannable_area_motion_notify_cb): We have added code to
879 handle the leave and enter events when using the motion events.
881 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
883 2009-03-11 Alberto Garcia <agarcia@igalia.com>
885 * src/hildon-date-button.c (hildon_date_button_get_date)
886 (hildon_date_button_set_date): Make sure that the button has a
889 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
891 2009-03-11 Alejandro G. Castro <alex@igalia.com>
893 * src/hildon-pannable-area.c,
894 (hildon_pannable_area_class_init),
895 (hildon_pannable_area_calculate_velocity): Modify the use of the
896 force and adapt the value.
898 2009-03-10 Alberto Garcia <agarcia@igalia.com>
900 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
901 (hildon_app_menu_class_init): Hide the menu if it receives a
902 delete-event, but don't destroy it
904 Fixes: NB#104485 (Not able to address the call when application
905 menu is opened at background)
907 2009-03-10 Alberto Garcia <agarcia@igalia.com>
909 * src/hildon-app-menu.c
910 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
911 Remove the "external-border" style property, let the menu take its
912 natural size (or the one set by the window manager)
913 (hildon_app_menu_repack_items):
914 Don't reshow the menu, avoid flickers.
916 Partially fixes NB#94957 (Smoothly opened application menu)
918 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
923 * configure.ac: Bump version.
924 * debian/changelog: Updates.
926 2009-03-10 Alejandro G. Castro <alex@igalia.com>
928 * src/hildon-pannable-area.c,
929 (hildon_pannable_area_motion_notify_cb): We control that the
930 direction error margin is used just in case the movement is
931 allowed in the other direction.
933 Fixes: NB#105012 (buttons inside a pannable area not getting
934 release event when dragging/releasing)
936 2009-03-10 Alejandro G. Castro <alex@igalia.com>
938 * src/hildon-pannable-area.c,
939 (hildon_pannable_area_class_init),
940 (hildon_pannable_area_get_property),
941 (hildon_pannable_area_set_property),
942 (hildon_pannable_area_initial_effect),
943 (hildon_pannable_axis_scroll),
944 (hildon_pannable_area_button_release_cb): Reviewed the
945 overshooting effect, now it has its own max
946 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
949 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
954 * configure.ac: Bump version.
955 * debian/changelog: Updates.
957 2009-03-09 Alejandro G. Castro <alex@igalia.com>
959 * src/hildon-pannable-area.c,
960 (hildon_pannable_area_class_init): Changed the max speed, now
961 users can launch the widget very fast. Reduced the default force,
962 that way it is easier to control the launch speed.
964 2009-03-09 Alejandro G. Castro <alex@igalia.com>
966 * src/hildon-pannable-area.c,
967 (hildon_pannable_area_button_release_cb): Removed this check
968 because it causes problems when the device is overloaded.
970 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
972 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
973 add a current_text field to store the text entered in the
974 touch selector entry.
975 (_clean_current_selection): clean up the current text as well.
976 (_save_current_selection), (_restore_current_selection):
977 Save/restore the text in the entry if the selector is a
978 HildonTouchSelectorEntry.
980 Fixes: NB#102541 (value entered in the touch selector entry is not
981 shown when opened for second time)
983 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
985 * doc/hildon-sections.txt:
986 * src/hildon-touch-selector-entry.c
987 (+hildon_touch_selector_entry_get_entry):
988 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
990 Fixes: NB#104815 (I need accessor to the entry inside
991 HildonTouchSelectorEntry)
993 2009-03-06 Alberto Garcia <agarcia@igalia.com>
995 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
996 (hildon_app_menu_class_init):
997 New "filter-vertical-spacing" style property.
999 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1001 * src/hildon-find-toolbar.c
1002 (hildon_find_toolbar_emit_close)
1003 (hildon_find_toolbar_emit_invalid_input)
1004 (hildon_find_toolbar_entry_activate):
1005 Use g_signal_emit() instead of g_signal_emit_by_name()
1007 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1009 Patch by Mox Soini (ext-mox.soini@nokia.com)
1011 * tests/TEST-CASES.txt
1012 * tests/check-hildon-banner.c
1013 * tests/check-hildon-note.c
1014 * src/hildon-banner.c
1015 * src/hildon-code-dialog.c
1016 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1017 * src/hildon-time-editor.c
1018 * examples/hildon-lookup-example.c (main):
1019 Replace obsolete icon names with new ones.
1021 * src/hildon-find-toolbar-private.h:
1022 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1023 (-hildon_find_toolbar_emit_search):
1024 Remove find button and change icon of close button.
1026 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1028 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1030 * src/hildon-time-button.c (hildon_time_button_new_step):
1031 Use the "touch-selector" property to set the selector directly
1032 when creating the object.
1034 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1036 Added a new example application that allows tuning the pannable
1037 area and replaced defines with properties in order to simplify the
1038 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1039 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1040 PROP_DIRECTION_ERROR_MARGIN.
1042 * examples/hildon-pannable-area-tuning-example.c: New example
1044 * src/hildon-pannable-area.c,
1045 (hildon_pannable_area_class_init),
1046 (hildon_pannable_area_init),
1047 (hildon_pannable_area_get_property),
1048 (hildon_pannable_area_set_property),
1049 (hildon_pannable_area_launch_fade_timeout),
1050 (hildon_pannable_area_adjust_value_changed),
1051 (hildon_pannable_axis_scroll),
1052 (hildon_pannable_area_motion_notify_cb),
1053 (hildon_pannable_area_scroll_cb),
1054 (hildon_pannable_area_button_release_cb): We have converted some
1055 of the defines that control the widget to properties to simplify
1058 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1060 * src/hildon-app-menu.c (hildon_app_menu_map)
1061 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1062 so it's closed if a new window appears.
1064 Fixes: NB#104485 (Not able to address the call when application
1065 menu is opened at background)
1067 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1069 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1070 missing 'break' statement in in 'case' construct to avoid
1073 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1075 * src/hildon-touch-selector-entry.c
1076 (hildon_touch_selector_entry_get_property),
1077 (hildon_touch_selector_entry_set_property): Add missing 'break'
1078 statements in in 'case' constructs to avoid incorrect warnings.
1080 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1082 * src/hildon-time-editor.c
1083 (hildon_time_editor_get_time_separators): Do not crash if
1084 the first label is NULL.
1086 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1088 * src/hildon-date-selector.c (_month_days): Check for month to be
1089 strictly less than 12, since otherwise we may overrun the array.
1091 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1093 * src/hildon-date-button.c (+hildon_date_button_new_full)
1094 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1095 (hildon_date_button_init): Set the date selector using a
1096 construction property, to make it happen after HildonButton's
1097 "value" property is set.
1099 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1100 current date by default)
1102 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1104 * doc/hildon-sections.txt
1105 * src/hildon-program.c
1106 * src/hildon-stackable-window.c
1107 * src/hildon-window.c:
1108 Documentation updates
1110 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1112 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1113 (hildon_window_stack_new, +hildon_window_stack_set_property)
1114 (+hildon_window_stack_get_property)
1115 (hildon_window_stack_class_init)
1116 (+hildon_window_stack_set_window_group)
1117 (+hildon_window_stack_get_window_group):
1118 Make the window group a construction property.
1120 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1122 * doc/hildon-sections.txt
1123 * src/hildon-stackable-window-private.h
1124 * src/hildon-stackable-window.h
1125 * src/hildon-stackable-window.c
1126 (-hildon_stackable_window_set_app_menu)
1127 (-hildon_stackable_window_get_app_menu)
1128 (-hildon_stackable_window_toggle_menu)
1129 (-hildon_stackable_window_finalize)
1130 (hildon_stackable_window_class_init)
1131 (hildon_stackable_window_init)
1132 * src/hildon-window-private.h
1133 * src/hildon-window.h
1134 * src/hildon-window.c (hildon_window_init)
1135 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1136 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1137 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1138 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1139 Moved all HildonAppMenu code to HildonWindow. The menu does not
1140 require a HildonStackableWindow anymore.
1142 * src/hildon-app-menu.c
1143 * src/hildon-program.c
1144 * examples/hildon-app-menu-example.c (main):
1145 Update examples and documentation to reflect HildonAppMenu
1148 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1150 * src/hildon-remote-texture.c
1151 * src/hildon-animation-actor.c:
1152 Don't include unused private headers.
1154 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1156 * src/hildon-program-private.h
1157 * src/hildon-program.c
1158 (hildon_program_set_common_menu)
1159 (hildon_program_get_common_menu)
1160 (hildon_program_set_common_app_menu)
1161 (hildon_program_get_common_app_menu):
1162 Change common menu pointers from GtkWidget* to GtkMenu* and
1163 HildonAppMenu* to avoid unnecessary casts.
1165 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1167 * src/hildon-window.c (hildon_window_set_main_menu):
1168 Removed incorrect 'Since:' tag
1170 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1172 * src/hildon-pannable-area.c,
1173 (hildon_pannable_area_calculate_velocity): We use now the
1174 RATIO_TOLERANCE here to check the distance, fixed typo in the
1176 (hildon_pannable_area_motion_notify_cb): We have to set the type
1177 and time even if we are not sending the motion.
1179 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1181 * doc/hildon-sections.txt
1182 * src/hildon-app-menu.h
1183 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1184 (+hildon_app_menu_get_filters): New methods to get the contents of
1187 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1190 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1192 * src/hildon-app-menu.c (hildon_app_menu_popup):
1195 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1197 * src/hildon-window.h
1198 * src/hildon-window.c (+hildon_window_get_main_menu)
1199 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1200 and deprecated hildon_window_get_menu().
1202 * src/hildon-stackable-window.h
1203 * src/hildon-stackable-window.c
1204 (+hildon_stackable_window_set_app_menu)
1205 (+hildon_stackable_window_get_app_menu)
1206 (hildon_stackable_window_set_main_menu): Created
1207 hildon_stackable_window_{get,set}_app_menu() and deprecated
1208 hildon_stackable_window_set_main_menu().
1210 * doc/hildon-sections.txt
1211 * examples/hildon-app-menu-example.c (main)
1212 * src/hildon-app-menu.c
1213 * src/hildon-program.c:
1214 Updated examples and documentation.
1216 Fixes: NB#103758 (No way to obtain a menu from a
1217 HildonStackableWindow)
1219 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1224 * configure.ac: Bump version.
1225 * debian/changelog: Updates.
1227 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1229 * examples/hildon-remote-texture-example.c: Include
1230 hildon-remote-texture.h explicitely.
1231 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1232 applications not defining _XOPEN_SOURCE which don't require this header.
1234 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1236 * doc/hildon-sections.txt
1237 * src/hildon-app-menu.h
1238 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1239 New function to pop up a HildonAppMenu
1241 * src/hildon-stackable-window.c
1242 (hildon_stackable_window_toggle_menu):
1243 Use hildon_app_menu_popup() to show the menu.
1245 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1247 * src/hildon-app-menu.c (hildon_app_menu_show)
1248 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1249 menu if there's another window between it and its parent window.
1251 Fixes: NB#100468 (Application menu window is launched even when a
1252 new secondary-window/dialog is pending to be shown/realized)
1254 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1256 * src/hildon-window-stack.c (hildon_window_stack_push)
1257 (hildon_window_stack_pop_and_push):
1258 Don't forget to push/pop the first window.
1259 Reverse the window list before calling _push_list()
1261 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1263 * src/hildon-picker-button.h
1264 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1265 Remove "value_changed" slot to avoid ABI breakage
1267 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1269 * src/hildon-pannable-area.c,
1270 (hildon_pannable_area_realize),
1271 (hildon_pannable_area_unrealize),
1272 (hildon_pannable_draw_vscroll),
1273 (hildon_pannable_draw_hscroll): Changed the method to handle the
1274 GC used to draw the transparent scrollbar, this way we avoid
1275 creating the GC all the time when drawing the scrollbars.
1277 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1279 * src/hildon-pannable-area.c,
1280 (hildon_pannable_area_init),
1281 (hildon_pannable_area_remove): Removed some unnecessary casts.
1282 (hildon_pannable_area_dispose): Disconnected some signals before
1283 releasing the adjustments.
1285 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1287 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1288 Make sure that all widgets contained in the toolbar are shown.
1290 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1292 * doc/hildon-sections.txt
1293 * src/hildon-picker-button.h
1294 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1295 (_selection_changed, hildon_picker_button_on_dialog_response)
1296 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1297 New hildon_picker_button_value_changed() method.
1300 * src/hildon-picker-button-private.h
1301 * src/hildon-picker-button.c (hildon_picker_button_init)
1302 (+hildon_picker_button_disable_value_changed): Add protected
1303 function for disabling the "value-changed" signal.
1305 * src/hildon-date-button.c (hildon_date_button_set_date):
1306 Don't emit "value-changed" for each one of the three columns.
1308 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1309 before actual change of values)
1311 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1313 * src/hildon-pannable-area.c,
1314 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1315 for the treeview overshooting.
1317 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1319 * src/hildon-banner.c (+hildon_banner_bind_style):
1320 Renamed from hildon_banner_bind_label_style(), now naming the
1321 banner itself as well.
1322 (hildon_banner_show_information),
1323 (hildon_banner_show_information_with_markup),
1324 (hildon_banner_show_animation), (hildon_banner_show_progress):
1325 Name the widgets and labels, based on their type.
1327 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1330 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1332 * src/hildon-note.c (hildon_note_set_property): call
1333 hildon_note_rename() on HildonNote:note-type set.
1334 (hildon_note_rename): Name the note and its label, based on the
1335 HildonNote:note-type property.
1337 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1340 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1342 * src/hildon-pannable-area.c,
1343 (hildon_pannable_area_class_init),
1344 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1345 panning parameters, increased SPS and deceleration factor. Added
1346 also a margin to control fake directions.
1348 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1350 Patch by Sven Herzberg (sven@imendio.com)
1352 * configure.ac: Add missing AM_PROG_CC_C_0
1353 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1355 See NB#101420 (Update unit tests and fix make check)
1357 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1359 This patch was applied before but reverted because it caused
1360 problems, we have changed the main condition and tested the
1361 regressions we detected before and they work ok. We have done a
1362 complete review of the topmost algorithm in order to get a more
1365 * src/hildon-pannable-area.c,
1366 (hildon_pannable_area_get_topmost): Added a new parameter to
1367 filter the the windows that do not include those events.
1368 (hildon_pannable_area_button_press_cb),
1369 (hildon_pannable_area_button_release_cb),
1370 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1371 topmost function, we have added the new parameter.
1373 Fixes: NB#97458 (Pannable area prevents propagation of button
1376 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1378 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1379 if all columns in the selector have an item selected.
1380 (_on_dialog_response): Stop "response" signal emission if there is
1381 any selector column without selected items.
1383 Fixes: NB#101889 (Picker dialog should not close when nothing is
1384 selected in multiple selection list)
1386 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1388 * src/hildon-font-selection-dialog.c
1389 (hildon_font_selection_dialog_class_init),
1390 (hildon_font_selection_dialog_init): Remove the preview
1391 button and dialog, since previewing with default theming is likely
1392 to be overcomplicated. The :preview property has now no effect.
1393 Update documentation blurbs to inform about this.
1395 Fixes: NB#92297 (Preview content is not clearly visible for
1396 default colour text)
1398 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1400 Reviewed the geometry that handles the children size and
1401 scrollbar, now it tries a size and reviews the results depending
1402 on the scrollbars visibility.
1404 * src/hildon-pannable-area.c,
1405 (hildon_pannable_area_realize): Fixed a typo.
1406 (hildon_pannable_area_child_allocate_calculate): Added this
1407 function to calculate the child allocation.
1408 (hildon_pannable_area_size_allocate): Reviewed the allocation
1410 (hildon_pannable_area_check_scrollbars),
1411 (hildon_pannable_area_refresh): Refactored refresh function, this
1412 way we can call the code handling the scrollbars without causing a
1413 size_request, it is interesting in the allocate.
1414 (hildon_pannable_area_init): Replace the callbacks of the
1415 value_changed and changed signals to propertly deal with the
1417 (hildon_pannable_area_grab_notify),
1418 (hildon_pannable_area_initial_effect),
1419 (hildon_pannable_area_launch_fade_timeout),
1420 (hildon_pannable_area_adjust_changed),
1421 (hildon_pannable_area_adjust_value_changed),
1422 (hildon_pannable_area_redraw),
1423 (hildon_pannable_area_button_press_cb),
1424 (hildon_pannable_area_button_release_cb),
1425 (hildon_pannable_area_scroll_cb),
1426 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1427 code and use the new functions adjust_changed and
1428 adjust_value_changed.
1430 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1431 Contact editor dialog)
1433 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1438 * configure.ac: Bump version.
1439 * debian/changelog: Updates.
1441 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1443 * src/hildon-pannable-area.c,
1444 (hildon_pannable_area_get_topmost),
1445 (hildon_pannable_area_button_press_cb),
1446 (hildon_pannable_area_button_release_cb),
1447 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1448 topmost function adding the event mask. We have to try a
1449 differente approach because it is still causing problems (NB#9745,
1452 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1454 * src/hildon-banner.c:
1455 Update the maximum width of timed banners.
1456 (force_to_wrap_truncated): Enforce the maximum text width if the
1459 Fixes: NB#102413 (The text margins (wrapping) in information
1460 banner should be HILDON_MARGIN_TRIPLE)
1462 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1464 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1466 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1467 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1468 bound when calculating the scroll indicator position.
1470 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1471 treat ->lower correctly)
1473 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1475 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1476 expose event handling, since it is not necessary to draw the focus
1479 Fixes: NB#102467 (Do not show highlight on the text in
1482 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1484 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1485 full height of the toolbar for the button and the label.
1487 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1489 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1490 padding before the label and after the button.
1492 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1494 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1496 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1497 Add a GtkVSeparator between the button and the back arrow.
1498 Let the button have automatic size.
1499 Set a name to the widget for theming handling.
1501 Fixes: NB#101793 (Make edit toolbar the same height as window
1502 title bar (use title area theming))
1504 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1506 * src/hildon-helper.c (attach_new_color_element): Fix memory
1509 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1511 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1513 * examples/hildon-button-example.c (common_buttons_window): Don't
1516 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1518 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1519 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1521 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1523 * src/hildon-gtk.c: Check that the window is realized.
1525 Fixes: NB#102225 (Crash setting the progress indicator to a non
1528 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1530 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1531 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1532 instead of modifying the one in the widget style.
1534 Fixes: NB#101043 (Second row of all the command button are
1535 displayed in transparent mode.)
1537 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1539 * src/hildon-date-button.c
1540 * src/hildon-time-button.c: Add gettext macros
1542 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1544 * src/hildon-date-button.c (hildon_date_button_new):
1545 * src/hildon-time-button.c (hildon_time_button_new_step):
1546 Use new logical strings to set the button default title.
1548 Fixes: NB#99915 (Date and Time options are not localised in Date
1551 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1553 * src/hildon-pannable-area.c
1554 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1555 the PANNING_THRESHOLD.
1557 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1559 * src/hildon-pannable-area.c,
1560 (hildon_pannable_area_class_init): Increased the maximum speed.
1561 (hildon_pannable_area_get_property),
1562 (hildon_pannable_area_set_property),
1563 (hildon_pannable_area_timeout): Added a new low friction mode, it
1564 allows the user avoid friction when launching the widget fast
1565 enough. It is interesting to traverse long lists.
1567 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1569 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1570 (+hildon_stackable_window_delete_event): Ignore delete events if
1571 the window is not the topmost one.
1573 Fixes: NB#101698 (Back button long press and delete-event handling)
1575 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1577 * src/hildon-pannable-area.c,
1578 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1579 gtk-dnd-drag-threshold, it was too big. We have defined our own
1580 dnd define and set a smaller value: PANNIG_THRESHOLD.
1582 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1584 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1585 user-defined icons, use always the default one.
1587 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1589 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1591 This patch was applied before but reverted because it caused
1592 problems, we have changed the main condition and tested the
1593 regressions we detected before and they work ok.
1595 * src/hildon-pannable-area.c,
1596 (hildon_pannable_area_get_topmost): Added a new parameter to
1597 filter the the windows that do not include those events. Added
1598 also a condition when finding the window to filter windows that do
1599 not ask for those events.
1600 (hildon_pannable_area_button_press_cb),
1601 (hildon_pannable_area_button_release_cb),
1602 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1603 topmost function, we have added the new parameter.
1605 Fixes: NB#97458 (Pannable area prevents propagation of button
1608 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1610 * tests/check-hildon-color-button.c (START_TEST): do not leak
1613 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1615 * src/hildon-font-selection-dialog.c
1616 (hildon_font_selection_dialog_get_preview_text): Return NULL
1617 instead of FALSE on the g_return_val_if_fail().
1619 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1621 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1622 * src/hildon-date-selector.c
1623 (hildon_date_selector_select_current_date):
1624 Do not compare unsigned integers to be greater than or equal 0,
1625 because it's always TRUE.
1627 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1629 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1630 (hildon_date_selector_constructor): Do not select the current
1631 date until we are handle the "changed" signal, to avoid having bogus
1632 elements in the days model.
1634 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1636 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1637 for num_days, since _month_days() can return a negative value.
1639 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1641 * src/hildon-caption.c (hildon_caption_size_allocate):
1642 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1643 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1645 Initialize allocation variables to 0, to avoid eventually using
1646 unitialized variables.
1648 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1650 * src/hildon-bread-crumb-trail.c
1651 (hildon_bread_crumb_trail_size_allocate):
1652 * src/hildon-calendar.c (hildon_calendar_set_background):
1653 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1654 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1655 * src/hildon-seekbar.c (hildon_seekbar_init):
1656 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1657 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1658 * src/hildon-touch-selector-entry.c
1659 (hildon_touch_selector_get_text_from_model):
1660 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1661 * src/hildon-window.c (hildon_window_finalize):
1663 Remove many unused variables.
1665 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1667 * src/hildon-seekbar.c: (hildon_seekbar_init),
1668 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1670 Remove unnecessary g_assert() calls.
1672 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1674 * src/hildon-caption.c: (hildon_caption_expose),
1675 (hildon_caption_set_property), (hildon_caption_init),
1676 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1677 (hildon_caption_size_request), (hildon_caption_size_allocate),
1678 (hildon_caption_forall), (hildon_caption_set_separator),
1679 (hildon_caption_activate), (hildon_caption_set_child_expand),
1680 (hildon_caption_set_label_text),
1681 (hildon_caption_get_label_alignment):
1683 Remove unnecessary g_assert() calls.
1685 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1687 * src/hildon-banner.c
1688 (hildon_banner_map, hildon_banner_init): Make banner temporary
1689 before mapping it to avoid closing other temporary windows, but
1690 make it non-temporary afterwards to avoid being closed by other
1691 non-temporary windows.
1692 (-hildon_banner_client_event, hildon_banner_init):
1693 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1695 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1698 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1700 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1703 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1705 * src/hildon-remote-texture.c
1706 * src/hildon-remote-texture.h
1707 * src/hildon-remote-texture-private.h
1708 * examples/hildon-remote-texture-example.c:
1709 Updates/fixes to remote-texture and its example.
1711 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1713 Patch by Mox Soini (ext-mox.soini@nokia.com)
1715 * src/hildon-code-dialog.c: Update logical id.
1716 * src/hildon-set-password-dialog.c: Update logical id.
1718 Fixes: NB#100646 (Logical strings is shown for ok in set
1719 password,Password needed dialogs)
1721 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1724 * src/hildon-remote-texture.c
1725 * src/hildon-remote-texture.h
1726 * src/hildon-remote-texture-private.h
1728 Added remote texture widget (for Clutter shared memory textures)
1730 * examples/hildon-remote-texture-example.c
1731 * examples/Makefile.am
1732 Added example file for remote texture usage
1734 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1736 * configure.ac: post release version bump.
1737 * debian/changelog: version bump.
1739 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1744 * configure.ac: Bump version.
1745 * debian/changelog: Updates.
1747 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1749 * src/hildon-date-selector.c (hildon_date_selector_init)
1750 (hildon_date_selector_constructor): Don't connect to the "changed"
1751 signal until the selector is completely constructed.
1753 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1755 * src/hildon-touch-selector.c: (_create_new_column),
1756 (hildon_touch_selector_append_column),
1757 (hildon_touch_selector_set_column_selection_mode),
1758 (hildon_touch_selector_set_active),
1759 (hildon_touch_selector_select_iter):
1760 Emit the HildonTouchSelector::changed signal every time selection
1761 is changed in any of the methods above. This behavior was already
1762 documented but not fully functional.
1764 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1765 selection is programmatically changed)
1767 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1769 * doc/hildon-sections.txt: Remove obsolete icon
1770 sizes from here as well.
1772 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1774 * examples/hildon-stackable-window-example.c (add_window): Remove
1777 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1779 * src/hildon-app-menu.c
1780 (hildon_app_menu_show): Check whether the parent window of a menu
1781 is topmost before popping it up.
1783 Fixes: NB#100468 (Application menu window is launched even when a
1784 new secondary-window/dialog is pending to be shown/realized.)
1786 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1788 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1791 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1793 Patch by Mox Soini (ext-mox.soini@nokia.com)
1795 * src/hildon-banner.c: (hildon_banner_show_animation):
1796 use stylus size instead of obsolete note size.
1797 * src/hildon-defines.h: Update icon sizes.
1799 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1801 * src/hildon-touch-selector-entry.c:
1802 (hildon_touch_selector_entry_init): Disable unsupported
1804 (hildon_touch_selector_entry_get_text_column): Emit a warning
1805 if an unsupported input modes is used and explicitile state
1806 these modes in the documentation.
1808 Fixes: NB#99802 (Hildon touch selector entry not working properly
1809 for some of the input modes)
1811 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1813 * src/hildon-pannable-area.c,
1814 (hildon_pannable_area_init): Added the changed signal handlers of
1817 Fixes: NB#100320 (HildonPannableArea does not listen to
1818 GtkAdjustment "change" signals)
1820 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1822 * doc/hildon-sections.txt
1823 * src/hildon-window-private.h
1824 * src/hildon-window.h
1825 * src/hildon-window.c (hildon_window_init)
1826 (hildon_window_realize, hildon_window_unrealize)
1827 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1828 (hildon_window_size_request, hildon_window_size_allocate)
1829 (hildon_window_forall, hildon_window_show_all)
1830 (hildon_window_destroy, +paint_edit_toolbar)
1831 (+hildon_window_set_edit_toolbar):
1832 New hildon_window_set_edit_toolbar() method, to add a
1833 HildonEditToolbar to a window without having to pack it manually.
1835 Reorganize hildon_window_size_allocate()
1837 * src/hildon-edit-toolbar.c: Update documentation.
1839 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1840 example to use the new API.
1842 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1844 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1846 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1847 Remove from stack before calling parent's hide.
1849 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1851 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1852 window is removed from the middle of the stack, update the
1853 transiency of the previous one.
1855 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1858 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1860 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1861 block/unblock the signal handler if it's not actually being used.
1862 Fixes some critical warnings.
1864 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1866 Based on a patch by Iván Gómez (igomez@igalia.com)
1868 * src/hildon-banner.c
1872 * src/hildon-pannable-area.c
1873 * src/hildon-picker-dialog.c
1874 * src/hildon-wizard-dialog.h
1875 * src/hildon-wizard-dialog.c: Documentation updates.
1877 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1878 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1880 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1882 * configure.ac: post release version bump.
1883 * debian/changelog: version bump.
1885 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1890 * configure.ac: Bump version.
1891 * debian/changelog: Updates.
1893 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1895 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1896 a stock icon nor change the relief of the back arrow.
1898 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1899 graphics from theme)
1901 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1903 * src/hildon-button.c (hildon_button_set_alignment): Use
1904 priv->alignment if the button has no child yet.
1906 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1908 * src/hildon-button.c: (hildon_button_init): Set the
1909 button style during initialization to give it the proper
1912 Fixes: NB#99713 (HildonButton value label color is wrong)
1914 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1916 * src/hildon-touch-selector.c: Document
1917 hildon_touch_selector_center_on_selected()
1919 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1921 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1922 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1923 all menu items, but not the menu itself.
1924 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1925 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1926 items after adding them to the menu so keyboard accelerators work.
1927 (hildon_app_menu_show): Don't show the menu if it contains items
1928 but none of them are visible.
1930 * examples/hildon-app-menu-example.c (create_menu): Use
1931 gtk_widget_show_all() to show all menu items.
1933 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1935 * src/hildon-picker-dialog.c:
1936 (-_update_title_on_selector_changed_cb),
1937 (-_dialog_update_title): Removed.
1938 (_select_on_selector_changed_cb), (_on_dialog_response),
1939 (on_selector_columns_changed): Do not update the dialog title.
1940 (setup_interaction_mode): Do not connect to
1941 HildonTouchSelector::changed signal if there's a "done" button, as
1942 the dialog title doesn't need to be updated.
1944 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1947 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1949 Patch by Kristian Rietveld (kris@imendio.com)
1951 * src/hildon-touch-selector.c: (_create_new_column): Use new
1952 GtkTreeView::hildon-row-tapped signal to react to user interactions
1953 instead of ::changed.
1955 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1956 with some dynamic tree model)
1958 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1960 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1961 (+screen_size_changed, +label_size_request)
1962 (hildon_note_class_init): Make the Hildon information note have a
1963 minimum height, and make its text hvae a maximum width.
1965 Fixes: NB#98614 (Hildon information note (background) should have
1966 minimum height and maximum text width)
1968 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1970 * src/hildon-banner.h
1971 * src/hildon-banner.c (hildon_banner_show_information)
1972 (hildon_banner_show_informationf)
1973 (hildon_banner_show_information_with_markup): Update documentation
1974 to reflect that the icon_name parameter is not used anymore.
1975 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1976 Remove all code from these functions and mark them as deprecated.
1977 (hildon_banner_show_progress): Mark as deprecated.
1979 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1981 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1983 * src/hildon-pannable-area.c,
1984 (hildon_pannable_area_class_init),
1985 (tranparency_color),
1986 (hildon_pannable_draw_vscroll),
1987 (hildon_pannable_draw_hscroll),
1988 (hildon_pannable_area_expose_event): Added a new way to render the
1989 scrollbars of the pannable area avoiding using cairo at all. This
1990 way we improve the performance of the pannable area rendering. The
1991 cairo rendering procedure is still in the code, we can control
1992 which one to use changing the value of the define
1993 USE_CAIRO_SCROLLBARS.
1995 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1997 * configure.ac: post release version bump.
1998 * debian/changelog: version bump.
2000 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2005 * configure.ac: Bump version.
2006 * debian/changelog: Updates.
2008 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2010 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2011 banners instead of destroying them when they receive a button
2014 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2016 Reverted commit 34028, it was causing regressions, probably the
2017 topmost condition is not correct, we have to check it in more
2018 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2019 propagation of button press events)
2021 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2023 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2024 that the selection is not empty before attempting to retrieve the
2025 current ampm selection.
2027 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2029 * src/hildon-picker-button.c:
2030 (hildon_picker_button_on_dialog_response): Directly update the
2031 button contents when required instead of calling _selection_changed.
2033 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2035 * src/hildon-program.c (hildon_program_update_top_most): Update
2036 'is-topmost' property also when wm_hints is not set.
2038 Fixes: NB#98383 (is-topmost signal is not emitted when task
2039 switcher is clicked.)
2041 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2043 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2047 * src/hildon-animation-actor.c,
2048 * src/hildon-animation-actor.h: Added the animation actor class,
2049 this widget represents an animation actor for WM-assisted
2050 animation effects in the Hildon framework.
2052 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2054 * src/hildon-window-stack-private.h
2055 * src/hildon-window-stack.c
2056 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2057 Avoid calling gtk_widget_show() again indirectly from
2058 hildon_stackable_window_show()
2060 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2062 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2065 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2067 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2068 (hildon_time_selector_init): Move the construction of the hours and
2069 ampm columns to the constructor to preserve the order the columns
2072 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2074 * src/hildon-picker-dialog.c:
2075 (hildon_picker_dialog_class_init): Connect a realize method.
2076 (+hildon_picker_dialog_realize): Setup the interaction mode here
2078 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2079 yet, do it during the realize instead.
2080 (_on_dialog_response):
2081 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2082 if the widget is not realized, to avoid the dialog response before it
2085 Avoid premature responses in the HildonPickerDialog that can cause it
2086 to be hidden before it's even shown.
2088 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2090 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2091 (on_selector_columns_changed), (requires_done_button),
2092 (+prepare_action_area), (setup_interaction_mode),
2093 (_hildon_picker_dialog_set_selector):
2095 Split the interaction mode setup into preparation of the
2096 action area (prepare_action_area()) and the connection of
2097 the signals in setup_interaction_mode() and update the code to
2100 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2102 * src/hildon-pannable-area.c,
2103 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2104 per second to 15, we will check if this is ok regarding
2107 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2109 * src/hildon-pannable-area.c,
2110 (hildon_pannable_axis_scroll): Avoid resize if we already have
2111 reached overshoot_max.
2113 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2115 * src/hildon-pannable-area.c,
2116 (hildon_pannable_area_init),
2117 (hildon_pannable_area_realize),
2118 (hildon_pannable_area_size_allocate),
2119 (hildon_pannable_area_map),
2120 (hildon_pannable_area_unmap),
2121 (hildon_pannable_draw_vscroll),
2122 (hildon_pannable_draw_hscroll),
2123 (hildon_pannable_area_expose_event),
2124 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2125 pannable are to avoid the expose events go to the window and
2126 redraw the window. We save this way that part of the stack and the
2127 paint_boxes. We had to change the positions of the elements when
2130 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2132 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2133 * src/hildon-color-chooser-dialog.c:
2134 (hildon_color_chooser_dialog_init):
2135 * src/hildon-font-selection-dialog.c:
2136 (hildon_font_selection_dialog_init),
2137 (hildon_font_selection_dialog_show_preview):
2138 * src/hildon-get-password-dialog.c:
2139 * src/hildon-login-dialog.c:
2140 * src/hildon-set-password-dialog.c:
2141 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2142 * src/hildon-time-picker.c: (hildon_time_picker_init):
2144 Remove obsolete logical string IDs and update to the appropriate ones.
2146 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2148 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2150 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2151 that happens if the window hasn't been realized yet.
2153 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2154 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2156 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2158 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2159 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2162 Fixes: NB#98537 (Device hangs in account settings dialog)
2164 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2166 * configure.ac: post release version bump.
2167 * debian/changelog: version bump
2169 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2174 * configure.ac: Bump version.
2175 * debian/changelog: Updates.
2177 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2179 Added a new function to the HildonTimeButton widget that allows to
2180 change the step of the minutes in the selector associated with the
2181 button: hildon_time_button_new_step
2183 * src/hildon-time-button.c,
2184 (hildon_time_button_init),
2185 (hildon_time_button_new),
2186 (hildon_time_button_new_step):
2187 * src/hildon-time-button.h: Added the new function and refactored
2189 * examples/hildon-time-button-example.c,
2190 (main): We have replaced the function without parameters with the
2191 function with the steps set to 5
2193 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2195 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2197 * src/hildon-time-selector.c,
2198 (hildon_time_selector_class_init),
2199 (hildon_time_selector_constructor),
2200 (hildon_time_selector_get_property),
2201 (hildon_time_selector_set_property),
2202 (_create_minutes_model),
2203 (hildon_time_selector_new_step),
2204 (hildon_time_selector_set_time),
2205 * src/hildon-time-selector.h: Added a new property to the
2206 HildonTimeSelector (minutes-step), we use that property to control
2207 the steps between the minutes in the list of the selector. We have
2208 added a new function to the API to create a widget changing the
2209 step: hildon_time_selector_new_step.
2211 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2213 * src/hildon-time-selector.c,
2214 (hildon_time_selector_class_init),
2215 (hildon_time_selector_constructor),
2216 (hildon_time_selector_init): Overrided the construct function when
2217 creating the time selector object. We have moved the minutes model
2218 handling code from the init to the new construction function:
2219 hildon_time_selector_constructor.
2221 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2223 * examples/hildon-date-button-example.c: (main): Use the new
2224 hildon_date_button_new_with_year_range() method in the example.
2225 * src/hildon-date-button.c:
2226 (+hildon_date_button_new_with_year_range): New public method
2227 to conveniently create a HildonDateButton with a custom year range
2228 in its HildonDateSelector.
2229 * src/hildon-date-button.h: Add the new public method definition.
2231 Fixes: NB#97908 (Not possible to change the year range in
2232 HildonDateSelector/HildonDateButton)
2234 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2236 * src/hildon-date-selector.c:
2237 (+hildon_date_selector_set_property),
2238 (+hildon_date_selector_get_property),
2239 (hildon_date_selector_class_init): Install new properties "min-year"
2240 and "max-year" to define boundaries for the year column.
2241 (_create_year_model): Use the boundary properties to populate the model.
2242 (+hildon_date_selector_new_with_year_range): New public method to
2243 create a HildonDateSelector with a user defined year range.
2244 (hildon_date_selector_select_current_date): Use the new boundaries to
2245 calculate the iterator of current year.
2246 * src/hildon-date-selector.h: Add the new public method definition.
2248 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2250 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2251 Install a constructor method.
2252 (+hildon_date_selector_construct_ui): construct the widget.
2253 (+hildon_date_selector_constructor): new constructor.
2254 (+hildon_date_selector_init): move out widget construction code to
2255 the new constructor.
2257 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2259 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2260 that there's actually a month or year selected before obtaining them.
2261 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2262 of the HildonTouchSelector::changed signal, as it was emitted on every
2263 single item selection.
2265 Fix some warnings and possible crashers due to the selection restoring.
2267 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2269 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2270 the signal handlers only after creating the dialog instead of on every
2273 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2275 * src/hildon-button.c (hildon_button_init)
2276 * src/hildon-check-button.c (hildon_check_button_init)
2277 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2278 focus when clicked by default.
2280 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2282 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2285 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2287 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2288 Alejandro G. Castro (alex@igalia.com)
2290 * src/hildon-picker-dialog.c:
2291 (hildon_picker_dialog_class_init): install new "center-on-show"
2293 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2294 (hildon_picker_dialog_set_property): add setter code for the new
2296 (hildon_picker_dialog_get_property): add getter code for the new
2298 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2299 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2302 Fixes: NB#92849 (Selected item is not always visible when
2303 HildonTouchSelector is shown)
2305 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2307 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2308 Alejandro G. Castro (alex@igalia.com)
2310 * src/hildon-touch-selector.c:
2311 (_create_new_column): Do not connect to the "realize" signal of the
2313 (hildon_touch_selector_append_column): center on the selected items
2314 when a new column is appended.
2315 (hildon_touch_selector_select_iter): Factor out the code to select a
2316 column to hildon_touch_selector_scroll_to().
2317 (+search_nearest_element): Method to retrieve the nearest selected
2318 element to the visible area of the pannable area in a column.
2319 (+on_realize_cb): scroll to the initially selected item.
2320 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2321 the pannable area is realized, otherwise delay this until it is.
2322 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2323 selected items of a given column.
2324 (+hildon_touch_selector_center_on_selected): Public method to center
2325 all columns on the nearest selected item.
2326 * src/hildon-touch-selector.h: Add definition for
2327 hildon_touch_selector_center_on_selected().
2329 Implement public API to ensure visibility of all selected items in
2330 a HildonTouchSelector.
2332 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2334 Fixed a problem in the fading when calling the scroll_to API, and
2335 improve scrollbar fading handling.
2337 * src/hildon-pannable-area.c,
2338 (hildon_pannable_area_grab_notify): avoid the timeout when the
2340 (hildon_pannable_area_button_press_cb),
2341 (hildon_pannable_area_motion_notify_cb): Code style changes.
2342 (hildon_pannable_area_button_release_cb): Review the conditions
2343 when releasing the mouse button to avoid unrequired fading
2345 (hildon_pannable_area_scroll_to): Do not calculate and set the
2346 velocity if the scroll is not required.
2348 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2350 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2351 Don't check whether the new selector is NULL: it cannot be.
2352 Hold a reference to the selector while doing the replacement.
2354 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2356 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2357 unnecessary size_request in a removed widget.
2359 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2361 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2362 an unnecessary reference tracking that was leaking.
2364 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2366 Added delayed motion notify event handling, this way we can
2367 discard redrawing if more than 25 events arrive per second.
2369 * src/hildon-pannable-area.c,
2370 (hildon_pannable_area_init): Initialized the new private atributes
2371 controlling this timeout
2372 (hildon_pannable_area_dispose): Remove the timeout that controls
2373 the motion notify events.
2374 (hildon_pannable_area_scroll): Added a condition to control the
2375 use of the acceleration.
2376 (hildon_pannable_area_motion_event_scroll_timeout),
2377 (hildon_pannable_area_motion_event_scroll): Added this two
2378 functions, they handle the motion notify events inside the
2380 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2381 to the scroll method with the new function.
2382 (hildon_pannable_area_button_release_cb): We have to remove the
2383 timeout handler and move to the last position if the last motion
2384 events were not handled.
2386 Fixes: NB#97028 (Pannable area updates on every motion event)
2388 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2390 * src/hildon-pannable-area.c,
2391 (hildon_pannable_area_get_topmost): Added a new parameter to
2392 filter the the windows that do not include those events. Added
2393 also a condition when finding the window to filter windows that do
2394 not ask for those events.
2395 (hildon_pannable_area_button_press_cb),
2396 (hildon_pannable_area_button_release_cb),
2397 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2398 topmost function, we have added the new parameter.
2400 Fixes: NB#97458 (Pannable area prevents propagation of button
2403 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2405 * src/hildon-pannable-area.c,
2406 (hildon_pannable_area_initial_effect): Added controls before
2407 launching the timeout and the idle functions.
2408 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2409 of the method, in some situations it can return with TRUE and 0 in
2411 (hildon_pannable_area_button_press_cb): We do not need to set
2412 DELAY for fading out here.
2414 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2416 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2418 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2419 post-cleaning if the selection is not NULL.
2421 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2423 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2424 all items before restoring the selection.
2426 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2428 * src/hildon-touch-selector.c:
2429 (+hildon_touch_selector_unselect_all):
2430 * src/hildon-touch-selector.h: New API to unselect all items in a
2431 column of the touch selector.
2433 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2435 * src/hildon-pannable-area.c,
2436 (hildon_pannable_area_redraw): Added a call to the refresh
2437 function inside the redraw because apparently in some cases the
2438 change in the adjustment does not imply a size allocate.
2440 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2441 despite the view not being scrollable)
2443 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2445 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2446 leak. Check for NULL before attempting to set the window title.
2448 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2450 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2451 whether to show or not the 'Done' button each time the dialog is
2452 shown, as it depends on the HildonTouchSelector selection mode.
2454 Fixes: NB#96226 (In multiple selection mode Done button is shown
2455 sometimes in listpicker)
2457 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2459 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2460 for the number of columns in the HildonTouchSelector more than once.
2462 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2464 * src/hildon-touch-selector.c: Minor documentation fixes.
2466 * src/hildon-picker-dialog.c (+_dialog_update_title)
2467 (_select_on_selector_changed_cb)
2468 (_update_title_on_selector_changed_cb)
2469 (on_selector_columns_changed): Update dialog title when there's no
2470 'Done' button and also when the number of columns in the selector
2474 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2475 (+_selection_changed, hildon_picker_button_on_dialog_response)
2476 (hildon_picker_button_selector_selection_changed)
2477 (+hildon_picker_button_selector_columns_changed)
2478 (hildon_picker_button_set_selector): Update button value and emit
2479 'value-changed' when the number of columns in the selector
2483 Fixes: NB#96225 (Dialog titles are not shown according to the
2484 values selected in the list picker)
2486 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2488 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2489 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2490 New "arrow-width" and "arrow-height" style properties to set the
2491 size of the arrow button.
2492 Set name of arrow button ("hildon-edit-toolbar-arrow").
2494 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2495 graphics from theme)
2497 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2499 * src/hildon-picker-button.c:
2500 (hildon_picker_button_selector_selection_changed): Use
2501 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2502 the dialog is present.
2504 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2505 the selection is accepted in the dialog)
2507 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2509 * src/hildon-color-chooser.h
2510 * src/hildon-color-chooser-dialog.h:
2511 Added G_BEGIN_DECLS and G_END_DECLS
2513 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2515 (_clean_current_selection): plug a leak in the list.
2517 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2519 * src/hildon-picker-dialog.c:
2520 (+free_path_list): Method to free a GList of GtkTreePaths.
2521 (_clean_current_selection), (_save_current_selection),
2522 (_restore_current_selection): Save the current selection in
2523 as a list of lists, to support multiple selection properly.
2525 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2527 patch by Claudio Saavedra (csaavedra@igalia.com)
2529 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2530 Store the press position.
2531 (+hildon_text_view_button_release_event): If the release position is
2532 close enough to the press position, move the cursor here. Otherwise,
2534 (hildon_text_view_class_init): Override GtkTextView press, release, and
2535 motion event handlers, disabling this way text selection through
2536 pointer interaction, and allowing the container widget to handle the
2539 Fixes: NB#95828 (HildonTextView functionality)
2541 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2543 Based on a patch by Iván Gómez (igomez@igalia.com)
2545 * src/hildon-button.[ch]
2546 * src/hildon-calendar.c
2547 * src/hildon-check-button.c
2548 * src/hildon-date-editor.c
2549 * src/hildon-date-selector.c
2550 * src/hildon-picker-button.c
2551 * src/hildon-time-editor.c
2552 * src/hildon-time-selector.c
2553 * src/hildon-touch-selector.[ch]:
2554 Documentation updates
2556 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2558 * src/hildon-pannable-area.c,
2559 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2560 threshold, it was required due to X events handling.
2562 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2564 * src/hildon-pannable-area.c,
2565 (hildon_pannable_area_grab_notify),
2566 (hildon_pannable_area_initial_effect),
2567 (hildon_pannable_area_button_press_cb),
2568 (hildon_pannable_area_button_release_cb),
2569 (hildon_pannable_area_scroll_cb),
2570 (hildon_pannable_area_scroll_to): Review the timeout management of
2571 the scrollbar, the frecuency was incorrectly set.
2573 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2575 * src/hildon-picker-button.c:
2576 (+hildon_picker_button_on_dialog_response),
2577 (hildon_picker_button_clicked): Present the dialog instead of
2578 running it with gtk_dialog_run().
2580 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2583 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2585 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2586 (hildon_app_menu_finalize): When a window is hidden it doesn't
2587 emit notify::is-topmost, so make sure than the menu also
2588 disappears in that case.
2589 (parent_window_topmost_notify): Renamed from parent_window_hidden
2591 Fixes: NB#94460 (stackable window's menu is not closed when its
2594 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2596 * src/hildon-touch-selector-entry.c:
2597 (+hildon_touch_selector_entry_set_input_mode),
2598 (+hildon_touch_selector_entry_get_input_mode):
2599 * src/hildon-touch-selector-entry.h: New methods to access the input
2600 mode in the selector's entry.
2602 Fixes: NB#93410 (API required for setting IM mode in
2603 HildonTouchSelectorEntry)
2605 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2607 * configure.ac: post release version bump.
2608 * debian/changelog: version bump
2610 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2615 * configure.ac: Bump version.
2616 * debian/changelog: Updates.
2618 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2620 * src/hildon-touch-selector.c:
2621 (_hildon_touch_selector_has_multiple_selection): No need
2622 to initialize the variables here.
2624 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2626 * src/hildon-note-private.h
2627 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2628 (hildon_note_finalize, hildon_note_rebuild): Close information
2629 notes when they receive a button press.
2631 Fixes: NB#89890 (Information notes does not get disappeared after
2634 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2636 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2637 mark from the wizard title, as it's not really necessary. Also,
2638 do not display the page title if not set.
2640 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2642 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2643 (parent_window_hidden): Use the window's "is-topmost" property to
2644 detect when to hide the menu.
2646 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2648 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2649 (hildon_app_menu_finalize): If the parent window of the menu is
2650 hidden, hide the menu too.
2652 Fixes: NB#94460 (stackable window's menu is not closed when its
2655 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2658 * debian/libhildon1-examples.install
2660 * examples/Makefile.am:
2661 Use dh_install to install all examples.
2662 Use DEB_SRCDIR instead of defining SOURCE_DIR
2664 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2666 * configure.ac: post release version bump.
2667 * debian/changelog: version bump
2669 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2674 * configure.ac: bump version
2675 * debian/changelog: updates
2676 * debian/control: bump gtk+ dependency
2678 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2680 patch by Christian Dywan (christian@imendio.com)
2682 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2683 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2685 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2687 * src/hildon-check-button.c (hildon_check_button_init)
2688 (hildon_check_button_class_init, hildon_check_button_style_set)
2689 (hildon_check_button_apply_style):
2690 New "checkbox-size" style property.
2692 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2693 larger / configurable size)
2695 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2697 * configure.ac: post release version bump.
2698 * debian/changelog: version bump
2700 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2705 * configure.ac: bump version
2706 * debian/changelog: updates
2708 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2710 * doc/hildon-sections.txt
2711 * src/hildon-pannable-area.c
2712 * src/hildon-program.c
2713 * src/hildon-time-editor.c
2714 * src/hildon-touch-selector-entry.c:
2716 More documentation updates.
2718 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2720 * doc/hildon-sections.txt
2721 * src/hildon-caption.c
2722 * src/hildon-code-dialog.c
2723 * src/hildon-color-button.c
2724 * src/hildon-controlbar.c
2725 * src/hildon-date-editor.c
2726 * src/hildon-date-selector.c
2727 * src/hildon-edit-toolbar.c
2728 * src/hildon-find-toolbar.c
2729 * src/hildon-font-selection-dialog.c
2731 * src/hildon-program.c
2732 * src/hildon-range-editor.c
2733 * src/hildon-seekbar.c
2734 * src/hildon-time-editor.c
2735 * src/hildon-time-selector.c
2736 * src/hildon-volumebar-range.c
2737 * src/hildon-volumebar.c
2738 * src/hildon-vvolumebar.c
2739 * src/hildon-weekday-picker.c
2740 * src/hildon-window.c
2741 * src/hildon-wizard-dialog.c:
2743 Lots of documentation fixes.
2745 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2747 Patch contributed by Iván Gómez (igomez@igalia.com)
2749 * src/hildon-check-button.c:
2750 * src/hildon-date-button.c:
2751 * src/hildon-date-selector.c:
2752 * src/hildon-dialog.c:
2753 * src/hildon-edit-toolbar.c:
2754 * src/hildon-entry.c:
2755 * src/hildon-picker-button.c:
2756 * src/hildon-program.c:
2757 * src/hildon-text-view.c:
2758 * src/hildon-time-button.c:
2759 * src/hildon-touch-selector-entry.c:
2760 * src/hildon-window-stack.c:
2762 Add more "since" tags to the new API.
2764 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2766 * doc/hildon-sections.txt: Add below method.
2767 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2768 version for the hildonized scale.
2769 * src/hildon-gtk.h: Add the definition.
2771 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2773 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2775 * doc/hildon-sections.txt: Add missing entries for new methods.
2777 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2779 Added API to pannable are in order to get its adjustments. We
2780 added two properties to manage the values we had in the private
2783 * src/hildon-pannable-area.c:
2784 (hildon_pannable_area_class_init): Added hadjustment and
2785 vadjustment properties in order to expose horizontal and vertical
2787 (hildon_pannable_area_get_property),
2788 (hildon_pannable_area_set_property): Added code to handle the new
2790 (hildon_pannable_area_get_hadjustment),
2791 (hildon_pannable_area_get_vadjustment): API functions to get the
2793 * src/hildon-pannable-area.h:
2794 (hildon_pannable_area_get_hadjustment),
2795 (hildon_pannable_area_get_vadjustment): API functions to get the
2798 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2800 Fixed some leaks, after valgrinding.
2802 * src/hildon-touch-selector.c:
2803 (_default_print_func): Fixed a leak.
2804 (hildon_touch_selector_append_column): Fixed a leak.
2805 * src/hildon-date-button.c:
2806 (hildon_date_button_init): Fixed a leak.
2807 * src/hildon-date-selector.c
2808 (hildon_date_selector_finalize): Fixed a leak.
2810 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2812 Based on a patch by Christian Dywan (christian@imendio.com)
2814 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2816 * src/hildon-gtk.h: Add definition.
2818 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2820 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2822 * src/hildon-picker-button.c: (hildon_picker_button_init),
2823 (hildon_picker_button_new): Set the HildonButton::style property
2824 in the init method, to propagate the value to the derived classes.
2826 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2828 * src/hildon-button.c: (hildon_button_class_init): Do not make
2829 the "style" property a construct property.
2831 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2833 * src/hildon-wizard-dialog.h
2834 * src/hildon-wizard-dialog.c
2835 (hildon_wizard_dialog_set_forward_page_func)
2836 * src/hildon-pannable-area.h
2837 * src/hildon-pannable-area.c
2838 (hildon_pannable_area_set_size_request_policy):
2839 Documentation fixes.
2841 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2843 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2845 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2847 * doc/hildon-sections.txt: Added sections file.
2849 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2852 * src/*.[ch]: Updates.
2854 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2856 * examples/hildon-progress-indicator-example.c: new file
2857 * examples/Makefile.am: include the new example program
2859 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2861 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2863 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2865 * configure.ac: post release version bump
2866 * debian/changelog: version bump
2868 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2873 * configure.ac: bump version
2874 * debian/changelog: updates
2875 * debian/control: bump gtk+ dependency
2877 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2879 * src/hildon-dialog.c: Mark as deprecated.
2880 * src/hildon-dialog.h: Mark as deprecated.
2881 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2882 from HildonDialog and still work, even if
2883 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2884 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2886 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2887 maemo changes) instead)
2889 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2891 * src/hildon-pannable_area.h:
2892 * src/hildon-pannable_area.c:
2893 (hildon_pannable_area_class_init),
2894 (hildon_pannable_area_set_property),
2895 (hildon_pannable_area_get_property),
2896 (hildon_pannable_area_size_request),
2897 (hildon_pannable_area_get_size_request_policy),
2898 (hildon_pannable_area_set_size_request_policy): Added new API
2899 allowing applications to control the request policy. Now they can
2900 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2901 children allocation (HILDON_MOVEMENT_CHILDREN).
2903 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2907 (hildon_gtk_tree_view_set_ui_mode)
2908 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2909 mode of treeviews and iconviews.
2911 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2913 * src/hildon-touch-selector-entry.c:
2914 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2915 of a GtkEntry to get proper theming.
2917 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2918 widget, not GtkEntry)
2920 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2922 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2923 no HildonWizardDialogPageFunc.
2925 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2927 Patch contributed by Iván Gómez (igomez@igalia.com)
2929 * src/hildon-app-menu.c:
2930 * src/hildon-button.c:
2931 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2932 * src/hildon-stackable-window.c:
2933 * src/hildon-time-selector.c:
2934 * src/hildon-touch-selector.c:
2935 * src/hildon-window.c:
2937 Add more "since" tags to the new API in hildon 2.2.
2939 2008-12-05 Tim Janik <timj@imendio.com>
2941 Patch contributed by Christian Dywan (christian@imendio.com)
2943 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2944 HildonSizeType, which are supplied by Gtk+ now.
2946 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2948 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2949 (with maemo changes) instead)
2951 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2953 Patch contributed by Iván Gómez (igomez@igalia.com)
2955 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2958 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2960 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2961 (some_page_func), (main): Update the example to use a
2962 HildonWizardDialogPageFunc function.
2964 * src/hildon-wizard-dialog-private.h: Add private data for
2965 the HildonWizardDialogPageFunc function usage.
2967 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2968 (destroy), (hildon_wizard_dialog_init), (response),
2969 (hildon_wizard_dialog_set_forward_page_func):
2970 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2971 that applications can use to stop a HildonWizardDialog to jump to
2974 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2977 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2979 * src/hildon-program.h
2980 * src/hildon-program-private.h
2981 * src/hildon-program.c (hildon_program_init)
2982 (hildon_program_set_common_app_menu)
2983 (hildon_program_get_common_app_menu):
2984 New API for setting a common HildonAppMenu for all
2985 HildonStackableWindows registered with the HildonProgram.
2987 * src/hildon-stackable-window.c
2988 (hildon_stackable_window_toggle_menu):
2989 Use the common HildonAppMenu if a window doesn't have a specific
2992 * src/hildon-app-menu-private.h
2993 * src/hildon-app-menu.c
2994 (hildon_app_menu_get_parent_window):
2995 Function to obtain the window a HildonAppMenu is attached to.
2996 (hildon_app_menu_set_parent_window):
2997 Hide the menu if the parent window is set to NULL.
2999 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3001 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3002 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3003 search widget to popup.
3005 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3007 * configure.ac: post release version bump
3008 * debian/changelog: version bump
3010 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3015 * configure.ac: bump version
3016 * debian/changelog: updates
3018 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3020 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3022 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3023 (hildon_window_stack_window_realized)
3024 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3025 Set the leader GdkWindow when a window is stacked and realized,
3026 unset it when it's unstacked.
3027 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3029 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3031 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3033 * src/hildon-stackable-window.h
3034 * src/hildon-window-stack.h:
3035 Protect definition of HildonWindowStack using the preprocessor.
3037 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3039 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3040 Fix warning if all menu items are hidden.
3042 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3044 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3046 * src/hildon-controlbar.c:
3047 * src/hildon-hvolumebar.c:
3048 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3049 Multiple scale size defines updates.
3051 Fixes: NB#94322 (Scale Updates)
3053 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3055 * examples/hildon-app-menu-example.c (create_menu)
3056 Show items after adding them to the menu, as in the future the
3057 menu will no longer call gtk_widget_show() on the added items.
3059 * src/hildon-app-menu.c:
3060 Update example as explained above.
3062 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3064 * src/hildon-app-menu.c
3065 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3066 Make sure that all menu items have finger height.
3068 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3070 * src/hildon-picker-dialog.c:
3071 (_on_dialog_response), (_save_current_selection),
3072 (_restore_current_selection), (_clean_current_selection),
3073 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3074 Defined new functions in order to save the current internal selector
3075 selection previous open the dialog, in case that the use cancel the
3076 interaction, so the widget restores the previous selection.
3078 Fixes: NB#92032 (In calendar application, date values in 'new event'
3081 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3083 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3085 * src/hildon-button.c: Add a reference to the button examples in
3086 hildon-button-example.c
3088 * examples/hildon-button-example.c: Added examples of the most
3089 common button layouts.
3091 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3093 * src/hildon-app-menu.c (hildon_app_menu_show)
3094 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3096 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3098 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3100 * src/hildon-picker-dialog.c:
3101 (hildon_picker_dialog_init): Initialize the signal id for
3102 HildonTouchSelector::columns-changed.
3103 (+on_selector_columns_changed): Set up the interaction mode everytime a
3104 column is added or removed from the HildonTouchSelector.
3105 (_hildon_picker_dialog_set_selector): Connect to
3106 HildonTouchSelector::columns-changed and keep track of it.
3108 Make sure to update the interaction mode of the dialog everytime a
3109 column is added or removed in the HildonTouchSelector.
3111 Fixes: NB#93228 (Done button is not shown always in listpicker)
3113 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3115 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3116 a new ::columns-changed signal.
3117 (hildon_touch_selector_append_column): Emit ::columns-changed.
3118 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3120 Add a ::columns-changed signal, emitted when the number of columns in a
3121 HildonTouchSelector changes.
3123 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3125 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3126 (_hildon_picker_dialog_set_selector): Factor out the code
3127 to set up the dialog interaction mode.
3129 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3131 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3132 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3133 to signal_changed_id.
3135 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3137 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3140 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3142 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3143 Updated the logical ids related to ampm format, as now it is required to
3144 show it correctly localized even on languages with no default
3145 abbreviations for am or pm
3146 (_check_am_pm_format): check correctly the 24h format gconf property
3148 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3150 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3152 * src/hildon-button.c: Documentation updates.
3154 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3156 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3157 * src/hildon-caption.c: (hildon_caption_class_init):
3158 * src/hildon-color-button.c: (hildon_color_button_class_init):
3159 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3160 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3161 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3162 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3164 Remove deprecated GTK+ marshalers and replace them with the ones
3165 provided by GLib, for those available, add a marshaler for
3166 BOOLEAN:VOID, which is not available in GLib, and use it.
3168 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3170 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3171 the text from the previous column if there is no
3172 HildonTouchSelectorColumn::text-property set.
3174 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3176 * src/hildon-button.h
3177 * src/hildon-button.c (hildon_button_set_property)
3178 (hildon_button_get_property, hildon_button_class_init)
3179 (hildon_button_set_style, hildon_button_get_style):
3180 New "style" property to change the visual appearance of the
3183 * src/hildon-picker-button.c (hildon_picker_button_new):
3184 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3186 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3187 HildonButton look like PickerButton)
3189 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3191 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3192 column while building the default string.
3194 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3196 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3197 scroll indicator by default.
3199 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3201 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3203 * src/hildon-main.c: Fix the documentation for hildon_init()
3205 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3207 * doc/hildon-docs.sgml
3211 * src/hildon-window-stack-private.h
3212 * src/hildon-window-stack.h
3213 * src/hildon-window-stack.c:
3214 New HildonWindowStack object, that adds support for multiple
3215 stacks of windows per process.
3217 * src/hildon-stackable-window-private.h
3218 * src/hildon-stackable-window.h
3219 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3220 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3221 (hildon_stackable_window_show, hildon_stackable_window_hide)
3222 (hildon_stackable_window_class_init)
3223 (hildon_stackable_window_init):
3224 Use HildonWindowStack for stack management.
3226 * src/hildon-program.c (hildon_program_pop_window_stack)
3227 (hildon_program_peek_window_stack)
3228 (hildon_program_go_to_root_window):
3229 Add a fallback implementation to the deprecated functions using
3232 * examples/hildon-stackable-window-example.c:
3233 Use the new HildonWindowStack API.
3235 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3237 * src/hildon-stackable-window-private.h
3238 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3239 (hildon_stackable_window_hide, hildon_stackable_window_init):
3240 Remove all window stack management.
3242 * src/hildon-program-private.h
3243 * src/hildon-program.h
3244 * src/hildon-program.c (hildon_program_init)
3245 (hildon_program_pop_window_stack)
3246 (hildon_program_peek_window_stack)
3247 (hildon_program_go_to_root_window):
3248 Remove all window stack management and mark functions as
3251 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3253 * src/hildon-app-menu.c (hildon_app_menu_realize):
3254 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3256 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3258 * configure.ac: post release version bump
3259 * debian/changelog: version bump
3261 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3266 * configure.ac: bump version
3267 * debian/changelog: updates
3269 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3271 Based on initial code by Christian Dywan (christian@imendio.com)
3273 * doc/hildon-docs.sgml: Add section for hildon-main.
3274 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3275 * src/Makefile.am: Add new hildon-main.[ch]
3276 * src/hildon-defines.h: Update the icon sizes.
3277 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3278 new library initialization files and register icon sizes.
3279 * src/hildon-main.h: New declarations.
3280 * src/hildon.h: Include hildon-main.h
3282 Add new initialization functions to the library. These methods
3283 will register the hildon specific icon sizes and can be used in the
3284 future for other hildon specific bits.
3286 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3288 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3290 * src/hildon-window.c: (hildon_window_realize),
3291 (hildon_window_notify), (-hildon_window_update_title): Do not set
3292 the application name in the window title.
3294 Fixes: NB#89754 (Applications shouldn't display their names in the
3297 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3299 * src/hildon-note-private.h:
3300 * src/hildon-note.c: (hildon_note_set_property),
3301 (hildon_note_get_property), (hildon_note_class_init),
3302 (hildon_note_init), (hildon_note_finalize),
3303 (hildon_note_new_confirmation_with_icon_name),
3304 (hildon_note_new_information_with_icon_name):
3306 No need to mark as deprecated the actual code. Revert
3307 to avoid missing symbols in widgets using deprecated API.
3309 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3311 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3313 * src/hildon-volumebar.h
3314 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3315 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3317 * src/hildon-helper.h
3318 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3319 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3321 * examples/Makefile.am:
3322 Deprecate hildon-insensitive-example
3324 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3326 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3328 * examples/hildon-pannable-area-buttons-scroll-example.c:
3329 Make all buttons finger height
3331 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3333 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3335 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3336 update the day model only if it is really required, and to avoid the
3337 full-reconstruction aproach. Now it only add or remove the required days.
3339 The purpose of this is avoid superfluous HildonTouchSelector::changed
3342 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3343 with strange parameters)
3345 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3347 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3349 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3350 the WINDOW_TYPE property.
3352 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3354 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3357 Fix dependency to allow parallel compilation with make -jX
3359 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3361 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3362 color frame and some minor tweaks to make it more consistent with
3365 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3366 highlighted but not visible)
3368 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3370 * examples/Makefile.am: Fixed typo in the Makefile.am.
3372 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3374 Reviewed the use of MAEMO_GTK define, now we add the define in the
3375 compilation line, and we also add it to the pc file.
3377 * configure.ac: Added MAEMO_GTK define to the compilation command
3378 and removed it from the config.h.
3380 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3381 do not have to take care about this define if the library was
3385 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3387 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3389 * examples/Makefile.am,
3390 * examples/hildon-pannable-area-buttons-scroll-example.c,
3391 * examples/hildon-pannable-area-gesture-signals-example.c,
3392 * examples/hildon-pannable-area-scroll-jump-example.c,
3393 * examples/hildon-pannable-area-tree-view-example.c:
3394 Renamed the pannable area examples, now they have more meaningful
3397 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3399 * src/hildon-touch-selector.c:
3400 (hildon_touch_selector_set_column_selection_mode): Used of
3401 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3402 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3403 to avoid re-seting the same selection mode.
3405 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3406 breaks HildonPickerDialog)
3408 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3410 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3411 conditional in the Makefile.am
3413 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3415 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3416 Remove unused methods.
3418 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3420 * src/hildon-button.c (hildon_button_init):
3421 Make button images center-aligned by default
3423 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3426 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3427 activated, we have to think about how to deal with both defines
3428 MAEMO_GTK and MAEMO_CHANGES.
3430 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3432 * examples/hildon-app-menu-example.c (create_menu): Make all
3433 buttons finger size.
3435 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3437 Fixed the compilation without maemo gtk adding ifdefs with
3438 MAEMO_GTK define to the code, we have to check this version more
3441 * examples/Makefile.am: Added control to avoid some examples that
3442 just make sense with maemo gtk.
3445 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3446 hildon modes with the define.
3448 * examples/hildon-edit-toolbar-example.c,
3449 (create_icon_view): Create the icon view without hildon-gtk
3450 helpers if we are not using maemo gtk.
3452 * src/hildon-touch-selector.c,
3453 (_create_new_column): Create the treeview without hildon-gtk
3454 helpers if we are not using maemo gtk.
3456 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3458 * src/hildon-pnnable-area.c,
3459 (hildon_pannable_area_dispose),
3460 (hildon_pannable_area_button_press_cb),
3461 (hildon_pannable_area_child_mapped),
3462 (hildon_pannable_area_add),
3463 (hildon_pannable_area_remove): Added code to control the position
3464 of the event_window when adding and removing children from the
3465 pannable. We have to raise the event window when the child is
3468 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3469 selection mode using custom widget inside pannable)
3471 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3473 * configure.ac: post release version bump
3474 * debian/changelog: version bump
3476 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3481 * configure.ac: bump version
3482 * debian/changelog: updates
3484 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3486 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3487 search mode, in order to avoid lose the focus on the treeview when
3488 a hw key (like enter) is pressed.
3490 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3491 in HildonDateSelector dialog)
3493 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3495 * debian/rules: Added --enable-maintainer-mode
3496 * Makefile.am: Added ACLOCAL_AMFLAGS
3498 This allows to properly regenerate the Makefiles if you modify the
3499 configure.ac or any Makefile.am.
3501 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3503 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3504 properties, not needed at all.
3506 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3508 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3510 * src/hildon-note.c: (hildon_note_set_property),
3511 (hildon_note_get_property), (hildon_note_class_init),
3512 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3513 (hildon_note_new_confirmation_add_buttons): Remove icons.
3514 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3515 (hildon_note_new_information_with_icon_name): Deprecate.
3516 (hildon_note_new_confirmation): Act directly, without calling
3517 the deprecated constructor.
3518 (hildon_note_new_information): Act directly, without calling
3519 the deprecated constructor.
3520 * src/hildon-note.h: Mark deprecate methods as such.
3521 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3522 not run tests on the deprecated methods if built with deprecation
3525 Fixes: NB#91688 (Never show icons in information notes/confirmation
3528 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3530 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3531 (hildon_app_menu_key_press): Remove leftover usage of the
3532 private structure in HildonAppMenu struct.
3533 * src/hildon-app-menu.h: Remove leftover private structure
3534 from the HildonAppMenu struct.
3536 Fixes a crasher when using the HildonAppMenu.
3538 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3540 * src/hildon-picker-dialog.c: Use appropriate logical id
3541 for the default "Done" text.
3543 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3545 * configure.ac: post release version bump
3546 * debian/changelog: version bump
3548 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3550 Modified the way to scroll to the current selection just when the touch
3551 selector is shown on the screen, avoiding a g_idle. Added too a property
3552 to configure this behaviour. See hildon_pannable_area_jump_to_child
3553 documentation for more information.
3555 * src/hildon-touch-selector.c
3556 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3557 Added 'initial-scroll' property
3558 (hildon_touch_selector_set_property): Added
3559 (hildon_touch_selector_map): Removed as not required anymore
3560 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3561 only a concrete column, instead of iterate along all the columns
3563 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3568 * configure.ac: bump version
3569 * debian/changelog: updates
3571 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3573 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3574 compilation time warnings.
3576 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3578 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3579 the default value for HildonPannableArea::mov-mode to
3580 HILDON_PANNABLE_AREA_MODE_VERT.
3582 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3584 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3586 Reverting following commit:
3588 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3590 * src/hildon-app-menu-private.h
3591 * src/hildon-app-menu.[ch]
3592 * src/hildon-button.[ch]
3593 * src/hildon-check-button.[ch]
3594 * src/hildon-entry.[ch]
3595 * src/hildon-pannable-area.[ch]
3596 * src/hildon-text-view.[ch]:
3597 Added private field to the object's structure.
3599 because it causes an ABI breakage. We will need to introduce these
3600 changes later at some point. See NB#91636 for an extensive
3601 explanation and status.
3603 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3605 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3607 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3608 remove special cases that are no longer necessary.
3610 Fixes: NB#91016 (Change toolbar sizes, simplification)
3612 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3614 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3615 is shown in the cancel note.
3617 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3619 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3620 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3621 (hildon_seekbar_init): Remove steppers, remove expose event.
3622 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3624 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3626 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3628 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3629 label font to "SmallSystemFont" for vertically arranged buttons.
3631 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3634 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3636 * src/hildon-check-button.c
3637 (hildon_check_button_set_active, hildon_check_button_clicked):
3638 Don't access private parts directly, use getters instead.
3640 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3642 * src/hildon-check-button.c (hildon_check_button_new):
3643 Align the contents of the check button to the left.
3645 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3647 * src/hildon-pannable-area.c,
3648 (hildon_pannable_area_scroll_to),
3649 (hildon_pannable_area_jump_to),
3650 (hildon_pannable_area_scroll_to_child),
3651 (hildon_pannable_area_jump_to_child): Replace the mapped
3652 precondition of these functions with the realized, it is the
3653 correct state of the widget in this case. Changed the
3654 documentation according to this modification.
3656 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3658 Added a new EXTRA_CFLAGS option to add the deprecated define to
3659 the compilation command. This way we can avoid using the define in
3660 the documentation compilation.
3662 * configure.ac: Defined EXTRA_CFLAGS.
3664 * examples/Makefile.am:
3666 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3668 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3670 * src/hildon-picker-dialog.c:
3671 Defined a utility macro with the desired touch selector height
3672 Removed currently unused separator, and title_label variables from
3674 (hildon_picker_dialog_init): Removed code related to the creation
3675 of unused private variables title_label and separator.
3676 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3677 to ensure correct visualization of the touch selector inside the dialog.
3678 * src/hildon-touch-selector.c
3679 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3680 ensure a concrete height of the widget.
3682 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3685 * tests/Makefile.am:
3687 Remove spurious whitespaces.
3689 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3691 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3692 compilation warning after the cancel button removal.
3694 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3696 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3698 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3699 Makefile.am, that way we can choose not to compile some examples
3700 and tests of the deprecated widgets.
3702 * examples/Makefile.am: Divided the sources in deprecated and
3705 * src/Makefile.am: Added undef statement of the deprecated
3706 symbol to the enums file generation process.
3708 * src/hildon-color-chooser-dialog.c
3709 * src/hildon-color-chooser-dialog.h
3710 * src/hildon-color-button.c
3711 * src/hildon-color-button.h
3712 * src/hildon-color-chooser.c
3713 * src/hildon-color-chooser.h
3714 * src/hildon-controlbar.c
3715 * src/hildon-controlbar.h
3716 * src/hildon-date-editor.c
3717 * src/hildon-date-editor.h
3718 * src/hildon-hvolumebar.c
3719 * src/hildon-hvolumebar.h
3720 * src/hildon-private.c
3721 * src/hildon-private.h
3722 * src/hildon-range-editor.c
3723 * src/hildon-range-editor.h
3724 * src/hildon-seekbar.c
3725 * src/hildon-seekbar.h
3726 * src/hildon-time-editor.c
3727 * src/hildon-time-editor.h
3728 * src/hildon-time-picker.c
3729 * src/hildon-time-picker.h
3730 * src/hildon-volumebar.c
3731 * src/hildon-volumebar.h
3732 * src/hildon-vvolumebar.c
3733 * src/hildon-vvolumebar.h
3734 * src/hildon-bread-crumb-trail.h
3735 * src/hildon-bread-crumb-trail.c
3736 * src/hildon-calendar-popup.c
3737 * src/hildon-calendar-popup.h
3738 * src/hildon-weekday-picker.c:
3739 * src/hildon-weekday-picker.h:
3740 * src/hildon-bread-crumb-widget.c:
3741 * src/hildon-bread-crumb-widget.h:
3742 * src/hildon-bread-crumb.c:
3743 * src/hildon-bread-crumb.h:
3744 * src/hildon-calendar.c:
3745 * src/hildon-calendar.h:
3746 * src/hildon-caption.c:
3747 * src/hildon-code-dialog.c:
3748 * src/hildon-code-dialog.h:
3749 * src/hildon-font-selection-dialog.c:
3750 * src/hildon-font-selection-dialog.h:
3751 * src/hildon-get-password-dialog.c:
3752 * src/hildon-get-password-dialog.h:
3753 * src/hildon-login-dialog.c:
3754 * src/hildon-login-dialog.h:
3755 * src/hildon-number-editor.c:
3756 * src/hildon-number-editor.h:
3757 * src/hildon-set-password-dialog.c:
3758 * src/hildon-set-password-dialog.h:
3759 * src/hildon-sort-dialog.c:
3760 * src/hildon-sort-dialog.h: This is the list of deprecated
3763 * src/hildon-touch-selector.c:
3764 * src/hildon-window.c: Added undef statement to avoid compilation
3767 * tests/Makefile.am: Divided the sources in deprecated and
3770 * tests/check_test.c,
3771 (configure_tests): Marked the deprecated code that was adding
3772 suites with deprecated tests.
3774 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3776 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3778 * src/hildon-touch-selector.c: (_default_print_func): Do not
3779 duplicate a string returned by gtk_tree_model_get(), it is already
3782 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3785 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3787 * src/hildon-pannable-area.c
3788 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3789 method, it had problems when adding a widget with viewport the
3790 second time. Now checks if it already has a viewport and uses it.
3792 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3795 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3797 * src/hildon-pannable-area.c,
3798 (hildon_pannable_area_scroll_to),
3799 (hildon_pannable_area_jump_to),
3800 (hildon_pannable_area_scroll_to_child),
3801 (hildon_pannable_area_jump_to_child): Added a precondition to the
3802 scroll and jump to functions: the widget must be mapped before we
3803 can safely call these functions. We have also added documentation
3804 to the functions to explain how to use them in this situation.
3807 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3809 Reviewed the threading handling of the pannable widget, we have
3810 used the gdk_threads_add_timeout function instead of the usual
3811 glib handlers. This avoids some problems with the threads.
3813 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3814 (hildon_pannable_area_initial_effect),
3815 (hildon_pannable_area_scroll_indicator_fade),
3816 (hildon_pannable_area_button_press_cb),
3817 (hildon_pannable_area_timeout),
3818 (hildon_pannable_area_motion_notify_cb),
3819 (hildon_pannable_area_button_release_cb),
3820 (hildon_pannable_area_scroll_cb),
3821 (hildon_pannable_area_scroll_to): Removed the
3822 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3823 gdk_threads_add_timeout.
3825 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3827 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3832 * configure.ac: bump version
3833 * debian/changelog: updates
3835 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3837 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3838 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3839 * src/hildon-color-chooser-dialog.c:
3840 (hildon_color_chooser_dialog_init):
3841 * src/hildon-font-selection-dialog.c:
3842 (hildon_font_selection_dialog_init):
3843 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3845 Remove all cancel/close-like dialogs, as these are not going to be
3848 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3850 * src/hildon-note.c: (hildon_note_rebuild),
3851 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3854 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3856 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3858 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3859 sure all buttons are shown, even the Cancel/Close-like ones.
3861 Fixes: NB#90861 (Custom Confirmation dialogs should be
3862 protected from cancel button removal)
3864 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3866 * debian/control: Change libhildon1-examples dependency from libhildon1
3868 * debian/libhildon1-examples.install
3870 * Makefile.am: Modified the final install directory for the examples on
3871 package libhildon1-examples
3872 * Makefile.static: Update clean target in order to remove all the binary
3875 Changes suggested by Claudio after review new libhildon1-examples package
3877 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3879 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3880 * src/hildon-touch-selector.c: Ditto.
3882 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3884 * debian/control: Added new package libhildon1-examples, in order to pack
3885 the current hildon examples as documentation
3886 * debian/rules: Not to compress .c files, modify some includes on the
3887 examples (as normally are compiled locally, but when installed it will
3888 require to include the installed libhildon1 library), and rename
3890 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3891 install all the example files on the new example package
3892 * examples/Makefile.static: Added static makefile that can be used to
3893 compile the examples, once installed the new example package
3894 * examples: Most of the examples were modified in order to grant that
3895 all use only '#include "hildon.h"', in order to be easy to prepare
3896 it on the example package
3898 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3901 * debian/libhildon1-dev.install
3902 * debian/libhildon1-doc.install:
3903 Move all gtk-doc files to a separate libhildon1-doc package.
3905 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3907 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3909 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3911 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3913 * debian/rules: Fixed a error in order to avoid unnecessary calls
3914 to autogen.sh on package building
3916 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3918 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3920 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3922 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3925 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3927 * src/hildon-picker-button.c
3928 (hildon_picker_button_finalize):
3929 Free priv->done_button_text
3931 * src/hildon-time-button.c
3932 (hildon_time_button_set_time)
3933 * src/hildon-picker-button.c
3934 (hildon_picker_button_clicked)
3935 (hildon_picker_button_selector_selection_changed)
3936 (hildon_picker_button_set_selector)
3937 * src/hildon-date-button.c
3938 (hildon_date_button_set_date):
3939 Free strings returned by hildon_touch_selector_get_current_text()
3941 * src/hildon-button.c (hildon_button_construct_child):
3942 Fix leaks in priv->image and priv->label_box
3944 Fixes: NB#90535 (Memory leak in picker button)
3946 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3948 * src/hildon-button.c: (hildon_button_get_property): Do not access
3949 private elements directly, use getters instead.
3951 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3953 * src/hildon-app-menu-private.h
3954 * src/hildon-app-menu.c
3955 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3956 Store the menu's parent window.
3958 * src/hildon-stackable-window.c
3959 (hildon_stackable_window_toggle_menu)
3960 (hildon_stackable_window_finalize):
3961 Set the menu's parent window when the menu is shown, unset it when
3964 * src/hildon-app-menu.c
3965 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3966 (hildon_app_menu_class_init):
3967 Send unhandled keyboard accelerators to the parent window.
3969 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3971 * src/hildon-stackable-window.c
3972 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3974 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3976 * configure.ac: post release version bump
3978 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3981 * configure.ac: Bump version
3982 * debian/changelog: Updates
3983 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3986 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3988 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3991 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3992 GtkMenu with Hildon style.
3994 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3996 * src/hildon-picker-button.c:
3997 (hildon_picker_button_set_done_button_text): Set the dialog's
3998 done button text here as well.
4000 Fixes: NB#90232 (Picker button does not set the label on done button
4001 for the second time)
4003 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4005 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4008 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4010 * src/hildon-app-menu.c (hildon_app_menu_insert)
4011 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4012 the HildonAppMenu to be activatable using keyboard accelerators
4013 when the menu is not being shown.
4015 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4017 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4019 * src/hildon-stackable-window.c
4020 (hildon_stackable_window_show):
4021 Don't hide old windows automatically when new windows are shown:
4022 this is now a task for the window manager.
4023 (hildon_stackable_window_class_init)
4024 (hildon_stackable_window_hide):
4025 Remove windows from the stack everytime they're hidden.
4026 (hildon_stackable_window_realize):
4027 Don't change the _NET_WM_WINDOW_TYPE property. Use
4028 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4029 it as a stackable window.
4031 * src/hildon-program.c
4032 (hildon_program_pop_window_stack):
4033 Just hide the window to remove it from the stack.
4034 (hildon_program_go_to_root_window):
4035 Don't call gtk_widget_show(), this is now a task for the window
4038 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4040 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4042 * src/hildon-button.c
4043 (hildon_button_construct_child):
4044 Don't pack anything in the button until text or image are
4045 set. This allows adding a custom child after creating the button
4046 with hildon_button_new().
4047 (hildon_button_finalize, hildon_button_class_init)
4048 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4049 alignment and the label box even when they're not packed in the
4052 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4054 * src/hildon-touch-selector.h:
4055 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4056 currently the type definition was using GTK_TYPE_VBOX
4057 * src/hildon-touch-selector.c:
4058 Added some implementation notes in order to clarify that any other widget
4059 added without the column related API will not be included on the
4060 selection logic, and how the widget is freed, as some people ask about
4062 (hildon_touch_selector_remove): Reimplemented in order to free properly
4063 the column related data when you remove the private hbox.
4064 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4065 to get a proper HildonTouchSelectorColumn documentation
4067 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4069 * src/hildon-touch-selector-entry.c:
4070 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4071 text in the GtkEntry and there is no item selected. Fixes a
4074 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4076 * src/hildon-app-menu-private.h
4077 * src/hildon-app-menu.[ch]
4078 * src/hildon-button.[ch]
4079 * src/hildon-check-button.[ch]
4080 * src/hildon-entry.[ch]
4081 * src/hildon-pannable-area.[ch]
4082 * src/hildon-text-view.[ch]:
4083 Added private field to the object's structure.
4085 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4087 * configure.ac: post-release version bump
4089 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4093 * configure.ac: pre-release version bump
4095 * debian/changelog: updates.
4097 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4099 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4100 Disconnect the handler for HildonTouchSelector::changed.
4102 (hildon_picker_button_selector_selection_changed): Update the button
4103 value if the selection change was not triggered by the
4106 (hildon_picker_button_set_selector): connect to
4107 HildonTouchSelector::changed.
4109 Fixes: NB#89650 (Picker button is not updated, when selection in
4110 selector has changed)
4112 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4114 * src/hildon-picker-dialog.c
4115 (hildon_picker_dialog_realize): Removed as not required
4116 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4117 * src/hildon-picker-button.c
4118 (_current_selector_empty): New function, checks if the selector is empty
4119 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4120 if the current selector is empty, in order to avoid to show the dialog
4121 close the dialog in this case (and shows a g_warning).
4123 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4125 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4127 * src/hildon-pannable-area.c,
4128 (hildon_pannable_area_scroll): Added clause to stop movement when
4129 the child of pannable is smaller than one page.
4130 (hildon_pannable_area_scroll_to): Added conditions to avoid
4131 starting the scrolling movement if the child is smaller than one
4132 page, the complete child is in the screen, we do not have to move.
4134 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4136 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4138 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4139 this is managed automatically by the widget when the size of the
4142 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4144 * src/hildon-picker-button.c
4145 (hildon_picker_button_set_done_button_text): Make a copy of the
4146 text, and free the previous value.
4148 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4150 * src/hildon-touch-selector-entry.c:
4151 (hildon_touch_selector_entry_print_func): Return the selected row's
4152 text if the entry is empty.
4154 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4157 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4159 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4161 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4164 * src/hildon-check-button.h
4165 * src/hildon-check-button.c
4166 * examples/hildon-check-button-example.c:
4167 HildonCheckButton is now a new widget. 'toggled' signal added.
4169 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4171 * src/hildon-program-private.h
4172 * src/hildon-program.c (hildon_program_init)
4173 (hildon_program_finalize): Removed unused variables group_leader
4174 and name from HildonProgramPrivate.
4176 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4178 * src/hildon-check-button.c (hildon_check_button_set_active)
4179 (hildon_check_button_get_active, hildon_check_button_new): Use
4180 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4182 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4184 * src/hildon-touch-selector.h
4185 (hildon_touch_selector_set_column_attributes): added deprecation
4186 guard HILDON_DISABLE_DEPRECATED
4187 * src/hildon-time-selector.c
4188 (hildon_time_selector_set_time)
4189 (hildon_time_selector_get_time): Fixed a typo on documentation
4190 * src/hildon-touch-selector.c: update HildonTouchSelector and
4191 HildonTouchSelectorColumn documentation
4192 * src/hildon-touch-selector-entry.c: update "text-column" property
4194 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4195 to be added to the general documentation.
4197 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4199 * examples/hildon-pannable-area-example-4.c,
4201 * examples/hildon-pannable-area-example.c,
4202 (main): Modified the code in order to use the container add, with
4203 viewport treeviews could have problems if they are really big.
4205 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4207 * src/hildon-weekday-picker.c,
4208 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4209 the agreement regarding deprecation in the library.
4211 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4213 * examples/hildon-picker-button-multicolumn-example.c:
4214 (main): Use custom "done" button text.
4216 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4217 (hildon_picker_button_set_property),
4218 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4219 (hildon_picker_button_init),
4220 (+hildon_picker_button_get_done_button_text),
4221 (+hildon_picker_button_set_done_button_text): New methods to customize
4222 the "done" button label in the launched HildonPickerDialog. Also,
4225 * src/hildon-picker-button.h: add the public API.
4227 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4229 * src/hildon-date-selector.h:
4230 * src/hildon-picker-dialog.h:
4231 * src/hildon-time-selector.h:
4232 * src/hildon-touch-selector-column.h:
4233 * src/hildon-touch-selector.h:
4235 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4236 declarations. Fixes gtk-doc warnings.
4238 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4240 * src/hildon-picker-dialog.h
4241 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4242 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4244 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4245 long text is set as label for done button)
4247 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4249 * src/hildon-dialog.c (hildon_dialog_add_button):
4250 Set fixed width to all buttons in the HildonDialog.
4252 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4254 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4256 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4257 Set widget name using class name plus "-finger" or "-thumb".
4259 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4261 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4262 'clicked' when the state of the button is manually changed.
4264 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4266 * src/hildon-app-menu.c (hildon_app_menu_realize)
4267 (hildon_app_menu_unrealize, hildon_app_menu_init)
4268 (hildon_app_menu_class_init, item_visibility_changed):
4269 Change the menu layout when the size of the screen changes.
4270 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4271 Show warning only when changing the number of colums using the
4274 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4276 * debian/compat: Set to 5
4277 * debian/control: Update dependencies.
4278 * debian/libhildon1-dbg.install: Remove.
4279 * debian/libhildon1-dev.install: Update according to cdbs paths.
4280 * debian/libhildon1.install: Update according to cdbs paths.
4281 * debian/rules: Switch to cdbs.
4283 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4285 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4286 'item' variable renamed to 'filter'
4288 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4290 * src/hildon-app-menu.c (hildon_app_menu_insert)
4291 (hildon_app_menu_add_filter, remove_item_from_list)
4292 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4293 Don't leak hidden items when the menu is destroyed.
4295 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4297 * src/hildon-app-menu.c (hildon_app_menu_insert)
4298 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4299 (hildon_app_menu_set_columns, item_visibility_changed)
4300 (filter_visibility_changed, hildon_app_menu_repack_filters)
4301 (hildon_app_menu_repack_items):
4302 Repack items and filters separately.
4304 Don't repack all items, change only the ones that are needed to
4307 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4309 * src/Makefile.am: added hildon-touch-selector-column.h
4311 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4313 * src/hildon-touch-selector.c: added the property "text-column" to the
4314 class HildonTouchSelectorColumn, and related get/set functions
4315 (_default_printf_func): updated to use "text-column" property
4316 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4317 "text-column" in his documentation, as this is now included on
4318 HildonTouchSelectorColumn. The get/set_property can still be used,
4319 working as a wrapper to the concrete column "text-column" property
4320 (_text_column_modified): callback added in order to handle the signal
4321 "notify::text-column" of the concrete HildonTouchSelectorColumn
4322 (hildon_touch_selector_entry_get_text_column)
4323 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4324 modified in order to use the HildonTouchSelectorColumn "text-column"
4326 * src/hildon-time-selector.c:
4327 * src/hildon-date-selector.c:
4328 * examples/hildon-touch-selector-example.c
4329 * examples/hildon-touch-selector-multi-cells-example.c
4330 * examples/hildon-picker-button-multicolumn-example.c
4331 Set the right value to "text-column" property on the creation of a new
4332 column using hildon_touch_selector_append_column()
4334 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4336 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4338 * src/hildon-app-menu.c
4339 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4340 updating the layout of the menu, don't create all widgets again,
4341 just repack the items in their new places.
4343 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4345 * src/hildon-time-selector.c
4346 (hildon_time_selector_get_time)
4347 (hildon_time_selector_set_time)
4348 Added documentation of these public methods
4350 * src/hildon-date-button.h
4351 * src/hildon-touch-selector-column.h
4352 * src/hildon-time-button.h
4353 * src/hildon-picker-dialog.h
4354 * src/hildon-time-selector.h
4355 * src/hildon-picker-button.h
4356 * src/hildon-touch-selector.h
4357 * src/hildon-time-picker.h
4358 * src/hildon-date-selector.h
4359 * src/hildon-touch-selector-entry.h
4360 Modified in order to use hildon-widgets code style
4362 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4364 Added deprecated support to the compilation process using
4365 HILDON_DISABLE_DEPRECATED
4367 * configure.ac: Added the --disable-deprecated to the configure
4370 * src/hildon-weekday-picker.c:
4371 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4372 to use the deprecated support. We will update the other deprecated
4373 widgets status in a new patch.
4375 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4377 * configure.ac: Fixed typo with fatal warnings support, the
4378 variable name was not correct
4380 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4382 * src/hildon-app-menu.c
4383 * src/hildon-program.c: Update documentation.
4385 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4387 * configure.ac: Post-release version bump.
4389 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4394 * configure.ac: Pre-release version bump.
4395 * debian/changelog: Updates.
4397 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4399 * NEWS: Update news for previous releases.
4401 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4403 * examples/hildon-touch-selector-multi-cells-example.c:
4404 (create_selector): Update the example to use
4405 hildon_touch_selector_append_column() with a NULL renderer and set
4406 the renderers later.
4407 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4408 passed a NULL renderer. This is documented behavior now.
4410 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4411 This must be used if the developer wants full control on the layout of
4412 the renderers to be added to the column.
4414 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4416 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4418 * src/hildon-touch-selector.c: Documentation fixes.
4420 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4422 * src/hildon-wizard-dialog-private.h: Remove image and box.
4423 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4424 (hildon_wizard_dialog_set_property), (response): Completely remove
4425 image/icon support, and the containers required for the layout.
4427 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4429 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4431 * src/hildon-app-menu.c: Updated documentation.
4433 * src/hildon-stackable-window.c
4434 (hildon_stackable_window_set_main_menu): Unref the old menu after
4435 ref'ing the new one.
4437 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4439 * src/hildon-stackable-window.c
4440 (hildon_stackable_window_set_main_menu): Unref the previous menu
4441 instead of destroying it.
4443 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4444 floating reference and set has_user_ref_count to FALSE to make
4445 HildonAppMenu act like a normal ref-counted widget and not a
4448 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4451 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4453 * src/hildon-touch-selector-column.h: new file
4454 * src/hildon-touch-selector.h
4455 * src/hildon-touch-selector.c
4456 Implemented GtkCellLayout interface, in order to allow to configure
4457 the cell layout on each individual selector column
4458 (hildon_touch_selector_set_column_attributes): marked as deprecated
4459 * examples/hildon-touch-selector-multi-cells-example.c
4460 Example of how to use the GtkCellLayout interface on the selector
4462 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4464 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4466 * src/hildon-app-menu.h
4467 * src/hildon-app-menu.c
4468 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4469 (hildon_app_menu_append, hildon_app_menu_prepend):
4470 New methods to prepend, insert and move items in the menu.
4472 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4474 * src/hildon-wizard-dialog.c:
4476 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4478 (create_title): Update logical IDs and related code.
4479 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4481 * src/hildon-wizard-dialog.h: Note that
4482 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4483 point, as it is not used anymore.
4485 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4487 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4489 * src/hildon-note.c:
4490 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4491 shown. Do not display an icon in confirmation notes nor information
4493 (hildon_note_set_button_text): Update logical ID for cancel button.
4495 Fixes: NB#88850 (Update HildonNote button strings + signals)
4497 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4499 * src/hildon-stackable-window.c
4500 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4502 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4504 * src/hildon-app-menu-private.h
4505 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4506 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4507 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4508 temporary property 'columns' to change the number of columns.
4510 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4512 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4514 * examples/hildon-note-example.c: (on_information_clicked),
4515 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4516 debugging information.
4517 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4519 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4520 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4521 in order to close: this will be handled by the WM from now on.
4523 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4525 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4527 * src/hildon-app-menu-private.h
4528 * src/hildon-app-menu.c
4529 (hildon_app_menu_append, hildon_app_menu_add_filter)
4530 (button_visibility_changed, hildon_app_menu_apply_style)
4531 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4532 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4533 layout everytime a button (item or filter) is shown or hidden.
4535 * src/hildon-stackable-window.c
4536 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4539 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4541 * src/hildon-touch-selector.c:
4542 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4543 that the treeview inside the touch selector is in fremantle hildon mode
4544 * examples/hildon-date-button-example.c
4545 * examples/hildon-picker-button-multicolumn-example.c
4546 * examples/hildon-touch-selector-entry-example.c
4547 * examples/hildon-touch-selector-example.c
4548 * examples/hildon-time-button-example.c
4549 * examples/hildon-picker-button-example.c:
4550 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4552 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4554 * examples/hildon-text-view-example.c: (main): Remove the
4555 gtkrc bits, now handled by the theme.
4557 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4559 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4562 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4564 * po/Makefile.am: Install properly the mo files.
4565 * po/en_GB.po: Update translation, to ease testing purposes.
4567 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4569 * examples/hildon-picker-button-example.c: (main): Select an item
4570 in the selector before setting it to the button.
4572 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4574 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4575 Update button's value if the selector has an item active.
4577 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4578 'value' with the selector)
4580 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4582 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4583 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4584 (hildon_picker_button_class_init): Plug the finalize method.
4585 (hildon_picker_button_set_selector): If there's a previously set
4586 selector, unref'it before setting a new one.
4588 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4589 HildonTouchSelector)
4591 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4593 * src/hildon-touch-selector-entry.c:
4594 (hildon_touch_selector_entry_changed): Check if there is no text
4595 selected before setting the entry text.
4598 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4600 * src/hildon-touch-selector.h
4601 * src/hildon-touch-selector.c
4602 (hildon_touch_selector_get_active)
4603 (hildon_touch_selector_set_active): New methods to set/get the
4604 index of the selected item.
4606 * src/hildon-picker-button.h
4607 * src/hildon-picker-button.c
4608 (hildon_picker_button_get_active)
4609 (hildon_picker_button_set_active): New methods to set/get the
4610 index of the selected item.
4612 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4614 * configure.ac: post-release version bump.
4616 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4620 * configure.ac: Pre-release version bump.
4621 * debian/changelog: Updates.
4622 * debian/control: Add myself as maintainer and depend on l10n
4625 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4627 * src/hildon-window.c
4628 (hildon_window_set_main_menu)
4629 * src/hildon-stackable-window.c
4630 (hildon_stackable_window_set_main_menu):
4631 Updated documentation.
4633 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4635 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4636 Don't free selector->priv manually.
4639 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4642 (hildon_gtk_window_set_progress_indicator):
4643 * src/hildon-gtk.h: Added the new API
4644 hildon_gtk_window_set_progress_indicator, it changes the state of
4645 the window progress hint.
4647 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4649 * src/hildon-button.c
4650 * src/hildon-stackable-window.c: Minor documentation updates.
4652 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4654 * src/hildon-stackable-window.c: Updated documentation.
4656 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4658 * src/hildon-defines.h: Update margins definitions
4659 to the Fremantle sizes.
4662 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4664 * src/hildon-touch-selector.c,
4665 (_hildon_touch_selector_set_model): Cleaning the code after
4666 review, removed g_print and #if 0 from the code.
4668 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4670 * src/hildon-edit-toolbar.c: Update documentation.
4672 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4674 * src/hildon-check-button.h
4675 * src/hildon-check-button.c
4676 (hildon_check_button_set_label, hildon_check_button_get_label)
4677 * examples/hildon-check-button-example.c
4678 (button_clicked_cb):
4679 Removed deprecated methods.
4681 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4683 * src/hildon-text-view.c:
4684 Add sample code to the documentation.
4686 * src/hildon-entry.h
4687 * src/hildon-text-view.h:
4688 Minor cosmetic changes.
4690 * src/hildon-entry.c:
4691 Add sample code to the documentation.
4692 (hildon_entry_init, hildon_entry_refresh_contents):
4693 Don't allow NULL values in the placeholder.
4695 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4697 * doc/hildon-docs.sgml
4699 * examples/Makefile.am
4700 * examples/hildon-text-view-example.c
4702 * src/hildon-text-view.c
4703 * src/hildon-text-view.h
4705 New HildonTextView widget, with example.
4707 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4709 * po/POTFILES.in: Add missing files with translatable strings.
4710 Partially fixes NB#88287.
4712 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4714 * examples/hildon-pannable-area-example-2.c: (main): No need to
4715 set the cellrenderer height inside hildon touch lists, the theme does
4718 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4720 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4721 they are integrated in the theme.
4723 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4725 * examples/hildon-entry-example.c: Update the example adding
4726 widgets to modify the text and the placeholder of the HildonEntry.
4728 * src/hildon-entry.c: Show the placeholder everytime the widget
4729 is empty and loses the focus.
4731 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4733 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4735 * src/hildon-pannable-area.c,
4736 (hildon_pannable_area_size_request): Fixed bug in height
4737 requisition, avoid increasing size and add border twice.
4739 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4741 * configure.ac: postrelease version bump.
4743 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4747 * configure.ac: Prerelease version bump.
4748 * debian/changelog: update.
4749 * debian/rules: make -dbg package contain useful debugging symbols.
4751 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4753 * src/hildon-dialog.h
4754 * src/hildon-dialog.c
4755 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4756 New methods to add buttons with finger size.
4757 (hildon_dialog_new_with_buttons):
4758 Create buttons with finger size.
4760 * examples/hildon-dialog-example.c (main): Use HildonDialog
4761 methods to add buttons.
4763 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4765 * src/hildon-entry.c: Updated HildonButton documentation.
4767 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4769 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4770 button value label with (FALSE, FALSE) to prevent NB#88126 from
4773 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4775 * examples/hildon-pannable-area-example.c,
4776 (main): Removed examples panning a vbox inside a pannable
4777 area. Check bug NB#87965
4779 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4781 Patch contributed by Kris Rietveld (kris@imendio.com)
4783 * src/hildon-pannable-area.c,
4784 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4785 get_size and get_position, this saves an X server roundtrip.
4787 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4789 * doc/hildon-docs.sgml
4791 * examples/Makefile.am
4792 * examples/hildon-entry-example.c
4794 * src/hildon-entry.c
4795 * src/hildon-entry.h
4797 New HildonEntry widget, with example.
4799 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4801 * src/hildon-button.c (hildon_button_construct_child): Pack the
4802 image with expand == fill == FALSE. This is a workaround for a bug
4805 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4807 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4808 labels for the text column, to make it more look more dynamic.
4810 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4812 * src/hildon-time-selector.c
4813 Define gettext auxiliar macro N_
4814 (_create_minutes_model)
4815 (_create_hours_model)
4816 (_create_ampm_model): use of strftime in order to fill the model
4817 * src/hildon-date-selector.c
4818 (hildon_date_selector_finalize):
4819 (_locales_init): remove the logic related to get the name of the months
4820 using nl_langinfo, as it is not required anymore
4822 (_create_year_model)
4823 (_create_month_model)
4824 (_update_day_model): use of strftime in order to fill the model properly
4827 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4829 * src/hildon-button.h
4830 * src/hildon-button.c (hildon_button_get_image): New method to
4833 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4835 * src/hildon-touch-selector.c:
4836 (hildon_touch_selector_remove_column): Remove from the correct parent
4837 and also remove the list element and free it.
4840 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4842 * src/hildon-time-selector.c
4843 (_create_hours_model): change the range on 12h ampm format in order to use
4844 a 12-11 range instead of previous 01-12 range
4845 (hildon_time_selector_set_time): change the way to select the current time
4846 on 12h ampm format, due the change on the range
4847 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4850 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4852 * src/hildon-touch-selector.c
4853 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4854 in order to allow use this function on multiple row selection mode if
4855 the column is different that the first one
4858 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4860 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4861 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4863 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4865 * src/hildon-date-selector.h: clean some comments, now on the .c
4866 * src/hildon-date-selector.c
4867 (hildon_date_selector_select_month): first implementation
4868 (hildon_date_selector_select_day): added documentation, reimplemented
4869 using hildon_date_selector_select_current_date to avoid repeat code
4872 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4874 Reviewed interaction logic based on device experiences, refactored
4877 * src/hildon-pannable-area.c,
4878 (hildon_pannable_area_class_init): Updated default vmax speed.
4879 (hildon_pannable_area_calculate_velocity): Added this function, it
4880 avoids duplicate valocity calculation. Adjusted calculation to
4881 avoid problems with zero dist events.
4883 (hildon_pannable_area_motion_notify_cb): Now we use the
4884 calculate_velocity function.
4886 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4888 * src/hildon-date-selector.c
4889 (hildon_date_selector_select_current_date): fix the day range check
4890 as it failed using the last day of the current month
4893 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4895 * src/hildon-touch-selector.c
4896 (hildon_touch_selector_get_num_columns): added a parameter validation
4899 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4901 * examples/Makefile.am
4902 * examples/hildon-edit-toolbar-example.c: Example of the
4903 HildonEditToolbar widget.
4905 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4907 * configure.ac: postrelease version bump.
4909 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4913 * configure.ac: prerelease version bump.
4914 * debian/changelog: update.
4916 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4918 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4919 renderer to display stock icons in the touch list. Also, set the sizes
4920 to the recommended in the style guide.
4922 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4923 * src/hildon-touch-selector.h
4924 (hildon_touch_selector_set_active_iter): renamed, now is
4925 hildon_touch_selector_select_iter
4926 (hildon_touch_selector_get_active_iter): renamed, now is
4927 hildon_touch_selector_get_selected
4928 (hildon_touch_selector_unselect_iter): added
4929 * src/hildon-touch-selector.c
4930 Update after API modification (methods renamed)
4931 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4932 order to avoid problems selecting multiple elements on the column
4933 (hildon_touch_selector_unselect_iter): added the implementation
4934 * src/hildon-time-selector.c
4935 * src/hildon-date-selector.c
4936 * src/hildon-touch-selector-entry.c
4937 Update methods calls after hildon-touch-selector.h API modification (methods
4940 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4942 * src/hildon-stackable-window.c
4943 (hildon_stackable_window_finalize): Call the parent class's finalize.
4945 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4947 * examples/hildon-touch-selector-example.c: (create_selector): Use
4948 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4951 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4953 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4954 set a cell background color, to respect theming.
4956 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4958 * doc/hildon-docs.sgml
4961 * src/hildon-edit-toolbar.c
4962 * src/hildon-edit-toolbar.h
4963 * src/hildon.h: New HildonEditToolbar widget.
4965 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4967 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4970 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4971 * src/hildon-touch-selector.c
4972 (_create_new_column): use g_object_set instead of two g_object_set_property
4974 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4975 * src/hildon-touch-selector.c
4976 (_create_new_column): use of hildon_gtk_tree_view_new to create
4977 the treeview, instead of use directly g_object_new
4978 (_create_new_column): update the property name "vindicator-mode" for the
4979 new one "vscrollbar-policy"
4980 * examples/hildon-date-button-example.c
4981 * examples/hildon-picker-button-multicolumn-example.c
4982 * examples/hildon-touch-selector-entry-example.c
4983 * examples/hildon-touch-selector-example.c
4984 * examples/hildon-time-button-example.c
4985 * examples/hildon-picker-button-example.c
4986 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4987 to all the treeviews inside a pannable area.
4989 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4991 * src/hildon-button.h
4992 * src/hildon-button.c (hildon_button_init)
4993 (hildon_button_set_arrangement, hildon_button_set_alignment)
4994 (hildon_button_set_title_alignment)
4995 (hildon_button_set_value_alignment)
4996 (hildon_button_set_image_alignment)
4997 (hildon_button_construct_child): New methods to set the alignment
4998 of the individual components of the button (title, value,
4999 image). Also, new method to alter the xscale and yscale properties
5000 of the GtkAlignment inside the button, so more complex layouts can
5003 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5005 * src/hildon-button.c (hildon_button_style_set)
5006 (hildon_button_class_init, hildon_button_set_arrangement)
5007 (hildon_button_construct_child): Apply style properties
5008 correctly. Use the 'image-spacing' style property too.
5010 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5012 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5013 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5016 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5018 * src/hildon-pannable-area.c,
5019 (hildon_pannable_area_size_request): Fixed problem with
5020 pannable-area size_request.
5022 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5024 Added management for the grab-focus to a child widget, like a
5025 range, we need to fade out the scrollbar when releasing.
5027 * src/hildon-pannable-area.c,
5028 (hildon_pannable_area_init): Connected the grab-focus signal to
5030 (hildon_pannable_area_grab_notify): Added this function in order
5031 to manage the situation when the grab-focus ends. We have to
5032 fade-out the scrollbar.
5034 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5036 * src/hildon-app-menu.c: Minor documentation update.
5038 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5040 * src/hildon-app-menu.c
5041 * examples/hildon-app-menu-example.c (create_menu): Update
5042 examples and documentation to explain how to connect callbacks.
5044 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5046 * examples/hildon-button-example.c
5047 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5048 hildon_stackable_window_new instead of gtk_window_new
5050 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5052 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5053 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5054 (hildon_pannable_area_set_property),
5055 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5056 (hildon_pannable_area_unrealize),
5057 (hildon_pannable_area_size_request),
5058 (hildon_pannable_area_size_allocate),
5059 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5060 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5061 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5062 (hildon_pannable_area_initial_effect),
5063 (hildon_pannable_area_redraw),
5064 (hildon_pannable_area_scroll_indicator_fade),
5065 (hildon_pannable_area_expose_event),
5066 (hildon_pannable_area_get_topmost), (synth_crossing),
5067 (hildon_pannable_area_button_press_cb),
5068 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5069 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5070 (hildon_pannable_area_motion_notify_cb),
5071 (hildon_pannable_area_button_release_cb),
5072 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5073 (hildon_pannable_area_remove),
5074 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5075 chage the code layout to a more GtkWidget like. Review the use of
5078 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5080 * examples/hildon-pannable-area-example-4.c,
5081 (main): Modified the name of the hindicator_mode to
5084 * src/hildon-pannable-area.c,
5085 (hildon_pannable_area_class_init),
5086 (hildon_pannable_area_motion_notify_cb),
5087 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5088 we have reduced the amount of signals and managed reviewed its
5089 rationale. Changed the default decelerate value.
5091 (hildon_pannable_area_add),
5092 (hildon_pannable_area_redraw): Refactored functions.
5094 (hildon_pannable_area_init),
5095 (hildon_pannable_area_get_property),
5096 (hildon_pannable_area_set_property):
5097 (hildon_pannable_draw_vscroll),
5098 (hildon_pannable_draw_hscroll),
5099 (hildon_pannable_area_initial_effect),
5100 (hildon_pannable_area_expose_event),
5101 (hildon_pannable_area_scroll),
5102 (hildon_pannable_area_button_press_cb),
5103 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5104 and vindicator_mode with hscrollbar_policy and
5105 vscrollbar_policy. Replaced hscroll and vscroll with
5106 hscroll_visible and vscroll_visible.
5108 (hildon_pannable_area_refresh): Refactor the function, remove
5109 variables and check the calls to this function, added resize
5110 conditions in case the children change their layout.
5112 (hildon_pannable_area_size_request): Added more detailed
5113 size_request calculation.
5116 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5118 * src/hildon-color-chooser.c
5119 (init_borders): use the correct gtk_border_free instead of g_free, to
5120 avoid a crash when this widget is used (ie: the three color selection
5123 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5125 * src/hildon-check-button.c,
5126 (hildon_check_button_set_active): Fixed problem when setting the
5127 active value, the widget was not redrawn.
5129 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5131 * src/hildon-pannable-area.c,
5132 (hildon_pannable_area_refresh),
5133 (hildon_pannable_area_scroll),
5134 (hildon_pannable_area_motion_notify_cb): Small code style change.
5136 (hildon_pannable_area_class_init): Default initial_hint set to
5137 FALSE, it is not in the specs.
5139 (hildon_pannable_area_initial_effect),
5140 (hildon_pannable_area_expose_event),
5141 (hildon_pannable_area_map),
5142 (hildon_pannable_area_init): Moved the launching point of the
5143 initial effect, it was in map but the sizes where not correct in
5144 that method so we do not know if we have the reproduce it. Now it
5145 is placed in the expose_event method and uses a variable to
5146 reproduce it just once.
5148 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5150 * src/hildon-pannable-area.c,
5151 (hildon_pannable_draw_vscroll),
5152 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5153 position allowed for the scrollbars.
5155 (hildon_pannable_area_size_allocate): Small style change.
5157 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5159 * src/hildon-pannable-area.c,
5160 (hildon_pannable_area_scroll_indicator_fade),
5161 (hildon_pannable_area_button_press_cb),
5162 (hildon_pannable_area_button_release_cb),
5163 (hildon_pannable_area_scroll_cb),
5164 (hildon_pannable_area_expose_event),
5165 (hildon_pannable_area_init): Added the define parameter
5166 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5167 and refactor the fade variable.
5169 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5171 * src/hildon-pannable-area.c,
5172 (hildon_pannable_area_redraw),
5173 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5174 lines, we were reimplemeting the redraw code.
5176 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5178 * src/hildon-pannable-area.c,
5179 (hildon_pannable_area_scroll_cb),
5180 (hildon_pannable_area_realize),
5181 (hildon_pannable_area_class_init): Added scroll_event management
5182 for pannable area, now we can scroll the usual desktop method.
5184 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5185 initialization of the parameters should depend on idle_id.
5187 (hildon_pannable_area_init),
5188 (hildon_pannable_area_map): Small code style modifications
5190 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5192 * src/hildon-pannable-area.c
5193 (hildon_pannable_area_button_press_cb),
5194 (hildon_pannable_area_motion_notify_cb),
5195 (hildon_pannable_area_button_release_cb),
5196 (hildon_pannable_area_size_allocate),
5197 (hildon_pannable_area_scroll_to): Improved the timeouts
5198 management, we avoid creating them each time.
5200 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5202 * src/hildon-pannable-area.c:
5203 (hildon_pannable_area_refresh),
5204 (hildon_pannable_area_motion_notify_cb),
5205 (hildon_pannable_area_class_init):
5206 * src/hildon-pannable-area.h:
5207 * src/hildon-touch-selector.c
5208 (_create_new_column):
5209 * examples/hildon-pannable-area-example-4.c:
5210 (horizontal_movement),
5211 (vertical_movement),
5213 Replaced the names of enums in the HildonPannableArea:
5214 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5215 HILDON_MOVEMENT_MODE_*
5216 - HILDON_PANNABLE_AREA_MOV_* ->
5218 - Removed HildonPannableAreaIndicatorMode, now we
5221 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5223 * examples/hildon-pannable-area-touch-grid-example.c
5224 * examples/hildon-pannable-area-touch-list-example.c: Fix
5225 compilation warnings.
5227 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5229 * src/hildon-gtk.c (hildon_gtk_button_new)
5230 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5231 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5232 images overriding the value of the "gtk-button-images" setting.
5234 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5236 * src/hildon-check-button.c (hildon_check_button_new):
5237 Instead of using a custom container, display the label and the
5238 checkbox using the standard GtkButton API.
5240 * examples/hildon-check-button-example.c (main): Don't use
5241 hildon_check_button_set_label() anymore
5243 * src/hildon-check-button.h
5244 * src/hildon-check-button.c
5245 (hildon_check_button_set_label, hildon_check_button_get_label):
5246 Set as deprecated, now we're using gtk_button_{get,set}_label()
5248 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5250 * src/hildon-pannable-area.c,
5251 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5252 GtkTreeview first line we detected it after the inclusion of the
5253 GtkWindowImpl in gtk+. We now check if the window is visible, not
5254 just if the pointer is over the window.
5255 (hildon_pannable_axis_scroll),
5256 (hildon_pannable_area_expose_event): Small style changes.
5258 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5260 * src/hildon-button.c: Update documentation.
5262 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5264 * examples/hildon-button-example.c: Add a switch to show images in
5267 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5269 * doc/hildon-docs.sgml: Some docs reorganization.
5271 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5273 * examples/hildon-pannable-area-touch-list-example.c
5275 * examples/hildon-pannable-area-touch-grid-example.c
5276 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5277 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5278 Fix memory leak when setting the tree model.
5280 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5284 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5286 * doc/hildon.types: Remove duplicated hildon_window_get_type
5287 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5288 documentation comment.
5290 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5292 * doc/Makefile.am: Complete list of private headers.
5294 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5296 * doc/hildon-docs.sgml
5297 * src/hildon-app-menu.c
5298 * src/hildon-bread-crumb.c
5299 * src/hildon-button.c
5301 * src/hildon-program.c
5302 * src/hildon-stackable-window.c
5303 * src/hildon-window.c: Lots of documentation updates.
5305 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5307 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5309 * configure.ac: Require Gtk+ 2.12.9 at least
5311 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5313 * src/hildon-pannable-area.c
5314 (hildon_pannable_area_scroll_indicator_fade),
5315 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5316 to protect the return of this timeout callbacks, avoiding deadlocks.
5318 2008-08-12 Christian Dywan <christian@imendio.com>
5321 * src/hildon-*.h: Ensure a consistent include order,
5322 include <gtk/gtk.h> instead of particular files and
5323 only include the topmost header in the gtk stack. See NB #39857
5325 2008-08-12 Christian Dywan <christian@imendio.com>
5327 * src/hildon-picker-dialog.c
5328 * src/hildon-touch-selector.c: Fix warnings about unused and
5329 uninitialized variables.
5331 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5333 * examples/Makefile.am
5334 * examples/hildon-check-button-example.c: Example of the hildon
5337 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5339 * src/hildon-window.h
5340 * src/hildon-window.c (hildon_window_class_init)
5341 (hildon_window_unset_program): Don't make
5342 hildon_window_unset_program a virtual function anymore.
5344 * src/hildon-stackable-window.c: Update documentation
5346 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5349 * doc/hildon-docs.sgml
5350 * doc/visual_index.xml
5351 * src/hildon-defines.c
5353 * src/hildon-helper.c
5354 * src/hildon-range-editor.c: Lots of documentation fixes.
5356 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5358 * examples/hildon-picker-button-multicolumn-example.c
5359 (create_touch_selector): Fix compilation warning.
5361 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5363 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5364 (hildon_pannable_area_button_release_cb)
5365 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5367 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5369 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5372 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5374 * src/hildon-bread-crumb-trail.h
5375 * src/hildon-date-editor.c
5376 * src/hildon-date-selector.c
5377 * src/hildon-pannable-area.c
5378 * src/hildon-picker-dialog.c
5379 * src/hildon-time-selector.c
5380 * src/hildon-touch-selector-entry.c
5381 * src/hildon-touch-selector.c
5382 * src/hildon-touch-selector.h: Misc documentation fixes
5384 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5386 * examples/hildon-date-editor-example.c (main): Updated date
5389 * examples/hildon-note-example.c (on_confirmation_clicked):
5390 Updated confirmation note example.
5392 * src/hildon-date-editor.c
5393 * src/hildon-note.c: Updated sample programs in documentation.
5396 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5398 * src/hildon-date-button.h:
5399 * src/hildon-picker-button.h:
5400 * src/hildon-time-button.c:
5401 * src/hildon-time-button.h:
5403 Some declarations changes to allow gtk-doc to document the widgets
5406 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5408 * src/hildon-date-button.c: Document the widget.
5409 * src/hildon-time-button.c: Document the widget.
5411 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5413 * src/hildon-picker-button.c: Document the widget.
5414 * src/hildon-touch-selector-entry.c: Document the widget.
5416 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5418 * doc/hildon-docs.sgml
5421 * src/hildon-check-button.h
5422 * src/hildon-check-button.c: New functions to create the Hildon
5426 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5428 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5430 * src/hildon-button.h
5431 * src/hildon-button.c
5432 (hildon_button_add_title_size_group)
5433 (hildon_button_add_value_size_group)
5434 (hildon_button_add_image_size_group)
5435 (hildon_button_add_size_groups): New functions to set size groups
5436 for the button labels and image.
5437 (hildon_button_new_full): Removed
5439 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5441 * src/hildon-time-selector.c
5442 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5443 in order to avoid a crash if gconf is not available
5445 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5447 * src/hildon-button.c (hildon_button_set_arrangement)
5448 (hildon_button_construct_child): Don't construct the button child
5449 before setting the arrangement.
5451 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5453 * src/hildon-program-private.h
5454 * src/hildon-program.c
5455 * src/hildon-program.h
5456 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5457 (hildon_program_peek_window_stack)
5458 (hildon_program_pop_window_stack)
5459 (hildon_program_go_to_root_window): HildonProgram now has a
5460 separate list for stackable windows. Functions are provided to
5461 manage that list with a stack-like API.
5463 * src/hildon-stackable-window.c: Stackable window management is
5464 now much simpler with the new HildonProgram API. Windows no
5465 longer need to be manually added to the program, they're
5466 automatically pushed to the top of the stack when shown.
5468 * examples/hildon-stackable-window-example.c: Updated example to
5469 reflect the API changes.
5471 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5473 * src/hildon-touch-selector.c: Comment out unimplemented
5474 hildon_touch_selector_insert_column() to avoid a compile warning.
5476 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5478 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5479 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5480 (hildon_touch_selector_set_column_selection_mode),
5481 (_hildon_touch_selector_set_model),
5482 (hildon_touch_selector_set_model):
5484 Complete review of HildonTouchSelector documentation.
5486 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5488 * doc/hildon-docs.sgml
5492 * src/hildon-gtk.c: Convenience functions for standard Gtk
5493 widgets, used to easily perform frequent operations.
5495 * src/hildon-button-helpers.h
5496 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5498 * src/hildon-helper.h
5499 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5500 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5502 * src/hildon-button.h
5503 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5505 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5507 * src/hildon-button.c (hildon_button_init)
5508 (hildon_button_set_arrangement, hildon_button_construct_child):
5509 Pack the image and the labels inside the same GtkAlignment so
5510 gtk_button_set_alignment() can be used
5512 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5514 * src/hildon-button.h
5515 * src/hildon-button.c
5516 (hildon_button_init, hildon_button_set_image)
5517 (hildon_button_set_image_position)
5518 (hildon_button_construct_child): New functions to add an image to
5521 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5523 * src/hildon-date-button.c
5524 * src/hildon-picker-button.c
5525 * src/hildon-time-button.c
5526 * src/hildon-button.c:
5527 (hildon_button_class_init): "size-flags" renamed to "size"
5528 (hildon_button_set_title): Hide the title label if set to NULL.
5530 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5532 HildonButtonFlags split into HildonButtonArrangement (to set the
5533 button layout) and HildonSizeType (which can be used for any
5536 * src/hildon-button.h
5537 * src/hildon-button.c
5538 (hildon_button_class_init)
5539 (hildon_button_set_arrangement)
5540 (hildon_button_set_property): New "size-flags"
5541 property. "arrangement-flags" renamed to "arrangement".
5542 (hildon_button_new, hildon_button_new_with_text)
5543 (hildon_button_new_full): Constructors updated to reflect type changes.
5545 * src/hildon-helper.h
5546 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5547 to set the size of a widget.
5551 * src/hildon-button-helpers.c
5552 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5554 * src/hildon-date-button.c
5555 * src/hildon-date-button.h
5556 * src/hildon-picker-button.c
5557 * src/hildon-picker-button.h
5558 * src/hildon-time-button.c
5559 * src/hildon-time-button.h: Updated widgets to reflect
5560 HildonButton API changes.
5562 * examples/hildon-button-example.c
5563 * examples/hildon-date-button-example.c
5564 * examples/hildon-picker-button-example.c
5565 * examples/hildon-picker-button-multicolumn-example.c
5566 * examples/hildon-time-button-example.c
5567 * examples/hildon-touch-selector-entry-example.c
5568 * examples/hildon-touch-selector-example.c: Updated examples to
5569 reflect HildonButton API changes.
5571 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5573 * doc/hildon-docs.sgml:
5575 * examples/Makefile.am:
5576 * examples/hildon-touch-selector-entry-example.c:
5578 * src/hildon-touch-selector-entry.c:
5579 * src/hildon-touch-selector-entry.h:
5582 Moved HildonTouchSelectorEntry from sandbox. Added its
5583 documentation and examples.
5585 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5587 * src/hildon-touch-selector.h:
5588 * examples/hildon-picker-button-multicolumn-example.c:
5589 (hildon_touch_selector_append_text_column): Add a gboolean
5590 parameter to determine if text must be centered in the column.
5592 * src/hildon-date-selector.c: (hildon_date_selector_init):
5593 * src/hildon-time-selector.c: (hildon_time_selector_init):
5594 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5595 (create_touch_selector): Update widgets and example to reflect
5598 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5600 * src/hildon-touch-selector.c:
5601 (hildon_touch_selector_set_active_iter): Set also the cursor in
5604 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5606 * doc/hildon-docs.sgml
5609 * src/hildon-toggle-button.c
5610 * src/hildon-toggle-button.h
5611 * src/hildon.h: Removed HildonToggleButton widget, a derived
5612 class is not necessary for this.
5614 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5616 * src/hildon-pannable-area.c,
5617 (hildon_pannable_area_realize),
5618 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5621 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5623 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5624 "done" button the default widget for the dialog.
5626 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5628 * src/hildon-touch-selector.c:
5629 (hildon_touch_selector_class_init),
5630 (hildon_touch_selector_get_property),
5631 (_hildon_touch_selector_set_model),
5632 (_hildon_touch_selector_has_multiple_selection),
5633 (hildon_touch_selector_has_multiple_selection):
5634 Add a "has-multiple-selection" property with a virtual
5635 has_multiple_selection() method to allow derived classes to
5636 override the default value for it. See the method and property
5637 documentation for details.
5639 * src/hildon-touch-selector.h: Add the new API.
5641 * src/hildon-picker-dialog.c: (requires_done_button): Call
5642 hildon_touch_selector_has_multiple_selection() instead of
5643 determining the need for a button itself.
5645 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5647 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5648 (_hildon_touch_selector_set_model),
5649 (hildon_touch_selector_set_model): Move working code to
5650 _hildon_touch_selector_set_mode(). Call the class method instead.
5652 * src/hildon-touch-selector.h: Add (*set_model) to
5653 HildonTouchSelectorClass.
5655 Make hildon_touch_selector_set_model() a virtual method, so that
5656 derived classes can extend it and do fancy stuff with the model.
5658 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5660 * configure.ac: Set back the tarname in AC_INIT to hildon.
5662 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5666 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5667 instead of libesd (NB#86876). Volume handling is still an open issue.
5669 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5672 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5674 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5675 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5676 derived class to ease placement of an entry widget in
5677 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5678 end, where the selector columns are packed now.
5680 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5682 * src/hildon-picker-button.c: Removed the simple _text() API.
5683 * src/hildon-picker-button.h: Likewise.
5685 * src/hildon-touch-selector.h:
5686 * src/hildon-touch-selector.c:
5687 (hildon_touch_selector_new_text),
5688 (hildon_touch_selector_append_text),
5689 (hildon_touch_selector_prepend_text),
5690 (hildon_touch_selector_insert_text):
5692 Moved the simple _text() API from HildonPickerButton to
5693 HildonTouchPicker, to provide better escalability and not to tie
5694 that API to HildonPickerButton.
5696 * examples/hildon-picker-button-example.c: (main): Example updated.
5698 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5700 * src/hildon-button.c: Updated documentation.
5702 * examples/hildon-button-example.c: Add the posibility to create
5703 the buttons using horizontal layout for title and value.
5705 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5707 * src/hildon-app-menu-private.h
5708 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5709 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5710 GtkSizeGroup for the filters, use the 'homogeneous' property of
5713 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5715 * examples/hildon-button-example.c: Updated example.
5717 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5719 * doc/hildon-docs.sgml:
5722 Update documentation.
5724 * examples/Makefile.am: Update renamed examples.
5726 * examples/hildon-picker-button-multicolumn-example.c:
5727 (create_touch_selector), (main): Update after the rename.
5729 * examples/hildon-touch-picker-example.c: Removed.
5730 * examples/hildon-touch-selector-example.c: (value_changed),
5731 (create_selector), (get_visible_content), (main): Renamed from
5732 hildon-touch-picker-example.c
5734 * src/Makefile.am: Updated renamed files.
5736 * src/hildon-date-button.c: (hildon_date_button_init),
5737 (hildon_date_button_get_date), (hildon_date_button_set_date):
5738 * src/hildon-date-selector.c: (hildon_date_selector_init),
5739 (_custom_print_func), (_update_day_model),
5740 (_manage_selector_change_cb),
5741 (hildon_date_selector_select_current_date),
5742 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5743 * src/hildon-date-selector.h:
5744 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5745 (hildon_picker_button_set_property),
5746 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5747 (hildon_picker_button_init), (hildon_picker_button_new_text),
5748 (hildon_picker_button_append_text),
5749 (hildon_picker_button_prepend_text),
5750 (hildon_picker_button_insert_text),
5751 (hildon_picker_button_set_selector),
5752 (hildon_picker_button_get_selector):
5753 * src/hildon-picker-button.h:
5754 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5755 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5756 (_update_title_on_selector_changed_cb), (requires_done_button),
5757 (_hildon_picker_dialog_set_selector),
5758 (hildon_picker_dialog_set_selector),
5759 (hildon_picker_dialog_get_selector):
5760 * src/hildon-picker-dialog.h:
5761 * src/hildon-time-button.c: (hildon_time_button_init),
5762 (hildon_time_button_get_time), (hildon_time_button_set_time):
5763 * src/hildon-time-selector.c: (hildon_time_selector_init),
5764 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5765 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5766 * src/hildon-time-selector.h:
5769 Massive code updates after the rename.
5771 * src/hildon-touch-picker.c: Removed.
5772 * src/hildon-touch-picker.h: Removed.
5774 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5775 (hildon_touch_selector_init), (hildon_touch_selector_map),
5776 (hildon_touch_selector_remove), (_default_print_func),
5777 (_selection_changed_cb), (_create_new_column),
5778 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5779 (hildon_touch_selector_append_text_column),
5780 (hildon_touch_selector_remove_column),
5781 (hildon_touch_selector_set_column_attributes),
5782 (hildon_touch_selector_insert_column),
5783 (hildon_touch_selector_get_num_columns),
5784 (hildon_touch_selector_get_column_selection_mode),
5785 (hildon_touch_selector_set_column_selection_mode),
5786 (hildon_touch_selector_set_print_func),
5787 (hildon_touch_selector_get_print_func),
5788 (hildon_touch_selector_get_active_iter),
5789 (hildon_touch_selector_set_active_iter),
5790 (hildon_touch_selector_get_selected_rows),
5791 (hildon_touch_selector_get_model),
5792 (hildon_touch_selector_set_model),
5793 (hildon_touch_selector_get_current_text),
5794 (_hildon_touch_selector_center_on_selected_items):
5795 * src/hildon-touch-selector.h: Renamed from
5796 hildon-touch-picker.[ch]
5798 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5799 references, code examples, and related documentation.
5801 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5803 * doc/hildon-docs.sgml
5806 * src/hildon-toggle-button.c
5807 * src/hildon-toggle-button.h
5808 * src/hildon.h: New HildonToggleButton widget.
5810 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5812 * src/hildon-button.c: Add API documentation.
5813 (hildon_button_set_size_groups): Check input parameters
5815 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5817 * src/hildon-pannable-area.c
5818 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5819 effect after reaching the movement thredshold. This way we start
5820 using the distance after passing the thredshold.
5822 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5824 * src/hildon-button.c: (hildon_button_set_property): Use the
5825 appropriate g_value_get_flags() method.
5827 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5829 * doc/hildon-docs.sgml:
5832 Add the touch pickers, picker dialogs, and picker button widgets
5833 to the documentation.
5835 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5837 * src/hildon-button.c: (hildon_button_set_property),
5838 (hildon_button_class_init): Make "arrangement-flags" a proper
5839 G_TYPE_FLAGS derived property.
5841 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5843 * examples/Makefile.am: Add below examples.
5844 * examples/hildon-date-button-example.c:
5845 * examples/hildon-picker-button-example.c:
5846 * examples/hildon-picker-button-multicolumn-example.c:
5847 * examples/hildon-time-button-example.c:
5848 * examples/hildon-touch-picker-example.c:
5850 Add examples for the recently added touch pickers,
5851 picker dialogs, and picker button widgets.
5853 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5855 * src/hildon-button.c: Add some API documentation
5857 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5859 * src/hildon-button.h
5860 * src/hildon-button.c
5862 (hildon_button_new_with_text): New constructor to create a button
5863 with no text at all.
5864 (hildon_button_init, hildon_button_set_arrangement)
5865 (hildon_button_set_title, hildon_button_set_value)
5866 (hildon_button_set_text)
5867 (hildon_button_construct_child): Hide the value when it's not used
5868 so the rest of the text is properly aligned.
5869 Allow creating buttons with arbitrary widgets inside (not just
5870 title/value labels).
5872 * examples/hildon-button-example.c (vertical_buttons_window)
5873 (horizontal_buttons_window): Update example to use new API.
5875 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5877 * src/Makefile.am: Added HildonTimeButton.
5878 * src/hildon-time-button.c: Added missing LGPL header.
5879 * src/hildon-time-button.h: Added missing LGPL header.
5880 * src/hildon.h: Add hildon-time-button.h
5882 Copied HildonTimeButton from sandbox to trunk. Future work on this
5883 widget must take place in trunk.
5885 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5887 * src/Makefile.am: Added HildonDateButton.
5888 * src/hildon-date-button.c: Update includes.
5889 * src/hildon.h: Add hildon-date-button.h
5891 Copied HildonDateButton from sandbox to trunk. Future work on this
5892 widget must take place in trunk.
5894 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5896 * src/Makefile.am: Added HildonPickerButton.
5897 * src/hildon-picker-button.h: Update includes.
5898 * src/hildon.h: Add hildon-picker-button.h
5900 Copied HildonPickerButton from sandbox to trunk. Future work on
5901 this widget must take place in trunk.
5903 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5905 * src/Makefile.am: Added HildonPickerDialog.
5906 * src/hildon-picker-dialog.c: Update includes.
5907 * src/hildon.h: Add hildon-picker-dialog.h
5909 Copied HildonPickerDialog from sandbox to trunk. Future work
5910 on this widget must take place in trunk.
5912 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5914 * src/Makefile.am: Added HildonTimeSelector.
5915 * src/hildon.h: Add hildon-time-selector.h
5917 Copied HildonTimeSelector widget from sandbox to trunk. Future
5918 work on this widget must happen in trunk.
5920 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5922 * src/Makefile.am: Added HildonDateSelector.
5923 * src/hildon.h: Add hildon-date-selector.h
5925 Copied HildonDateSelector widget from sandbox to trunk. Future
5926 work on this widget must happen in trunk.
5928 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5930 * src/Makefile.am: Added HildonTouchPicker.
5931 * src/hildon-touch-picker.c: Update includes.
5932 * src/hildon.h: Add hildon-touch-picker.h
5934 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5935 on this widget must happen in trunk.
5937 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5939 * src/hildon-pannable-area.c:
5940 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5942 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5944 * examples/hildon-app-menu-example.c (main): Let the window
5947 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5949 * src/hildon-pannable-area.c
5950 (hildon_pannable_area_class_init): Set the min value of the
5951 overshoot properties to zero, which points out that not
5952 overshooting allowed.
5954 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5956 Modified the procedure to get the widget at a point inside the
5957 pannable area when using the movement type signals. Now the user
5958 has to call a function to get the child, that way we just
5959 calculate the child in case the user really want to use it and not
5962 * src/hildon-marshalers.list: Modified the marshallers, now we do
5963 not have the widget as a parameter.
5965 * src/hildon-pannable-area.c
5966 (hildon_pannable_area_motion_notify_cb),
5967 (hildon_pannable_area_class_init),
5968 (hildon_pannable_get_child_widget_at): Removed the widget
5969 parameter from the signal callback. We have also refactored the
5970 emission of the signals.
5972 * src/hildon-pannable-area.h: Added a new method to the API to
5973 calculate a widget at a point inside the pannable area,
5974 hildon_pannable_get_child_widget_at.
5976 * examples/hildon-pannable-area-example-4.c
5977 (horizontal_movement): Modified the example to use the new API,
5978 added condition to control which widget is under the event. This
5979 way we can avoid scrolling laterally over other widgets.
5981 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5983 * src/hildon-pannable-area.c
5984 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5985 modes, we stop getting the pointer events due to returning the
5986 callback without properly calling the get pointer again. Fixed
5987 also an error using the hscroll and vscroll.
5989 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5991 * src/hildon-app-menu-private.h
5992 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5993 (hildon_app_menu_button_release, hildon_app_menu_init)
5994 (hildon_app_menu_class_init): Don't hide the menu on button
5995 release if the user didn't press outside first.
5997 * src/hildon-window.h
5998 * src/hildon-window.c (hildon_window_toggle_menu)
5999 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6000 hildon_window_toggle_menu a virtual function for the stackable
6001 window to override it.
6003 * src/hildon-stackable-window.h
6004 * src/hildon-stackable-window-private.h
6005 * src/hildon-stackable-window.c
6006 (hildon_stackable_window_realize)
6007 (hildon_stackable_window_finalize)
6008 (hildon_stackable_window_class_init)
6009 (hildon_stackable_window_init)
6010 (hildon_stackable_window_set_main_menu): New function to set the
6011 app menu of a HildonStackableWindow.
6013 * examples/hildon-app-menu-example.c: Remove the button to show
6014 the app menu, now it'll be shown when clicking on the title bar
6017 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6019 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6020 set the widget name if the arrangement flags do not specify
6023 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6025 * src/hildon-button.c: (hildon_button_set_property),
6026 (hildon_button_class_init), (hildon_button_new_full),
6027 (hildon_button_set_arrangement): Added "arrangement-flags"
6030 Make the HildonButtonFlags a construction-only property, to allow
6031 subclasses to set them properly.
6033 2008-07-21 Tim Janik <timj@imendio.com>
6035 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6036 insertion position after backspace, so additional digits are appended,
6039 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6041 * src/hildon-pannable-area.c,
6042 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6043 TODO list, it was complete and removed the g_debug and g_print
6046 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6048 Added the movement modes to the hildon-pannable-area, with this
6049 modes the developers can control in which directions the widget
6050 can scroll. They can also connect to signals in order to do
6051 something when that happens, allowing applications scroll. There
6052 is an example uploaded showing how to use it.
6054 * examples/Makefile.am:
6055 * examples/hildon-pannable-area-example-4.c: Added this example of
6056 an application using the modes.
6058 * src/hildon-marshalers.list: Added a new marshaller for the new
6061 * src/hildon-pannable-area.h: Added new enumerations and flags in
6062 order to control the movement modes and the new signals to warn
6063 about the movements in the area.
6065 * src/hildon-pannable-area.c:
6066 (hildon_pannable_axis_scroll),
6067 (hildon_pannable_area_scroll),
6068 (hildon_pannable_area_motion_notify_cb),
6069 (hildon_pannable_area_get_property),
6070 (hildon_pannable_area_set_property),
6071 (hildon_pannable_area_map),
6072 (hildon_pannable_area_class_init),
6073 (hildon_pannable_area_init),
6074 (hildon_pannable_area_jump_to): Added the modes to control the
6075 movement in the widget. We have added properties to control it,
6076 signals to warn about the movements and refactored some code.
6078 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6080 Changes required in order to allow vfast_factor set to zero to
6083 * src/hildon-pannable-area.c:
6084 (hildon_pannable_area_button_press_cb): Changed the condition, it
6085 is required for not allowing click when vfast_factor is zero.
6086 (hildon_pannable_area_timeout): Initialized velocity variables
6087 when we stop moving, it was less than 1 but not zero and we need
6088 to check zero in some situations.
6089 (hildon_pannable_area_class_init): Changed the default value of
6090 the speed factor, now the button_press is just sent in case the
6091 speed is 2 per cent of the max speed.
6092 (hildon_pannable_area_init): Initialization with 0.
6094 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6096 * src/hildon-pannable-area.c,
6097 (hildon_pannable_area_get_topmost): replaced
6098 gdk_window_get_children with gdk_window_peek_children, this way we
6099 do not have to free the list because it is not a copy.
6101 (hildon_pannable_axis_scroll),
6102 (hildon_pannable_area_scroll),
6103 (hildon_pannable_area_timeout),
6104 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6105 two parameters that were only used inside the
6106 hildon_pannable_area_scroll function.
6108 * examples/hildon-pannable-area-example.c,
6109 (get_sawtooth_label): Fixed small memory leak.
6111 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6113 More checks for the case where the overshoot is bigger than the
6116 * src/hildon-pannable-area.c:
6117 (hildon_pannable_draw_vscroll),
6118 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6119 to draw the slider of the scrollbar under the other scrollbar.
6120 (hildon_pannable_area_expose_event): added new checks to control
6121 the drawing of the overshooting area rectangle, in case it is too
6122 big for the area of the widget.
6123 (hildon_pannable_area_size_allocate): add more checks to avoid
6124 setting a position to the child widget outside the area.
6126 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6128 * src/hildon-pannable-area.c
6129 (hildon_pannable_area_size_allocate): Added conditions to control
6130 when overshooting is bigger than the allocated space for the
6131 children, this avoids negative allocations.
6133 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6135 * doc/hildon-docs.sgml
6137 * examples/Makefile.am
6138 * examples/hildon-button-example.c
6140 * src/hildon-button.c
6141 * src/hildon-button.h
6142 * src/hildon.h: Initial version of the new HildonButton widget,
6145 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6147 * src/hildon-pannable-area.c:
6148 (hildon_pannable_area_button_press_cb),
6149 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6150 (hildon_pannable_area_motion_notify_cb),
6151 (hildon_pannable_area_button_release_cb),
6152 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6153 (hildon_pannable_area_jump_to_child):
6155 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6157 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6159 * examples/Makefile.am
6160 * examples/hildon-pannable-area-touch-grid-example.c
6161 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6162 the Hildon Touch List and Hildon Touch Grid using the
6163 HildonPannableArea widget.
6165 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6167 * src/hildon-pannable-area.c,
6168 (hildon_pannable_area_button_press_cb),
6169 (hildon_pannable_area_refresh),
6170 (hildon_pannable_area_scroll),
6171 (hildon_pannable_area_motion_notify_cb),
6172 (hildon_pannable_area_button_release_cb),
6173 (hildon_pannable_area_expose_event),
6174 (hildon_pannable_area_add),
6175 (hildon_pannable_area_remove),
6176 (hildon_pannable_area_realize),
6177 (hildon_pannable_area_size_allocate),
6178 (hildon_pannable_area_class_init),
6179 (hildon_pannable_area_init),
6180 (hildon_pannable_area_scroll_to_child),
6181 (hildon_pannable_area_jump_to_child): Fixed the problem of
6182 removing the child from the GtkBin, we have rearranged the widget
6183 hierarchy, now there is no GtkAlignment which was not doing
6184 anything interesting but breaking some of the assumptions of
6185 GtkContainer. Now developers if they want to add a GtkAlignment
6186 they could, but it is not inside the area.
6188 We had to review the whole allocation/expose process, now it is
6189 improved and we save at least three signals which would be saving
6190 some time when rendering the widget. The allocation of the
6191 scrollbars is now made in the allocate method as usual.
6193 We have also added some conditions in order to control when there
6194 is no child of the pannable area. Maybe we will need more work
6197 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6199 * src/hildon-pannable-area.c,
6200 (hildon_pannable_area_dispose): Released the fade-out timeout when
6201 disposing the widget.
6203 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6205 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6206 zero, we are going to use that property in order to deactivate the
6208 (hildon_pannable_axis_scroll),
6209 (hildon_pannable_area_size_allocate): Added conditions to control
6210 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6211 call, now it is called in all situations and we can remove calls
6212 in the allocate method.
6213 (hildon_pannable_area_map): Control the situation when
6214 overshoot_max is zero, we do not need the timeout.
6215 (hildon_pannable_area_class_init): Added documentation in order to
6216 point out that setting zero to overshoot_max means deactivate
6219 NOTE: removed trailing whitespaces from my previous comments of
6222 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6224 * src/hildon-pannable-area.c
6225 (hildon_pannable_area_get_property),
6226 (hildon_pannable_area_set_property),
6227 (hildon_pannable_area_map),
6228 (hildon_pannable_area_class_init),
6229 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6230 to cause the widget give a hint about its panning abilities upon
6233 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6235 * src/hildon-pannable-area.c: Several documentation improvements.
6237 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6239 * src/hildon-program.c
6240 * src/hildon-stackable-window.c: Update documentation.
6242 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6244 * src/hildon-stackable-window.c (get_previous_window_if_last):
6245 Renamed get_last_window()
6246 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6247 (hildon_stackable_window_unset_program):
6249 (get_previous_window_if_last):
6250 Detect if the window hasn't been added to a HildonProgram.
6252 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6254 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6256 * src/hildon-pannable-area.c
6257 (hildon_pannable_area_button_press_cb),
6258 (hildon_pannable_axis_scroll),
6259 (hildon_pannable_area_scroll),
6260 (hildon_pannable_area_timeout),
6261 (hildon_pannable_calculate_vel_factor),
6262 (hildon_pannable_area_get_property),
6263 (hildon_pannable_area_set_property),
6264 (hildon_pannable_area_class_init),
6265 (hildon_pannable_area_init),
6266 (hildon_pannable_area_scroll_to),
6267 (hildon_pannable_area_jump_to),
6268 (hildon_pannable_area_scroll_to_child),
6269 (hildon_pannable_area_jump_to_child):
6270 * src/hildon-pannable-area.h: Added the new API functions:
6271 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6272 hildon_pannable_area_scroll_to_child,
6273 hildon_pannable_area_jump_to_child
6276 * examples/Makefile.am
6277 * examples/hildon-pannable-area-example-2.c
6278 * examples/hildon-pannable-area-example-3.c: Added these two new
6279 examples in order to test and show how the new APIs work.
6281 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6283 * examples/hildon-stackable-window-example.c (new_window):
6284 * src/Makefile.am (noinst_HEADERS):
6285 * src/hildon-program.c (hildon_program_go_to_root_window):
6286 * src/hildon-program.h:
6287 * src/hildon-stackable-window-private.h:
6288 * src/hildon-stackable-window.c:
6289 * src/hildon-stackable-window.h:
6290 Create hildon-stackable-window-private.h
6291 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6293 * examples/hildon-app-menu-example.c (create_menu):
6294 * examples/hildon-hvolumebar-insensitive-example.c (main):
6295 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6296 * examples/hildon-toolbar-seekbar-example.c (main):
6297 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6298 * src/hildon-banner.c (hildon_banner_set_property):
6299 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6300 Fix compilation warnings
6302 * src/hildon-window.c:
6305 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6307 * src/hildon-stackable-window.c
6308 (hildon_stackable_window_unset_program):
6309 Calculate correctly whether to show the previous window if the
6310 last one is removed from the stack.
6311 (hildon_stackable_window_go_to_root_window):
6312 Send delete events starting from the topmost window.
6313 Stop if one of the windows is not destroyed.
6315 (hildon_stackable_window_delete_event)
6316 (hildon_stackable_window_class_init):
6317 Ignore the delete event if the window is not the topmost one.
6319 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6321 * src/hildon-pannable-area.c
6322 (hildon_pannable_area_expose_event): Fixed a problem when
6323 selecting the background color of the scrollbars.
6325 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6327 * examples/hildon-stackable-window-example.c
6328 * src/hildon-stackable-window.c
6329 * src/hildon-stackable-window.h
6330 hildon_stackable_window_go_home() renamed to
6331 hildon_stackable_window_go_to_root_window()
6332 Send delete events to windows rather than closing them with
6333 gtk_widget_destroy()
6335 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6337 * src/hildon-pannable-area.c
6338 (hildon_pannable_area_button_release_cb): Fix overshooting in
6341 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6343 * src/hildon-pannable-area.c
6344 (hildon_pannable_area_init): Initially show the scroll indicators.
6345 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6347 Add initial effect showing the widget is pannable.
6349 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6351 * src/hildon-pannable-area.c
6352 (hildon_pannable_area_class_init)
6353 (hildon_pannable_area_set_property)
6354 (hildon_pannable_area_get_property)
6355 (hildon_pannable_area_button_press_cb):
6356 New 'velocity_fast_factor' property to decide which velocity is
6359 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6361 * src/hildon-pannable-area.c
6362 (hildon_pannable_draw_hscroll)
6363 (hildon_pannable_draw_vscroll):
6364 Use float variables to calculate the size of the scrollbars to
6365 avoid error propagation and resizing during scrolling.
6367 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6369 * src/hildon-pannable-area.c
6370 (hildon_pannable_draw_vscroll)
6371 (hildon_pannable_draw_hscroll):
6372 Define a minimum size for the scroll bars
6374 * src/hildon-stackable-window.c
6375 (hildon_stackable_window_go_home): Fix compilation warning
6376 (get_last_window): Minor optimizations
6377 (hildon_stackable_window_class_init): Fix initialization of
6380 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6382 * src/hildon-stackable-window.c: Fixed typos in doc
6384 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6386 * src/hildon-pannable-area.c
6387 (hildon_pannable_area_scroll):
6388 Calculate here whether we need to scroll instead of using the booleans
6389 that tell us whether to /draw/ the scrolling bars.
6391 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6393 * src/hildon-app-menu.h
6395 * src/hildon-app-menu.c
6396 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6397 multiple filter groups related code and API. Now we support only
6399 * examples/hildon-app-menu-example.c:
6401 Update to reflect API changes.
6403 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6405 * src/hildon-stackable-window.c
6406 (hildon_stackable_window_class_init):
6407 Add hildon_stackable_window_realize.
6408 (hildon_stackable_window_realize):
6409 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6410 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6411 to apply theming and behavior specific to HildonStackableWindow
6414 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6416 * src/hildon-note.c (hildon_note_button_release):
6417 Close information notes also when tapping on them
6419 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6421 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6422 ELASTICITY, refactor and review, fix some issues with drawing
6425 * src/hildon-pannable-area.c:
6426 (hildon_pannable_area_button_press_cb): removed the conditions to
6427 avoid clicks when overshooting. It is not required
6429 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6430 define. Refatored and reviewed the code, now we do not need to
6431 manage velocity in motion_notify.
6433 (hildon_pannable_area_motion_notify_cb): We have moved the code
6434 that controls the area_scroll to the axis_scroll function and get
6435 rid of duplicated code.
6437 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6439 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6441 (hildon_pannable_draw_vscroll),
6442 (hildon_pannable_draw_hscroll): Fixed the problems with the
6443 scrollbar drawing, now we do not use two surfaces, it is easier
6444 and saves resources.
6446 (hildon_pannable_area_get_property): Style modification.
6448 (hildon_pannable_area_class_init): Changed some default values.
6450 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6452 * src/hildon-stackable-window.c: Fix some typos in the
6455 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6457 * src/hildon-dialog.c:
6458 Change indentation style
6461 (hildon_note_button_release):
6462 Use root coordinates to check if the release event happened
6465 * src/hildon-app-menu.c
6466 (hildon_app_menu_button_release):
6467 Remove unnecessary check
6469 * examples/hildon-app-menu-example.c
6471 Add cast to fix warning
6473 * src/hildon-app-menu.c
6474 (hildon_app_menu_class_init):
6475 New inner-border style property.
6476 Set all default spacings to 16
6477 (hildon_app_menu_init):
6478 Use vertical-spacing to set the space between filter buttons and
6479 regular menu buttons.
6480 Set the default container border using the inner-border value.
6482 * examples/hildon-app-menu-example.c
6484 Don't set the menu border explicitly, now we have the inner-border
6485 style property for that.
6487 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6489 * src/hildon-app-menu.c (hildon_app_menu_init):
6490 Make the window modal
6492 * src/hildon-note.c (hildon_note_map)
6493 * src/hildon-app-menu.c (hildon_app_menu_map):
6494 Destroy the grab window if we're unable to grab the pointer
6496 * src/hildon-app-menu-private.h
6497 * src/hildon-app-menu.c
6498 (hildon_app_menu_init, hildon_app_menu_finalize)
6499 (hildon_app_menu_map, hildon_app_menu_unmap)
6500 (hildon_app_menu_button_release)
6501 (grab_transfer_window_get):
6502 Bring back the grab window
6503 (hildon_app_menu_realize):
6504 Decorate the window, set WM hint for Matchbox
6506 * src/hildon-note.c (hildon_note_realize):
6507 * src/hildon-banner.c (hildon_banner_realize):
6508 Add WM hints for Matchbox
6510 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6512 * src/hildon-app-menu-private.h
6513 * src/hildon-app-menu.c
6514 (hildon_app_menu_init, hildon_app_menu_finalize)
6515 (hildon_app_menu_map, hildon_app_menu_unmap)
6516 (hildon_app_menu_button_release):
6517 Remove the grab window, it's not needed anymore
6519 * src/hildon-program.c
6520 Fixed typo in documentation
6522 * src/hildon-app-menu.h
6523 * src/hildon-app-menu.c
6524 * examples/hildon-app-menu-example.c
6525 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6527 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6530 Added new transfer_window and close_if_pressed_outside private
6532 (hildon_note_rebuild):
6533 Don't add a cancel button to the information note. It will be
6534 closed when tapping outside
6535 Remove the comment about the OK button in the documentation
6536 (hildon_note_realize):
6537 Set the notification type hint
6538 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6539 Grab/ungrab pointer and keyboard if the note has to be closed when
6541 (hildon_note_button_release):
6542 Close the note when tapping outside (if applicable)
6544 * src/hildon-app-menu.c
6545 Grab/ungrab pointer and keyboard on map/unmap
6546 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6547 Close the menu on button release, not button press
6549 * src/hildon-banner.c
6550 (hildon_banner_set_property)
6551 (hildon_banner_check_position):
6552 Make the banner use the full width of the screen
6553 (hildon_banner_show_information)
6554 (hildon_banner_show_information_with_markup):
6555 Don't display an icon by default
6557 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6559 Added fading scrollbars and adapted all the overshooting code to
6560 horizontal scrolling. We have also fixed bugs with overshooting
6561 and current fading implementation.
6563 * src/hildon-pannable-area.c
6564 (hildon_pannable_area_scroll_indicator_fade): Time out function
6565 used to change the transparency of the scrollbars.
6567 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6568 control and fixed a problem with fading, we now remove the fade
6569 timeout before adding a new one.
6571 (hildon_pannable_axis_scroll):
6572 (hildon_pannable_area_scroll):
6573 (hildon_pannable_area_timeout): Added this functions so we can use
6574 the scroll code both for vertical and horizontal.
6576 (hildon_pannable_area_motion_notify_cb):
6577 (hildon_pannable_area_button_release_cb): Added the horizontal
6578 scrolling control, fixed a problem with the overshooting timeout.
6580 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6581 painting of the scrolls.
6583 (hildon_pannable_draw_vscroll):
6584 (hildon_pannable_draw_hscroll):
6585 (hildon_pannable_area_expose_event):
6586 Draw both scrollbars and rectangles in the overshooting area.
6588 (hildon_pannable_area_get_property):
6589 (hildon_pannable_area_set_property):
6590 Modified the overshoot property to overshoot_max
6592 (hildon_pannable_area_map):
6593 Replaced the comments symbols.
6595 (hildon_pannable_area_size_allocate):
6596 (hildon_pannable_area_class_init):
6597 (hildon_pannable_area_init): Added horizontal scroll, fading
6598 effect properties, fixed a problem when overshooting in the bottom
6601 * examples/hildon-pannable-area-example.c:
6602 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6603 looks better in the example.
6605 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6607 * src/hildon-window.c
6608 * src/hildon-window.h
6609 (hildon_window_class_init)
6610 (hildon_window_unset_program)
6611 (hildon_window_unset_program_real):
6612 Make unset_program a virtual function
6614 * src/hildon-stackable-window.c
6615 * src/hildon-stackable-window.h
6616 Added hildon_stackable_window_go_home()
6618 * examples/Makefile.am
6619 * examples/hildon-stackable-window-example.c
6620 HildonStackableWindow example
6622 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6624 * hildon-pannable-area.c: Added the overshoot property and removed
6625 the OVERSHOOT define. Fixed an indent style error.
6626 (hildon_pannable_area_motion_notify_cb):
6627 (hildon_pannable_area_get_property):
6628 (hildon_pannable_area_set_property): Add overshoot property.
6630 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6633 (hildon_pannable_area_class_init): Installed the new property.
6635 * hildon-pannable-area-example.c: Added a sawtooth function, this
6636 way it is easier to check the movement in the pannable.
6637 (get_sawtooth_label): Added this function.
6638 (main): Now we get the labels from the new get_sawtooth_label
6641 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6643 * src/hildon-app-menu.h
6644 * src/hildon-app-menu.c
6645 Renamed API variables for consistency
6647 (hildon_app_menu_popup): Use also the default window size to
6648 decide where to place the menu
6650 (hildon_app_menu_init, hildon_app_menu_class_init): New
6651 external-border style property
6653 2008-05-26 Michael Natterer <mitch@imendio.com>
6655 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6656 widget_class->tap_and_hold_setup signal slot doesn't exist any
6657 longer, stop overriding it.
6659 (hildon_time_editor_init): g_signal_connect() to the
6660 tap-and-hold-setup signal instead.
6662 (hildon_time_editor_entry_keypress): add cast to fix warning.
6664 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6666 * doc/hildon-docs.sgml
6668 * examples/Makefile.am
6669 * examples/hildon-app-menu-example.c
6671 * src/hildon-app-menu-private.h
6672 * src/hildon-app-menu.c
6673 * src/hildon-app-menu.h
6675 New HildonAppMenu widget
6677 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6679 Rearranged the inheritance of the pannable area, now it inherits
6680 from GtkBin. This will allow us to control the event_window and
6681 the allocation process of the widget, required for some effects.
6683 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6684 GtkBin structures. * src/hildon-pannable-area.c: Added the
6685 event_window variable.
6686 (hildon_pannable_area_button_press_cb):
6687 (hildon_pannable_area_button_release_cb):
6688 (hildon_pannable_area_motion_notify_cb):
6689 Changed the signature of the method, now we override the event
6690 callback instead of connecting to the signal.
6692 (hildon_pannable_area_realize):
6693 (hildon_pannable_area_unrealize):
6694 (hildon_pannable_area_map):
6695 (hildon_pannable_area_unmap):
6696 (hildon_pannable_area_size_allocate):
6697 Added functions to control the widget construction. We add a
6698 INPUT_ONLY window and we put it over the widgets inside the
6699 container, this event_window handles the events.
6701 (hildon_pannable_area_class_init):
6702 Replaced the signal connections with overrides of the event
6705 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6707 Bouncing effect added when touching the borders, you can change
6708 the elasticity of the border changing the ELASTICITY define.
6710 * src/hildon-pannable-area.c: Added ELASTICITY define.
6711 (hildon_pannable_area_timeout): Added inverse velocity when
6712 touching the border of the child widget, that causes a bounce.
6714 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6716 Improved performance, we now do not go to the X server in order to
6717 get the list of window children. Apparently the effect is the
6718 same, we have to be careful and check if this breaks something in
6721 * src/hildon-pannable-area.c:
6722 (get_ordered_children): Removed this function.
6723 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6724 the children windows function with gdk_window_get_children.
6726 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6728 * src/hildon-pannable-area.c:
6729 (hildon_pannable_area_dispose): Fixed a crash when closing the
6730 window and kinetics is activated.
6732 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6734 * src/hildon-pannable-area.h
6735 * src/hildon-pannable-area.c
6736 Changed indentation style to meet the one used in Hildon
6738 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6740 Reviewed the interaction of the AUTO mode, now we use the time
6741 attribute of the events and calculate the velocity in the motion,
6742 doing a gimp like calculation. The velocity is calculated in each
6743 motion event using the last velocity and the current one, the
6744 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6746 * src/hildon-pannable-area.c: Replaced the time based algorithm
6748 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6749 timeout for the AUTO mode when we are still moving the cursor. We
6750 added also the velocity calculation in this function.
6751 (hildon_pannable_area_button_release_cb): launch the timeout in
6752 case we are in AUTO mode. There are still some constants here that
6753 come from the old implementation that should be reviewed and
6756 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6758 * doc/hildon-docs.sgml
6761 * src/hildon-stackable-window.c
6762 * src/hildon-stackable-window.h
6764 New HildonStackableWindow widget
6766 * examples/hildon-dialog-example.c
6767 * examples/hildon-pannable-area-example.c
6770 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6772 * src/hildon-dialog.c
6773 (hildon_dialog_new_with_buttons): New constructor.
6775 * examples/hildon-dialog-example.c
6776 (main): Update the example to use the new
6777 hildon_dialog_new_with_buttons().
6779 * examples/hildon-pannable-area-example.c
6780 (main): Update example.
6782 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6784 * doc/hildon-docs.sgml
6786 Added HildonPannableArea to the documentation.
6788 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6790 * doc/visual_index.xml
6791 Fix reference to HildonLoginDialog in documentation
6793 * doc/hildon-docs.sgml
6795 * examples/Makefile.am
6796 * examples/hildon-dialog-example.c
6798 * src/hildon-dialog.c
6799 * src/hildon-dialog.h
6801 New HildonDialog widget.
6803 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6805 * src/hildon-pannable-area.c
6806 Merge latest changes (r4318, r4342) from libmokoui trunk
6808 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6810 * examples/Makefile.am
6811 * examples/hildon-pannable-area-example.c
6813 * src/hildon-pannable-area.c
6814 * src/hildon-pannable-area.h
6816 New HildonPannableArea widget.
6818 2008-04-15 18:05:19 <timj@imendio.com>
6820 * src/hildon-banner.c: revert the recent change, that introduced
6821 gtk_window_present() calls. this reopens:
6822 Bug 78481 - [freetest] information banners are hidden under browser menu
6823 But resolves another variant of:
6824 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6826 2008-04-15 13:21:13 <timj@imendio.com>
6828 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6829 recreated its layout, spotted by Kris. this fixes all remaining
6830 artefacts and stability issues with the banner code. in particular:
6831 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6833 2008-04-14 16:52:59 <timj@imendio.com>
6835 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6836 operating on unrealized widgets, fixes:
6837 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6839 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6841 2008-04-09 Kristian Rietveld <kris@imendio.com>
6843 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6844 makes banner disappear.
6845 Fixes: NB#79182: info banner flickering with certain message lengts.
6847 * src/hildon-banner.c (hildon_banner_constructor),
6848 (hildon_banner_init), (hildon_banner_set_text),
6849 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6850 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6851 FALSE, reset size requests of label and banner,
6852 (force_to_wrap_truncated): when the text is too wide, always enforce
6853 the maximum possible width instead of recalculating it from the
6854 layout; enforce the maximum banner height of 3 lines,
6855 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6856 nicer wrapping and no truncated chars if space gets tight.
6858 * src/hildon-banner-private.h: add has_been_wrapped and
6859 has_been_truncated fields.
6861 2008-04-07 Sven Herzberg <sven@imendio.com>
6863 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6864 local values in hildon_date_editor_size_allocate
6866 * src/hildon-date-editor.c: moved the real allocation code into the
6869 2008-04-07 Sven Herzberg <sven@imendio.com>
6871 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6872 local values in hildon_date_editor_size_allocate
6874 * src/hildon-date-editor.c: merged the two if() branches together
6876 2008-04-07 Sven Herzberg <sven@imendio.com>
6878 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6879 local values in hildon_date_editor_size_allocate
6881 * src/hildon-date-editor.c: changed the arguments of the if()
6884 2008-04-07 Sven Herzberg <sven@imendio.com>
6886 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6887 local values in hildon_date_editor_size_allocate
6889 * src/hildon-date-editor.c: split the calculation of the allocation
6890 from the real allocation
6892 2008-03-27 Michael Natterer <mitch@imendio.com>
6894 Fixes: NB#81696: The passcode is not overwritten even after
6897 * src/hildon-code-dialog.c
6898 (hildon_code_dialog_button_clicked)
6899 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6900 because that doesn't overwrite selected text. Instead, emit the
6901 "commit" signal on the entry's im_context so the entry's normal
6902 insert logic is triggered. Set the cursor to the end of the entry
6903 after each insert operation so that we *only* insert in the middle
6904 of the text if something was selected.
6906 2008-03-27 Michael Natterer <mitch@imendio.com>
6908 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6909 selector cannot be opened
6911 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6912 when the popup color selector is created. Please connect to this
6913 signal in order to set the dialog's help ID.
6915 2008-03-25 Sven Herzberg <sven@imendio.com>
6917 Fixes: MB#1212: Hide info banners (infoprints) on click
6919 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6920 extracted the close event simulation into an extra function
6921 (hildon_banner_button_press_event): simulate a close event and destroy
6922 the widget if the event wasn't handled
6923 (hildon_banner_class_init): added the button_press_event handler
6924 (hildon_banner_init): added button-press events to the widget
6926 2008-03-25 Sven Herzberg <sven@imendio.com>
6928 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6929 Patch from: Mohammad Anwari <mdamt@maemo.org>
6931 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6932 instead of the right in RTL mode
6933 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6934 breadcrumb button list in RTL mode
6935 * src/hildon-caption.c: mirror the appearance of the caption widget in
6937 * src/hildon-date-editor.c: mirror appearance of the date editor in
6939 * src/hildon-time-editor.c: mirror appearance of the time editor in
6941 * src/hildon-window.c: fix the position of the popup in RTL mode
6943 2008-03-25 Sven Herzberg <sven@imendio.com>
6945 Amendment to the fix of NB#22072. Fix compilation.
6947 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6949 2008-03-19 Sven Herzberg <sven@imendio.com>
6951 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6954 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6955 timeout id properly when the timeout will disappear this leaves no
6956 artifacts around in the destroy(); there will only be the timeout
6957 created by hildon_banner_ensure_timeout() and adding a new timeout
6958 will also work if the timeout gets removed because the timeout_handler
6961 2008-03-19 Michael Natterer <mitch@imendio.com>
6963 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6965 * src/hildon-volumebar.c
6966 * src/hildon-vvolumebar.c
6967 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6968 the widget becomes focussable at all.
6970 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6971 set the focus to wither the mute button or the volumebar.
6973 Remove own "can-focus" property and instead listen to
6974 notify::can-focus in order to update the widget's state.
6976 Implement GtkWidget::focus() and make sure we can also *leave* the
6977 widget, not only enter it, depending on volumebar orientation and
6978 requested focus direction.
6980 Clean up set_mute() to cooperate nicely with all the above.
6982 2008-03-04 Michael Natterer <mitch@imendio.com>
6984 Fixes: NB#78481: information banners are hidden under browser menu
6986 * src/hildon-banner.c: call gtk_window_present() on the banners so
6987 they are risen if they are already visible.
6989 2008-03-03 Sven Herzberg <sven@imendio.com>
6991 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6993 * examples/hildon-window-menu-example.c: (main): extended the window
6994 menu example to serve as a testcase for automatically added
6995 accelerator groups, too
6996 * src/hildon-window.c: (hildon_window_add_accel_group),
6997 (hildon_window_set_menu): added patch by Tommi Komulainen
6999 2008-03-03 Sven Herzberg <sven@imendio.com>
7001 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7003 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7004 knowledge about the border allocators used within GTK+
7006 2008-02-26 Sven Herzberg <sven@imendio.com>
7008 Fixes: MB#2981: Build with asserts broken
7010 * src/hildon-date-editor.c,
7011 * src/hildon-number-editor.c,
7012 * src/hildon-time-editor.c,
7013 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7014 the proper GType instance check
7016 2008-02-25 Sven Herzberg <sven@imendio.com>
7018 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7020 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7021 * examples/hildon-window-menu-example.c: (main): explicitly show
7023 * src/hildon-window.c:
7024 (hildon_window_set_main_menu): moved most of the code from set_menu()
7025 to this place; skipped the call to gtk_widget_show_all(); also didn't
7026 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7027 (hildon_window_set_menu): removed most of the code, just keep the
7028 questionable gtk_widget_show_all()
7029 * src/hildon-window.h: added the new function and deprecate the old
7032 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7038 * debian/changelog: Updating.
7040 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7043 * pkgconfig/Makefile.am:
7044 * pkgconfig/hildon.pc.in:
7047 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7048 use newly created API_MAJOR_VERSION.
7050 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7056 * debian/changelog: Updating.
7058 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7060 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7062 Add outer_border style property, we use it but don't define it (!).
7066 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7068 * examples/hildon-bread-crumb-trail-example.c (main):
7072 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7074 Fix logic for the bread crumb trail node removal.
7078 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7084 * debian/changelog: Updating.
7086 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7088 Patch by Alejandro to get/set passwords dialogs accesibility.
7090 * hildon-1/src/hildon-get-password-dialog.c:
7091 * hildon-1/src/hildon-set-password-dialog.c:
7092 Set atk_set_name to the passwd entries in order to allow
7093 accessibility by name on this entries.
7095 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7100 * debian/control: Updating gtk dep.
7102 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7104 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7105 USE_MAEMO_GTK is enabled.
7107 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7109 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7110 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7112 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7118 * debian/changelog: Updating.
7120 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7122 * examples/Makefile.am:
7123 * examples/hildon-logical-color-example.c:
7124 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7125 applied + adding a test case. Fixes: NB#71660.
7127 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7129 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7130 to be visible, fixes warning on map for windows without toolbars.
7132 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7134 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7135 2.11.0, add a check for that besides the MAEMO_GTK check.
7137 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7143 * debian/changelog: Updating.
7145 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7147 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7148 visibility. Fixes: NB#70842 and MB#615.
7150 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7152 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7153 set the separator as no-show-all so it doesn't unintentionally appear when
7154 someone does a show_all.
7156 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7158 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7159 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7160 toplevel item. Fixes: NB#62031
7162 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7164 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7165 fix the name of the function in the docs.
7167 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7173 * debian/changelog: Updating.
7175 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7177 * examples/hildon-banner-long-example.c: Adding a test-case for long
7180 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7182 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7184 * src/hildon-color-chooser-dialog.c:
7185 * src/hildon-color-chooser.c:
7186 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7187 memory leaks in font selector and color selector. Fixes: NB#70499 and
7190 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7192 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7194 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7196 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7197 little bit bigger. Fixes: #NB63694.
7199 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7205 * debian/changelog: Updating.
7207 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7210 * doc/hildon-docs.sgml:
7211 * doc/images/bread-crumb-trail.png:
7212 * doc/images/calendar-popup.png:
7213 * doc/images/caption.png:
7214 * doc/images/code-dialog.png:
7215 * doc/images/color-button.png:
7216 * doc/images/color-chooser-dialog.png:
7217 * doc/images/color-chooser.png:
7218 * doc/images/controlbar.png:
7219 * doc/images/date-editor.png:
7220 * doc/images/font-selection-dialog.png:
7221 * doc/images/get-password-dialog.png:
7222 * doc/images/hvolumebar.png:
7223 * doc/images/login-dialog.png:
7224 * doc/images/note.png:
7225 * doc/images/number-editor.png:
7226 * doc/images/range-editor.png:
7227 * doc/images/seekbar.png:
7228 * doc/images/set-password-dialog.png:
7229 * doc/images/sort-dialog.png:
7230 * doc/images/time-editor.png:
7231 * doc/images/time-picker.png:
7232 * doc/images/vvolumebar.png:
7233 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7234 Adding the bread-crumb-trial and helpers to the documentation.
7236 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7238 * examples/hildon-find-toolbar-example.c:
7239 * src/hildon-find-toolbar.c:
7240 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7241 actually continue firing the other handlers if connected. Adding a new
7243 hildon_find_toolbar_get_last_index that gets the index of the most
7244 recently added (last) item. Fixes: NB#52301.
7246 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7248 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7249 behaviour. Fixes: NB#68610.
7251 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7253 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7256 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7258 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7259 when realizing the banner. Should make the infonbanner effect a bit more
7262 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7264 * src/hildon-volumebar.c:
7265 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7266 hildon_volumebar_set_range_insensitive_message and
7267 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7269 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7271 * src/hildon-window.c: Fixing the border freeing on destroy.
7273 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7275 * src/hildon-code-dialog-private.h:
7276 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7277 kw keyboard support in HildonCodeDialog.
7279 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7285 * debian/changelog: Updating.
7287 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7289 * src/hildon-date-editor.c:
7290 * src/hildon-number-editor.c:
7291 * src/hildon-private.c:
7292 * src/hildon-private.h:
7293 * src/hildon-time-editor.c:
7294 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7295 handling in subclassed composite widgets. Fixes: NB#66628.
7297 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7299 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7300 from destroy_ callback as it introduces problems in async dbus signal
7301 handlers. Fixes NB#66673.
7303 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7305 * examples/hildon-hvolumebar-example.c:
7306 * src/hildon-volumebar.c: Improving the focus handling in the
7307 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7308 set_property accessor so that "mute" property can be actually set. I'm
7309 scared that nobody noticed it's totally broken.
7311 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7313 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7316 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7318 * src/hildon-calendar.c:
7319 * src/hildon-number-editor.c:
7320 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7321 matches the spec of 6 chars per second. Fixes: NB#60489.
7323 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7325 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7326 gtk_style_lookup_color sometime returns FALSE even though color was
7327 found and values were filled properly. Weird. Removing the warning for the
7330 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7332 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7333 expand vertically. Adding some extra space to the find toolbar buttons to
7334 make them thumbable. Fixes NB#66060.
7336 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7338 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7339 popup with "Ok" and "Cancel". Fixes NB#59299.
7341 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7343 * src/hildon-calendar.c: Process all window updates before executing next
7344 timeout. Fixes: NB#54146.
7346 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7352 * debian/changelog: Updating.
7354 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7356 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7357 the client event and ignore it, since we use the delete event to close
7360 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7362 * src/hildon-helper.c: Remove the bogus warning about color not being
7363 found. Fixes NB#58352.
7365 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7367 * examples/Makefile.am:
7368 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7369 HildonSeekbar widget inside a toolbar.
7371 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7373 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7374 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7375 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7376 don't want to be closed by non-temporary windows on map.
7378 Also use G_DEFINE_TYPE instead of manually typed code.
7380 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7387 * debian/rules: Updating.
7389 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7391 * examples/Makefile.am:
7392 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7393 bug NB#61128. Strangely it works.
7395 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7397 * src/hildon-date-editor.c: When the date editor entry has been changed
7398 but the numbers of characters < max, turn off the skip validation flag.
7399 Prevents a situation when we enter first a valid year and later re-write
7400 it with an invalid one. Fixes NB#60154.
7402 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7404 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7405 code dialog. Fixes NB#64355.
7407 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7409 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7410 switching the page. Fixes NB#49374.
7412 * examples/Makefile.am:
7413 * examples/hildon-wizard-dialog-example.c: Adding an example for
7414 HildonWizardDialog that shows how to handle manual sensitivity setting on
7417 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7421 * src/hildon-version.h.in:
7422 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7424 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7426 * src/hildon-volumebar.c: Updating the docs.
7428 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7434 * debian/changelog: Updating.
7436 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7438 * src/hildon-find-toolbar.c:
7439 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7440 selected item: hildon_find_toolbar_set_active,
7441 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7442 hildon_find_toolbar_get_active_iter . They correspond to respective
7443 GtkComboBox functions.
7445 * examples/Makefile.am:
7446 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7449 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7451 * examples/Makefile.am:
7452 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7455 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7456 when font size > 32 and we pack a focusable widget inside. Actually using
7457 the default response would work too, but since we don't show default
7458 response state in any way (no theming) it would not be visible to the
7459 user. Fixes NB#63430.
7461 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7463 * src/hildon-date-editor.c: Adding the missing variable setter in the
7464 set_property handler. Fixes NB#54182.
7466 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7468 * src/hildon-window.h: Changing the long key press time from 1500ms to
7469 800ms as requested in NB#63700. I have a bad feeling about this, let's
7470 see... Fixes NB#63700.
7472 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7474 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7475 hildon_time_picker_map, hildon_time_picker_realize,
7476 hildon_time_picker_style_set): Split the contents of map to more
7477 appropriate functions; set window decorations on realize and update
7478 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7480 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7485 * debian/changelog: Updating.
7487 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7489 * src/Makefile.am: fixed installation of the header files
7491 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7497 * debian/changelog: Updating.
7499 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7501 * configure.ac: Removing some remaining of --enable-xan.
7503 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7505 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7506 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7508 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7509 2.10.12-osso6 because the move-focus signal needs to be available in
7512 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7514 * examples/Makefile.am:
7515 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7516 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7517 fine. Prolly NB#61128 is fixed now.
7519 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7521 * src/hildon-volumebar.c:
7522 * src/hildon-volumebar.h: Adding the
7523 hildon_volumebar_set_range_insensitive_message and
7524 hildon_volumebar_set_range_insensitive_messagef functions to set
7525 insensitive message on the slider of the volumebar. Fixes NB#61129.
7527 * examples/Makefile.am:
7528 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7529 test the new insensitive messsage functionality on HildonVolumebar.
7531 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7533 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7536 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7538 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7539 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7540 button on after clearing the trail.
7542 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7544 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7546 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7548 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7549 by splitting the installed headers in generated and non-generated groups. Use
7550 only the non-generated headers to create the hildon-enum-types.h file.
7552 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7554 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7556 * src/hildon-window.c: Hide the window before performing the destroy.
7557 Should make the app closing a little tiny bit more snappy.
7559 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7561 * src/hildon-seekbar.c: add gtkrange.h header
7562 * src/hildon-caption.c: remove unused variable
7564 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7566 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7569 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7575 * debian/changelog: Updating.
7577 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7579 * src/hildon-window.c (hildon_window_window_state_event,
7580 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7581 escape timeout on focus-out-event rather than notify::is-topmost; the
7582 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7584 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7586 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7587 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7589 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7591 * src/hildon-window: actually, you need to use the macro always, there's
7592 no private pointer in the instance structure. We should have cleaned this up
7593 when we had the chance...
7595 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7597 * src/hildon-window.c: do not get the private date from HildonWindow before
7598 it passes the g_return_if_fail check. Once it's passed the test, there's no
7599 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7600 if you are only going to access the data once. Whitespace cleanups.
7602 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7604 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7605 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7607 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7613 * debian/changelog: Updating.
7615 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7617 * src/hildon-window.c: When destroying the window, remove (if exists) the
7618 escape timeout handler. Fixes #NB59276.
7620 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7622 * src/hildon-banner.c: When realizing the widget, set the window
7623 transiency. Setting the transiency in the gobject constructor is not
7624 good, as the widget is not realized at that point. Fixes: #NB56624.
7626 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7628 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7629 Add padding for future expansions.
7631 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7633 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7634 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7635 will fake an activation on the previous to the last item of the trail, so
7636 the effect can be overrided by the developer as usual.
7637 Also change the callback for the back button to do the same thing, so its
7638 effect can be overrided too. Fixes: NB#58982
7640 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7642 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7643 HildonCaption. Fixes NB#52379.
7645 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7647 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7648 the internal state of the trail after the user has had the chance of executing
7649 his handler for the signal. Specifically, it may happen that the activated button
7650 is removed and the user still lets the default handler run. This would segfault
7653 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7655 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7656 scrollbar to the preview dialog. Fixes NB#54147.
7658 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7660 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7661 max/min year properties can be altered, so the client can modify it
7662 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7664 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7666 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7667 hildonlike by default. Fixing a problem with disappearing arrows when
7668 scrolling through months and years. Fixes NB#54127.
7670 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7672 * examples/hildon-date-editor-example.c: Adding error callback to the date
7675 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7681 * configure.ac: Updating.
7683 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7685 * configure.ac: Adding a special '--enable-xan' configure option that
7686 turns off the -Werror compilation setting. Usefull for development.
7688 * src/hildon-calendar.c:
7689 * src/hildon-number-editor.c:
7690 * src/hildon-time-picker.c: Adding the 5* multiplier to
7693 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7695 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7696 instead of g_object_ref + gtk_object_sink.
7698 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7704 * debian/changelog: Updating.
7706 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7708 * src/hildon-color-chooser-dialog.c:
7709 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7710 straight from Tommi labs.
7712 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7714 * examples/hildon-finger-example.c: Correcting the header file path.
7716 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7717 the changed signal. Fixes a small memory leak.
7719 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7723 * src/hildon-banner.c: Importing several usefull fixes from the
7724 ubuntu-mobile branch.
7726 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7728 * examples/Makefile.am:
7729 * examples/hildon-finger-example.c: Adding a finger-checking code
7732 * src/hildon-font-selection-dialog.c: Do not allocate the color
7733 structure using the g_new. Fixes NB#54061.
7735 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7737 * src/hildon-helper.c: Correcting tabs in file.
7739 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7741 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7742 control the visibility of the children.
7744 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7746 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7752 * debian/changelog: Updating.
7754 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7756 * src/hildon-bread-crumb-trail.c:
7757 (hildon_bread_crumb_trail_size_allocate):
7759 Make the back button always a square.
7761 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7763 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7764 from the .c file as it's a private file.
7766 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7768 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7769 uses slightly bigger height.
7771 * src/hildon-font-selection-dialog.c: Adding some checks before
7772 freeing memory in the font selection dialog.
7774 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7776 * src/hildon-font-selection-dialog.c: Adding a small check when
7779 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7780 buttons sensitivity on page switching.
7782 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7784 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7785 internal details of adding a bread crumb to the trail.
7787 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7793 * debian/changelog: Updating.
7795 * src/hildon-bread-crumb-trail.h:
7796 * src/hildon-bread-crumb.h: Changing the API guard to
7797 HILDON_ENABLE_UNSTABLE_API.
7799 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7807 * src/hildon-helper.h: Updating.
7809 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7817 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7821 * src/hildon-helper.h: Small fix to make the package actually compile.
7823 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7825 * src/hildon-bread-crumb-trail.h:
7826 * src/hildon-bread-crumb.h:
7828 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7829 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7831 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7833 * examples/hildon-bread-crumb-trail-example.c:
7835 * src/hildon-bread-crumb-trail.c:
7836 * src/hildon-bread-crumb-trail.h:
7837 * src/hildon-bread-crumb.c:
7838 * src/hildon-bread-crumb.h:
7839 * src/hildon-marshalers.list:
7840 * src/hildon-bread-crumb-widget.c:
7841 * src/hildon-bread-crumb-widget.h:
7843 Slight change in the widget design. The bread crumb trail API is
7844 unchanged, but HildonBreadCrumb is now an interface. A *private*
7845 implementation, hildon-bread-crumb-widget, is provided and used
7846 internally by the trail for the push_text/push_icon functions.
7848 The generic push API is still available, so anyone can implement
7849 and use its own bread crumb widget.
7851 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7853 * debian/rules: Fixing the shlibs.
7855 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7857 * src/hildon-banner.c: Fixing a problem with timed banners having
7858 their parrent destroyed before they are.
7860 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7862 * src/hildon-bread-crumb.c:
7863 * src/hildon-bread-crumb.h:
7865 Make the get_natural_size function a vfunc.
7867 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7869 * src/hildon-bread-crumb.c:
7870 * src/hildon-bread-crumb-trail.c:
7874 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7881 * debian/changelog: Updating for release.
7883 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7885 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7886 don't leak the pango layout.
7888 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7891 * examples/hildon-bread-crumb-trail-example.c:
7895 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7897 * debian/changelog: Removing the bug-fixed entries that were actually
7898 resolved as WONTFIX.
7900 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7903 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7905 * src/hildon-bread-crumb-trail.c:
7906 * src/hildon-bread-crumb-trail.h:
7907 * src/hildon-bread-crumb.c:
7908 * src/hildon-bread-crumb.h:
7912 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7914 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7915 until it's passed the type check.
7917 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7919 * examples/hildon-bread-crumb-trail-example.c
7923 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7925 * examples/Makefile.am
7926 * examples/hildon-bread-crumb-trail-example.c
7928 * src/hildon-bread-crumb-trail.c
7929 * src/hildon-bread-crumb-trail.h
7930 * src/hildon-bread-crumb.c
7931 * src/hildon-bread-crumb.h
7933 New HildonBreadCrumbTrail widget.
7935 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7937 * src/hildon-range-editor.c (hildon_range_editor_init),
7938 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7939 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7940 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7941 hildon_time_editor_class_init, hildon_time_editor_init),
7942 src/hildon-get-password-dialog.c (invalid_input,
7943 hildon_get_password_set_property, hildon_get_password_get_property,
7944 create_contents, hildon_get_password_dialog_set_max_characters),
7945 src/hildon-set-password-dialog.c (create_contents),
7946 src/hildon-date-editor.c (hildon_date_editor_init),
7947 src/hildon-login-dialog.c (hildon_login_dialog_init),
7948 src/hildon-number-editor.c (hildon_number_editor_init),
7949 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7950 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7951 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7952 configure option and adding the respective checks in the code.
7953 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7954 hildon_calendar_drag_data_received): fixed some build warnings.
7956 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7958 * debian/changelog: A 1.0.0 release notes.