1 2009-04-30 Alberto Garcia <agarcia@igalia.com>
9 Renamed src/ to hildon/
14 Include <hildon/hildon.h> directly in all examples.
16 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
18 * src/hildon-sort-dialog.c
19 (hildon_sort_dialog_add_sort_key_with_sorting)
23 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
25 * src/Makefile.am: Move generated sources to CLEANFILES, so that
26 make distcheck passes.
28 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
30 * Makefile.am: Enable gtk-doc during distcheck.
32 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
34 * Makefile.am: Do not distribute the debian/ directory.
36 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
38 * doc/Makefile.am: Add the extra SGML files to content_files,
39 so that they are distributed properly.
41 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
43 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
46 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
48 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
49 (hildon_note_new_information_with_icon_name): Set the "icon" property
50 to preserve soundness.
52 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
54 * src/hildon-font-selection-dialog.c
55 (hildon_font_selection_dialog_set_property): Fail when the "family"
56 property is set to NULL.
58 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
60 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
63 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
65 * src/hildon-time-selector.h:
66 Added HildonTimeSelectorFormatPolicy
67 * src/hildon-time-selector.c:
68 Added PROP_TIME_FORMAT_POLICY
69 (_check_ampm_format): renamed to check_automatic_ampm_format
70 (update_format_policy), (update_format_dependant_columns): new functions
71 (hildon_time_selector_class_init)
72 (hildon_time_selector_contructor)
73 (hildon_time_selector_init)
74 (hildon_time_selector_get_property)
75 (hildon_time_selector_set_property)
76 (hildon_time_selector_get_time)
77 (hildon_time_selector_set_time)
78 * src/hildon-touch-selector.h: new file
79 * src/hildon-touch-selector.c
80 (hildon_touch_selector_emit_changed)
81 (hildon_touch_selector_block_changed)
82 (hildon_touch_selector_unblock_changed)
83 Added functions to allow to block the emission of the "changed" signal
84 * src/hildon-picker-dialog.c
85 (hildon_picker_dialog_show): call the parent show before the custom code
86 * examples/hildon-time-button-example.c
87 Modified, so now you can configure the time format using the new property
89 Added a new property "time-format-policy" that allow to choose the time
90 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
91 case it uses gconf in order to check if the time selector must use
94 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
97 2009-04-28 Alberto Garcia <agarcia@igalia.com>
99 * src/hildon-note.c (hildon_note_init):
100 Label in HildonNote must be left aligned, not centered. This
101 reverts the last commit in HildonNote.
103 Fixes: NB#112933 (text is not left aligned in confirmation dialog
104 is connectivity dialog)
106 2009-04-27 Alberto Garcia <agarcia@igalia.com>
111 * doc/hildon-sections.txt:
112 Added hildon_gtk_window_set_do_not_disturb()
114 2009-04-27 Alberto Garcia <agarcia@igalia.com>
116 * src/hildon-note.c (hildon_note_init): Center label.
118 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
121 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
126 * configure.ac: Bump version.
127 * debian/changelog: Updates.
129 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
131 * src/hildon-note-private.h: Add button-width to the private data.
132 * src/hildon-note.c (+resize_button),
133 (+hildon_note_orientation_update): methods to repack widgets on orientation
135 (screen_size_changed): Call above method for confirmation notes.
136 (hildon_note_realize): Always connect to the "screen-size" changed signal.
137 (hildon_note_rebuild): Store the original width request from buttons.
139 Fixes: NB#109635 (Confirmation notes do not support portrait)
141 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
143 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
144 when it is a progress note.
146 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
148 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
149 in the note, since there are no horizontally arranged contents.
151 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
153 * src/hildon-gtk.c (+set_flag): new generic method to
154 set/delay a flag setting in a window.
155 (hildon_gtk_window_set_progress_indicator):
156 (hildon_gtk_window_set_do_not_disturb),
157 (hildon_gtk_window_set_portrait_flags): use set_flag() to
158 avoid code redundance.
160 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
162 Based on a patch by Alberto Garcia (agarcia@igalia.com)
164 * src/hildon-gtk.c (set_clear_window_flag),
165 (do_set_progress_indicator), (do_set_do_not_disturb),
166 (do_set_portrait_flags),
167 (hildon_gtk_window_set_progress_indicator),
168 (hildon_gtk_window_set_do_not_disturb),
169 (hildon_gtk_window_set_portrait_flags):
170 Allow setting dnd-flag, progress indicator, and portrait flags
171 when the window is not realized.
173 2009-04-24 Alejandro G. Castro <alex@igalia.com>
175 * src/hildon-pannable-area.c,
176 * src/hildon-pannable-area.h: Add the hildon deprecated define to
177 the size request policy function and defines.
179 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
181 * doc/hildon-sections.txt: Add the new API.
182 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
183 method to set the portrait flags.
184 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
186 Fixes: NB#112328 (Adding helpers for setting portrait properties)
188 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
190 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
191 to allow using this method with other flags.
192 (hildon_gtk_window_set_progress_indicator): Update accordingly.
193 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
195 2009-04-22 Alberto Garcia <agarcia@igalia.com>
197 * src/hildon-touch-selector.c
198 (hildon_touch_selector_append_text_column):
199 Make the cell renderer use the smallest width possible.
201 Fixes: NB#108470 (Selected items in multiple selection are either
202 having a tick that is cut or not visible at all.)
204 2009-04-22 Alberto Garcia <agarcia@igalia.com>
206 * src/hildon-touch-selector.c
207 (hildon_touch_selector_append_text_column):
210 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
212 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
213 Use g_strdup_printf() instead of a fixed size buffer.
215 2009-04-21 Alberto Garcia <agarcia@igalia.com>
217 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
218 Close banners when a HildonAppMenu is popped up.
220 Fixes: NB#111027 (Title menu closed immediately if activated when
221 "Invalid e-mail address" banner is shown)
223 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
228 * configure.ac: Bump version.
229 * debian/changelog: Updates.
231 2009-04-20 Alberto Garcia <agarcia@igalia.com>
233 * src/hildon-banner.c (hildon_banner_realize):
234 Mark HildonBanner as supporting portrait mode.
235 Use GDK to set window properties insetad of direct Xlib calls.
237 Fixes: NB#111830 (HildonBanner should be marked as supporting
240 2009-04-20 Alberto Garcia <agarcia@igalia.com>
242 * src/hildon-note.c (hildon_note_rebuild):
243 Hide action area in information notes. Prevents text from being
244 slightly aligned to the left.
246 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
249 2009-04-20 Alberto Garcia <agarcia@igalia.com>
251 Patch by Mox Soini (ext-mox.soini@nokia.com)
253 * src/hildon-banner.c (hildon_banner_create_animation):
254 Use stylus-sized icons in animation banner.
256 Fixes: NB#111206 (stylus sized icon for animation banner)
258 2009-04-20 Alberto Garcia <agarcia@igalia.com>
262 (+hildon_gtk_window_set_do_not_disturb):
263 New API to set the do-not-disturb flag.
265 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
267 2009-04-20 Alberto Garcia <agarcia@igalia.com>
269 * examples/hildon-progress-indicator-example.c: Fix example
271 * src/hildon-gtk.c (set_clear_window_flag)
272 (hildon_gtk_window_set_progress_indicator):
273 Create a generic function for setting flags to a window.
274 Use GDK instead of direct Xlib calls.
276 2009-04-14 Alberto Garcia <agarcia@igalia.com>
278 * src/hildon-button.c (hildon_button_set_arrangement):
279 Due to NB#88126, if one of the labels is too long it will be
280 painted outside the button. The 'value' label is more likely to be
281 the longest one, so we change its packing options in order to
282 truncate it if necessary. As a side effect, the 'title' label will
283 no longer be truncated.
285 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
287 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
292 * configure.ac: Bump version.
293 * debian/changelog: Updates.
295 2009-04-13 Alejandro G. Castro <alex@igalia.com>
297 Deprecation of the hildon_pannable_area_set_size_request_policy
298 API, the only policy properly supported in gtk+ nowadays is the
301 * src/hildon-pannable-area.c,
302 (hildon_pannable_area_size_request): Added a workaround for the
303 size_request to avoid the problems of huge pixmaps in case someone
304 is still using the function.
305 * src/hildon-pannable-area.h: Deprecated the enum with the
308 Fixes: NB#110244 (Problems with the
309 hildon_pannable_area_set_size_request_policy API)
311 2009-04-08 Alejandro G. Castro <alex@igalia.com>
313 * src/hildon-pannable-area.c,
314 (hildon_pannable_area_init),
315 (hildon_pannable_area_size_request),
316 (hildon_pannable_area_style_set),
317 (hildon_pannable_draw_vscroll),
318 (hildon_pannable_draw_hscroll),
319 (hildon_pannable_area_check_scrollbars): Replaced area_width with
320 indicator_width to clarify the use of the attribute.
322 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
327 * configure.ac: Bump version.
328 * debian/changelog: Updates.
330 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
332 * src/hildon-picker-dialog.c
333 * src/hildon-touch-selector.c
334 Reverting the change that tried to avoid the hardcoded height on
335 the picker dialog, as causes problems on the hildon-touch-selector
338 Fixes: NB#110029 (selectors not scrolling to selected value)
340 2009-04-07 Alberto Garcia <agarcia@igalia.com>
342 * src/hildon-touch-selector.c: Fix typos
344 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
346 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
347 Use the event coordinates instead of gdk_window_get_pointer(). Also,
348 request more motions after using it.
350 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
352 * src/hildon-calendar.c (hildon_calendar_expose),
353 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
354 Remove unused variables.
356 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
358 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
361 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
363 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
364 Check the return value of gtk_tree_selection_get_selected()
367 2009-04-06 Alberto Garcia <agarcia@igalia.com>
369 * src/hildon-animation-actor.c
370 * src/hildon-button.c
372 * src/hildon-pannable-area.c
373 * src/hildon-picker-button.c
374 * src/hildon-program.c
375 * src/hildon-remote-texture.c
376 * src/hildon-text-view.c
377 * src/hildon-touch-selector.c
378 * src/hildon-window-stack.c
379 * src/hildon-window.c:
380 Add missing 'Since: 2.2' tags.
382 * doc/hildon-sections.txt:
383 Add some missing symbols.
385 * doc/hildon-docs.sgml:
386 New 'Other' section for HildonAnimationActor and
389 2009-04-06 Alberto Garcia <agarcia@igalia.com>
391 Patch by Iván Gómez (igomez@igalia.com)
395 * doc/hildon-docs.sgml
396 * doc/hildon-sections.txt
400 New chapters on using the Hildon library.
401 Updated the general structure of the reference manual.
402 Other minor documentation fixes.
404 * src/hildon-calendar-popup.c
405 * src/hildon-calendar.c
406 * src/hildon-controlbar.c
407 * src/hildon-date-editor.c
408 * src/hildon-dialog.c
409 * src/hildon-hvolumebar.c
410 * src/hildon-number-editor.c
411 * src/hildon-range-editor.c
412 * src/hildon-sort-dialog.c
413 * src/hildon-time-editor.c
414 * src/hildon-time-picker.c
415 * src/hildon-volumebar-range.c
416 * src/hildon-volumebar.c
417 * src/hildon-vvolumebar.c
418 * src/hildon-weekday-picker.c:
419 Add deprecation notes
421 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
422 Document 'horizontal-movement' and 'vertical-movement' signals.
424 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
429 * configure.ac: Bump version.
430 * debian/changelog: Updates.
432 2009-04-06 Alejandro G. Castro <alex@igalia.com>
434 * src/hildon-pannable-area.c,
435 (hildon_pannable_area_class_init): increased the minimum velocity.
436 (hildon_pannable_area_button_release_cb): Updated the
437 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
438 setup. Review the code to control that last event.
440 Fixes: NB#109790 (Releasing finger in pannable area easily causes
443 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
445 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
447 * src/hildon-get-password-dialog.c
448 (hildon_get_password_set_property),
449 (hildon_get_password_get_property), (create_contents):
450 * src/hildon-login-dialog-private.h:
451 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
452 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
453 (hildon_login_dialog_get_password):
454 * src/hildon-set-password-dialog-private.h:
455 * src/hildon-set-password-dialog.c
456 (hildon_set_password_set_property),
457 (hildon_set_password_get_property), (create_contents),
458 (hildon_set_password_response_change),
459 (hildon_set_password_response_set), (hildon_checkbox_toggled):
461 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
462 instead and look more Fremantle style.
464 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
466 2009-04-03 Alberto Garcia <agarcia@igalia.com>
468 * doc/hildon-sections.txt
469 * src/hildon-window-stack.h
470 * src/hildon-window-stack.c
471 (+hildon_window_stack_get_windows):
472 New API to obtain the list of windows on a stack.
474 2009-04-02 Alberto Garcia <agarcia@igalia.com>
476 * src/hildon-app-menu.c (hildon_app_menu_popup)
477 (hildon_app_menu_class_init, -hildon_app_menu_show):
478 Remove hildon_app_menu_show() and move all its checks to
479 hildon_app_menu_popup()
481 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
483 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
484 (_hildon_picker_dialog_set_selector): removed call to
485 gtk_widget_set_size_request
486 * src/hildon-touch-selector.c
487 (_create_new_column): change the pannable size request policy
489 Avoid to use a hardcoded height for the hildon picker dialog. In order
490 to get that, we needed to change the hildon pannable size request
492 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
494 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
496 * src/hildon-window.c (hildon_window_map): Check for vbox to be
497 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
500 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
502 * debian/control: Depend on osso-system-lock localization package.
503 * src/hildon-code-dialog.c: Obtain the secu_application_title
504 translation from osso-system-lock.
505 * src/hildon-get-password-dialog.c (create_contents): Do not mark
506 for translation the atk related strings, that's not necessary.
507 * src/hildon-set-password-dialog.c (create_contents): Ditto.
508 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
509 cancel button, it is not required.
511 2009-04-02 Alejandro G. Castro <alex@igalia.com>
513 * src/hildon-pannable-area.c,
514 (hildon_pannable_area_class_init): Modified the default value of
515 the overshooting max speed, we have reduced it.
517 2009-04-02 Alberto Garcia <agarcia@igalia.com>
519 * doc/hildon-sections.txt
520 * src/hildon-window-private.h
521 * src/hildon-window.h
522 * src/hildon-window.c (hildon_window_class_init)
523 (hildon_window_init, hildon_window_finalize)
524 (hildon_window_realize, hildon_window_get_property)
525 (hildon_window_set_property, hildon_window_update_markup)
526 (hildon_window_get_markup, hildon_window_set_markup):
527 New "markup" property and hildon_window_{get,set}_markup() methods.
529 * examples/hildon-stackable-window-example.c (new_window):
530 Update example to use hildon_window_set_markup()
532 Fixes: NB#106375 (Need API to retitle a window with a title
535 2009-04-01 Alejandro G. Castro <alex@igalia.com>
537 * src/hildon-pannable-area.c,
538 (hildon_pannable_area_class_init): Changed the default value of
539 the initial_hint to TRUE.
540 (hildon_pannable_area_initial_effect): Changed the initial effect,
541 not the effect is just the fade-out of the scrollbars.
543 Fixes: NB#107775 (No scrollbars can be seen when several items are
544 available in a dialog)
546 2009-04-01 Alberto Garcia <agarcia@igalia.com>
548 * src/hildon-program.c (hildon_program_update_top_most):
551 Fixes: NB#109179 (Memory leak in Hildon program)
553 2009-04-01 Alberto Garcia <agarcia@igalia.com>
555 * src/hildon-banner.c (-get_current_app_window):
556 Remove unused function.
558 2009-04-01 Alejandro G. Castro <alex@igalia.com>
560 * src/hildon-pannable-area.c: Modified the documentation of the
561 get adjustments functions to explain the problem of using the
563 (hildon_pannable_area_class_init): Improved the explanation about
566 2009-04-01 Alberto Garcia <agarcia@igalia.com>
568 * src/hildon-app-menu-private.h
569 * src/hildon-app-menu.c
570 (hildon_app_menu_class_init):
571 Bring back the 'external-border' style property
572 (hildon_app_menu_class_init, hildon_app_menu_init)
573 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
574 Set a fixed width-request for the menu, independent of the number
577 Fixes: NB#94957 (Smoothly opened application menu)
579 2009-03-30 Alberto Garcia <agarcia@igalia.com>
581 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
583 * src/hildon-banner.c
584 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
586 Make sure that the banner is correctly placed the first time it's
588 (hildon_banner_check_position, -check_fullscreen_state):
589 Show the banner in the same place no matter if the window is in
590 fullscreen mode or not.
592 Fixes: NB#107386 (Odd stacking behaviour for information banners)
594 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
596 * src/hildon-touch-selector.c (_default_print_func): reorder
597 concatenation for clarity.
599 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
601 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
602 for multicolumn selectors.
604 Fixes: NB#109099 (Memory leak in Hildon touch selector)
606 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
611 * configure.ac: Bump version.
612 * debian/changelog: Updates.
614 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
616 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
619 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
621 * configure.ac: removed libcangerra-gtk dependency
622 * debian/control: removed libcanberra-gtk dependency
623 * src/Makefile.am: removed libcanberra gtk related flags
624 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
625 context, and manage a global canberra context instead
627 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
629 2009-03-26 Alberto Garcia <agarcia@igalia.com>
631 Patch by Daniel Borgmann (danielb@openismus.com)
633 * src/hildon-edit-toolbar.c:
634 Adjust the left padding.
635 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
636 Paint background of the edit toolbar.
638 Fixes: NB#107897 (Patch to make editmodetoolbar background
639 themeable and adjust margin)
641 2009-03-25 Alberto Garcia <agarcia@igalia.com>
643 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
645 * src/hildon-program.c (hildon_program_update_top_most):
646 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
648 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
649 change when the user tasks in/out of an application)
651 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
653 * configure.ac: added libcangerra-gtk dependency
654 * debian/control: added libcanberra-gtk dependency
655 * src/Makefile.am: added libcanberra gtk related flags
656 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
659 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
661 2009-03-25 Alberto Garcia <agarcia@igalia.com>
663 * src/hildon-program.c (hildon_program_remove_window)
664 (hildon_program_add_window): Add checks for the window
665 parameter. Don't decrease the window counter if the window is not
668 2009-03-24 Alejandro G. Castro <alex@igalia.com>
670 * src/hildon-pannable-area.c,
671 (hildon_pannable_area_realize): Fixed position of the event_window
672 in the realize method.
674 2009-03-24 Alberto Garcia <agarcia@igalia.com>
676 * src/hildon-app-menu-private.h
677 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
678 (hildon_app_menu_map, hildon_app_menu_hide_idle)
679 (hildon_app_menu_key_press, hildon_app_menu_init)
680 (hildon_app_menu_finalize):
681 Make sure that all idle functions are removed when the widget is
684 Fixes: NB#107583 (Hildon app menu crashes in various applications)
686 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
691 * configure.ac: Bump version.
692 * debian/changelog: Updates.
694 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
697 (+hildon_entry_show_placeholder),
698 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
699 that replace hildon_entry_update_contents().
700 (hildon_entry_set_text),
701 (hildon_entry_set_placeholder),
702 (hildon_entry_focus_in_event),
703 (hildon_entry_focus_out_event): Determine when it is needed
704 either to show or hide the placeholder and call the above methods.
706 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
707 when the placeholder text is already set)
709 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
711 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
712 simple GdkPixbufAnim using the new icons for the banner.
713 (hildon_banner_show_animation): Use the above mentioned method to
714 create the animation widget.
716 Fixes: NB#103564 (Make hildon animation banner use individual
717 image files as the animation)
719 2009-03-24 Alejandro G. Castro <alex@igalia.com>
721 * src/hildon-pannable-area.c,
722 (hildon_pannable_leave_notify_event): Check if the child is NULL
723 to avoid sending the leave.
725 2009-03-24 Alejandro G. Castro <alex@igalia.com>
727 * src/hildon-pannable-area.c,
728 (hildon_pannable_area_class_init),
729 (hildon_pannable_leave_notify_event): Added a handler of the
730 leave-notify-signal to consider when no motion notify before
733 Fixes: NB#107494 (Items stay selected when clicking and moving
734 away when inside pannable area)
736 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
741 * configure.ac: Bump version.
742 * debian/changelog: Updates.
744 2009-03-19 Alejandro G. Castro <alex@igalia.com>
746 Patch by Alberto Garcia (agarcia@igalia.com)
748 * src/hildon-date-button.c,
749 (hildon_date_button_class_init),
750 (hildon_date_button_init): Removed the construct property handling
751 and created a default selector in the init method.
752 * src/hildon-picker-button.c,
753 (hildon_picker_button_class_init): Removed the construct flag of the
756 2009-03-18 Alberto Garcia <agarcia@igalia.com>
758 * src/hildon-main.c (hildon_init):
759 Don't allow hildon_init() to be called more than once.
761 Fixes: NB#106607 (hildon_init should issue error message upon
764 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
766 * examples/hildon-pannable-area-touch-list-example.c
767 * examples/hildon-pannagle-area-touch-grid-example.c
768 * examples/hildon-edit-toolbar-example.c
769 * examples/hildon-touch-selector-multi-cells-example.c
770 Removed the call to gtk_rc_parse_string, as it is not required since
773 2009-03-17 Alejandro G. Castro <alex@igalia.com>
775 * src/hildon-pannable-area.c,
776 (hildon_pannable_area_class_init): Modified the default panning
777 threshold of the widget to 6px.
779 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
780 than the threshold value ) within the button is not sending the
783 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
785 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
786 for the treeview in the new column. This way, the touch list will never
789 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
790 be selected manually for the HW keys to work)
792 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
794 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
795 comparison instead of using strcmp(). Fixes a compiler warning as well.
797 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
799 * doc/hildon-docs.sgml: Do not set the library version in the
800 document title, use the releaseinfo tag for that purpose instead.
802 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
804 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
805 Do not jump to the first item if the text in the entry is removed.
807 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
812 * configure.ac: Bump version.
813 * debian/changelog: Updates.
815 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
817 * src/hildon-entry.c (hildon_entry_refresh_contents):
818 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
819 Use "ReversedSecondaryTextColor" for the placeholder text.
821 2009-03-12 Alberto Garcia <agarcia@igalia.com>
823 * src/hildon-text-view.c: Fix compilation warning.
825 2009-03-12 Alberto Garcia <agarcia@igalia.com>
827 * src/hildon-button.c (hildon_button_class_init): Don't make
828 "title" and "value" construction properties, to prevent them from
829 overwriting labels set from derived classes.
831 * src/hildon-picker-button.c
832 (hildon_picker_button_set_selector): Allow setting a NULL selector.
833 (hildon_picker_button_class_init): Make touch-selector a
834 construction property.
836 * src/hildon-date-button.c (hildon_date_button_class_init)
837 (+hildon_date_button_constructed): Add a default date selector if
840 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
842 * src/hildon-touch-selector.c: Small documentation fixes.
844 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
846 Based on a patch by Daniel Borgmann (danielb@openismus.com)
848 * src/hildon-entry.c (hildon_entry_refresh_contents),
849 (hildon_entry_get_text), (hildon_entry_init): Do not use the
850 widget name, set the logical color directly instead and a boolean
851 showing_placeholder instead.
852 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
853 use the widget name here either.
855 Fixes: NB#105678 (HildonTextView should use logical colours
856 instead of setting widget name)
858 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
860 Patch by Daniel Elster (danielk@openismus.com)
862 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
863 Add user_data parameter.
864 (hildon_touch_selector_set_print_func_full): New function akin
865 hildon_touch_selector_set_print_func() but with support for user
866 data and a destroy callback.
867 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
868 to clean up the print function user data.
869 (hildon_touch_selector_class_init): Install dispose function.
870 (HildonTouchSelectorPrivate::print_user_data),
871 (HildonTouchSelectorPrivate::print_destroy_func): New private
873 (hildon_touch_selector_init): Initialize new private members.
874 (hildon_touch_selector_get_current_text): Pass along user data
875 to the print function.
876 (_default_print_func): Add dummy user_data to parameter list.
877 * hildon-date-selector.c (_custom_print_func): ditto,
878 * hildon-time-selector.c (_custom_print_func): ditto,
879 * hildon-touch-selector-entry.c
880 (hildon_touch_selector_entry_print_func): ditto.
882 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
884 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
886 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
888 2009-03-12 Alejandro G. Castro <alex@igalia.com>
890 * src/hildon-pannable-area.c,
891 (hildon_pannable_area_init),
892 (hildon_pannable_area_button_press_cb),
893 (hildon_pannable_area_motion_notify_cb): We have added code to
894 handle the leave and enter events when using the motion events.
896 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
898 2009-03-11 Alberto Garcia <agarcia@igalia.com>
900 * src/hildon-date-button.c (hildon_date_button_get_date)
901 (hildon_date_button_set_date): Make sure that the button has a
904 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
906 2009-03-11 Alejandro G. Castro <alex@igalia.com>
908 * src/hildon-pannable-area.c,
909 (hildon_pannable_area_class_init),
910 (hildon_pannable_area_calculate_velocity): Modify the use of the
911 force and adapt the value.
913 2009-03-10 Alberto Garcia <agarcia@igalia.com>
915 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
916 (hildon_app_menu_class_init): Hide the menu if it receives a
917 delete-event, but don't destroy it
919 Fixes: NB#104485 (Not able to address the call when application
920 menu is opened at background)
922 2009-03-10 Alberto Garcia <agarcia@igalia.com>
924 * src/hildon-app-menu.c
925 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
926 Remove the "external-border" style property, let the menu take its
927 natural size (or the one set by the window manager)
928 (hildon_app_menu_repack_items):
929 Don't reshow the menu, avoid flickers.
931 Partially fixes NB#94957 (Smoothly opened application menu)
933 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
938 * configure.ac: Bump version.
939 * debian/changelog: Updates.
941 2009-03-10 Alejandro G. Castro <alex@igalia.com>
943 * src/hildon-pannable-area.c,
944 (hildon_pannable_area_motion_notify_cb): We control that the
945 direction error margin is used just in case the movement is
946 allowed in the other direction.
948 Fixes: NB#105012 (buttons inside a pannable area not getting
949 release event when dragging/releasing)
951 2009-03-10 Alejandro G. Castro <alex@igalia.com>
953 * src/hildon-pannable-area.c,
954 (hildon_pannable_area_class_init),
955 (hildon_pannable_area_get_property),
956 (hildon_pannable_area_set_property),
957 (hildon_pannable_area_initial_effect),
958 (hildon_pannable_axis_scroll),
959 (hildon_pannable_area_button_release_cb): Reviewed the
960 overshooting effect, now it has its own max
961 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
964 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
969 * configure.ac: Bump version.
970 * debian/changelog: Updates.
972 2009-03-09 Alejandro G. Castro <alex@igalia.com>
974 * src/hildon-pannable-area.c,
975 (hildon_pannable_area_class_init): Changed the max speed, now
976 users can launch the widget very fast. Reduced the default force,
977 that way it is easier to control the launch speed.
979 2009-03-09 Alejandro G. Castro <alex@igalia.com>
981 * src/hildon-pannable-area.c,
982 (hildon_pannable_area_button_release_cb): Removed this check
983 because it causes problems when the device is overloaded.
985 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
987 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
988 add a current_text field to store the text entered in the
989 touch selector entry.
990 (_clean_current_selection): clean up the current text as well.
991 (_save_current_selection), (_restore_current_selection):
992 Save/restore the text in the entry if the selector is a
993 HildonTouchSelectorEntry.
995 Fixes: NB#102541 (value entered in the touch selector entry is not
996 shown when opened for second time)
998 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1000 * doc/hildon-sections.txt:
1001 * src/hildon-touch-selector-entry.c
1002 (+hildon_touch_selector_entry_get_entry):
1003 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1005 Fixes: NB#104815 (I need accessor to the entry inside
1006 HildonTouchSelectorEntry)
1008 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1010 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1011 (hildon_app_menu_class_init):
1012 New "filter-vertical-spacing" style property.
1014 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1016 * src/hildon-find-toolbar.c
1017 (hildon_find_toolbar_emit_close)
1018 (hildon_find_toolbar_emit_invalid_input)
1019 (hildon_find_toolbar_entry_activate):
1020 Use g_signal_emit() instead of g_signal_emit_by_name()
1022 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1024 Patch by Mox Soini (ext-mox.soini@nokia.com)
1026 * tests/TEST-CASES.txt
1027 * tests/check-hildon-banner.c
1028 * tests/check-hildon-note.c
1029 * src/hildon-banner.c
1030 * src/hildon-code-dialog.c
1031 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1032 * src/hildon-time-editor.c
1033 * examples/hildon-lookup-example.c (main):
1034 Replace obsolete icon names with new ones.
1036 * src/hildon-find-toolbar-private.h:
1037 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1038 (-hildon_find_toolbar_emit_search):
1039 Remove find button and change icon of close button.
1041 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1043 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1045 * src/hildon-time-button.c (hildon_time_button_new_step):
1046 Use the "touch-selector" property to set the selector directly
1047 when creating the object.
1049 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1051 Added a new example application that allows tuning the pannable
1052 area and replaced defines with properties in order to simplify the
1053 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1054 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1055 PROP_DIRECTION_ERROR_MARGIN.
1057 * examples/hildon-pannable-area-tuning-example.c: New example
1059 * src/hildon-pannable-area.c,
1060 (hildon_pannable_area_class_init),
1061 (hildon_pannable_area_init),
1062 (hildon_pannable_area_get_property),
1063 (hildon_pannable_area_set_property),
1064 (hildon_pannable_area_launch_fade_timeout),
1065 (hildon_pannable_area_adjust_value_changed),
1066 (hildon_pannable_axis_scroll),
1067 (hildon_pannable_area_motion_notify_cb),
1068 (hildon_pannable_area_scroll_cb),
1069 (hildon_pannable_area_button_release_cb): We have converted some
1070 of the defines that control the widget to properties to simplify
1073 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1075 * src/hildon-app-menu.c (hildon_app_menu_map)
1076 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1077 so it's closed if a new window appears.
1079 Fixes: NB#104485 (Not able to address the call when application
1080 menu is opened at background)
1082 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1084 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1085 missing 'break' statement in in 'case' construct to avoid
1088 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1090 * src/hildon-touch-selector-entry.c
1091 (hildon_touch_selector_entry_get_property),
1092 (hildon_touch_selector_entry_set_property): Add missing 'break'
1093 statements in in 'case' constructs to avoid incorrect warnings.
1095 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1097 * src/hildon-time-editor.c
1098 (hildon_time_editor_get_time_separators): Do not crash if
1099 the first label is NULL.
1101 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1103 * src/hildon-date-selector.c (_month_days): Check for month to be
1104 strictly less than 12, since otherwise we may overrun the array.
1106 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1108 * src/hildon-date-button.c (+hildon_date_button_new_full)
1109 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1110 (hildon_date_button_init): Set the date selector using a
1111 construction property, to make it happen after HildonButton's
1112 "value" property is set.
1114 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1115 current date by default)
1117 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1119 * doc/hildon-sections.txt
1120 * src/hildon-program.c
1121 * src/hildon-stackable-window.c
1122 * src/hildon-window.c:
1123 Documentation updates
1125 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1127 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1128 (hildon_window_stack_new, +hildon_window_stack_set_property)
1129 (+hildon_window_stack_get_property)
1130 (hildon_window_stack_class_init)
1131 (+hildon_window_stack_set_window_group)
1132 (+hildon_window_stack_get_window_group):
1133 Make the window group a construction property.
1135 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1137 * doc/hildon-sections.txt
1138 * src/hildon-stackable-window-private.h
1139 * src/hildon-stackable-window.h
1140 * src/hildon-stackable-window.c
1141 (-hildon_stackable_window_set_app_menu)
1142 (-hildon_stackable_window_get_app_menu)
1143 (-hildon_stackable_window_toggle_menu)
1144 (-hildon_stackable_window_finalize)
1145 (hildon_stackable_window_class_init)
1146 (hildon_stackable_window_init)
1147 * src/hildon-window-private.h
1148 * src/hildon-window.h
1149 * src/hildon-window.c (hildon_window_init)
1150 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1151 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1152 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1153 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1154 Moved all HildonAppMenu code to HildonWindow. The menu does not
1155 require a HildonStackableWindow anymore.
1157 * src/hildon-app-menu.c
1158 * src/hildon-program.c
1159 * examples/hildon-app-menu-example.c (main):
1160 Update examples and documentation to reflect HildonAppMenu
1163 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1165 * src/hildon-remote-texture.c
1166 * src/hildon-animation-actor.c:
1167 Don't include unused private headers.
1169 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1171 * src/hildon-program-private.h
1172 * src/hildon-program.c
1173 (hildon_program_set_common_menu)
1174 (hildon_program_get_common_menu)
1175 (hildon_program_set_common_app_menu)
1176 (hildon_program_get_common_app_menu):
1177 Change common menu pointers from GtkWidget* to GtkMenu* and
1178 HildonAppMenu* to avoid unnecessary casts.
1180 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1182 * src/hildon-window.c (hildon_window_set_main_menu):
1183 Removed incorrect 'Since:' tag
1185 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1187 * src/hildon-pannable-area.c,
1188 (hildon_pannable_area_calculate_velocity): We use now the
1189 RATIO_TOLERANCE here to check the distance, fixed typo in the
1191 (hildon_pannable_area_motion_notify_cb): We have to set the type
1192 and time even if we are not sending the motion.
1194 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1196 * doc/hildon-sections.txt
1197 * src/hildon-app-menu.h
1198 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1199 (+hildon_app_menu_get_filters): New methods to get the contents of
1202 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1205 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1207 * src/hildon-app-menu.c (hildon_app_menu_popup):
1210 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1212 * src/hildon-window.h
1213 * src/hildon-window.c (+hildon_window_get_main_menu)
1214 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1215 and deprecated hildon_window_get_menu().
1217 * src/hildon-stackable-window.h
1218 * src/hildon-stackable-window.c
1219 (+hildon_stackable_window_set_app_menu)
1220 (+hildon_stackable_window_get_app_menu)
1221 (hildon_stackable_window_set_main_menu): Created
1222 hildon_stackable_window_{get,set}_app_menu() and deprecated
1223 hildon_stackable_window_set_main_menu().
1225 * doc/hildon-sections.txt
1226 * examples/hildon-app-menu-example.c (main)
1227 * src/hildon-app-menu.c
1228 * src/hildon-program.c:
1229 Updated examples and documentation.
1231 Fixes: NB#103758 (No way to obtain a menu from a
1232 HildonStackableWindow)
1234 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1239 * configure.ac: Bump version.
1240 * debian/changelog: Updates.
1242 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1244 * examples/hildon-remote-texture-example.c: Include
1245 hildon-remote-texture.h explicitely.
1246 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1247 applications not defining _XOPEN_SOURCE which don't require this header.
1249 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1251 * doc/hildon-sections.txt
1252 * src/hildon-app-menu.h
1253 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1254 New function to pop up a HildonAppMenu
1256 * src/hildon-stackable-window.c
1257 (hildon_stackable_window_toggle_menu):
1258 Use hildon_app_menu_popup() to show the menu.
1260 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1262 * src/hildon-app-menu.c (hildon_app_menu_show)
1263 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1264 menu if there's another window between it and its parent window.
1266 Fixes: NB#100468 (Application menu window is launched even when a
1267 new secondary-window/dialog is pending to be shown/realized)
1269 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1271 * src/hildon-window-stack.c (hildon_window_stack_push)
1272 (hildon_window_stack_pop_and_push):
1273 Don't forget to push/pop the first window.
1274 Reverse the window list before calling _push_list()
1276 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1278 * src/hildon-picker-button.h
1279 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1280 Remove "value_changed" slot to avoid ABI breakage
1282 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1284 * src/hildon-pannable-area.c,
1285 (hildon_pannable_area_realize),
1286 (hildon_pannable_area_unrealize),
1287 (hildon_pannable_draw_vscroll),
1288 (hildon_pannable_draw_hscroll): Changed the method to handle the
1289 GC used to draw the transparent scrollbar, this way we avoid
1290 creating the GC all the time when drawing the scrollbars.
1292 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1294 * src/hildon-pannable-area.c,
1295 (hildon_pannable_area_init),
1296 (hildon_pannable_area_remove): Removed some unnecessary casts.
1297 (hildon_pannable_area_dispose): Disconnected some signals before
1298 releasing the adjustments.
1300 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1302 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1303 Make sure that all widgets contained in the toolbar are shown.
1305 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1307 * doc/hildon-sections.txt
1308 * src/hildon-picker-button.h
1309 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1310 (_selection_changed, hildon_picker_button_on_dialog_response)
1311 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1312 New hildon_picker_button_value_changed() method.
1315 * src/hildon-picker-button-private.h
1316 * src/hildon-picker-button.c (hildon_picker_button_init)
1317 (+hildon_picker_button_disable_value_changed): Add protected
1318 function for disabling the "value-changed" signal.
1320 * src/hildon-date-button.c (hildon_date_button_set_date):
1321 Don't emit "value-changed" for each one of the three columns.
1323 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1324 before actual change of values)
1326 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1328 * src/hildon-pannable-area.c,
1329 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1330 for the treeview overshooting.
1332 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1334 * src/hildon-banner.c (+hildon_banner_bind_style):
1335 Renamed from hildon_banner_bind_label_style(), now naming the
1336 banner itself as well.
1337 (hildon_banner_show_information),
1338 (hildon_banner_show_information_with_markup),
1339 (hildon_banner_show_animation), (hildon_banner_show_progress):
1340 Name the widgets and labels, based on their type.
1342 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1345 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1347 * src/hildon-note.c (hildon_note_set_property): call
1348 hildon_note_rename() on HildonNote:note-type set.
1349 (hildon_note_rename): Name the note and its label, based on the
1350 HildonNote:note-type property.
1352 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1355 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1357 * src/hildon-pannable-area.c,
1358 (hildon_pannable_area_class_init),
1359 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1360 panning parameters, increased SPS and deceleration factor. Added
1361 also a margin to control fake directions.
1363 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1365 Patch by Sven Herzberg (sven@imendio.com)
1367 * configure.ac: Add missing AM_PROG_CC_C_0
1368 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1370 See NB#101420 (Update unit tests and fix make check)
1372 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1374 This patch was applied before but reverted because it caused
1375 problems, we have changed the main condition and tested the
1376 regressions we detected before and they work ok. We have done a
1377 complete review of the topmost algorithm in order to get a more
1380 * src/hildon-pannable-area.c,
1381 (hildon_pannable_area_get_topmost): Added a new parameter to
1382 filter the the windows that do not include those events.
1383 (hildon_pannable_area_button_press_cb),
1384 (hildon_pannable_area_button_release_cb),
1385 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1386 topmost function, we have added the new parameter.
1388 Fixes: NB#97458 (Pannable area prevents propagation of button
1391 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1393 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1394 if all columns in the selector have an item selected.
1395 (_on_dialog_response): Stop "response" signal emission if there is
1396 any selector column without selected items.
1398 Fixes: NB#101889 (Picker dialog should not close when nothing is
1399 selected in multiple selection list)
1401 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1403 * src/hildon-font-selection-dialog.c
1404 (hildon_font_selection_dialog_class_init),
1405 (hildon_font_selection_dialog_init): Remove the preview
1406 button and dialog, since previewing with default theming is likely
1407 to be overcomplicated. The :preview property has now no effect.
1408 Update documentation blurbs to inform about this.
1410 Fixes: NB#92297 (Preview content is not clearly visible for
1411 default colour text)
1413 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1415 Reviewed the geometry that handles the children size and
1416 scrollbar, now it tries a size and reviews the results depending
1417 on the scrollbars visibility.
1419 * src/hildon-pannable-area.c,
1420 (hildon_pannable_area_realize): Fixed a typo.
1421 (hildon_pannable_area_child_allocate_calculate): Added this
1422 function to calculate the child allocation.
1423 (hildon_pannable_area_size_allocate): Reviewed the allocation
1425 (hildon_pannable_area_check_scrollbars),
1426 (hildon_pannable_area_refresh): Refactored refresh function, this
1427 way we can call the code handling the scrollbars without causing a
1428 size_request, it is interesting in the allocate.
1429 (hildon_pannable_area_init): Replace the callbacks of the
1430 value_changed and changed signals to propertly deal with the
1432 (hildon_pannable_area_grab_notify),
1433 (hildon_pannable_area_initial_effect),
1434 (hildon_pannable_area_launch_fade_timeout),
1435 (hildon_pannable_area_adjust_changed),
1436 (hildon_pannable_area_adjust_value_changed),
1437 (hildon_pannable_area_redraw),
1438 (hildon_pannable_area_button_press_cb),
1439 (hildon_pannable_area_button_release_cb),
1440 (hildon_pannable_area_scroll_cb),
1441 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1442 code and use the new functions adjust_changed and
1443 adjust_value_changed.
1445 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1446 Contact editor dialog)
1448 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1453 * configure.ac: Bump version.
1454 * debian/changelog: Updates.
1456 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1458 * src/hildon-pannable-area.c,
1459 (hildon_pannable_area_get_topmost),
1460 (hildon_pannable_area_button_press_cb),
1461 (hildon_pannable_area_button_release_cb),
1462 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1463 topmost function adding the event mask. We have to try a
1464 differente approach because it is still causing problems (NB#9745,
1467 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1469 * src/hildon-banner.c:
1470 Update the maximum width of timed banners.
1471 (force_to_wrap_truncated): Enforce the maximum text width if the
1474 Fixes: NB#102413 (The text margins (wrapping) in information
1475 banner should be HILDON_MARGIN_TRIPLE)
1477 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1479 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1481 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1482 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1483 bound when calculating the scroll indicator position.
1485 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1486 treat ->lower correctly)
1488 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1490 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1491 expose event handling, since it is not necessary to draw the focus
1494 Fixes: NB#102467 (Do not show highlight on the text in
1497 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1499 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1500 full height of the toolbar for the button and the label.
1502 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1504 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1505 padding before the label and after the button.
1507 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1509 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1511 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1512 Add a GtkVSeparator between the button and the back arrow.
1513 Let the button have automatic size.
1514 Set a name to the widget for theming handling.
1516 Fixes: NB#101793 (Make edit toolbar the same height as window
1517 title bar (use title area theming))
1519 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1521 * src/hildon-helper.c (attach_new_color_element): Fix memory
1524 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1526 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1528 * examples/hildon-button-example.c (common_buttons_window): Don't
1531 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1533 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1534 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1536 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1538 * src/hildon-gtk.c: Check that the window is realized.
1540 Fixes: NB#102225 (Crash setting the progress indicator to a non
1543 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1545 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1546 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1547 instead of modifying the one in the widget style.
1549 Fixes: NB#101043 (Second row of all the command button are
1550 displayed in transparent mode.)
1552 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1554 * src/hildon-date-button.c
1555 * src/hildon-time-button.c: Add gettext macros
1557 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1559 * src/hildon-date-button.c (hildon_date_button_new):
1560 * src/hildon-time-button.c (hildon_time_button_new_step):
1561 Use new logical strings to set the button default title.
1563 Fixes: NB#99915 (Date and Time options are not localised in Date
1566 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1568 * src/hildon-pannable-area.c
1569 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1570 the PANNING_THRESHOLD.
1572 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1574 * src/hildon-pannable-area.c,
1575 (hildon_pannable_area_class_init): Increased the maximum speed.
1576 (hildon_pannable_area_get_property),
1577 (hildon_pannable_area_set_property),
1578 (hildon_pannable_area_timeout): Added a new low friction mode, it
1579 allows the user avoid friction when launching the widget fast
1580 enough. It is interesting to traverse long lists.
1582 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1584 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1585 (+hildon_stackable_window_delete_event): Ignore delete events if
1586 the window is not the topmost one.
1588 Fixes: NB#101698 (Back button long press and delete-event handling)
1590 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1592 * src/hildon-pannable-area.c,
1593 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1594 gtk-dnd-drag-threshold, it was too big. We have defined our own
1595 dnd define and set a smaller value: PANNIG_THRESHOLD.
1597 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1599 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1600 user-defined icons, use always the default one.
1602 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1604 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1606 This patch was applied before but reverted because it caused
1607 problems, we have changed the main condition and tested the
1608 regressions we detected before and they work ok.
1610 * src/hildon-pannable-area.c,
1611 (hildon_pannable_area_get_topmost): Added a new parameter to
1612 filter the the windows that do not include those events. Added
1613 also a condition when finding the window to filter windows that do
1614 not ask for those events.
1615 (hildon_pannable_area_button_press_cb),
1616 (hildon_pannable_area_button_release_cb),
1617 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1618 topmost function, we have added the new parameter.
1620 Fixes: NB#97458 (Pannable area prevents propagation of button
1623 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1625 * tests/check-hildon-color-button.c (START_TEST): do not leak
1628 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1630 * src/hildon-font-selection-dialog.c
1631 (hildon_font_selection_dialog_get_preview_text): Return NULL
1632 instead of FALSE on the g_return_val_if_fail().
1634 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1636 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1637 * src/hildon-date-selector.c
1638 (hildon_date_selector_select_current_date):
1639 Do not compare unsigned integers to be greater than or equal 0,
1640 because it's always TRUE.
1642 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1644 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1645 (hildon_date_selector_constructor): Do not select the current
1646 date until we are handle the "changed" signal, to avoid having bogus
1647 elements in the days model.
1649 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1651 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1652 for num_days, since _month_days() can return a negative value.
1654 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1656 * src/hildon-caption.c (hildon_caption_size_allocate):
1657 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1658 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1660 Initialize allocation variables to 0, to avoid eventually using
1661 unitialized variables.
1663 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1665 * src/hildon-bread-crumb-trail.c
1666 (hildon_bread_crumb_trail_size_allocate):
1667 * src/hildon-calendar.c (hildon_calendar_set_background):
1668 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1669 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1670 * src/hildon-seekbar.c (hildon_seekbar_init):
1671 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1672 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1673 * src/hildon-touch-selector-entry.c
1674 (hildon_touch_selector_get_text_from_model):
1675 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1676 * src/hildon-window.c (hildon_window_finalize):
1678 Remove many unused variables.
1680 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1682 * src/hildon-seekbar.c: (hildon_seekbar_init),
1683 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1685 Remove unnecessary g_assert() calls.
1687 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1689 * src/hildon-caption.c: (hildon_caption_expose),
1690 (hildon_caption_set_property), (hildon_caption_init),
1691 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1692 (hildon_caption_size_request), (hildon_caption_size_allocate),
1693 (hildon_caption_forall), (hildon_caption_set_separator),
1694 (hildon_caption_activate), (hildon_caption_set_child_expand),
1695 (hildon_caption_set_label_text),
1696 (hildon_caption_get_label_alignment):
1698 Remove unnecessary g_assert() calls.
1700 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1702 * src/hildon-banner.c
1703 (hildon_banner_map, hildon_banner_init): Make banner temporary
1704 before mapping it to avoid closing other temporary windows, but
1705 make it non-temporary afterwards to avoid being closed by other
1706 non-temporary windows.
1707 (-hildon_banner_client_event, hildon_banner_init):
1708 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1710 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1713 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1715 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1718 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1720 * src/hildon-remote-texture.c
1721 * src/hildon-remote-texture.h
1722 * src/hildon-remote-texture-private.h
1723 * examples/hildon-remote-texture-example.c:
1724 Updates/fixes to remote-texture and its example.
1726 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1728 Patch by Mox Soini (ext-mox.soini@nokia.com)
1730 * src/hildon-code-dialog.c: Update logical id.
1731 * src/hildon-set-password-dialog.c: Update logical id.
1733 Fixes: NB#100646 (Logical strings is shown for ok in set
1734 password,Password needed dialogs)
1736 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1739 * src/hildon-remote-texture.c
1740 * src/hildon-remote-texture.h
1741 * src/hildon-remote-texture-private.h
1743 Added remote texture widget (for Clutter shared memory textures)
1745 * examples/hildon-remote-texture-example.c
1746 * examples/Makefile.am
1747 Added example file for remote texture usage
1749 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1751 * configure.ac: post release version bump.
1752 * debian/changelog: version bump.
1754 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1759 * configure.ac: Bump version.
1760 * debian/changelog: Updates.
1762 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1764 * src/hildon-date-selector.c (hildon_date_selector_init)
1765 (hildon_date_selector_constructor): Don't connect to the "changed"
1766 signal until the selector is completely constructed.
1768 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1770 * src/hildon-touch-selector.c: (_create_new_column),
1771 (hildon_touch_selector_append_column),
1772 (hildon_touch_selector_set_column_selection_mode),
1773 (hildon_touch_selector_set_active),
1774 (hildon_touch_selector_select_iter):
1775 Emit the HildonTouchSelector::changed signal every time selection
1776 is changed in any of the methods above. This behavior was already
1777 documented but not fully functional.
1779 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1780 selection is programmatically changed)
1782 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1784 * doc/hildon-sections.txt: Remove obsolete icon
1785 sizes from here as well.
1787 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1789 * examples/hildon-stackable-window-example.c (add_window): Remove
1792 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1794 * src/hildon-app-menu.c
1795 (hildon_app_menu_show): Check whether the parent window of a menu
1796 is topmost before popping it up.
1798 Fixes: NB#100468 (Application menu window is launched even when a
1799 new secondary-window/dialog is pending to be shown/realized.)
1801 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1803 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1806 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1808 Patch by Mox Soini (ext-mox.soini@nokia.com)
1810 * src/hildon-banner.c: (hildon_banner_show_animation):
1811 use stylus size instead of obsolete note size.
1812 * src/hildon-defines.h: Update icon sizes.
1814 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1816 * src/hildon-touch-selector-entry.c:
1817 (hildon_touch_selector_entry_init): Disable unsupported
1819 (hildon_touch_selector_entry_get_text_column): Emit a warning
1820 if an unsupported input modes is used and explicitile state
1821 these modes in the documentation.
1823 Fixes: NB#99802 (Hildon touch selector entry not working properly
1824 for some of the input modes)
1826 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1828 * src/hildon-pannable-area.c,
1829 (hildon_pannable_area_init): Added the changed signal handlers of
1832 Fixes: NB#100320 (HildonPannableArea does not listen to
1833 GtkAdjustment "change" signals)
1835 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1837 * doc/hildon-sections.txt
1838 * src/hildon-window-private.h
1839 * src/hildon-window.h
1840 * src/hildon-window.c (hildon_window_init)
1841 (hildon_window_realize, hildon_window_unrealize)
1842 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1843 (hildon_window_size_request, hildon_window_size_allocate)
1844 (hildon_window_forall, hildon_window_show_all)
1845 (hildon_window_destroy, +paint_edit_toolbar)
1846 (+hildon_window_set_edit_toolbar):
1847 New hildon_window_set_edit_toolbar() method, to add a
1848 HildonEditToolbar to a window without having to pack it manually.
1850 Reorganize hildon_window_size_allocate()
1852 * src/hildon-edit-toolbar.c: Update documentation.
1854 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1855 example to use the new API.
1857 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1859 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1861 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1862 Remove from stack before calling parent's hide.
1864 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1866 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1867 window is removed from the middle of the stack, update the
1868 transiency of the previous one.
1870 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1873 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1875 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1876 block/unblock the signal handler if it's not actually being used.
1877 Fixes some critical warnings.
1879 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1881 Based on a patch by Iván Gómez (igomez@igalia.com)
1883 * src/hildon-banner.c
1887 * src/hildon-pannable-area.c
1888 * src/hildon-picker-dialog.c
1889 * src/hildon-wizard-dialog.h
1890 * src/hildon-wizard-dialog.c: Documentation updates.
1892 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1893 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1895 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1897 * configure.ac: post release version bump.
1898 * debian/changelog: version bump.
1900 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1905 * configure.ac: Bump version.
1906 * debian/changelog: Updates.
1908 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1910 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1911 a stock icon nor change the relief of the back arrow.
1913 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1914 graphics from theme)
1916 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1918 * src/hildon-button.c (hildon_button_set_alignment): Use
1919 priv->alignment if the button has no child yet.
1921 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1923 * src/hildon-button.c: (hildon_button_init): Set the
1924 button style during initialization to give it the proper
1927 Fixes: NB#99713 (HildonButton value label color is wrong)
1929 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1931 * src/hildon-touch-selector.c: Document
1932 hildon_touch_selector_center_on_selected()
1934 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1936 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1937 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1938 all menu items, but not the menu itself.
1939 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1940 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1941 items after adding them to the menu so keyboard accelerators work.
1942 (hildon_app_menu_show): Don't show the menu if it contains items
1943 but none of them are visible.
1945 * examples/hildon-app-menu-example.c (create_menu): Use
1946 gtk_widget_show_all() to show all menu items.
1948 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1950 * src/hildon-picker-dialog.c:
1951 (-_update_title_on_selector_changed_cb),
1952 (-_dialog_update_title): Removed.
1953 (_select_on_selector_changed_cb), (_on_dialog_response),
1954 (on_selector_columns_changed): Do not update the dialog title.
1955 (setup_interaction_mode): Do not connect to
1956 HildonTouchSelector::changed signal if there's a "done" button, as
1957 the dialog title doesn't need to be updated.
1959 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1962 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1964 Patch by Kristian Rietveld (kris@imendio.com)
1966 * src/hildon-touch-selector.c: (_create_new_column): Use new
1967 GtkTreeView::hildon-row-tapped signal to react to user interactions
1968 instead of ::changed.
1970 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1971 with some dynamic tree model)
1973 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1975 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1976 (+screen_size_changed, +label_size_request)
1977 (hildon_note_class_init): Make the Hildon information note have a
1978 minimum height, and make its text hvae a maximum width.
1980 Fixes: NB#98614 (Hildon information note (background) should have
1981 minimum height and maximum text width)
1983 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1985 * src/hildon-banner.h
1986 * src/hildon-banner.c (hildon_banner_show_information)
1987 (hildon_banner_show_informationf)
1988 (hildon_banner_show_information_with_markup): Update documentation
1989 to reflect that the icon_name parameter is not used anymore.
1990 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1991 Remove all code from these functions and mark them as deprecated.
1992 (hildon_banner_show_progress): Mark as deprecated.
1994 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1996 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1998 * src/hildon-pannable-area.c,
1999 (hildon_pannable_area_class_init),
2000 (tranparency_color),
2001 (hildon_pannable_draw_vscroll),
2002 (hildon_pannable_draw_hscroll),
2003 (hildon_pannable_area_expose_event): Added a new way to render the
2004 scrollbars of the pannable area avoiding using cairo at all. This
2005 way we improve the performance of the pannable area rendering. The
2006 cairo rendering procedure is still in the code, we can control
2007 which one to use changing the value of the define
2008 USE_CAIRO_SCROLLBARS.
2010 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2012 * configure.ac: post release version bump.
2013 * debian/changelog: version bump.
2015 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2020 * configure.ac: Bump version.
2021 * debian/changelog: Updates.
2023 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2025 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2026 banners instead of destroying them when they receive a button
2029 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2031 Reverted commit 34028, it was causing regressions, probably the
2032 topmost condition is not correct, we have to check it in more
2033 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2034 propagation of button press events)
2036 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2038 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2039 that the selection is not empty before attempting to retrieve the
2040 current ampm selection.
2042 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2044 * src/hildon-picker-button.c:
2045 (hildon_picker_button_on_dialog_response): Directly update the
2046 button contents when required instead of calling _selection_changed.
2048 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2050 * src/hildon-program.c (hildon_program_update_top_most): Update
2051 'is-topmost' property also when wm_hints is not set.
2053 Fixes: NB#98383 (is-topmost signal is not emitted when task
2054 switcher is clicked.)
2056 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2058 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2062 * src/hildon-animation-actor.c,
2063 * src/hildon-animation-actor.h: Added the animation actor class,
2064 this widget represents an animation actor for WM-assisted
2065 animation effects in the Hildon framework.
2067 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2069 * src/hildon-window-stack-private.h
2070 * src/hildon-window-stack.c
2071 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2072 Avoid calling gtk_widget_show() again indirectly from
2073 hildon_stackable_window_show()
2075 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2077 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2080 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2082 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2083 (hildon_time_selector_init): Move the construction of the hours and
2084 ampm columns to the constructor to preserve the order the columns
2087 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2089 * src/hildon-picker-dialog.c:
2090 (hildon_picker_dialog_class_init): Connect a realize method.
2091 (+hildon_picker_dialog_realize): Setup the interaction mode here
2093 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2094 yet, do it during the realize instead.
2095 (_on_dialog_response):
2096 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2097 if the widget is not realized, to avoid the dialog response before it
2100 Avoid premature responses in the HildonPickerDialog that can cause it
2101 to be hidden before it's even shown.
2103 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2105 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2106 (on_selector_columns_changed), (requires_done_button),
2107 (+prepare_action_area), (setup_interaction_mode),
2108 (_hildon_picker_dialog_set_selector):
2110 Split the interaction mode setup into preparation of the
2111 action area (prepare_action_area()) and the connection of
2112 the signals in setup_interaction_mode() and update the code to
2115 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2117 * src/hildon-pannable-area.c,
2118 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2119 per second to 15, we will check if this is ok regarding
2122 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2124 * src/hildon-pannable-area.c,
2125 (hildon_pannable_axis_scroll): Avoid resize if we already have
2126 reached overshoot_max.
2128 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2130 * src/hildon-pannable-area.c,
2131 (hildon_pannable_area_init),
2132 (hildon_pannable_area_realize),
2133 (hildon_pannable_area_size_allocate),
2134 (hildon_pannable_area_map),
2135 (hildon_pannable_area_unmap),
2136 (hildon_pannable_draw_vscroll),
2137 (hildon_pannable_draw_hscroll),
2138 (hildon_pannable_area_expose_event),
2139 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2140 pannable are to avoid the expose events go to the window and
2141 redraw the window. We save this way that part of the stack and the
2142 paint_boxes. We had to change the positions of the elements when
2145 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2147 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2148 * src/hildon-color-chooser-dialog.c:
2149 (hildon_color_chooser_dialog_init):
2150 * src/hildon-font-selection-dialog.c:
2151 (hildon_font_selection_dialog_init),
2152 (hildon_font_selection_dialog_show_preview):
2153 * src/hildon-get-password-dialog.c:
2154 * src/hildon-login-dialog.c:
2155 * src/hildon-set-password-dialog.c:
2156 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2157 * src/hildon-time-picker.c: (hildon_time_picker_init):
2159 Remove obsolete logical string IDs and update to the appropriate ones.
2161 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2163 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2165 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2166 that happens if the window hasn't been realized yet.
2168 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2169 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2171 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2173 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2174 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2177 Fixes: NB#98537 (Device hangs in account settings dialog)
2179 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2181 * configure.ac: post release version bump.
2182 * debian/changelog: version bump
2184 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2189 * configure.ac: Bump version.
2190 * debian/changelog: Updates.
2192 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2194 Added a new function to the HildonTimeButton widget that allows to
2195 change the step of the minutes in the selector associated with the
2196 button: hildon_time_button_new_step
2198 * src/hildon-time-button.c,
2199 (hildon_time_button_init),
2200 (hildon_time_button_new),
2201 (hildon_time_button_new_step):
2202 * src/hildon-time-button.h: Added the new function and refactored
2204 * examples/hildon-time-button-example.c,
2205 (main): We have replaced the function without parameters with the
2206 function with the steps set to 5
2208 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2210 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2212 * src/hildon-time-selector.c,
2213 (hildon_time_selector_class_init),
2214 (hildon_time_selector_constructor),
2215 (hildon_time_selector_get_property),
2216 (hildon_time_selector_set_property),
2217 (_create_minutes_model),
2218 (hildon_time_selector_new_step),
2219 (hildon_time_selector_set_time),
2220 * src/hildon-time-selector.h: Added a new property to the
2221 HildonTimeSelector (minutes-step), we use that property to control
2222 the steps between the minutes in the list of the selector. We have
2223 added a new function to the API to create a widget changing the
2224 step: hildon_time_selector_new_step.
2226 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2228 * src/hildon-time-selector.c,
2229 (hildon_time_selector_class_init),
2230 (hildon_time_selector_constructor),
2231 (hildon_time_selector_init): Overrided the construct function when
2232 creating the time selector object. We have moved the minutes model
2233 handling code from the init to the new construction function:
2234 hildon_time_selector_constructor.
2236 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2238 * examples/hildon-date-button-example.c: (main): Use the new
2239 hildon_date_button_new_with_year_range() method in the example.
2240 * src/hildon-date-button.c:
2241 (+hildon_date_button_new_with_year_range): New public method
2242 to conveniently create a HildonDateButton with a custom year range
2243 in its HildonDateSelector.
2244 * src/hildon-date-button.h: Add the new public method definition.
2246 Fixes: NB#97908 (Not possible to change the year range in
2247 HildonDateSelector/HildonDateButton)
2249 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2251 * src/hildon-date-selector.c:
2252 (+hildon_date_selector_set_property),
2253 (+hildon_date_selector_get_property),
2254 (hildon_date_selector_class_init): Install new properties "min-year"
2255 and "max-year" to define boundaries for the year column.
2256 (_create_year_model): Use the boundary properties to populate the model.
2257 (+hildon_date_selector_new_with_year_range): New public method to
2258 create a HildonDateSelector with a user defined year range.
2259 (hildon_date_selector_select_current_date): Use the new boundaries to
2260 calculate the iterator of current year.
2261 * src/hildon-date-selector.h: Add the new public method definition.
2263 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2265 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2266 Install a constructor method.
2267 (+hildon_date_selector_construct_ui): construct the widget.
2268 (+hildon_date_selector_constructor): new constructor.
2269 (+hildon_date_selector_init): move out widget construction code to
2270 the new constructor.
2272 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2274 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2275 that there's actually a month or year selected before obtaining them.
2276 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2277 of the HildonTouchSelector::changed signal, as it was emitted on every
2278 single item selection.
2280 Fix some warnings and possible crashers due to the selection restoring.
2282 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2284 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2285 the signal handlers only after creating the dialog instead of on every
2288 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2290 * src/hildon-button.c (hildon_button_init)
2291 * src/hildon-check-button.c (hildon_check_button_init)
2292 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2293 focus when clicked by default.
2295 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2297 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2300 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2302 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2303 Alejandro G. Castro (alex@igalia.com)
2305 * src/hildon-picker-dialog.c:
2306 (hildon_picker_dialog_class_init): install new "center-on-show"
2308 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2309 (hildon_picker_dialog_set_property): add setter code for the new
2311 (hildon_picker_dialog_get_property): add getter code for the new
2313 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2314 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2317 Fixes: NB#92849 (Selected item is not always visible when
2318 HildonTouchSelector is shown)
2320 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2322 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2323 Alejandro G. Castro (alex@igalia.com)
2325 * src/hildon-touch-selector.c:
2326 (_create_new_column): Do not connect to the "realize" signal of the
2328 (hildon_touch_selector_append_column): center on the selected items
2329 when a new column is appended.
2330 (hildon_touch_selector_select_iter): Factor out the code to select a
2331 column to hildon_touch_selector_scroll_to().
2332 (+search_nearest_element): Method to retrieve the nearest selected
2333 element to the visible area of the pannable area in a column.
2334 (+on_realize_cb): scroll to the initially selected item.
2335 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2336 the pannable area is realized, otherwise delay this until it is.
2337 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2338 selected items of a given column.
2339 (+hildon_touch_selector_center_on_selected): Public method to center
2340 all columns on the nearest selected item.
2341 * src/hildon-touch-selector.h: Add definition for
2342 hildon_touch_selector_center_on_selected().
2344 Implement public API to ensure visibility of all selected items in
2345 a HildonTouchSelector.
2347 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2349 Fixed a problem in the fading when calling the scroll_to API, and
2350 improve scrollbar fading handling.
2352 * src/hildon-pannable-area.c,
2353 (hildon_pannable_area_grab_notify): avoid the timeout when the
2355 (hildon_pannable_area_button_press_cb),
2356 (hildon_pannable_area_motion_notify_cb): Code style changes.
2357 (hildon_pannable_area_button_release_cb): Review the conditions
2358 when releasing the mouse button to avoid unrequired fading
2360 (hildon_pannable_area_scroll_to): Do not calculate and set the
2361 velocity if the scroll is not required.
2363 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2365 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2366 Don't check whether the new selector is NULL: it cannot be.
2367 Hold a reference to the selector while doing the replacement.
2369 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2371 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2372 unnecessary size_request in a removed widget.
2374 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2376 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2377 an unnecessary reference tracking that was leaking.
2379 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2381 Added delayed motion notify event handling, this way we can
2382 discard redrawing if more than 25 events arrive per second.
2384 * src/hildon-pannable-area.c,
2385 (hildon_pannable_area_init): Initialized the new private atributes
2386 controlling this timeout
2387 (hildon_pannable_area_dispose): Remove the timeout that controls
2388 the motion notify events.
2389 (hildon_pannable_area_scroll): Added a condition to control the
2390 use of the acceleration.
2391 (hildon_pannable_area_motion_event_scroll_timeout),
2392 (hildon_pannable_area_motion_event_scroll): Added this two
2393 functions, they handle the motion notify events inside the
2395 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2396 to the scroll method with the new function.
2397 (hildon_pannable_area_button_release_cb): We have to remove the
2398 timeout handler and move to the last position if the last motion
2399 events were not handled.
2401 Fixes: NB#97028 (Pannable area updates on every motion event)
2403 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2405 * src/hildon-pannable-area.c,
2406 (hildon_pannable_area_get_topmost): Added a new parameter to
2407 filter the the windows that do not include those events. Added
2408 also a condition when finding the window to filter windows that do
2409 not ask for those events.
2410 (hildon_pannable_area_button_press_cb),
2411 (hildon_pannable_area_button_release_cb),
2412 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2413 topmost function, we have added the new parameter.
2415 Fixes: NB#97458 (Pannable area prevents propagation of button
2418 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2420 * src/hildon-pannable-area.c,
2421 (hildon_pannable_area_initial_effect): Added controls before
2422 launching the timeout and the idle functions.
2423 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2424 of the method, in some situations it can return with TRUE and 0 in
2426 (hildon_pannable_area_button_press_cb): We do not need to set
2427 DELAY for fading out here.
2429 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2431 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2433 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2434 post-cleaning if the selection is not NULL.
2436 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2438 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2439 all items before restoring the selection.
2441 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2443 * src/hildon-touch-selector.c:
2444 (+hildon_touch_selector_unselect_all):
2445 * src/hildon-touch-selector.h: New API to unselect all items in a
2446 column of the touch selector.
2448 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2450 * src/hildon-pannable-area.c,
2451 (hildon_pannable_area_redraw): Added a call to the refresh
2452 function inside the redraw because apparently in some cases the
2453 change in the adjustment does not imply a size allocate.
2455 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2456 despite the view not being scrollable)
2458 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2460 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2461 leak. Check for NULL before attempting to set the window title.
2463 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2465 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2466 whether to show or not the 'Done' button each time the dialog is
2467 shown, as it depends on the HildonTouchSelector selection mode.
2469 Fixes: NB#96226 (In multiple selection mode Done button is shown
2470 sometimes in listpicker)
2472 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2474 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2475 for the number of columns in the HildonTouchSelector more than once.
2477 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2479 * src/hildon-touch-selector.c: Minor documentation fixes.
2481 * src/hildon-picker-dialog.c (+_dialog_update_title)
2482 (_select_on_selector_changed_cb)
2483 (_update_title_on_selector_changed_cb)
2484 (on_selector_columns_changed): Update dialog title when there's no
2485 'Done' button and also when the number of columns in the selector
2489 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2490 (+_selection_changed, hildon_picker_button_on_dialog_response)
2491 (hildon_picker_button_selector_selection_changed)
2492 (+hildon_picker_button_selector_columns_changed)
2493 (hildon_picker_button_set_selector): Update button value and emit
2494 'value-changed' when the number of columns in the selector
2498 Fixes: NB#96225 (Dialog titles are not shown according to the
2499 values selected in the list picker)
2501 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2503 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2504 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2505 New "arrow-width" and "arrow-height" style properties to set the
2506 size of the arrow button.
2507 Set name of arrow button ("hildon-edit-toolbar-arrow").
2509 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2510 graphics from theme)
2512 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2514 * src/hildon-picker-button.c:
2515 (hildon_picker_button_selector_selection_changed): Use
2516 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2517 the dialog is present.
2519 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2520 the selection is accepted in the dialog)
2522 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2524 * src/hildon-color-chooser.h
2525 * src/hildon-color-chooser-dialog.h:
2526 Added G_BEGIN_DECLS and G_END_DECLS
2528 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2530 (_clean_current_selection): plug a leak in the list.
2532 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2534 * src/hildon-picker-dialog.c:
2535 (+free_path_list): Method to free a GList of GtkTreePaths.
2536 (_clean_current_selection), (_save_current_selection),
2537 (_restore_current_selection): Save the current selection in
2538 as a list of lists, to support multiple selection properly.
2540 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2542 patch by Claudio Saavedra (csaavedra@igalia.com)
2544 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2545 Store the press position.
2546 (+hildon_text_view_button_release_event): If the release position is
2547 close enough to the press position, move the cursor here. Otherwise,
2549 (hildon_text_view_class_init): Override GtkTextView press, release, and
2550 motion event handlers, disabling this way text selection through
2551 pointer interaction, and allowing the container widget to handle the
2554 Fixes: NB#95828 (HildonTextView functionality)
2556 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2558 Based on a patch by Iván Gómez (igomez@igalia.com)
2560 * src/hildon-button.[ch]
2561 * src/hildon-calendar.c
2562 * src/hildon-check-button.c
2563 * src/hildon-date-editor.c
2564 * src/hildon-date-selector.c
2565 * src/hildon-picker-button.c
2566 * src/hildon-time-editor.c
2567 * src/hildon-time-selector.c
2568 * src/hildon-touch-selector.[ch]:
2569 Documentation updates
2571 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2573 * src/hildon-pannable-area.c,
2574 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2575 threshold, it was required due to X events handling.
2577 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2579 * src/hildon-pannable-area.c,
2580 (hildon_pannable_area_grab_notify),
2581 (hildon_pannable_area_initial_effect),
2582 (hildon_pannable_area_button_press_cb),
2583 (hildon_pannable_area_button_release_cb),
2584 (hildon_pannable_area_scroll_cb),
2585 (hildon_pannable_area_scroll_to): Review the timeout management of
2586 the scrollbar, the frecuency was incorrectly set.
2588 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2590 * src/hildon-picker-button.c:
2591 (+hildon_picker_button_on_dialog_response),
2592 (hildon_picker_button_clicked): Present the dialog instead of
2593 running it with gtk_dialog_run().
2595 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2598 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2600 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2601 (hildon_app_menu_finalize): When a window is hidden it doesn't
2602 emit notify::is-topmost, so make sure than the menu also
2603 disappears in that case.
2604 (parent_window_topmost_notify): Renamed from parent_window_hidden
2606 Fixes: NB#94460 (stackable window's menu is not closed when its
2609 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2611 * src/hildon-touch-selector-entry.c:
2612 (+hildon_touch_selector_entry_set_input_mode),
2613 (+hildon_touch_selector_entry_get_input_mode):
2614 * src/hildon-touch-selector-entry.h: New methods to access the input
2615 mode in the selector's entry.
2617 Fixes: NB#93410 (API required for setting IM mode in
2618 HildonTouchSelectorEntry)
2620 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2622 * configure.ac: post release version bump.
2623 * debian/changelog: version bump
2625 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2630 * configure.ac: Bump version.
2631 * debian/changelog: Updates.
2633 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2635 * src/hildon-touch-selector.c:
2636 (_hildon_touch_selector_has_multiple_selection): No need
2637 to initialize the variables here.
2639 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2641 * src/hildon-note-private.h
2642 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2643 (hildon_note_finalize, hildon_note_rebuild): Close information
2644 notes when they receive a button press.
2646 Fixes: NB#89890 (Information notes does not get disappeared after
2649 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2651 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2652 mark from the wizard title, as it's not really necessary. Also,
2653 do not display the page title if not set.
2655 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2657 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2658 (parent_window_hidden): Use the window's "is-topmost" property to
2659 detect when to hide the menu.
2661 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2663 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2664 (hildon_app_menu_finalize): If the parent window of the menu is
2665 hidden, hide the menu too.
2667 Fixes: NB#94460 (stackable window's menu is not closed when its
2670 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2673 * debian/libhildon1-examples.install
2675 * examples/Makefile.am:
2676 Use dh_install to install all examples.
2677 Use DEB_SRCDIR instead of defining SOURCE_DIR
2679 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2681 * configure.ac: post release version bump.
2682 * debian/changelog: version bump
2684 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2689 * configure.ac: bump version
2690 * debian/changelog: updates
2691 * debian/control: bump gtk+ dependency
2693 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2695 patch by Christian Dywan (christian@imendio.com)
2697 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2698 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2700 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2702 * src/hildon-check-button.c (hildon_check_button_init)
2703 (hildon_check_button_class_init, hildon_check_button_style_set)
2704 (hildon_check_button_apply_style):
2705 New "checkbox-size" style property.
2707 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2708 larger / configurable size)
2710 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2712 * configure.ac: post release version bump.
2713 * debian/changelog: version bump
2715 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2720 * configure.ac: bump version
2721 * debian/changelog: updates
2723 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2725 * doc/hildon-sections.txt
2726 * src/hildon-pannable-area.c
2727 * src/hildon-program.c
2728 * src/hildon-time-editor.c
2729 * src/hildon-touch-selector-entry.c:
2731 More documentation updates.
2733 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2735 * doc/hildon-sections.txt
2736 * src/hildon-caption.c
2737 * src/hildon-code-dialog.c
2738 * src/hildon-color-button.c
2739 * src/hildon-controlbar.c
2740 * src/hildon-date-editor.c
2741 * src/hildon-date-selector.c
2742 * src/hildon-edit-toolbar.c
2743 * src/hildon-find-toolbar.c
2744 * src/hildon-font-selection-dialog.c
2746 * src/hildon-program.c
2747 * src/hildon-range-editor.c
2748 * src/hildon-seekbar.c
2749 * src/hildon-time-editor.c
2750 * src/hildon-time-selector.c
2751 * src/hildon-volumebar-range.c
2752 * src/hildon-volumebar.c
2753 * src/hildon-vvolumebar.c
2754 * src/hildon-weekday-picker.c
2755 * src/hildon-window.c
2756 * src/hildon-wizard-dialog.c:
2758 Lots of documentation fixes.
2760 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2762 Patch contributed by Iván Gómez (igomez@igalia.com)
2764 * src/hildon-check-button.c:
2765 * src/hildon-date-button.c:
2766 * src/hildon-date-selector.c:
2767 * src/hildon-dialog.c:
2768 * src/hildon-edit-toolbar.c:
2769 * src/hildon-entry.c:
2770 * src/hildon-picker-button.c:
2771 * src/hildon-program.c:
2772 * src/hildon-text-view.c:
2773 * src/hildon-time-button.c:
2774 * src/hildon-touch-selector-entry.c:
2775 * src/hildon-window-stack.c:
2777 Add more "since" tags to the new API.
2779 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2781 * doc/hildon-sections.txt: Add below method.
2782 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2783 version for the hildonized scale.
2784 * src/hildon-gtk.h: Add the definition.
2786 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2788 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2790 * doc/hildon-sections.txt: Add missing entries for new methods.
2792 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2794 Added API to pannable are in order to get its adjustments. We
2795 added two properties to manage the values we had in the private
2798 * src/hildon-pannable-area.c:
2799 (hildon_pannable_area_class_init): Added hadjustment and
2800 vadjustment properties in order to expose horizontal and vertical
2802 (hildon_pannable_area_get_property),
2803 (hildon_pannable_area_set_property): Added code to handle the new
2805 (hildon_pannable_area_get_hadjustment),
2806 (hildon_pannable_area_get_vadjustment): API functions to get the
2808 * src/hildon-pannable-area.h:
2809 (hildon_pannable_area_get_hadjustment),
2810 (hildon_pannable_area_get_vadjustment): API functions to get the
2813 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2815 Fixed some leaks, after valgrinding.
2817 * src/hildon-touch-selector.c:
2818 (_default_print_func): Fixed a leak.
2819 (hildon_touch_selector_append_column): Fixed a leak.
2820 * src/hildon-date-button.c:
2821 (hildon_date_button_init): Fixed a leak.
2822 * src/hildon-date-selector.c
2823 (hildon_date_selector_finalize): Fixed a leak.
2825 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2827 Based on a patch by Christian Dywan (christian@imendio.com)
2829 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2831 * src/hildon-gtk.h: Add definition.
2833 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2835 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2837 * src/hildon-picker-button.c: (hildon_picker_button_init),
2838 (hildon_picker_button_new): Set the HildonButton::style property
2839 in the init method, to propagate the value to the derived classes.
2841 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2843 * src/hildon-button.c: (hildon_button_class_init): Do not make
2844 the "style" property a construct property.
2846 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2848 * src/hildon-wizard-dialog.h
2849 * src/hildon-wizard-dialog.c
2850 (hildon_wizard_dialog_set_forward_page_func)
2851 * src/hildon-pannable-area.h
2852 * src/hildon-pannable-area.c
2853 (hildon_pannable_area_set_size_request_policy):
2854 Documentation fixes.
2856 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2858 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2860 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2862 * doc/hildon-sections.txt: Added sections file.
2864 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2867 * src/*.[ch]: Updates.
2869 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2871 * examples/hildon-progress-indicator-example.c: new file
2872 * examples/Makefile.am: include the new example program
2874 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2876 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2878 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2880 * configure.ac: post release version bump
2881 * debian/changelog: version bump
2883 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2888 * configure.ac: bump version
2889 * debian/changelog: updates
2890 * debian/control: bump gtk+ dependency
2892 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2894 * src/hildon-dialog.c: Mark as deprecated.
2895 * src/hildon-dialog.h: Mark as deprecated.
2896 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2897 from HildonDialog and still work, even if
2898 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2899 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2901 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2902 maemo changes) instead)
2904 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2906 * src/hildon-pannable_area.h:
2907 * src/hildon-pannable_area.c:
2908 (hildon_pannable_area_class_init),
2909 (hildon_pannable_area_set_property),
2910 (hildon_pannable_area_get_property),
2911 (hildon_pannable_area_size_request),
2912 (hildon_pannable_area_get_size_request_policy),
2913 (hildon_pannable_area_set_size_request_policy): Added new API
2914 allowing applications to control the request policy. Now they can
2915 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2916 children allocation (HILDON_MOVEMENT_CHILDREN).
2918 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2922 (hildon_gtk_tree_view_set_ui_mode)
2923 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2924 mode of treeviews and iconviews.
2926 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2928 * src/hildon-touch-selector-entry.c:
2929 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2930 of a GtkEntry to get proper theming.
2932 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2933 widget, not GtkEntry)
2935 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2937 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2938 no HildonWizardDialogPageFunc.
2940 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2942 Patch contributed by Iván Gómez (igomez@igalia.com)
2944 * src/hildon-app-menu.c:
2945 * src/hildon-button.c:
2946 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2947 * src/hildon-stackable-window.c:
2948 * src/hildon-time-selector.c:
2949 * src/hildon-touch-selector.c:
2950 * src/hildon-window.c:
2952 Add more "since" tags to the new API in hildon 2.2.
2954 2008-12-05 Tim Janik <timj@imendio.com>
2956 Patch contributed by Christian Dywan (christian@imendio.com)
2958 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2959 HildonSizeType, which are supplied by Gtk+ now.
2961 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2963 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2964 (with maemo changes) instead)
2966 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2968 Patch contributed by Iván Gómez (igomez@igalia.com)
2970 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2973 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2975 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2976 (some_page_func), (main): Update the example to use a
2977 HildonWizardDialogPageFunc function.
2979 * src/hildon-wizard-dialog-private.h: Add private data for
2980 the HildonWizardDialogPageFunc function usage.
2982 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2983 (destroy), (hildon_wizard_dialog_init), (response),
2984 (hildon_wizard_dialog_set_forward_page_func):
2985 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2986 that applications can use to stop a HildonWizardDialog to jump to
2989 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2992 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2994 * src/hildon-program.h
2995 * src/hildon-program-private.h
2996 * src/hildon-program.c (hildon_program_init)
2997 (hildon_program_set_common_app_menu)
2998 (hildon_program_get_common_app_menu):
2999 New API for setting a common HildonAppMenu for all
3000 HildonStackableWindows registered with the HildonProgram.
3002 * src/hildon-stackable-window.c
3003 (hildon_stackable_window_toggle_menu):
3004 Use the common HildonAppMenu if a window doesn't have a specific
3007 * src/hildon-app-menu-private.h
3008 * src/hildon-app-menu.c
3009 (hildon_app_menu_get_parent_window):
3010 Function to obtain the window a HildonAppMenu is attached to.
3011 (hildon_app_menu_set_parent_window):
3012 Hide the menu if the parent window is set to NULL.
3014 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3016 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3017 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3018 search widget to popup.
3020 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3022 * configure.ac: post release version bump
3023 * debian/changelog: version bump
3025 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3030 * configure.ac: bump version
3031 * debian/changelog: updates
3033 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3035 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3037 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3038 (hildon_window_stack_window_realized)
3039 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3040 Set the leader GdkWindow when a window is stacked and realized,
3041 unset it when it's unstacked.
3042 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3044 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3046 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3048 * src/hildon-stackable-window.h
3049 * src/hildon-window-stack.h:
3050 Protect definition of HildonWindowStack using the preprocessor.
3052 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3054 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3055 Fix warning if all menu items are hidden.
3057 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3059 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3061 * src/hildon-controlbar.c:
3062 * src/hildon-hvolumebar.c:
3063 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3064 Multiple scale size defines updates.
3066 Fixes: NB#94322 (Scale Updates)
3068 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3070 * examples/hildon-app-menu-example.c (create_menu)
3071 Show items after adding them to the menu, as in the future the
3072 menu will no longer call gtk_widget_show() on the added items.
3074 * src/hildon-app-menu.c:
3075 Update example as explained above.
3077 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3079 * src/hildon-app-menu.c
3080 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3081 Make sure that all menu items have finger height.
3083 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3085 * src/hildon-picker-dialog.c:
3086 (_on_dialog_response), (_save_current_selection),
3087 (_restore_current_selection), (_clean_current_selection),
3088 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3089 Defined new functions in order to save the current internal selector
3090 selection previous open the dialog, in case that the use cancel the
3091 interaction, so the widget restores the previous selection.
3093 Fixes: NB#92032 (In calendar application, date values in 'new event'
3096 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3098 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3100 * src/hildon-button.c: Add a reference to the button examples in
3101 hildon-button-example.c
3103 * examples/hildon-button-example.c: Added examples of the most
3104 common button layouts.
3106 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3108 * src/hildon-app-menu.c (hildon_app_menu_show)
3109 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3111 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3113 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3115 * src/hildon-picker-dialog.c:
3116 (hildon_picker_dialog_init): Initialize the signal id for
3117 HildonTouchSelector::columns-changed.
3118 (+on_selector_columns_changed): Set up the interaction mode everytime a
3119 column is added or removed from the HildonTouchSelector.
3120 (_hildon_picker_dialog_set_selector): Connect to
3121 HildonTouchSelector::columns-changed and keep track of it.
3123 Make sure to update the interaction mode of the dialog everytime a
3124 column is added or removed in the HildonTouchSelector.
3126 Fixes: NB#93228 (Done button is not shown always in listpicker)
3128 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3130 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3131 a new ::columns-changed signal.
3132 (hildon_touch_selector_append_column): Emit ::columns-changed.
3133 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3135 Add a ::columns-changed signal, emitted when the number of columns in a
3136 HildonTouchSelector changes.
3138 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3140 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3141 (_hildon_picker_dialog_set_selector): Factor out the code
3142 to set up the dialog interaction mode.
3144 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3146 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3147 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3148 to signal_changed_id.
3150 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3152 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3155 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3157 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3158 Updated the logical ids related to ampm format, as now it is required to
3159 show it correctly localized even on languages with no default
3160 abbreviations for am or pm
3161 (_check_am_pm_format): check correctly the 24h format gconf property
3163 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3165 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3167 * src/hildon-button.c: Documentation updates.
3169 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3171 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3172 * src/hildon-caption.c: (hildon_caption_class_init):
3173 * src/hildon-color-button.c: (hildon_color_button_class_init):
3174 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3175 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3176 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3177 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3179 Remove deprecated GTK+ marshalers and replace them with the ones
3180 provided by GLib, for those available, add a marshaler for
3181 BOOLEAN:VOID, which is not available in GLib, and use it.
3183 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3185 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3186 the text from the previous column if there is no
3187 HildonTouchSelectorColumn::text-property set.
3189 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3191 * src/hildon-button.h
3192 * src/hildon-button.c (hildon_button_set_property)
3193 (hildon_button_get_property, hildon_button_class_init)
3194 (hildon_button_set_style, hildon_button_get_style):
3195 New "style" property to change the visual appearance of the
3198 * src/hildon-picker-button.c (hildon_picker_button_new):
3199 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3201 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3202 HildonButton look like PickerButton)
3204 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3206 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3207 column while building the default string.
3209 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3211 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3212 scroll indicator by default.
3214 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3216 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3218 * src/hildon-main.c: Fix the documentation for hildon_init()
3220 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3222 * doc/hildon-docs.sgml
3226 * src/hildon-window-stack-private.h
3227 * src/hildon-window-stack.h
3228 * src/hildon-window-stack.c:
3229 New HildonWindowStack object, that adds support for multiple
3230 stacks of windows per process.
3232 * src/hildon-stackable-window-private.h
3233 * src/hildon-stackable-window.h
3234 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3235 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3236 (hildon_stackable_window_show, hildon_stackable_window_hide)
3237 (hildon_stackable_window_class_init)
3238 (hildon_stackable_window_init):
3239 Use HildonWindowStack for stack management.
3241 * src/hildon-program.c (hildon_program_pop_window_stack)
3242 (hildon_program_peek_window_stack)
3243 (hildon_program_go_to_root_window):
3244 Add a fallback implementation to the deprecated functions using
3247 * examples/hildon-stackable-window-example.c:
3248 Use the new HildonWindowStack API.
3250 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3252 * src/hildon-stackable-window-private.h
3253 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3254 (hildon_stackable_window_hide, hildon_stackable_window_init):
3255 Remove all window stack management.
3257 * src/hildon-program-private.h
3258 * src/hildon-program.h
3259 * src/hildon-program.c (hildon_program_init)
3260 (hildon_program_pop_window_stack)
3261 (hildon_program_peek_window_stack)
3262 (hildon_program_go_to_root_window):
3263 Remove all window stack management and mark functions as
3266 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3268 * src/hildon-app-menu.c (hildon_app_menu_realize):
3269 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3271 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3273 * configure.ac: post release version bump
3274 * debian/changelog: version bump
3276 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3281 * configure.ac: bump version
3282 * debian/changelog: updates
3284 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3286 Based on initial code by Christian Dywan (christian@imendio.com)
3288 * doc/hildon-docs.sgml: Add section for hildon-main.
3289 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3290 * src/Makefile.am: Add new hildon-main.[ch]
3291 * src/hildon-defines.h: Update the icon sizes.
3292 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3293 new library initialization files and register icon sizes.
3294 * src/hildon-main.h: New declarations.
3295 * src/hildon.h: Include hildon-main.h
3297 Add new initialization functions to the library. These methods
3298 will register the hildon specific icon sizes and can be used in the
3299 future for other hildon specific bits.
3301 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3303 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3305 * src/hildon-window.c: (hildon_window_realize),
3306 (hildon_window_notify), (-hildon_window_update_title): Do not set
3307 the application name in the window title.
3309 Fixes: NB#89754 (Applications shouldn't display their names in the
3312 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3314 * src/hildon-note-private.h:
3315 * src/hildon-note.c: (hildon_note_set_property),
3316 (hildon_note_get_property), (hildon_note_class_init),
3317 (hildon_note_init), (hildon_note_finalize),
3318 (hildon_note_new_confirmation_with_icon_name),
3319 (hildon_note_new_information_with_icon_name):
3321 No need to mark as deprecated the actual code. Revert
3322 to avoid missing symbols in widgets using deprecated API.
3324 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3326 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3328 * src/hildon-volumebar.h
3329 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3330 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3332 * src/hildon-helper.h
3333 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3334 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3336 * examples/Makefile.am:
3337 Deprecate hildon-insensitive-example
3339 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3341 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3343 * examples/hildon-pannable-area-buttons-scroll-example.c:
3344 Make all buttons finger height
3346 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3348 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3350 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3351 update the day model only if it is really required, and to avoid the
3352 full-reconstruction aproach. Now it only add or remove the required days.
3354 The purpose of this is avoid superfluous HildonTouchSelector::changed
3357 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3358 with strange parameters)
3360 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3362 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3364 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3365 the WINDOW_TYPE property.
3367 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3369 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3372 Fix dependency to allow parallel compilation with make -jX
3374 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3376 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3377 color frame and some minor tweaks to make it more consistent with
3380 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3381 highlighted but not visible)
3383 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3385 * examples/Makefile.am: Fixed typo in the Makefile.am.
3387 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3389 Reviewed the use of MAEMO_GTK define, now we add the define in the
3390 compilation line, and we also add it to the pc file.
3392 * configure.ac: Added MAEMO_GTK define to the compilation command
3393 and removed it from the config.h.
3395 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3396 do not have to take care about this define if the library was
3400 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3402 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3404 * examples/Makefile.am,
3405 * examples/hildon-pannable-area-buttons-scroll-example.c,
3406 * examples/hildon-pannable-area-gesture-signals-example.c,
3407 * examples/hildon-pannable-area-scroll-jump-example.c,
3408 * examples/hildon-pannable-area-tree-view-example.c:
3409 Renamed the pannable area examples, now they have more meaningful
3412 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3414 * src/hildon-touch-selector.c:
3415 (hildon_touch_selector_set_column_selection_mode): Used of
3416 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3417 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3418 to avoid re-seting the same selection mode.
3420 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3421 breaks HildonPickerDialog)
3423 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3425 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3426 conditional in the Makefile.am
3428 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3430 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3431 Remove unused methods.
3433 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3435 * src/hildon-button.c (hildon_button_init):
3436 Make button images center-aligned by default
3438 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3441 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3442 activated, we have to think about how to deal with both defines
3443 MAEMO_GTK and MAEMO_CHANGES.
3445 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3447 * examples/hildon-app-menu-example.c (create_menu): Make all
3448 buttons finger size.
3450 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3452 Fixed the compilation without maemo gtk adding ifdefs with
3453 MAEMO_GTK define to the code, we have to check this version more
3456 * examples/Makefile.am: Added control to avoid some examples that
3457 just make sense with maemo gtk.
3460 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3461 hildon modes with the define.
3463 * examples/hildon-edit-toolbar-example.c,
3464 (create_icon_view): Create the icon view without hildon-gtk
3465 helpers if we are not using maemo gtk.
3467 * src/hildon-touch-selector.c,
3468 (_create_new_column): Create the treeview without hildon-gtk
3469 helpers if we are not using maemo gtk.
3471 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3473 * src/hildon-pnnable-area.c,
3474 (hildon_pannable_area_dispose),
3475 (hildon_pannable_area_button_press_cb),
3476 (hildon_pannable_area_child_mapped),
3477 (hildon_pannable_area_add),
3478 (hildon_pannable_area_remove): Added code to control the position
3479 of the event_window when adding and removing children from the
3480 pannable. We have to raise the event window when the child is
3483 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3484 selection mode using custom widget inside pannable)
3486 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3488 * configure.ac: post release version bump
3489 * debian/changelog: version bump
3491 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3496 * configure.ac: bump version
3497 * debian/changelog: updates
3499 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3501 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3502 search mode, in order to avoid lose the focus on the treeview when
3503 a hw key (like enter) is pressed.
3505 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3506 in HildonDateSelector dialog)
3508 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3510 * debian/rules: Added --enable-maintainer-mode
3511 * Makefile.am: Added ACLOCAL_AMFLAGS
3513 This allows to properly regenerate the Makefiles if you modify the
3514 configure.ac or any Makefile.am.
3516 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3518 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3519 properties, not needed at all.
3521 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3523 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3525 * src/hildon-note.c: (hildon_note_set_property),
3526 (hildon_note_get_property), (hildon_note_class_init),
3527 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3528 (hildon_note_new_confirmation_add_buttons): Remove icons.
3529 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3530 (hildon_note_new_information_with_icon_name): Deprecate.
3531 (hildon_note_new_confirmation): Act directly, without calling
3532 the deprecated constructor.
3533 (hildon_note_new_information): Act directly, without calling
3534 the deprecated constructor.
3535 * src/hildon-note.h: Mark deprecate methods as such.
3536 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3537 not run tests on the deprecated methods if built with deprecation
3540 Fixes: NB#91688 (Never show icons in information notes/confirmation
3543 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3545 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3546 (hildon_app_menu_key_press): Remove leftover usage of the
3547 private structure in HildonAppMenu struct.
3548 * src/hildon-app-menu.h: Remove leftover private structure
3549 from the HildonAppMenu struct.
3551 Fixes a crasher when using the HildonAppMenu.
3553 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3555 * src/hildon-picker-dialog.c: Use appropriate logical id
3556 for the default "Done" text.
3558 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3560 * configure.ac: post release version bump
3561 * debian/changelog: version bump
3563 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3565 Modified the way to scroll to the current selection just when the touch
3566 selector is shown on the screen, avoiding a g_idle. Added too a property
3567 to configure this behaviour. See hildon_pannable_area_jump_to_child
3568 documentation for more information.
3570 * src/hildon-touch-selector.c
3571 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3572 Added 'initial-scroll' property
3573 (hildon_touch_selector_set_property): Added
3574 (hildon_touch_selector_map): Removed as not required anymore
3575 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3576 only a concrete column, instead of iterate along all the columns
3578 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3583 * configure.ac: bump version
3584 * debian/changelog: updates
3586 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3588 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3589 compilation time warnings.
3591 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3593 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3594 the default value for HildonPannableArea::mov-mode to
3595 HILDON_PANNABLE_AREA_MODE_VERT.
3597 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3599 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3601 Reverting following commit:
3603 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3605 * src/hildon-app-menu-private.h
3606 * src/hildon-app-menu.[ch]
3607 * src/hildon-button.[ch]
3608 * src/hildon-check-button.[ch]
3609 * src/hildon-entry.[ch]
3610 * src/hildon-pannable-area.[ch]
3611 * src/hildon-text-view.[ch]:
3612 Added private field to the object's structure.
3614 because it causes an ABI breakage. We will need to introduce these
3615 changes later at some point. See NB#91636 for an extensive
3616 explanation and status.
3618 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3620 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3622 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3623 remove special cases that are no longer necessary.
3625 Fixes: NB#91016 (Change toolbar sizes, simplification)
3627 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3629 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3630 is shown in the cancel note.
3632 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3634 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3635 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3636 (hildon_seekbar_init): Remove steppers, remove expose event.
3637 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3639 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3641 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3643 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3644 label font to "SmallSystemFont" for vertically arranged buttons.
3646 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3649 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3651 * src/hildon-check-button.c
3652 (hildon_check_button_set_active, hildon_check_button_clicked):
3653 Don't access private parts directly, use getters instead.
3655 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3657 * src/hildon-check-button.c (hildon_check_button_new):
3658 Align the contents of the check button to the left.
3660 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3662 * src/hildon-pannable-area.c,
3663 (hildon_pannable_area_scroll_to),
3664 (hildon_pannable_area_jump_to),
3665 (hildon_pannable_area_scroll_to_child),
3666 (hildon_pannable_area_jump_to_child): Replace the mapped
3667 precondition of these functions with the realized, it is the
3668 correct state of the widget in this case. Changed the
3669 documentation according to this modification.
3671 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3673 Added a new EXTRA_CFLAGS option to add the deprecated define to
3674 the compilation command. This way we can avoid using the define in
3675 the documentation compilation.
3677 * configure.ac: Defined EXTRA_CFLAGS.
3679 * examples/Makefile.am:
3681 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3683 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3685 * src/hildon-picker-dialog.c:
3686 Defined a utility macro with the desired touch selector height
3687 Removed currently unused separator, and title_label variables from
3689 (hildon_picker_dialog_init): Removed code related to the creation
3690 of unused private variables title_label and separator.
3691 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3692 to ensure correct visualization of the touch selector inside the dialog.
3693 * src/hildon-touch-selector.c
3694 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3695 ensure a concrete height of the widget.
3697 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3700 * tests/Makefile.am:
3702 Remove spurious whitespaces.
3704 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3706 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3707 compilation warning after the cancel button removal.
3709 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3711 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3713 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3714 Makefile.am, that way we can choose not to compile some examples
3715 and tests of the deprecated widgets.
3717 * examples/Makefile.am: Divided the sources in deprecated and
3720 * src/Makefile.am: Added undef statement of the deprecated
3721 symbol to the enums file generation process.
3723 * src/hildon-color-chooser-dialog.c
3724 * src/hildon-color-chooser-dialog.h
3725 * src/hildon-color-button.c
3726 * src/hildon-color-button.h
3727 * src/hildon-color-chooser.c
3728 * src/hildon-color-chooser.h
3729 * src/hildon-controlbar.c
3730 * src/hildon-controlbar.h
3731 * src/hildon-date-editor.c
3732 * src/hildon-date-editor.h
3733 * src/hildon-hvolumebar.c
3734 * src/hildon-hvolumebar.h
3735 * src/hildon-private.c
3736 * src/hildon-private.h
3737 * src/hildon-range-editor.c
3738 * src/hildon-range-editor.h
3739 * src/hildon-seekbar.c
3740 * src/hildon-seekbar.h
3741 * src/hildon-time-editor.c
3742 * src/hildon-time-editor.h
3743 * src/hildon-time-picker.c
3744 * src/hildon-time-picker.h
3745 * src/hildon-volumebar.c
3746 * src/hildon-volumebar.h
3747 * src/hildon-vvolumebar.c
3748 * src/hildon-vvolumebar.h
3749 * src/hildon-bread-crumb-trail.h
3750 * src/hildon-bread-crumb-trail.c
3751 * src/hildon-calendar-popup.c
3752 * src/hildon-calendar-popup.h
3753 * src/hildon-weekday-picker.c:
3754 * src/hildon-weekday-picker.h:
3755 * src/hildon-bread-crumb-widget.c:
3756 * src/hildon-bread-crumb-widget.h:
3757 * src/hildon-bread-crumb.c:
3758 * src/hildon-bread-crumb.h:
3759 * src/hildon-calendar.c:
3760 * src/hildon-calendar.h:
3761 * src/hildon-caption.c:
3762 * src/hildon-code-dialog.c:
3763 * src/hildon-code-dialog.h:
3764 * src/hildon-font-selection-dialog.c:
3765 * src/hildon-font-selection-dialog.h:
3766 * src/hildon-get-password-dialog.c:
3767 * src/hildon-get-password-dialog.h:
3768 * src/hildon-login-dialog.c:
3769 * src/hildon-login-dialog.h:
3770 * src/hildon-number-editor.c:
3771 * src/hildon-number-editor.h:
3772 * src/hildon-set-password-dialog.c:
3773 * src/hildon-set-password-dialog.h:
3774 * src/hildon-sort-dialog.c:
3775 * src/hildon-sort-dialog.h: This is the list of deprecated
3778 * src/hildon-touch-selector.c:
3779 * src/hildon-window.c: Added undef statement to avoid compilation
3782 * tests/Makefile.am: Divided the sources in deprecated and
3785 * tests/check_test.c,
3786 (configure_tests): Marked the deprecated code that was adding
3787 suites with deprecated tests.
3789 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3791 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3793 * src/hildon-touch-selector.c: (_default_print_func): Do not
3794 duplicate a string returned by gtk_tree_model_get(), it is already
3797 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3800 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3802 * src/hildon-pannable-area.c
3803 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3804 method, it had problems when adding a widget with viewport the
3805 second time. Now checks if it already has a viewport and uses it.
3807 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3810 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3812 * src/hildon-pannable-area.c,
3813 (hildon_pannable_area_scroll_to),
3814 (hildon_pannable_area_jump_to),
3815 (hildon_pannable_area_scroll_to_child),
3816 (hildon_pannable_area_jump_to_child): Added a precondition to the
3817 scroll and jump to functions: the widget must be mapped before we
3818 can safely call these functions. We have also added documentation
3819 to the functions to explain how to use them in this situation.
3822 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3824 Reviewed the threading handling of the pannable widget, we have
3825 used the gdk_threads_add_timeout function instead of the usual
3826 glib handlers. This avoids some problems with the threads.
3828 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3829 (hildon_pannable_area_initial_effect),
3830 (hildon_pannable_area_scroll_indicator_fade),
3831 (hildon_pannable_area_button_press_cb),
3832 (hildon_pannable_area_timeout),
3833 (hildon_pannable_area_motion_notify_cb),
3834 (hildon_pannable_area_button_release_cb),
3835 (hildon_pannable_area_scroll_cb),
3836 (hildon_pannable_area_scroll_to): Removed the
3837 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3838 gdk_threads_add_timeout.
3840 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3842 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3847 * configure.ac: bump version
3848 * debian/changelog: updates
3850 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3852 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3853 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3854 * src/hildon-color-chooser-dialog.c:
3855 (hildon_color_chooser_dialog_init):
3856 * src/hildon-font-selection-dialog.c:
3857 (hildon_font_selection_dialog_init):
3858 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3860 Remove all cancel/close-like dialogs, as these are not going to be
3863 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3865 * src/hildon-note.c: (hildon_note_rebuild),
3866 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3869 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3871 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3873 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3874 sure all buttons are shown, even the Cancel/Close-like ones.
3876 Fixes: NB#90861 (Custom Confirmation dialogs should be
3877 protected from cancel button removal)
3879 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3881 * debian/control: Change libhildon1-examples dependency from libhildon1
3883 * debian/libhildon1-examples.install
3885 * Makefile.am: Modified the final install directory for the examples on
3886 package libhildon1-examples
3887 * Makefile.static: Update clean target in order to remove all the binary
3890 Changes suggested by Claudio after review new libhildon1-examples package
3892 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3894 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3895 * src/hildon-touch-selector.c: Ditto.
3897 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3899 * debian/control: Added new package libhildon1-examples, in order to pack
3900 the current hildon examples as documentation
3901 * debian/rules: Not to compress .c files, modify some includes on the
3902 examples (as normally are compiled locally, but when installed it will
3903 require to include the installed libhildon1 library), and rename
3905 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3906 install all the example files on the new example package
3907 * examples/Makefile.static: Added static makefile that can be used to
3908 compile the examples, once installed the new example package
3909 * examples: Most of the examples were modified in order to grant that
3910 all use only '#include "hildon.h"', in order to be easy to prepare
3911 it on the example package
3913 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3916 * debian/libhildon1-dev.install
3917 * debian/libhildon1-doc.install:
3918 Move all gtk-doc files to a separate libhildon1-doc package.
3920 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3922 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3924 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3926 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3928 * debian/rules: Fixed a error in order to avoid unnecessary calls
3929 to autogen.sh on package building
3931 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3933 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3935 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3937 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3940 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3942 * src/hildon-picker-button.c
3943 (hildon_picker_button_finalize):
3944 Free priv->done_button_text
3946 * src/hildon-time-button.c
3947 (hildon_time_button_set_time)
3948 * src/hildon-picker-button.c
3949 (hildon_picker_button_clicked)
3950 (hildon_picker_button_selector_selection_changed)
3951 (hildon_picker_button_set_selector)
3952 * src/hildon-date-button.c
3953 (hildon_date_button_set_date):
3954 Free strings returned by hildon_touch_selector_get_current_text()
3956 * src/hildon-button.c (hildon_button_construct_child):
3957 Fix leaks in priv->image and priv->label_box
3959 Fixes: NB#90535 (Memory leak in picker button)
3961 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3963 * src/hildon-button.c: (hildon_button_get_property): Do not access
3964 private elements directly, use getters instead.
3966 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3968 * src/hildon-app-menu-private.h
3969 * src/hildon-app-menu.c
3970 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3971 Store the menu's parent window.
3973 * src/hildon-stackable-window.c
3974 (hildon_stackable_window_toggle_menu)
3975 (hildon_stackable_window_finalize):
3976 Set the menu's parent window when the menu is shown, unset it when
3979 * src/hildon-app-menu.c
3980 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3981 (hildon_app_menu_class_init):
3982 Send unhandled keyboard accelerators to the parent window.
3984 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3986 * src/hildon-stackable-window.c
3987 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3989 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3991 * configure.ac: post release version bump
3993 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3996 * configure.ac: Bump version
3997 * debian/changelog: Updates
3998 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4001 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4003 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4006 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4007 GtkMenu with Hildon style.
4009 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4011 * src/hildon-picker-button.c:
4012 (hildon_picker_button_set_done_button_text): Set the dialog's
4013 done button text here as well.
4015 Fixes: NB#90232 (Picker button does not set the label on done button
4016 for the second time)
4018 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4020 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4023 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4025 * src/hildon-app-menu.c (hildon_app_menu_insert)
4026 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4027 the HildonAppMenu to be activatable using keyboard accelerators
4028 when the menu is not being shown.
4030 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4032 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4034 * src/hildon-stackable-window.c
4035 (hildon_stackable_window_show):
4036 Don't hide old windows automatically when new windows are shown:
4037 this is now a task for the window manager.
4038 (hildon_stackable_window_class_init)
4039 (hildon_stackable_window_hide):
4040 Remove windows from the stack everytime they're hidden.
4041 (hildon_stackable_window_realize):
4042 Don't change the _NET_WM_WINDOW_TYPE property. Use
4043 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4044 it as a stackable window.
4046 * src/hildon-program.c
4047 (hildon_program_pop_window_stack):
4048 Just hide the window to remove it from the stack.
4049 (hildon_program_go_to_root_window):
4050 Don't call gtk_widget_show(), this is now a task for the window
4053 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4055 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4057 * src/hildon-button.c
4058 (hildon_button_construct_child):
4059 Don't pack anything in the button until text or image are
4060 set. This allows adding a custom child after creating the button
4061 with hildon_button_new().
4062 (hildon_button_finalize, hildon_button_class_init)
4063 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4064 alignment and the label box even when they're not packed in the
4067 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4069 * src/hildon-touch-selector.h:
4070 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4071 currently the type definition was using GTK_TYPE_VBOX
4072 * src/hildon-touch-selector.c:
4073 Added some implementation notes in order to clarify that any other widget
4074 added without the column related API will not be included on the
4075 selection logic, and how the widget is freed, as some people ask about
4077 (hildon_touch_selector_remove): Reimplemented in order to free properly
4078 the column related data when you remove the private hbox.
4079 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4080 to get a proper HildonTouchSelectorColumn documentation
4082 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4084 * src/hildon-touch-selector-entry.c:
4085 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4086 text in the GtkEntry and there is no item selected. Fixes a
4089 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4091 * src/hildon-app-menu-private.h
4092 * src/hildon-app-menu.[ch]
4093 * src/hildon-button.[ch]
4094 * src/hildon-check-button.[ch]
4095 * src/hildon-entry.[ch]
4096 * src/hildon-pannable-area.[ch]
4097 * src/hildon-text-view.[ch]:
4098 Added private field to the object's structure.
4100 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4102 * configure.ac: post-release version bump
4104 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4108 * configure.ac: pre-release version bump
4110 * debian/changelog: updates.
4112 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4114 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4115 Disconnect the handler for HildonTouchSelector::changed.
4117 (hildon_picker_button_selector_selection_changed): Update the button
4118 value if the selection change was not triggered by the
4121 (hildon_picker_button_set_selector): connect to
4122 HildonTouchSelector::changed.
4124 Fixes: NB#89650 (Picker button is not updated, when selection in
4125 selector has changed)
4127 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4129 * src/hildon-picker-dialog.c
4130 (hildon_picker_dialog_realize): Removed as not required
4131 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4132 * src/hildon-picker-button.c
4133 (_current_selector_empty): New function, checks if the selector is empty
4134 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4135 if the current selector is empty, in order to avoid to show the dialog
4136 close the dialog in this case (and shows a g_warning).
4138 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4140 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4142 * src/hildon-pannable-area.c,
4143 (hildon_pannable_area_scroll): Added clause to stop movement when
4144 the child of pannable is smaller than one page.
4145 (hildon_pannable_area_scroll_to): Added conditions to avoid
4146 starting the scrolling movement if the child is smaller than one
4147 page, the complete child is in the screen, we do not have to move.
4149 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4151 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4153 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4154 this is managed automatically by the widget when the size of the
4157 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4159 * src/hildon-picker-button.c
4160 (hildon_picker_button_set_done_button_text): Make a copy of the
4161 text, and free the previous value.
4163 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4165 * src/hildon-touch-selector-entry.c:
4166 (hildon_touch_selector_entry_print_func): Return the selected row's
4167 text if the entry is empty.
4169 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4172 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4174 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4176 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4179 * src/hildon-check-button.h
4180 * src/hildon-check-button.c
4181 * examples/hildon-check-button-example.c:
4182 HildonCheckButton is now a new widget. 'toggled' signal added.
4184 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4186 * src/hildon-program-private.h
4187 * src/hildon-program.c (hildon_program_init)
4188 (hildon_program_finalize): Removed unused variables group_leader
4189 and name from HildonProgramPrivate.
4191 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4193 * src/hildon-check-button.c (hildon_check_button_set_active)
4194 (hildon_check_button_get_active, hildon_check_button_new): Use
4195 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4197 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4199 * src/hildon-touch-selector.h
4200 (hildon_touch_selector_set_column_attributes): added deprecation
4201 guard HILDON_DISABLE_DEPRECATED
4202 * src/hildon-time-selector.c
4203 (hildon_time_selector_set_time)
4204 (hildon_time_selector_get_time): Fixed a typo on documentation
4205 * src/hildon-touch-selector.c: update HildonTouchSelector and
4206 HildonTouchSelectorColumn documentation
4207 * src/hildon-touch-selector-entry.c: update "text-column" property
4209 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4210 to be added to the general documentation.
4212 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4214 * examples/hildon-pannable-area-example-4.c,
4216 * examples/hildon-pannable-area-example.c,
4217 (main): Modified the code in order to use the container add, with
4218 viewport treeviews could have problems if they are really big.
4220 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4222 * src/hildon-weekday-picker.c,
4223 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4224 the agreement regarding deprecation in the library.
4226 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4228 * examples/hildon-picker-button-multicolumn-example.c:
4229 (main): Use custom "done" button text.
4231 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4232 (hildon_picker_button_set_property),
4233 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4234 (hildon_picker_button_init),
4235 (+hildon_picker_button_get_done_button_text),
4236 (+hildon_picker_button_set_done_button_text): New methods to customize
4237 the "done" button label in the launched HildonPickerDialog. Also,
4240 * src/hildon-picker-button.h: add the public API.
4242 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4244 * src/hildon-date-selector.h:
4245 * src/hildon-picker-dialog.h:
4246 * src/hildon-time-selector.h:
4247 * src/hildon-touch-selector-column.h:
4248 * src/hildon-touch-selector.h:
4250 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4251 declarations. Fixes gtk-doc warnings.
4253 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4255 * src/hildon-picker-dialog.h
4256 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4257 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4259 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4260 long text is set as label for done button)
4262 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4264 * src/hildon-dialog.c (hildon_dialog_add_button):
4265 Set fixed width to all buttons in the HildonDialog.
4267 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4269 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4271 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4272 Set widget name using class name plus "-finger" or "-thumb".
4274 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4276 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4277 'clicked' when the state of the button is manually changed.
4279 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4281 * src/hildon-app-menu.c (hildon_app_menu_realize)
4282 (hildon_app_menu_unrealize, hildon_app_menu_init)
4283 (hildon_app_menu_class_init, item_visibility_changed):
4284 Change the menu layout when the size of the screen changes.
4285 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4286 Show warning only when changing the number of colums using the
4289 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4291 * debian/compat: Set to 5
4292 * debian/control: Update dependencies.
4293 * debian/libhildon1-dbg.install: Remove.
4294 * debian/libhildon1-dev.install: Update according to cdbs paths.
4295 * debian/libhildon1.install: Update according to cdbs paths.
4296 * debian/rules: Switch to cdbs.
4298 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4300 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4301 'item' variable renamed to 'filter'
4303 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4305 * src/hildon-app-menu.c (hildon_app_menu_insert)
4306 (hildon_app_menu_add_filter, remove_item_from_list)
4307 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4308 Don't leak hidden items when the menu is destroyed.
4310 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4312 * src/hildon-app-menu.c (hildon_app_menu_insert)
4313 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4314 (hildon_app_menu_set_columns, item_visibility_changed)
4315 (filter_visibility_changed, hildon_app_menu_repack_filters)
4316 (hildon_app_menu_repack_items):
4317 Repack items and filters separately.
4319 Don't repack all items, change only the ones that are needed to
4322 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4324 * src/Makefile.am: added hildon-touch-selector-column.h
4326 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4328 * src/hildon-touch-selector.c: added the property "text-column" to the
4329 class HildonTouchSelectorColumn, and related get/set functions
4330 (_default_printf_func): updated to use "text-column" property
4331 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4332 "text-column" in his documentation, as this is now included on
4333 HildonTouchSelectorColumn. The get/set_property can still be used,
4334 working as a wrapper to the concrete column "text-column" property
4335 (_text_column_modified): callback added in order to handle the signal
4336 "notify::text-column" of the concrete HildonTouchSelectorColumn
4337 (hildon_touch_selector_entry_get_text_column)
4338 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4339 modified in order to use the HildonTouchSelectorColumn "text-column"
4341 * src/hildon-time-selector.c:
4342 * src/hildon-date-selector.c:
4343 * examples/hildon-touch-selector-example.c
4344 * examples/hildon-touch-selector-multi-cells-example.c
4345 * examples/hildon-picker-button-multicolumn-example.c
4346 Set the right value to "text-column" property on the creation of a new
4347 column using hildon_touch_selector_append_column()
4349 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4351 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4353 * src/hildon-app-menu.c
4354 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4355 updating the layout of the menu, don't create all widgets again,
4356 just repack the items in their new places.
4358 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4360 * src/hildon-time-selector.c
4361 (hildon_time_selector_get_time)
4362 (hildon_time_selector_set_time)
4363 Added documentation of these public methods
4365 * src/hildon-date-button.h
4366 * src/hildon-touch-selector-column.h
4367 * src/hildon-time-button.h
4368 * src/hildon-picker-dialog.h
4369 * src/hildon-time-selector.h
4370 * src/hildon-picker-button.h
4371 * src/hildon-touch-selector.h
4372 * src/hildon-time-picker.h
4373 * src/hildon-date-selector.h
4374 * src/hildon-touch-selector-entry.h
4375 Modified in order to use hildon-widgets code style
4377 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4379 Added deprecated support to the compilation process using
4380 HILDON_DISABLE_DEPRECATED
4382 * configure.ac: Added the --disable-deprecated to the configure
4385 * src/hildon-weekday-picker.c:
4386 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4387 to use the deprecated support. We will update the other deprecated
4388 widgets status in a new patch.
4390 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4392 * configure.ac: Fixed typo with fatal warnings support, the
4393 variable name was not correct
4395 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4397 * src/hildon-app-menu.c
4398 * src/hildon-program.c: Update documentation.
4400 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4402 * configure.ac: Post-release version bump.
4404 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4409 * configure.ac: Pre-release version bump.
4410 * debian/changelog: Updates.
4412 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4414 * NEWS: Update news for previous releases.
4416 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4418 * examples/hildon-touch-selector-multi-cells-example.c:
4419 (create_selector): Update the example to use
4420 hildon_touch_selector_append_column() with a NULL renderer and set
4421 the renderers later.
4422 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4423 passed a NULL renderer. This is documented behavior now.
4425 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4426 This must be used if the developer wants full control on the layout of
4427 the renderers to be added to the column.
4429 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4431 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4433 * src/hildon-touch-selector.c: Documentation fixes.
4435 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4437 * src/hildon-wizard-dialog-private.h: Remove image and box.
4438 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4439 (hildon_wizard_dialog_set_property), (response): Completely remove
4440 image/icon support, and the containers required for the layout.
4442 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4444 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4446 * src/hildon-app-menu.c: Updated documentation.
4448 * src/hildon-stackable-window.c
4449 (hildon_stackable_window_set_main_menu): Unref the old menu after
4450 ref'ing the new one.
4452 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4454 * src/hildon-stackable-window.c
4455 (hildon_stackable_window_set_main_menu): Unref the previous menu
4456 instead of destroying it.
4458 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4459 floating reference and set has_user_ref_count to FALSE to make
4460 HildonAppMenu act like a normal ref-counted widget and not a
4463 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4466 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4468 * src/hildon-touch-selector-column.h: new file
4469 * src/hildon-touch-selector.h
4470 * src/hildon-touch-selector.c
4471 Implemented GtkCellLayout interface, in order to allow to configure
4472 the cell layout on each individual selector column
4473 (hildon_touch_selector_set_column_attributes): marked as deprecated
4474 * examples/hildon-touch-selector-multi-cells-example.c
4475 Example of how to use the GtkCellLayout interface on the selector
4477 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4479 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4481 * src/hildon-app-menu.h
4482 * src/hildon-app-menu.c
4483 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4484 (hildon_app_menu_append, hildon_app_menu_prepend):
4485 New methods to prepend, insert and move items in the menu.
4487 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4489 * src/hildon-wizard-dialog.c:
4491 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4493 (create_title): Update logical IDs and related code.
4494 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4496 * src/hildon-wizard-dialog.h: Note that
4497 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4498 point, as it is not used anymore.
4500 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4502 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4504 * src/hildon-note.c:
4505 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4506 shown. Do not display an icon in confirmation notes nor information
4508 (hildon_note_set_button_text): Update logical ID for cancel button.
4510 Fixes: NB#88850 (Update HildonNote button strings + signals)
4512 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4514 * src/hildon-stackable-window.c
4515 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4517 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4519 * src/hildon-app-menu-private.h
4520 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4521 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4522 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4523 temporary property 'columns' to change the number of columns.
4525 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4527 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4529 * examples/hildon-note-example.c: (on_information_clicked),
4530 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4531 debugging information.
4532 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4534 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4535 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4536 in order to close: this will be handled by the WM from now on.
4538 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4540 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4542 * src/hildon-app-menu-private.h
4543 * src/hildon-app-menu.c
4544 (hildon_app_menu_append, hildon_app_menu_add_filter)
4545 (button_visibility_changed, hildon_app_menu_apply_style)
4546 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4547 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4548 layout everytime a button (item or filter) is shown or hidden.
4550 * src/hildon-stackable-window.c
4551 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4554 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4556 * src/hildon-touch-selector.c:
4557 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4558 that the treeview inside the touch selector is in fremantle hildon mode
4559 * examples/hildon-date-button-example.c
4560 * examples/hildon-picker-button-multicolumn-example.c
4561 * examples/hildon-touch-selector-entry-example.c
4562 * examples/hildon-touch-selector-example.c
4563 * examples/hildon-time-button-example.c
4564 * examples/hildon-picker-button-example.c:
4565 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4567 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4569 * examples/hildon-text-view-example.c: (main): Remove the
4570 gtkrc bits, now handled by the theme.
4572 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4574 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4577 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4579 * po/Makefile.am: Install properly the mo files.
4580 * po/en_GB.po: Update translation, to ease testing purposes.
4582 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4584 * examples/hildon-picker-button-example.c: (main): Select an item
4585 in the selector before setting it to the button.
4587 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4589 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4590 Update button's value if the selector has an item active.
4592 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4593 'value' with the selector)
4595 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4597 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4598 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4599 (hildon_picker_button_class_init): Plug the finalize method.
4600 (hildon_picker_button_set_selector): If there's a previously set
4601 selector, unref'it before setting a new one.
4603 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4604 HildonTouchSelector)
4606 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4608 * src/hildon-touch-selector-entry.c:
4609 (hildon_touch_selector_entry_changed): Check if there is no text
4610 selected before setting the entry text.
4613 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4615 * src/hildon-touch-selector.h
4616 * src/hildon-touch-selector.c
4617 (hildon_touch_selector_get_active)
4618 (hildon_touch_selector_set_active): New methods to set/get the
4619 index of the selected item.
4621 * src/hildon-picker-button.h
4622 * src/hildon-picker-button.c
4623 (hildon_picker_button_get_active)
4624 (hildon_picker_button_set_active): New methods to set/get the
4625 index of the selected item.
4627 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4629 * configure.ac: post-release version bump.
4631 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4635 * configure.ac: Pre-release version bump.
4636 * debian/changelog: Updates.
4637 * debian/control: Add myself as maintainer and depend on l10n
4640 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4642 * src/hildon-window.c
4643 (hildon_window_set_main_menu)
4644 * src/hildon-stackable-window.c
4645 (hildon_stackable_window_set_main_menu):
4646 Updated documentation.
4648 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4650 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4651 Don't free selector->priv manually.
4654 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4657 (hildon_gtk_window_set_progress_indicator):
4658 * src/hildon-gtk.h: Added the new API
4659 hildon_gtk_window_set_progress_indicator, it changes the state of
4660 the window progress hint.
4662 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4664 * src/hildon-button.c
4665 * src/hildon-stackable-window.c: Minor documentation updates.
4667 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4669 * src/hildon-stackable-window.c: Updated documentation.
4671 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4673 * src/hildon-defines.h: Update margins definitions
4674 to the Fremantle sizes.
4677 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4679 * src/hildon-touch-selector.c,
4680 (_hildon_touch_selector_set_model): Cleaning the code after
4681 review, removed g_print and #if 0 from the code.
4683 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4685 * src/hildon-edit-toolbar.c: Update documentation.
4687 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4689 * src/hildon-check-button.h
4690 * src/hildon-check-button.c
4691 (hildon_check_button_set_label, hildon_check_button_get_label)
4692 * examples/hildon-check-button-example.c
4693 (button_clicked_cb):
4694 Removed deprecated methods.
4696 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4698 * src/hildon-text-view.c:
4699 Add sample code to the documentation.
4701 * src/hildon-entry.h
4702 * src/hildon-text-view.h:
4703 Minor cosmetic changes.
4705 * src/hildon-entry.c:
4706 Add sample code to the documentation.
4707 (hildon_entry_init, hildon_entry_refresh_contents):
4708 Don't allow NULL values in the placeholder.
4710 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4712 * doc/hildon-docs.sgml
4714 * examples/Makefile.am
4715 * examples/hildon-text-view-example.c
4717 * src/hildon-text-view.c
4718 * src/hildon-text-view.h
4720 New HildonTextView widget, with example.
4722 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4724 * po/POTFILES.in: Add missing files with translatable strings.
4725 Partially fixes NB#88287.
4727 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4729 * examples/hildon-pannable-area-example-2.c: (main): No need to
4730 set the cellrenderer height inside hildon touch lists, the theme does
4733 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4735 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4736 they are integrated in the theme.
4738 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4740 * examples/hildon-entry-example.c: Update the example adding
4741 widgets to modify the text and the placeholder of the HildonEntry.
4743 * src/hildon-entry.c: Show the placeholder everytime the widget
4744 is empty and loses the focus.
4746 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4748 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4750 * src/hildon-pannable-area.c,
4751 (hildon_pannable_area_size_request): Fixed bug in height
4752 requisition, avoid increasing size and add border twice.
4754 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4756 * configure.ac: postrelease version bump.
4758 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4762 * configure.ac: Prerelease version bump.
4763 * debian/changelog: update.
4764 * debian/rules: make -dbg package contain useful debugging symbols.
4766 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4768 * src/hildon-dialog.h
4769 * src/hildon-dialog.c
4770 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4771 New methods to add buttons with finger size.
4772 (hildon_dialog_new_with_buttons):
4773 Create buttons with finger size.
4775 * examples/hildon-dialog-example.c (main): Use HildonDialog
4776 methods to add buttons.
4778 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4780 * src/hildon-entry.c: Updated HildonButton documentation.
4782 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4784 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4785 button value label with (FALSE, FALSE) to prevent NB#88126 from
4788 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4790 * examples/hildon-pannable-area-example.c,
4791 (main): Removed examples panning a vbox inside a pannable
4792 area. Check bug NB#87965
4794 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4796 Patch contributed by Kris Rietveld (kris@imendio.com)
4798 * src/hildon-pannable-area.c,
4799 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4800 get_size and get_position, this saves an X server roundtrip.
4802 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4804 * doc/hildon-docs.sgml
4806 * examples/Makefile.am
4807 * examples/hildon-entry-example.c
4809 * src/hildon-entry.c
4810 * src/hildon-entry.h
4812 New HildonEntry widget, with example.
4814 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4816 * src/hildon-button.c (hildon_button_construct_child): Pack the
4817 image with expand == fill == FALSE. This is a workaround for a bug
4820 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4822 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4823 labels for the text column, to make it more look more dynamic.
4825 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4827 * src/hildon-time-selector.c
4828 Define gettext auxiliar macro N_
4829 (_create_minutes_model)
4830 (_create_hours_model)
4831 (_create_ampm_model): use of strftime in order to fill the model
4832 * src/hildon-date-selector.c
4833 (hildon_date_selector_finalize):
4834 (_locales_init): remove the logic related to get the name of the months
4835 using nl_langinfo, as it is not required anymore
4837 (_create_year_model)
4838 (_create_month_model)
4839 (_update_day_model): use of strftime in order to fill the model properly
4842 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4844 * src/hildon-button.h
4845 * src/hildon-button.c (hildon_button_get_image): New method to
4848 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4850 * src/hildon-touch-selector.c:
4851 (hildon_touch_selector_remove_column): Remove from the correct parent
4852 and also remove the list element and free it.
4855 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4857 * src/hildon-time-selector.c
4858 (_create_hours_model): change the range on 12h ampm format in order to use
4859 a 12-11 range instead of previous 01-12 range
4860 (hildon_time_selector_set_time): change the way to select the current time
4861 on 12h ampm format, due the change on the range
4862 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4865 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4867 * src/hildon-touch-selector.c
4868 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4869 in order to allow use this function on multiple row selection mode if
4870 the column is different that the first one
4873 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4875 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4876 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4878 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4880 * src/hildon-date-selector.h: clean some comments, now on the .c
4881 * src/hildon-date-selector.c
4882 (hildon_date_selector_select_month): first implementation
4883 (hildon_date_selector_select_day): added documentation, reimplemented
4884 using hildon_date_selector_select_current_date to avoid repeat code
4887 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4889 Reviewed interaction logic based on device experiences, refactored
4892 * src/hildon-pannable-area.c,
4893 (hildon_pannable_area_class_init): Updated default vmax speed.
4894 (hildon_pannable_area_calculate_velocity): Added this function, it
4895 avoids duplicate valocity calculation. Adjusted calculation to
4896 avoid problems with zero dist events.
4898 (hildon_pannable_area_motion_notify_cb): Now we use the
4899 calculate_velocity function.
4901 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4903 * src/hildon-date-selector.c
4904 (hildon_date_selector_select_current_date): fix the day range check
4905 as it failed using the last day of the current month
4908 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4910 * src/hildon-touch-selector.c
4911 (hildon_touch_selector_get_num_columns): added a parameter validation
4914 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4916 * examples/Makefile.am
4917 * examples/hildon-edit-toolbar-example.c: Example of the
4918 HildonEditToolbar widget.
4920 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4922 * configure.ac: postrelease version bump.
4924 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4928 * configure.ac: prerelease version bump.
4929 * debian/changelog: update.
4931 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4933 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4934 renderer to display stock icons in the touch list. Also, set the sizes
4935 to the recommended in the style guide.
4937 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4938 * src/hildon-touch-selector.h
4939 (hildon_touch_selector_set_active_iter): renamed, now is
4940 hildon_touch_selector_select_iter
4941 (hildon_touch_selector_get_active_iter): renamed, now is
4942 hildon_touch_selector_get_selected
4943 (hildon_touch_selector_unselect_iter): added
4944 * src/hildon-touch-selector.c
4945 Update after API modification (methods renamed)
4946 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4947 order to avoid problems selecting multiple elements on the column
4948 (hildon_touch_selector_unselect_iter): added the implementation
4949 * src/hildon-time-selector.c
4950 * src/hildon-date-selector.c
4951 * src/hildon-touch-selector-entry.c
4952 Update methods calls after hildon-touch-selector.h API modification (methods
4955 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4957 * src/hildon-stackable-window.c
4958 (hildon_stackable_window_finalize): Call the parent class's finalize.
4960 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4962 * examples/hildon-touch-selector-example.c: (create_selector): Use
4963 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4966 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4968 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4969 set a cell background color, to respect theming.
4971 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4973 * doc/hildon-docs.sgml
4976 * src/hildon-edit-toolbar.c
4977 * src/hildon-edit-toolbar.h
4978 * src/hildon.h: New HildonEditToolbar widget.
4980 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4982 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4985 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4986 * src/hildon-touch-selector.c
4987 (_create_new_column): use g_object_set instead of two g_object_set_property
4989 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4990 * src/hildon-touch-selector.c
4991 (_create_new_column): use of hildon_gtk_tree_view_new to create
4992 the treeview, instead of use directly g_object_new
4993 (_create_new_column): update the property name "vindicator-mode" for the
4994 new one "vscrollbar-policy"
4995 * examples/hildon-date-button-example.c
4996 * examples/hildon-picker-button-multicolumn-example.c
4997 * examples/hildon-touch-selector-entry-example.c
4998 * examples/hildon-touch-selector-example.c
4999 * examples/hildon-time-button-example.c
5000 * examples/hildon-picker-button-example.c
5001 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5002 to all the treeviews inside a pannable area.
5004 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5006 * src/hildon-button.h
5007 * src/hildon-button.c (hildon_button_init)
5008 (hildon_button_set_arrangement, hildon_button_set_alignment)
5009 (hildon_button_set_title_alignment)
5010 (hildon_button_set_value_alignment)
5011 (hildon_button_set_image_alignment)
5012 (hildon_button_construct_child): New methods to set the alignment
5013 of the individual components of the button (title, value,
5014 image). Also, new method to alter the xscale and yscale properties
5015 of the GtkAlignment inside the button, so more complex layouts can
5018 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5020 * src/hildon-button.c (hildon_button_style_set)
5021 (hildon_button_class_init, hildon_button_set_arrangement)
5022 (hildon_button_construct_child): Apply style properties
5023 correctly. Use the 'image-spacing' style property too.
5025 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5027 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5028 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5031 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5033 * src/hildon-pannable-area.c,
5034 (hildon_pannable_area_size_request): Fixed problem with
5035 pannable-area size_request.
5037 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5039 Added management for the grab-focus to a child widget, like a
5040 range, we need to fade out the scrollbar when releasing.
5042 * src/hildon-pannable-area.c,
5043 (hildon_pannable_area_init): Connected the grab-focus signal to
5045 (hildon_pannable_area_grab_notify): Added this function in order
5046 to manage the situation when the grab-focus ends. We have to
5047 fade-out the scrollbar.
5049 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5051 * src/hildon-app-menu.c: Minor documentation update.
5053 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5055 * src/hildon-app-menu.c
5056 * examples/hildon-app-menu-example.c (create_menu): Update
5057 examples and documentation to explain how to connect callbacks.
5059 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5061 * examples/hildon-button-example.c
5062 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5063 hildon_stackable_window_new instead of gtk_window_new
5065 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5067 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5068 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5069 (hildon_pannable_area_set_property),
5070 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5071 (hildon_pannable_area_unrealize),
5072 (hildon_pannable_area_size_request),
5073 (hildon_pannable_area_size_allocate),
5074 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5075 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5076 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5077 (hildon_pannable_area_initial_effect),
5078 (hildon_pannable_area_redraw),
5079 (hildon_pannable_area_scroll_indicator_fade),
5080 (hildon_pannable_area_expose_event),
5081 (hildon_pannable_area_get_topmost), (synth_crossing),
5082 (hildon_pannable_area_button_press_cb),
5083 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5084 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5085 (hildon_pannable_area_motion_notify_cb),
5086 (hildon_pannable_area_button_release_cb),
5087 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5088 (hildon_pannable_area_remove),
5089 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5090 chage the code layout to a more GtkWidget like. Review the use of
5093 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5095 * examples/hildon-pannable-area-example-4.c,
5096 (main): Modified the name of the hindicator_mode to
5099 * src/hildon-pannable-area.c,
5100 (hildon_pannable_area_class_init),
5101 (hildon_pannable_area_motion_notify_cb),
5102 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5103 we have reduced the amount of signals and managed reviewed its
5104 rationale. Changed the default decelerate value.
5106 (hildon_pannable_area_add),
5107 (hildon_pannable_area_redraw): Refactored functions.
5109 (hildon_pannable_area_init),
5110 (hildon_pannable_area_get_property),
5111 (hildon_pannable_area_set_property):
5112 (hildon_pannable_draw_vscroll),
5113 (hildon_pannable_draw_hscroll),
5114 (hildon_pannable_area_initial_effect),
5115 (hildon_pannable_area_expose_event),
5116 (hildon_pannable_area_scroll),
5117 (hildon_pannable_area_button_press_cb),
5118 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5119 and vindicator_mode with hscrollbar_policy and
5120 vscrollbar_policy. Replaced hscroll and vscroll with
5121 hscroll_visible and vscroll_visible.
5123 (hildon_pannable_area_refresh): Refactor the function, remove
5124 variables and check the calls to this function, added resize
5125 conditions in case the children change their layout.
5127 (hildon_pannable_area_size_request): Added more detailed
5128 size_request calculation.
5131 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5133 * src/hildon-color-chooser.c
5134 (init_borders): use the correct gtk_border_free instead of g_free, to
5135 avoid a crash when this widget is used (ie: the three color selection
5138 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5140 * src/hildon-check-button.c,
5141 (hildon_check_button_set_active): Fixed problem when setting the
5142 active value, the widget was not redrawn.
5144 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5146 * src/hildon-pannable-area.c,
5147 (hildon_pannable_area_refresh),
5148 (hildon_pannable_area_scroll),
5149 (hildon_pannable_area_motion_notify_cb): Small code style change.
5151 (hildon_pannable_area_class_init): Default initial_hint set to
5152 FALSE, it is not in the specs.
5154 (hildon_pannable_area_initial_effect),
5155 (hildon_pannable_area_expose_event),
5156 (hildon_pannable_area_map),
5157 (hildon_pannable_area_init): Moved the launching point of the
5158 initial effect, it was in map but the sizes where not correct in
5159 that method so we do not know if we have the reproduce it. Now it
5160 is placed in the expose_event method and uses a variable to
5161 reproduce it just once.
5163 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5165 * src/hildon-pannable-area.c,
5166 (hildon_pannable_draw_vscroll),
5167 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5168 position allowed for the scrollbars.
5170 (hildon_pannable_area_size_allocate): Small style change.
5172 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5174 * src/hildon-pannable-area.c,
5175 (hildon_pannable_area_scroll_indicator_fade),
5176 (hildon_pannable_area_button_press_cb),
5177 (hildon_pannable_area_button_release_cb),
5178 (hildon_pannable_area_scroll_cb),
5179 (hildon_pannable_area_expose_event),
5180 (hildon_pannable_area_init): Added the define parameter
5181 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5182 and refactor the fade variable.
5184 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5186 * src/hildon-pannable-area.c,
5187 (hildon_pannable_area_redraw),
5188 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5189 lines, we were reimplemeting the redraw code.
5191 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5193 * src/hildon-pannable-area.c,
5194 (hildon_pannable_area_scroll_cb),
5195 (hildon_pannable_area_realize),
5196 (hildon_pannable_area_class_init): Added scroll_event management
5197 for pannable area, now we can scroll the usual desktop method.
5199 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5200 initialization of the parameters should depend on idle_id.
5202 (hildon_pannable_area_init),
5203 (hildon_pannable_area_map): Small code style modifications
5205 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5207 * src/hildon-pannable-area.c
5208 (hildon_pannable_area_button_press_cb),
5209 (hildon_pannable_area_motion_notify_cb),
5210 (hildon_pannable_area_button_release_cb),
5211 (hildon_pannable_area_size_allocate),
5212 (hildon_pannable_area_scroll_to): Improved the timeouts
5213 management, we avoid creating them each time.
5215 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5217 * src/hildon-pannable-area.c:
5218 (hildon_pannable_area_refresh),
5219 (hildon_pannable_area_motion_notify_cb),
5220 (hildon_pannable_area_class_init):
5221 * src/hildon-pannable-area.h:
5222 * src/hildon-touch-selector.c
5223 (_create_new_column):
5224 * examples/hildon-pannable-area-example-4.c:
5225 (horizontal_movement),
5226 (vertical_movement),
5228 Replaced the names of enums in the HildonPannableArea:
5229 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5230 HILDON_MOVEMENT_MODE_*
5231 - HILDON_PANNABLE_AREA_MOV_* ->
5233 - Removed HildonPannableAreaIndicatorMode, now we
5236 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5238 * examples/hildon-pannable-area-touch-grid-example.c
5239 * examples/hildon-pannable-area-touch-list-example.c: Fix
5240 compilation warnings.
5242 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5244 * src/hildon-gtk.c (hildon_gtk_button_new)
5245 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5246 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5247 images overriding the value of the "gtk-button-images" setting.
5249 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5251 * src/hildon-check-button.c (hildon_check_button_new):
5252 Instead of using a custom container, display the label and the
5253 checkbox using the standard GtkButton API.
5255 * examples/hildon-check-button-example.c (main): Don't use
5256 hildon_check_button_set_label() anymore
5258 * src/hildon-check-button.h
5259 * src/hildon-check-button.c
5260 (hildon_check_button_set_label, hildon_check_button_get_label):
5261 Set as deprecated, now we're using gtk_button_{get,set}_label()
5263 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5265 * src/hildon-pannable-area.c,
5266 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5267 GtkTreeview first line we detected it after the inclusion of the
5268 GtkWindowImpl in gtk+. We now check if the window is visible, not
5269 just if the pointer is over the window.
5270 (hildon_pannable_axis_scroll),
5271 (hildon_pannable_area_expose_event): Small style changes.
5273 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5275 * src/hildon-button.c: Update documentation.
5277 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5279 * examples/hildon-button-example.c: Add a switch to show images in
5282 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5284 * doc/hildon-docs.sgml: Some docs reorganization.
5286 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5288 * examples/hildon-pannable-area-touch-list-example.c
5290 * examples/hildon-pannable-area-touch-grid-example.c
5291 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5292 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5293 Fix memory leak when setting the tree model.
5295 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5299 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5301 * doc/hildon.types: Remove duplicated hildon_window_get_type
5302 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5303 documentation comment.
5305 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5307 * doc/Makefile.am: Complete list of private headers.
5309 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5311 * doc/hildon-docs.sgml
5312 * src/hildon-app-menu.c
5313 * src/hildon-bread-crumb.c
5314 * src/hildon-button.c
5316 * src/hildon-program.c
5317 * src/hildon-stackable-window.c
5318 * src/hildon-window.c: Lots of documentation updates.
5320 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5322 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5324 * configure.ac: Require Gtk+ 2.12.9 at least
5326 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5328 * src/hildon-pannable-area.c
5329 (hildon_pannable_area_scroll_indicator_fade),
5330 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5331 to protect the return of this timeout callbacks, avoiding deadlocks.
5333 2008-08-12 Christian Dywan <christian@imendio.com>
5336 * src/hildon-*.h: Ensure a consistent include order,
5337 include <gtk/gtk.h> instead of particular files and
5338 only include the topmost header in the gtk stack. See NB #39857
5340 2008-08-12 Christian Dywan <christian@imendio.com>
5342 * src/hildon-picker-dialog.c
5343 * src/hildon-touch-selector.c: Fix warnings about unused and
5344 uninitialized variables.
5346 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5348 * examples/Makefile.am
5349 * examples/hildon-check-button-example.c: Example of the hildon
5352 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5354 * src/hildon-window.h
5355 * src/hildon-window.c (hildon_window_class_init)
5356 (hildon_window_unset_program): Don't make
5357 hildon_window_unset_program a virtual function anymore.
5359 * src/hildon-stackable-window.c: Update documentation
5361 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5364 * doc/hildon-docs.sgml
5365 * doc/visual_index.xml
5366 * src/hildon-defines.c
5368 * src/hildon-helper.c
5369 * src/hildon-range-editor.c: Lots of documentation fixes.
5371 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5373 * examples/hildon-picker-button-multicolumn-example.c
5374 (create_touch_selector): Fix compilation warning.
5376 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5378 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5379 (hildon_pannable_area_button_release_cb)
5380 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5382 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5384 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5387 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5389 * src/hildon-bread-crumb-trail.h
5390 * src/hildon-date-editor.c
5391 * src/hildon-date-selector.c
5392 * src/hildon-pannable-area.c
5393 * src/hildon-picker-dialog.c
5394 * src/hildon-time-selector.c
5395 * src/hildon-touch-selector-entry.c
5396 * src/hildon-touch-selector.c
5397 * src/hildon-touch-selector.h: Misc documentation fixes
5399 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5401 * examples/hildon-date-editor-example.c (main): Updated date
5404 * examples/hildon-note-example.c (on_confirmation_clicked):
5405 Updated confirmation note example.
5407 * src/hildon-date-editor.c
5408 * src/hildon-note.c: Updated sample programs in documentation.
5411 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5413 * src/hildon-date-button.h:
5414 * src/hildon-picker-button.h:
5415 * src/hildon-time-button.c:
5416 * src/hildon-time-button.h:
5418 Some declarations changes to allow gtk-doc to document the widgets
5421 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5423 * src/hildon-date-button.c: Document the widget.
5424 * src/hildon-time-button.c: Document the widget.
5426 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5428 * src/hildon-picker-button.c: Document the widget.
5429 * src/hildon-touch-selector-entry.c: Document the widget.
5431 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5433 * doc/hildon-docs.sgml
5436 * src/hildon-check-button.h
5437 * src/hildon-check-button.c: New functions to create the Hildon
5441 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5443 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5445 * src/hildon-button.h
5446 * src/hildon-button.c
5447 (hildon_button_add_title_size_group)
5448 (hildon_button_add_value_size_group)
5449 (hildon_button_add_image_size_group)
5450 (hildon_button_add_size_groups): New functions to set size groups
5451 for the button labels and image.
5452 (hildon_button_new_full): Removed
5454 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5456 * src/hildon-time-selector.c
5457 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5458 in order to avoid a crash if gconf is not available
5460 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5462 * src/hildon-button.c (hildon_button_set_arrangement)
5463 (hildon_button_construct_child): Don't construct the button child
5464 before setting the arrangement.
5466 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5468 * src/hildon-program-private.h
5469 * src/hildon-program.c
5470 * src/hildon-program.h
5471 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5472 (hildon_program_peek_window_stack)
5473 (hildon_program_pop_window_stack)
5474 (hildon_program_go_to_root_window): HildonProgram now has a
5475 separate list for stackable windows. Functions are provided to
5476 manage that list with a stack-like API.
5478 * src/hildon-stackable-window.c: Stackable window management is
5479 now much simpler with the new HildonProgram API. Windows no
5480 longer need to be manually added to the program, they're
5481 automatically pushed to the top of the stack when shown.
5483 * examples/hildon-stackable-window-example.c: Updated example to
5484 reflect the API changes.
5486 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5488 * src/hildon-touch-selector.c: Comment out unimplemented
5489 hildon_touch_selector_insert_column() to avoid a compile warning.
5491 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5493 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5494 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5495 (hildon_touch_selector_set_column_selection_mode),
5496 (_hildon_touch_selector_set_model),
5497 (hildon_touch_selector_set_model):
5499 Complete review of HildonTouchSelector documentation.
5501 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5503 * doc/hildon-docs.sgml
5507 * src/hildon-gtk.c: Convenience functions for standard Gtk
5508 widgets, used to easily perform frequent operations.
5510 * src/hildon-button-helpers.h
5511 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5513 * src/hildon-helper.h
5514 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5515 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5517 * src/hildon-button.h
5518 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5520 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5522 * src/hildon-button.c (hildon_button_init)
5523 (hildon_button_set_arrangement, hildon_button_construct_child):
5524 Pack the image and the labels inside the same GtkAlignment so
5525 gtk_button_set_alignment() can be used
5527 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5529 * src/hildon-button.h
5530 * src/hildon-button.c
5531 (hildon_button_init, hildon_button_set_image)
5532 (hildon_button_set_image_position)
5533 (hildon_button_construct_child): New functions to add an image to
5536 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5538 * src/hildon-date-button.c
5539 * src/hildon-picker-button.c
5540 * src/hildon-time-button.c
5541 * src/hildon-button.c:
5542 (hildon_button_class_init): "size-flags" renamed to "size"
5543 (hildon_button_set_title): Hide the title label if set to NULL.
5545 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5547 HildonButtonFlags split into HildonButtonArrangement (to set the
5548 button layout) and HildonSizeType (which can be used for any
5551 * src/hildon-button.h
5552 * src/hildon-button.c
5553 (hildon_button_class_init)
5554 (hildon_button_set_arrangement)
5555 (hildon_button_set_property): New "size-flags"
5556 property. "arrangement-flags" renamed to "arrangement".
5557 (hildon_button_new, hildon_button_new_with_text)
5558 (hildon_button_new_full): Constructors updated to reflect type changes.
5560 * src/hildon-helper.h
5561 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5562 to set the size of a widget.
5566 * src/hildon-button-helpers.c
5567 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5569 * src/hildon-date-button.c
5570 * src/hildon-date-button.h
5571 * src/hildon-picker-button.c
5572 * src/hildon-picker-button.h
5573 * src/hildon-time-button.c
5574 * src/hildon-time-button.h: Updated widgets to reflect
5575 HildonButton API changes.
5577 * examples/hildon-button-example.c
5578 * examples/hildon-date-button-example.c
5579 * examples/hildon-picker-button-example.c
5580 * examples/hildon-picker-button-multicolumn-example.c
5581 * examples/hildon-time-button-example.c
5582 * examples/hildon-touch-selector-entry-example.c
5583 * examples/hildon-touch-selector-example.c: Updated examples to
5584 reflect HildonButton API changes.
5586 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5588 * doc/hildon-docs.sgml:
5590 * examples/Makefile.am:
5591 * examples/hildon-touch-selector-entry-example.c:
5593 * src/hildon-touch-selector-entry.c:
5594 * src/hildon-touch-selector-entry.h:
5597 Moved HildonTouchSelectorEntry from sandbox. Added its
5598 documentation and examples.
5600 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5602 * src/hildon-touch-selector.h:
5603 * examples/hildon-picker-button-multicolumn-example.c:
5604 (hildon_touch_selector_append_text_column): Add a gboolean
5605 parameter to determine if text must be centered in the column.
5607 * src/hildon-date-selector.c: (hildon_date_selector_init):
5608 * src/hildon-time-selector.c: (hildon_time_selector_init):
5609 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5610 (create_touch_selector): Update widgets and example to reflect
5613 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5615 * src/hildon-touch-selector.c:
5616 (hildon_touch_selector_set_active_iter): Set also the cursor in
5619 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5621 * doc/hildon-docs.sgml
5624 * src/hildon-toggle-button.c
5625 * src/hildon-toggle-button.h
5626 * src/hildon.h: Removed HildonToggleButton widget, a derived
5627 class is not necessary for this.
5629 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5631 * src/hildon-pannable-area.c,
5632 (hildon_pannable_area_realize),
5633 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5636 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5638 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5639 "done" button the default widget for the dialog.
5641 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5643 * src/hildon-touch-selector.c:
5644 (hildon_touch_selector_class_init),
5645 (hildon_touch_selector_get_property),
5646 (_hildon_touch_selector_set_model),
5647 (_hildon_touch_selector_has_multiple_selection),
5648 (hildon_touch_selector_has_multiple_selection):
5649 Add a "has-multiple-selection" property with a virtual
5650 has_multiple_selection() method to allow derived classes to
5651 override the default value for it. See the method and property
5652 documentation for details.
5654 * src/hildon-touch-selector.h: Add the new API.
5656 * src/hildon-picker-dialog.c: (requires_done_button): Call
5657 hildon_touch_selector_has_multiple_selection() instead of
5658 determining the need for a button itself.
5660 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5662 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5663 (_hildon_touch_selector_set_model),
5664 (hildon_touch_selector_set_model): Move working code to
5665 _hildon_touch_selector_set_mode(). Call the class method instead.
5667 * src/hildon-touch-selector.h: Add (*set_model) to
5668 HildonTouchSelectorClass.
5670 Make hildon_touch_selector_set_model() a virtual method, so that
5671 derived classes can extend it and do fancy stuff with the model.
5673 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5675 * configure.ac: Set back the tarname in AC_INIT to hildon.
5677 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5681 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5682 instead of libesd (NB#86876). Volume handling is still an open issue.
5684 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5687 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5689 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5690 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5691 derived class to ease placement of an entry widget in
5692 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5693 end, where the selector columns are packed now.
5695 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5697 * src/hildon-picker-button.c: Removed the simple _text() API.
5698 * src/hildon-picker-button.h: Likewise.
5700 * src/hildon-touch-selector.h:
5701 * src/hildon-touch-selector.c:
5702 (hildon_touch_selector_new_text),
5703 (hildon_touch_selector_append_text),
5704 (hildon_touch_selector_prepend_text),
5705 (hildon_touch_selector_insert_text):
5707 Moved the simple _text() API from HildonPickerButton to
5708 HildonTouchPicker, to provide better escalability and not to tie
5709 that API to HildonPickerButton.
5711 * examples/hildon-picker-button-example.c: (main): Example updated.
5713 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5715 * src/hildon-button.c: Updated documentation.
5717 * examples/hildon-button-example.c: Add the posibility to create
5718 the buttons using horizontal layout for title and value.
5720 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5722 * src/hildon-app-menu-private.h
5723 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5724 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5725 GtkSizeGroup for the filters, use the 'homogeneous' property of
5728 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5730 * examples/hildon-button-example.c: Updated example.
5732 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5734 * doc/hildon-docs.sgml:
5737 Update documentation.
5739 * examples/Makefile.am: Update renamed examples.
5741 * examples/hildon-picker-button-multicolumn-example.c:
5742 (create_touch_selector), (main): Update after the rename.
5744 * examples/hildon-touch-picker-example.c: Removed.
5745 * examples/hildon-touch-selector-example.c: (value_changed),
5746 (create_selector), (get_visible_content), (main): Renamed from
5747 hildon-touch-picker-example.c
5749 * src/Makefile.am: Updated renamed files.
5751 * src/hildon-date-button.c: (hildon_date_button_init),
5752 (hildon_date_button_get_date), (hildon_date_button_set_date):
5753 * src/hildon-date-selector.c: (hildon_date_selector_init),
5754 (_custom_print_func), (_update_day_model),
5755 (_manage_selector_change_cb),
5756 (hildon_date_selector_select_current_date),
5757 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5758 * src/hildon-date-selector.h:
5759 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5760 (hildon_picker_button_set_property),
5761 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5762 (hildon_picker_button_init), (hildon_picker_button_new_text),
5763 (hildon_picker_button_append_text),
5764 (hildon_picker_button_prepend_text),
5765 (hildon_picker_button_insert_text),
5766 (hildon_picker_button_set_selector),
5767 (hildon_picker_button_get_selector):
5768 * src/hildon-picker-button.h:
5769 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5770 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5771 (_update_title_on_selector_changed_cb), (requires_done_button),
5772 (_hildon_picker_dialog_set_selector),
5773 (hildon_picker_dialog_set_selector),
5774 (hildon_picker_dialog_get_selector):
5775 * src/hildon-picker-dialog.h:
5776 * src/hildon-time-button.c: (hildon_time_button_init),
5777 (hildon_time_button_get_time), (hildon_time_button_set_time):
5778 * src/hildon-time-selector.c: (hildon_time_selector_init),
5779 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5780 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5781 * src/hildon-time-selector.h:
5784 Massive code updates after the rename.
5786 * src/hildon-touch-picker.c: Removed.
5787 * src/hildon-touch-picker.h: Removed.
5789 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5790 (hildon_touch_selector_init), (hildon_touch_selector_map),
5791 (hildon_touch_selector_remove), (_default_print_func),
5792 (_selection_changed_cb), (_create_new_column),
5793 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5794 (hildon_touch_selector_append_text_column),
5795 (hildon_touch_selector_remove_column),
5796 (hildon_touch_selector_set_column_attributes),
5797 (hildon_touch_selector_insert_column),
5798 (hildon_touch_selector_get_num_columns),
5799 (hildon_touch_selector_get_column_selection_mode),
5800 (hildon_touch_selector_set_column_selection_mode),
5801 (hildon_touch_selector_set_print_func),
5802 (hildon_touch_selector_get_print_func),
5803 (hildon_touch_selector_get_active_iter),
5804 (hildon_touch_selector_set_active_iter),
5805 (hildon_touch_selector_get_selected_rows),
5806 (hildon_touch_selector_get_model),
5807 (hildon_touch_selector_set_model),
5808 (hildon_touch_selector_get_current_text),
5809 (_hildon_touch_selector_center_on_selected_items):
5810 * src/hildon-touch-selector.h: Renamed from
5811 hildon-touch-picker.[ch]
5813 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5814 references, code examples, and related documentation.
5816 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5818 * doc/hildon-docs.sgml
5821 * src/hildon-toggle-button.c
5822 * src/hildon-toggle-button.h
5823 * src/hildon.h: New HildonToggleButton widget.
5825 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5827 * src/hildon-button.c: Add API documentation.
5828 (hildon_button_set_size_groups): Check input parameters
5830 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5832 * src/hildon-pannable-area.c
5833 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5834 effect after reaching the movement thredshold. This way we start
5835 using the distance after passing the thredshold.
5837 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5839 * src/hildon-button.c: (hildon_button_set_property): Use the
5840 appropriate g_value_get_flags() method.
5842 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5844 * doc/hildon-docs.sgml:
5847 Add the touch pickers, picker dialogs, and picker button widgets
5848 to the documentation.
5850 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5852 * src/hildon-button.c: (hildon_button_set_property),
5853 (hildon_button_class_init): Make "arrangement-flags" a proper
5854 G_TYPE_FLAGS derived property.
5856 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5858 * examples/Makefile.am: Add below examples.
5859 * examples/hildon-date-button-example.c:
5860 * examples/hildon-picker-button-example.c:
5861 * examples/hildon-picker-button-multicolumn-example.c:
5862 * examples/hildon-time-button-example.c:
5863 * examples/hildon-touch-picker-example.c:
5865 Add examples for the recently added touch pickers,
5866 picker dialogs, and picker button widgets.
5868 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5870 * src/hildon-button.c: Add some API documentation
5872 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5874 * src/hildon-button.h
5875 * src/hildon-button.c
5877 (hildon_button_new_with_text): New constructor to create a button
5878 with no text at all.
5879 (hildon_button_init, hildon_button_set_arrangement)
5880 (hildon_button_set_title, hildon_button_set_value)
5881 (hildon_button_set_text)
5882 (hildon_button_construct_child): Hide the value when it's not used
5883 so the rest of the text is properly aligned.
5884 Allow creating buttons with arbitrary widgets inside (not just
5885 title/value labels).
5887 * examples/hildon-button-example.c (vertical_buttons_window)
5888 (horizontal_buttons_window): Update example to use new API.
5890 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5892 * src/Makefile.am: Added HildonTimeButton.
5893 * src/hildon-time-button.c: Added missing LGPL header.
5894 * src/hildon-time-button.h: Added missing LGPL header.
5895 * src/hildon.h: Add hildon-time-button.h
5897 Copied HildonTimeButton from sandbox to trunk. Future work on this
5898 widget must take place in trunk.
5900 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5902 * src/Makefile.am: Added HildonDateButton.
5903 * src/hildon-date-button.c: Update includes.
5904 * src/hildon.h: Add hildon-date-button.h
5906 Copied HildonDateButton from sandbox to trunk. Future work on this
5907 widget must take place in trunk.
5909 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5911 * src/Makefile.am: Added HildonPickerButton.
5912 * src/hildon-picker-button.h: Update includes.
5913 * src/hildon.h: Add hildon-picker-button.h
5915 Copied HildonPickerButton from sandbox to trunk. Future work on
5916 this widget must take place in trunk.
5918 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5920 * src/Makefile.am: Added HildonPickerDialog.
5921 * src/hildon-picker-dialog.c: Update includes.
5922 * src/hildon.h: Add hildon-picker-dialog.h
5924 Copied HildonPickerDialog from sandbox to trunk. Future work
5925 on this widget must take place in trunk.
5927 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5929 * src/Makefile.am: Added HildonTimeSelector.
5930 * src/hildon.h: Add hildon-time-selector.h
5932 Copied HildonTimeSelector widget from sandbox to trunk. Future
5933 work on this widget must happen in trunk.
5935 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5937 * src/Makefile.am: Added HildonDateSelector.
5938 * src/hildon.h: Add hildon-date-selector.h
5940 Copied HildonDateSelector widget from sandbox to trunk. Future
5941 work on this widget must happen in trunk.
5943 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5945 * src/Makefile.am: Added HildonTouchPicker.
5946 * src/hildon-touch-picker.c: Update includes.
5947 * src/hildon.h: Add hildon-touch-picker.h
5949 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5950 on this widget must happen in trunk.
5952 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5954 * src/hildon-pannable-area.c:
5955 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5957 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5959 * examples/hildon-app-menu-example.c (main): Let the window
5962 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5964 * src/hildon-pannable-area.c
5965 (hildon_pannable_area_class_init): Set the min value of the
5966 overshoot properties to zero, which points out that not
5967 overshooting allowed.
5969 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5971 Modified the procedure to get the widget at a point inside the
5972 pannable area when using the movement type signals. Now the user
5973 has to call a function to get the child, that way we just
5974 calculate the child in case the user really want to use it and not
5977 * src/hildon-marshalers.list: Modified the marshallers, now we do
5978 not have the widget as a parameter.
5980 * src/hildon-pannable-area.c
5981 (hildon_pannable_area_motion_notify_cb),
5982 (hildon_pannable_area_class_init),
5983 (hildon_pannable_get_child_widget_at): Removed the widget
5984 parameter from the signal callback. We have also refactored the
5985 emission of the signals.
5987 * src/hildon-pannable-area.h: Added a new method to the API to
5988 calculate a widget at a point inside the pannable area,
5989 hildon_pannable_get_child_widget_at.
5991 * examples/hildon-pannable-area-example-4.c
5992 (horizontal_movement): Modified the example to use the new API,
5993 added condition to control which widget is under the event. This
5994 way we can avoid scrolling laterally over other widgets.
5996 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5998 * src/hildon-pannable-area.c
5999 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6000 modes, we stop getting the pointer events due to returning the
6001 callback without properly calling the get pointer again. Fixed
6002 also an error using the hscroll and vscroll.
6004 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6006 * src/hildon-app-menu-private.h
6007 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6008 (hildon_app_menu_button_release, hildon_app_menu_init)
6009 (hildon_app_menu_class_init): Don't hide the menu on button
6010 release if the user didn't press outside first.
6012 * src/hildon-window.h
6013 * src/hildon-window.c (hildon_window_toggle_menu)
6014 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6015 hildon_window_toggle_menu a virtual function for the stackable
6016 window to override it.
6018 * src/hildon-stackable-window.h
6019 * src/hildon-stackable-window-private.h
6020 * src/hildon-stackable-window.c
6021 (hildon_stackable_window_realize)
6022 (hildon_stackable_window_finalize)
6023 (hildon_stackable_window_class_init)
6024 (hildon_stackable_window_init)
6025 (hildon_stackable_window_set_main_menu): New function to set the
6026 app menu of a HildonStackableWindow.
6028 * examples/hildon-app-menu-example.c: Remove the button to show
6029 the app menu, now it'll be shown when clicking on the title bar
6032 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6034 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6035 set the widget name if the arrangement flags do not specify
6038 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6040 * src/hildon-button.c: (hildon_button_set_property),
6041 (hildon_button_class_init), (hildon_button_new_full),
6042 (hildon_button_set_arrangement): Added "arrangement-flags"
6045 Make the HildonButtonFlags a construction-only property, to allow
6046 subclasses to set them properly.
6048 2008-07-21 Tim Janik <timj@imendio.com>
6050 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6051 insertion position after backspace, so additional digits are appended,
6054 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6056 * src/hildon-pannable-area.c,
6057 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6058 TODO list, it was complete and removed the g_debug and g_print
6061 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6063 Added the movement modes to the hildon-pannable-area, with this
6064 modes the developers can control in which directions the widget
6065 can scroll. They can also connect to signals in order to do
6066 something when that happens, allowing applications scroll. There
6067 is an example uploaded showing how to use it.
6069 * examples/Makefile.am:
6070 * examples/hildon-pannable-area-example-4.c: Added this example of
6071 an application using the modes.
6073 * src/hildon-marshalers.list: Added a new marshaller for the new
6076 * src/hildon-pannable-area.h: Added new enumerations and flags in
6077 order to control the movement modes and the new signals to warn
6078 about the movements in the area.
6080 * src/hildon-pannable-area.c:
6081 (hildon_pannable_axis_scroll),
6082 (hildon_pannable_area_scroll),
6083 (hildon_pannable_area_motion_notify_cb),
6084 (hildon_pannable_area_get_property),
6085 (hildon_pannable_area_set_property),
6086 (hildon_pannable_area_map),
6087 (hildon_pannable_area_class_init),
6088 (hildon_pannable_area_init),
6089 (hildon_pannable_area_jump_to): Added the modes to control the
6090 movement in the widget. We have added properties to control it,
6091 signals to warn about the movements and refactored some code.
6093 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6095 Changes required in order to allow vfast_factor set to zero to
6098 * src/hildon-pannable-area.c:
6099 (hildon_pannable_area_button_press_cb): Changed the condition, it
6100 is required for not allowing click when vfast_factor is zero.
6101 (hildon_pannable_area_timeout): Initialized velocity variables
6102 when we stop moving, it was less than 1 but not zero and we need
6103 to check zero in some situations.
6104 (hildon_pannable_area_class_init): Changed the default value of
6105 the speed factor, now the button_press is just sent in case the
6106 speed is 2 per cent of the max speed.
6107 (hildon_pannable_area_init): Initialization with 0.
6109 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6111 * src/hildon-pannable-area.c,
6112 (hildon_pannable_area_get_topmost): replaced
6113 gdk_window_get_children with gdk_window_peek_children, this way we
6114 do not have to free the list because it is not a copy.
6116 (hildon_pannable_axis_scroll),
6117 (hildon_pannable_area_scroll),
6118 (hildon_pannable_area_timeout),
6119 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6120 two parameters that were only used inside the
6121 hildon_pannable_area_scroll function.
6123 * examples/hildon-pannable-area-example.c,
6124 (get_sawtooth_label): Fixed small memory leak.
6126 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6128 More checks for the case where the overshoot is bigger than the
6131 * src/hildon-pannable-area.c:
6132 (hildon_pannable_draw_vscroll),
6133 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6134 to draw the slider of the scrollbar under the other scrollbar.
6135 (hildon_pannable_area_expose_event): added new checks to control
6136 the drawing of the overshooting area rectangle, in case it is too
6137 big for the area of the widget.
6138 (hildon_pannable_area_size_allocate): add more checks to avoid
6139 setting a position to the child widget outside the area.
6141 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6143 * src/hildon-pannable-area.c
6144 (hildon_pannable_area_size_allocate): Added conditions to control
6145 when overshooting is bigger than the allocated space for the
6146 children, this avoids negative allocations.
6148 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6150 * doc/hildon-docs.sgml
6152 * examples/Makefile.am
6153 * examples/hildon-button-example.c
6155 * src/hildon-button.c
6156 * src/hildon-button.h
6157 * src/hildon.h: Initial version of the new HildonButton widget,
6160 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6162 * src/hildon-pannable-area.c:
6163 (hildon_pannable_area_button_press_cb),
6164 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6165 (hildon_pannable_area_motion_notify_cb),
6166 (hildon_pannable_area_button_release_cb),
6167 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6168 (hildon_pannable_area_jump_to_child):
6170 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6172 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6174 * examples/Makefile.am
6175 * examples/hildon-pannable-area-touch-grid-example.c
6176 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6177 the Hildon Touch List and Hildon Touch Grid using the
6178 HildonPannableArea widget.
6180 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6182 * src/hildon-pannable-area.c,
6183 (hildon_pannable_area_button_press_cb),
6184 (hildon_pannable_area_refresh),
6185 (hildon_pannable_area_scroll),
6186 (hildon_pannable_area_motion_notify_cb),
6187 (hildon_pannable_area_button_release_cb),
6188 (hildon_pannable_area_expose_event),
6189 (hildon_pannable_area_add),
6190 (hildon_pannable_area_remove),
6191 (hildon_pannable_area_realize),
6192 (hildon_pannable_area_size_allocate),
6193 (hildon_pannable_area_class_init),
6194 (hildon_pannable_area_init),
6195 (hildon_pannable_area_scroll_to_child),
6196 (hildon_pannable_area_jump_to_child): Fixed the problem of
6197 removing the child from the GtkBin, we have rearranged the widget
6198 hierarchy, now there is no GtkAlignment which was not doing
6199 anything interesting but breaking some of the assumptions of
6200 GtkContainer. Now developers if they want to add a GtkAlignment
6201 they could, but it is not inside the area.
6203 We had to review the whole allocation/expose process, now it is
6204 improved and we save at least three signals which would be saving
6205 some time when rendering the widget. The allocation of the
6206 scrollbars is now made in the allocate method as usual.
6208 We have also added some conditions in order to control when there
6209 is no child of the pannable area. Maybe we will need more work
6212 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6214 * src/hildon-pannable-area.c,
6215 (hildon_pannable_area_dispose): Released the fade-out timeout when
6216 disposing the widget.
6218 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6220 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6221 zero, we are going to use that property in order to deactivate the
6223 (hildon_pannable_axis_scroll),
6224 (hildon_pannable_area_size_allocate): Added conditions to control
6225 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6226 call, now it is called in all situations and we can remove calls
6227 in the allocate method.
6228 (hildon_pannable_area_map): Control the situation when
6229 overshoot_max is zero, we do not need the timeout.
6230 (hildon_pannable_area_class_init): Added documentation in order to
6231 point out that setting zero to overshoot_max means deactivate
6234 NOTE: removed trailing whitespaces from my previous comments of
6237 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6239 * src/hildon-pannable-area.c
6240 (hildon_pannable_area_get_property),
6241 (hildon_pannable_area_set_property),
6242 (hildon_pannable_area_map),
6243 (hildon_pannable_area_class_init),
6244 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6245 to cause the widget give a hint about its panning abilities upon
6248 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6250 * src/hildon-pannable-area.c: Several documentation improvements.
6252 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6254 * src/hildon-program.c
6255 * src/hildon-stackable-window.c: Update documentation.
6257 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6259 * src/hildon-stackable-window.c (get_previous_window_if_last):
6260 Renamed get_last_window()
6261 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6262 (hildon_stackable_window_unset_program):
6264 (get_previous_window_if_last):
6265 Detect if the window hasn't been added to a HildonProgram.
6267 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6269 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6271 * src/hildon-pannable-area.c
6272 (hildon_pannable_area_button_press_cb),
6273 (hildon_pannable_axis_scroll),
6274 (hildon_pannable_area_scroll),
6275 (hildon_pannable_area_timeout),
6276 (hildon_pannable_calculate_vel_factor),
6277 (hildon_pannable_area_get_property),
6278 (hildon_pannable_area_set_property),
6279 (hildon_pannable_area_class_init),
6280 (hildon_pannable_area_init),
6281 (hildon_pannable_area_scroll_to),
6282 (hildon_pannable_area_jump_to),
6283 (hildon_pannable_area_scroll_to_child),
6284 (hildon_pannable_area_jump_to_child):
6285 * src/hildon-pannable-area.h: Added the new API functions:
6286 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6287 hildon_pannable_area_scroll_to_child,
6288 hildon_pannable_area_jump_to_child
6291 * examples/Makefile.am
6292 * examples/hildon-pannable-area-example-2.c
6293 * examples/hildon-pannable-area-example-3.c: Added these two new
6294 examples in order to test and show how the new APIs work.
6296 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6298 * examples/hildon-stackable-window-example.c (new_window):
6299 * src/Makefile.am (noinst_HEADERS):
6300 * src/hildon-program.c (hildon_program_go_to_root_window):
6301 * src/hildon-program.h:
6302 * src/hildon-stackable-window-private.h:
6303 * src/hildon-stackable-window.c:
6304 * src/hildon-stackable-window.h:
6305 Create hildon-stackable-window-private.h
6306 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6308 * examples/hildon-app-menu-example.c (create_menu):
6309 * examples/hildon-hvolumebar-insensitive-example.c (main):
6310 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6311 * examples/hildon-toolbar-seekbar-example.c (main):
6312 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6313 * src/hildon-banner.c (hildon_banner_set_property):
6314 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6315 Fix compilation warnings
6317 * src/hildon-window.c:
6320 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6322 * src/hildon-stackable-window.c
6323 (hildon_stackable_window_unset_program):
6324 Calculate correctly whether to show the previous window if the
6325 last one is removed from the stack.
6326 (hildon_stackable_window_go_to_root_window):
6327 Send delete events starting from the topmost window.
6328 Stop if one of the windows is not destroyed.
6330 (hildon_stackable_window_delete_event)
6331 (hildon_stackable_window_class_init):
6332 Ignore the delete event if the window is not the topmost one.
6334 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6336 * src/hildon-pannable-area.c
6337 (hildon_pannable_area_expose_event): Fixed a problem when
6338 selecting the background color of the scrollbars.
6340 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6342 * examples/hildon-stackable-window-example.c
6343 * src/hildon-stackable-window.c
6344 * src/hildon-stackable-window.h
6345 hildon_stackable_window_go_home() renamed to
6346 hildon_stackable_window_go_to_root_window()
6347 Send delete events to windows rather than closing them with
6348 gtk_widget_destroy()
6350 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6352 * src/hildon-pannable-area.c
6353 (hildon_pannable_area_button_release_cb): Fix overshooting in
6356 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6358 * src/hildon-pannable-area.c
6359 (hildon_pannable_area_init): Initially show the scroll indicators.
6360 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6362 Add initial effect showing the widget is pannable.
6364 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6366 * src/hildon-pannable-area.c
6367 (hildon_pannable_area_class_init)
6368 (hildon_pannable_area_set_property)
6369 (hildon_pannable_area_get_property)
6370 (hildon_pannable_area_button_press_cb):
6371 New 'velocity_fast_factor' property to decide which velocity is
6374 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6376 * src/hildon-pannable-area.c
6377 (hildon_pannable_draw_hscroll)
6378 (hildon_pannable_draw_vscroll):
6379 Use float variables to calculate the size of the scrollbars to
6380 avoid error propagation and resizing during scrolling.
6382 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6384 * src/hildon-pannable-area.c
6385 (hildon_pannable_draw_vscroll)
6386 (hildon_pannable_draw_hscroll):
6387 Define a minimum size for the scroll bars
6389 * src/hildon-stackable-window.c
6390 (hildon_stackable_window_go_home): Fix compilation warning
6391 (get_last_window): Minor optimizations
6392 (hildon_stackable_window_class_init): Fix initialization of
6395 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6397 * src/hildon-stackable-window.c: Fixed typos in doc
6399 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6401 * src/hildon-pannable-area.c
6402 (hildon_pannable_area_scroll):
6403 Calculate here whether we need to scroll instead of using the booleans
6404 that tell us whether to /draw/ the scrolling bars.
6406 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6408 * src/hildon-app-menu.h
6410 * src/hildon-app-menu.c
6411 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6412 multiple filter groups related code and API. Now we support only
6414 * examples/hildon-app-menu-example.c:
6416 Update to reflect API changes.
6418 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6420 * src/hildon-stackable-window.c
6421 (hildon_stackable_window_class_init):
6422 Add hildon_stackable_window_realize.
6423 (hildon_stackable_window_realize):
6424 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6425 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6426 to apply theming and behavior specific to HildonStackableWindow
6429 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6431 * src/hildon-note.c (hildon_note_button_release):
6432 Close information notes also when tapping on them
6434 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6436 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6437 ELASTICITY, refactor and review, fix some issues with drawing
6440 * src/hildon-pannable-area.c:
6441 (hildon_pannable_area_button_press_cb): removed the conditions to
6442 avoid clicks when overshooting. It is not required
6444 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6445 define. Refatored and reviewed the code, now we do not need to
6446 manage velocity in motion_notify.
6448 (hildon_pannable_area_motion_notify_cb): We have moved the code
6449 that controls the area_scroll to the axis_scroll function and get
6450 rid of duplicated code.
6452 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6454 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6456 (hildon_pannable_draw_vscroll),
6457 (hildon_pannable_draw_hscroll): Fixed the problems with the
6458 scrollbar drawing, now we do not use two surfaces, it is easier
6459 and saves resources.
6461 (hildon_pannable_area_get_property): Style modification.
6463 (hildon_pannable_area_class_init): Changed some default values.
6465 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6467 * src/hildon-stackable-window.c: Fix some typos in the
6470 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6472 * src/hildon-dialog.c:
6473 Change indentation style
6476 (hildon_note_button_release):
6477 Use root coordinates to check if the release event happened
6480 * src/hildon-app-menu.c
6481 (hildon_app_menu_button_release):
6482 Remove unnecessary check
6484 * examples/hildon-app-menu-example.c
6486 Add cast to fix warning
6488 * src/hildon-app-menu.c
6489 (hildon_app_menu_class_init):
6490 New inner-border style property.
6491 Set all default spacings to 16
6492 (hildon_app_menu_init):
6493 Use vertical-spacing to set the space between filter buttons and
6494 regular menu buttons.
6495 Set the default container border using the inner-border value.
6497 * examples/hildon-app-menu-example.c
6499 Don't set the menu border explicitly, now we have the inner-border
6500 style property for that.
6502 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6504 * src/hildon-app-menu.c (hildon_app_menu_init):
6505 Make the window modal
6507 * src/hildon-note.c (hildon_note_map)
6508 * src/hildon-app-menu.c (hildon_app_menu_map):
6509 Destroy the grab window if we're unable to grab the pointer
6511 * src/hildon-app-menu-private.h
6512 * src/hildon-app-menu.c
6513 (hildon_app_menu_init, hildon_app_menu_finalize)
6514 (hildon_app_menu_map, hildon_app_menu_unmap)
6515 (hildon_app_menu_button_release)
6516 (grab_transfer_window_get):
6517 Bring back the grab window
6518 (hildon_app_menu_realize):
6519 Decorate the window, set WM hint for Matchbox
6521 * src/hildon-note.c (hildon_note_realize):
6522 * src/hildon-banner.c (hildon_banner_realize):
6523 Add WM hints for Matchbox
6525 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6527 * src/hildon-app-menu-private.h
6528 * src/hildon-app-menu.c
6529 (hildon_app_menu_init, hildon_app_menu_finalize)
6530 (hildon_app_menu_map, hildon_app_menu_unmap)
6531 (hildon_app_menu_button_release):
6532 Remove the grab window, it's not needed anymore
6534 * src/hildon-program.c
6535 Fixed typo in documentation
6537 * src/hildon-app-menu.h
6538 * src/hildon-app-menu.c
6539 * examples/hildon-app-menu-example.c
6540 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6542 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6545 Added new transfer_window and close_if_pressed_outside private
6547 (hildon_note_rebuild):
6548 Don't add a cancel button to the information note. It will be
6549 closed when tapping outside
6550 Remove the comment about the OK button in the documentation
6551 (hildon_note_realize):
6552 Set the notification type hint
6553 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6554 Grab/ungrab pointer and keyboard if the note has to be closed when
6556 (hildon_note_button_release):
6557 Close the note when tapping outside (if applicable)
6559 * src/hildon-app-menu.c
6560 Grab/ungrab pointer and keyboard on map/unmap
6561 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6562 Close the menu on button release, not button press
6564 * src/hildon-banner.c
6565 (hildon_banner_set_property)
6566 (hildon_banner_check_position):
6567 Make the banner use the full width of the screen
6568 (hildon_banner_show_information)
6569 (hildon_banner_show_information_with_markup):
6570 Don't display an icon by default
6572 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6574 Added fading scrollbars and adapted all the overshooting code to
6575 horizontal scrolling. We have also fixed bugs with overshooting
6576 and current fading implementation.
6578 * src/hildon-pannable-area.c
6579 (hildon_pannable_area_scroll_indicator_fade): Time out function
6580 used to change the transparency of the scrollbars.
6582 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6583 control and fixed a problem with fading, we now remove the fade
6584 timeout before adding a new one.
6586 (hildon_pannable_axis_scroll):
6587 (hildon_pannable_area_scroll):
6588 (hildon_pannable_area_timeout): Added this functions so we can use
6589 the scroll code both for vertical and horizontal.
6591 (hildon_pannable_area_motion_notify_cb):
6592 (hildon_pannable_area_button_release_cb): Added the horizontal
6593 scrolling control, fixed a problem with the overshooting timeout.
6595 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6596 painting of the scrolls.
6598 (hildon_pannable_draw_vscroll):
6599 (hildon_pannable_draw_hscroll):
6600 (hildon_pannable_area_expose_event):
6601 Draw both scrollbars and rectangles in the overshooting area.
6603 (hildon_pannable_area_get_property):
6604 (hildon_pannable_area_set_property):
6605 Modified the overshoot property to overshoot_max
6607 (hildon_pannable_area_map):
6608 Replaced the comments symbols.
6610 (hildon_pannable_area_size_allocate):
6611 (hildon_pannable_area_class_init):
6612 (hildon_pannable_area_init): Added horizontal scroll, fading
6613 effect properties, fixed a problem when overshooting in the bottom
6616 * examples/hildon-pannable-area-example.c:
6617 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6618 looks better in the example.
6620 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6622 * src/hildon-window.c
6623 * src/hildon-window.h
6624 (hildon_window_class_init)
6625 (hildon_window_unset_program)
6626 (hildon_window_unset_program_real):
6627 Make unset_program a virtual function
6629 * src/hildon-stackable-window.c
6630 * src/hildon-stackable-window.h
6631 Added hildon_stackable_window_go_home()
6633 * examples/Makefile.am
6634 * examples/hildon-stackable-window-example.c
6635 HildonStackableWindow example
6637 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6639 * hildon-pannable-area.c: Added the overshoot property and removed
6640 the OVERSHOOT define. Fixed an indent style error.
6641 (hildon_pannable_area_motion_notify_cb):
6642 (hildon_pannable_area_get_property):
6643 (hildon_pannable_area_set_property): Add overshoot property.
6645 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6648 (hildon_pannable_area_class_init): Installed the new property.
6650 * hildon-pannable-area-example.c: Added a sawtooth function, this
6651 way it is easier to check the movement in the pannable.
6652 (get_sawtooth_label): Added this function.
6653 (main): Now we get the labels from the new get_sawtooth_label
6656 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6658 * src/hildon-app-menu.h
6659 * src/hildon-app-menu.c
6660 Renamed API variables for consistency
6662 (hildon_app_menu_popup): Use also the default window size to
6663 decide where to place the menu
6665 (hildon_app_menu_init, hildon_app_menu_class_init): New
6666 external-border style property
6668 2008-05-26 Michael Natterer <mitch@imendio.com>
6670 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6671 widget_class->tap_and_hold_setup signal slot doesn't exist any
6672 longer, stop overriding it.
6674 (hildon_time_editor_init): g_signal_connect() to the
6675 tap-and-hold-setup signal instead.
6677 (hildon_time_editor_entry_keypress): add cast to fix warning.
6679 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6681 * doc/hildon-docs.sgml
6683 * examples/Makefile.am
6684 * examples/hildon-app-menu-example.c
6686 * src/hildon-app-menu-private.h
6687 * src/hildon-app-menu.c
6688 * src/hildon-app-menu.h
6690 New HildonAppMenu widget
6692 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6694 Rearranged the inheritance of the pannable area, now it inherits
6695 from GtkBin. This will allow us to control the event_window and
6696 the allocation process of the widget, required for some effects.
6698 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6699 GtkBin structures. * src/hildon-pannable-area.c: Added the
6700 event_window variable.
6701 (hildon_pannable_area_button_press_cb):
6702 (hildon_pannable_area_button_release_cb):
6703 (hildon_pannable_area_motion_notify_cb):
6704 Changed the signature of the method, now we override the event
6705 callback instead of connecting to the signal.
6707 (hildon_pannable_area_realize):
6708 (hildon_pannable_area_unrealize):
6709 (hildon_pannable_area_map):
6710 (hildon_pannable_area_unmap):
6711 (hildon_pannable_area_size_allocate):
6712 Added functions to control the widget construction. We add a
6713 INPUT_ONLY window and we put it over the widgets inside the
6714 container, this event_window handles the events.
6716 (hildon_pannable_area_class_init):
6717 Replaced the signal connections with overrides of the event
6720 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6722 Bouncing effect added when touching the borders, you can change
6723 the elasticity of the border changing the ELASTICITY define.
6725 * src/hildon-pannable-area.c: Added ELASTICITY define.
6726 (hildon_pannable_area_timeout): Added inverse velocity when
6727 touching the border of the child widget, that causes a bounce.
6729 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6731 Improved performance, we now do not go to the X server in order to
6732 get the list of window children. Apparently the effect is the
6733 same, we have to be careful and check if this breaks something in
6736 * src/hildon-pannable-area.c:
6737 (get_ordered_children): Removed this function.
6738 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6739 the children windows function with gdk_window_get_children.
6741 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6743 * src/hildon-pannable-area.c:
6744 (hildon_pannable_area_dispose): Fixed a crash when closing the
6745 window and kinetics is activated.
6747 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6749 * src/hildon-pannable-area.h
6750 * src/hildon-pannable-area.c
6751 Changed indentation style to meet the one used in Hildon
6753 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6755 Reviewed the interaction of the AUTO mode, now we use the time
6756 attribute of the events and calculate the velocity in the motion,
6757 doing a gimp like calculation. The velocity is calculated in each
6758 motion event using the last velocity and the current one, the
6759 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6761 * src/hildon-pannable-area.c: Replaced the time based algorithm
6763 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6764 timeout for the AUTO mode when we are still moving the cursor. We
6765 added also the velocity calculation in this function.
6766 (hildon_pannable_area_button_release_cb): launch the timeout in
6767 case we are in AUTO mode. There are still some constants here that
6768 come from the old implementation that should be reviewed and
6771 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6773 * doc/hildon-docs.sgml
6776 * src/hildon-stackable-window.c
6777 * src/hildon-stackable-window.h
6779 New HildonStackableWindow widget
6781 * examples/hildon-dialog-example.c
6782 * examples/hildon-pannable-area-example.c
6785 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6787 * src/hildon-dialog.c
6788 (hildon_dialog_new_with_buttons): New constructor.
6790 * examples/hildon-dialog-example.c
6791 (main): Update the example to use the new
6792 hildon_dialog_new_with_buttons().
6794 * examples/hildon-pannable-area-example.c
6795 (main): Update example.
6797 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6799 * doc/hildon-docs.sgml
6801 Added HildonPannableArea to the documentation.
6803 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6805 * doc/visual_index.xml
6806 Fix reference to HildonLoginDialog in documentation
6808 * doc/hildon-docs.sgml
6810 * examples/Makefile.am
6811 * examples/hildon-dialog-example.c
6813 * src/hildon-dialog.c
6814 * src/hildon-dialog.h
6816 New HildonDialog widget.
6818 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6820 * src/hildon-pannable-area.c
6821 Merge latest changes (r4318, r4342) from libmokoui trunk
6823 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6825 * examples/Makefile.am
6826 * examples/hildon-pannable-area-example.c
6828 * src/hildon-pannable-area.c
6829 * src/hildon-pannable-area.h
6831 New HildonPannableArea widget.
6833 2008-04-15 18:05:19 <timj@imendio.com>
6835 * src/hildon-banner.c: revert the recent change, that introduced
6836 gtk_window_present() calls. this reopens:
6837 Bug 78481 - [freetest] information banners are hidden under browser menu
6838 But resolves another variant of:
6839 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6841 2008-04-15 13:21:13 <timj@imendio.com>
6843 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6844 recreated its layout, spotted by Kris. this fixes all remaining
6845 artefacts and stability issues with the banner code. in particular:
6846 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6848 2008-04-14 16:52:59 <timj@imendio.com>
6850 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6851 operating on unrealized widgets, fixes:
6852 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6854 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6856 2008-04-09 Kristian Rietveld <kris@imendio.com>
6858 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6859 makes banner disappear.
6860 Fixes: NB#79182: info banner flickering with certain message lengts.
6862 * src/hildon-banner.c (hildon_banner_constructor),
6863 (hildon_banner_init), (hildon_banner_set_text),
6864 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6865 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6866 FALSE, reset size requests of label and banner,
6867 (force_to_wrap_truncated): when the text is too wide, always enforce
6868 the maximum possible width instead of recalculating it from the
6869 layout; enforce the maximum banner height of 3 lines,
6870 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6871 nicer wrapping and no truncated chars if space gets tight.
6873 * src/hildon-banner-private.h: add has_been_wrapped and
6874 has_been_truncated fields.
6876 2008-04-07 Sven Herzberg <sven@imendio.com>
6878 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6879 local values in hildon_date_editor_size_allocate
6881 * src/hildon-date-editor.c: moved the real allocation code into the
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: merged the two if() branches together
6891 2008-04-07 Sven Herzberg <sven@imendio.com>
6893 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6894 local values in hildon_date_editor_size_allocate
6896 * src/hildon-date-editor.c: changed the arguments of the if()
6899 2008-04-07 Sven Herzberg <sven@imendio.com>
6901 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6902 local values in hildon_date_editor_size_allocate
6904 * src/hildon-date-editor.c: split the calculation of the allocation
6905 from the real allocation
6907 2008-03-27 Michael Natterer <mitch@imendio.com>
6909 Fixes: NB#81696: The passcode is not overwritten even after
6912 * src/hildon-code-dialog.c
6913 (hildon_code_dialog_button_clicked)
6914 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6915 because that doesn't overwrite selected text. Instead, emit the
6916 "commit" signal on the entry's im_context so the entry's normal
6917 insert logic is triggered. Set the cursor to the end of the entry
6918 after each insert operation so that we *only* insert in the middle
6919 of the text if something was selected.
6921 2008-03-27 Michael Natterer <mitch@imendio.com>
6923 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6924 selector cannot be opened
6926 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6927 when the popup color selector is created. Please connect to this
6928 signal in order to set the dialog's help ID.
6930 2008-03-25 Sven Herzberg <sven@imendio.com>
6932 Fixes: MB#1212: Hide info banners (infoprints) on click
6934 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6935 extracted the close event simulation into an extra function
6936 (hildon_banner_button_press_event): simulate a close event and destroy
6937 the widget if the event wasn't handled
6938 (hildon_banner_class_init): added the button_press_event handler
6939 (hildon_banner_init): added button-press events to the widget
6941 2008-03-25 Sven Herzberg <sven@imendio.com>
6943 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6944 Patch from: Mohammad Anwari <mdamt@maemo.org>
6946 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6947 instead of the right in RTL mode
6948 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6949 breadcrumb button list in RTL mode
6950 * src/hildon-caption.c: mirror the appearance of the caption widget in
6952 * src/hildon-date-editor.c: mirror appearance of the date editor in
6954 * src/hildon-time-editor.c: mirror appearance of the time editor in
6956 * src/hildon-window.c: fix the position of the popup in RTL mode
6958 2008-03-25 Sven Herzberg <sven@imendio.com>
6960 Amendment to the fix of NB#22072. Fix compilation.
6962 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6964 2008-03-19 Sven Herzberg <sven@imendio.com>
6966 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6969 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6970 timeout id properly when the timeout will disappear this leaves no
6971 artifacts around in the destroy(); there will only be the timeout
6972 created by hildon_banner_ensure_timeout() and adding a new timeout
6973 will also work if the timeout gets removed because the timeout_handler
6976 2008-03-19 Michael Natterer <mitch@imendio.com>
6978 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6980 * src/hildon-volumebar.c
6981 * src/hildon-vvolumebar.c
6982 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6983 the widget becomes focussable at all.
6985 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6986 set the focus to wither the mute button or the volumebar.
6988 Remove own "can-focus" property and instead listen to
6989 notify::can-focus in order to update the widget's state.
6991 Implement GtkWidget::focus() and make sure we can also *leave* the
6992 widget, not only enter it, depending on volumebar orientation and
6993 requested focus direction.
6995 Clean up set_mute() to cooperate nicely with all the above.
6997 2008-03-04 Michael Natterer <mitch@imendio.com>
6999 Fixes: NB#78481: information banners are hidden under browser menu
7001 * src/hildon-banner.c: call gtk_window_present() on the banners so
7002 they are risen if they are already visible.
7004 2008-03-03 Sven Herzberg <sven@imendio.com>
7006 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7008 * examples/hildon-window-menu-example.c: (main): extended the window
7009 menu example to serve as a testcase for automatically added
7010 accelerator groups, too
7011 * src/hildon-window.c: (hildon_window_add_accel_group),
7012 (hildon_window_set_menu): added patch by Tommi Komulainen
7014 2008-03-03 Sven Herzberg <sven@imendio.com>
7016 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7018 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7019 knowledge about the border allocators used within GTK+
7021 2008-02-26 Sven Herzberg <sven@imendio.com>
7023 Fixes: MB#2981: Build with asserts broken
7025 * src/hildon-date-editor.c,
7026 * src/hildon-number-editor.c,
7027 * src/hildon-time-editor.c,
7028 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7029 the proper GType instance check
7031 2008-02-25 Sven Herzberg <sven@imendio.com>
7033 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7035 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7036 * examples/hildon-window-menu-example.c: (main): explicitly show
7038 * src/hildon-window.c:
7039 (hildon_window_set_main_menu): moved most of the code from set_menu()
7040 to this place; skipped the call to gtk_widget_show_all(); also didn't
7041 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7042 (hildon_window_set_menu): removed most of the code, just keep the
7043 questionable gtk_widget_show_all()
7044 * src/hildon-window.h: added the new function and deprecate the old
7047 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7053 * debian/changelog: Updating.
7055 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7058 * pkgconfig/Makefile.am:
7059 * pkgconfig/hildon.pc.in:
7062 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7063 use newly created API_MAJOR_VERSION.
7065 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7071 * debian/changelog: Updating.
7073 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7075 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7077 Add outer_border style property, we use it but don't define it (!).
7081 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7083 * examples/hildon-bread-crumb-trail-example.c (main):
7087 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7089 Fix logic for the bread crumb trail node removal.
7093 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7099 * debian/changelog: Updating.
7101 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7103 Patch by Alejandro to get/set passwords dialogs accesibility.
7105 * hildon-1/src/hildon-get-password-dialog.c:
7106 * hildon-1/src/hildon-set-password-dialog.c:
7107 Set atk_set_name to the passwd entries in order to allow
7108 accessibility by name on this entries.
7110 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7115 * debian/control: Updating gtk dep.
7117 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7119 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7120 USE_MAEMO_GTK is enabled.
7122 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7124 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7125 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7127 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7133 * debian/changelog: Updating.
7135 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7137 * examples/Makefile.am:
7138 * examples/hildon-logical-color-example.c:
7139 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7140 applied + adding a test case. Fixes: NB#71660.
7142 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7144 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7145 to be visible, fixes warning on map for windows without toolbars.
7147 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7149 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7150 2.11.0, add a check for that besides the MAEMO_GTK check.
7152 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7158 * debian/changelog: Updating.
7160 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7162 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7163 visibility. Fixes: NB#70842 and MB#615.
7165 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7167 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7168 set the separator as no-show-all so it doesn't unintentionally appear when
7169 someone does a show_all.
7171 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7173 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7174 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7175 toplevel item. Fixes: NB#62031
7177 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7179 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7180 fix the name of the function in the docs.
7182 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7188 * debian/changelog: Updating.
7190 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7192 * examples/hildon-banner-long-example.c: Adding a test-case for long
7195 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7197 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7199 * src/hildon-color-chooser-dialog.c:
7200 * src/hildon-color-chooser.c:
7201 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7202 memory leaks in font selector and color selector. Fixes: NB#70499 and
7205 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7207 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7209 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7211 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7212 little bit bigger. Fixes: #NB63694.
7214 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7220 * debian/changelog: Updating.
7222 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7225 * doc/hildon-docs.sgml:
7226 * doc/images/bread-crumb-trail.png:
7227 * doc/images/calendar-popup.png:
7228 * doc/images/caption.png:
7229 * doc/images/code-dialog.png:
7230 * doc/images/color-button.png:
7231 * doc/images/color-chooser-dialog.png:
7232 * doc/images/color-chooser.png:
7233 * doc/images/controlbar.png:
7234 * doc/images/date-editor.png:
7235 * doc/images/font-selection-dialog.png:
7236 * doc/images/get-password-dialog.png:
7237 * doc/images/hvolumebar.png:
7238 * doc/images/login-dialog.png:
7239 * doc/images/note.png:
7240 * doc/images/number-editor.png:
7241 * doc/images/range-editor.png:
7242 * doc/images/seekbar.png:
7243 * doc/images/set-password-dialog.png:
7244 * doc/images/sort-dialog.png:
7245 * doc/images/time-editor.png:
7246 * doc/images/time-picker.png:
7247 * doc/images/vvolumebar.png:
7248 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7249 Adding the bread-crumb-trial and helpers to the documentation.
7251 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7253 * examples/hildon-find-toolbar-example.c:
7254 * src/hildon-find-toolbar.c:
7255 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7256 actually continue firing the other handlers if connected. Adding a new
7258 hildon_find_toolbar_get_last_index that gets the index of the most
7259 recently added (last) item. Fixes: NB#52301.
7261 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7263 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7264 behaviour. Fixes: NB#68610.
7266 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7268 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7271 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7273 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7274 when realizing the banner. Should make the infonbanner effect a bit more
7277 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7279 * src/hildon-volumebar.c:
7280 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7281 hildon_volumebar_set_range_insensitive_message and
7282 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7284 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7286 * src/hildon-window.c: Fixing the border freeing on destroy.
7288 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7290 * src/hildon-code-dialog-private.h:
7291 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7292 kw keyboard support in HildonCodeDialog.
7294 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7300 * debian/changelog: Updating.
7302 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7304 * src/hildon-date-editor.c:
7305 * src/hildon-number-editor.c:
7306 * src/hildon-private.c:
7307 * src/hildon-private.h:
7308 * src/hildon-time-editor.c:
7309 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7310 handling in subclassed composite widgets. Fixes: NB#66628.
7312 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7314 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7315 from destroy_ callback as it introduces problems in async dbus signal
7316 handlers. Fixes NB#66673.
7318 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7320 * examples/hildon-hvolumebar-example.c:
7321 * src/hildon-volumebar.c: Improving the focus handling in the
7322 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7323 set_property accessor so that "mute" property can be actually set. I'm
7324 scared that nobody noticed it's totally broken.
7326 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7328 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7331 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7333 * src/hildon-calendar.c:
7334 * src/hildon-number-editor.c:
7335 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7336 matches the spec of 6 chars per second. Fixes: NB#60489.
7338 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7340 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7341 gtk_style_lookup_color sometime returns FALSE even though color was
7342 found and values were filled properly. Weird. Removing the warning for the
7345 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7347 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7348 expand vertically. Adding some extra space to the find toolbar buttons to
7349 make them thumbable. Fixes NB#66060.
7351 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7353 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7354 popup with "Ok" and "Cancel". Fixes NB#59299.
7356 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7358 * src/hildon-calendar.c: Process all window updates before executing next
7359 timeout. Fixes: NB#54146.
7361 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7367 * debian/changelog: Updating.
7369 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7371 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7372 the client event and ignore it, since we use the delete event to close
7375 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7377 * src/hildon-helper.c: Remove the bogus warning about color not being
7378 found. Fixes NB#58352.
7380 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7382 * examples/Makefile.am:
7383 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7384 HildonSeekbar widget inside a toolbar.
7386 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7388 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7389 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7390 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7391 don't want to be closed by non-temporary windows on map.
7393 Also use G_DEFINE_TYPE instead of manually typed code.
7395 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7402 * debian/rules: Updating.
7404 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7406 * examples/Makefile.am:
7407 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7408 bug NB#61128. Strangely it works.
7410 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7412 * src/hildon-date-editor.c: When the date editor entry has been changed
7413 but the numbers of characters < max, turn off the skip validation flag.
7414 Prevents a situation when we enter first a valid year and later re-write
7415 it with an invalid one. Fixes NB#60154.
7417 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7419 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7420 code dialog. Fixes NB#64355.
7422 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7424 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7425 switching the page. Fixes NB#49374.
7427 * examples/Makefile.am:
7428 * examples/hildon-wizard-dialog-example.c: Adding an example for
7429 HildonWizardDialog that shows how to handle manual sensitivity setting on
7432 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7436 * src/hildon-version.h.in:
7437 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7439 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7441 * src/hildon-volumebar.c: Updating the docs.
7443 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7449 * debian/changelog: Updating.
7451 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7453 * src/hildon-find-toolbar.c:
7454 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7455 selected item: hildon_find_toolbar_set_active,
7456 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7457 hildon_find_toolbar_get_active_iter . They correspond to respective
7458 GtkComboBox functions.
7460 * examples/Makefile.am:
7461 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7464 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7466 * examples/Makefile.am:
7467 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7470 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7471 when font size > 32 and we pack a focusable widget inside. Actually using
7472 the default response would work too, but since we don't show default
7473 response state in any way (no theming) it would not be visible to the
7474 user. Fixes NB#63430.
7476 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7478 * src/hildon-date-editor.c: Adding the missing variable setter in the
7479 set_property handler. Fixes NB#54182.
7481 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7483 * src/hildon-window.h: Changing the long key press time from 1500ms to
7484 800ms as requested in NB#63700. I have a bad feeling about this, let's
7485 see... Fixes NB#63700.
7487 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7489 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7490 hildon_time_picker_map, hildon_time_picker_realize,
7491 hildon_time_picker_style_set): Split the contents of map to more
7492 appropriate functions; set window decorations on realize and update
7493 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7495 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7500 * debian/changelog: Updating.
7502 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7504 * src/Makefile.am: fixed installation of the header files
7506 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7512 * debian/changelog: Updating.
7514 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7516 * configure.ac: Removing some remaining of --enable-xan.
7518 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7520 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7521 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7523 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7524 2.10.12-osso6 because the move-focus signal needs to be available in
7527 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7529 * examples/Makefile.am:
7530 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7531 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7532 fine. Prolly NB#61128 is fixed now.
7534 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7536 * src/hildon-volumebar.c:
7537 * src/hildon-volumebar.h: Adding the
7538 hildon_volumebar_set_range_insensitive_message and
7539 hildon_volumebar_set_range_insensitive_messagef functions to set
7540 insensitive message on the slider of the volumebar. Fixes NB#61129.
7542 * examples/Makefile.am:
7543 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7544 test the new insensitive messsage functionality on HildonVolumebar.
7546 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7548 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7551 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7553 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7554 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7555 button on after clearing the trail.
7557 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7559 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7561 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7563 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7564 by splitting the installed headers in generated and non-generated groups. Use
7565 only the non-generated headers to create the hildon-enum-types.h file.
7567 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7569 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7571 * src/hildon-window.c: Hide the window before performing the destroy.
7572 Should make the app closing a little tiny bit more snappy.
7574 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7576 * src/hildon-seekbar.c: add gtkrange.h header
7577 * src/hildon-caption.c: remove unused variable
7579 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7581 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7584 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7590 * debian/changelog: Updating.
7592 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7594 * src/hildon-window.c (hildon_window_window_state_event,
7595 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7596 escape timeout on focus-out-event rather than notify::is-topmost; the
7597 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7599 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7601 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7602 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7604 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7606 * src/hildon-window: actually, you need to use the macro always, there's
7607 no private pointer in the instance structure. We should have cleaned this up
7608 when we had the chance...
7610 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7612 * src/hildon-window.c: do not get the private date from HildonWindow before
7613 it passes the g_return_if_fail check. Once it's passed the test, there's no
7614 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7615 if you are only going to access the data once. Whitespace cleanups.
7617 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7619 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7620 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7622 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7628 * debian/changelog: Updating.
7630 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7632 * src/hildon-window.c: When destroying the window, remove (if exists) the
7633 escape timeout handler. Fixes #NB59276.
7635 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7637 * src/hildon-banner.c: When realizing the widget, set the window
7638 transiency. Setting the transiency in the gobject constructor is not
7639 good, as the widget is not realized at that point. Fixes: #NB56624.
7641 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7643 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7644 Add padding for future expansions.
7646 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7648 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7649 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7650 will fake an activation on the previous to the last item of the trail, so
7651 the effect can be overrided by the developer as usual.
7652 Also change the callback for the back button to do the same thing, so its
7653 effect can be overrided too. Fixes: NB#58982
7655 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7657 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7658 HildonCaption. Fixes NB#52379.
7660 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7662 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7663 the internal state of the trail after the user has had the chance of executing
7664 his handler for the signal. Specifically, it may happen that the activated button
7665 is removed and the user still lets the default handler run. This would segfault
7668 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7670 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7671 scrollbar to the preview dialog. Fixes NB#54147.
7673 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7675 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7676 max/min year properties can be altered, so the client can modify it
7677 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7679 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7681 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7682 hildonlike by default. Fixing a problem with disappearing arrows when
7683 scrolling through months and years. Fixes NB#54127.
7685 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7687 * examples/hildon-date-editor-example.c: Adding error callback to the date
7690 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7696 * configure.ac: Updating.
7698 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7700 * configure.ac: Adding a special '--enable-xan' configure option that
7701 turns off the -Werror compilation setting. Usefull for development.
7703 * src/hildon-calendar.c:
7704 * src/hildon-number-editor.c:
7705 * src/hildon-time-picker.c: Adding the 5* multiplier to
7708 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7710 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7711 instead of g_object_ref + gtk_object_sink.
7713 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7719 * debian/changelog: Updating.
7721 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7723 * src/hildon-color-chooser-dialog.c:
7724 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7725 straight from Tommi labs.
7727 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7729 * examples/hildon-finger-example.c: Correcting the header file path.
7731 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7732 the changed signal. Fixes a small memory leak.
7734 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7738 * src/hildon-banner.c: Importing several usefull fixes from the
7739 ubuntu-mobile branch.
7741 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7743 * examples/Makefile.am:
7744 * examples/hildon-finger-example.c: Adding a finger-checking code
7747 * src/hildon-font-selection-dialog.c: Do not allocate the color
7748 structure using the g_new. Fixes NB#54061.
7750 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7752 * src/hildon-helper.c: Correcting tabs in file.
7754 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7756 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7757 control the visibility of the children.
7759 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7761 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7767 * debian/changelog: Updating.
7769 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7771 * src/hildon-bread-crumb-trail.c:
7772 (hildon_bread_crumb_trail_size_allocate):
7774 Make the back button always a square.
7776 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7778 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7779 from the .c file as it's a private file.
7781 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7783 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7784 uses slightly bigger height.
7786 * src/hildon-font-selection-dialog.c: Adding some checks before
7787 freeing memory in the font selection dialog.
7789 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7791 * src/hildon-font-selection-dialog.c: Adding a small check when
7794 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7795 buttons sensitivity on page switching.
7797 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7799 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7800 internal details of adding a bread crumb to the trail.
7802 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7808 * debian/changelog: Updating.
7810 * src/hildon-bread-crumb-trail.h:
7811 * src/hildon-bread-crumb.h: Changing the API guard to
7812 HILDON_ENABLE_UNSTABLE_API.
7814 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7822 * src/hildon-helper.h: Updating.
7824 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7832 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7836 * src/hildon-helper.h: Small fix to make the package actually compile.
7838 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7840 * src/hildon-bread-crumb-trail.h:
7841 * src/hildon-bread-crumb.h:
7843 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7844 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7846 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7848 * examples/hildon-bread-crumb-trail-example.c:
7850 * src/hildon-bread-crumb-trail.c:
7851 * src/hildon-bread-crumb-trail.h:
7852 * src/hildon-bread-crumb.c:
7853 * src/hildon-bread-crumb.h:
7854 * src/hildon-marshalers.list:
7855 * src/hildon-bread-crumb-widget.c:
7856 * src/hildon-bread-crumb-widget.h:
7858 Slight change in the widget design. The bread crumb trail API is
7859 unchanged, but HildonBreadCrumb is now an interface. A *private*
7860 implementation, hildon-bread-crumb-widget, is provided and used
7861 internally by the trail for the push_text/push_icon functions.
7863 The generic push API is still available, so anyone can implement
7864 and use its own bread crumb widget.
7866 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7868 * debian/rules: Fixing the shlibs.
7870 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7872 * src/hildon-banner.c: Fixing a problem with timed banners having
7873 their parrent destroyed before they are.
7875 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7877 * src/hildon-bread-crumb.c:
7878 * src/hildon-bread-crumb.h:
7880 Make the get_natural_size function a vfunc.
7882 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7884 * src/hildon-bread-crumb.c:
7885 * src/hildon-bread-crumb-trail.c:
7889 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7896 * debian/changelog: Updating for release.
7898 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7900 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7901 don't leak the pango layout.
7903 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7906 * examples/hildon-bread-crumb-trail-example.c:
7910 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7912 * debian/changelog: Removing the bug-fixed entries that were actually
7913 resolved as WONTFIX.
7915 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7918 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7920 * src/hildon-bread-crumb-trail.c:
7921 * src/hildon-bread-crumb-trail.h:
7922 * src/hildon-bread-crumb.c:
7923 * src/hildon-bread-crumb.h:
7927 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7929 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7930 until it's passed the type check.
7932 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7934 * examples/hildon-bread-crumb-trail-example.c
7938 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7940 * examples/Makefile.am
7941 * examples/hildon-bread-crumb-trail-example.c
7943 * src/hildon-bread-crumb-trail.c
7944 * src/hildon-bread-crumb-trail.h
7945 * src/hildon-bread-crumb.c
7946 * src/hildon-bread-crumb.h
7948 New HildonBreadCrumbTrail widget.
7950 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7952 * src/hildon-range-editor.c (hildon_range_editor_init),
7953 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7954 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7955 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7956 hildon_time_editor_class_init, hildon_time_editor_init),
7957 src/hildon-get-password-dialog.c (invalid_input,
7958 hildon_get_password_set_property, hildon_get_password_get_property,
7959 create_contents, hildon_get_password_dialog_set_max_characters),
7960 src/hildon-set-password-dialog.c (create_contents),
7961 src/hildon-date-editor.c (hildon_date_editor_init),
7962 src/hildon-login-dialog.c (hildon_login_dialog_init),
7963 src/hildon-number-editor.c (hildon_number_editor_init),
7964 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7965 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7966 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7967 configure option and adding the respective checks in the code.
7968 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7969 hildon_calendar_drag_data_received): fixed some build warnings.
7971 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7973 * debian/changelog: A 1.0.0 release notes.