1 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
3 * src/Makefile.am: Move generated sources to CLEANFILES, so that
6 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
8 * Makefile.am: Enable gtk-doc during distcheck.
10 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
12 * Makefile.am: Do not distribute the debian/ directory.
14 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
16 * doc/Makefile.am: Add the extra SGML files to content_files,
17 so that they are distributed properly.
19 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
21 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
24 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
26 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
27 (hildon_note_new_information_with_icon_name): Set the "icon" property
28 to preserve soundness.
30 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
32 * src/hildon-font-selection-dialog.c
33 (hildon_font_selection_dialog_set_property): Fail when the "family"
34 property is set to NULL.
36 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
38 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
41 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
43 * src/hildon-time-selector.h:
44 Added HildonTimeSelectorFormatPolicy
45 * src/hildon-time-selector.c:
46 Added PROP_TIME_FORMAT_POLICY
47 (_check_ampm_format): renamed to check_automatic_ampm_format
48 (update_format_policy), (update_format_dependant_columns): new functions
49 (hildon_time_selector_class_init)
50 (hildon_time_selector_contructor)
51 (hildon_time_selector_init)
52 (hildon_time_selector_get_property)
53 (hildon_time_selector_set_property)
54 (hildon_time_selector_get_time)
55 (hildon_time_selector_set_time)
56 * src/hildon-touch-selector.h: new file
57 * src/hildon-touch-selector.c
58 (hildon_touch_selector_emit_changed)
59 (hildon_touch_selector_block_changed)
60 (hildon_touch_selector_unblock_changed)
61 Added functions to allow to block the emission of the "changed" signal
62 * src/hildon-picker-dialog.c
63 (hildon_picker_dialog_show): call the parent show before the custom code
64 * examples/hildon-time-button-example.c
65 Modified, so now you can configure the time format using the new property
67 Added a new property "time-format-policy" that allow to choose the time
68 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
69 case it uses gconf in order to check if the time selector must use
72 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
75 2009-04-28 Alberto Garcia <agarcia@igalia.com>
77 * src/hildon-note.c (hildon_note_init):
78 Label in HildonNote must be left aligned, not centered. This
79 reverts the last commit in HildonNote.
81 Fixes: NB#112933 (text is not left aligned in confirmation dialog
82 is connectivity dialog)
84 2009-04-27 Alberto Garcia <agarcia@igalia.com>
89 * doc/hildon-sections.txt:
90 Added hildon_gtk_window_set_do_not_disturb()
92 2009-04-27 Alberto Garcia <agarcia@igalia.com>
94 * src/hildon-note.c (hildon_note_init): Center label.
96 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
99 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
104 * configure.ac: Bump version.
105 * debian/changelog: Updates.
107 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
109 * src/hildon-note-private.h: Add button-width to the private data.
110 * src/hildon-note.c (+resize_button),
111 (+hildon_note_orientation_update): methods to repack widgets on orientation
113 (screen_size_changed): Call above method for confirmation notes.
114 (hildon_note_realize): Always connect to the "screen-size" changed signal.
115 (hildon_note_rebuild): Store the original width request from buttons.
117 Fixes: NB#109635 (Confirmation notes do not support portrait)
119 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
121 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
122 when it is a progress note.
124 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
126 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
127 in the note, since there are no horizontally arranged contents.
129 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
131 * src/hildon-gtk.c (+set_flag): new generic method to
132 set/delay a flag setting in a window.
133 (hildon_gtk_window_set_progress_indicator):
134 (hildon_gtk_window_set_do_not_disturb),
135 (hildon_gtk_window_set_portrait_flags): use set_flag() to
136 avoid code redundance.
138 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
140 Based on a patch by Alberto Garcia (agarcia@igalia.com)
142 * src/hildon-gtk.c (set_clear_window_flag),
143 (do_set_progress_indicator), (do_set_do_not_disturb),
144 (do_set_portrait_flags),
145 (hildon_gtk_window_set_progress_indicator),
146 (hildon_gtk_window_set_do_not_disturb),
147 (hildon_gtk_window_set_portrait_flags):
148 Allow setting dnd-flag, progress indicator, and portrait flags
149 when the window is not realized.
151 2009-04-24 Alejandro G. Castro <alex@igalia.com>
153 * src/hildon-pannable-area.c,
154 * src/hildon-pannable-area.h: Add the hildon deprecated define to
155 the size request policy function and defines.
157 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
159 * doc/hildon-sections.txt: Add the new API.
160 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
161 method to set the portrait flags.
162 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
164 Fixes: NB#112328 (Adding helpers for setting portrait properties)
166 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
168 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
169 to allow using this method with other flags.
170 (hildon_gtk_window_set_progress_indicator): Update accordingly.
171 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
173 2009-04-22 Alberto Garcia <agarcia@igalia.com>
175 * src/hildon-touch-selector.c
176 (hildon_touch_selector_append_text_column):
177 Make the cell renderer use the smallest width possible.
179 Fixes: NB#108470 (Selected items in multiple selection are either
180 having a tick that is cut or not visible at all.)
182 2009-04-22 Alberto Garcia <agarcia@igalia.com>
184 * src/hildon-touch-selector.c
185 (hildon_touch_selector_append_text_column):
188 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
190 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
191 Use g_strdup_printf() instead of a fixed size buffer.
193 2009-04-21 Alberto Garcia <agarcia@igalia.com>
195 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
196 Close banners when a HildonAppMenu is popped up.
198 Fixes: NB#111027 (Title menu closed immediately if activated when
199 "Invalid e-mail address" banner is shown)
201 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
206 * configure.ac: Bump version.
207 * debian/changelog: Updates.
209 2009-04-20 Alberto Garcia <agarcia@igalia.com>
211 * src/hildon-banner.c (hildon_banner_realize):
212 Mark HildonBanner as supporting portrait mode.
213 Use GDK to set window properties insetad of direct Xlib calls.
215 Fixes: NB#111830 (HildonBanner should be marked as supporting
218 2009-04-20 Alberto Garcia <agarcia@igalia.com>
220 * src/hildon-note.c (hildon_note_rebuild):
221 Hide action area in information notes. Prevents text from being
222 slightly aligned to the left.
224 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
227 2009-04-20 Alberto Garcia <agarcia@igalia.com>
229 Patch by Mox Soini (ext-mox.soini@nokia.com)
231 * src/hildon-banner.c (hildon_banner_create_animation):
232 Use stylus-sized icons in animation banner.
234 Fixes: NB#111206 (stylus sized icon for animation banner)
236 2009-04-20 Alberto Garcia <agarcia@igalia.com>
240 (+hildon_gtk_window_set_do_not_disturb):
241 New API to set the do-not-disturb flag.
243 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
245 2009-04-20 Alberto Garcia <agarcia@igalia.com>
247 * examples/hildon-progress-indicator-example.c: Fix example
249 * src/hildon-gtk.c (set_clear_window_flag)
250 (hildon_gtk_window_set_progress_indicator):
251 Create a generic function for setting flags to a window.
252 Use GDK instead of direct Xlib calls.
254 2009-04-14 Alberto Garcia <agarcia@igalia.com>
256 * src/hildon-button.c (hildon_button_set_arrangement):
257 Due to NB#88126, if one of the labels is too long it will be
258 painted outside the button. The 'value' label is more likely to be
259 the longest one, so we change its packing options in order to
260 truncate it if necessary. As a side effect, the 'title' label will
261 no longer be truncated.
263 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
265 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
270 * configure.ac: Bump version.
271 * debian/changelog: Updates.
273 2009-04-13 Alejandro G. Castro <alex@igalia.com>
275 Deprecation of the hildon_pannable_area_set_size_request_policy
276 API, the only policy properly supported in gtk+ nowadays is the
279 * src/hildon-pannable-area.c,
280 (hildon_pannable_area_size_request): Added a workaround for the
281 size_request to avoid the problems of huge pixmaps in case someone
282 is still using the function.
283 * src/hildon-pannable-area.h: Deprecated the enum with the
286 Fixes: NB#110244 (Problems with the
287 hildon_pannable_area_set_size_request_policy API)
289 2009-04-08 Alejandro G. Castro <alex@igalia.com>
291 * src/hildon-pannable-area.c,
292 (hildon_pannable_area_init),
293 (hildon_pannable_area_size_request),
294 (hildon_pannable_area_style_set),
295 (hildon_pannable_draw_vscroll),
296 (hildon_pannable_draw_hscroll),
297 (hildon_pannable_area_check_scrollbars): Replaced area_width with
298 indicator_width to clarify the use of the attribute.
300 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
305 * configure.ac: Bump version.
306 * debian/changelog: Updates.
308 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
310 * src/hildon-picker-dialog.c
311 * src/hildon-touch-selector.c
312 Reverting the change that tried to avoid the hardcoded height on
313 the picker dialog, as causes problems on the hildon-touch-selector
316 Fixes: NB#110029 (selectors not scrolling to selected value)
318 2009-04-07 Alberto Garcia <agarcia@igalia.com>
320 * src/hildon-touch-selector.c: Fix typos
322 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
324 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
325 Use the event coordinates instead of gdk_window_get_pointer(). Also,
326 request more motions after using it.
328 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
330 * src/hildon-calendar.c (hildon_calendar_expose),
331 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
332 Remove unused variables.
334 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
336 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
339 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
341 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
342 Check the return value of gtk_tree_selection_get_selected()
345 2009-04-06 Alberto Garcia <agarcia@igalia.com>
347 * src/hildon-animation-actor.c
348 * src/hildon-button.c
350 * src/hildon-pannable-area.c
351 * src/hildon-picker-button.c
352 * src/hildon-program.c
353 * src/hildon-remote-texture.c
354 * src/hildon-text-view.c
355 * src/hildon-touch-selector.c
356 * src/hildon-window-stack.c
357 * src/hildon-window.c:
358 Add missing 'Since: 2.2' tags.
360 * doc/hildon-sections.txt:
361 Add some missing symbols.
363 * doc/hildon-docs.sgml:
364 New 'Other' section for HildonAnimationActor and
367 2009-04-06 Alberto Garcia <agarcia@igalia.com>
369 Patch by Iván Gómez (igomez@igalia.com)
373 * doc/hildon-docs.sgml
374 * doc/hildon-sections.txt
378 New chapters on using the Hildon library.
379 Updated the general structure of the reference manual.
380 Other minor documentation fixes.
382 * src/hildon-calendar-popup.c
383 * src/hildon-calendar.c
384 * src/hildon-controlbar.c
385 * src/hildon-date-editor.c
386 * src/hildon-dialog.c
387 * src/hildon-hvolumebar.c
388 * src/hildon-number-editor.c
389 * src/hildon-range-editor.c
390 * src/hildon-sort-dialog.c
391 * src/hildon-time-editor.c
392 * src/hildon-time-picker.c
393 * src/hildon-volumebar-range.c
394 * src/hildon-volumebar.c
395 * src/hildon-vvolumebar.c
396 * src/hildon-weekday-picker.c:
397 Add deprecation notes
399 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
400 Document 'horizontal-movement' and 'vertical-movement' signals.
402 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
407 * configure.ac: Bump version.
408 * debian/changelog: Updates.
410 2009-04-06 Alejandro G. Castro <alex@igalia.com>
412 * src/hildon-pannable-area.c,
413 (hildon_pannable_area_class_init): increased the minimum velocity.
414 (hildon_pannable_area_button_release_cb): Updated the
415 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
416 setup. Review the code to control that last event.
418 Fixes: NB#109790 (Releasing finger in pannable area easily causes
421 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
423 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
425 * src/hildon-get-password-dialog.c
426 (hildon_get_password_set_property),
427 (hildon_get_password_get_property), (create_contents):
428 * src/hildon-login-dialog-private.h:
429 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
430 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
431 (hildon_login_dialog_get_password):
432 * src/hildon-set-password-dialog-private.h:
433 * src/hildon-set-password-dialog.c
434 (hildon_set_password_set_property),
435 (hildon_set_password_get_property), (create_contents),
436 (hildon_set_password_response_change),
437 (hildon_set_password_response_set), (hildon_checkbox_toggled):
439 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
440 instead and look more Fremantle style.
442 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
444 2009-04-03 Alberto Garcia <agarcia@igalia.com>
446 * doc/hildon-sections.txt
447 * src/hildon-window-stack.h
448 * src/hildon-window-stack.c
449 (+hildon_window_stack_get_windows):
450 New API to obtain the list of windows on a stack.
452 2009-04-02 Alberto Garcia <agarcia@igalia.com>
454 * src/hildon-app-menu.c (hildon_app_menu_popup)
455 (hildon_app_menu_class_init, -hildon_app_menu_show):
456 Remove hildon_app_menu_show() and move all its checks to
457 hildon_app_menu_popup()
459 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
461 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
462 (_hildon_picker_dialog_set_selector): removed call to
463 gtk_widget_set_size_request
464 * src/hildon-touch-selector.c
465 (_create_new_column): change the pannable size request policy
467 Avoid to use a hardcoded height for the hildon picker dialog. In order
468 to get that, we needed to change the hildon pannable size request
470 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
472 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
474 * src/hildon-window.c (hildon_window_map): Check for vbox to be
475 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
478 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
480 * debian/control: Depend on osso-system-lock localization package.
481 * src/hildon-code-dialog.c: Obtain the secu_application_title
482 translation from osso-system-lock.
483 * src/hildon-get-password-dialog.c (create_contents): Do not mark
484 for translation the atk related strings, that's not necessary.
485 * src/hildon-set-password-dialog.c (create_contents): Ditto.
486 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
487 cancel button, it is not required.
489 2009-04-02 Alejandro G. Castro <alex@igalia.com>
491 * src/hildon-pannable-area.c,
492 (hildon_pannable_area_class_init): Modified the default value of
493 the overshooting max speed, we have reduced it.
495 2009-04-02 Alberto Garcia <agarcia@igalia.com>
497 * doc/hildon-sections.txt
498 * src/hildon-window-private.h
499 * src/hildon-window.h
500 * src/hildon-window.c (hildon_window_class_init)
501 (hildon_window_init, hildon_window_finalize)
502 (hildon_window_realize, hildon_window_get_property)
503 (hildon_window_set_property, hildon_window_update_markup)
504 (hildon_window_get_markup, hildon_window_set_markup):
505 New "markup" property and hildon_window_{get,set}_markup() methods.
507 * examples/hildon-stackable-window-example.c (new_window):
508 Update example to use hildon_window_set_markup()
510 Fixes: NB#106375 (Need API to retitle a window with a title
513 2009-04-01 Alejandro G. Castro <alex@igalia.com>
515 * src/hildon-pannable-area.c,
516 (hildon_pannable_area_class_init): Changed the default value of
517 the initial_hint to TRUE.
518 (hildon_pannable_area_initial_effect): Changed the initial effect,
519 not the effect is just the fade-out of the scrollbars.
521 Fixes: NB#107775 (No scrollbars can be seen when several items are
522 available in a dialog)
524 2009-04-01 Alberto Garcia <agarcia@igalia.com>
526 * src/hildon-program.c (hildon_program_update_top_most):
529 Fixes: NB#109179 (Memory leak in Hildon program)
531 2009-04-01 Alberto Garcia <agarcia@igalia.com>
533 * src/hildon-banner.c (-get_current_app_window):
534 Remove unused function.
536 2009-04-01 Alejandro G. Castro <alex@igalia.com>
538 * src/hildon-pannable-area.c: Modified the documentation of the
539 get adjustments functions to explain the problem of using the
541 (hildon_pannable_area_class_init): Improved the explanation about
544 2009-04-01 Alberto Garcia <agarcia@igalia.com>
546 * src/hildon-app-menu-private.h
547 * src/hildon-app-menu.c
548 (hildon_app_menu_class_init):
549 Bring back the 'external-border' style property
550 (hildon_app_menu_class_init, hildon_app_menu_init)
551 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
552 Set a fixed width-request for the menu, independent of the number
555 Fixes: NB#94957 (Smoothly opened application menu)
557 2009-03-30 Alberto Garcia <agarcia@igalia.com>
559 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
561 * src/hildon-banner.c
562 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
564 Make sure that the banner is correctly placed the first time it's
566 (hildon_banner_check_position, -check_fullscreen_state):
567 Show the banner in the same place no matter if the window is in
568 fullscreen mode or not.
570 Fixes: NB#107386 (Odd stacking behaviour for information banners)
572 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
574 * src/hildon-touch-selector.c (_default_print_func): reorder
575 concatenation for clarity.
577 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
579 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
580 for multicolumn selectors.
582 Fixes: NB#109099 (Memory leak in Hildon touch selector)
584 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
589 * configure.ac: Bump version.
590 * debian/changelog: Updates.
592 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
594 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
597 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
599 * configure.ac: removed libcangerra-gtk dependency
600 * debian/control: removed libcanberra-gtk dependency
601 * src/Makefile.am: removed libcanberra gtk related flags
602 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
603 context, and manage a global canberra context instead
605 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
607 2009-03-26 Alberto Garcia <agarcia@igalia.com>
609 Patch by Daniel Borgmann (danielb@openismus.com)
611 * src/hildon-edit-toolbar.c:
612 Adjust the left padding.
613 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
614 Paint background of the edit toolbar.
616 Fixes: NB#107897 (Patch to make editmodetoolbar background
617 themeable and adjust margin)
619 2009-03-25 Alberto Garcia <agarcia@igalia.com>
621 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
623 * src/hildon-program.c (hildon_program_update_top_most):
624 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
626 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
627 change when the user tasks in/out of an application)
629 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
631 * configure.ac: added libcangerra-gtk dependency
632 * debian/control: added libcanberra-gtk dependency
633 * src/Makefile.am: added libcanberra gtk related flags
634 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
637 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
639 2009-03-25 Alberto Garcia <agarcia@igalia.com>
641 * src/hildon-program.c (hildon_program_remove_window)
642 (hildon_program_add_window): Add checks for the window
643 parameter. Don't decrease the window counter if the window is not
646 2009-03-24 Alejandro G. Castro <alex@igalia.com>
648 * src/hildon-pannable-area.c,
649 (hildon_pannable_area_realize): Fixed position of the event_window
650 in the realize method.
652 2009-03-24 Alberto Garcia <agarcia@igalia.com>
654 * src/hildon-app-menu-private.h
655 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
656 (hildon_app_menu_map, hildon_app_menu_hide_idle)
657 (hildon_app_menu_key_press, hildon_app_menu_init)
658 (hildon_app_menu_finalize):
659 Make sure that all idle functions are removed when the widget is
662 Fixes: NB#107583 (Hildon app menu crashes in various applications)
664 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
669 * configure.ac: Bump version.
670 * debian/changelog: Updates.
672 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
675 (+hildon_entry_show_placeholder),
676 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
677 that replace hildon_entry_update_contents().
678 (hildon_entry_set_text),
679 (hildon_entry_set_placeholder),
680 (hildon_entry_focus_in_event),
681 (hildon_entry_focus_out_event): Determine when it is needed
682 either to show or hide the placeholder and call the above methods.
684 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
685 when the placeholder text is already set)
687 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
689 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
690 simple GdkPixbufAnim using the new icons for the banner.
691 (hildon_banner_show_animation): Use the above mentioned method to
692 create the animation widget.
694 Fixes: NB#103564 (Make hildon animation banner use individual
695 image files as the animation)
697 2009-03-24 Alejandro G. Castro <alex@igalia.com>
699 * src/hildon-pannable-area.c,
700 (hildon_pannable_leave_notify_event): Check if the child is NULL
701 to avoid sending the leave.
703 2009-03-24 Alejandro G. Castro <alex@igalia.com>
705 * src/hildon-pannable-area.c,
706 (hildon_pannable_area_class_init),
707 (hildon_pannable_leave_notify_event): Added a handler of the
708 leave-notify-signal to consider when no motion notify before
711 Fixes: NB#107494 (Items stay selected when clicking and moving
712 away when inside pannable area)
714 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
719 * configure.ac: Bump version.
720 * debian/changelog: Updates.
722 2009-03-19 Alejandro G. Castro <alex@igalia.com>
724 Patch by Alberto Garcia (agarcia@igalia.com)
726 * src/hildon-date-button.c,
727 (hildon_date_button_class_init),
728 (hildon_date_button_init): Removed the construct property handling
729 and created a default selector in the init method.
730 * src/hildon-picker-button.c,
731 (hildon_picker_button_class_init): Removed the construct flag of the
734 2009-03-18 Alberto Garcia <agarcia@igalia.com>
736 * src/hildon-main.c (hildon_init):
737 Don't allow hildon_init() to be called more than once.
739 Fixes: NB#106607 (hildon_init should issue error message upon
742 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
744 * examples/hildon-pannable-area-touch-list-example.c
745 * examples/hildon-pannagle-area-touch-grid-example.c
746 * examples/hildon-edit-toolbar-example.c
747 * examples/hildon-touch-selector-multi-cells-example.c
748 Removed the call to gtk_rc_parse_string, as it is not required since
751 2009-03-17 Alejandro G. Castro <alex@igalia.com>
753 * src/hildon-pannable-area.c,
754 (hildon_pannable_area_class_init): Modified the default panning
755 threshold of the widget to 6px.
757 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
758 than the threshold value ) within the button is not sending the
761 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
763 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
764 for the treeview in the new column. This way, the touch list will never
767 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
768 be selected manually for the HW keys to work)
770 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
772 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
773 comparison instead of using strcmp(). Fixes a compiler warning as well.
775 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
777 * doc/hildon-docs.sgml: Do not set the library version in the
778 document title, use the releaseinfo tag for that purpose instead.
780 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
782 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
783 Do not jump to the first item if the text in the entry is removed.
785 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
790 * configure.ac: Bump version.
791 * debian/changelog: Updates.
793 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
795 * src/hildon-entry.c (hildon_entry_refresh_contents):
796 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
797 Use "ReversedSecondaryTextColor" for the placeholder text.
799 2009-03-12 Alberto Garcia <agarcia@igalia.com>
801 * src/hildon-text-view.c: Fix compilation warning.
803 2009-03-12 Alberto Garcia <agarcia@igalia.com>
805 * src/hildon-button.c (hildon_button_class_init): Don't make
806 "title" and "value" construction properties, to prevent them from
807 overwriting labels set from derived classes.
809 * src/hildon-picker-button.c
810 (hildon_picker_button_set_selector): Allow setting a NULL selector.
811 (hildon_picker_button_class_init): Make touch-selector a
812 construction property.
814 * src/hildon-date-button.c (hildon_date_button_class_init)
815 (+hildon_date_button_constructed): Add a default date selector if
818 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
820 * src/hildon-touch-selector.c: Small documentation fixes.
822 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
824 Based on a patch by Daniel Borgmann (danielb@openismus.com)
826 * src/hildon-entry.c (hildon_entry_refresh_contents),
827 (hildon_entry_get_text), (hildon_entry_init): Do not use the
828 widget name, set the logical color directly instead and a boolean
829 showing_placeholder instead.
830 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
831 use the widget name here either.
833 Fixes: NB#105678 (HildonTextView should use logical colours
834 instead of setting widget name)
836 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
838 Patch by Daniel Elster (danielk@openismus.com)
840 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
841 Add user_data parameter.
842 (hildon_touch_selector_set_print_func_full): New function akin
843 hildon_touch_selector_set_print_func() but with support for user
844 data and a destroy callback.
845 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
846 to clean up the print function user data.
847 (hildon_touch_selector_class_init): Install dispose function.
848 (HildonTouchSelectorPrivate::print_user_data),
849 (HildonTouchSelectorPrivate::print_destroy_func): New private
851 (hildon_touch_selector_init): Initialize new private members.
852 (hildon_touch_selector_get_current_text): Pass along user data
853 to the print function.
854 (_default_print_func): Add dummy user_data to parameter list.
855 * hildon-date-selector.c (_custom_print_func): ditto,
856 * hildon-time-selector.c (_custom_print_func): ditto,
857 * hildon-touch-selector-entry.c
858 (hildon_touch_selector_entry_print_func): ditto.
860 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
862 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
864 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
866 2009-03-12 Alejandro G. Castro <alex@igalia.com>
868 * src/hildon-pannable-area.c,
869 (hildon_pannable_area_init),
870 (hildon_pannable_area_button_press_cb),
871 (hildon_pannable_area_motion_notify_cb): We have added code to
872 handle the leave and enter events when using the motion events.
874 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
876 2009-03-11 Alberto Garcia <agarcia@igalia.com>
878 * src/hildon-date-button.c (hildon_date_button_get_date)
879 (hildon_date_button_set_date): Make sure that the button has a
882 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
884 2009-03-11 Alejandro G. Castro <alex@igalia.com>
886 * src/hildon-pannable-area.c,
887 (hildon_pannable_area_class_init),
888 (hildon_pannable_area_calculate_velocity): Modify the use of the
889 force and adapt the value.
891 2009-03-10 Alberto Garcia <agarcia@igalia.com>
893 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
894 (hildon_app_menu_class_init): Hide the menu if it receives a
895 delete-event, but don't destroy it
897 Fixes: NB#104485 (Not able to address the call when application
898 menu is opened at background)
900 2009-03-10 Alberto Garcia <agarcia@igalia.com>
902 * src/hildon-app-menu.c
903 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
904 Remove the "external-border" style property, let the menu take its
905 natural size (or the one set by the window manager)
906 (hildon_app_menu_repack_items):
907 Don't reshow the menu, avoid flickers.
909 Partially fixes NB#94957 (Smoothly opened application menu)
911 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
916 * configure.ac: Bump version.
917 * debian/changelog: Updates.
919 2009-03-10 Alejandro G. Castro <alex@igalia.com>
921 * src/hildon-pannable-area.c,
922 (hildon_pannable_area_motion_notify_cb): We control that the
923 direction error margin is used just in case the movement is
924 allowed in the other direction.
926 Fixes: NB#105012 (buttons inside a pannable area not getting
927 release event when dragging/releasing)
929 2009-03-10 Alejandro G. Castro <alex@igalia.com>
931 * src/hildon-pannable-area.c,
932 (hildon_pannable_area_class_init),
933 (hildon_pannable_area_get_property),
934 (hildon_pannable_area_set_property),
935 (hildon_pannable_area_initial_effect),
936 (hildon_pannable_axis_scroll),
937 (hildon_pannable_area_button_release_cb): Reviewed the
938 overshooting effect, now it has its own max
939 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
942 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
947 * configure.ac: Bump version.
948 * debian/changelog: Updates.
950 2009-03-09 Alejandro G. Castro <alex@igalia.com>
952 * src/hildon-pannable-area.c,
953 (hildon_pannable_area_class_init): Changed the max speed, now
954 users can launch the widget very fast. Reduced the default force,
955 that way it is easier to control the launch speed.
957 2009-03-09 Alejandro G. Castro <alex@igalia.com>
959 * src/hildon-pannable-area.c,
960 (hildon_pannable_area_button_release_cb): Removed this check
961 because it causes problems when the device is overloaded.
963 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
965 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
966 add a current_text field to store the text entered in the
967 touch selector entry.
968 (_clean_current_selection): clean up the current text as well.
969 (_save_current_selection), (_restore_current_selection):
970 Save/restore the text in the entry if the selector is a
971 HildonTouchSelectorEntry.
973 Fixes: NB#102541 (value entered in the touch selector entry is not
974 shown when opened for second time)
976 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
978 * doc/hildon-sections.txt:
979 * src/hildon-touch-selector-entry.c
980 (+hildon_touch_selector_entry_get_entry):
981 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
983 Fixes: NB#104815 (I need accessor to the entry inside
984 HildonTouchSelectorEntry)
986 2009-03-06 Alberto Garcia <agarcia@igalia.com>
988 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
989 (hildon_app_menu_class_init):
990 New "filter-vertical-spacing" style property.
992 2009-03-06 Alberto Garcia <agarcia@igalia.com>
994 * src/hildon-find-toolbar.c
995 (hildon_find_toolbar_emit_close)
996 (hildon_find_toolbar_emit_invalid_input)
997 (hildon_find_toolbar_entry_activate):
998 Use g_signal_emit() instead of g_signal_emit_by_name()
1000 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1002 Patch by Mox Soini (ext-mox.soini@nokia.com)
1004 * tests/TEST-CASES.txt
1005 * tests/check-hildon-banner.c
1006 * tests/check-hildon-note.c
1007 * src/hildon-banner.c
1008 * src/hildon-code-dialog.c
1009 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1010 * src/hildon-time-editor.c
1011 * examples/hildon-lookup-example.c (main):
1012 Replace obsolete icon names with new ones.
1014 * src/hildon-find-toolbar-private.h:
1015 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1016 (-hildon_find_toolbar_emit_search):
1017 Remove find button and change icon of close button.
1019 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1021 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1023 * src/hildon-time-button.c (hildon_time_button_new_step):
1024 Use the "touch-selector" property to set the selector directly
1025 when creating the object.
1027 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1029 Added a new example application that allows tuning the pannable
1030 area and replaced defines with properties in order to simplify the
1031 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1032 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1033 PROP_DIRECTION_ERROR_MARGIN.
1035 * examples/hildon-pannable-area-tuning-example.c: New example
1037 * src/hildon-pannable-area.c,
1038 (hildon_pannable_area_class_init),
1039 (hildon_pannable_area_init),
1040 (hildon_pannable_area_get_property),
1041 (hildon_pannable_area_set_property),
1042 (hildon_pannable_area_launch_fade_timeout),
1043 (hildon_pannable_area_adjust_value_changed),
1044 (hildon_pannable_axis_scroll),
1045 (hildon_pannable_area_motion_notify_cb),
1046 (hildon_pannable_area_scroll_cb),
1047 (hildon_pannable_area_button_release_cb): We have converted some
1048 of the defines that control the widget to properties to simplify
1051 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1053 * src/hildon-app-menu.c (hildon_app_menu_map)
1054 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1055 so it's closed if a new window appears.
1057 Fixes: NB#104485 (Not able to address the call when application
1058 menu is opened at background)
1060 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1062 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1063 missing 'break' statement in in 'case' construct to avoid
1066 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1068 * src/hildon-touch-selector-entry.c
1069 (hildon_touch_selector_entry_get_property),
1070 (hildon_touch_selector_entry_set_property): Add missing 'break'
1071 statements in in 'case' constructs to avoid incorrect warnings.
1073 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1075 * src/hildon-time-editor.c
1076 (hildon_time_editor_get_time_separators): Do not crash if
1077 the first label is NULL.
1079 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1081 * src/hildon-date-selector.c (_month_days): Check for month to be
1082 strictly less than 12, since otherwise we may overrun the array.
1084 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1086 * src/hildon-date-button.c (+hildon_date_button_new_full)
1087 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1088 (hildon_date_button_init): Set the date selector using a
1089 construction property, to make it happen after HildonButton's
1090 "value" property is set.
1092 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1093 current date by default)
1095 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1097 * doc/hildon-sections.txt
1098 * src/hildon-program.c
1099 * src/hildon-stackable-window.c
1100 * src/hildon-window.c:
1101 Documentation updates
1103 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1105 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1106 (hildon_window_stack_new, +hildon_window_stack_set_property)
1107 (+hildon_window_stack_get_property)
1108 (hildon_window_stack_class_init)
1109 (+hildon_window_stack_set_window_group)
1110 (+hildon_window_stack_get_window_group):
1111 Make the window group a construction property.
1113 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1115 * doc/hildon-sections.txt
1116 * src/hildon-stackable-window-private.h
1117 * src/hildon-stackable-window.h
1118 * src/hildon-stackable-window.c
1119 (-hildon_stackable_window_set_app_menu)
1120 (-hildon_stackable_window_get_app_menu)
1121 (-hildon_stackable_window_toggle_menu)
1122 (-hildon_stackable_window_finalize)
1123 (hildon_stackable_window_class_init)
1124 (hildon_stackable_window_init)
1125 * src/hildon-window-private.h
1126 * src/hildon-window.h
1127 * src/hildon-window.c (hildon_window_init)
1128 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1129 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1130 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1131 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1132 Moved all HildonAppMenu code to HildonWindow. The menu does not
1133 require a HildonStackableWindow anymore.
1135 * src/hildon-app-menu.c
1136 * src/hildon-program.c
1137 * examples/hildon-app-menu-example.c (main):
1138 Update examples and documentation to reflect HildonAppMenu
1141 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1143 * src/hildon-remote-texture.c
1144 * src/hildon-animation-actor.c:
1145 Don't include unused private headers.
1147 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1149 * src/hildon-program-private.h
1150 * src/hildon-program.c
1151 (hildon_program_set_common_menu)
1152 (hildon_program_get_common_menu)
1153 (hildon_program_set_common_app_menu)
1154 (hildon_program_get_common_app_menu):
1155 Change common menu pointers from GtkWidget* to GtkMenu* and
1156 HildonAppMenu* to avoid unnecessary casts.
1158 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1160 * src/hildon-window.c (hildon_window_set_main_menu):
1161 Removed incorrect 'Since:' tag
1163 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1165 * src/hildon-pannable-area.c,
1166 (hildon_pannable_area_calculate_velocity): We use now the
1167 RATIO_TOLERANCE here to check the distance, fixed typo in the
1169 (hildon_pannable_area_motion_notify_cb): We have to set the type
1170 and time even if we are not sending the motion.
1172 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1174 * doc/hildon-sections.txt
1175 * src/hildon-app-menu.h
1176 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1177 (+hildon_app_menu_get_filters): New methods to get the contents of
1180 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1183 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1185 * src/hildon-app-menu.c (hildon_app_menu_popup):
1188 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1190 * src/hildon-window.h
1191 * src/hildon-window.c (+hildon_window_get_main_menu)
1192 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1193 and deprecated hildon_window_get_menu().
1195 * src/hildon-stackable-window.h
1196 * src/hildon-stackable-window.c
1197 (+hildon_stackable_window_set_app_menu)
1198 (+hildon_stackable_window_get_app_menu)
1199 (hildon_stackable_window_set_main_menu): Created
1200 hildon_stackable_window_{get,set}_app_menu() and deprecated
1201 hildon_stackable_window_set_main_menu().
1203 * doc/hildon-sections.txt
1204 * examples/hildon-app-menu-example.c (main)
1205 * src/hildon-app-menu.c
1206 * src/hildon-program.c:
1207 Updated examples and documentation.
1209 Fixes: NB#103758 (No way to obtain a menu from a
1210 HildonStackableWindow)
1212 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1217 * configure.ac: Bump version.
1218 * debian/changelog: Updates.
1220 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1222 * examples/hildon-remote-texture-example.c: Include
1223 hildon-remote-texture.h explicitely.
1224 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1225 applications not defining _XOPEN_SOURCE which don't require this header.
1227 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1229 * doc/hildon-sections.txt
1230 * src/hildon-app-menu.h
1231 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1232 New function to pop up a HildonAppMenu
1234 * src/hildon-stackable-window.c
1235 (hildon_stackable_window_toggle_menu):
1236 Use hildon_app_menu_popup() to show the menu.
1238 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1240 * src/hildon-app-menu.c (hildon_app_menu_show)
1241 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1242 menu if there's another window between it and its parent window.
1244 Fixes: NB#100468 (Application menu window is launched even when a
1245 new secondary-window/dialog is pending to be shown/realized)
1247 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1249 * src/hildon-window-stack.c (hildon_window_stack_push)
1250 (hildon_window_stack_pop_and_push):
1251 Don't forget to push/pop the first window.
1252 Reverse the window list before calling _push_list()
1254 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1256 * src/hildon-picker-button.h
1257 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1258 Remove "value_changed" slot to avoid ABI breakage
1260 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1262 * src/hildon-pannable-area.c,
1263 (hildon_pannable_area_realize),
1264 (hildon_pannable_area_unrealize),
1265 (hildon_pannable_draw_vscroll),
1266 (hildon_pannable_draw_hscroll): Changed the method to handle the
1267 GC used to draw the transparent scrollbar, this way we avoid
1268 creating the GC all the time when drawing the scrollbars.
1270 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1272 * src/hildon-pannable-area.c,
1273 (hildon_pannable_area_init),
1274 (hildon_pannable_area_remove): Removed some unnecessary casts.
1275 (hildon_pannable_area_dispose): Disconnected some signals before
1276 releasing the adjustments.
1278 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1280 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1281 Make sure that all widgets contained in the toolbar are shown.
1283 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1285 * doc/hildon-sections.txt
1286 * src/hildon-picker-button.h
1287 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1288 (_selection_changed, hildon_picker_button_on_dialog_response)
1289 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1290 New hildon_picker_button_value_changed() method.
1293 * src/hildon-picker-button-private.h
1294 * src/hildon-picker-button.c (hildon_picker_button_init)
1295 (+hildon_picker_button_disable_value_changed): Add protected
1296 function for disabling the "value-changed" signal.
1298 * src/hildon-date-button.c (hildon_date_button_set_date):
1299 Don't emit "value-changed" for each one of the three columns.
1301 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1302 before actual change of values)
1304 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1306 * src/hildon-pannable-area.c,
1307 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1308 for the treeview overshooting.
1310 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1312 * src/hildon-banner.c (+hildon_banner_bind_style):
1313 Renamed from hildon_banner_bind_label_style(), now naming the
1314 banner itself as well.
1315 (hildon_banner_show_information),
1316 (hildon_banner_show_information_with_markup),
1317 (hildon_banner_show_animation), (hildon_banner_show_progress):
1318 Name the widgets and labels, based on their type.
1320 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1323 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1325 * src/hildon-note.c (hildon_note_set_property): call
1326 hildon_note_rename() on HildonNote:note-type set.
1327 (hildon_note_rename): Name the note and its label, based on the
1328 HildonNote:note-type property.
1330 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1333 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1335 * src/hildon-pannable-area.c,
1336 (hildon_pannable_area_class_init),
1337 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1338 panning parameters, increased SPS and deceleration factor. Added
1339 also a margin to control fake directions.
1341 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1343 Patch by Sven Herzberg (sven@imendio.com)
1345 * configure.ac: Add missing AM_PROG_CC_C_0
1346 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1348 See NB#101420 (Update unit tests and fix make check)
1350 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1352 This patch was applied before but reverted because it caused
1353 problems, we have changed the main condition and tested the
1354 regressions we detected before and they work ok. We have done a
1355 complete review of the topmost algorithm in order to get a more
1358 * src/hildon-pannable-area.c,
1359 (hildon_pannable_area_get_topmost): Added a new parameter to
1360 filter the the windows that do not include those events.
1361 (hildon_pannable_area_button_press_cb),
1362 (hildon_pannable_area_button_release_cb),
1363 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1364 topmost function, we have added the new parameter.
1366 Fixes: NB#97458 (Pannable area prevents propagation of button
1369 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1371 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1372 if all columns in the selector have an item selected.
1373 (_on_dialog_response): Stop "response" signal emission if there is
1374 any selector column without selected items.
1376 Fixes: NB#101889 (Picker dialog should not close when nothing is
1377 selected in multiple selection list)
1379 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1381 * src/hildon-font-selection-dialog.c
1382 (hildon_font_selection_dialog_class_init),
1383 (hildon_font_selection_dialog_init): Remove the preview
1384 button and dialog, since previewing with default theming is likely
1385 to be overcomplicated. The :preview property has now no effect.
1386 Update documentation blurbs to inform about this.
1388 Fixes: NB#92297 (Preview content is not clearly visible for
1389 default colour text)
1391 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1393 Reviewed the geometry that handles the children size and
1394 scrollbar, now it tries a size and reviews the results depending
1395 on the scrollbars visibility.
1397 * src/hildon-pannable-area.c,
1398 (hildon_pannable_area_realize): Fixed a typo.
1399 (hildon_pannable_area_child_allocate_calculate): Added this
1400 function to calculate the child allocation.
1401 (hildon_pannable_area_size_allocate): Reviewed the allocation
1403 (hildon_pannable_area_check_scrollbars),
1404 (hildon_pannable_area_refresh): Refactored refresh function, this
1405 way we can call the code handling the scrollbars without causing a
1406 size_request, it is interesting in the allocate.
1407 (hildon_pannable_area_init): Replace the callbacks of the
1408 value_changed and changed signals to propertly deal with the
1410 (hildon_pannable_area_grab_notify),
1411 (hildon_pannable_area_initial_effect),
1412 (hildon_pannable_area_launch_fade_timeout),
1413 (hildon_pannable_area_adjust_changed),
1414 (hildon_pannable_area_adjust_value_changed),
1415 (hildon_pannable_area_redraw),
1416 (hildon_pannable_area_button_press_cb),
1417 (hildon_pannable_area_button_release_cb),
1418 (hildon_pannable_area_scroll_cb),
1419 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1420 code and use the new functions adjust_changed and
1421 adjust_value_changed.
1423 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1424 Contact editor dialog)
1426 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1431 * configure.ac: Bump version.
1432 * debian/changelog: Updates.
1434 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1436 * src/hildon-pannable-area.c,
1437 (hildon_pannable_area_get_topmost),
1438 (hildon_pannable_area_button_press_cb),
1439 (hildon_pannable_area_button_release_cb),
1440 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1441 topmost function adding the event mask. We have to try a
1442 differente approach because it is still causing problems (NB#9745,
1445 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1447 * src/hildon-banner.c:
1448 Update the maximum width of timed banners.
1449 (force_to_wrap_truncated): Enforce the maximum text width if the
1452 Fixes: NB#102413 (The text margins (wrapping) in information
1453 banner should be HILDON_MARGIN_TRIPLE)
1455 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1457 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1459 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1460 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1461 bound when calculating the scroll indicator position.
1463 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1464 treat ->lower correctly)
1466 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1468 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1469 expose event handling, since it is not necessary to draw the focus
1472 Fixes: NB#102467 (Do not show highlight on the text in
1475 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1477 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1478 full height of the toolbar for the button and the label.
1480 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1482 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1483 padding before the label and after the button.
1485 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1487 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1489 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1490 Add a GtkVSeparator between the button and the back arrow.
1491 Let the button have automatic size.
1492 Set a name to the widget for theming handling.
1494 Fixes: NB#101793 (Make edit toolbar the same height as window
1495 title bar (use title area theming))
1497 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1499 * src/hildon-helper.c (attach_new_color_element): Fix memory
1502 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1504 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1506 * examples/hildon-button-example.c (common_buttons_window): Don't
1509 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1511 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1512 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1514 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1516 * src/hildon-gtk.c: Check that the window is realized.
1518 Fixes: NB#102225 (Crash setting the progress indicator to a non
1521 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1523 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1524 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1525 instead of modifying the one in the widget style.
1527 Fixes: NB#101043 (Second row of all the command button are
1528 displayed in transparent mode.)
1530 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1532 * src/hildon-date-button.c
1533 * src/hildon-time-button.c: Add gettext macros
1535 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1537 * src/hildon-date-button.c (hildon_date_button_new):
1538 * src/hildon-time-button.c (hildon_time_button_new_step):
1539 Use new logical strings to set the button default title.
1541 Fixes: NB#99915 (Date and Time options are not localised in Date
1544 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1546 * src/hildon-pannable-area.c
1547 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1548 the PANNING_THRESHOLD.
1550 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1552 * src/hildon-pannable-area.c,
1553 (hildon_pannable_area_class_init): Increased the maximum speed.
1554 (hildon_pannable_area_get_property),
1555 (hildon_pannable_area_set_property),
1556 (hildon_pannable_area_timeout): Added a new low friction mode, it
1557 allows the user avoid friction when launching the widget fast
1558 enough. It is interesting to traverse long lists.
1560 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1562 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1563 (+hildon_stackable_window_delete_event): Ignore delete events if
1564 the window is not the topmost one.
1566 Fixes: NB#101698 (Back button long press and delete-event handling)
1568 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1570 * src/hildon-pannable-area.c,
1571 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1572 gtk-dnd-drag-threshold, it was too big. We have defined our own
1573 dnd define and set a smaller value: PANNIG_THRESHOLD.
1575 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1577 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1578 user-defined icons, use always the default one.
1580 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1582 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1584 This patch was applied before but reverted because it caused
1585 problems, we have changed the main condition and tested the
1586 regressions we detected before and they work ok.
1588 * src/hildon-pannable-area.c,
1589 (hildon_pannable_area_get_topmost): Added a new parameter to
1590 filter the the windows that do not include those events. Added
1591 also a condition when finding the window to filter windows that do
1592 not ask for those events.
1593 (hildon_pannable_area_button_press_cb),
1594 (hildon_pannable_area_button_release_cb),
1595 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1596 topmost function, we have added the new parameter.
1598 Fixes: NB#97458 (Pannable area prevents propagation of button
1601 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1603 * tests/check-hildon-color-button.c (START_TEST): do not leak
1606 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1608 * src/hildon-font-selection-dialog.c
1609 (hildon_font_selection_dialog_get_preview_text): Return NULL
1610 instead of FALSE on the g_return_val_if_fail().
1612 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1614 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1615 * src/hildon-date-selector.c
1616 (hildon_date_selector_select_current_date):
1617 Do not compare unsigned integers to be greater than or equal 0,
1618 because it's always TRUE.
1620 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1622 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1623 (hildon_date_selector_constructor): Do not select the current
1624 date until we are handle the "changed" signal, to avoid having bogus
1625 elements in the days model.
1627 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1629 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1630 for num_days, since _month_days() can return a negative value.
1632 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1634 * src/hildon-caption.c (hildon_caption_size_allocate):
1635 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1636 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1638 Initialize allocation variables to 0, to avoid eventually using
1639 unitialized variables.
1641 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1643 * src/hildon-bread-crumb-trail.c
1644 (hildon_bread_crumb_trail_size_allocate):
1645 * src/hildon-calendar.c (hildon_calendar_set_background):
1646 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1647 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1648 * src/hildon-seekbar.c (hildon_seekbar_init):
1649 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1650 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1651 * src/hildon-touch-selector-entry.c
1652 (hildon_touch_selector_get_text_from_model):
1653 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1654 * src/hildon-window.c (hildon_window_finalize):
1656 Remove many unused variables.
1658 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1660 * src/hildon-seekbar.c: (hildon_seekbar_init),
1661 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1663 Remove unnecessary g_assert() calls.
1665 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1667 * src/hildon-caption.c: (hildon_caption_expose),
1668 (hildon_caption_set_property), (hildon_caption_init),
1669 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1670 (hildon_caption_size_request), (hildon_caption_size_allocate),
1671 (hildon_caption_forall), (hildon_caption_set_separator),
1672 (hildon_caption_activate), (hildon_caption_set_child_expand),
1673 (hildon_caption_set_label_text),
1674 (hildon_caption_get_label_alignment):
1676 Remove unnecessary g_assert() calls.
1678 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1680 * src/hildon-banner.c
1681 (hildon_banner_map, hildon_banner_init): Make banner temporary
1682 before mapping it to avoid closing other temporary windows, but
1683 make it non-temporary afterwards to avoid being closed by other
1684 non-temporary windows.
1685 (-hildon_banner_client_event, hildon_banner_init):
1686 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1688 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1691 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1693 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1696 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1698 * src/hildon-remote-texture.c
1699 * src/hildon-remote-texture.h
1700 * src/hildon-remote-texture-private.h
1701 * examples/hildon-remote-texture-example.c:
1702 Updates/fixes to remote-texture and its example.
1704 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1706 Patch by Mox Soini (ext-mox.soini@nokia.com)
1708 * src/hildon-code-dialog.c: Update logical id.
1709 * src/hildon-set-password-dialog.c: Update logical id.
1711 Fixes: NB#100646 (Logical strings is shown for ok in set
1712 password,Password needed dialogs)
1714 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1717 * src/hildon-remote-texture.c
1718 * src/hildon-remote-texture.h
1719 * src/hildon-remote-texture-private.h
1721 Added remote texture widget (for Clutter shared memory textures)
1723 * examples/hildon-remote-texture-example.c
1724 * examples/Makefile.am
1725 Added example file for remote texture usage
1727 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1729 * configure.ac: post release version bump.
1730 * debian/changelog: version bump.
1732 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1737 * configure.ac: Bump version.
1738 * debian/changelog: Updates.
1740 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1742 * src/hildon-date-selector.c (hildon_date_selector_init)
1743 (hildon_date_selector_constructor): Don't connect to the "changed"
1744 signal until the selector is completely constructed.
1746 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1748 * src/hildon-touch-selector.c: (_create_new_column),
1749 (hildon_touch_selector_append_column),
1750 (hildon_touch_selector_set_column_selection_mode),
1751 (hildon_touch_selector_set_active),
1752 (hildon_touch_selector_select_iter):
1753 Emit the HildonTouchSelector::changed signal every time selection
1754 is changed in any of the methods above. This behavior was already
1755 documented but not fully functional.
1757 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1758 selection is programmatically changed)
1760 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1762 * doc/hildon-sections.txt: Remove obsolete icon
1763 sizes from here as well.
1765 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1767 * examples/hildon-stackable-window-example.c (add_window): Remove
1770 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1772 * src/hildon-app-menu.c
1773 (hildon_app_menu_show): Check whether the parent window of a menu
1774 is topmost before popping it up.
1776 Fixes: NB#100468 (Application menu window is launched even when a
1777 new secondary-window/dialog is pending to be shown/realized.)
1779 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1781 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1784 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1786 Patch by Mox Soini (ext-mox.soini@nokia.com)
1788 * src/hildon-banner.c: (hildon_banner_show_animation):
1789 use stylus size instead of obsolete note size.
1790 * src/hildon-defines.h: Update icon sizes.
1792 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1794 * src/hildon-touch-selector-entry.c:
1795 (hildon_touch_selector_entry_init): Disable unsupported
1797 (hildon_touch_selector_entry_get_text_column): Emit a warning
1798 if an unsupported input modes is used and explicitile state
1799 these modes in the documentation.
1801 Fixes: NB#99802 (Hildon touch selector entry not working properly
1802 for some of the input modes)
1804 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1806 * src/hildon-pannable-area.c,
1807 (hildon_pannable_area_init): Added the changed signal handlers of
1810 Fixes: NB#100320 (HildonPannableArea does not listen to
1811 GtkAdjustment "change" signals)
1813 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1815 * doc/hildon-sections.txt
1816 * src/hildon-window-private.h
1817 * src/hildon-window.h
1818 * src/hildon-window.c (hildon_window_init)
1819 (hildon_window_realize, hildon_window_unrealize)
1820 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1821 (hildon_window_size_request, hildon_window_size_allocate)
1822 (hildon_window_forall, hildon_window_show_all)
1823 (hildon_window_destroy, +paint_edit_toolbar)
1824 (+hildon_window_set_edit_toolbar):
1825 New hildon_window_set_edit_toolbar() method, to add a
1826 HildonEditToolbar to a window without having to pack it manually.
1828 Reorganize hildon_window_size_allocate()
1830 * src/hildon-edit-toolbar.c: Update documentation.
1832 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1833 example to use the new API.
1835 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1837 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1839 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1840 Remove from stack before calling parent's hide.
1842 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1844 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1845 window is removed from the middle of the stack, update the
1846 transiency of the previous one.
1848 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1851 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1853 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1854 block/unblock the signal handler if it's not actually being used.
1855 Fixes some critical warnings.
1857 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1859 Based on a patch by Iván Gómez (igomez@igalia.com)
1861 * src/hildon-banner.c
1865 * src/hildon-pannable-area.c
1866 * src/hildon-picker-dialog.c
1867 * src/hildon-wizard-dialog.h
1868 * src/hildon-wizard-dialog.c: Documentation updates.
1870 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1871 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1873 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1875 * configure.ac: post release version bump.
1876 * debian/changelog: version bump.
1878 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1883 * configure.ac: Bump version.
1884 * debian/changelog: Updates.
1886 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1888 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1889 a stock icon nor change the relief of the back arrow.
1891 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1892 graphics from theme)
1894 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1896 * src/hildon-button.c (hildon_button_set_alignment): Use
1897 priv->alignment if the button has no child yet.
1899 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1901 * src/hildon-button.c: (hildon_button_init): Set the
1902 button style during initialization to give it the proper
1905 Fixes: NB#99713 (HildonButton value label color is wrong)
1907 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1909 * src/hildon-touch-selector.c: Document
1910 hildon_touch_selector_center_on_selected()
1912 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1914 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1915 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1916 all menu items, but not the menu itself.
1917 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1918 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1919 items after adding them to the menu so keyboard accelerators work.
1920 (hildon_app_menu_show): Don't show the menu if it contains items
1921 but none of them are visible.
1923 * examples/hildon-app-menu-example.c (create_menu): Use
1924 gtk_widget_show_all() to show all menu items.
1926 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1928 * src/hildon-picker-dialog.c:
1929 (-_update_title_on_selector_changed_cb),
1930 (-_dialog_update_title): Removed.
1931 (_select_on_selector_changed_cb), (_on_dialog_response),
1932 (on_selector_columns_changed): Do not update the dialog title.
1933 (setup_interaction_mode): Do not connect to
1934 HildonTouchSelector::changed signal if there's a "done" button, as
1935 the dialog title doesn't need to be updated.
1937 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1940 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1942 Patch by Kristian Rietveld (kris@imendio.com)
1944 * src/hildon-touch-selector.c: (_create_new_column): Use new
1945 GtkTreeView::hildon-row-tapped signal to react to user interactions
1946 instead of ::changed.
1948 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1949 with some dynamic tree model)
1951 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1953 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1954 (+screen_size_changed, +label_size_request)
1955 (hildon_note_class_init): Make the Hildon information note have a
1956 minimum height, and make its text hvae a maximum width.
1958 Fixes: NB#98614 (Hildon information note (background) should have
1959 minimum height and maximum text width)
1961 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1963 * src/hildon-banner.h
1964 * src/hildon-banner.c (hildon_banner_show_information)
1965 (hildon_banner_show_informationf)
1966 (hildon_banner_show_information_with_markup): Update documentation
1967 to reflect that the icon_name parameter is not used anymore.
1968 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1969 Remove all code from these functions and mark them as deprecated.
1970 (hildon_banner_show_progress): Mark as deprecated.
1972 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1974 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1976 * src/hildon-pannable-area.c,
1977 (hildon_pannable_area_class_init),
1978 (tranparency_color),
1979 (hildon_pannable_draw_vscroll),
1980 (hildon_pannable_draw_hscroll),
1981 (hildon_pannable_area_expose_event): Added a new way to render the
1982 scrollbars of the pannable area avoiding using cairo at all. This
1983 way we improve the performance of the pannable area rendering. The
1984 cairo rendering procedure is still in the code, we can control
1985 which one to use changing the value of the define
1986 USE_CAIRO_SCROLLBARS.
1988 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1990 * configure.ac: post release version bump.
1991 * debian/changelog: version bump.
1993 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1998 * configure.ac: Bump version.
1999 * debian/changelog: Updates.
2001 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2003 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2004 banners instead of destroying them when they receive a button
2007 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2009 Reverted commit 34028, it was causing regressions, probably the
2010 topmost condition is not correct, we have to check it in more
2011 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2012 propagation of button press events)
2014 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2016 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2017 that the selection is not empty before attempting to retrieve the
2018 current ampm selection.
2020 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2022 * src/hildon-picker-button.c:
2023 (hildon_picker_button_on_dialog_response): Directly update the
2024 button contents when required instead of calling _selection_changed.
2026 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2028 * src/hildon-program.c (hildon_program_update_top_most): Update
2029 'is-topmost' property also when wm_hints is not set.
2031 Fixes: NB#98383 (is-topmost signal is not emitted when task
2032 switcher is clicked.)
2034 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2036 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2040 * src/hildon-animation-actor.c,
2041 * src/hildon-animation-actor.h: Added the animation actor class,
2042 this widget represents an animation actor for WM-assisted
2043 animation effects in the Hildon framework.
2045 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2047 * src/hildon-window-stack-private.h
2048 * src/hildon-window-stack.c
2049 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2050 Avoid calling gtk_widget_show() again indirectly from
2051 hildon_stackable_window_show()
2053 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2055 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2058 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2060 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2061 (hildon_time_selector_init): Move the construction of the hours and
2062 ampm columns to the constructor to preserve the order the columns
2065 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2067 * src/hildon-picker-dialog.c:
2068 (hildon_picker_dialog_class_init): Connect a realize method.
2069 (+hildon_picker_dialog_realize): Setup the interaction mode here
2071 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2072 yet, do it during the realize instead.
2073 (_on_dialog_response):
2074 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2075 if the widget is not realized, to avoid the dialog response before it
2078 Avoid premature responses in the HildonPickerDialog that can cause it
2079 to be hidden before it's even shown.
2081 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2083 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2084 (on_selector_columns_changed), (requires_done_button),
2085 (+prepare_action_area), (setup_interaction_mode),
2086 (_hildon_picker_dialog_set_selector):
2088 Split the interaction mode setup into preparation of the
2089 action area (prepare_action_area()) and the connection of
2090 the signals in setup_interaction_mode() and update the code to
2093 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2095 * src/hildon-pannable-area.c,
2096 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2097 per second to 15, we will check if this is ok regarding
2100 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2102 * src/hildon-pannable-area.c,
2103 (hildon_pannable_axis_scroll): Avoid resize if we already have
2104 reached overshoot_max.
2106 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2108 * src/hildon-pannable-area.c,
2109 (hildon_pannable_area_init),
2110 (hildon_pannable_area_realize),
2111 (hildon_pannable_area_size_allocate),
2112 (hildon_pannable_area_map),
2113 (hildon_pannable_area_unmap),
2114 (hildon_pannable_draw_vscroll),
2115 (hildon_pannable_draw_hscroll),
2116 (hildon_pannable_area_expose_event),
2117 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2118 pannable are to avoid the expose events go to the window and
2119 redraw the window. We save this way that part of the stack and the
2120 paint_boxes. We had to change the positions of the elements when
2123 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2125 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2126 * src/hildon-color-chooser-dialog.c:
2127 (hildon_color_chooser_dialog_init):
2128 * src/hildon-font-selection-dialog.c:
2129 (hildon_font_selection_dialog_init),
2130 (hildon_font_selection_dialog_show_preview):
2131 * src/hildon-get-password-dialog.c:
2132 * src/hildon-login-dialog.c:
2133 * src/hildon-set-password-dialog.c:
2134 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2135 * src/hildon-time-picker.c: (hildon_time_picker_init):
2137 Remove obsolete logical string IDs and update to the appropriate ones.
2139 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2141 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2143 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2144 that happens if the window hasn't been realized yet.
2146 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2147 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2149 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2151 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2152 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2155 Fixes: NB#98537 (Device hangs in account settings dialog)
2157 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2159 * configure.ac: post release version bump.
2160 * debian/changelog: version bump
2162 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2167 * configure.ac: Bump version.
2168 * debian/changelog: Updates.
2170 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2172 Added a new function to the HildonTimeButton widget that allows to
2173 change the step of the minutes in the selector associated with the
2174 button: hildon_time_button_new_step
2176 * src/hildon-time-button.c,
2177 (hildon_time_button_init),
2178 (hildon_time_button_new),
2179 (hildon_time_button_new_step):
2180 * src/hildon-time-button.h: Added the new function and refactored
2182 * examples/hildon-time-button-example.c,
2183 (main): We have replaced the function without parameters with the
2184 function with the steps set to 5
2186 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2188 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2190 * src/hildon-time-selector.c,
2191 (hildon_time_selector_class_init),
2192 (hildon_time_selector_constructor),
2193 (hildon_time_selector_get_property),
2194 (hildon_time_selector_set_property),
2195 (_create_minutes_model),
2196 (hildon_time_selector_new_step),
2197 (hildon_time_selector_set_time),
2198 * src/hildon-time-selector.h: Added a new property to the
2199 HildonTimeSelector (minutes-step), we use that property to control
2200 the steps between the minutes in the list of the selector. We have
2201 added a new function to the API to create a widget changing the
2202 step: hildon_time_selector_new_step.
2204 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2206 * src/hildon-time-selector.c,
2207 (hildon_time_selector_class_init),
2208 (hildon_time_selector_constructor),
2209 (hildon_time_selector_init): Overrided the construct function when
2210 creating the time selector object. We have moved the minutes model
2211 handling code from the init to the new construction function:
2212 hildon_time_selector_constructor.
2214 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2216 * examples/hildon-date-button-example.c: (main): Use the new
2217 hildon_date_button_new_with_year_range() method in the example.
2218 * src/hildon-date-button.c:
2219 (+hildon_date_button_new_with_year_range): New public method
2220 to conveniently create a HildonDateButton with a custom year range
2221 in its HildonDateSelector.
2222 * src/hildon-date-button.h: Add the new public method definition.
2224 Fixes: NB#97908 (Not possible to change the year range in
2225 HildonDateSelector/HildonDateButton)
2227 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2229 * src/hildon-date-selector.c:
2230 (+hildon_date_selector_set_property),
2231 (+hildon_date_selector_get_property),
2232 (hildon_date_selector_class_init): Install new properties "min-year"
2233 and "max-year" to define boundaries for the year column.
2234 (_create_year_model): Use the boundary properties to populate the model.
2235 (+hildon_date_selector_new_with_year_range): New public method to
2236 create a HildonDateSelector with a user defined year range.
2237 (hildon_date_selector_select_current_date): Use the new boundaries to
2238 calculate the iterator of current year.
2239 * src/hildon-date-selector.h: Add the new public method definition.
2241 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2243 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2244 Install a constructor method.
2245 (+hildon_date_selector_construct_ui): construct the widget.
2246 (+hildon_date_selector_constructor): new constructor.
2247 (+hildon_date_selector_init): move out widget construction code to
2248 the new constructor.
2250 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2252 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2253 that there's actually a month or year selected before obtaining them.
2254 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2255 of the HildonTouchSelector::changed signal, as it was emitted on every
2256 single item selection.
2258 Fix some warnings and possible crashers due to the selection restoring.
2260 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2262 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2263 the signal handlers only after creating the dialog instead of on every
2266 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2268 * src/hildon-button.c (hildon_button_init)
2269 * src/hildon-check-button.c (hildon_check_button_init)
2270 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2271 focus when clicked by default.
2273 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2275 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2278 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2280 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2281 Alejandro G. Castro (alex@igalia.com)
2283 * src/hildon-picker-dialog.c:
2284 (hildon_picker_dialog_class_init): install new "center-on-show"
2286 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2287 (hildon_picker_dialog_set_property): add setter code for the new
2289 (hildon_picker_dialog_get_property): add getter code for the new
2291 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2292 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2295 Fixes: NB#92849 (Selected item is not always visible when
2296 HildonTouchSelector is shown)
2298 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2300 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2301 Alejandro G. Castro (alex@igalia.com)
2303 * src/hildon-touch-selector.c:
2304 (_create_new_column): Do not connect to the "realize" signal of the
2306 (hildon_touch_selector_append_column): center on the selected items
2307 when a new column is appended.
2308 (hildon_touch_selector_select_iter): Factor out the code to select a
2309 column to hildon_touch_selector_scroll_to().
2310 (+search_nearest_element): Method to retrieve the nearest selected
2311 element to the visible area of the pannable area in a column.
2312 (+on_realize_cb): scroll to the initially selected item.
2313 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2314 the pannable area is realized, otherwise delay this until it is.
2315 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2316 selected items of a given column.
2317 (+hildon_touch_selector_center_on_selected): Public method to center
2318 all columns on the nearest selected item.
2319 * src/hildon-touch-selector.h: Add definition for
2320 hildon_touch_selector_center_on_selected().
2322 Implement public API to ensure visibility of all selected items in
2323 a HildonTouchSelector.
2325 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2327 Fixed a problem in the fading when calling the scroll_to API, and
2328 improve scrollbar fading handling.
2330 * src/hildon-pannable-area.c,
2331 (hildon_pannable_area_grab_notify): avoid the timeout when the
2333 (hildon_pannable_area_button_press_cb),
2334 (hildon_pannable_area_motion_notify_cb): Code style changes.
2335 (hildon_pannable_area_button_release_cb): Review the conditions
2336 when releasing the mouse button to avoid unrequired fading
2338 (hildon_pannable_area_scroll_to): Do not calculate and set the
2339 velocity if the scroll is not required.
2341 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2343 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2344 Don't check whether the new selector is NULL: it cannot be.
2345 Hold a reference to the selector while doing the replacement.
2347 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2349 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2350 unnecessary size_request in a removed widget.
2352 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2354 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2355 an unnecessary reference tracking that was leaking.
2357 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2359 Added delayed motion notify event handling, this way we can
2360 discard redrawing if more than 25 events arrive per second.
2362 * src/hildon-pannable-area.c,
2363 (hildon_pannable_area_init): Initialized the new private atributes
2364 controlling this timeout
2365 (hildon_pannable_area_dispose): Remove the timeout that controls
2366 the motion notify events.
2367 (hildon_pannable_area_scroll): Added a condition to control the
2368 use of the acceleration.
2369 (hildon_pannable_area_motion_event_scroll_timeout),
2370 (hildon_pannable_area_motion_event_scroll): Added this two
2371 functions, they handle the motion notify events inside the
2373 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2374 to the scroll method with the new function.
2375 (hildon_pannable_area_button_release_cb): We have to remove the
2376 timeout handler and move to the last position if the last motion
2377 events were not handled.
2379 Fixes: NB#97028 (Pannable area updates on every motion event)
2381 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2383 * src/hildon-pannable-area.c,
2384 (hildon_pannable_area_get_topmost): Added a new parameter to
2385 filter the the windows that do not include those events. Added
2386 also a condition when finding the window to filter windows that do
2387 not ask for those events.
2388 (hildon_pannable_area_button_press_cb),
2389 (hildon_pannable_area_button_release_cb),
2390 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2391 topmost function, we have added the new parameter.
2393 Fixes: NB#97458 (Pannable area prevents propagation of button
2396 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2398 * src/hildon-pannable-area.c,
2399 (hildon_pannable_area_initial_effect): Added controls before
2400 launching the timeout and the idle functions.
2401 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2402 of the method, in some situations it can return with TRUE and 0 in
2404 (hildon_pannable_area_button_press_cb): We do not need to set
2405 DELAY for fading out here.
2407 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2409 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2411 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2412 post-cleaning if the selection is not NULL.
2414 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2416 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2417 all items before restoring the selection.
2419 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2421 * src/hildon-touch-selector.c:
2422 (+hildon_touch_selector_unselect_all):
2423 * src/hildon-touch-selector.h: New API to unselect all items in a
2424 column of the touch selector.
2426 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2428 * src/hildon-pannable-area.c,
2429 (hildon_pannable_area_redraw): Added a call to the refresh
2430 function inside the redraw because apparently in some cases the
2431 change in the adjustment does not imply a size allocate.
2433 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2434 despite the view not being scrollable)
2436 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2438 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2439 leak. Check for NULL before attempting to set the window title.
2441 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2443 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2444 whether to show or not the 'Done' button each time the dialog is
2445 shown, as it depends on the HildonTouchSelector selection mode.
2447 Fixes: NB#96226 (In multiple selection mode Done button is shown
2448 sometimes in listpicker)
2450 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2452 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2453 for the number of columns in the HildonTouchSelector more than once.
2455 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2457 * src/hildon-touch-selector.c: Minor documentation fixes.
2459 * src/hildon-picker-dialog.c (+_dialog_update_title)
2460 (_select_on_selector_changed_cb)
2461 (_update_title_on_selector_changed_cb)
2462 (on_selector_columns_changed): Update dialog title when there's no
2463 'Done' button and also when the number of columns in the selector
2467 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2468 (+_selection_changed, hildon_picker_button_on_dialog_response)
2469 (hildon_picker_button_selector_selection_changed)
2470 (+hildon_picker_button_selector_columns_changed)
2471 (hildon_picker_button_set_selector): Update button value and emit
2472 'value-changed' when the number of columns in the selector
2476 Fixes: NB#96225 (Dialog titles are not shown according to the
2477 values selected in the list picker)
2479 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2481 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2482 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2483 New "arrow-width" and "arrow-height" style properties to set the
2484 size of the arrow button.
2485 Set name of arrow button ("hildon-edit-toolbar-arrow").
2487 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2488 graphics from theme)
2490 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2492 * src/hildon-picker-button.c:
2493 (hildon_picker_button_selector_selection_changed): Use
2494 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2495 the dialog is present.
2497 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2498 the selection is accepted in the dialog)
2500 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2502 * src/hildon-color-chooser.h
2503 * src/hildon-color-chooser-dialog.h:
2504 Added G_BEGIN_DECLS and G_END_DECLS
2506 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2508 (_clean_current_selection): plug a leak in the list.
2510 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2512 * src/hildon-picker-dialog.c:
2513 (+free_path_list): Method to free a GList of GtkTreePaths.
2514 (_clean_current_selection), (_save_current_selection),
2515 (_restore_current_selection): Save the current selection in
2516 as a list of lists, to support multiple selection properly.
2518 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2520 patch by Claudio Saavedra (csaavedra@igalia.com)
2522 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2523 Store the press position.
2524 (+hildon_text_view_button_release_event): If the release position is
2525 close enough to the press position, move the cursor here. Otherwise,
2527 (hildon_text_view_class_init): Override GtkTextView press, release, and
2528 motion event handlers, disabling this way text selection through
2529 pointer interaction, and allowing the container widget to handle the
2532 Fixes: NB#95828 (HildonTextView functionality)
2534 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2536 Based on a patch by Iván Gómez (igomez@igalia.com)
2538 * src/hildon-button.[ch]
2539 * src/hildon-calendar.c
2540 * src/hildon-check-button.c
2541 * src/hildon-date-editor.c
2542 * src/hildon-date-selector.c
2543 * src/hildon-picker-button.c
2544 * src/hildon-time-editor.c
2545 * src/hildon-time-selector.c
2546 * src/hildon-touch-selector.[ch]:
2547 Documentation updates
2549 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2551 * src/hildon-pannable-area.c,
2552 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2553 threshold, it was required due to X events handling.
2555 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2557 * src/hildon-pannable-area.c,
2558 (hildon_pannable_area_grab_notify),
2559 (hildon_pannable_area_initial_effect),
2560 (hildon_pannable_area_button_press_cb),
2561 (hildon_pannable_area_button_release_cb),
2562 (hildon_pannable_area_scroll_cb),
2563 (hildon_pannable_area_scroll_to): Review the timeout management of
2564 the scrollbar, the frecuency was incorrectly set.
2566 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2568 * src/hildon-picker-button.c:
2569 (+hildon_picker_button_on_dialog_response),
2570 (hildon_picker_button_clicked): Present the dialog instead of
2571 running it with gtk_dialog_run().
2573 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2576 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2578 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2579 (hildon_app_menu_finalize): When a window is hidden it doesn't
2580 emit notify::is-topmost, so make sure than the menu also
2581 disappears in that case.
2582 (parent_window_topmost_notify): Renamed from parent_window_hidden
2584 Fixes: NB#94460 (stackable window's menu is not closed when its
2587 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2589 * src/hildon-touch-selector-entry.c:
2590 (+hildon_touch_selector_entry_set_input_mode),
2591 (+hildon_touch_selector_entry_get_input_mode):
2592 * src/hildon-touch-selector-entry.h: New methods to access the input
2593 mode in the selector's entry.
2595 Fixes: NB#93410 (API required for setting IM mode in
2596 HildonTouchSelectorEntry)
2598 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2600 * configure.ac: post release version bump.
2601 * debian/changelog: version bump
2603 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2608 * configure.ac: Bump version.
2609 * debian/changelog: Updates.
2611 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2613 * src/hildon-touch-selector.c:
2614 (_hildon_touch_selector_has_multiple_selection): No need
2615 to initialize the variables here.
2617 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2619 * src/hildon-note-private.h
2620 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2621 (hildon_note_finalize, hildon_note_rebuild): Close information
2622 notes when they receive a button press.
2624 Fixes: NB#89890 (Information notes does not get disappeared after
2627 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2629 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2630 mark from the wizard title, as it's not really necessary. Also,
2631 do not display the page title if not set.
2633 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2635 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2636 (parent_window_hidden): Use the window's "is-topmost" property to
2637 detect when to hide the menu.
2639 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2641 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2642 (hildon_app_menu_finalize): If the parent window of the menu is
2643 hidden, hide the menu too.
2645 Fixes: NB#94460 (stackable window's menu is not closed when its
2648 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2651 * debian/libhildon1-examples.install
2653 * examples/Makefile.am:
2654 Use dh_install to install all examples.
2655 Use DEB_SRCDIR instead of defining SOURCE_DIR
2657 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2659 * configure.ac: post release version bump.
2660 * debian/changelog: version bump
2662 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2667 * configure.ac: bump version
2668 * debian/changelog: updates
2669 * debian/control: bump gtk+ dependency
2671 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2673 patch by Christian Dywan (christian@imendio.com)
2675 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2676 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2678 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2680 * src/hildon-check-button.c (hildon_check_button_init)
2681 (hildon_check_button_class_init, hildon_check_button_style_set)
2682 (hildon_check_button_apply_style):
2683 New "checkbox-size" style property.
2685 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2686 larger / configurable size)
2688 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2690 * configure.ac: post release version bump.
2691 * debian/changelog: version bump
2693 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2698 * configure.ac: bump version
2699 * debian/changelog: updates
2701 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2703 * doc/hildon-sections.txt
2704 * src/hildon-pannable-area.c
2705 * src/hildon-program.c
2706 * src/hildon-time-editor.c
2707 * src/hildon-touch-selector-entry.c:
2709 More documentation updates.
2711 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2713 * doc/hildon-sections.txt
2714 * src/hildon-caption.c
2715 * src/hildon-code-dialog.c
2716 * src/hildon-color-button.c
2717 * src/hildon-controlbar.c
2718 * src/hildon-date-editor.c
2719 * src/hildon-date-selector.c
2720 * src/hildon-edit-toolbar.c
2721 * src/hildon-find-toolbar.c
2722 * src/hildon-font-selection-dialog.c
2724 * src/hildon-program.c
2725 * src/hildon-range-editor.c
2726 * src/hildon-seekbar.c
2727 * src/hildon-time-editor.c
2728 * src/hildon-time-selector.c
2729 * src/hildon-volumebar-range.c
2730 * src/hildon-volumebar.c
2731 * src/hildon-vvolumebar.c
2732 * src/hildon-weekday-picker.c
2733 * src/hildon-window.c
2734 * src/hildon-wizard-dialog.c:
2736 Lots of documentation fixes.
2738 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2740 Patch contributed by Iván Gómez (igomez@igalia.com)
2742 * src/hildon-check-button.c:
2743 * src/hildon-date-button.c:
2744 * src/hildon-date-selector.c:
2745 * src/hildon-dialog.c:
2746 * src/hildon-edit-toolbar.c:
2747 * src/hildon-entry.c:
2748 * src/hildon-picker-button.c:
2749 * src/hildon-program.c:
2750 * src/hildon-text-view.c:
2751 * src/hildon-time-button.c:
2752 * src/hildon-touch-selector-entry.c:
2753 * src/hildon-window-stack.c:
2755 Add more "since" tags to the new API.
2757 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2759 * doc/hildon-sections.txt: Add below method.
2760 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2761 version for the hildonized scale.
2762 * src/hildon-gtk.h: Add the definition.
2764 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2766 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2768 * doc/hildon-sections.txt: Add missing entries for new methods.
2770 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2772 Added API to pannable are in order to get its adjustments. We
2773 added two properties to manage the values we had in the private
2776 * src/hildon-pannable-area.c:
2777 (hildon_pannable_area_class_init): Added hadjustment and
2778 vadjustment properties in order to expose horizontal and vertical
2780 (hildon_pannable_area_get_property),
2781 (hildon_pannable_area_set_property): Added code to handle the new
2783 (hildon_pannable_area_get_hadjustment),
2784 (hildon_pannable_area_get_vadjustment): API functions to get the
2786 * src/hildon-pannable-area.h:
2787 (hildon_pannable_area_get_hadjustment),
2788 (hildon_pannable_area_get_vadjustment): API functions to get the
2791 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2793 Fixed some leaks, after valgrinding.
2795 * src/hildon-touch-selector.c:
2796 (_default_print_func): Fixed a leak.
2797 (hildon_touch_selector_append_column): Fixed a leak.
2798 * src/hildon-date-button.c:
2799 (hildon_date_button_init): Fixed a leak.
2800 * src/hildon-date-selector.c
2801 (hildon_date_selector_finalize): Fixed a leak.
2803 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2805 Based on a patch by Christian Dywan (christian@imendio.com)
2807 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2809 * src/hildon-gtk.h: Add definition.
2811 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2813 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2815 * src/hildon-picker-button.c: (hildon_picker_button_init),
2816 (hildon_picker_button_new): Set the HildonButton::style property
2817 in the init method, to propagate the value to the derived classes.
2819 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2821 * src/hildon-button.c: (hildon_button_class_init): Do not make
2822 the "style" property a construct property.
2824 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2826 * src/hildon-wizard-dialog.h
2827 * src/hildon-wizard-dialog.c
2828 (hildon_wizard_dialog_set_forward_page_func)
2829 * src/hildon-pannable-area.h
2830 * src/hildon-pannable-area.c
2831 (hildon_pannable_area_set_size_request_policy):
2832 Documentation fixes.
2834 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2836 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2838 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2840 * doc/hildon-sections.txt: Added sections file.
2842 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2845 * src/*.[ch]: Updates.
2847 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2849 * examples/hildon-progress-indicator-example.c: new file
2850 * examples/Makefile.am: include the new example program
2852 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2854 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2856 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2858 * configure.ac: post release version bump
2859 * debian/changelog: version bump
2861 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2866 * configure.ac: bump version
2867 * debian/changelog: updates
2868 * debian/control: bump gtk+ dependency
2870 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2872 * src/hildon-dialog.c: Mark as deprecated.
2873 * src/hildon-dialog.h: Mark as deprecated.
2874 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2875 from HildonDialog and still work, even if
2876 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2877 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2879 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2880 maemo changes) instead)
2882 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2884 * src/hildon-pannable_area.h:
2885 * src/hildon-pannable_area.c:
2886 (hildon_pannable_area_class_init),
2887 (hildon_pannable_area_set_property),
2888 (hildon_pannable_area_get_property),
2889 (hildon_pannable_area_size_request),
2890 (hildon_pannable_area_get_size_request_policy),
2891 (hildon_pannable_area_set_size_request_policy): Added new API
2892 allowing applications to control the request policy. Now they can
2893 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2894 children allocation (HILDON_MOVEMENT_CHILDREN).
2896 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2900 (hildon_gtk_tree_view_set_ui_mode)
2901 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2902 mode of treeviews and iconviews.
2904 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2906 * src/hildon-touch-selector-entry.c:
2907 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2908 of a GtkEntry to get proper theming.
2910 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2911 widget, not GtkEntry)
2913 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2915 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2916 no HildonWizardDialogPageFunc.
2918 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2920 Patch contributed by Iván Gómez (igomez@igalia.com)
2922 * src/hildon-app-menu.c:
2923 * src/hildon-button.c:
2924 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2925 * src/hildon-stackable-window.c:
2926 * src/hildon-time-selector.c:
2927 * src/hildon-touch-selector.c:
2928 * src/hildon-window.c:
2930 Add more "since" tags to the new API in hildon 2.2.
2932 2008-12-05 Tim Janik <timj@imendio.com>
2934 Patch contributed by Christian Dywan (christian@imendio.com)
2936 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2937 HildonSizeType, which are supplied by Gtk+ now.
2939 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2941 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2942 (with maemo changes) instead)
2944 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2946 Patch contributed by Iván Gómez (igomez@igalia.com)
2948 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2951 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2953 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2954 (some_page_func), (main): Update the example to use a
2955 HildonWizardDialogPageFunc function.
2957 * src/hildon-wizard-dialog-private.h: Add private data for
2958 the HildonWizardDialogPageFunc function usage.
2960 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2961 (destroy), (hildon_wizard_dialog_init), (response),
2962 (hildon_wizard_dialog_set_forward_page_func):
2963 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2964 that applications can use to stop a HildonWizardDialog to jump to
2967 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2970 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2972 * src/hildon-program.h
2973 * src/hildon-program-private.h
2974 * src/hildon-program.c (hildon_program_init)
2975 (hildon_program_set_common_app_menu)
2976 (hildon_program_get_common_app_menu):
2977 New API for setting a common HildonAppMenu for all
2978 HildonStackableWindows registered with the HildonProgram.
2980 * src/hildon-stackable-window.c
2981 (hildon_stackable_window_toggle_menu):
2982 Use the common HildonAppMenu if a window doesn't have a specific
2985 * src/hildon-app-menu-private.h
2986 * src/hildon-app-menu.c
2987 (hildon_app_menu_get_parent_window):
2988 Function to obtain the window a HildonAppMenu is attached to.
2989 (hildon_app_menu_set_parent_window):
2990 Hide the menu if the parent window is set to NULL.
2992 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2994 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2995 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2996 search widget to popup.
2998 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3000 * configure.ac: post release version bump
3001 * debian/changelog: version bump
3003 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3008 * configure.ac: bump version
3009 * debian/changelog: updates
3011 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3013 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3015 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3016 (hildon_window_stack_window_realized)
3017 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3018 Set the leader GdkWindow when a window is stacked and realized,
3019 unset it when it's unstacked.
3020 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3022 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3024 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3026 * src/hildon-stackable-window.h
3027 * src/hildon-window-stack.h:
3028 Protect definition of HildonWindowStack using the preprocessor.
3030 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3032 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3033 Fix warning if all menu items are hidden.
3035 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3037 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3039 * src/hildon-controlbar.c:
3040 * src/hildon-hvolumebar.c:
3041 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3042 Multiple scale size defines updates.
3044 Fixes: NB#94322 (Scale Updates)
3046 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3048 * examples/hildon-app-menu-example.c (create_menu)
3049 Show items after adding them to the menu, as in the future the
3050 menu will no longer call gtk_widget_show() on the added items.
3052 * src/hildon-app-menu.c:
3053 Update example as explained above.
3055 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3057 * src/hildon-app-menu.c
3058 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3059 Make sure that all menu items have finger height.
3061 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3063 * src/hildon-picker-dialog.c:
3064 (_on_dialog_response), (_save_current_selection),
3065 (_restore_current_selection), (_clean_current_selection),
3066 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3067 Defined new functions in order to save the current internal selector
3068 selection previous open the dialog, in case that the use cancel the
3069 interaction, so the widget restores the previous selection.
3071 Fixes: NB#92032 (In calendar application, date values in 'new event'
3074 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3076 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3078 * src/hildon-button.c: Add a reference to the button examples in
3079 hildon-button-example.c
3081 * examples/hildon-button-example.c: Added examples of the most
3082 common button layouts.
3084 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3086 * src/hildon-app-menu.c (hildon_app_menu_show)
3087 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3089 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3091 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3093 * src/hildon-picker-dialog.c:
3094 (hildon_picker_dialog_init): Initialize the signal id for
3095 HildonTouchSelector::columns-changed.
3096 (+on_selector_columns_changed): Set up the interaction mode everytime a
3097 column is added or removed from the HildonTouchSelector.
3098 (_hildon_picker_dialog_set_selector): Connect to
3099 HildonTouchSelector::columns-changed and keep track of it.
3101 Make sure to update the interaction mode of the dialog everytime a
3102 column is added or removed in the HildonTouchSelector.
3104 Fixes: NB#93228 (Done button is not shown always in listpicker)
3106 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3108 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3109 a new ::columns-changed signal.
3110 (hildon_touch_selector_append_column): Emit ::columns-changed.
3111 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3113 Add a ::columns-changed signal, emitted when the number of columns in a
3114 HildonTouchSelector changes.
3116 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3118 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3119 (_hildon_picker_dialog_set_selector): Factor out the code
3120 to set up the dialog interaction mode.
3122 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3124 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3125 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3126 to signal_changed_id.
3128 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3130 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3133 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3135 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3136 Updated the logical ids related to ampm format, as now it is required to
3137 show it correctly localized even on languages with no default
3138 abbreviations for am or pm
3139 (_check_am_pm_format): check correctly the 24h format gconf property
3141 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3143 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3145 * src/hildon-button.c: Documentation updates.
3147 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3149 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3150 * src/hildon-caption.c: (hildon_caption_class_init):
3151 * src/hildon-color-button.c: (hildon_color_button_class_init):
3152 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3153 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3154 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3155 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3157 Remove deprecated GTK+ marshalers and replace them with the ones
3158 provided by GLib, for those available, add a marshaler for
3159 BOOLEAN:VOID, which is not available in GLib, and use it.
3161 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3163 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3164 the text from the previous column if there is no
3165 HildonTouchSelectorColumn::text-property set.
3167 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3169 * src/hildon-button.h
3170 * src/hildon-button.c (hildon_button_set_property)
3171 (hildon_button_get_property, hildon_button_class_init)
3172 (hildon_button_set_style, hildon_button_get_style):
3173 New "style" property to change the visual appearance of the
3176 * src/hildon-picker-button.c (hildon_picker_button_new):
3177 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3179 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3180 HildonButton look like PickerButton)
3182 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3184 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3185 column while building the default string.
3187 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3189 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3190 scroll indicator by default.
3192 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3194 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3196 * src/hildon-main.c: Fix the documentation for hildon_init()
3198 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3200 * doc/hildon-docs.sgml
3204 * src/hildon-window-stack-private.h
3205 * src/hildon-window-stack.h
3206 * src/hildon-window-stack.c:
3207 New HildonWindowStack object, that adds support for multiple
3208 stacks of windows per process.
3210 * src/hildon-stackable-window-private.h
3211 * src/hildon-stackable-window.h
3212 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3213 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3214 (hildon_stackable_window_show, hildon_stackable_window_hide)
3215 (hildon_stackable_window_class_init)
3216 (hildon_stackable_window_init):
3217 Use HildonWindowStack for stack management.
3219 * src/hildon-program.c (hildon_program_pop_window_stack)
3220 (hildon_program_peek_window_stack)
3221 (hildon_program_go_to_root_window):
3222 Add a fallback implementation to the deprecated functions using
3225 * examples/hildon-stackable-window-example.c:
3226 Use the new HildonWindowStack API.
3228 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3230 * src/hildon-stackable-window-private.h
3231 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3232 (hildon_stackable_window_hide, hildon_stackable_window_init):
3233 Remove all window stack management.
3235 * src/hildon-program-private.h
3236 * src/hildon-program.h
3237 * src/hildon-program.c (hildon_program_init)
3238 (hildon_program_pop_window_stack)
3239 (hildon_program_peek_window_stack)
3240 (hildon_program_go_to_root_window):
3241 Remove all window stack management and mark functions as
3244 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3246 * src/hildon-app-menu.c (hildon_app_menu_realize):
3247 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3249 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3251 * configure.ac: post release version bump
3252 * debian/changelog: version bump
3254 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3259 * configure.ac: bump version
3260 * debian/changelog: updates
3262 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3264 Based on initial code by Christian Dywan (christian@imendio.com)
3266 * doc/hildon-docs.sgml: Add section for hildon-main.
3267 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3268 * src/Makefile.am: Add new hildon-main.[ch]
3269 * src/hildon-defines.h: Update the icon sizes.
3270 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3271 new library initialization files and register icon sizes.
3272 * src/hildon-main.h: New declarations.
3273 * src/hildon.h: Include hildon-main.h
3275 Add new initialization functions to the library. These methods
3276 will register the hildon specific icon sizes and can be used in the
3277 future for other hildon specific bits.
3279 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3281 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3283 * src/hildon-window.c: (hildon_window_realize),
3284 (hildon_window_notify), (-hildon_window_update_title): Do not set
3285 the application name in the window title.
3287 Fixes: NB#89754 (Applications shouldn't display their names in the
3290 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3292 * src/hildon-note-private.h:
3293 * src/hildon-note.c: (hildon_note_set_property),
3294 (hildon_note_get_property), (hildon_note_class_init),
3295 (hildon_note_init), (hildon_note_finalize),
3296 (hildon_note_new_confirmation_with_icon_name),
3297 (hildon_note_new_information_with_icon_name):
3299 No need to mark as deprecated the actual code. Revert
3300 to avoid missing symbols in widgets using deprecated API.
3302 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3304 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3306 * src/hildon-volumebar.h
3307 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3308 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3310 * src/hildon-helper.h
3311 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3312 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3314 * examples/Makefile.am:
3315 Deprecate hildon-insensitive-example
3317 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3319 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3321 * examples/hildon-pannable-area-buttons-scroll-example.c:
3322 Make all buttons finger height
3324 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3326 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3328 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3329 update the day model only if it is really required, and to avoid the
3330 full-reconstruction aproach. Now it only add or remove the required days.
3332 The purpose of this is avoid superfluous HildonTouchSelector::changed
3335 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3336 with strange parameters)
3338 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3340 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3342 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3343 the WINDOW_TYPE property.
3345 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3347 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3350 Fix dependency to allow parallel compilation with make -jX
3352 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3354 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3355 color frame and some minor tweaks to make it more consistent with
3358 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3359 highlighted but not visible)
3361 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3363 * examples/Makefile.am: Fixed typo in the Makefile.am.
3365 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3367 Reviewed the use of MAEMO_GTK define, now we add the define in the
3368 compilation line, and we also add it to the pc file.
3370 * configure.ac: Added MAEMO_GTK define to the compilation command
3371 and removed it from the config.h.
3373 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3374 do not have to take care about this define if the library was
3378 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3380 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3382 * examples/Makefile.am,
3383 * examples/hildon-pannable-area-buttons-scroll-example.c,
3384 * examples/hildon-pannable-area-gesture-signals-example.c,
3385 * examples/hildon-pannable-area-scroll-jump-example.c,
3386 * examples/hildon-pannable-area-tree-view-example.c:
3387 Renamed the pannable area examples, now they have more meaningful
3390 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3392 * src/hildon-touch-selector.c:
3393 (hildon_touch_selector_set_column_selection_mode): Used of
3394 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3395 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3396 to avoid re-seting the same selection mode.
3398 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3399 breaks HildonPickerDialog)
3401 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3403 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3404 conditional in the Makefile.am
3406 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3408 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3409 Remove unused methods.
3411 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3413 * src/hildon-button.c (hildon_button_init):
3414 Make button images center-aligned by default
3416 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3419 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3420 activated, we have to think about how to deal with both defines
3421 MAEMO_GTK and MAEMO_CHANGES.
3423 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3425 * examples/hildon-app-menu-example.c (create_menu): Make all
3426 buttons finger size.
3428 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3430 Fixed the compilation without maemo gtk adding ifdefs with
3431 MAEMO_GTK define to the code, we have to check this version more
3434 * examples/Makefile.am: Added control to avoid some examples that
3435 just make sense with maemo gtk.
3438 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3439 hildon modes with the define.
3441 * examples/hildon-edit-toolbar-example.c,
3442 (create_icon_view): Create the icon view without hildon-gtk
3443 helpers if we are not using maemo gtk.
3445 * src/hildon-touch-selector.c,
3446 (_create_new_column): Create the treeview without hildon-gtk
3447 helpers if we are not using maemo gtk.
3449 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3451 * src/hildon-pnnable-area.c,
3452 (hildon_pannable_area_dispose),
3453 (hildon_pannable_area_button_press_cb),
3454 (hildon_pannable_area_child_mapped),
3455 (hildon_pannable_area_add),
3456 (hildon_pannable_area_remove): Added code to control the position
3457 of the event_window when adding and removing children from the
3458 pannable. We have to raise the event window when the child is
3461 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3462 selection mode using custom widget inside pannable)
3464 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3466 * configure.ac: post release version bump
3467 * debian/changelog: version bump
3469 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3474 * configure.ac: bump version
3475 * debian/changelog: updates
3477 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3479 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3480 search mode, in order to avoid lose the focus on the treeview when
3481 a hw key (like enter) is pressed.
3483 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3484 in HildonDateSelector dialog)
3486 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3488 * debian/rules: Added --enable-maintainer-mode
3489 * Makefile.am: Added ACLOCAL_AMFLAGS
3491 This allows to properly regenerate the Makefiles if you modify the
3492 configure.ac or any Makefile.am.
3494 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3496 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3497 properties, not needed at all.
3499 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3501 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3503 * src/hildon-note.c: (hildon_note_set_property),
3504 (hildon_note_get_property), (hildon_note_class_init),
3505 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3506 (hildon_note_new_confirmation_add_buttons): Remove icons.
3507 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3508 (hildon_note_new_information_with_icon_name): Deprecate.
3509 (hildon_note_new_confirmation): Act directly, without calling
3510 the deprecated constructor.
3511 (hildon_note_new_information): Act directly, without calling
3512 the deprecated constructor.
3513 * src/hildon-note.h: Mark deprecate methods as such.
3514 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3515 not run tests on the deprecated methods if built with deprecation
3518 Fixes: NB#91688 (Never show icons in information notes/confirmation
3521 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3523 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3524 (hildon_app_menu_key_press): Remove leftover usage of the
3525 private structure in HildonAppMenu struct.
3526 * src/hildon-app-menu.h: Remove leftover private structure
3527 from the HildonAppMenu struct.
3529 Fixes a crasher when using the HildonAppMenu.
3531 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3533 * src/hildon-picker-dialog.c: Use appropriate logical id
3534 for the default "Done" text.
3536 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3538 * configure.ac: post release version bump
3539 * debian/changelog: version bump
3541 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3543 Modified the way to scroll to the current selection just when the touch
3544 selector is shown on the screen, avoiding a g_idle. Added too a property
3545 to configure this behaviour. See hildon_pannable_area_jump_to_child
3546 documentation for more information.
3548 * src/hildon-touch-selector.c
3549 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3550 Added 'initial-scroll' property
3551 (hildon_touch_selector_set_property): Added
3552 (hildon_touch_selector_map): Removed as not required anymore
3553 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3554 only a concrete column, instead of iterate along all the columns
3556 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3561 * configure.ac: bump version
3562 * debian/changelog: updates
3564 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3566 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3567 compilation time warnings.
3569 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3571 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3572 the default value for HildonPannableArea::mov-mode to
3573 HILDON_PANNABLE_AREA_MODE_VERT.
3575 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3577 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3579 Reverting following commit:
3581 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3583 * src/hildon-app-menu-private.h
3584 * src/hildon-app-menu.[ch]
3585 * src/hildon-button.[ch]
3586 * src/hildon-check-button.[ch]
3587 * src/hildon-entry.[ch]
3588 * src/hildon-pannable-area.[ch]
3589 * src/hildon-text-view.[ch]:
3590 Added private field to the object's structure.
3592 because it causes an ABI breakage. We will need to introduce these
3593 changes later at some point. See NB#91636 for an extensive
3594 explanation and status.
3596 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3598 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3600 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3601 remove special cases that are no longer necessary.
3603 Fixes: NB#91016 (Change toolbar sizes, simplification)
3605 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3607 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3608 is shown in the cancel note.
3610 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3612 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3613 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3614 (hildon_seekbar_init): Remove steppers, remove expose event.
3615 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3617 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3619 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3621 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3622 label font to "SmallSystemFont" for vertically arranged buttons.
3624 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3627 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3629 * src/hildon-check-button.c
3630 (hildon_check_button_set_active, hildon_check_button_clicked):
3631 Don't access private parts directly, use getters instead.
3633 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3635 * src/hildon-check-button.c (hildon_check_button_new):
3636 Align the contents of the check button to the left.
3638 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3640 * src/hildon-pannable-area.c,
3641 (hildon_pannable_area_scroll_to),
3642 (hildon_pannable_area_jump_to),
3643 (hildon_pannable_area_scroll_to_child),
3644 (hildon_pannable_area_jump_to_child): Replace the mapped
3645 precondition of these functions with the realized, it is the
3646 correct state of the widget in this case. Changed the
3647 documentation according to this modification.
3649 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3651 Added a new EXTRA_CFLAGS option to add the deprecated define to
3652 the compilation command. This way we can avoid using the define in
3653 the documentation compilation.
3655 * configure.ac: Defined EXTRA_CFLAGS.
3657 * examples/Makefile.am:
3659 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3661 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3663 * src/hildon-picker-dialog.c:
3664 Defined a utility macro with the desired touch selector height
3665 Removed currently unused separator, and title_label variables from
3667 (hildon_picker_dialog_init): Removed code related to the creation
3668 of unused private variables title_label and separator.
3669 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3670 to ensure correct visualization of the touch selector inside the dialog.
3671 * src/hildon-touch-selector.c
3672 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3673 ensure a concrete height of the widget.
3675 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3678 * tests/Makefile.am:
3680 Remove spurious whitespaces.
3682 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3684 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3685 compilation warning after the cancel button removal.
3687 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3689 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3691 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3692 Makefile.am, that way we can choose not to compile some examples
3693 and tests of the deprecated widgets.
3695 * examples/Makefile.am: Divided the sources in deprecated and
3698 * src/Makefile.am: Added undef statement of the deprecated
3699 symbol to the enums file generation process.
3701 * src/hildon-color-chooser-dialog.c
3702 * src/hildon-color-chooser-dialog.h
3703 * src/hildon-color-button.c
3704 * src/hildon-color-button.h
3705 * src/hildon-color-chooser.c
3706 * src/hildon-color-chooser.h
3707 * src/hildon-controlbar.c
3708 * src/hildon-controlbar.h
3709 * src/hildon-date-editor.c
3710 * src/hildon-date-editor.h
3711 * src/hildon-hvolumebar.c
3712 * src/hildon-hvolumebar.h
3713 * src/hildon-private.c
3714 * src/hildon-private.h
3715 * src/hildon-range-editor.c
3716 * src/hildon-range-editor.h
3717 * src/hildon-seekbar.c
3718 * src/hildon-seekbar.h
3719 * src/hildon-time-editor.c
3720 * src/hildon-time-editor.h
3721 * src/hildon-time-picker.c
3722 * src/hildon-time-picker.h
3723 * src/hildon-volumebar.c
3724 * src/hildon-volumebar.h
3725 * src/hildon-vvolumebar.c
3726 * src/hildon-vvolumebar.h
3727 * src/hildon-bread-crumb-trail.h
3728 * src/hildon-bread-crumb-trail.c
3729 * src/hildon-calendar-popup.c
3730 * src/hildon-calendar-popup.h
3731 * src/hildon-weekday-picker.c:
3732 * src/hildon-weekday-picker.h:
3733 * src/hildon-bread-crumb-widget.c:
3734 * src/hildon-bread-crumb-widget.h:
3735 * src/hildon-bread-crumb.c:
3736 * src/hildon-bread-crumb.h:
3737 * src/hildon-calendar.c:
3738 * src/hildon-calendar.h:
3739 * src/hildon-caption.c:
3740 * src/hildon-code-dialog.c:
3741 * src/hildon-code-dialog.h:
3742 * src/hildon-font-selection-dialog.c:
3743 * src/hildon-font-selection-dialog.h:
3744 * src/hildon-get-password-dialog.c:
3745 * src/hildon-get-password-dialog.h:
3746 * src/hildon-login-dialog.c:
3747 * src/hildon-login-dialog.h:
3748 * src/hildon-number-editor.c:
3749 * src/hildon-number-editor.h:
3750 * src/hildon-set-password-dialog.c:
3751 * src/hildon-set-password-dialog.h:
3752 * src/hildon-sort-dialog.c:
3753 * src/hildon-sort-dialog.h: This is the list of deprecated
3756 * src/hildon-touch-selector.c:
3757 * src/hildon-window.c: Added undef statement to avoid compilation
3760 * tests/Makefile.am: Divided the sources in deprecated and
3763 * tests/check_test.c,
3764 (configure_tests): Marked the deprecated code that was adding
3765 suites with deprecated tests.
3767 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3769 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3771 * src/hildon-touch-selector.c: (_default_print_func): Do not
3772 duplicate a string returned by gtk_tree_model_get(), it is already
3775 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3778 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3780 * src/hildon-pannable-area.c
3781 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3782 method, it had problems when adding a widget with viewport the
3783 second time. Now checks if it already has a viewport and uses it.
3785 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3788 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3790 * src/hildon-pannable-area.c,
3791 (hildon_pannable_area_scroll_to),
3792 (hildon_pannable_area_jump_to),
3793 (hildon_pannable_area_scroll_to_child),
3794 (hildon_pannable_area_jump_to_child): Added a precondition to the
3795 scroll and jump to functions: the widget must be mapped before we
3796 can safely call these functions. We have also added documentation
3797 to the functions to explain how to use them in this situation.
3800 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3802 Reviewed the threading handling of the pannable widget, we have
3803 used the gdk_threads_add_timeout function instead of the usual
3804 glib handlers. This avoids some problems with the threads.
3806 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3807 (hildon_pannable_area_initial_effect),
3808 (hildon_pannable_area_scroll_indicator_fade),
3809 (hildon_pannable_area_button_press_cb),
3810 (hildon_pannable_area_timeout),
3811 (hildon_pannable_area_motion_notify_cb),
3812 (hildon_pannable_area_button_release_cb),
3813 (hildon_pannable_area_scroll_cb),
3814 (hildon_pannable_area_scroll_to): Removed the
3815 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3816 gdk_threads_add_timeout.
3818 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3820 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3825 * configure.ac: bump version
3826 * debian/changelog: updates
3828 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3830 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3831 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3832 * src/hildon-color-chooser-dialog.c:
3833 (hildon_color_chooser_dialog_init):
3834 * src/hildon-font-selection-dialog.c:
3835 (hildon_font_selection_dialog_init):
3836 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3838 Remove all cancel/close-like dialogs, as these are not going to be
3841 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3843 * src/hildon-note.c: (hildon_note_rebuild),
3844 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3847 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3849 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3851 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3852 sure all buttons are shown, even the Cancel/Close-like ones.
3854 Fixes: NB#90861 (Custom Confirmation dialogs should be
3855 protected from cancel button removal)
3857 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3859 * debian/control: Change libhildon1-examples dependency from libhildon1
3861 * debian/libhildon1-examples.install
3863 * Makefile.am: Modified the final install directory for the examples on
3864 package libhildon1-examples
3865 * Makefile.static: Update clean target in order to remove all the binary
3868 Changes suggested by Claudio after review new libhildon1-examples package
3870 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3872 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3873 * src/hildon-touch-selector.c: Ditto.
3875 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3877 * debian/control: Added new package libhildon1-examples, in order to pack
3878 the current hildon examples as documentation
3879 * debian/rules: Not to compress .c files, modify some includes on the
3880 examples (as normally are compiled locally, but when installed it will
3881 require to include the installed libhildon1 library), and rename
3883 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3884 install all the example files on the new example package
3885 * examples/Makefile.static: Added static makefile that can be used to
3886 compile the examples, once installed the new example package
3887 * examples: Most of the examples were modified in order to grant that
3888 all use only '#include "hildon.h"', in order to be easy to prepare
3889 it on the example package
3891 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3894 * debian/libhildon1-dev.install
3895 * debian/libhildon1-doc.install:
3896 Move all gtk-doc files to a separate libhildon1-doc package.
3898 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3900 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3902 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3904 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3906 * debian/rules: Fixed a error in order to avoid unnecessary calls
3907 to autogen.sh on package building
3909 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3911 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3913 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3915 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3918 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3920 * src/hildon-picker-button.c
3921 (hildon_picker_button_finalize):
3922 Free priv->done_button_text
3924 * src/hildon-time-button.c
3925 (hildon_time_button_set_time)
3926 * src/hildon-picker-button.c
3927 (hildon_picker_button_clicked)
3928 (hildon_picker_button_selector_selection_changed)
3929 (hildon_picker_button_set_selector)
3930 * src/hildon-date-button.c
3931 (hildon_date_button_set_date):
3932 Free strings returned by hildon_touch_selector_get_current_text()
3934 * src/hildon-button.c (hildon_button_construct_child):
3935 Fix leaks in priv->image and priv->label_box
3937 Fixes: NB#90535 (Memory leak in picker button)
3939 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3941 * src/hildon-button.c: (hildon_button_get_property): Do not access
3942 private elements directly, use getters instead.
3944 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3946 * src/hildon-app-menu-private.h
3947 * src/hildon-app-menu.c
3948 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3949 Store the menu's parent window.
3951 * src/hildon-stackable-window.c
3952 (hildon_stackable_window_toggle_menu)
3953 (hildon_stackable_window_finalize):
3954 Set the menu's parent window when the menu is shown, unset it when
3957 * src/hildon-app-menu.c
3958 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3959 (hildon_app_menu_class_init):
3960 Send unhandled keyboard accelerators to the parent window.
3962 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3964 * src/hildon-stackable-window.c
3965 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3967 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3969 * configure.ac: post release version bump
3971 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3974 * configure.ac: Bump version
3975 * debian/changelog: Updates
3976 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3979 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3981 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3984 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3985 GtkMenu with Hildon style.
3987 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3989 * src/hildon-picker-button.c:
3990 (hildon_picker_button_set_done_button_text): Set the dialog's
3991 done button text here as well.
3993 Fixes: NB#90232 (Picker button does not set the label on done button
3994 for the second time)
3996 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3998 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4001 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4003 * src/hildon-app-menu.c (hildon_app_menu_insert)
4004 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4005 the HildonAppMenu to be activatable using keyboard accelerators
4006 when the menu is not being shown.
4008 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4010 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4012 * src/hildon-stackable-window.c
4013 (hildon_stackable_window_show):
4014 Don't hide old windows automatically when new windows are shown:
4015 this is now a task for the window manager.
4016 (hildon_stackable_window_class_init)
4017 (hildon_stackable_window_hide):
4018 Remove windows from the stack everytime they're hidden.
4019 (hildon_stackable_window_realize):
4020 Don't change the _NET_WM_WINDOW_TYPE property. Use
4021 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4022 it as a stackable window.
4024 * src/hildon-program.c
4025 (hildon_program_pop_window_stack):
4026 Just hide the window to remove it from the stack.
4027 (hildon_program_go_to_root_window):
4028 Don't call gtk_widget_show(), this is now a task for the window
4031 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4033 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4035 * src/hildon-button.c
4036 (hildon_button_construct_child):
4037 Don't pack anything in the button until text or image are
4038 set. This allows adding a custom child after creating the button
4039 with hildon_button_new().
4040 (hildon_button_finalize, hildon_button_class_init)
4041 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4042 alignment and the label box even when they're not packed in the
4045 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4047 * src/hildon-touch-selector.h:
4048 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4049 currently the type definition was using GTK_TYPE_VBOX
4050 * src/hildon-touch-selector.c:
4051 Added some implementation notes in order to clarify that any other widget
4052 added without the column related API will not be included on the
4053 selection logic, and how the widget is freed, as some people ask about
4055 (hildon_touch_selector_remove): Reimplemented in order to free properly
4056 the column related data when you remove the private hbox.
4057 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4058 to get a proper HildonTouchSelectorColumn documentation
4060 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4062 * src/hildon-touch-selector-entry.c:
4063 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4064 text in the GtkEntry and there is no item selected. Fixes a
4067 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4069 * src/hildon-app-menu-private.h
4070 * src/hildon-app-menu.[ch]
4071 * src/hildon-button.[ch]
4072 * src/hildon-check-button.[ch]
4073 * src/hildon-entry.[ch]
4074 * src/hildon-pannable-area.[ch]
4075 * src/hildon-text-view.[ch]:
4076 Added private field to the object's structure.
4078 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4080 * configure.ac: post-release version bump
4082 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4086 * configure.ac: pre-release version bump
4088 * debian/changelog: updates.
4090 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4092 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4093 Disconnect the handler for HildonTouchSelector::changed.
4095 (hildon_picker_button_selector_selection_changed): Update the button
4096 value if the selection change was not triggered by the
4099 (hildon_picker_button_set_selector): connect to
4100 HildonTouchSelector::changed.
4102 Fixes: NB#89650 (Picker button is not updated, when selection in
4103 selector has changed)
4105 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4107 * src/hildon-picker-dialog.c
4108 (hildon_picker_dialog_realize): Removed as not required
4109 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4110 * src/hildon-picker-button.c
4111 (_current_selector_empty): New function, checks if the selector is empty
4112 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4113 if the current selector is empty, in order to avoid to show the dialog
4114 close the dialog in this case (and shows a g_warning).
4116 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4118 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4120 * src/hildon-pannable-area.c,
4121 (hildon_pannable_area_scroll): Added clause to stop movement when
4122 the child of pannable is smaller than one page.
4123 (hildon_pannable_area_scroll_to): Added conditions to avoid
4124 starting the scrolling movement if the child is smaller than one
4125 page, the complete child is in the screen, we do not have to move.
4127 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4129 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4131 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4132 this is managed automatically by the widget when the size of the
4135 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4137 * src/hildon-picker-button.c
4138 (hildon_picker_button_set_done_button_text): Make a copy of the
4139 text, and free the previous value.
4141 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4143 * src/hildon-touch-selector-entry.c:
4144 (hildon_touch_selector_entry_print_func): Return the selected row's
4145 text if the entry is empty.
4147 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4150 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4152 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4154 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4157 * src/hildon-check-button.h
4158 * src/hildon-check-button.c
4159 * examples/hildon-check-button-example.c:
4160 HildonCheckButton is now a new widget. 'toggled' signal added.
4162 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4164 * src/hildon-program-private.h
4165 * src/hildon-program.c (hildon_program_init)
4166 (hildon_program_finalize): Removed unused variables group_leader
4167 and name from HildonProgramPrivate.
4169 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4171 * src/hildon-check-button.c (hildon_check_button_set_active)
4172 (hildon_check_button_get_active, hildon_check_button_new): Use
4173 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4175 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4177 * src/hildon-touch-selector.h
4178 (hildon_touch_selector_set_column_attributes): added deprecation
4179 guard HILDON_DISABLE_DEPRECATED
4180 * src/hildon-time-selector.c
4181 (hildon_time_selector_set_time)
4182 (hildon_time_selector_get_time): Fixed a typo on documentation
4183 * src/hildon-touch-selector.c: update HildonTouchSelector and
4184 HildonTouchSelectorColumn documentation
4185 * src/hildon-touch-selector-entry.c: update "text-column" property
4187 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4188 to be added to the general documentation.
4190 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4192 * examples/hildon-pannable-area-example-4.c,
4194 * examples/hildon-pannable-area-example.c,
4195 (main): Modified the code in order to use the container add, with
4196 viewport treeviews could have problems if they are really big.
4198 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4200 * src/hildon-weekday-picker.c,
4201 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4202 the agreement regarding deprecation in the library.
4204 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4206 * examples/hildon-picker-button-multicolumn-example.c:
4207 (main): Use custom "done" button text.
4209 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4210 (hildon_picker_button_set_property),
4211 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4212 (hildon_picker_button_init),
4213 (+hildon_picker_button_get_done_button_text),
4214 (+hildon_picker_button_set_done_button_text): New methods to customize
4215 the "done" button label in the launched HildonPickerDialog. Also,
4218 * src/hildon-picker-button.h: add the public API.
4220 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4222 * src/hildon-date-selector.h:
4223 * src/hildon-picker-dialog.h:
4224 * src/hildon-time-selector.h:
4225 * src/hildon-touch-selector-column.h:
4226 * src/hildon-touch-selector.h:
4228 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4229 declarations. Fixes gtk-doc warnings.
4231 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4233 * src/hildon-picker-dialog.h
4234 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4235 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4237 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4238 long text is set as label for done button)
4240 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4242 * src/hildon-dialog.c (hildon_dialog_add_button):
4243 Set fixed width to all buttons in the HildonDialog.
4245 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4247 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4249 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4250 Set widget name using class name plus "-finger" or "-thumb".
4252 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4254 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4255 'clicked' when the state of the button is manually changed.
4257 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4259 * src/hildon-app-menu.c (hildon_app_menu_realize)
4260 (hildon_app_menu_unrealize, hildon_app_menu_init)
4261 (hildon_app_menu_class_init, item_visibility_changed):
4262 Change the menu layout when the size of the screen changes.
4263 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4264 Show warning only when changing the number of colums using the
4267 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4269 * debian/compat: Set to 5
4270 * debian/control: Update dependencies.
4271 * debian/libhildon1-dbg.install: Remove.
4272 * debian/libhildon1-dev.install: Update according to cdbs paths.
4273 * debian/libhildon1.install: Update according to cdbs paths.
4274 * debian/rules: Switch to cdbs.
4276 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4278 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4279 'item' variable renamed to 'filter'
4281 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4283 * src/hildon-app-menu.c (hildon_app_menu_insert)
4284 (hildon_app_menu_add_filter, remove_item_from_list)
4285 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4286 Don't leak hidden items when the menu is destroyed.
4288 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4290 * src/hildon-app-menu.c (hildon_app_menu_insert)
4291 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4292 (hildon_app_menu_set_columns, item_visibility_changed)
4293 (filter_visibility_changed, hildon_app_menu_repack_filters)
4294 (hildon_app_menu_repack_items):
4295 Repack items and filters separately.
4297 Don't repack all items, change only the ones that are needed to
4300 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4302 * src/Makefile.am: added hildon-touch-selector-column.h
4304 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4306 * src/hildon-touch-selector.c: added the property "text-column" to the
4307 class HildonTouchSelectorColumn, and related get/set functions
4308 (_default_printf_func): updated to use "text-column" property
4309 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4310 "text-column" in his documentation, as this is now included on
4311 HildonTouchSelectorColumn. The get/set_property can still be used,
4312 working as a wrapper to the concrete column "text-column" property
4313 (_text_column_modified): callback added in order to handle the signal
4314 "notify::text-column" of the concrete HildonTouchSelectorColumn
4315 (hildon_touch_selector_entry_get_text_column)
4316 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4317 modified in order to use the HildonTouchSelectorColumn "text-column"
4319 * src/hildon-time-selector.c:
4320 * src/hildon-date-selector.c:
4321 * examples/hildon-touch-selector-example.c
4322 * examples/hildon-touch-selector-multi-cells-example.c
4323 * examples/hildon-picker-button-multicolumn-example.c
4324 Set the right value to "text-column" property on the creation of a new
4325 column using hildon_touch_selector_append_column()
4327 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4329 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4331 * src/hildon-app-menu.c
4332 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4333 updating the layout of the menu, don't create all widgets again,
4334 just repack the items in their new places.
4336 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4338 * src/hildon-time-selector.c
4339 (hildon_time_selector_get_time)
4340 (hildon_time_selector_set_time)
4341 Added documentation of these public methods
4343 * src/hildon-date-button.h
4344 * src/hildon-touch-selector-column.h
4345 * src/hildon-time-button.h
4346 * src/hildon-picker-dialog.h
4347 * src/hildon-time-selector.h
4348 * src/hildon-picker-button.h
4349 * src/hildon-touch-selector.h
4350 * src/hildon-time-picker.h
4351 * src/hildon-date-selector.h
4352 * src/hildon-touch-selector-entry.h
4353 Modified in order to use hildon-widgets code style
4355 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4357 Added deprecated support to the compilation process using
4358 HILDON_DISABLE_DEPRECATED
4360 * configure.ac: Added the --disable-deprecated to the configure
4363 * src/hildon-weekday-picker.c:
4364 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4365 to use the deprecated support. We will update the other deprecated
4366 widgets status in a new patch.
4368 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4370 * configure.ac: Fixed typo with fatal warnings support, the
4371 variable name was not correct
4373 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4375 * src/hildon-app-menu.c
4376 * src/hildon-program.c: Update documentation.
4378 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4380 * configure.ac: Post-release version bump.
4382 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4387 * configure.ac: Pre-release version bump.
4388 * debian/changelog: Updates.
4390 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4392 * NEWS: Update news for previous releases.
4394 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4396 * examples/hildon-touch-selector-multi-cells-example.c:
4397 (create_selector): Update the example to use
4398 hildon_touch_selector_append_column() with a NULL renderer and set
4399 the renderers later.
4400 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4401 passed a NULL renderer. This is documented behavior now.
4403 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4404 This must be used if the developer wants full control on the layout of
4405 the renderers to be added to the column.
4407 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4409 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4411 * src/hildon-touch-selector.c: Documentation fixes.
4413 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4415 * src/hildon-wizard-dialog-private.h: Remove image and box.
4416 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4417 (hildon_wizard_dialog_set_property), (response): Completely remove
4418 image/icon support, and the containers required for the layout.
4420 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4422 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4424 * src/hildon-app-menu.c: Updated documentation.
4426 * src/hildon-stackable-window.c
4427 (hildon_stackable_window_set_main_menu): Unref the old menu after
4428 ref'ing the new one.
4430 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4432 * src/hildon-stackable-window.c
4433 (hildon_stackable_window_set_main_menu): Unref the previous menu
4434 instead of destroying it.
4436 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4437 floating reference and set has_user_ref_count to FALSE to make
4438 HildonAppMenu act like a normal ref-counted widget and not a
4441 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4444 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4446 * src/hildon-touch-selector-column.h: new file
4447 * src/hildon-touch-selector.h
4448 * src/hildon-touch-selector.c
4449 Implemented GtkCellLayout interface, in order to allow to configure
4450 the cell layout on each individual selector column
4451 (hildon_touch_selector_set_column_attributes): marked as deprecated
4452 * examples/hildon-touch-selector-multi-cells-example.c
4453 Example of how to use the GtkCellLayout interface on the selector
4455 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4457 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4459 * src/hildon-app-menu.h
4460 * src/hildon-app-menu.c
4461 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4462 (hildon_app_menu_append, hildon_app_menu_prepend):
4463 New methods to prepend, insert and move items in the menu.
4465 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4467 * src/hildon-wizard-dialog.c:
4469 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4471 (create_title): Update logical IDs and related code.
4472 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4474 * src/hildon-wizard-dialog.h: Note that
4475 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4476 point, as it is not used anymore.
4478 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4480 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4482 * src/hildon-note.c:
4483 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4484 shown. Do not display an icon in confirmation notes nor information
4486 (hildon_note_set_button_text): Update logical ID for cancel button.
4488 Fixes: NB#88850 (Update HildonNote button strings + signals)
4490 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4492 * src/hildon-stackable-window.c
4493 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4495 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4497 * src/hildon-app-menu-private.h
4498 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4499 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4500 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4501 temporary property 'columns' to change the number of columns.
4503 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4505 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4507 * examples/hildon-note-example.c: (on_information_clicked),
4508 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4509 debugging information.
4510 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4512 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4513 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4514 in order to close: this will be handled by the WM from now on.
4516 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4518 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4520 * src/hildon-app-menu-private.h
4521 * src/hildon-app-menu.c
4522 (hildon_app_menu_append, hildon_app_menu_add_filter)
4523 (button_visibility_changed, hildon_app_menu_apply_style)
4524 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4525 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4526 layout everytime a button (item or filter) is shown or hidden.
4528 * src/hildon-stackable-window.c
4529 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4532 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4534 * src/hildon-touch-selector.c:
4535 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4536 that the treeview inside the touch selector is in fremantle hildon mode
4537 * examples/hildon-date-button-example.c
4538 * examples/hildon-picker-button-multicolumn-example.c
4539 * examples/hildon-touch-selector-entry-example.c
4540 * examples/hildon-touch-selector-example.c
4541 * examples/hildon-time-button-example.c
4542 * examples/hildon-picker-button-example.c:
4543 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4545 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4547 * examples/hildon-text-view-example.c: (main): Remove the
4548 gtkrc bits, now handled by the theme.
4550 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4552 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4555 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4557 * po/Makefile.am: Install properly the mo files.
4558 * po/en_GB.po: Update translation, to ease testing purposes.
4560 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4562 * examples/hildon-picker-button-example.c: (main): Select an item
4563 in the selector before setting it to the button.
4565 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4567 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4568 Update button's value if the selector has an item active.
4570 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4571 'value' with the selector)
4573 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4575 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4576 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4577 (hildon_picker_button_class_init): Plug the finalize method.
4578 (hildon_picker_button_set_selector): If there's a previously set
4579 selector, unref'it before setting a new one.
4581 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4582 HildonTouchSelector)
4584 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4586 * src/hildon-touch-selector-entry.c:
4587 (hildon_touch_selector_entry_changed): Check if there is no text
4588 selected before setting the entry text.
4591 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4593 * src/hildon-touch-selector.h
4594 * src/hildon-touch-selector.c
4595 (hildon_touch_selector_get_active)
4596 (hildon_touch_selector_set_active): New methods to set/get the
4597 index of the selected item.
4599 * src/hildon-picker-button.h
4600 * src/hildon-picker-button.c
4601 (hildon_picker_button_get_active)
4602 (hildon_picker_button_set_active): New methods to set/get the
4603 index of the selected item.
4605 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4607 * configure.ac: post-release version bump.
4609 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4613 * configure.ac: Pre-release version bump.
4614 * debian/changelog: Updates.
4615 * debian/control: Add myself as maintainer and depend on l10n
4618 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4620 * src/hildon-window.c
4621 (hildon_window_set_main_menu)
4622 * src/hildon-stackable-window.c
4623 (hildon_stackable_window_set_main_menu):
4624 Updated documentation.
4626 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4628 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4629 Don't free selector->priv manually.
4632 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4635 (hildon_gtk_window_set_progress_indicator):
4636 * src/hildon-gtk.h: Added the new API
4637 hildon_gtk_window_set_progress_indicator, it changes the state of
4638 the window progress hint.
4640 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4642 * src/hildon-button.c
4643 * src/hildon-stackable-window.c: Minor documentation updates.
4645 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4647 * src/hildon-stackable-window.c: Updated documentation.
4649 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4651 * src/hildon-defines.h: Update margins definitions
4652 to the Fremantle sizes.
4655 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4657 * src/hildon-touch-selector.c,
4658 (_hildon_touch_selector_set_model): Cleaning the code after
4659 review, removed g_print and #if 0 from the code.
4661 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4663 * src/hildon-edit-toolbar.c: Update documentation.
4665 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4667 * src/hildon-check-button.h
4668 * src/hildon-check-button.c
4669 (hildon_check_button_set_label, hildon_check_button_get_label)
4670 * examples/hildon-check-button-example.c
4671 (button_clicked_cb):
4672 Removed deprecated methods.
4674 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4676 * src/hildon-text-view.c:
4677 Add sample code to the documentation.
4679 * src/hildon-entry.h
4680 * src/hildon-text-view.h:
4681 Minor cosmetic changes.
4683 * src/hildon-entry.c:
4684 Add sample code to the documentation.
4685 (hildon_entry_init, hildon_entry_refresh_contents):
4686 Don't allow NULL values in the placeholder.
4688 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4690 * doc/hildon-docs.sgml
4692 * examples/Makefile.am
4693 * examples/hildon-text-view-example.c
4695 * src/hildon-text-view.c
4696 * src/hildon-text-view.h
4698 New HildonTextView widget, with example.
4700 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4702 * po/POTFILES.in: Add missing files with translatable strings.
4703 Partially fixes NB#88287.
4705 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4707 * examples/hildon-pannable-area-example-2.c: (main): No need to
4708 set the cellrenderer height inside hildon touch lists, the theme does
4711 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4713 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4714 they are integrated in the theme.
4716 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4718 * examples/hildon-entry-example.c: Update the example adding
4719 widgets to modify the text and the placeholder of the HildonEntry.
4721 * src/hildon-entry.c: Show the placeholder everytime the widget
4722 is empty and loses the focus.
4724 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4726 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4728 * src/hildon-pannable-area.c,
4729 (hildon_pannable_area_size_request): Fixed bug in height
4730 requisition, avoid increasing size and add border twice.
4732 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4734 * configure.ac: postrelease version bump.
4736 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4740 * configure.ac: Prerelease version bump.
4741 * debian/changelog: update.
4742 * debian/rules: make -dbg package contain useful debugging symbols.
4744 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4746 * src/hildon-dialog.h
4747 * src/hildon-dialog.c
4748 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4749 New methods to add buttons with finger size.
4750 (hildon_dialog_new_with_buttons):
4751 Create buttons with finger size.
4753 * examples/hildon-dialog-example.c (main): Use HildonDialog
4754 methods to add buttons.
4756 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4758 * src/hildon-entry.c: Updated HildonButton documentation.
4760 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4762 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4763 button value label with (FALSE, FALSE) to prevent NB#88126 from
4766 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4768 * examples/hildon-pannable-area-example.c,
4769 (main): Removed examples panning a vbox inside a pannable
4770 area. Check bug NB#87965
4772 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4774 Patch contributed by Kris Rietveld (kris@imendio.com)
4776 * src/hildon-pannable-area.c,
4777 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4778 get_size and get_position, this saves an X server roundtrip.
4780 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4782 * doc/hildon-docs.sgml
4784 * examples/Makefile.am
4785 * examples/hildon-entry-example.c
4787 * src/hildon-entry.c
4788 * src/hildon-entry.h
4790 New HildonEntry widget, with example.
4792 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4794 * src/hildon-button.c (hildon_button_construct_child): Pack the
4795 image with expand == fill == FALSE. This is a workaround for a bug
4798 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4800 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4801 labels for the text column, to make it more look more dynamic.
4803 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4805 * src/hildon-time-selector.c
4806 Define gettext auxiliar macro N_
4807 (_create_minutes_model)
4808 (_create_hours_model)
4809 (_create_ampm_model): use of strftime in order to fill the model
4810 * src/hildon-date-selector.c
4811 (hildon_date_selector_finalize):
4812 (_locales_init): remove the logic related to get the name of the months
4813 using nl_langinfo, as it is not required anymore
4815 (_create_year_model)
4816 (_create_month_model)
4817 (_update_day_model): use of strftime in order to fill the model properly
4820 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4822 * src/hildon-button.h
4823 * src/hildon-button.c (hildon_button_get_image): New method to
4826 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4828 * src/hildon-touch-selector.c:
4829 (hildon_touch_selector_remove_column): Remove from the correct parent
4830 and also remove the list element and free it.
4833 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4835 * src/hildon-time-selector.c
4836 (_create_hours_model): change the range on 12h ampm format in order to use
4837 a 12-11 range instead of previous 01-12 range
4838 (hildon_time_selector_set_time): change the way to select the current time
4839 on 12h ampm format, due the change on the range
4840 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4843 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4845 * src/hildon-touch-selector.c
4846 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4847 in order to allow use this function on multiple row selection mode if
4848 the column is different that the first one
4851 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4853 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4854 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4856 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4858 * src/hildon-date-selector.h: clean some comments, now on the .c
4859 * src/hildon-date-selector.c
4860 (hildon_date_selector_select_month): first implementation
4861 (hildon_date_selector_select_day): added documentation, reimplemented
4862 using hildon_date_selector_select_current_date to avoid repeat code
4865 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4867 Reviewed interaction logic based on device experiences, refactored
4870 * src/hildon-pannable-area.c,
4871 (hildon_pannable_area_class_init): Updated default vmax speed.
4872 (hildon_pannable_area_calculate_velocity): Added this function, it
4873 avoids duplicate valocity calculation. Adjusted calculation to
4874 avoid problems with zero dist events.
4876 (hildon_pannable_area_motion_notify_cb): Now we use the
4877 calculate_velocity function.
4879 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4881 * src/hildon-date-selector.c
4882 (hildon_date_selector_select_current_date): fix the day range check
4883 as it failed using the last day of the current month
4886 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4888 * src/hildon-touch-selector.c
4889 (hildon_touch_selector_get_num_columns): added a parameter validation
4892 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4894 * examples/Makefile.am
4895 * examples/hildon-edit-toolbar-example.c: Example of the
4896 HildonEditToolbar widget.
4898 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4900 * configure.ac: postrelease version bump.
4902 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4906 * configure.ac: prerelease version bump.
4907 * debian/changelog: update.
4909 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4911 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4912 renderer to display stock icons in the touch list. Also, set the sizes
4913 to the recommended in the style guide.
4915 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4916 * src/hildon-touch-selector.h
4917 (hildon_touch_selector_set_active_iter): renamed, now is
4918 hildon_touch_selector_select_iter
4919 (hildon_touch_selector_get_active_iter): renamed, now is
4920 hildon_touch_selector_get_selected
4921 (hildon_touch_selector_unselect_iter): added
4922 * src/hildon-touch-selector.c
4923 Update after API modification (methods renamed)
4924 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4925 order to avoid problems selecting multiple elements on the column
4926 (hildon_touch_selector_unselect_iter): added the implementation
4927 * src/hildon-time-selector.c
4928 * src/hildon-date-selector.c
4929 * src/hildon-touch-selector-entry.c
4930 Update methods calls after hildon-touch-selector.h API modification (methods
4933 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4935 * src/hildon-stackable-window.c
4936 (hildon_stackable_window_finalize): Call the parent class's finalize.
4938 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4940 * examples/hildon-touch-selector-example.c: (create_selector): Use
4941 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4944 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4946 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4947 set a cell background color, to respect theming.
4949 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4951 * doc/hildon-docs.sgml
4954 * src/hildon-edit-toolbar.c
4955 * src/hildon-edit-toolbar.h
4956 * src/hildon.h: New HildonEditToolbar widget.
4958 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4960 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4963 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4964 * src/hildon-touch-selector.c
4965 (_create_new_column): use g_object_set instead of two g_object_set_property
4967 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4968 * src/hildon-touch-selector.c
4969 (_create_new_column): use of hildon_gtk_tree_view_new to create
4970 the treeview, instead of use directly g_object_new
4971 (_create_new_column): update the property name "vindicator-mode" for the
4972 new one "vscrollbar-policy"
4973 * examples/hildon-date-button-example.c
4974 * examples/hildon-picker-button-multicolumn-example.c
4975 * examples/hildon-touch-selector-entry-example.c
4976 * examples/hildon-touch-selector-example.c
4977 * examples/hildon-time-button-example.c
4978 * examples/hildon-picker-button-example.c
4979 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4980 to all the treeviews inside a pannable area.
4982 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4984 * src/hildon-button.h
4985 * src/hildon-button.c (hildon_button_init)
4986 (hildon_button_set_arrangement, hildon_button_set_alignment)
4987 (hildon_button_set_title_alignment)
4988 (hildon_button_set_value_alignment)
4989 (hildon_button_set_image_alignment)
4990 (hildon_button_construct_child): New methods to set the alignment
4991 of the individual components of the button (title, value,
4992 image). Also, new method to alter the xscale and yscale properties
4993 of the GtkAlignment inside the button, so more complex layouts can
4996 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4998 * src/hildon-button.c (hildon_button_style_set)
4999 (hildon_button_class_init, hildon_button_set_arrangement)
5000 (hildon_button_construct_child): Apply style properties
5001 correctly. Use the 'image-spacing' style property too.
5003 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5005 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5006 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5009 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5011 * src/hildon-pannable-area.c,
5012 (hildon_pannable_area_size_request): Fixed problem with
5013 pannable-area size_request.
5015 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5017 Added management for the grab-focus to a child widget, like a
5018 range, we need to fade out the scrollbar when releasing.
5020 * src/hildon-pannable-area.c,
5021 (hildon_pannable_area_init): Connected the grab-focus signal to
5023 (hildon_pannable_area_grab_notify): Added this function in order
5024 to manage the situation when the grab-focus ends. We have to
5025 fade-out the scrollbar.
5027 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5029 * src/hildon-app-menu.c: Minor documentation update.
5031 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5033 * src/hildon-app-menu.c
5034 * examples/hildon-app-menu-example.c (create_menu): Update
5035 examples and documentation to explain how to connect callbacks.
5037 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5039 * examples/hildon-button-example.c
5040 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5041 hildon_stackable_window_new instead of gtk_window_new
5043 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5045 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5046 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5047 (hildon_pannable_area_set_property),
5048 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5049 (hildon_pannable_area_unrealize),
5050 (hildon_pannable_area_size_request),
5051 (hildon_pannable_area_size_allocate),
5052 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5053 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5054 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5055 (hildon_pannable_area_initial_effect),
5056 (hildon_pannable_area_redraw),
5057 (hildon_pannable_area_scroll_indicator_fade),
5058 (hildon_pannable_area_expose_event),
5059 (hildon_pannable_area_get_topmost), (synth_crossing),
5060 (hildon_pannable_area_button_press_cb),
5061 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5062 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5063 (hildon_pannable_area_motion_notify_cb),
5064 (hildon_pannable_area_button_release_cb),
5065 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5066 (hildon_pannable_area_remove),
5067 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5068 chage the code layout to a more GtkWidget like. Review the use of
5071 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5073 * examples/hildon-pannable-area-example-4.c,
5074 (main): Modified the name of the hindicator_mode to
5077 * src/hildon-pannable-area.c,
5078 (hildon_pannable_area_class_init),
5079 (hildon_pannable_area_motion_notify_cb),
5080 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5081 we have reduced the amount of signals and managed reviewed its
5082 rationale. Changed the default decelerate value.
5084 (hildon_pannable_area_add),
5085 (hildon_pannable_area_redraw): Refactored functions.
5087 (hildon_pannable_area_init),
5088 (hildon_pannable_area_get_property),
5089 (hildon_pannable_area_set_property):
5090 (hildon_pannable_draw_vscroll),
5091 (hildon_pannable_draw_hscroll),
5092 (hildon_pannable_area_initial_effect),
5093 (hildon_pannable_area_expose_event),
5094 (hildon_pannable_area_scroll),
5095 (hildon_pannable_area_button_press_cb),
5096 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5097 and vindicator_mode with hscrollbar_policy and
5098 vscrollbar_policy. Replaced hscroll and vscroll with
5099 hscroll_visible and vscroll_visible.
5101 (hildon_pannable_area_refresh): Refactor the function, remove
5102 variables and check the calls to this function, added resize
5103 conditions in case the children change their layout.
5105 (hildon_pannable_area_size_request): Added more detailed
5106 size_request calculation.
5109 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5111 * src/hildon-color-chooser.c
5112 (init_borders): use the correct gtk_border_free instead of g_free, to
5113 avoid a crash when this widget is used (ie: the three color selection
5116 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5118 * src/hildon-check-button.c,
5119 (hildon_check_button_set_active): Fixed problem when setting the
5120 active value, the widget was not redrawn.
5122 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5124 * src/hildon-pannable-area.c,
5125 (hildon_pannable_area_refresh),
5126 (hildon_pannable_area_scroll),
5127 (hildon_pannable_area_motion_notify_cb): Small code style change.
5129 (hildon_pannable_area_class_init): Default initial_hint set to
5130 FALSE, it is not in the specs.
5132 (hildon_pannable_area_initial_effect),
5133 (hildon_pannable_area_expose_event),
5134 (hildon_pannable_area_map),
5135 (hildon_pannable_area_init): Moved the launching point of the
5136 initial effect, it was in map but the sizes where not correct in
5137 that method so we do not know if we have the reproduce it. Now it
5138 is placed in the expose_event method and uses a variable to
5139 reproduce it just once.
5141 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5143 * src/hildon-pannable-area.c,
5144 (hildon_pannable_draw_vscroll),
5145 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5146 position allowed for the scrollbars.
5148 (hildon_pannable_area_size_allocate): Small style change.
5150 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5152 * src/hildon-pannable-area.c,
5153 (hildon_pannable_area_scroll_indicator_fade),
5154 (hildon_pannable_area_button_press_cb),
5155 (hildon_pannable_area_button_release_cb),
5156 (hildon_pannable_area_scroll_cb),
5157 (hildon_pannable_area_expose_event),
5158 (hildon_pannable_area_init): Added the define parameter
5159 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5160 and refactor the fade variable.
5162 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5164 * src/hildon-pannable-area.c,
5165 (hildon_pannable_area_redraw),
5166 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5167 lines, we were reimplemeting the redraw code.
5169 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5171 * src/hildon-pannable-area.c,
5172 (hildon_pannable_area_scroll_cb),
5173 (hildon_pannable_area_realize),
5174 (hildon_pannable_area_class_init): Added scroll_event management
5175 for pannable area, now we can scroll the usual desktop method.
5177 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5178 initialization of the parameters should depend on idle_id.
5180 (hildon_pannable_area_init),
5181 (hildon_pannable_area_map): Small code style modifications
5183 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5185 * src/hildon-pannable-area.c
5186 (hildon_pannable_area_button_press_cb),
5187 (hildon_pannable_area_motion_notify_cb),
5188 (hildon_pannable_area_button_release_cb),
5189 (hildon_pannable_area_size_allocate),
5190 (hildon_pannable_area_scroll_to): Improved the timeouts
5191 management, we avoid creating them each time.
5193 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5195 * src/hildon-pannable-area.c:
5196 (hildon_pannable_area_refresh),
5197 (hildon_pannable_area_motion_notify_cb),
5198 (hildon_pannable_area_class_init):
5199 * src/hildon-pannable-area.h:
5200 * src/hildon-touch-selector.c
5201 (_create_new_column):
5202 * examples/hildon-pannable-area-example-4.c:
5203 (horizontal_movement),
5204 (vertical_movement),
5206 Replaced the names of enums in the HildonPannableArea:
5207 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5208 HILDON_MOVEMENT_MODE_*
5209 - HILDON_PANNABLE_AREA_MOV_* ->
5211 - Removed HildonPannableAreaIndicatorMode, now we
5214 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5216 * examples/hildon-pannable-area-touch-grid-example.c
5217 * examples/hildon-pannable-area-touch-list-example.c: Fix
5218 compilation warnings.
5220 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5222 * src/hildon-gtk.c (hildon_gtk_button_new)
5223 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5224 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5225 images overriding the value of the "gtk-button-images" setting.
5227 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5229 * src/hildon-check-button.c (hildon_check_button_new):
5230 Instead of using a custom container, display the label and the
5231 checkbox using the standard GtkButton API.
5233 * examples/hildon-check-button-example.c (main): Don't use
5234 hildon_check_button_set_label() anymore
5236 * src/hildon-check-button.h
5237 * src/hildon-check-button.c
5238 (hildon_check_button_set_label, hildon_check_button_get_label):
5239 Set as deprecated, now we're using gtk_button_{get,set}_label()
5241 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5243 * src/hildon-pannable-area.c,
5244 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5245 GtkTreeview first line we detected it after the inclusion of the
5246 GtkWindowImpl in gtk+. We now check if the window is visible, not
5247 just if the pointer is over the window.
5248 (hildon_pannable_axis_scroll),
5249 (hildon_pannable_area_expose_event): Small style changes.
5251 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5253 * src/hildon-button.c: Update documentation.
5255 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5257 * examples/hildon-button-example.c: Add a switch to show images in
5260 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5262 * doc/hildon-docs.sgml: Some docs reorganization.
5264 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5266 * examples/hildon-pannable-area-touch-list-example.c
5268 * examples/hildon-pannable-area-touch-grid-example.c
5269 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5270 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5271 Fix memory leak when setting the tree model.
5273 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5277 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5279 * doc/hildon.types: Remove duplicated hildon_window_get_type
5280 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5281 documentation comment.
5283 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5285 * doc/Makefile.am: Complete list of private headers.
5287 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5289 * doc/hildon-docs.sgml
5290 * src/hildon-app-menu.c
5291 * src/hildon-bread-crumb.c
5292 * src/hildon-button.c
5294 * src/hildon-program.c
5295 * src/hildon-stackable-window.c
5296 * src/hildon-window.c: Lots of documentation updates.
5298 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5300 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5302 * configure.ac: Require Gtk+ 2.12.9 at least
5304 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5306 * src/hildon-pannable-area.c
5307 (hildon_pannable_area_scroll_indicator_fade),
5308 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5309 to protect the return of this timeout callbacks, avoiding deadlocks.
5311 2008-08-12 Christian Dywan <christian@imendio.com>
5314 * src/hildon-*.h: Ensure a consistent include order,
5315 include <gtk/gtk.h> instead of particular files and
5316 only include the topmost header in the gtk stack. See NB #39857
5318 2008-08-12 Christian Dywan <christian@imendio.com>
5320 * src/hildon-picker-dialog.c
5321 * src/hildon-touch-selector.c: Fix warnings about unused and
5322 uninitialized variables.
5324 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5326 * examples/Makefile.am
5327 * examples/hildon-check-button-example.c: Example of the hildon
5330 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5332 * src/hildon-window.h
5333 * src/hildon-window.c (hildon_window_class_init)
5334 (hildon_window_unset_program): Don't make
5335 hildon_window_unset_program a virtual function anymore.
5337 * src/hildon-stackable-window.c: Update documentation
5339 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5342 * doc/hildon-docs.sgml
5343 * doc/visual_index.xml
5344 * src/hildon-defines.c
5346 * src/hildon-helper.c
5347 * src/hildon-range-editor.c: Lots of documentation fixes.
5349 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5351 * examples/hildon-picker-button-multicolumn-example.c
5352 (create_touch_selector): Fix compilation warning.
5354 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5356 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5357 (hildon_pannable_area_button_release_cb)
5358 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5360 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5362 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5365 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5367 * src/hildon-bread-crumb-trail.h
5368 * src/hildon-date-editor.c
5369 * src/hildon-date-selector.c
5370 * src/hildon-pannable-area.c
5371 * src/hildon-picker-dialog.c
5372 * src/hildon-time-selector.c
5373 * src/hildon-touch-selector-entry.c
5374 * src/hildon-touch-selector.c
5375 * src/hildon-touch-selector.h: Misc documentation fixes
5377 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5379 * examples/hildon-date-editor-example.c (main): Updated date
5382 * examples/hildon-note-example.c (on_confirmation_clicked):
5383 Updated confirmation note example.
5385 * src/hildon-date-editor.c
5386 * src/hildon-note.c: Updated sample programs in documentation.
5389 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5391 * src/hildon-date-button.h:
5392 * src/hildon-picker-button.h:
5393 * src/hildon-time-button.c:
5394 * src/hildon-time-button.h:
5396 Some declarations changes to allow gtk-doc to document the widgets
5399 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5401 * src/hildon-date-button.c: Document the widget.
5402 * src/hildon-time-button.c: Document the widget.
5404 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5406 * src/hildon-picker-button.c: Document the widget.
5407 * src/hildon-touch-selector-entry.c: Document the widget.
5409 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5411 * doc/hildon-docs.sgml
5414 * src/hildon-check-button.h
5415 * src/hildon-check-button.c: New functions to create the Hildon
5419 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5421 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5423 * src/hildon-button.h
5424 * src/hildon-button.c
5425 (hildon_button_add_title_size_group)
5426 (hildon_button_add_value_size_group)
5427 (hildon_button_add_image_size_group)
5428 (hildon_button_add_size_groups): New functions to set size groups
5429 for the button labels and image.
5430 (hildon_button_new_full): Removed
5432 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5434 * src/hildon-time-selector.c
5435 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5436 in order to avoid a crash if gconf is not available
5438 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5440 * src/hildon-button.c (hildon_button_set_arrangement)
5441 (hildon_button_construct_child): Don't construct the button child
5442 before setting the arrangement.
5444 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5446 * src/hildon-program-private.h
5447 * src/hildon-program.c
5448 * src/hildon-program.h
5449 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5450 (hildon_program_peek_window_stack)
5451 (hildon_program_pop_window_stack)
5452 (hildon_program_go_to_root_window): HildonProgram now has a
5453 separate list for stackable windows. Functions are provided to
5454 manage that list with a stack-like API.
5456 * src/hildon-stackable-window.c: Stackable window management is
5457 now much simpler with the new HildonProgram API. Windows no
5458 longer need to be manually added to the program, they're
5459 automatically pushed to the top of the stack when shown.
5461 * examples/hildon-stackable-window-example.c: Updated example to
5462 reflect the API changes.
5464 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5466 * src/hildon-touch-selector.c: Comment out unimplemented
5467 hildon_touch_selector_insert_column() to avoid a compile warning.
5469 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5471 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5472 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5473 (hildon_touch_selector_set_column_selection_mode),
5474 (_hildon_touch_selector_set_model),
5475 (hildon_touch_selector_set_model):
5477 Complete review of HildonTouchSelector documentation.
5479 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5481 * doc/hildon-docs.sgml
5485 * src/hildon-gtk.c: Convenience functions for standard Gtk
5486 widgets, used to easily perform frequent operations.
5488 * src/hildon-button-helpers.h
5489 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5491 * src/hildon-helper.h
5492 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5493 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5495 * src/hildon-button.h
5496 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5498 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5500 * src/hildon-button.c (hildon_button_init)
5501 (hildon_button_set_arrangement, hildon_button_construct_child):
5502 Pack the image and the labels inside the same GtkAlignment so
5503 gtk_button_set_alignment() can be used
5505 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5507 * src/hildon-button.h
5508 * src/hildon-button.c
5509 (hildon_button_init, hildon_button_set_image)
5510 (hildon_button_set_image_position)
5511 (hildon_button_construct_child): New functions to add an image to
5514 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5516 * src/hildon-date-button.c
5517 * src/hildon-picker-button.c
5518 * src/hildon-time-button.c
5519 * src/hildon-button.c:
5520 (hildon_button_class_init): "size-flags" renamed to "size"
5521 (hildon_button_set_title): Hide the title label if set to NULL.
5523 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5525 HildonButtonFlags split into HildonButtonArrangement (to set the
5526 button layout) and HildonSizeType (which can be used for any
5529 * src/hildon-button.h
5530 * src/hildon-button.c
5531 (hildon_button_class_init)
5532 (hildon_button_set_arrangement)
5533 (hildon_button_set_property): New "size-flags"
5534 property. "arrangement-flags" renamed to "arrangement".
5535 (hildon_button_new, hildon_button_new_with_text)
5536 (hildon_button_new_full): Constructors updated to reflect type changes.
5538 * src/hildon-helper.h
5539 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5540 to set the size of a widget.
5544 * src/hildon-button-helpers.c
5545 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5547 * src/hildon-date-button.c
5548 * src/hildon-date-button.h
5549 * src/hildon-picker-button.c
5550 * src/hildon-picker-button.h
5551 * src/hildon-time-button.c
5552 * src/hildon-time-button.h: Updated widgets to reflect
5553 HildonButton API changes.
5555 * examples/hildon-button-example.c
5556 * examples/hildon-date-button-example.c
5557 * examples/hildon-picker-button-example.c
5558 * examples/hildon-picker-button-multicolumn-example.c
5559 * examples/hildon-time-button-example.c
5560 * examples/hildon-touch-selector-entry-example.c
5561 * examples/hildon-touch-selector-example.c: Updated examples to
5562 reflect HildonButton API changes.
5564 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5566 * doc/hildon-docs.sgml:
5568 * examples/Makefile.am:
5569 * examples/hildon-touch-selector-entry-example.c:
5571 * src/hildon-touch-selector-entry.c:
5572 * src/hildon-touch-selector-entry.h:
5575 Moved HildonTouchSelectorEntry from sandbox. Added its
5576 documentation and examples.
5578 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5580 * src/hildon-touch-selector.h:
5581 * examples/hildon-picker-button-multicolumn-example.c:
5582 (hildon_touch_selector_append_text_column): Add a gboolean
5583 parameter to determine if text must be centered in the column.
5585 * src/hildon-date-selector.c: (hildon_date_selector_init):
5586 * src/hildon-time-selector.c: (hildon_time_selector_init):
5587 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5588 (create_touch_selector): Update widgets and example to reflect
5591 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5593 * src/hildon-touch-selector.c:
5594 (hildon_touch_selector_set_active_iter): Set also the cursor in
5597 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5599 * doc/hildon-docs.sgml
5602 * src/hildon-toggle-button.c
5603 * src/hildon-toggle-button.h
5604 * src/hildon.h: Removed HildonToggleButton widget, a derived
5605 class is not necessary for this.
5607 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5609 * src/hildon-pannable-area.c,
5610 (hildon_pannable_area_realize),
5611 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5614 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5616 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5617 "done" button the default widget for the dialog.
5619 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5621 * src/hildon-touch-selector.c:
5622 (hildon_touch_selector_class_init),
5623 (hildon_touch_selector_get_property),
5624 (_hildon_touch_selector_set_model),
5625 (_hildon_touch_selector_has_multiple_selection),
5626 (hildon_touch_selector_has_multiple_selection):
5627 Add a "has-multiple-selection" property with a virtual
5628 has_multiple_selection() method to allow derived classes to
5629 override the default value for it. See the method and property
5630 documentation for details.
5632 * src/hildon-touch-selector.h: Add the new API.
5634 * src/hildon-picker-dialog.c: (requires_done_button): Call
5635 hildon_touch_selector_has_multiple_selection() instead of
5636 determining the need for a button itself.
5638 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5640 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5641 (_hildon_touch_selector_set_model),
5642 (hildon_touch_selector_set_model): Move working code to
5643 _hildon_touch_selector_set_mode(). Call the class method instead.
5645 * src/hildon-touch-selector.h: Add (*set_model) to
5646 HildonTouchSelectorClass.
5648 Make hildon_touch_selector_set_model() a virtual method, so that
5649 derived classes can extend it and do fancy stuff with the model.
5651 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5653 * configure.ac: Set back the tarname in AC_INIT to hildon.
5655 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5659 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5660 instead of libesd (NB#86876). Volume handling is still an open issue.
5662 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5665 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5667 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5668 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5669 derived class to ease placement of an entry widget in
5670 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5671 end, where the selector columns are packed now.
5673 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5675 * src/hildon-picker-button.c: Removed the simple _text() API.
5676 * src/hildon-picker-button.h: Likewise.
5678 * src/hildon-touch-selector.h:
5679 * src/hildon-touch-selector.c:
5680 (hildon_touch_selector_new_text),
5681 (hildon_touch_selector_append_text),
5682 (hildon_touch_selector_prepend_text),
5683 (hildon_touch_selector_insert_text):
5685 Moved the simple _text() API from HildonPickerButton to
5686 HildonTouchPicker, to provide better escalability and not to tie
5687 that API to HildonPickerButton.
5689 * examples/hildon-picker-button-example.c: (main): Example updated.
5691 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5693 * src/hildon-button.c: Updated documentation.
5695 * examples/hildon-button-example.c: Add the posibility to create
5696 the buttons using horizontal layout for title and value.
5698 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5700 * src/hildon-app-menu-private.h
5701 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5702 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5703 GtkSizeGroup for the filters, use the 'homogeneous' property of
5706 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5708 * examples/hildon-button-example.c: Updated example.
5710 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5712 * doc/hildon-docs.sgml:
5715 Update documentation.
5717 * examples/Makefile.am: Update renamed examples.
5719 * examples/hildon-picker-button-multicolumn-example.c:
5720 (create_touch_selector), (main): Update after the rename.
5722 * examples/hildon-touch-picker-example.c: Removed.
5723 * examples/hildon-touch-selector-example.c: (value_changed),
5724 (create_selector), (get_visible_content), (main): Renamed from
5725 hildon-touch-picker-example.c
5727 * src/Makefile.am: Updated renamed files.
5729 * src/hildon-date-button.c: (hildon_date_button_init),
5730 (hildon_date_button_get_date), (hildon_date_button_set_date):
5731 * src/hildon-date-selector.c: (hildon_date_selector_init),
5732 (_custom_print_func), (_update_day_model),
5733 (_manage_selector_change_cb),
5734 (hildon_date_selector_select_current_date),
5735 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5736 * src/hildon-date-selector.h:
5737 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5738 (hildon_picker_button_set_property),
5739 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5740 (hildon_picker_button_init), (hildon_picker_button_new_text),
5741 (hildon_picker_button_append_text),
5742 (hildon_picker_button_prepend_text),
5743 (hildon_picker_button_insert_text),
5744 (hildon_picker_button_set_selector),
5745 (hildon_picker_button_get_selector):
5746 * src/hildon-picker-button.h:
5747 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5748 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5749 (_update_title_on_selector_changed_cb), (requires_done_button),
5750 (_hildon_picker_dialog_set_selector),
5751 (hildon_picker_dialog_set_selector),
5752 (hildon_picker_dialog_get_selector):
5753 * src/hildon-picker-dialog.h:
5754 * src/hildon-time-button.c: (hildon_time_button_init),
5755 (hildon_time_button_get_time), (hildon_time_button_set_time):
5756 * src/hildon-time-selector.c: (hildon_time_selector_init),
5757 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5758 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5759 * src/hildon-time-selector.h:
5762 Massive code updates after the rename.
5764 * src/hildon-touch-picker.c: Removed.
5765 * src/hildon-touch-picker.h: Removed.
5767 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5768 (hildon_touch_selector_init), (hildon_touch_selector_map),
5769 (hildon_touch_selector_remove), (_default_print_func),
5770 (_selection_changed_cb), (_create_new_column),
5771 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5772 (hildon_touch_selector_append_text_column),
5773 (hildon_touch_selector_remove_column),
5774 (hildon_touch_selector_set_column_attributes),
5775 (hildon_touch_selector_insert_column),
5776 (hildon_touch_selector_get_num_columns),
5777 (hildon_touch_selector_get_column_selection_mode),
5778 (hildon_touch_selector_set_column_selection_mode),
5779 (hildon_touch_selector_set_print_func),
5780 (hildon_touch_selector_get_print_func),
5781 (hildon_touch_selector_get_active_iter),
5782 (hildon_touch_selector_set_active_iter),
5783 (hildon_touch_selector_get_selected_rows),
5784 (hildon_touch_selector_get_model),
5785 (hildon_touch_selector_set_model),
5786 (hildon_touch_selector_get_current_text),
5787 (_hildon_touch_selector_center_on_selected_items):
5788 * src/hildon-touch-selector.h: Renamed from
5789 hildon-touch-picker.[ch]
5791 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5792 references, code examples, and related documentation.
5794 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5796 * doc/hildon-docs.sgml
5799 * src/hildon-toggle-button.c
5800 * src/hildon-toggle-button.h
5801 * src/hildon.h: New HildonToggleButton widget.
5803 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5805 * src/hildon-button.c: Add API documentation.
5806 (hildon_button_set_size_groups): Check input parameters
5808 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5810 * src/hildon-pannable-area.c
5811 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5812 effect after reaching the movement thredshold. This way we start
5813 using the distance after passing the thredshold.
5815 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5817 * src/hildon-button.c: (hildon_button_set_property): Use the
5818 appropriate g_value_get_flags() method.
5820 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5822 * doc/hildon-docs.sgml:
5825 Add the touch pickers, picker dialogs, and picker button widgets
5826 to the documentation.
5828 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5830 * src/hildon-button.c: (hildon_button_set_property),
5831 (hildon_button_class_init): Make "arrangement-flags" a proper
5832 G_TYPE_FLAGS derived property.
5834 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5836 * examples/Makefile.am: Add below examples.
5837 * examples/hildon-date-button-example.c:
5838 * examples/hildon-picker-button-example.c:
5839 * examples/hildon-picker-button-multicolumn-example.c:
5840 * examples/hildon-time-button-example.c:
5841 * examples/hildon-touch-picker-example.c:
5843 Add examples for the recently added touch pickers,
5844 picker dialogs, and picker button widgets.
5846 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5848 * src/hildon-button.c: Add some API documentation
5850 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5852 * src/hildon-button.h
5853 * src/hildon-button.c
5855 (hildon_button_new_with_text): New constructor to create a button
5856 with no text at all.
5857 (hildon_button_init, hildon_button_set_arrangement)
5858 (hildon_button_set_title, hildon_button_set_value)
5859 (hildon_button_set_text)
5860 (hildon_button_construct_child): Hide the value when it's not used
5861 so the rest of the text is properly aligned.
5862 Allow creating buttons with arbitrary widgets inside (not just
5863 title/value labels).
5865 * examples/hildon-button-example.c (vertical_buttons_window)
5866 (horizontal_buttons_window): Update example to use new API.
5868 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5870 * src/Makefile.am: Added HildonTimeButton.
5871 * src/hildon-time-button.c: Added missing LGPL header.
5872 * src/hildon-time-button.h: Added missing LGPL header.
5873 * src/hildon.h: Add hildon-time-button.h
5875 Copied HildonTimeButton from sandbox to trunk. Future work on this
5876 widget must take place in trunk.
5878 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5880 * src/Makefile.am: Added HildonDateButton.
5881 * src/hildon-date-button.c: Update includes.
5882 * src/hildon.h: Add hildon-date-button.h
5884 Copied HildonDateButton from sandbox to trunk. Future work on this
5885 widget must take place in trunk.
5887 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5889 * src/Makefile.am: Added HildonPickerButton.
5890 * src/hildon-picker-button.h: Update includes.
5891 * src/hildon.h: Add hildon-picker-button.h
5893 Copied HildonPickerButton from sandbox to trunk. Future work on
5894 this widget must take place in trunk.
5896 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5898 * src/Makefile.am: Added HildonPickerDialog.
5899 * src/hildon-picker-dialog.c: Update includes.
5900 * src/hildon.h: Add hildon-picker-dialog.h
5902 Copied HildonPickerDialog from sandbox to trunk. Future work
5903 on this widget must take place in trunk.
5905 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5907 * src/Makefile.am: Added HildonTimeSelector.
5908 * src/hildon.h: Add hildon-time-selector.h
5910 Copied HildonTimeSelector widget from sandbox to trunk. Future
5911 work on this widget must happen in trunk.
5913 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5915 * src/Makefile.am: Added HildonDateSelector.
5916 * src/hildon.h: Add hildon-date-selector.h
5918 Copied HildonDateSelector widget from sandbox to trunk. Future
5919 work on this widget must happen in trunk.
5921 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5923 * src/Makefile.am: Added HildonTouchPicker.
5924 * src/hildon-touch-picker.c: Update includes.
5925 * src/hildon.h: Add hildon-touch-picker.h
5927 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5928 on this widget must happen in trunk.
5930 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5932 * src/hildon-pannable-area.c:
5933 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5935 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5937 * examples/hildon-app-menu-example.c (main): Let the window
5940 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5942 * src/hildon-pannable-area.c
5943 (hildon_pannable_area_class_init): Set the min value of the
5944 overshoot properties to zero, which points out that not
5945 overshooting allowed.
5947 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5949 Modified the procedure to get the widget at a point inside the
5950 pannable area when using the movement type signals. Now the user
5951 has to call a function to get the child, that way we just
5952 calculate the child in case the user really want to use it and not
5955 * src/hildon-marshalers.list: Modified the marshallers, now we do
5956 not have the widget as a parameter.
5958 * src/hildon-pannable-area.c
5959 (hildon_pannable_area_motion_notify_cb),
5960 (hildon_pannable_area_class_init),
5961 (hildon_pannable_get_child_widget_at): Removed the widget
5962 parameter from the signal callback. We have also refactored the
5963 emission of the signals.
5965 * src/hildon-pannable-area.h: Added a new method to the API to
5966 calculate a widget at a point inside the pannable area,
5967 hildon_pannable_get_child_widget_at.
5969 * examples/hildon-pannable-area-example-4.c
5970 (horizontal_movement): Modified the example to use the new API,
5971 added condition to control which widget is under the event. This
5972 way we can avoid scrolling laterally over other widgets.
5974 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5976 * src/hildon-pannable-area.c
5977 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5978 modes, we stop getting the pointer events due to returning the
5979 callback without properly calling the get pointer again. Fixed
5980 also an error using the hscroll and vscroll.
5982 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5984 * src/hildon-app-menu-private.h
5985 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5986 (hildon_app_menu_button_release, hildon_app_menu_init)
5987 (hildon_app_menu_class_init): Don't hide the menu on button
5988 release if the user didn't press outside first.
5990 * src/hildon-window.h
5991 * src/hildon-window.c (hildon_window_toggle_menu)
5992 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5993 hildon_window_toggle_menu a virtual function for the stackable
5994 window to override it.
5996 * src/hildon-stackable-window.h
5997 * src/hildon-stackable-window-private.h
5998 * src/hildon-stackable-window.c
5999 (hildon_stackable_window_realize)
6000 (hildon_stackable_window_finalize)
6001 (hildon_stackable_window_class_init)
6002 (hildon_stackable_window_init)
6003 (hildon_stackable_window_set_main_menu): New function to set the
6004 app menu of a HildonStackableWindow.
6006 * examples/hildon-app-menu-example.c: Remove the button to show
6007 the app menu, now it'll be shown when clicking on the title bar
6010 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6012 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6013 set the widget name if the arrangement flags do not specify
6016 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6018 * src/hildon-button.c: (hildon_button_set_property),
6019 (hildon_button_class_init), (hildon_button_new_full),
6020 (hildon_button_set_arrangement): Added "arrangement-flags"
6023 Make the HildonButtonFlags a construction-only property, to allow
6024 subclasses to set them properly.
6026 2008-07-21 Tim Janik <timj@imendio.com>
6028 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6029 insertion position after backspace, so additional digits are appended,
6032 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6034 * src/hildon-pannable-area.c,
6035 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6036 TODO list, it was complete and removed the g_debug and g_print
6039 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6041 Added the movement modes to the hildon-pannable-area, with this
6042 modes the developers can control in which directions the widget
6043 can scroll. They can also connect to signals in order to do
6044 something when that happens, allowing applications scroll. There
6045 is an example uploaded showing how to use it.
6047 * examples/Makefile.am:
6048 * examples/hildon-pannable-area-example-4.c: Added this example of
6049 an application using the modes.
6051 * src/hildon-marshalers.list: Added a new marshaller for the new
6054 * src/hildon-pannable-area.h: Added new enumerations and flags in
6055 order to control the movement modes and the new signals to warn
6056 about the movements in the area.
6058 * src/hildon-pannable-area.c:
6059 (hildon_pannable_axis_scroll),
6060 (hildon_pannable_area_scroll),
6061 (hildon_pannable_area_motion_notify_cb),
6062 (hildon_pannable_area_get_property),
6063 (hildon_pannable_area_set_property),
6064 (hildon_pannable_area_map),
6065 (hildon_pannable_area_class_init),
6066 (hildon_pannable_area_init),
6067 (hildon_pannable_area_jump_to): Added the modes to control the
6068 movement in the widget. We have added properties to control it,
6069 signals to warn about the movements and refactored some code.
6071 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6073 Changes required in order to allow vfast_factor set to zero to
6076 * src/hildon-pannable-area.c:
6077 (hildon_pannable_area_button_press_cb): Changed the condition, it
6078 is required for not allowing click when vfast_factor is zero.
6079 (hildon_pannable_area_timeout): Initialized velocity variables
6080 when we stop moving, it was less than 1 but not zero and we need
6081 to check zero in some situations.
6082 (hildon_pannable_area_class_init): Changed the default value of
6083 the speed factor, now the button_press is just sent in case the
6084 speed is 2 per cent of the max speed.
6085 (hildon_pannable_area_init): Initialization with 0.
6087 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6089 * src/hildon-pannable-area.c,
6090 (hildon_pannable_area_get_topmost): replaced
6091 gdk_window_get_children with gdk_window_peek_children, this way we
6092 do not have to free the list because it is not a copy.
6094 (hildon_pannable_axis_scroll),
6095 (hildon_pannable_area_scroll),
6096 (hildon_pannable_area_timeout),
6097 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6098 two parameters that were only used inside the
6099 hildon_pannable_area_scroll function.
6101 * examples/hildon-pannable-area-example.c,
6102 (get_sawtooth_label): Fixed small memory leak.
6104 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6106 More checks for the case where the overshoot is bigger than the
6109 * src/hildon-pannable-area.c:
6110 (hildon_pannable_draw_vscroll),
6111 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6112 to draw the slider of the scrollbar under the other scrollbar.
6113 (hildon_pannable_area_expose_event): added new checks to control
6114 the drawing of the overshooting area rectangle, in case it is too
6115 big for the area of the widget.
6116 (hildon_pannable_area_size_allocate): add more checks to avoid
6117 setting a position to the child widget outside the area.
6119 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6121 * src/hildon-pannable-area.c
6122 (hildon_pannable_area_size_allocate): Added conditions to control
6123 when overshooting is bigger than the allocated space for the
6124 children, this avoids negative allocations.
6126 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6128 * doc/hildon-docs.sgml
6130 * examples/Makefile.am
6131 * examples/hildon-button-example.c
6133 * src/hildon-button.c
6134 * src/hildon-button.h
6135 * src/hildon.h: Initial version of the new HildonButton widget,
6138 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6140 * src/hildon-pannable-area.c:
6141 (hildon_pannable_area_button_press_cb),
6142 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6143 (hildon_pannable_area_motion_notify_cb),
6144 (hildon_pannable_area_button_release_cb),
6145 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6146 (hildon_pannable_area_jump_to_child):
6148 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6150 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6152 * examples/Makefile.am
6153 * examples/hildon-pannable-area-touch-grid-example.c
6154 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6155 the Hildon Touch List and Hildon Touch Grid using the
6156 HildonPannableArea widget.
6158 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6160 * src/hildon-pannable-area.c,
6161 (hildon_pannable_area_button_press_cb),
6162 (hildon_pannable_area_refresh),
6163 (hildon_pannable_area_scroll),
6164 (hildon_pannable_area_motion_notify_cb),
6165 (hildon_pannable_area_button_release_cb),
6166 (hildon_pannable_area_expose_event),
6167 (hildon_pannable_area_add),
6168 (hildon_pannable_area_remove),
6169 (hildon_pannable_area_realize),
6170 (hildon_pannable_area_size_allocate),
6171 (hildon_pannable_area_class_init),
6172 (hildon_pannable_area_init),
6173 (hildon_pannable_area_scroll_to_child),
6174 (hildon_pannable_area_jump_to_child): Fixed the problem of
6175 removing the child from the GtkBin, we have rearranged the widget
6176 hierarchy, now there is no GtkAlignment which was not doing
6177 anything interesting but breaking some of the assumptions of
6178 GtkContainer. Now developers if they want to add a GtkAlignment
6179 they could, but it is not inside the area.
6181 We had to review the whole allocation/expose process, now it is
6182 improved and we save at least three signals which would be saving
6183 some time when rendering the widget. The allocation of the
6184 scrollbars is now made in the allocate method as usual.
6186 We have also added some conditions in order to control when there
6187 is no child of the pannable area. Maybe we will need more work
6190 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6192 * src/hildon-pannable-area.c,
6193 (hildon_pannable_area_dispose): Released the fade-out timeout when
6194 disposing the widget.
6196 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6198 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6199 zero, we are going to use that property in order to deactivate the
6201 (hildon_pannable_axis_scroll),
6202 (hildon_pannable_area_size_allocate): Added conditions to control
6203 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6204 call, now it is called in all situations and we can remove calls
6205 in the allocate method.
6206 (hildon_pannable_area_map): Control the situation when
6207 overshoot_max is zero, we do not need the timeout.
6208 (hildon_pannable_area_class_init): Added documentation in order to
6209 point out that setting zero to overshoot_max means deactivate
6212 NOTE: removed trailing whitespaces from my previous comments of
6215 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6217 * src/hildon-pannable-area.c
6218 (hildon_pannable_area_get_property),
6219 (hildon_pannable_area_set_property),
6220 (hildon_pannable_area_map),
6221 (hildon_pannable_area_class_init),
6222 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6223 to cause the widget give a hint about its panning abilities upon
6226 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6228 * src/hildon-pannable-area.c: Several documentation improvements.
6230 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6232 * src/hildon-program.c
6233 * src/hildon-stackable-window.c: Update documentation.
6235 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6237 * src/hildon-stackable-window.c (get_previous_window_if_last):
6238 Renamed get_last_window()
6239 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6240 (hildon_stackable_window_unset_program):
6242 (get_previous_window_if_last):
6243 Detect if the window hasn't been added to a HildonProgram.
6245 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6247 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6249 * src/hildon-pannable-area.c
6250 (hildon_pannable_area_button_press_cb),
6251 (hildon_pannable_axis_scroll),
6252 (hildon_pannable_area_scroll),
6253 (hildon_pannable_area_timeout),
6254 (hildon_pannable_calculate_vel_factor),
6255 (hildon_pannable_area_get_property),
6256 (hildon_pannable_area_set_property),
6257 (hildon_pannable_area_class_init),
6258 (hildon_pannable_area_init),
6259 (hildon_pannable_area_scroll_to),
6260 (hildon_pannable_area_jump_to),
6261 (hildon_pannable_area_scroll_to_child),
6262 (hildon_pannable_area_jump_to_child):
6263 * src/hildon-pannable-area.h: Added the new API functions:
6264 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6265 hildon_pannable_area_scroll_to_child,
6266 hildon_pannable_area_jump_to_child
6269 * examples/Makefile.am
6270 * examples/hildon-pannable-area-example-2.c
6271 * examples/hildon-pannable-area-example-3.c: Added these two new
6272 examples in order to test and show how the new APIs work.
6274 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6276 * examples/hildon-stackable-window-example.c (new_window):
6277 * src/Makefile.am (noinst_HEADERS):
6278 * src/hildon-program.c (hildon_program_go_to_root_window):
6279 * src/hildon-program.h:
6280 * src/hildon-stackable-window-private.h:
6281 * src/hildon-stackable-window.c:
6282 * src/hildon-stackable-window.h:
6283 Create hildon-stackable-window-private.h
6284 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6286 * examples/hildon-app-menu-example.c (create_menu):
6287 * examples/hildon-hvolumebar-insensitive-example.c (main):
6288 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6289 * examples/hildon-toolbar-seekbar-example.c (main):
6290 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6291 * src/hildon-banner.c (hildon_banner_set_property):
6292 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6293 Fix compilation warnings
6295 * src/hildon-window.c:
6298 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6300 * src/hildon-stackable-window.c
6301 (hildon_stackable_window_unset_program):
6302 Calculate correctly whether to show the previous window if the
6303 last one is removed from the stack.
6304 (hildon_stackable_window_go_to_root_window):
6305 Send delete events starting from the topmost window.
6306 Stop if one of the windows is not destroyed.
6308 (hildon_stackable_window_delete_event)
6309 (hildon_stackable_window_class_init):
6310 Ignore the delete event if the window is not the topmost one.
6312 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6314 * src/hildon-pannable-area.c
6315 (hildon_pannable_area_expose_event): Fixed a problem when
6316 selecting the background color of the scrollbars.
6318 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6320 * examples/hildon-stackable-window-example.c
6321 * src/hildon-stackable-window.c
6322 * src/hildon-stackable-window.h
6323 hildon_stackable_window_go_home() renamed to
6324 hildon_stackable_window_go_to_root_window()
6325 Send delete events to windows rather than closing them with
6326 gtk_widget_destroy()
6328 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6330 * src/hildon-pannable-area.c
6331 (hildon_pannable_area_button_release_cb): Fix overshooting in
6334 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6336 * src/hildon-pannable-area.c
6337 (hildon_pannable_area_init): Initially show the scroll indicators.
6338 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6340 Add initial effect showing the widget is pannable.
6342 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6344 * src/hildon-pannable-area.c
6345 (hildon_pannable_area_class_init)
6346 (hildon_pannable_area_set_property)
6347 (hildon_pannable_area_get_property)
6348 (hildon_pannable_area_button_press_cb):
6349 New 'velocity_fast_factor' property to decide which velocity is
6352 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6354 * src/hildon-pannable-area.c
6355 (hildon_pannable_draw_hscroll)
6356 (hildon_pannable_draw_vscroll):
6357 Use float variables to calculate the size of the scrollbars to
6358 avoid error propagation and resizing during scrolling.
6360 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6362 * src/hildon-pannable-area.c
6363 (hildon_pannable_draw_vscroll)
6364 (hildon_pannable_draw_hscroll):
6365 Define a minimum size for the scroll bars
6367 * src/hildon-stackable-window.c
6368 (hildon_stackable_window_go_home): Fix compilation warning
6369 (get_last_window): Minor optimizations
6370 (hildon_stackable_window_class_init): Fix initialization of
6373 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6375 * src/hildon-stackable-window.c: Fixed typos in doc
6377 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6379 * src/hildon-pannable-area.c
6380 (hildon_pannable_area_scroll):
6381 Calculate here whether we need to scroll instead of using the booleans
6382 that tell us whether to /draw/ the scrolling bars.
6384 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6386 * src/hildon-app-menu.h
6388 * src/hildon-app-menu.c
6389 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6390 multiple filter groups related code and API. Now we support only
6392 * examples/hildon-app-menu-example.c:
6394 Update to reflect API changes.
6396 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6398 * src/hildon-stackable-window.c
6399 (hildon_stackable_window_class_init):
6400 Add hildon_stackable_window_realize.
6401 (hildon_stackable_window_realize):
6402 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6403 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6404 to apply theming and behavior specific to HildonStackableWindow
6407 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6409 * src/hildon-note.c (hildon_note_button_release):
6410 Close information notes also when tapping on them
6412 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6414 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6415 ELASTICITY, refactor and review, fix some issues with drawing
6418 * src/hildon-pannable-area.c:
6419 (hildon_pannable_area_button_press_cb): removed the conditions to
6420 avoid clicks when overshooting. It is not required
6422 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6423 define. Refatored and reviewed the code, now we do not need to
6424 manage velocity in motion_notify.
6426 (hildon_pannable_area_motion_notify_cb): We have moved the code
6427 that controls the area_scroll to the axis_scroll function and get
6428 rid of duplicated code.
6430 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6432 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6434 (hildon_pannable_draw_vscroll),
6435 (hildon_pannable_draw_hscroll): Fixed the problems with the
6436 scrollbar drawing, now we do not use two surfaces, it is easier
6437 and saves resources.
6439 (hildon_pannable_area_get_property): Style modification.
6441 (hildon_pannable_area_class_init): Changed some default values.
6443 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6445 * src/hildon-stackable-window.c: Fix some typos in the
6448 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6450 * src/hildon-dialog.c:
6451 Change indentation style
6454 (hildon_note_button_release):
6455 Use root coordinates to check if the release event happened
6458 * src/hildon-app-menu.c
6459 (hildon_app_menu_button_release):
6460 Remove unnecessary check
6462 * examples/hildon-app-menu-example.c
6464 Add cast to fix warning
6466 * src/hildon-app-menu.c
6467 (hildon_app_menu_class_init):
6468 New inner-border style property.
6469 Set all default spacings to 16
6470 (hildon_app_menu_init):
6471 Use vertical-spacing to set the space between filter buttons and
6472 regular menu buttons.
6473 Set the default container border using the inner-border value.
6475 * examples/hildon-app-menu-example.c
6477 Don't set the menu border explicitly, now we have the inner-border
6478 style property for that.
6480 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6482 * src/hildon-app-menu.c (hildon_app_menu_init):
6483 Make the window modal
6485 * src/hildon-note.c (hildon_note_map)
6486 * src/hildon-app-menu.c (hildon_app_menu_map):
6487 Destroy the grab window if we're unable to grab the pointer
6489 * src/hildon-app-menu-private.h
6490 * src/hildon-app-menu.c
6491 (hildon_app_menu_init, hildon_app_menu_finalize)
6492 (hildon_app_menu_map, hildon_app_menu_unmap)
6493 (hildon_app_menu_button_release)
6494 (grab_transfer_window_get):
6495 Bring back the grab window
6496 (hildon_app_menu_realize):
6497 Decorate the window, set WM hint for Matchbox
6499 * src/hildon-note.c (hildon_note_realize):
6500 * src/hildon-banner.c (hildon_banner_realize):
6501 Add WM hints for Matchbox
6503 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6505 * src/hildon-app-menu-private.h
6506 * src/hildon-app-menu.c
6507 (hildon_app_menu_init, hildon_app_menu_finalize)
6508 (hildon_app_menu_map, hildon_app_menu_unmap)
6509 (hildon_app_menu_button_release):
6510 Remove the grab window, it's not needed anymore
6512 * src/hildon-program.c
6513 Fixed typo in documentation
6515 * src/hildon-app-menu.h
6516 * src/hildon-app-menu.c
6517 * examples/hildon-app-menu-example.c
6518 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6520 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6523 Added new transfer_window and close_if_pressed_outside private
6525 (hildon_note_rebuild):
6526 Don't add a cancel button to the information note. It will be
6527 closed when tapping outside
6528 Remove the comment about the OK button in the documentation
6529 (hildon_note_realize):
6530 Set the notification type hint
6531 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6532 Grab/ungrab pointer and keyboard if the note has to be closed when
6534 (hildon_note_button_release):
6535 Close the note when tapping outside (if applicable)
6537 * src/hildon-app-menu.c
6538 Grab/ungrab pointer and keyboard on map/unmap
6539 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6540 Close the menu on button release, not button press
6542 * src/hildon-banner.c
6543 (hildon_banner_set_property)
6544 (hildon_banner_check_position):
6545 Make the banner use the full width of the screen
6546 (hildon_banner_show_information)
6547 (hildon_banner_show_information_with_markup):
6548 Don't display an icon by default
6550 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6552 Added fading scrollbars and adapted all the overshooting code to
6553 horizontal scrolling. We have also fixed bugs with overshooting
6554 and current fading implementation.
6556 * src/hildon-pannable-area.c
6557 (hildon_pannable_area_scroll_indicator_fade): Time out function
6558 used to change the transparency of the scrollbars.
6560 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6561 control and fixed a problem with fading, we now remove the fade
6562 timeout before adding a new one.
6564 (hildon_pannable_axis_scroll):
6565 (hildon_pannable_area_scroll):
6566 (hildon_pannable_area_timeout): Added this functions so we can use
6567 the scroll code both for vertical and horizontal.
6569 (hildon_pannable_area_motion_notify_cb):
6570 (hildon_pannable_area_button_release_cb): Added the horizontal
6571 scrolling control, fixed a problem with the overshooting timeout.
6573 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6574 painting of the scrolls.
6576 (hildon_pannable_draw_vscroll):
6577 (hildon_pannable_draw_hscroll):
6578 (hildon_pannable_area_expose_event):
6579 Draw both scrollbars and rectangles in the overshooting area.
6581 (hildon_pannable_area_get_property):
6582 (hildon_pannable_area_set_property):
6583 Modified the overshoot property to overshoot_max
6585 (hildon_pannable_area_map):
6586 Replaced the comments symbols.
6588 (hildon_pannable_area_size_allocate):
6589 (hildon_pannable_area_class_init):
6590 (hildon_pannable_area_init): Added horizontal scroll, fading
6591 effect properties, fixed a problem when overshooting in the bottom
6594 * examples/hildon-pannable-area-example.c:
6595 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6596 looks better in the example.
6598 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6600 * src/hildon-window.c
6601 * src/hildon-window.h
6602 (hildon_window_class_init)
6603 (hildon_window_unset_program)
6604 (hildon_window_unset_program_real):
6605 Make unset_program a virtual function
6607 * src/hildon-stackable-window.c
6608 * src/hildon-stackable-window.h
6609 Added hildon_stackable_window_go_home()
6611 * examples/Makefile.am
6612 * examples/hildon-stackable-window-example.c
6613 HildonStackableWindow example
6615 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6617 * hildon-pannable-area.c: Added the overshoot property and removed
6618 the OVERSHOOT define. Fixed an indent style error.
6619 (hildon_pannable_area_motion_notify_cb):
6620 (hildon_pannable_area_get_property):
6621 (hildon_pannable_area_set_property): Add overshoot property.
6623 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6626 (hildon_pannable_area_class_init): Installed the new property.
6628 * hildon-pannable-area-example.c: Added a sawtooth function, this
6629 way it is easier to check the movement in the pannable.
6630 (get_sawtooth_label): Added this function.
6631 (main): Now we get the labels from the new get_sawtooth_label
6634 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6636 * src/hildon-app-menu.h
6637 * src/hildon-app-menu.c
6638 Renamed API variables for consistency
6640 (hildon_app_menu_popup): Use also the default window size to
6641 decide where to place the menu
6643 (hildon_app_menu_init, hildon_app_menu_class_init): New
6644 external-border style property
6646 2008-05-26 Michael Natterer <mitch@imendio.com>
6648 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6649 widget_class->tap_and_hold_setup signal slot doesn't exist any
6650 longer, stop overriding it.
6652 (hildon_time_editor_init): g_signal_connect() to the
6653 tap-and-hold-setup signal instead.
6655 (hildon_time_editor_entry_keypress): add cast to fix warning.
6657 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6659 * doc/hildon-docs.sgml
6661 * examples/Makefile.am
6662 * examples/hildon-app-menu-example.c
6664 * src/hildon-app-menu-private.h
6665 * src/hildon-app-menu.c
6666 * src/hildon-app-menu.h
6668 New HildonAppMenu widget
6670 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6672 Rearranged the inheritance of the pannable area, now it inherits
6673 from GtkBin. This will allow us to control the event_window and
6674 the allocation process of the widget, required for some effects.
6676 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6677 GtkBin structures. * src/hildon-pannable-area.c: Added the
6678 event_window variable.
6679 (hildon_pannable_area_button_press_cb):
6680 (hildon_pannable_area_button_release_cb):
6681 (hildon_pannable_area_motion_notify_cb):
6682 Changed the signature of the method, now we override the event
6683 callback instead of connecting to the signal.
6685 (hildon_pannable_area_realize):
6686 (hildon_pannable_area_unrealize):
6687 (hildon_pannable_area_map):
6688 (hildon_pannable_area_unmap):
6689 (hildon_pannable_area_size_allocate):
6690 Added functions to control the widget construction. We add a
6691 INPUT_ONLY window and we put it over the widgets inside the
6692 container, this event_window handles the events.
6694 (hildon_pannable_area_class_init):
6695 Replaced the signal connections with overrides of the event
6698 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6700 Bouncing effect added when touching the borders, you can change
6701 the elasticity of the border changing the ELASTICITY define.
6703 * src/hildon-pannable-area.c: Added ELASTICITY define.
6704 (hildon_pannable_area_timeout): Added inverse velocity when
6705 touching the border of the child widget, that causes a bounce.
6707 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6709 Improved performance, we now do not go to the X server in order to
6710 get the list of window children. Apparently the effect is the
6711 same, we have to be careful and check if this breaks something in
6714 * src/hildon-pannable-area.c:
6715 (get_ordered_children): Removed this function.
6716 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6717 the children windows function with gdk_window_get_children.
6719 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6721 * src/hildon-pannable-area.c:
6722 (hildon_pannable_area_dispose): Fixed a crash when closing the
6723 window and kinetics is activated.
6725 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6727 * src/hildon-pannable-area.h
6728 * src/hildon-pannable-area.c
6729 Changed indentation style to meet the one used in Hildon
6731 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6733 Reviewed the interaction of the AUTO mode, now we use the time
6734 attribute of the events and calculate the velocity in the motion,
6735 doing a gimp like calculation. The velocity is calculated in each
6736 motion event using the last velocity and the current one, the
6737 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6739 * src/hildon-pannable-area.c: Replaced the time based algorithm
6741 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6742 timeout for the AUTO mode when we are still moving the cursor. We
6743 added also the velocity calculation in this function.
6744 (hildon_pannable_area_button_release_cb): launch the timeout in
6745 case we are in AUTO mode. There are still some constants here that
6746 come from the old implementation that should be reviewed and
6749 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6751 * doc/hildon-docs.sgml
6754 * src/hildon-stackable-window.c
6755 * src/hildon-stackable-window.h
6757 New HildonStackableWindow widget
6759 * examples/hildon-dialog-example.c
6760 * examples/hildon-pannable-area-example.c
6763 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6765 * src/hildon-dialog.c
6766 (hildon_dialog_new_with_buttons): New constructor.
6768 * examples/hildon-dialog-example.c
6769 (main): Update the example to use the new
6770 hildon_dialog_new_with_buttons().
6772 * examples/hildon-pannable-area-example.c
6773 (main): Update example.
6775 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6777 * doc/hildon-docs.sgml
6779 Added HildonPannableArea to the documentation.
6781 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6783 * doc/visual_index.xml
6784 Fix reference to HildonLoginDialog in documentation
6786 * doc/hildon-docs.sgml
6788 * examples/Makefile.am
6789 * examples/hildon-dialog-example.c
6791 * src/hildon-dialog.c
6792 * src/hildon-dialog.h
6794 New HildonDialog widget.
6796 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6798 * src/hildon-pannable-area.c
6799 Merge latest changes (r4318, r4342) from libmokoui trunk
6801 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6803 * examples/Makefile.am
6804 * examples/hildon-pannable-area-example.c
6806 * src/hildon-pannable-area.c
6807 * src/hildon-pannable-area.h
6809 New HildonPannableArea widget.
6811 2008-04-15 18:05:19 <timj@imendio.com>
6813 * src/hildon-banner.c: revert the recent change, that introduced
6814 gtk_window_present() calls. this reopens:
6815 Bug 78481 - [freetest] information banners are hidden under browser menu
6816 But resolves another variant of:
6817 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6819 2008-04-15 13:21:13 <timj@imendio.com>
6821 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6822 recreated its layout, spotted by Kris. this fixes all remaining
6823 artefacts and stability issues with the banner code. in particular:
6824 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6826 2008-04-14 16:52:59 <timj@imendio.com>
6828 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6829 operating on unrealized widgets, fixes:
6830 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6832 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6834 2008-04-09 Kristian Rietveld <kris@imendio.com>
6836 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6837 makes banner disappear.
6838 Fixes: NB#79182: info banner flickering with certain message lengts.
6840 * src/hildon-banner.c (hildon_banner_constructor),
6841 (hildon_banner_init), (hildon_banner_set_text),
6842 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6843 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6844 FALSE, reset size requests of label and banner,
6845 (force_to_wrap_truncated): when the text is too wide, always enforce
6846 the maximum possible width instead of recalculating it from the
6847 layout; enforce the maximum banner height of 3 lines,
6848 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6849 nicer wrapping and no truncated chars if space gets tight.
6851 * src/hildon-banner-private.h: add has_been_wrapped and
6852 has_been_truncated fields.
6854 2008-04-07 Sven Herzberg <sven@imendio.com>
6856 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6857 local values in hildon_date_editor_size_allocate
6859 * src/hildon-date-editor.c: moved the real allocation code into the
6862 2008-04-07 Sven Herzberg <sven@imendio.com>
6864 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6865 local values in hildon_date_editor_size_allocate
6867 * src/hildon-date-editor.c: merged the two if() branches together
6869 2008-04-07 Sven Herzberg <sven@imendio.com>
6871 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6872 local values in hildon_date_editor_size_allocate
6874 * src/hildon-date-editor.c: changed the arguments of the if()
6877 2008-04-07 Sven Herzberg <sven@imendio.com>
6879 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6880 local values in hildon_date_editor_size_allocate
6882 * src/hildon-date-editor.c: split the calculation of the allocation
6883 from the real allocation
6885 2008-03-27 Michael Natterer <mitch@imendio.com>
6887 Fixes: NB#81696: The passcode is not overwritten even after
6890 * src/hildon-code-dialog.c
6891 (hildon_code_dialog_button_clicked)
6892 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6893 because that doesn't overwrite selected text. Instead, emit the
6894 "commit" signal on the entry's im_context so the entry's normal
6895 insert logic is triggered. Set the cursor to the end of the entry
6896 after each insert operation so that we *only* insert in the middle
6897 of the text if something was selected.
6899 2008-03-27 Michael Natterer <mitch@imendio.com>
6901 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6902 selector cannot be opened
6904 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6905 when the popup color selector is created. Please connect to this
6906 signal in order to set the dialog's help ID.
6908 2008-03-25 Sven Herzberg <sven@imendio.com>
6910 Fixes: MB#1212: Hide info banners (infoprints) on click
6912 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6913 extracted the close event simulation into an extra function
6914 (hildon_banner_button_press_event): simulate a close event and destroy
6915 the widget if the event wasn't handled
6916 (hildon_banner_class_init): added the button_press_event handler
6917 (hildon_banner_init): added button-press events to the widget
6919 2008-03-25 Sven Herzberg <sven@imendio.com>
6921 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6922 Patch from: Mohammad Anwari <mdamt@maemo.org>
6924 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6925 instead of the right in RTL mode
6926 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6927 breadcrumb button list in RTL mode
6928 * src/hildon-caption.c: mirror the appearance of the caption widget in
6930 * src/hildon-date-editor.c: mirror appearance of the date editor in
6932 * src/hildon-time-editor.c: mirror appearance of the time editor in
6934 * src/hildon-window.c: fix the position of the popup in RTL mode
6936 2008-03-25 Sven Herzberg <sven@imendio.com>
6938 Amendment to the fix of NB#22072. Fix compilation.
6940 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6942 2008-03-19 Sven Herzberg <sven@imendio.com>
6944 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6947 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6948 timeout id properly when the timeout will disappear this leaves no
6949 artifacts around in the destroy(); there will only be the timeout
6950 created by hildon_banner_ensure_timeout() and adding a new timeout
6951 will also work if the timeout gets removed because the timeout_handler
6954 2008-03-19 Michael Natterer <mitch@imendio.com>
6956 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6958 * src/hildon-volumebar.c
6959 * src/hildon-vvolumebar.c
6960 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6961 the widget becomes focussable at all.
6963 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6964 set the focus to wither the mute button or the volumebar.
6966 Remove own "can-focus" property and instead listen to
6967 notify::can-focus in order to update the widget's state.
6969 Implement GtkWidget::focus() and make sure we can also *leave* the
6970 widget, not only enter it, depending on volumebar orientation and
6971 requested focus direction.
6973 Clean up set_mute() to cooperate nicely with all the above.
6975 2008-03-04 Michael Natterer <mitch@imendio.com>
6977 Fixes: NB#78481: information banners are hidden under browser menu
6979 * src/hildon-banner.c: call gtk_window_present() on the banners so
6980 they are risen if they are already visible.
6982 2008-03-03 Sven Herzberg <sven@imendio.com>
6984 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6986 * examples/hildon-window-menu-example.c: (main): extended the window
6987 menu example to serve as a testcase for automatically added
6988 accelerator groups, too
6989 * src/hildon-window.c: (hildon_window_add_accel_group),
6990 (hildon_window_set_menu): added patch by Tommi Komulainen
6992 2008-03-03 Sven Herzberg <sven@imendio.com>
6994 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6996 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6997 knowledge about the border allocators used within GTK+
6999 2008-02-26 Sven Herzberg <sven@imendio.com>
7001 Fixes: MB#2981: Build with asserts broken
7003 * src/hildon-date-editor.c,
7004 * src/hildon-number-editor.c,
7005 * src/hildon-time-editor.c,
7006 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7007 the proper GType instance check
7009 2008-02-25 Sven Herzberg <sven@imendio.com>
7011 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7013 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7014 * examples/hildon-window-menu-example.c: (main): explicitly show
7016 * src/hildon-window.c:
7017 (hildon_window_set_main_menu): moved most of the code from set_menu()
7018 to this place; skipped the call to gtk_widget_show_all(); also didn't
7019 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7020 (hildon_window_set_menu): removed most of the code, just keep the
7021 questionable gtk_widget_show_all()
7022 * src/hildon-window.h: added the new function and deprecate the old
7025 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7031 * debian/changelog: Updating.
7033 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7036 * pkgconfig/Makefile.am:
7037 * pkgconfig/hildon.pc.in:
7040 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7041 use newly created API_MAJOR_VERSION.
7043 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7049 * debian/changelog: Updating.
7051 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7053 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7055 Add outer_border style property, we use it but don't define it (!).
7059 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7061 * examples/hildon-bread-crumb-trail-example.c (main):
7065 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7067 Fix logic for the bread crumb trail node removal.
7071 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7077 * debian/changelog: Updating.
7079 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7081 Patch by Alejandro to get/set passwords dialogs accesibility.
7083 * hildon-1/src/hildon-get-password-dialog.c:
7084 * hildon-1/src/hildon-set-password-dialog.c:
7085 Set atk_set_name to the passwd entries in order to allow
7086 accessibility by name on this entries.
7088 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7093 * debian/control: Updating gtk dep.
7095 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7097 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7098 USE_MAEMO_GTK is enabled.
7100 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7102 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7103 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7105 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7111 * debian/changelog: Updating.
7113 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7115 * examples/Makefile.am:
7116 * examples/hildon-logical-color-example.c:
7117 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7118 applied + adding a test case. Fixes: NB#71660.
7120 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7122 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7123 to be visible, fixes warning on map for windows without toolbars.
7125 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7127 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7128 2.11.0, add a check for that besides the MAEMO_GTK check.
7130 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7136 * debian/changelog: Updating.
7138 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7140 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7141 visibility. Fixes: NB#70842 and MB#615.
7143 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7145 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7146 set the separator as no-show-all so it doesn't unintentionally appear when
7147 someone does a show_all.
7149 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7151 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7152 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7153 toplevel item. Fixes: NB#62031
7155 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7157 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7158 fix the name of the function in the docs.
7160 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7166 * debian/changelog: Updating.
7168 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7170 * examples/hildon-banner-long-example.c: Adding a test-case for long
7173 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7175 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7177 * src/hildon-color-chooser-dialog.c:
7178 * src/hildon-color-chooser.c:
7179 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7180 memory leaks in font selector and color selector. Fixes: NB#70499 and
7183 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7185 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7187 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7189 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7190 little bit bigger. Fixes: #NB63694.
7192 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7198 * debian/changelog: Updating.
7200 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7203 * doc/hildon-docs.sgml:
7204 * doc/images/bread-crumb-trail.png:
7205 * doc/images/calendar-popup.png:
7206 * doc/images/caption.png:
7207 * doc/images/code-dialog.png:
7208 * doc/images/color-button.png:
7209 * doc/images/color-chooser-dialog.png:
7210 * doc/images/color-chooser.png:
7211 * doc/images/controlbar.png:
7212 * doc/images/date-editor.png:
7213 * doc/images/font-selection-dialog.png:
7214 * doc/images/get-password-dialog.png:
7215 * doc/images/hvolumebar.png:
7216 * doc/images/login-dialog.png:
7217 * doc/images/note.png:
7218 * doc/images/number-editor.png:
7219 * doc/images/range-editor.png:
7220 * doc/images/seekbar.png:
7221 * doc/images/set-password-dialog.png:
7222 * doc/images/sort-dialog.png:
7223 * doc/images/time-editor.png:
7224 * doc/images/time-picker.png:
7225 * doc/images/vvolumebar.png:
7226 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7227 Adding the bread-crumb-trial and helpers to the documentation.
7229 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7231 * examples/hildon-find-toolbar-example.c:
7232 * src/hildon-find-toolbar.c:
7233 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7234 actually continue firing the other handlers if connected. Adding a new
7236 hildon_find_toolbar_get_last_index that gets the index of the most
7237 recently added (last) item. Fixes: NB#52301.
7239 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7241 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7242 behaviour. Fixes: NB#68610.
7244 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7246 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7249 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7251 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7252 when realizing the banner. Should make the infonbanner effect a bit more
7255 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7257 * src/hildon-volumebar.c:
7258 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7259 hildon_volumebar_set_range_insensitive_message and
7260 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7262 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7264 * src/hildon-window.c: Fixing the border freeing on destroy.
7266 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7268 * src/hildon-code-dialog-private.h:
7269 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7270 kw keyboard support in HildonCodeDialog.
7272 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7278 * debian/changelog: Updating.
7280 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7282 * src/hildon-date-editor.c:
7283 * src/hildon-number-editor.c:
7284 * src/hildon-private.c:
7285 * src/hildon-private.h:
7286 * src/hildon-time-editor.c:
7287 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7288 handling in subclassed composite widgets. Fixes: NB#66628.
7290 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7292 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7293 from destroy_ callback as it introduces problems in async dbus signal
7294 handlers. Fixes NB#66673.
7296 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7298 * examples/hildon-hvolumebar-example.c:
7299 * src/hildon-volumebar.c: Improving the focus handling in the
7300 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7301 set_property accessor so that "mute" property can be actually set. I'm
7302 scared that nobody noticed it's totally broken.
7304 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7306 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7309 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7311 * src/hildon-calendar.c:
7312 * src/hildon-number-editor.c:
7313 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7314 matches the spec of 6 chars per second. Fixes: NB#60489.
7316 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7318 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7319 gtk_style_lookup_color sometime returns FALSE even though color was
7320 found and values were filled properly. Weird. Removing the warning for the
7323 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7325 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7326 expand vertically. Adding some extra space to the find toolbar buttons to
7327 make them thumbable. Fixes NB#66060.
7329 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7331 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7332 popup with "Ok" and "Cancel". Fixes NB#59299.
7334 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7336 * src/hildon-calendar.c: Process all window updates before executing next
7337 timeout. Fixes: NB#54146.
7339 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7345 * debian/changelog: Updating.
7347 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7349 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7350 the client event and ignore it, since we use the delete event to close
7353 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7355 * src/hildon-helper.c: Remove the bogus warning about color not being
7356 found. Fixes NB#58352.
7358 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7360 * examples/Makefile.am:
7361 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7362 HildonSeekbar widget inside a toolbar.
7364 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7366 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7367 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7368 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7369 don't want to be closed by non-temporary windows on map.
7371 Also use G_DEFINE_TYPE instead of manually typed code.
7373 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7380 * debian/rules: Updating.
7382 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7384 * examples/Makefile.am:
7385 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7386 bug NB#61128. Strangely it works.
7388 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7390 * src/hildon-date-editor.c: When the date editor entry has been changed
7391 but the numbers of characters < max, turn off the skip validation flag.
7392 Prevents a situation when we enter first a valid year and later re-write
7393 it with an invalid one. Fixes NB#60154.
7395 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7397 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7398 code dialog. Fixes NB#64355.
7400 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7402 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7403 switching the page. Fixes NB#49374.
7405 * examples/Makefile.am:
7406 * examples/hildon-wizard-dialog-example.c: Adding an example for
7407 HildonWizardDialog that shows how to handle manual sensitivity setting on
7410 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7414 * src/hildon-version.h.in:
7415 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7417 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7419 * src/hildon-volumebar.c: Updating the docs.
7421 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7427 * debian/changelog: Updating.
7429 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7431 * src/hildon-find-toolbar.c:
7432 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7433 selected item: hildon_find_toolbar_set_active,
7434 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7435 hildon_find_toolbar_get_active_iter . They correspond to respective
7436 GtkComboBox functions.
7438 * examples/Makefile.am:
7439 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7442 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7444 * examples/Makefile.am:
7445 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7448 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7449 when font size > 32 and we pack a focusable widget inside. Actually using
7450 the default response would work too, but since we don't show default
7451 response state in any way (no theming) it would not be visible to the
7452 user. Fixes NB#63430.
7454 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7456 * src/hildon-date-editor.c: Adding the missing variable setter in the
7457 set_property handler. Fixes NB#54182.
7459 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7461 * src/hildon-window.h: Changing the long key press time from 1500ms to
7462 800ms as requested in NB#63700. I have a bad feeling about this, let's
7463 see... Fixes NB#63700.
7465 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7467 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7468 hildon_time_picker_map, hildon_time_picker_realize,
7469 hildon_time_picker_style_set): Split the contents of map to more
7470 appropriate functions; set window decorations on realize and update
7471 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7473 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7478 * debian/changelog: Updating.
7480 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7482 * src/Makefile.am: fixed installation of the header files
7484 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7490 * debian/changelog: Updating.
7492 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7494 * configure.ac: Removing some remaining of --enable-xan.
7496 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7498 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7499 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7501 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7502 2.10.12-osso6 because the move-focus signal needs to be available in
7505 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7507 * examples/Makefile.am:
7508 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7509 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7510 fine. Prolly NB#61128 is fixed now.
7512 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7514 * src/hildon-volumebar.c:
7515 * src/hildon-volumebar.h: Adding the
7516 hildon_volumebar_set_range_insensitive_message and
7517 hildon_volumebar_set_range_insensitive_messagef functions to set
7518 insensitive message on the slider of the volumebar. Fixes NB#61129.
7520 * examples/Makefile.am:
7521 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7522 test the new insensitive messsage functionality on HildonVolumebar.
7524 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7526 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7529 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7531 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7532 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7533 button on after clearing the trail.
7535 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7537 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7539 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7541 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7542 by splitting the installed headers in generated and non-generated groups. Use
7543 only the non-generated headers to create the hildon-enum-types.h file.
7545 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7547 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7549 * src/hildon-window.c: Hide the window before performing the destroy.
7550 Should make the app closing a little tiny bit more snappy.
7552 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7554 * src/hildon-seekbar.c: add gtkrange.h header
7555 * src/hildon-caption.c: remove unused variable
7557 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7559 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7562 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7568 * debian/changelog: Updating.
7570 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7572 * src/hildon-window.c (hildon_window_window_state_event,
7573 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7574 escape timeout on focus-out-event rather than notify::is-topmost; the
7575 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7577 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7579 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7580 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7582 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7584 * src/hildon-window: actually, you need to use the macro always, there's
7585 no private pointer in the instance structure. We should have cleaned this up
7586 when we had the chance...
7588 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7590 * src/hildon-window.c: do not get the private date from HildonWindow before
7591 it passes the g_return_if_fail check. Once it's passed the test, there's no
7592 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7593 if you are only going to access the data once. Whitespace cleanups.
7595 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7597 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7598 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7600 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7606 * debian/changelog: Updating.
7608 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7610 * src/hildon-window.c: When destroying the window, remove (if exists) the
7611 escape timeout handler. Fixes #NB59276.
7613 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7615 * src/hildon-banner.c: When realizing the widget, set the window
7616 transiency. Setting the transiency in the gobject constructor is not
7617 good, as the widget is not realized at that point. Fixes: #NB56624.
7619 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7621 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7622 Add padding for future expansions.
7624 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7626 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7627 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7628 will fake an activation on the previous to the last item of the trail, so
7629 the effect can be overrided by the developer as usual.
7630 Also change the callback for the back button to do the same thing, so its
7631 effect can be overrided too. Fixes: NB#58982
7633 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7635 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7636 HildonCaption. Fixes NB#52379.
7638 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7640 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7641 the internal state of the trail after the user has had the chance of executing
7642 his handler for the signal. Specifically, it may happen that the activated button
7643 is removed and the user still lets the default handler run. This would segfault
7646 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7648 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7649 scrollbar to the preview dialog. Fixes NB#54147.
7651 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7653 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7654 max/min year properties can be altered, so the client can modify it
7655 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7657 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7659 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7660 hildonlike by default. Fixing a problem with disappearing arrows when
7661 scrolling through months and years. Fixes NB#54127.
7663 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7665 * examples/hildon-date-editor-example.c: Adding error callback to the date
7668 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7674 * configure.ac: Updating.
7676 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7678 * configure.ac: Adding a special '--enable-xan' configure option that
7679 turns off the -Werror compilation setting. Usefull for development.
7681 * src/hildon-calendar.c:
7682 * src/hildon-number-editor.c:
7683 * src/hildon-time-picker.c: Adding the 5* multiplier to
7686 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7688 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7689 instead of g_object_ref + gtk_object_sink.
7691 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7697 * debian/changelog: Updating.
7699 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7701 * src/hildon-color-chooser-dialog.c:
7702 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7703 straight from Tommi labs.
7705 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7707 * examples/hildon-finger-example.c: Correcting the header file path.
7709 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7710 the changed signal. Fixes a small memory leak.
7712 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7716 * src/hildon-banner.c: Importing several usefull fixes from the
7717 ubuntu-mobile branch.
7719 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7721 * examples/Makefile.am:
7722 * examples/hildon-finger-example.c: Adding a finger-checking code
7725 * src/hildon-font-selection-dialog.c: Do not allocate the color
7726 structure using the g_new. Fixes NB#54061.
7728 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7730 * src/hildon-helper.c: Correcting tabs in file.
7732 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7734 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7735 control the visibility of the children.
7737 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7739 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7745 * debian/changelog: Updating.
7747 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7749 * src/hildon-bread-crumb-trail.c:
7750 (hildon_bread_crumb_trail_size_allocate):
7752 Make the back button always a square.
7754 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7756 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7757 from the .c file as it's a private file.
7759 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7761 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7762 uses slightly bigger height.
7764 * src/hildon-font-selection-dialog.c: Adding some checks before
7765 freeing memory in the font selection dialog.
7767 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7769 * src/hildon-font-selection-dialog.c: Adding a small check when
7772 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7773 buttons sensitivity on page switching.
7775 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7777 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7778 internal details of adding a bread crumb to the trail.
7780 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7786 * debian/changelog: Updating.
7788 * src/hildon-bread-crumb-trail.h:
7789 * src/hildon-bread-crumb.h: Changing the API guard to
7790 HILDON_ENABLE_UNSTABLE_API.
7792 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7800 * src/hildon-helper.h: Updating.
7802 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7810 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7814 * src/hildon-helper.h: Small fix to make the package actually compile.
7816 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7818 * src/hildon-bread-crumb-trail.h:
7819 * src/hildon-bread-crumb.h:
7821 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7822 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7824 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7826 * examples/hildon-bread-crumb-trail-example.c:
7828 * src/hildon-bread-crumb-trail.c:
7829 * src/hildon-bread-crumb-trail.h:
7830 * src/hildon-bread-crumb.c:
7831 * src/hildon-bread-crumb.h:
7832 * src/hildon-marshalers.list:
7833 * src/hildon-bread-crumb-widget.c:
7834 * src/hildon-bread-crumb-widget.h:
7836 Slight change in the widget design. The bread crumb trail API is
7837 unchanged, but HildonBreadCrumb is now an interface. A *private*
7838 implementation, hildon-bread-crumb-widget, is provided and used
7839 internally by the trail for the push_text/push_icon functions.
7841 The generic push API is still available, so anyone can implement
7842 and use its own bread crumb widget.
7844 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7846 * debian/rules: Fixing the shlibs.
7848 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7850 * src/hildon-banner.c: Fixing a problem with timed banners having
7851 their parrent destroyed before they are.
7853 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7855 * src/hildon-bread-crumb.c:
7856 * src/hildon-bread-crumb.h:
7858 Make the get_natural_size function a vfunc.
7860 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7862 * src/hildon-bread-crumb.c:
7863 * src/hildon-bread-crumb-trail.c:
7867 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7874 * debian/changelog: Updating for release.
7876 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7878 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7879 don't leak the pango layout.
7881 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7884 * examples/hildon-bread-crumb-trail-example.c:
7888 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7890 * debian/changelog: Removing the bug-fixed entries that were actually
7891 resolved as WONTFIX.
7893 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7896 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7898 * src/hildon-bread-crumb-trail.c:
7899 * src/hildon-bread-crumb-trail.h:
7900 * src/hildon-bread-crumb.c:
7901 * src/hildon-bread-crumb.h:
7905 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7907 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7908 until it's passed the type check.
7910 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7912 * examples/hildon-bread-crumb-trail-example.c
7916 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7918 * examples/Makefile.am
7919 * examples/hildon-bread-crumb-trail-example.c
7921 * src/hildon-bread-crumb-trail.c
7922 * src/hildon-bread-crumb-trail.h
7923 * src/hildon-bread-crumb.c
7924 * src/hildon-bread-crumb.h
7926 New HildonBreadCrumbTrail widget.
7928 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7930 * src/hildon-range-editor.c (hildon_range_editor_init),
7931 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7932 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7933 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7934 hildon_time_editor_class_init, hildon_time_editor_init),
7935 src/hildon-get-password-dialog.c (invalid_input,
7936 hildon_get_password_set_property, hildon_get_password_get_property,
7937 create_contents, hildon_get_password_dialog_set_max_characters),
7938 src/hildon-set-password-dialog.c (create_contents),
7939 src/hildon-date-editor.c (hildon_date_editor_init),
7940 src/hildon-login-dialog.c (hildon_login_dialog_init),
7941 src/hildon-number-editor.c (hildon_number_editor_init),
7942 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7943 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7944 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7945 configure option and adding the respective checks in the code.
7946 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7947 hildon_calendar_drag_data_received): fixed some build warnings.
7949 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7951 * debian/changelog: A 1.0.0 release notes.