1 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
3 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
6 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
8 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
9 (hildon_note_new_information_with_icon_name): Set the "icon" property
10 to preserve soundness.
12 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
14 * src/hildon-font-selection-dialog.c
15 (hildon_font_selection_dialog_set_property): Fail when the "family"
16 property is set to NULL.
18 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
20 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
23 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
25 * src/hildon-time-selector.h:
26 Added HildonTimeSelectorFormatPolicy
27 * src/hildon-time-selector.c:
28 Added PROP_TIME_FORMAT_POLICY
29 (_check_ampm_format): renamed to check_automatic_ampm_format
30 (update_format_policy), (update_format_dependant_columns): new functions
31 (hildon_time_selector_class_init)
32 (hildon_time_selector_contructor)
33 (hildon_time_selector_init)
34 (hildon_time_selector_get_property)
35 (hildon_time_selector_set_property)
36 (hildon_time_selector_get_time)
37 (hildon_time_selector_set_time)
38 * src/hildon-touch-selector.h: new file
39 * src/hildon-touch-selector.c
40 (hildon_touch_selector_emit_changed)
41 (hildon_touch_selector_block_changed)
42 (hildon_touch_selector_unblock_changed)
43 Added functions to allow to block the emission of the "changed" signal
44 * src/hildon-picker-dialog.c
45 (hildon_picker_dialog_show): call the parent show before the custom code
46 * examples/hildon-time-button-example.c
47 Modified, so now you can configure the time format using the new property
49 Added a new property "time-format-policy" that allow to choose the time
50 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
51 case it uses gconf in order to check if the time selector must use
54 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
57 2009-04-28 Alberto Garcia <agarcia@igalia.com>
59 * src/hildon-note.c (hildon_note_init):
60 Label in HildonNote must be left aligned, not centered. This
61 reverts the last commit in HildonNote.
63 Fixes: NB#112933 (text is not left aligned in confirmation dialog
64 is connectivity dialog)
66 2009-04-27 Alberto Garcia <agarcia@igalia.com>
71 * doc/hildon-sections.txt:
72 Added hildon_gtk_window_set_do_not_disturb()
74 2009-04-27 Alberto Garcia <agarcia@igalia.com>
76 * src/hildon-note.c (hildon_note_init): Center label.
78 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
81 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
86 * configure.ac: Bump version.
87 * debian/changelog: Updates.
89 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
91 * src/hildon-note-private.h: Add button-width to the private data.
92 * src/hildon-note.c (+resize_button),
93 (+hildon_note_orientation_update): methods to repack widgets on orientation
95 (screen_size_changed): Call above method for confirmation notes.
96 (hildon_note_realize): Always connect to the "screen-size" changed signal.
97 (hildon_note_rebuild): Store the original width request from buttons.
99 Fixes: NB#109635 (Confirmation notes do not support portrait)
101 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
103 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
104 when it is a progress note.
106 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
108 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
109 in the note, since there are no horizontally arranged contents.
111 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
113 * src/hildon-gtk.c (+set_flag): new generic method to
114 set/delay a flag setting in a window.
115 (hildon_gtk_window_set_progress_indicator):
116 (hildon_gtk_window_set_do_not_disturb),
117 (hildon_gtk_window_set_portrait_flags): use set_flag() to
118 avoid code redundance.
120 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
122 Based on a patch by Alberto Garcia (agarcia@igalia.com)
124 * src/hildon-gtk.c (set_clear_window_flag),
125 (do_set_progress_indicator), (do_set_do_not_disturb),
126 (do_set_portrait_flags),
127 (hildon_gtk_window_set_progress_indicator),
128 (hildon_gtk_window_set_do_not_disturb),
129 (hildon_gtk_window_set_portrait_flags):
130 Allow setting dnd-flag, progress indicator, and portrait flags
131 when the window is not realized.
133 2009-04-24 Alejandro G. Castro <alex@igalia.com>
135 * src/hildon-pannable-area.c,
136 * src/hildon-pannable-area.h: Add the hildon deprecated define to
137 the size request policy function and defines.
139 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
141 * doc/hildon-sections.txt: Add the new API.
142 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
143 method to set the portrait flags.
144 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
146 Fixes: NB#112328 (Adding helpers for setting portrait properties)
148 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
150 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
151 to allow using this method with other flags.
152 (hildon_gtk_window_set_progress_indicator): Update accordingly.
153 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
155 2009-04-22 Alberto Garcia <agarcia@igalia.com>
157 * src/hildon-touch-selector.c
158 (hildon_touch_selector_append_text_column):
159 Make the cell renderer use the smallest width possible.
161 Fixes: NB#108470 (Selected items in multiple selection are either
162 having a tick that is cut or not visible at all.)
164 2009-04-22 Alberto Garcia <agarcia@igalia.com>
166 * src/hildon-touch-selector.c
167 (hildon_touch_selector_append_text_column):
170 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
172 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
173 Use g_strdup_printf() instead of a fixed size buffer.
175 2009-04-21 Alberto Garcia <agarcia@igalia.com>
177 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
178 Close banners when a HildonAppMenu is popped up.
180 Fixes: NB#111027 (Title menu closed immediately if activated when
181 "Invalid e-mail address" banner is shown)
183 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
188 * configure.ac: Bump version.
189 * debian/changelog: Updates.
191 2009-04-20 Alberto Garcia <agarcia@igalia.com>
193 * src/hildon-banner.c (hildon_banner_realize):
194 Mark HildonBanner as supporting portrait mode.
195 Use GDK to set window properties insetad of direct Xlib calls.
197 Fixes: NB#111830 (HildonBanner should be marked as supporting
200 2009-04-20 Alberto Garcia <agarcia@igalia.com>
202 * src/hildon-note.c (hildon_note_rebuild):
203 Hide action area in information notes. Prevents text from being
204 slightly aligned to the left.
206 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
209 2009-04-20 Alberto Garcia <agarcia@igalia.com>
211 Patch by Mox Soini (ext-mox.soini@nokia.com)
213 * src/hildon-banner.c (hildon_banner_create_animation):
214 Use stylus-sized icons in animation banner.
216 Fixes: NB#111206 (stylus sized icon for animation banner)
218 2009-04-20 Alberto Garcia <agarcia@igalia.com>
222 (+hildon_gtk_window_set_do_not_disturb):
223 New API to set the do-not-disturb flag.
225 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
227 2009-04-20 Alberto Garcia <agarcia@igalia.com>
229 * examples/hildon-progress-indicator-example.c: Fix example
231 * src/hildon-gtk.c (set_clear_window_flag)
232 (hildon_gtk_window_set_progress_indicator):
233 Create a generic function for setting flags to a window.
234 Use GDK instead of direct Xlib calls.
236 2009-04-14 Alberto Garcia <agarcia@igalia.com>
238 * src/hildon-button.c (hildon_button_set_arrangement):
239 Due to NB#88126, if one of the labels is too long it will be
240 painted outside the button. The 'value' label is more likely to be
241 the longest one, so we change its packing options in order to
242 truncate it if necessary. As a side effect, the 'title' label will
243 no longer be truncated.
245 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
247 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
252 * configure.ac: Bump version.
253 * debian/changelog: Updates.
255 2009-04-13 Alejandro G. Castro <alex@igalia.com>
257 Deprecation of the hildon_pannable_area_set_size_request_policy
258 API, the only policy properly supported in gtk+ nowadays is the
261 * src/hildon-pannable-area.c,
262 (hildon_pannable_area_size_request): Added a workaround for the
263 size_request to avoid the problems of huge pixmaps in case someone
264 is still using the function.
265 * src/hildon-pannable-area.h: Deprecated the enum with the
268 Fixes: NB#110244 (Problems with the
269 hildon_pannable_area_set_size_request_policy API)
271 2009-04-08 Alejandro G. Castro <alex@igalia.com>
273 * src/hildon-pannable-area.c,
274 (hildon_pannable_area_init),
275 (hildon_pannable_area_size_request),
276 (hildon_pannable_area_style_set),
277 (hildon_pannable_draw_vscroll),
278 (hildon_pannable_draw_hscroll),
279 (hildon_pannable_area_check_scrollbars): Replaced area_width with
280 indicator_width to clarify the use of the attribute.
282 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
287 * configure.ac: Bump version.
288 * debian/changelog: Updates.
290 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
292 * src/hildon-picker-dialog.c
293 * src/hildon-touch-selector.c
294 Reverting the change that tried to avoid the hardcoded height on
295 the picker dialog, as causes problems on the hildon-touch-selector
298 Fixes: NB#110029 (selectors not scrolling to selected value)
300 2009-04-07 Alberto Garcia <agarcia@igalia.com>
302 * src/hildon-touch-selector.c: Fix typos
304 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
306 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
307 Use the event coordinates instead of gdk_window_get_pointer(). Also,
308 request more motions after using it.
310 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
312 * src/hildon-calendar.c (hildon_calendar_expose),
313 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
314 Remove unused variables.
316 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
318 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
321 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
323 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
324 Check the return value of gtk_tree_selection_get_selected()
327 2009-04-06 Alberto Garcia <agarcia@igalia.com>
329 * src/hildon-animation-actor.c
330 * src/hildon-button.c
332 * src/hildon-pannable-area.c
333 * src/hildon-picker-button.c
334 * src/hildon-program.c
335 * src/hildon-remote-texture.c
336 * src/hildon-text-view.c
337 * src/hildon-touch-selector.c
338 * src/hildon-window-stack.c
339 * src/hildon-window.c:
340 Add missing 'Since: 2.2' tags.
342 * doc/hildon-sections.txt:
343 Add some missing symbols.
345 * doc/hildon-docs.sgml:
346 New 'Other' section for HildonAnimationActor and
349 2009-04-06 Alberto Garcia <agarcia@igalia.com>
351 Patch by Iván Gómez (igomez@igalia.com)
355 * doc/hildon-docs.sgml
356 * doc/hildon-sections.txt
360 New chapters on using the Hildon library.
361 Updated the general structure of the reference manual.
362 Other minor documentation fixes.
364 * src/hildon-calendar-popup.c
365 * src/hildon-calendar.c
366 * src/hildon-controlbar.c
367 * src/hildon-date-editor.c
368 * src/hildon-dialog.c
369 * src/hildon-hvolumebar.c
370 * src/hildon-number-editor.c
371 * src/hildon-range-editor.c
372 * src/hildon-sort-dialog.c
373 * src/hildon-time-editor.c
374 * src/hildon-time-picker.c
375 * src/hildon-volumebar-range.c
376 * src/hildon-volumebar.c
377 * src/hildon-vvolumebar.c
378 * src/hildon-weekday-picker.c:
379 Add deprecation notes
381 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
382 Document 'horizontal-movement' and 'vertical-movement' signals.
384 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
389 * configure.ac: Bump version.
390 * debian/changelog: Updates.
392 2009-04-06 Alejandro G. Castro <alex@igalia.com>
394 * src/hildon-pannable-area.c,
395 (hildon_pannable_area_class_init): increased the minimum velocity.
396 (hildon_pannable_area_button_release_cb): Updated the
397 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
398 setup. Review the code to control that last event.
400 Fixes: NB#109790 (Releasing finger in pannable area easily causes
403 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
405 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
407 * src/hildon-get-password-dialog.c
408 (hildon_get_password_set_property),
409 (hildon_get_password_get_property), (create_contents):
410 * src/hildon-login-dialog-private.h:
411 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
412 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
413 (hildon_login_dialog_get_password):
414 * src/hildon-set-password-dialog-private.h:
415 * src/hildon-set-password-dialog.c
416 (hildon_set_password_set_property),
417 (hildon_set_password_get_property), (create_contents),
418 (hildon_set_password_response_change),
419 (hildon_set_password_response_set), (hildon_checkbox_toggled):
421 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
422 instead and look more Fremantle style.
424 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
426 2009-04-03 Alberto Garcia <agarcia@igalia.com>
428 * doc/hildon-sections.txt
429 * src/hildon-window-stack.h
430 * src/hildon-window-stack.c
431 (+hildon_window_stack_get_windows):
432 New API to obtain the list of windows on a stack.
434 2009-04-02 Alberto Garcia <agarcia@igalia.com>
436 * src/hildon-app-menu.c (hildon_app_menu_popup)
437 (hildon_app_menu_class_init, -hildon_app_menu_show):
438 Remove hildon_app_menu_show() and move all its checks to
439 hildon_app_menu_popup()
441 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
443 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
444 (_hildon_picker_dialog_set_selector): removed call to
445 gtk_widget_set_size_request
446 * src/hildon-touch-selector.c
447 (_create_new_column): change the pannable size request policy
449 Avoid to use a hardcoded height for the hildon picker dialog. In order
450 to get that, we needed to change the hildon pannable size request
452 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
454 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
456 * src/hildon-window.c (hildon_window_map): Check for vbox to be
457 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
460 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
462 * debian/control: Depend on osso-system-lock localization package.
463 * src/hildon-code-dialog.c: Obtain the secu_application_title
464 translation from osso-system-lock.
465 * src/hildon-get-password-dialog.c (create_contents): Do not mark
466 for translation the atk related strings, that's not necessary.
467 * src/hildon-set-password-dialog.c (create_contents): Ditto.
468 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
469 cancel button, it is not required.
471 2009-04-02 Alejandro G. Castro <alex@igalia.com>
473 * src/hildon-pannable-area.c,
474 (hildon_pannable_area_class_init): Modified the default value of
475 the overshooting max speed, we have reduced it.
477 2009-04-02 Alberto Garcia <agarcia@igalia.com>
479 * doc/hildon-sections.txt
480 * src/hildon-window-private.h
481 * src/hildon-window.h
482 * src/hildon-window.c (hildon_window_class_init)
483 (hildon_window_init, hildon_window_finalize)
484 (hildon_window_realize, hildon_window_get_property)
485 (hildon_window_set_property, hildon_window_update_markup)
486 (hildon_window_get_markup, hildon_window_set_markup):
487 New "markup" property and hildon_window_{get,set}_markup() methods.
489 * examples/hildon-stackable-window-example.c (new_window):
490 Update example to use hildon_window_set_markup()
492 Fixes: NB#106375 (Need API to retitle a window with a title
495 2009-04-01 Alejandro G. Castro <alex@igalia.com>
497 * src/hildon-pannable-area.c,
498 (hildon_pannable_area_class_init): Changed the default value of
499 the initial_hint to TRUE.
500 (hildon_pannable_area_initial_effect): Changed the initial effect,
501 not the effect is just the fade-out of the scrollbars.
503 Fixes: NB#107775 (No scrollbars can be seen when several items are
504 available in a dialog)
506 2009-04-01 Alberto Garcia <agarcia@igalia.com>
508 * src/hildon-program.c (hildon_program_update_top_most):
511 Fixes: NB#109179 (Memory leak in Hildon program)
513 2009-04-01 Alberto Garcia <agarcia@igalia.com>
515 * src/hildon-banner.c (-get_current_app_window):
516 Remove unused function.
518 2009-04-01 Alejandro G. Castro <alex@igalia.com>
520 * src/hildon-pannable-area.c: Modified the documentation of the
521 get adjustments functions to explain the problem of using the
523 (hildon_pannable_area_class_init): Improved the explanation about
526 2009-04-01 Alberto Garcia <agarcia@igalia.com>
528 * src/hildon-app-menu-private.h
529 * src/hildon-app-menu.c
530 (hildon_app_menu_class_init):
531 Bring back the 'external-border' style property
532 (hildon_app_menu_class_init, hildon_app_menu_init)
533 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
534 Set a fixed width-request for the menu, independent of the number
537 Fixes: NB#94957 (Smoothly opened application menu)
539 2009-03-30 Alberto Garcia <agarcia@igalia.com>
541 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
543 * src/hildon-banner.c
544 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
546 Make sure that the banner is correctly placed the first time it's
548 (hildon_banner_check_position, -check_fullscreen_state):
549 Show the banner in the same place no matter if the window is in
550 fullscreen mode or not.
552 Fixes: NB#107386 (Odd stacking behaviour for information banners)
554 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
556 * src/hildon-touch-selector.c (_default_print_func): reorder
557 concatenation for clarity.
559 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
561 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
562 for multicolumn selectors.
564 Fixes: NB#109099 (Memory leak in Hildon touch selector)
566 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
571 * configure.ac: Bump version.
572 * debian/changelog: Updates.
574 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
576 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
579 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
581 * configure.ac: removed libcangerra-gtk dependency
582 * debian/control: removed libcanberra-gtk dependency
583 * src/Makefile.am: removed libcanberra gtk related flags
584 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
585 context, and manage a global canberra context instead
587 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
589 2009-03-26 Alberto Garcia <agarcia@igalia.com>
591 Patch by Daniel Borgmann (danielb@openismus.com)
593 * src/hildon-edit-toolbar.c:
594 Adjust the left padding.
595 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
596 Paint background of the edit toolbar.
598 Fixes: NB#107897 (Patch to make editmodetoolbar background
599 themeable and adjust margin)
601 2009-03-25 Alberto Garcia <agarcia@igalia.com>
603 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
605 * src/hildon-program.c (hildon_program_update_top_most):
606 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
608 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
609 change when the user tasks in/out of an application)
611 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
613 * configure.ac: added libcangerra-gtk dependency
614 * debian/control: added libcanberra-gtk dependency
615 * src/Makefile.am: added libcanberra gtk related flags
616 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
619 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
621 2009-03-25 Alberto Garcia <agarcia@igalia.com>
623 * src/hildon-program.c (hildon_program_remove_window)
624 (hildon_program_add_window): Add checks for the window
625 parameter. Don't decrease the window counter if the window is not
628 2009-03-24 Alejandro G. Castro <alex@igalia.com>
630 * src/hildon-pannable-area.c,
631 (hildon_pannable_area_realize): Fixed position of the event_window
632 in the realize method.
634 2009-03-24 Alberto Garcia <agarcia@igalia.com>
636 * src/hildon-app-menu-private.h
637 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
638 (hildon_app_menu_map, hildon_app_menu_hide_idle)
639 (hildon_app_menu_key_press, hildon_app_menu_init)
640 (hildon_app_menu_finalize):
641 Make sure that all idle functions are removed when the widget is
644 Fixes: NB#107583 (Hildon app menu crashes in various applications)
646 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
651 * configure.ac: Bump version.
652 * debian/changelog: Updates.
654 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
657 (+hildon_entry_show_placeholder),
658 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
659 that replace hildon_entry_update_contents().
660 (hildon_entry_set_text),
661 (hildon_entry_set_placeholder),
662 (hildon_entry_focus_in_event),
663 (hildon_entry_focus_out_event): Determine when it is needed
664 either to show or hide the placeholder and call the above methods.
666 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
667 when the placeholder text is already set)
669 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
671 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
672 simple GdkPixbufAnim using the new icons for the banner.
673 (hildon_banner_show_animation): Use the above mentioned method to
674 create the animation widget.
676 Fixes: NB#103564 (Make hildon animation banner use individual
677 image files as the animation)
679 2009-03-24 Alejandro G. Castro <alex@igalia.com>
681 * src/hildon-pannable-area.c,
682 (hildon_pannable_leave_notify_event): Check if the child is NULL
683 to avoid sending the leave.
685 2009-03-24 Alejandro G. Castro <alex@igalia.com>
687 * src/hildon-pannable-area.c,
688 (hildon_pannable_area_class_init),
689 (hildon_pannable_leave_notify_event): Added a handler of the
690 leave-notify-signal to consider when no motion notify before
693 Fixes: NB#107494 (Items stay selected when clicking and moving
694 away when inside pannable area)
696 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
701 * configure.ac: Bump version.
702 * debian/changelog: Updates.
704 2009-03-19 Alejandro G. Castro <alex@igalia.com>
706 Patch by Alberto Garcia (agarcia@igalia.com)
708 * src/hildon-date-button.c,
709 (hildon_date_button_class_init),
710 (hildon_date_button_init): Removed the construct property handling
711 and created a default selector in the init method.
712 * src/hildon-picker-button.c,
713 (hildon_picker_button_class_init): Removed the construct flag of the
716 2009-03-18 Alberto Garcia <agarcia@igalia.com>
718 * src/hildon-main.c (hildon_init):
719 Don't allow hildon_init() to be called more than once.
721 Fixes: NB#106607 (hildon_init should issue error message upon
724 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
726 * examples/hildon-pannable-area-touch-list-example.c
727 * examples/hildon-pannagle-area-touch-grid-example.c
728 * examples/hildon-edit-toolbar-example.c
729 * examples/hildon-touch-selector-multi-cells-example.c
730 Removed the call to gtk_rc_parse_string, as it is not required since
733 2009-03-17 Alejandro G. Castro <alex@igalia.com>
735 * src/hildon-pannable-area.c,
736 (hildon_pannable_area_class_init): Modified the default panning
737 threshold of the widget to 6px.
739 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
740 than the threshold value ) within the button is not sending the
743 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
745 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
746 for the treeview in the new column. This way, the touch list will never
749 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
750 be selected manually for the HW keys to work)
752 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
754 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
755 comparison instead of using strcmp(). Fixes a compiler warning as well.
757 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
759 * doc/hildon-docs.sgml: Do not set the library version in the
760 document title, use the releaseinfo tag for that purpose instead.
762 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
764 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
765 Do not jump to the first item if the text in the entry is removed.
767 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
772 * configure.ac: Bump version.
773 * debian/changelog: Updates.
775 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
777 * src/hildon-entry.c (hildon_entry_refresh_contents):
778 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
779 Use "ReversedSecondaryTextColor" for the placeholder text.
781 2009-03-12 Alberto Garcia <agarcia@igalia.com>
783 * src/hildon-text-view.c: Fix compilation warning.
785 2009-03-12 Alberto Garcia <agarcia@igalia.com>
787 * src/hildon-button.c (hildon_button_class_init): Don't make
788 "title" and "value" construction properties, to prevent them from
789 overwriting labels set from derived classes.
791 * src/hildon-picker-button.c
792 (hildon_picker_button_set_selector): Allow setting a NULL selector.
793 (hildon_picker_button_class_init): Make touch-selector a
794 construction property.
796 * src/hildon-date-button.c (hildon_date_button_class_init)
797 (+hildon_date_button_constructed): Add a default date selector if
800 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
802 * src/hildon-touch-selector.c: Small documentation fixes.
804 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
806 Based on a patch by Daniel Borgmann (danielb@openismus.com)
808 * src/hildon-entry.c (hildon_entry_refresh_contents),
809 (hildon_entry_get_text), (hildon_entry_init): Do not use the
810 widget name, set the logical color directly instead and a boolean
811 showing_placeholder instead.
812 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
813 use the widget name here either.
815 Fixes: NB#105678 (HildonTextView should use logical colours
816 instead of setting widget name)
818 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
820 Patch by Daniel Elster (danielk@openismus.com)
822 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
823 Add user_data parameter.
824 (hildon_touch_selector_set_print_func_full): New function akin
825 hildon_touch_selector_set_print_func() but with support for user
826 data and a destroy callback.
827 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
828 to clean up the print function user data.
829 (hildon_touch_selector_class_init): Install dispose function.
830 (HildonTouchSelectorPrivate::print_user_data),
831 (HildonTouchSelectorPrivate::print_destroy_func): New private
833 (hildon_touch_selector_init): Initialize new private members.
834 (hildon_touch_selector_get_current_text): Pass along user data
835 to the print function.
836 (_default_print_func): Add dummy user_data to parameter list.
837 * hildon-date-selector.c (_custom_print_func): ditto,
838 * hildon-time-selector.c (_custom_print_func): ditto,
839 * hildon-touch-selector-entry.c
840 (hildon_touch_selector_entry_print_func): ditto.
842 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
844 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
846 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
848 2009-03-12 Alejandro G. Castro <alex@igalia.com>
850 * src/hildon-pannable-area.c,
851 (hildon_pannable_area_init),
852 (hildon_pannable_area_button_press_cb),
853 (hildon_pannable_area_motion_notify_cb): We have added code to
854 handle the leave and enter events when using the motion events.
856 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
858 2009-03-11 Alberto Garcia <agarcia@igalia.com>
860 * src/hildon-date-button.c (hildon_date_button_get_date)
861 (hildon_date_button_set_date): Make sure that the button has a
864 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
866 2009-03-11 Alejandro G. Castro <alex@igalia.com>
868 * src/hildon-pannable-area.c,
869 (hildon_pannable_area_class_init),
870 (hildon_pannable_area_calculate_velocity): Modify the use of the
871 force and adapt the value.
873 2009-03-10 Alberto Garcia <agarcia@igalia.com>
875 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
876 (hildon_app_menu_class_init): Hide the menu if it receives a
877 delete-event, but don't destroy it
879 Fixes: NB#104485 (Not able to address the call when application
880 menu is opened at background)
882 2009-03-10 Alberto Garcia <agarcia@igalia.com>
884 * src/hildon-app-menu.c
885 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
886 Remove the "external-border" style property, let the menu take its
887 natural size (or the one set by the window manager)
888 (hildon_app_menu_repack_items):
889 Don't reshow the menu, avoid flickers.
891 Partially fixes NB#94957 (Smoothly opened application menu)
893 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
898 * configure.ac: Bump version.
899 * debian/changelog: Updates.
901 2009-03-10 Alejandro G. Castro <alex@igalia.com>
903 * src/hildon-pannable-area.c,
904 (hildon_pannable_area_motion_notify_cb): We control that the
905 direction error margin is used just in case the movement is
906 allowed in the other direction.
908 Fixes: NB#105012 (buttons inside a pannable area not getting
909 release event when dragging/releasing)
911 2009-03-10 Alejandro G. Castro <alex@igalia.com>
913 * src/hildon-pannable-area.c,
914 (hildon_pannable_area_class_init),
915 (hildon_pannable_area_get_property),
916 (hildon_pannable_area_set_property),
917 (hildon_pannable_area_initial_effect),
918 (hildon_pannable_axis_scroll),
919 (hildon_pannable_area_button_release_cb): Reviewed the
920 overshooting effect, now it has its own max
921 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
924 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
929 * configure.ac: Bump version.
930 * debian/changelog: Updates.
932 2009-03-09 Alejandro G. Castro <alex@igalia.com>
934 * src/hildon-pannable-area.c,
935 (hildon_pannable_area_class_init): Changed the max speed, now
936 users can launch the widget very fast. Reduced the default force,
937 that way it is easier to control the launch speed.
939 2009-03-09 Alejandro G. Castro <alex@igalia.com>
941 * src/hildon-pannable-area.c,
942 (hildon_pannable_area_button_release_cb): Removed this check
943 because it causes problems when the device is overloaded.
945 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
947 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
948 add a current_text field to store the text entered in the
949 touch selector entry.
950 (_clean_current_selection): clean up the current text as well.
951 (_save_current_selection), (_restore_current_selection):
952 Save/restore the text in the entry if the selector is a
953 HildonTouchSelectorEntry.
955 Fixes: NB#102541 (value entered in the touch selector entry is not
956 shown when opened for second time)
958 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
960 * doc/hildon-sections.txt:
961 * src/hildon-touch-selector-entry.c
962 (+hildon_touch_selector_entry_get_entry):
963 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
965 Fixes: NB#104815 (I need accessor to the entry inside
966 HildonTouchSelectorEntry)
968 2009-03-06 Alberto Garcia <agarcia@igalia.com>
970 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
971 (hildon_app_menu_class_init):
972 New "filter-vertical-spacing" style property.
974 2009-03-06 Alberto Garcia <agarcia@igalia.com>
976 * src/hildon-find-toolbar.c
977 (hildon_find_toolbar_emit_close)
978 (hildon_find_toolbar_emit_invalid_input)
979 (hildon_find_toolbar_entry_activate):
980 Use g_signal_emit() instead of g_signal_emit_by_name()
982 2009-03-06 Alberto Garcia <agarcia@igalia.com>
984 Patch by Mox Soini (ext-mox.soini@nokia.com)
986 * tests/TEST-CASES.txt
987 * tests/check-hildon-banner.c
988 * tests/check-hildon-note.c
989 * src/hildon-banner.c
990 * src/hildon-code-dialog.c
991 * src/hildon-date-editor.c (real_set_calendar_icon_state)
992 * src/hildon-time-editor.c
993 * examples/hildon-lookup-example.c (main):
994 Replace obsolete icon names with new ones.
996 * src/hildon-find-toolbar-private.h:
997 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
998 (-hildon_find_toolbar_emit_search):
999 Remove find button and change icon of close button.
1001 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1003 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1005 * src/hildon-time-button.c (hildon_time_button_new_step):
1006 Use the "touch-selector" property to set the selector directly
1007 when creating the object.
1009 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1011 Added a new example application that allows tuning the pannable
1012 area and replaced defines with properties in order to simplify the
1013 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1014 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1015 PROP_DIRECTION_ERROR_MARGIN.
1017 * examples/hildon-pannable-area-tuning-example.c: New example
1019 * src/hildon-pannable-area.c,
1020 (hildon_pannable_area_class_init),
1021 (hildon_pannable_area_init),
1022 (hildon_pannable_area_get_property),
1023 (hildon_pannable_area_set_property),
1024 (hildon_pannable_area_launch_fade_timeout),
1025 (hildon_pannable_area_adjust_value_changed),
1026 (hildon_pannable_axis_scroll),
1027 (hildon_pannable_area_motion_notify_cb),
1028 (hildon_pannable_area_scroll_cb),
1029 (hildon_pannable_area_button_release_cb): We have converted some
1030 of the defines that control the widget to properties to simplify
1033 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1035 * src/hildon-app-menu.c (hildon_app_menu_map)
1036 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1037 so it's closed if a new window appears.
1039 Fixes: NB#104485 (Not able to address the call when application
1040 menu is opened at background)
1042 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1044 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1045 missing 'break' statement in in 'case' construct to avoid
1048 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1050 * src/hildon-touch-selector-entry.c
1051 (hildon_touch_selector_entry_get_property),
1052 (hildon_touch_selector_entry_set_property): Add missing 'break'
1053 statements in in 'case' constructs to avoid incorrect warnings.
1055 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1057 * src/hildon-time-editor.c
1058 (hildon_time_editor_get_time_separators): Do not crash if
1059 the first label is NULL.
1061 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1063 * src/hildon-date-selector.c (_month_days): Check for month to be
1064 strictly less than 12, since otherwise we may overrun the array.
1066 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1068 * src/hildon-date-button.c (+hildon_date_button_new_full)
1069 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1070 (hildon_date_button_init): Set the date selector using a
1071 construction property, to make it happen after HildonButton's
1072 "value" property is set.
1074 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1075 current date by default)
1077 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1079 * doc/hildon-sections.txt
1080 * src/hildon-program.c
1081 * src/hildon-stackable-window.c
1082 * src/hildon-window.c:
1083 Documentation updates
1085 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1087 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1088 (hildon_window_stack_new, +hildon_window_stack_set_property)
1089 (+hildon_window_stack_get_property)
1090 (hildon_window_stack_class_init)
1091 (+hildon_window_stack_set_window_group)
1092 (+hildon_window_stack_get_window_group):
1093 Make the window group a construction property.
1095 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1097 * doc/hildon-sections.txt
1098 * src/hildon-stackable-window-private.h
1099 * src/hildon-stackable-window.h
1100 * src/hildon-stackable-window.c
1101 (-hildon_stackable_window_set_app_menu)
1102 (-hildon_stackable_window_get_app_menu)
1103 (-hildon_stackable_window_toggle_menu)
1104 (-hildon_stackable_window_finalize)
1105 (hildon_stackable_window_class_init)
1106 (hildon_stackable_window_init)
1107 * src/hildon-window-private.h
1108 * src/hildon-window.h
1109 * src/hildon-window.c (hildon_window_init)
1110 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1111 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1112 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1113 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1114 Moved all HildonAppMenu code to HildonWindow. The menu does not
1115 require a HildonStackableWindow anymore.
1117 * src/hildon-app-menu.c
1118 * src/hildon-program.c
1119 * examples/hildon-app-menu-example.c (main):
1120 Update examples and documentation to reflect HildonAppMenu
1123 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1125 * src/hildon-remote-texture.c
1126 * src/hildon-animation-actor.c:
1127 Don't include unused private headers.
1129 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1131 * src/hildon-program-private.h
1132 * src/hildon-program.c
1133 (hildon_program_set_common_menu)
1134 (hildon_program_get_common_menu)
1135 (hildon_program_set_common_app_menu)
1136 (hildon_program_get_common_app_menu):
1137 Change common menu pointers from GtkWidget* to GtkMenu* and
1138 HildonAppMenu* to avoid unnecessary casts.
1140 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1142 * src/hildon-window.c (hildon_window_set_main_menu):
1143 Removed incorrect 'Since:' tag
1145 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1147 * src/hildon-pannable-area.c,
1148 (hildon_pannable_area_calculate_velocity): We use now the
1149 RATIO_TOLERANCE here to check the distance, fixed typo in the
1151 (hildon_pannable_area_motion_notify_cb): We have to set the type
1152 and time even if we are not sending the motion.
1154 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1156 * doc/hildon-sections.txt
1157 * src/hildon-app-menu.h
1158 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1159 (+hildon_app_menu_get_filters): New methods to get the contents of
1162 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1165 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1167 * src/hildon-app-menu.c (hildon_app_menu_popup):
1170 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1172 * src/hildon-window.h
1173 * src/hildon-window.c (+hildon_window_get_main_menu)
1174 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1175 and deprecated hildon_window_get_menu().
1177 * src/hildon-stackable-window.h
1178 * src/hildon-stackable-window.c
1179 (+hildon_stackable_window_set_app_menu)
1180 (+hildon_stackable_window_get_app_menu)
1181 (hildon_stackable_window_set_main_menu): Created
1182 hildon_stackable_window_{get,set}_app_menu() and deprecated
1183 hildon_stackable_window_set_main_menu().
1185 * doc/hildon-sections.txt
1186 * examples/hildon-app-menu-example.c (main)
1187 * src/hildon-app-menu.c
1188 * src/hildon-program.c:
1189 Updated examples and documentation.
1191 Fixes: NB#103758 (No way to obtain a menu from a
1192 HildonStackableWindow)
1194 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1199 * configure.ac: Bump version.
1200 * debian/changelog: Updates.
1202 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1204 * examples/hildon-remote-texture-example.c: Include
1205 hildon-remote-texture.h explicitely.
1206 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1207 applications not defining _XOPEN_SOURCE which don't require this header.
1209 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1211 * doc/hildon-sections.txt
1212 * src/hildon-app-menu.h
1213 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1214 New function to pop up a HildonAppMenu
1216 * src/hildon-stackable-window.c
1217 (hildon_stackable_window_toggle_menu):
1218 Use hildon_app_menu_popup() to show the menu.
1220 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1222 * src/hildon-app-menu.c (hildon_app_menu_show)
1223 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1224 menu if there's another window between it and its parent window.
1226 Fixes: NB#100468 (Application menu window is launched even when a
1227 new secondary-window/dialog is pending to be shown/realized)
1229 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1231 * src/hildon-window-stack.c (hildon_window_stack_push)
1232 (hildon_window_stack_pop_and_push):
1233 Don't forget to push/pop the first window.
1234 Reverse the window list before calling _push_list()
1236 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1238 * src/hildon-picker-button.h
1239 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1240 Remove "value_changed" slot to avoid ABI breakage
1242 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1244 * src/hildon-pannable-area.c,
1245 (hildon_pannable_area_realize),
1246 (hildon_pannable_area_unrealize),
1247 (hildon_pannable_draw_vscroll),
1248 (hildon_pannable_draw_hscroll): Changed the method to handle the
1249 GC used to draw the transparent scrollbar, this way we avoid
1250 creating the GC all the time when drawing the scrollbars.
1252 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1254 * src/hildon-pannable-area.c,
1255 (hildon_pannable_area_init),
1256 (hildon_pannable_area_remove): Removed some unnecessary casts.
1257 (hildon_pannable_area_dispose): Disconnected some signals before
1258 releasing the adjustments.
1260 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1262 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1263 Make sure that all widgets contained in the toolbar are shown.
1265 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1267 * doc/hildon-sections.txt
1268 * src/hildon-picker-button.h
1269 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1270 (_selection_changed, hildon_picker_button_on_dialog_response)
1271 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1272 New hildon_picker_button_value_changed() method.
1275 * src/hildon-picker-button-private.h
1276 * src/hildon-picker-button.c (hildon_picker_button_init)
1277 (+hildon_picker_button_disable_value_changed): Add protected
1278 function for disabling the "value-changed" signal.
1280 * src/hildon-date-button.c (hildon_date_button_set_date):
1281 Don't emit "value-changed" for each one of the three columns.
1283 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1284 before actual change of values)
1286 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1288 * src/hildon-pannable-area.c,
1289 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1290 for the treeview overshooting.
1292 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1294 * src/hildon-banner.c (+hildon_banner_bind_style):
1295 Renamed from hildon_banner_bind_label_style(), now naming the
1296 banner itself as well.
1297 (hildon_banner_show_information),
1298 (hildon_banner_show_information_with_markup),
1299 (hildon_banner_show_animation), (hildon_banner_show_progress):
1300 Name the widgets and labels, based on their type.
1302 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1305 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1307 * src/hildon-note.c (hildon_note_set_property): call
1308 hildon_note_rename() on HildonNote:note-type set.
1309 (hildon_note_rename): Name the note and its label, based on the
1310 HildonNote:note-type property.
1312 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1315 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1317 * src/hildon-pannable-area.c,
1318 (hildon_pannable_area_class_init),
1319 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1320 panning parameters, increased SPS and deceleration factor. Added
1321 also a margin to control fake directions.
1323 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1325 Patch by Sven Herzberg (sven@imendio.com)
1327 * configure.ac: Add missing AM_PROG_CC_C_0
1328 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1330 See NB#101420 (Update unit tests and fix make check)
1332 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1334 This patch was applied before but reverted because it caused
1335 problems, we have changed the main condition and tested the
1336 regressions we detected before and they work ok. We have done a
1337 complete review of the topmost algorithm in order to get a more
1340 * src/hildon-pannable-area.c,
1341 (hildon_pannable_area_get_topmost): Added a new parameter to
1342 filter the the windows that do not include those events.
1343 (hildon_pannable_area_button_press_cb),
1344 (hildon_pannable_area_button_release_cb),
1345 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1346 topmost function, we have added the new parameter.
1348 Fixes: NB#97458 (Pannable area prevents propagation of button
1351 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1353 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1354 if all columns in the selector have an item selected.
1355 (_on_dialog_response): Stop "response" signal emission if there is
1356 any selector column without selected items.
1358 Fixes: NB#101889 (Picker dialog should not close when nothing is
1359 selected in multiple selection list)
1361 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1363 * src/hildon-font-selection-dialog.c
1364 (hildon_font_selection_dialog_class_init),
1365 (hildon_font_selection_dialog_init): Remove the preview
1366 button and dialog, since previewing with default theming is likely
1367 to be overcomplicated. The :preview property has now no effect.
1368 Update documentation blurbs to inform about this.
1370 Fixes: NB#92297 (Preview content is not clearly visible for
1371 default colour text)
1373 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1375 Reviewed the geometry that handles the children size and
1376 scrollbar, now it tries a size and reviews the results depending
1377 on the scrollbars visibility.
1379 * src/hildon-pannable-area.c,
1380 (hildon_pannable_area_realize): Fixed a typo.
1381 (hildon_pannable_area_child_allocate_calculate): Added this
1382 function to calculate the child allocation.
1383 (hildon_pannable_area_size_allocate): Reviewed the allocation
1385 (hildon_pannable_area_check_scrollbars),
1386 (hildon_pannable_area_refresh): Refactored refresh function, this
1387 way we can call the code handling the scrollbars without causing a
1388 size_request, it is interesting in the allocate.
1389 (hildon_pannable_area_init): Replace the callbacks of the
1390 value_changed and changed signals to propertly deal with the
1392 (hildon_pannable_area_grab_notify),
1393 (hildon_pannable_area_initial_effect),
1394 (hildon_pannable_area_launch_fade_timeout),
1395 (hildon_pannable_area_adjust_changed),
1396 (hildon_pannable_area_adjust_value_changed),
1397 (hildon_pannable_area_redraw),
1398 (hildon_pannable_area_button_press_cb),
1399 (hildon_pannable_area_button_release_cb),
1400 (hildon_pannable_area_scroll_cb),
1401 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1402 code and use the new functions adjust_changed and
1403 adjust_value_changed.
1405 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1406 Contact editor dialog)
1408 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1413 * configure.ac: Bump version.
1414 * debian/changelog: Updates.
1416 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1418 * src/hildon-pannable-area.c,
1419 (hildon_pannable_area_get_topmost),
1420 (hildon_pannable_area_button_press_cb),
1421 (hildon_pannable_area_button_release_cb),
1422 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1423 topmost function adding the event mask. We have to try a
1424 differente approach because it is still causing problems (NB#9745,
1427 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1429 * src/hildon-banner.c:
1430 Update the maximum width of timed banners.
1431 (force_to_wrap_truncated): Enforce the maximum text width if the
1434 Fixes: NB#102413 (The text margins (wrapping) in information
1435 banner should be HILDON_MARGIN_TRIPLE)
1437 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1439 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1441 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1442 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1443 bound when calculating the scroll indicator position.
1445 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1446 treat ->lower correctly)
1448 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1450 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1451 expose event handling, since it is not necessary to draw the focus
1454 Fixes: NB#102467 (Do not show highlight on the text in
1457 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1459 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1460 full height of the toolbar for the button and the label.
1462 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1464 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1465 padding before the label and after the button.
1467 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1469 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1471 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1472 Add a GtkVSeparator between the button and the back arrow.
1473 Let the button have automatic size.
1474 Set a name to the widget for theming handling.
1476 Fixes: NB#101793 (Make edit toolbar the same height as window
1477 title bar (use title area theming))
1479 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1481 * src/hildon-helper.c (attach_new_color_element): Fix memory
1484 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1486 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1488 * examples/hildon-button-example.c (common_buttons_window): Don't
1491 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1493 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1494 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1496 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1498 * src/hildon-gtk.c: Check that the window is realized.
1500 Fixes: NB#102225 (Crash setting the progress indicator to a non
1503 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1505 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1506 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1507 instead of modifying the one in the widget style.
1509 Fixes: NB#101043 (Second row of all the command button are
1510 displayed in transparent mode.)
1512 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1514 * src/hildon-date-button.c
1515 * src/hildon-time-button.c: Add gettext macros
1517 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1519 * src/hildon-date-button.c (hildon_date_button_new):
1520 * src/hildon-time-button.c (hildon_time_button_new_step):
1521 Use new logical strings to set the button default title.
1523 Fixes: NB#99915 (Date and Time options are not localised in Date
1526 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1528 * src/hildon-pannable-area.c
1529 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1530 the PANNING_THRESHOLD.
1532 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1534 * src/hildon-pannable-area.c,
1535 (hildon_pannable_area_class_init): Increased the maximum speed.
1536 (hildon_pannable_area_get_property),
1537 (hildon_pannable_area_set_property),
1538 (hildon_pannable_area_timeout): Added a new low friction mode, it
1539 allows the user avoid friction when launching the widget fast
1540 enough. It is interesting to traverse long lists.
1542 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1544 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1545 (+hildon_stackable_window_delete_event): Ignore delete events if
1546 the window is not the topmost one.
1548 Fixes: NB#101698 (Back button long press and delete-event handling)
1550 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1552 * src/hildon-pannable-area.c,
1553 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1554 gtk-dnd-drag-threshold, it was too big. We have defined our own
1555 dnd define and set a smaller value: PANNIG_THRESHOLD.
1557 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1559 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1560 user-defined icons, use always the default one.
1562 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1564 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1566 This patch was applied before but reverted because it caused
1567 problems, we have changed the main condition and tested the
1568 regressions we detected before and they work ok.
1570 * src/hildon-pannable-area.c,
1571 (hildon_pannable_area_get_topmost): Added a new parameter to
1572 filter the the windows that do not include those events. Added
1573 also a condition when finding the window to filter windows that do
1574 not ask for those events.
1575 (hildon_pannable_area_button_press_cb),
1576 (hildon_pannable_area_button_release_cb),
1577 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1578 topmost function, we have added the new parameter.
1580 Fixes: NB#97458 (Pannable area prevents propagation of button
1583 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1585 * tests/check-hildon-color-button.c (START_TEST): do not leak
1588 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1590 * src/hildon-font-selection-dialog.c
1591 (hildon_font_selection_dialog_get_preview_text): Return NULL
1592 instead of FALSE on the g_return_val_if_fail().
1594 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1596 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1597 * src/hildon-date-selector.c
1598 (hildon_date_selector_select_current_date):
1599 Do not compare unsigned integers to be greater than or equal 0,
1600 because it's always TRUE.
1602 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1604 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1605 (hildon_date_selector_constructor): Do not select the current
1606 date until we are handle the "changed" signal, to avoid having bogus
1607 elements in the days model.
1609 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1611 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1612 for num_days, since _month_days() can return a negative value.
1614 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1616 * src/hildon-caption.c (hildon_caption_size_allocate):
1617 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1618 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1620 Initialize allocation variables to 0, to avoid eventually using
1621 unitialized variables.
1623 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1625 * src/hildon-bread-crumb-trail.c
1626 (hildon_bread_crumb_trail_size_allocate):
1627 * src/hildon-calendar.c (hildon_calendar_set_background):
1628 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1629 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1630 * src/hildon-seekbar.c (hildon_seekbar_init):
1631 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1632 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1633 * src/hildon-touch-selector-entry.c
1634 (hildon_touch_selector_get_text_from_model):
1635 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1636 * src/hildon-window.c (hildon_window_finalize):
1638 Remove many unused variables.
1640 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1642 * src/hildon-seekbar.c: (hildon_seekbar_init),
1643 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1645 Remove unnecessary g_assert() calls.
1647 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1649 * src/hildon-caption.c: (hildon_caption_expose),
1650 (hildon_caption_set_property), (hildon_caption_init),
1651 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1652 (hildon_caption_size_request), (hildon_caption_size_allocate),
1653 (hildon_caption_forall), (hildon_caption_set_separator),
1654 (hildon_caption_activate), (hildon_caption_set_child_expand),
1655 (hildon_caption_set_label_text),
1656 (hildon_caption_get_label_alignment):
1658 Remove unnecessary g_assert() calls.
1660 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1662 * src/hildon-banner.c
1663 (hildon_banner_map, hildon_banner_init): Make banner temporary
1664 before mapping it to avoid closing other temporary windows, but
1665 make it non-temporary afterwards to avoid being closed by other
1666 non-temporary windows.
1667 (-hildon_banner_client_event, hildon_banner_init):
1668 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1670 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1673 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1675 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1678 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1680 * src/hildon-remote-texture.c
1681 * src/hildon-remote-texture.h
1682 * src/hildon-remote-texture-private.h
1683 * examples/hildon-remote-texture-example.c:
1684 Updates/fixes to remote-texture and its example.
1686 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1688 Patch by Mox Soini (ext-mox.soini@nokia.com)
1690 * src/hildon-code-dialog.c: Update logical id.
1691 * src/hildon-set-password-dialog.c: Update logical id.
1693 Fixes: NB#100646 (Logical strings is shown for ok in set
1694 password,Password needed dialogs)
1696 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1699 * src/hildon-remote-texture.c
1700 * src/hildon-remote-texture.h
1701 * src/hildon-remote-texture-private.h
1703 Added remote texture widget (for Clutter shared memory textures)
1705 * examples/hildon-remote-texture-example.c
1706 * examples/Makefile.am
1707 Added example file for remote texture usage
1709 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1711 * configure.ac: post release version bump.
1712 * debian/changelog: version bump.
1714 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1719 * configure.ac: Bump version.
1720 * debian/changelog: Updates.
1722 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1724 * src/hildon-date-selector.c (hildon_date_selector_init)
1725 (hildon_date_selector_constructor): Don't connect to the "changed"
1726 signal until the selector is completely constructed.
1728 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1730 * src/hildon-touch-selector.c: (_create_new_column),
1731 (hildon_touch_selector_append_column),
1732 (hildon_touch_selector_set_column_selection_mode),
1733 (hildon_touch_selector_set_active),
1734 (hildon_touch_selector_select_iter):
1735 Emit the HildonTouchSelector::changed signal every time selection
1736 is changed in any of the methods above. This behavior was already
1737 documented but not fully functional.
1739 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1740 selection is programmatically changed)
1742 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1744 * doc/hildon-sections.txt: Remove obsolete icon
1745 sizes from here as well.
1747 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1749 * examples/hildon-stackable-window-example.c (add_window): Remove
1752 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1754 * src/hildon-app-menu.c
1755 (hildon_app_menu_show): Check whether the parent window of a menu
1756 is topmost before popping it up.
1758 Fixes: NB#100468 (Application menu window is launched even when a
1759 new secondary-window/dialog is pending to be shown/realized.)
1761 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1763 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1766 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1768 Patch by Mox Soini (ext-mox.soini@nokia.com)
1770 * src/hildon-banner.c: (hildon_banner_show_animation):
1771 use stylus size instead of obsolete note size.
1772 * src/hildon-defines.h: Update icon sizes.
1774 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1776 * src/hildon-touch-selector-entry.c:
1777 (hildon_touch_selector_entry_init): Disable unsupported
1779 (hildon_touch_selector_entry_get_text_column): Emit a warning
1780 if an unsupported input modes is used and explicitile state
1781 these modes in the documentation.
1783 Fixes: NB#99802 (Hildon touch selector entry not working properly
1784 for some of the input modes)
1786 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1788 * src/hildon-pannable-area.c,
1789 (hildon_pannable_area_init): Added the changed signal handlers of
1792 Fixes: NB#100320 (HildonPannableArea does not listen to
1793 GtkAdjustment "change" signals)
1795 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1797 * doc/hildon-sections.txt
1798 * src/hildon-window-private.h
1799 * src/hildon-window.h
1800 * src/hildon-window.c (hildon_window_init)
1801 (hildon_window_realize, hildon_window_unrealize)
1802 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1803 (hildon_window_size_request, hildon_window_size_allocate)
1804 (hildon_window_forall, hildon_window_show_all)
1805 (hildon_window_destroy, +paint_edit_toolbar)
1806 (+hildon_window_set_edit_toolbar):
1807 New hildon_window_set_edit_toolbar() method, to add a
1808 HildonEditToolbar to a window without having to pack it manually.
1810 Reorganize hildon_window_size_allocate()
1812 * src/hildon-edit-toolbar.c: Update documentation.
1814 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1815 example to use the new API.
1817 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1819 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1821 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1822 Remove from stack before calling parent's hide.
1824 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1826 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1827 window is removed from the middle of the stack, update the
1828 transiency of the previous one.
1830 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1833 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1835 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1836 block/unblock the signal handler if it's not actually being used.
1837 Fixes some critical warnings.
1839 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1841 Based on a patch by Iván Gómez (igomez@igalia.com)
1843 * src/hildon-banner.c
1847 * src/hildon-pannable-area.c
1848 * src/hildon-picker-dialog.c
1849 * src/hildon-wizard-dialog.h
1850 * src/hildon-wizard-dialog.c: Documentation updates.
1852 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1853 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1855 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1857 * configure.ac: post release version bump.
1858 * debian/changelog: version bump.
1860 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1865 * configure.ac: Bump version.
1866 * debian/changelog: Updates.
1868 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1870 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1871 a stock icon nor change the relief of the back arrow.
1873 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1874 graphics from theme)
1876 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1878 * src/hildon-button.c (hildon_button_set_alignment): Use
1879 priv->alignment if the button has no child yet.
1881 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1883 * src/hildon-button.c: (hildon_button_init): Set the
1884 button style during initialization to give it the proper
1887 Fixes: NB#99713 (HildonButton value label color is wrong)
1889 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1891 * src/hildon-touch-selector.c: Document
1892 hildon_touch_selector_center_on_selected()
1894 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1896 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1897 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1898 all menu items, but not the menu itself.
1899 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1900 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1901 items after adding them to the menu so keyboard accelerators work.
1902 (hildon_app_menu_show): Don't show the menu if it contains items
1903 but none of them are visible.
1905 * examples/hildon-app-menu-example.c (create_menu): Use
1906 gtk_widget_show_all() to show all menu items.
1908 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1910 * src/hildon-picker-dialog.c:
1911 (-_update_title_on_selector_changed_cb),
1912 (-_dialog_update_title): Removed.
1913 (_select_on_selector_changed_cb), (_on_dialog_response),
1914 (on_selector_columns_changed): Do not update the dialog title.
1915 (setup_interaction_mode): Do not connect to
1916 HildonTouchSelector::changed signal if there's a "done" button, as
1917 the dialog title doesn't need to be updated.
1919 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1922 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1924 Patch by Kristian Rietveld (kris@imendio.com)
1926 * src/hildon-touch-selector.c: (_create_new_column): Use new
1927 GtkTreeView::hildon-row-tapped signal to react to user interactions
1928 instead of ::changed.
1930 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1931 with some dynamic tree model)
1933 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1935 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1936 (+screen_size_changed, +label_size_request)
1937 (hildon_note_class_init): Make the Hildon information note have a
1938 minimum height, and make its text hvae a maximum width.
1940 Fixes: NB#98614 (Hildon information note (background) should have
1941 minimum height and maximum text width)
1943 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1945 * src/hildon-banner.h
1946 * src/hildon-banner.c (hildon_banner_show_information)
1947 (hildon_banner_show_informationf)
1948 (hildon_banner_show_information_with_markup): Update documentation
1949 to reflect that the icon_name parameter is not used anymore.
1950 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1951 Remove all code from these functions and mark them as deprecated.
1952 (hildon_banner_show_progress): Mark as deprecated.
1954 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1956 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1958 * src/hildon-pannable-area.c,
1959 (hildon_pannable_area_class_init),
1960 (tranparency_color),
1961 (hildon_pannable_draw_vscroll),
1962 (hildon_pannable_draw_hscroll),
1963 (hildon_pannable_area_expose_event): Added a new way to render the
1964 scrollbars of the pannable area avoiding using cairo at all. This
1965 way we improve the performance of the pannable area rendering. The
1966 cairo rendering procedure is still in the code, we can control
1967 which one to use changing the value of the define
1968 USE_CAIRO_SCROLLBARS.
1970 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1972 * configure.ac: post release version bump.
1973 * debian/changelog: version bump.
1975 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1980 * configure.ac: Bump version.
1981 * debian/changelog: Updates.
1983 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1985 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1986 banners instead of destroying them when they receive a button
1989 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1991 Reverted commit 34028, it was causing regressions, probably the
1992 topmost condition is not correct, we have to check it in more
1993 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1994 propagation of button press events)
1996 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1998 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1999 that the selection is not empty before attempting to retrieve the
2000 current ampm selection.
2002 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2004 * src/hildon-picker-button.c:
2005 (hildon_picker_button_on_dialog_response): Directly update the
2006 button contents when required instead of calling _selection_changed.
2008 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2010 * src/hildon-program.c (hildon_program_update_top_most): Update
2011 'is-topmost' property also when wm_hints is not set.
2013 Fixes: NB#98383 (is-topmost signal is not emitted when task
2014 switcher is clicked.)
2016 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2018 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2022 * src/hildon-animation-actor.c,
2023 * src/hildon-animation-actor.h: Added the animation actor class,
2024 this widget represents an animation actor for WM-assisted
2025 animation effects in the Hildon framework.
2027 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-window-stack-private.h
2030 * src/hildon-window-stack.c
2031 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2032 Avoid calling gtk_widget_show() again indirectly from
2033 hildon_stackable_window_show()
2035 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2037 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2040 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2042 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2043 (hildon_time_selector_init): Move the construction of the hours and
2044 ampm columns to the constructor to preserve the order the columns
2047 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2049 * src/hildon-picker-dialog.c:
2050 (hildon_picker_dialog_class_init): Connect a realize method.
2051 (+hildon_picker_dialog_realize): Setup the interaction mode here
2053 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2054 yet, do it during the realize instead.
2055 (_on_dialog_response):
2056 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2057 if the widget is not realized, to avoid the dialog response before it
2060 Avoid premature responses in the HildonPickerDialog that can cause it
2061 to be hidden before it's even shown.
2063 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2065 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2066 (on_selector_columns_changed), (requires_done_button),
2067 (+prepare_action_area), (setup_interaction_mode),
2068 (_hildon_picker_dialog_set_selector):
2070 Split the interaction mode setup into preparation of the
2071 action area (prepare_action_area()) and the connection of
2072 the signals in setup_interaction_mode() and update the code to
2075 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2077 * src/hildon-pannable-area.c,
2078 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2079 per second to 15, we will check if this is ok regarding
2082 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2084 * src/hildon-pannable-area.c,
2085 (hildon_pannable_axis_scroll): Avoid resize if we already have
2086 reached overshoot_max.
2088 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2090 * src/hildon-pannable-area.c,
2091 (hildon_pannable_area_init),
2092 (hildon_pannable_area_realize),
2093 (hildon_pannable_area_size_allocate),
2094 (hildon_pannable_area_map),
2095 (hildon_pannable_area_unmap),
2096 (hildon_pannable_draw_vscroll),
2097 (hildon_pannable_draw_hscroll),
2098 (hildon_pannable_area_expose_event),
2099 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2100 pannable are to avoid the expose events go to the window and
2101 redraw the window. We save this way that part of the stack and the
2102 paint_boxes. We had to change the positions of the elements when
2105 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2107 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2108 * src/hildon-color-chooser-dialog.c:
2109 (hildon_color_chooser_dialog_init):
2110 * src/hildon-font-selection-dialog.c:
2111 (hildon_font_selection_dialog_init),
2112 (hildon_font_selection_dialog_show_preview):
2113 * src/hildon-get-password-dialog.c:
2114 * src/hildon-login-dialog.c:
2115 * src/hildon-set-password-dialog.c:
2116 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2117 * src/hildon-time-picker.c: (hildon_time_picker_init):
2119 Remove obsolete logical string IDs and update to the appropriate ones.
2121 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2123 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2125 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2126 that happens if the window hasn't been realized yet.
2128 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2129 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2131 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2133 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2134 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2137 Fixes: NB#98537 (Device hangs in account settings dialog)
2139 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2141 * configure.ac: post release version bump.
2142 * debian/changelog: version bump
2144 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2149 * configure.ac: Bump version.
2150 * debian/changelog: Updates.
2152 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2154 Added a new function to the HildonTimeButton widget that allows to
2155 change the step of the minutes in the selector associated with the
2156 button: hildon_time_button_new_step
2158 * src/hildon-time-button.c,
2159 (hildon_time_button_init),
2160 (hildon_time_button_new),
2161 (hildon_time_button_new_step):
2162 * src/hildon-time-button.h: Added the new function and refactored
2164 * examples/hildon-time-button-example.c,
2165 (main): We have replaced the function without parameters with the
2166 function with the steps set to 5
2168 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2170 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2172 * src/hildon-time-selector.c,
2173 (hildon_time_selector_class_init),
2174 (hildon_time_selector_constructor),
2175 (hildon_time_selector_get_property),
2176 (hildon_time_selector_set_property),
2177 (_create_minutes_model),
2178 (hildon_time_selector_new_step),
2179 (hildon_time_selector_set_time),
2180 * src/hildon-time-selector.h: Added a new property to the
2181 HildonTimeSelector (minutes-step), we use that property to control
2182 the steps between the minutes in the list of the selector. We have
2183 added a new function to the API to create a widget changing the
2184 step: hildon_time_selector_new_step.
2186 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2188 * src/hildon-time-selector.c,
2189 (hildon_time_selector_class_init),
2190 (hildon_time_selector_constructor),
2191 (hildon_time_selector_init): Overrided the construct function when
2192 creating the time selector object. We have moved the minutes model
2193 handling code from the init to the new construction function:
2194 hildon_time_selector_constructor.
2196 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2198 * examples/hildon-date-button-example.c: (main): Use the new
2199 hildon_date_button_new_with_year_range() method in the example.
2200 * src/hildon-date-button.c:
2201 (+hildon_date_button_new_with_year_range): New public method
2202 to conveniently create a HildonDateButton with a custom year range
2203 in its HildonDateSelector.
2204 * src/hildon-date-button.h: Add the new public method definition.
2206 Fixes: NB#97908 (Not possible to change the year range in
2207 HildonDateSelector/HildonDateButton)
2209 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2211 * src/hildon-date-selector.c:
2212 (+hildon_date_selector_set_property),
2213 (+hildon_date_selector_get_property),
2214 (hildon_date_selector_class_init): Install new properties "min-year"
2215 and "max-year" to define boundaries for the year column.
2216 (_create_year_model): Use the boundary properties to populate the model.
2217 (+hildon_date_selector_new_with_year_range): New public method to
2218 create a HildonDateSelector with a user defined year range.
2219 (hildon_date_selector_select_current_date): Use the new boundaries to
2220 calculate the iterator of current year.
2221 * src/hildon-date-selector.h: Add the new public method definition.
2223 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2225 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2226 Install a constructor method.
2227 (+hildon_date_selector_construct_ui): construct the widget.
2228 (+hildon_date_selector_constructor): new constructor.
2229 (+hildon_date_selector_init): move out widget construction code to
2230 the new constructor.
2232 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2234 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2235 that there's actually a month or year selected before obtaining them.
2236 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2237 of the HildonTouchSelector::changed signal, as it was emitted on every
2238 single item selection.
2240 Fix some warnings and possible crashers due to the selection restoring.
2242 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2244 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2245 the signal handlers only after creating the dialog instead of on every
2248 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2250 * src/hildon-button.c (hildon_button_init)
2251 * src/hildon-check-button.c (hildon_check_button_init)
2252 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2253 focus when clicked by default.
2255 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2257 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2260 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2262 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2263 Alejandro G. Castro (alex@igalia.com)
2265 * src/hildon-picker-dialog.c:
2266 (hildon_picker_dialog_class_init): install new "center-on-show"
2268 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2269 (hildon_picker_dialog_set_property): add setter code for the new
2271 (hildon_picker_dialog_get_property): add getter code for the new
2273 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2274 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2277 Fixes: NB#92849 (Selected item is not always visible when
2278 HildonTouchSelector is shown)
2280 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2282 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2283 Alejandro G. Castro (alex@igalia.com)
2285 * src/hildon-touch-selector.c:
2286 (_create_new_column): Do not connect to the "realize" signal of the
2288 (hildon_touch_selector_append_column): center on the selected items
2289 when a new column is appended.
2290 (hildon_touch_selector_select_iter): Factor out the code to select a
2291 column to hildon_touch_selector_scroll_to().
2292 (+search_nearest_element): Method to retrieve the nearest selected
2293 element to the visible area of the pannable area in a column.
2294 (+on_realize_cb): scroll to the initially selected item.
2295 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2296 the pannable area is realized, otherwise delay this until it is.
2297 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2298 selected items of a given column.
2299 (+hildon_touch_selector_center_on_selected): Public method to center
2300 all columns on the nearest selected item.
2301 * src/hildon-touch-selector.h: Add definition for
2302 hildon_touch_selector_center_on_selected().
2304 Implement public API to ensure visibility of all selected items in
2305 a HildonTouchSelector.
2307 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2309 Fixed a problem in the fading when calling the scroll_to API, and
2310 improve scrollbar fading handling.
2312 * src/hildon-pannable-area.c,
2313 (hildon_pannable_area_grab_notify): avoid the timeout when the
2315 (hildon_pannable_area_button_press_cb),
2316 (hildon_pannable_area_motion_notify_cb): Code style changes.
2317 (hildon_pannable_area_button_release_cb): Review the conditions
2318 when releasing the mouse button to avoid unrequired fading
2320 (hildon_pannable_area_scroll_to): Do not calculate and set the
2321 velocity if the scroll is not required.
2323 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2325 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2326 Don't check whether the new selector is NULL: it cannot be.
2327 Hold a reference to the selector while doing the replacement.
2329 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2331 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2332 unnecessary size_request in a removed widget.
2334 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2336 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2337 an unnecessary reference tracking that was leaking.
2339 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2341 Added delayed motion notify event handling, this way we can
2342 discard redrawing if more than 25 events arrive per second.
2344 * src/hildon-pannable-area.c,
2345 (hildon_pannable_area_init): Initialized the new private atributes
2346 controlling this timeout
2347 (hildon_pannable_area_dispose): Remove the timeout that controls
2348 the motion notify events.
2349 (hildon_pannable_area_scroll): Added a condition to control the
2350 use of the acceleration.
2351 (hildon_pannable_area_motion_event_scroll_timeout),
2352 (hildon_pannable_area_motion_event_scroll): Added this two
2353 functions, they handle the motion notify events inside the
2355 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2356 to the scroll method with the new function.
2357 (hildon_pannable_area_button_release_cb): We have to remove the
2358 timeout handler and move to the last position if the last motion
2359 events were not handled.
2361 Fixes: NB#97028 (Pannable area updates on every motion event)
2363 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2365 * src/hildon-pannable-area.c,
2366 (hildon_pannable_area_get_topmost): Added a new parameter to
2367 filter the the windows that do not include those events. Added
2368 also a condition when finding the window to filter windows that do
2369 not ask for those events.
2370 (hildon_pannable_area_button_press_cb),
2371 (hildon_pannable_area_button_release_cb),
2372 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2373 topmost function, we have added the new parameter.
2375 Fixes: NB#97458 (Pannable area prevents propagation of button
2378 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2380 * src/hildon-pannable-area.c,
2381 (hildon_pannable_area_initial_effect): Added controls before
2382 launching the timeout and the idle functions.
2383 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2384 of the method, in some situations it can return with TRUE and 0 in
2386 (hildon_pannable_area_button_press_cb): We do not need to set
2387 DELAY for fading out here.
2389 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2391 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2393 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2394 post-cleaning if the selection is not NULL.
2396 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2398 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2399 all items before restoring the selection.
2401 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2403 * src/hildon-touch-selector.c:
2404 (+hildon_touch_selector_unselect_all):
2405 * src/hildon-touch-selector.h: New API to unselect all items in a
2406 column of the touch selector.
2408 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2410 * src/hildon-pannable-area.c,
2411 (hildon_pannable_area_redraw): Added a call to the refresh
2412 function inside the redraw because apparently in some cases the
2413 change in the adjustment does not imply a size allocate.
2415 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2416 despite the view not being scrollable)
2418 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2420 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2421 leak. Check for NULL before attempting to set the window title.
2423 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2425 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2426 whether to show or not the 'Done' button each time the dialog is
2427 shown, as it depends on the HildonTouchSelector selection mode.
2429 Fixes: NB#96226 (In multiple selection mode Done button is shown
2430 sometimes in listpicker)
2432 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2434 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2435 for the number of columns in the HildonTouchSelector more than once.
2437 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2439 * src/hildon-touch-selector.c: Minor documentation fixes.
2441 * src/hildon-picker-dialog.c (+_dialog_update_title)
2442 (_select_on_selector_changed_cb)
2443 (_update_title_on_selector_changed_cb)
2444 (on_selector_columns_changed): Update dialog title when there's no
2445 'Done' button and also when the number of columns in the selector
2449 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2450 (+_selection_changed, hildon_picker_button_on_dialog_response)
2451 (hildon_picker_button_selector_selection_changed)
2452 (+hildon_picker_button_selector_columns_changed)
2453 (hildon_picker_button_set_selector): Update button value and emit
2454 'value-changed' when the number of columns in the selector
2458 Fixes: NB#96225 (Dialog titles are not shown according to the
2459 values selected in the list picker)
2461 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2463 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2464 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2465 New "arrow-width" and "arrow-height" style properties to set the
2466 size of the arrow button.
2467 Set name of arrow button ("hildon-edit-toolbar-arrow").
2469 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2470 graphics from theme)
2472 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2474 * src/hildon-picker-button.c:
2475 (hildon_picker_button_selector_selection_changed): Use
2476 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2477 the dialog is present.
2479 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2480 the selection is accepted in the dialog)
2482 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2484 * src/hildon-color-chooser.h
2485 * src/hildon-color-chooser-dialog.h:
2486 Added G_BEGIN_DECLS and G_END_DECLS
2488 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2490 (_clean_current_selection): plug a leak in the list.
2492 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2494 * src/hildon-picker-dialog.c:
2495 (+free_path_list): Method to free a GList of GtkTreePaths.
2496 (_clean_current_selection), (_save_current_selection),
2497 (_restore_current_selection): Save the current selection in
2498 as a list of lists, to support multiple selection properly.
2500 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2502 patch by Claudio Saavedra (csaavedra@igalia.com)
2504 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2505 Store the press position.
2506 (+hildon_text_view_button_release_event): If the release position is
2507 close enough to the press position, move the cursor here. Otherwise,
2509 (hildon_text_view_class_init): Override GtkTextView press, release, and
2510 motion event handlers, disabling this way text selection through
2511 pointer interaction, and allowing the container widget to handle the
2514 Fixes: NB#95828 (HildonTextView functionality)
2516 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2518 Based on a patch by Iván Gómez (igomez@igalia.com)
2520 * src/hildon-button.[ch]
2521 * src/hildon-calendar.c
2522 * src/hildon-check-button.c
2523 * src/hildon-date-editor.c
2524 * src/hildon-date-selector.c
2525 * src/hildon-picker-button.c
2526 * src/hildon-time-editor.c
2527 * src/hildon-time-selector.c
2528 * src/hildon-touch-selector.[ch]:
2529 Documentation updates
2531 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2533 * src/hildon-pannable-area.c,
2534 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2535 threshold, it was required due to X events handling.
2537 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2539 * src/hildon-pannable-area.c,
2540 (hildon_pannable_area_grab_notify),
2541 (hildon_pannable_area_initial_effect),
2542 (hildon_pannable_area_button_press_cb),
2543 (hildon_pannable_area_button_release_cb),
2544 (hildon_pannable_area_scroll_cb),
2545 (hildon_pannable_area_scroll_to): Review the timeout management of
2546 the scrollbar, the frecuency was incorrectly set.
2548 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2550 * src/hildon-picker-button.c:
2551 (+hildon_picker_button_on_dialog_response),
2552 (hildon_picker_button_clicked): Present the dialog instead of
2553 running it with gtk_dialog_run().
2555 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2558 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2560 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2561 (hildon_app_menu_finalize): When a window is hidden it doesn't
2562 emit notify::is-topmost, so make sure than the menu also
2563 disappears in that case.
2564 (parent_window_topmost_notify): Renamed from parent_window_hidden
2566 Fixes: NB#94460 (stackable window's menu is not closed when its
2569 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2571 * src/hildon-touch-selector-entry.c:
2572 (+hildon_touch_selector_entry_set_input_mode),
2573 (+hildon_touch_selector_entry_get_input_mode):
2574 * src/hildon-touch-selector-entry.h: New methods to access the input
2575 mode in the selector's entry.
2577 Fixes: NB#93410 (API required for setting IM mode in
2578 HildonTouchSelectorEntry)
2580 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2582 * configure.ac: post release version bump.
2583 * debian/changelog: version bump
2585 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2590 * configure.ac: Bump version.
2591 * debian/changelog: Updates.
2593 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2595 * src/hildon-touch-selector.c:
2596 (_hildon_touch_selector_has_multiple_selection): No need
2597 to initialize the variables here.
2599 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2601 * src/hildon-note-private.h
2602 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2603 (hildon_note_finalize, hildon_note_rebuild): Close information
2604 notes when they receive a button press.
2606 Fixes: NB#89890 (Information notes does not get disappeared after
2609 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2611 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2612 mark from the wizard title, as it's not really necessary. Also,
2613 do not display the page title if not set.
2615 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2617 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2618 (parent_window_hidden): Use the window's "is-topmost" property to
2619 detect when to hide the menu.
2621 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2623 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2624 (hildon_app_menu_finalize): If the parent window of the menu is
2625 hidden, hide the menu too.
2627 Fixes: NB#94460 (stackable window's menu is not closed when its
2630 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2633 * debian/libhildon1-examples.install
2635 * examples/Makefile.am:
2636 Use dh_install to install all examples.
2637 Use DEB_SRCDIR instead of defining SOURCE_DIR
2639 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2641 * configure.ac: post release version bump.
2642 * debian/changelog: version bump
2644 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2649 * configure.ac: bump version
2650 * debian/changelog: updates
2651 * debian/control: bump gtk+ dependency
2653 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2655 patch by Christian Dywan (christian@imendio.com)
2657 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2658 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2660 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2662 * src/hildon-check-button.c (hildon_check_button_init)
2663 (hildon_check_button_class_init, hildon_check_button_style_set)
2664 (hildon_check_button_apply_style):
2665 New "checkbox-size" style property.
2667 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2668 larger / configurable size)
2670 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2672 * configure.ac: post release version bump.
2673 * debian/changelog: version bump
2675 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2680 * configure.ac: bump version
2681 * debian/changelog: updates
2683 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2685 * doc/hildon-sections.txt
2686 * src/hildon-pannable-area.c
2687 * src/hildon-program.c
2688 * src/hildon-time-editor.c
2689 * src/hildon-touch-selector-entry.c:
2691 More documentation updates.
2693 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2695 * doc/hildon-sections.txt
2696 * src/hildon-caption.c
2697 * src/hildon-code-dialog.c
2698 * src/hildon-color-button.c
2699 * src/hildon-controlbar.c
2700 * src/hildon-date-editor.c
2701 * src/hildon-date-selector.c
2702 * src/hildon-edit-toolbar.c
2703 * src/hildon-find-toolbar.c
2704 * src/hildon-font-selection-dialog.c
2706 * src/hildon-program.c
2707 * src/hildon-range-editor.c
2708 * src/hildon-seekbar.c
2709 * src/hildon-time-editor.c
2710 * src/hildon-time-selector.c
2711 * src/hildon-volumebar-range.c
2712 * src/hildon-volumebar.c
2713 * src/hildon-vvolumebar.c
2714 * src/hildon-weekday-picker.c
2715 * src/hildon-window.c
2716 * src/hildon-wizard-dialog.c:
2718 Lots of documentation fixes.
2720 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2722 Patch contributed by Iván Gómez (igomez@igalia.com)
2724 * src/hildon-check-button.c:
2725 * src/hildon-date-button.c:
2726 * src/hildon-date-selector.c:
2727 * src/hildon-dialog.c:
2728 * src/hildon-edit-toolbar.c:
2729 * src/hildon-entry.c:
2730 * src/hildon-picker-button.c:
2731 * src/hildon-program.c:
2732 * src/hildon-text-view.c:
2733 * src/hildon-time-button.c:
2734 * src/hildon-touch-selector-entry.c:
2735 * src/hildon-window-stack.c:
2737 Add more "since" tags to the new API.
2739 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2741 * doc/hildon-sections.txt: Add below method.
2742 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2743 version for the hildonized scale.
2744 * src/hildon-gtk.h: Add the definition.
2746 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2748 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2750 * doc/hildon-sections.txt: Add missing entries for new methods.
2752 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2754 Added API to pannable are in order to get its adjustments. We
2755 added two properties to manage the values we had in the private
2758 * src/hildon-pannable-area.c:
2759 (hildon_pannable_area_class_init): Added hadjustment and
2760 vadjustment properties in order to expose horizontal and vertical
2762 (hildon_pannable_area_get_property),
2763 (hildon_pannable_area_set_property): Added code to handle the new
2765 (hildon_pannable_area_get_hadjustment),
2766 (hildon_pannable_area_get_vadjustment): API functions to get the
2768 * src/hildon-pannable-area.h:
2769 (hildon_pannable_area_get_hadjustment),
2770 (hildon_pannable_area_get_vadjustment): API functions to get the
2773 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2775 Fixed some leaks, after valgrinding.
2777 * src/hildon-touch-selector.c:
2778 (_default_print_func): Fixed a leak.
2779 (hildon_touch_selector_append_column): Fixed a leak.
2780 * src/hildon-date-button.c:
2781 (hildon_date_button_init): Fixed a leak.
2782 * src/hildon-date-selector.c
2783 (hildon_date_selector_finalize): Fixed a leak.
2785 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2787 Based on a patch by Christian Dywan (christian@imendio.com)
2789 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2791 * src/hildon-gtk.h: Add definition.
2793 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2795 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2797 * src/hildon-picker-button.c: (hildon_picker_button_init),
2798 (hildon_picker_button_new): Set the HildonButton::style property
2799 in the init method, to propagate the value to the derived classes.
2801 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2803 * src/hildon-button.c: (hildon_button_class_init): Do not make
2804 the "style" property a construct property.
2806 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2808 * src/hildon-wizard-dialog.h
2809 * src/hildon-wizard-dialog.c
2810 (hildon_wizard_dialog_set_forward_page_func)
2811 * src/hildon-pannable-area.h
2812 * src/hildon-pannable-area.c
2813 (hildon_pannable_area_set_size_request_policy):
2814 Documentation fixes.
2816 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2818 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2820 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2822 * doc/hildon-sections.txt: Added sections file.
2824 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2827 * src/*.[ch]: Updates.
2829 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2831 * examples/hildon-progress-indicator-example.c: new file
2832 * examples/Makefile.am: include the new example program
2834 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2836 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2838 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2840 * configure.ac: post release version bump
2841 * debian/changelog: version bump
2843 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2848 * configure.ac: bump version
2849 * debian/changelog: updates
2850 * debian/control: bump gtk+ dependency
2852 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2854 * src/hildon-dialog.c: Mark as deprecated.
2855 * src/hildon-dialog.h: Mark as deprecated.
2856 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2857 from HildonDialog and still work, even if
2858 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2859 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2861 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2862 maemo changes) instead)
2864 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2866 * src/hildon-pannable_area.h:
2867 * src/hildon-pannable_area.c:
2868 (hildon_pannable_area_class_init),
2869 (hildon_pannable_area_set_property),
2870 (hildon_pannable_area_get_property),
2871 (hildon_pannable_area_size_request),
2872 (hildon_pannable_area_get_size_request_policy),
2873 (hildon_pannable_area_set_size_request_policy): Added new API
2874 allowing applications to control the request policy. Now they can
2875 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2876 children allocation (HILDON_MOVEMENT_CHILDREN).
2878 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2882 (hildon_gtk_tree_view_set_ui_mode)
2883 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2884 mode of treeviews and iconviews.
2886 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2888 * src/hildon-touch-selector-entry.c:
2889 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2890 of a GtkEntry to get proper theming.
2892 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2893 widget, not GtkEntry)
2895 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2897 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2898 no HildonWizardDialogPageFunc.
2900 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2902 Patch contributed by Iván Gómez (igomez@igalia.com)
2904 * src/hildon-app-menu.c:
2905 * src/hildon-button.c:
2906 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2907 * src/hildon-stackable-window.c:
2908 * src/hildon-time-selector.c:
2909 * src/hildon-touch-selector.c:
2910 * src/hildon-window.c:
2912 Add more "since" tags to the new API in hildon 2.2.
2914 2008-12-05 Tim Janik <timj@imendio.com>
2916 Patch contributed by Christian Dywan (christian@imendio.com)
2918 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2919 HildonSizeType, which are supplied by Gtk+ now.
2921 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2923 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2924 (with maemo changes) instead)
2926 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2928 Patch contributed by Iván Gómez (igomez@igalia.com)
2930 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2933 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2935 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2936 (some_page_func), (main): Update the example to use a
2937 HildonWizardDialogPageFunc function.
2939 * src/hildon-wizard-dialog-private.h: Add private data for
2940 the HildonWizardDialogPageFunc function usage.
2942 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2943 (destroy), (hildon_wizard_dialog_init), (response),
2944 (hildon_wizard_dialog_set_forward_page_func):
2945 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2946 that applications can use to stop a HildonWizardDialog to jump to
2949 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2952 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2954 * src/hildon-program.h
2955 * src/hildon-program-private.h
2956 * src/hildon-program.c (hildon_program_init)
2957 (hildon_program_set_common_app_menu)
2958 (hildon_program_get_common_app_menu):
2959 New API for setting a common HildonAppMenu for all
2960 HildonStackableWindows registered with the HildonProgram.
2962 * src/hildon-stackable-window.c
2963 (hildon_stackable_window_toggle_menu):
2964 Use the common HildonAppMenu if a window doesn't have a specific
2967 * src/hildon-app-menu-private.h
2968 * src/hildon-app-menu.c
2969 (hildon_app_menu_get_parent_window):
2970 Function to obtain the window a HildonAppMenu is attached to.
2971 (hildon_app_menu_set_parent_window):
2972 Hide the menu if the parent window is set to NULL.
2974 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2976 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2977 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2978 search widget to popup.
2980 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2982 * configure.ac: post release version bump
2983 * debian/changelog: version bump
2985 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2990 * configure.ac: bump version
2991 * debian/changelog: updates
2993 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2995 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2997 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2998 (hildon_window_stack_window_realized)
2999 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3000 Set the leader GdkWindow when a window is stacked and realized,
3001 unset it when it's unstacked.
3002 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3004 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3006 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3008 * src/hildon-stackable-window.h
3009 * src/hildon-window-stack.h:
3010 Protect definition of HildonWindowStack using the preprocessor.
3012 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3014 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3015 Fix warning if all menu items are hidden.
3017 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3019 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3021 * src/hildon-controlbar.c:
3022 * src/hildon-hvolumebar.c:
3023 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3024 Multiple scale size defines updates.
3026 Fixes: NB#94322 (Scale Updates)
3028 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3030 * examples/hildon-app-menu-example.c (create_menu)
3031 Show items after adding them to the menu, as in the future the
3032 menu will no longer call gtk_widget_show() on the added items.
3034 * src/hildon-app-menu.c:
3035 Update example as explained above.
3037 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3039 * src/hildon-app-menu.c
3040 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3041 Make sure that all menu items have finger height.
3043 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3045 * src/hildon-picker-dialog.c:
3046 (_on_dialog_response), (_save_current_selection),
3047 (_restore_current_selection), (_clean_current_selection),
3048 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3049 Defined new functions in order to save the current internal selector
3050 selection previous open the dialog, in case that the use cancel the
3051 interaction, so the widget restores the previous selection.
3053 Fixes: NB#92032 (In calendar application, date values in 'new event'
3056 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3058 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3060 * src/hildon-button.c: Add a reference to the button examples in
3061 hildon-button-example.c
3063 * examples/hildon-button-example.c: Added examples of the most
3064 common button layouts.
3066 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3068 * src/hildon-app-menu.c (hildon_app_menu_show)
3069 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3071 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3073 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3075 * src/hildon-picker-dialog.c:
3076 (hildon_picker_dialog_init): Initialize the signal id for
3077 HildonTouchSelector::columns-changed.
3078 (+on_selector_columns_changed): Set up the interaction mode everytime a
3079 column is added or removed from the HildonTouchSelector.
3080 (_hildon_picker_dialog_set_selector): Connect to
3081 HildonTouchSelector::columns-changed and keep track of it.
3083 Make sure to update the interaction mode of the dialog everytime a
3084 column is added or removed in the HildonTouchSelector.
3086 Fixes: NB#93228 (Done button is not shown always in listpicker)
3088 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3090 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3091 a new ::columns-changed signal.
3092 (hildon_touch_selector_append_column): Emit ::columns-changed.
3093 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3095 Add a ::columns-changed signal, emitted when the number of columns in a
3096 HildonTouchSelector changes.
3098 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3100 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3101 (_hildon_picker_dialog_set_selector): Factor out the code
3102 to set up the dialog interaction mode.
3104 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3106 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3107 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3108 to signal_changed_id.
3110 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3112 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3115 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3117 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3118 Updated the logical ids related to ampm format, as now it is required to
3119 show it correctly localized even on languages with no default
3120 abbreviations for am or pm
3121 (_check_am_pm_format): check correctly the 24h format gconf property
3123 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3125 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3127 * src/hildon-button.c: Documentation updates.
3129 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3131 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3132 * src/hildon-caption.c: (hildon_caption_class_init):
3133 * src/hildon-color-button.c: (hildon_color_button_class_init):
3134 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3135 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3136 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3137 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3139 Remove deprecated GTK+ marshalers and replace them with the ones
3140 provided by GLib, for those available, add a marshaler for
3141 BOOLEAN:VOID, which is not available in GLib, and use it.
3143 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3145 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3146 the text from the previous column if there is no
3147 HildonTouchSelectorColumn::text-property set.
3149 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3151 * src/hildon-button.h
3152 * src/hildon-button.c (hildon_button_set_property)
3153 (hildon_button_get_property, hildon_button_class_init)
3154 (hildon_button_set_style, hildon_button_get_style):
3155 New "style" property to change the visual appearance of the
3158 * src/hildon-picker-button.c (hildon_picker_button_new):
3159 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3161 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3162 HildonButton look like PickerButton)
3164 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3166 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3167 column while building the default string.
3169 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3171 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3172 scroll indicator by default.
3174 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3176 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3178 * src/hildon-main.c: Fix the documentation for hildon_init()
3180 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3182 * doc/hildon-docs.sgml
3186 * src/hildon-window-stack-private.h
3187 * src/hildon-window-stack.h
3188 * src/hildon-window-stack.c:
3189 New HildonWindowStack object, that adds support for multiple
3190 stacks of windows per process.
3192 * src/hildon-stackable-window-private.h
3193 * src/hildon-stackable-window.h
3194 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3195 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3196 (hildon_stackable_window_show, hildon_stackable_window_hide)
3197 (hildon_stackable_window_class_init)
3198 (hildon_stackable_window_init):
3199 Use HildonWindowStack for stack management.
3201 * src/hildon-program.c (hildon_program_pop_window_stack)
3202 (hildon_program_peek_window_stack)
3203 (hildon_program_go_to_root_window):
3204 Add a fallback implementation to the deprecated functions using
3207 * examples/hildon-stackable-window-example.c:
3208 Use the new HildonWindowStack API.
3210 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3212 * src/hildon-stackable-window-private.h
3213 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3214 (hildon_stackable_window_hide, hildon_stackable_window_init):
3215 Remove all window stack management.
3217 * src/hildon-program-private.h
3218 * src/hildon-program.h
3219 * src/hildon-program.c (hildon_program_init)
3220 (hildon_program_pop_window_stack)
3221 (hildon_program_peek_window_stack)
3222 (hildon_program_go_to_root_window):
3223 Remove all window stack management and mark functions as
3226 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3228 * src/hildon-app-menu.c (hildon_app_menu_realize):
3229 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3231 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3233 * configure.ac: post release version bump
3234 * debian/changelog: version bump
3236 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3241 * configure.ac: bump version
3242 * debian/changelog: updates
3244 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3246 Based on initial code by Christian Dywan (christian@imendio.com)
3248 * doc/hildon-docs.sgml: Add section for hildon-main.
3249 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3250 * src/Makefile.am: Add new hildon-main.[ch]
3251 * src/hildon-defines.h: Update the icon sizes.
3252 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3253 new library initialization files and register icon sizes.
3254 * src/hildon-main.h: New declarations.
3255 * src/hildon.h: Include hildon-main.h
3257 Add new initialization functions to the library. These methods
3258 will register the hildon specific icon sizes and can be used in the
3259 future for other hildon specific bits.
3261 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3263 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3265 * src/hildon-window.c: (hildon_window_realize),
3266 (hildon_window_notify), (-hildon_window_update_title): Do not set
3267 the application name in the window title.
3269 Fixes: NB#89754 (Applications shouldn't display their names in the
3272 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3274 * src/hildon-note-private.h:
3275 * src/hildon-note.c: (hildon_note_set_property),
3276 (hildon_note_get_property), (hildon_note_class_init),
3277 (hildon_note_init), (hildon_note_finalize),
3278 (hildon_note_new_confirmation_with_icon_name),
3279 (hildon_note_new_information_with_icon_name):
3281 No need to mark as deprecated the actual code. Revert
3282 to avoid missing symbols in widgets using deprecated API.
3284 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3286 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3288 * src/hildon-volumebar.h
3289 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3290 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3292 * src/hildon-helper.h
3293 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3294 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3296 * examples/Makefile.am:
3297 Deprecate hildon-insensitive-example
3299 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3301 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3303 * examples/hildon-pannable-area-buttons-scroll-example.c:
3304 Make all buttons finger height
3306 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3308 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3310 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3311 update the day model only if it is really required, and to avoid the
3312 full-reconstruction aproach. Now it only add or remove the required days.
3314 The purpose of this is avoid superfluous HildonTouchSelector::changed
3317 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3318 with strange parameters)
3320 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3322 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3324 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3325 the WINDOW_TYPE property.
3327 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3329 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3332 Fix dependency to allow parallel compilation with make -jX
3334 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3336 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3337 color frame and some minor tweaks to make it more consistent with
3340 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3341 highlighted but not visible)
3343 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3345 * examples/Makefile.am: Fixed typo in the Makefile.am.
3347 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3349 Reviewed the use of MAEMO_GTK define, now we add the define in the
3350 compilation line, and we also add it to the pc file.
3352 * configure.ac: Added MAEMO_GTK define to the compilation command
3353 and removed it from the config.h.
3355 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3356 do not have to take care about this define if the library was
3360 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3362 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3364 * examples/Makefile.am,
3365 * examples/hildon-pannable-area-buttons-scroll-example.c,
3366 * examples/hildon-pannable-area-gesture-signals-example.c,
3367 * examples/hildon-pannable-area-scroll-jump-example.c,
3368 * examples/hildon-pannable-area-tree-view-example.c:
3369 Renamed the pannable area examples, now they have more meaningful
3372 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3374 * src/hildon-touch-selector.c:
3375 (hildon_touch_selector_set_column_selection_mode): Used of
3376 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3377 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3378 to avoid re-seting the same selection mode.
3380 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3381 breaks HildonPickerDialog)
3383 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3385 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3386 conditional in the Makefile.am
3388 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3390 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3391 Remove unused methods.
3393 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3395 * src/hildon-button.c (hildon_button_init):
3396 Make button images center-aligned by default
3398 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3401 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3402 activated, we have to think about how to deal with both defines
3403 MAEMO_GTK and MAEMO_CHANGES.
3405 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3407 * examples/hildon-app-menu-example.c (create_menu): Make all
3408 buttons finger size.
3410 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3412 Fixed the compilation without maemo gtk adding ifdefs with
3413 MAEMO_GTK define to the code, we have to check this version more
3416 * examples/Makefile.am: Added control to avoid some examples that
3417 just make sense with maemo gtk.
3420 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3421 hildon modes with the define.
3423 * examples/hildon-edit-toolbar-example.c,
3424 (create_icon_view): Create the icon view without hildon-gtk
3425 helpers if we are not using maemo gtk.
3427 * src/hildon-touch-selector.c,
3428 (_create_new_column): Create the treeview without hildon-gtk
3429 helpers if we are not using maemo gtk.
3431 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3433 * src/hildon-pnnable-area.c,
3434 (hildon_pannable_area_dispose),
3435 (hildon_pannable_area_button_press_cb),
3436 (hildon_pannable_area_child_mapped),
3437 (hildon_pannable_area_add),
3438 (hildon_pannable_area_remove): Added code to control the position
3439 of the event_window when adding and removing children from the
3440 pannable. We have to raise the event window when the child is
3443 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3444 selection mode using custom widget inside pannable)
3446 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3448 * configure.ac: post release version bump
3449 * debian/changelog: version bump
3451 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3456 * configure.ac: bump version
3457 * debian/changelog: updates
3459 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3461 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3462 search mode, in order to avoid lose the focus on the treeview when
3463 a hw key (like enter) is pressed.
3465 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3466 in HildonDateSelector dialog)
3468 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3470 * debian/rules: Added --enable-maintainer-mode
3471 * Makefile.am: Added ACLOCAL_AMFLAGS
3473 This allows to properly regenerate the Makefiles if you modify the
3474 configure.ac or any Makefile.am.
3476 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3478 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3479 properties, not needed at all.
3481 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3483 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3485 * src/hildon-note.c: (hildon_note_set_property),
3486 (hildon_note_get_property), (hildon_note_class_init),
3487 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3488 (hildon_note_new_confirmation_add_buttons): Remove icons.
3489 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3490 (hildon_note_new_information_with_icon_name): Deprecate.
3491 (hildon_note_new_confirmation): Act directly, without calling
3492 the deprecated constructor.
3493 (hildon_note_new_information): Act directly, without calling
3494 the deprecated constructor.
3495 * src/hildon-note.h: Mark deprecate methods as such.
3496 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3497 not run tests on the deprecated methods if built with deprecation
3500 Fixes: NB#91688 (Never show icons in information notes/confirmation
3503 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3505 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3506 (hildon_app_menu_key_press): Remove leftover usage of the
3507 private structure in HildonAppMenu struct.
3508 * src/hildon-app-menu.h: Remove leftover private structure
3509 from the HildonAppMenu struct.
3511 Fixes a crasher when using the HildonAppMenu.
3513 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3515 * src/hildon-picker-dialog.c: Use appropriate logical id
3516 for the default "Done" text.
3518 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3520 * configure.ac: post release version bump
3521 * debian/changelog: version bump
3523 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3525 Modified the way to scroll to the current selection just when the touch
3526 selector is shown on the screen, avoiding a g_idle. Added too a property
3527 to configure this behaviour. See hildon_pannable_area_jump_to_child
3528 documentation for more information.
3530 * src/hildon-touch-selector.c
3531 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3532 Added 'initial-scroll' property
3533 (hildon_touch_selector_set_property): Added
3534 (hildon_touch_selector_map): Removed as not required anymore
3535 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3536 only a concrete column, instead of iterate along all the columns
3538 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3543 * configure.ac: bump version
3544 * debian/changelog: updates
3546 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3548 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3549 compilation time warnings.
3551 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3553 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3554 the default value for HildonPannableArea::mov-mode to
3555 HILDON_PANNABLE_AREA_MODE_VERT.
3557 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3559 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3561 Reverting following commit:
3563 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3565 * src/hildon-app-menu-private.h
3566 * src/hildon-app-menu.[ch]
3567 * src/hildon-button.[ch]
3568 * src/hildon-check-button.[ch]
3569 * src/hildon-entry.[ch]
3570 * src/hildon-pannable-area.[ch]
3571 * src/hildon-text-view.[ch]:
3572 Added private field to the object's structure.
3574 because it causes an ABI breakage. We will need to introduce these
3575 changes later at some point. See NB#91636 for an extensive
3576 explanation and status.
3578 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3580 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3582 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3583 remove special cases that are no longer necessary.
3585 Fixes: NB#91016 (Change toolbar sizes, simplification)
3587 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3589 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3590 is shown in the cancel note.
3592 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3594 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3595 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3596 (hildon_seekbar_init): Remove steppers, remove expose event.
3597 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3599 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3601 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3603 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3604 label font to "SmallSystemFont" for vertically arranged buttons.
3606 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3609 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3611 * src/hildon-check-button.c
3612 (hildon_check_button_set_active, hildon_check_button_clicked):
3613 Don't access private parts directly, use getters instead.
3615 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3617 * src/hildon-check-button.c (hildon_check_button_new):
3618 Align the contents of the check button to the left.
3620 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3622 * src/hildon-pannable-area.c,
3623 (hildon_pannable_area_scroll_to),
3624 (hildon_pannable_area_jump_to),
3625 (hildon_pannable_area_scroll_to_child),
3626 (hildon_pannable_area_jump_to_child): Replace the mapped
3627 precondition of these functions with the realized, it is the
3628 correct state of the widget in this case. Changed the
3629 documentation according to this modification.
3631 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3633 Added a new EXTRA_CFLAGS option to add the deprecated define to
3634 the compilation command. This way we can avoid using the define in
3635 the documentation compilation.
3637 * configure.ac: Defined EXTRA_CFLAGS.
3639 * examples/Makefile.am:
3641 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3643 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3645 * src/hildon-picker-dialog.c:
3646 Defined a utility macro with the desired touch selector height
3647 Removed currently unused separator, and title_label variables from
3649 (hildon_picker_dialog_init): Removed code related to the creation
3650 of unused private variables title_label and separator.
3651 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3652 to ensure correct visualization of the touch selector inside the dialog.
3653 * src/hildon-touch-selector.c
3654 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3655 ensure a concrete height of the widget.
3657 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3660 * tests/Makefile.am:
3662 Remove spurious whitespaces.
3664 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3666 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3667 compilation warning after the cancel button removal.
3669 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3671 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3673 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3674 Makefile.am, that way we can choose not to compile some examples
3675 and tests of the deprecated widgets.
3677 * examples/Makefile.am: Divided the sources in deprecated and
3680 * src/Makefile.am: Added undef statement of the deprecated
3681 symbol to the enums file generation process.
3683 * src/hildon-color-chooser-dialog.c
3684 * src/hildon-color-chooser-dialog.h
3685 * src/hildon-color-button.c
3686 * src/hildon-color-button.h
3687 * src/hildon-color-chooser.c
3688 * src/hildon-color-chooser.h
3689 * src/hildon-controlbar.c
3690 * src/hildon-controlbar.h
3691 * src/hildon-date-editor.c
3692 * src/hildon-date-editor.h
3693 * src/hildon-hvolumebar.c
3694 * src/hildon-hvolumebar.h
3695 * src/hildon-private.c
3696 * src/hildon-private.h
3697 * src/hildon-range-editor.c
3698 * src/hildon-range-editor.h
3699 * src/hildon-seekbar.c
3700 * src/hildon-seekbar.h
3701 * src/hildon-time-editor.c
3702 * src/hildon-time-editor.h
3703 * src/hildon-time-picker.c
3704 * src/hildon-time-picker.h
3705 * src/hildon-volumebar.c
3706 * src/hildon-volumebar.h
3707 * src/hildon-vvolumebar.c
3708 * src/hildon-vvolumebar.h
3709 * src/hildon-bread-crumb-trail.h
3710 * src/hildon-bread-crumb-trail.c
3711 * src/hildon-calendar-popup.c
3712 * src/hildon-calendar-popup.h
3713 * src/hildon-weekday-picker.c:
3714 * src/hildon-weekday-picker.h:
3715 * src/hildon-bread-crumb-widget.c:
3716 * src/hildon-bread-crumb-widget.h:
3717 * src/hildon-bread-crumb.c:
3718 * src/hildon-bread-crumb.h:
3719 * src/hildon-calendar.c:
3720 * src/hildon-calendar.h:
3721 * src/hildon-caption.c:
3722 * src/hildon-code-dialog.c:
3723 * src/hildon-code-dialog.h:
3724 * src/hildon-font-selection-dialog.c:
3725 * src/hildon-font-selection-dialog.h:
3726 * src/hildon-get-password-dialog.c:
3727 * src/hildon-get-password-dialog.h:
3728 * src/hildon-login-dialog.c:
3729 * src/hildon-login-dialog.h:
3730 * src/hildon-number-editor.c:
3731 * src/hildon-number-editor.h:
3732 * src/hildon-set-password-dialog.c:
3733 * src/hildon-set-password-dialog.h:
3734 * src/hildon-sort-dialog.c:
3735 * src/hildon-sort-dialog.h: This is the list of deprecated
3738 * src/hildon-touch-selector.c:
3739 * src/hildon-window.c: Added undef statement to avoid compilation
3742 * tests/Makefile.am: Divided the sources in deprecated and
3745 * tests/check_test.c,
3746 (configure_tests): Marked the deprecated code that was adding
3747 suites with deprecated tests.
3749 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3751 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3753 * src/hildon-touch-selector.c: (_default_print_func): Do not
3754 duplicate a string returned by gtk_tree_model_get(), it is already
3757 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3760 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3762 * src/hildon-pannable-area.c
3763 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3764 method, it had problems when adding a widget with viewport the
3765 second time. Now checks if it already has a viewport and uses it.
3767 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3770 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3772 * src/hildon-pannable-area.c,
3773 (hildon_pannable_area_scroll_to),
3774 (hildon_pannable_area_jump_to),
3775 (hildon_pannable_area_scroll_to_child),
3776 (hildon_pannable_area_jump_to_child): Added a precondition to the
3777 scroll and jump to functions: the widget must be mapped before we
3778 can safely call these functions. We have also added documentation
3779 to the functions to explain how to use them in this situation.
3782 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3784 Reviewed the threading handling of the pannable widget, we have
3785 used the gdk_threads_add_timeout function instead of the usual
3786 glib handlers. This avoids some problems with the threads.
3788 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3789 (hildon_pannable_area_initial_effect),
3790 (hildon_pannable_area_scroll_indicator_fade),
3791 (hildon_pannable_area_button_press_cb),
3792 (hildon_pannable_area_timeout),
3793 (hildon_pannable_area_motion_notify_cb),
3794 (hildon_pannable_area_button_release_cb),
3795 (hildon_pannable_area_scroll_cb),
3796 (hildon_pannable_area_scroll_to): Removed the
3797 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3798 gdk_threads_add_timeout.
3800 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3802 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3807 * configure.ac: bump version
3808 * debian/changelog: updates
3810 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3812 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3813 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3814 * src/hildon-color-chooser-dialog.c:
3815 (hildon_color_chooser_dialog_init):
3816 * src/hildon-font-selection-dialog.c:
3817 (hildon_font_selection_dialog_init):
3818 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3820 Remove all cancel/close-like dialogs, as these are not going to be
3823 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3825 * src/hildon-note.c: (hildon_note_rebuild),
3826 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3829 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3831 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3833 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3834 sure all buttons are shown, even the Cancel/Close-like ones.
3836 Fixes: NB#90861 (Custom Confirmation dialogs should be
3837 protected from cancel button removal)
3839 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3841 * debian/control: Change libhildon1-examples dependency from libhildon1
3843 * debian/libhildon1-examples.install
3845 * Makefile.am: Modified the final install directory for the examples on
3846 package libhildon1-examples
3847 * Makefile.static: Update clean target in order to remove all the binary
3850 Changes suggested by Claudio after review new libhildon1-examples package
3852 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3854 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3855 * src/hildon-touch-selector.c: Ditto.
3857 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3859 * debian/control: Added new package libhildon1-examples, in order to pack
3860 the current hildon examples as documentation
3861 * debian/rules: Not to compress .c files, modify some includes on the
3862 examples (as normally are compiled locally, but when installed it will
3863 require to include the installed libhildon1 library), and rename
3865 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3866 install all the example files on the new example package
3867 * examples/Makefile.static: Added static makefile that can be used to
3868 compile the examples, once installed the new example package
3869 * examples: Most of the examples were modified in order to grant that
3870 all use only '#include "hildon.h"', in order to be easy to prepare
3871 it on the example package
3873 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3876 * debian/libhildon1-dev.install
3877 * debian/libhildon1-doc.install:
3878 Move all gtk-doc files to a separate libhildon1-doc package.
3880 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3882 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3884 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3886 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3888 * debian/rules: Fixed a error in order to avoid unnecessary calls
3889 to autogen.sh on package building
3891 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3893 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3895 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3897 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3900 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3902 * src/hildon-picker-button.c
3903 (hildon_picker_button_finalize):
3904 Free priv->done_button_text
3906 * src/hildon-time-button.c
3907 (hildon_time_button_set_time)
3908 * src/hildon-picker-button.c
3909 (hildon_picker_button_clicked)
3910 (hildon_picker_button_selector_selection_changed)
3911 (hildon_picker_button_set_selector)
3912 * src/hildon-date-button.c
3913 (hildon_date_button_set_date):
3914 Free strings returned by hildon_touch_selector_get_current_text()
3916 * src/hildon-button.c (hildon_button_construct_child):
3917 Fix leaks in priv->image and priv->label_box
3919 Fixes: NB#90535 (Memory leak in picker button)
3921 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3923 * src/hildon-button.c: (hildon_button_get_property): Do not access
3924 private elements directly, use getters instead.
3926 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3928 * src/hildon-app-menu-private.h
3929 * src/hildon-app-menu.c
3930 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3931 Store the menu's parent window.
3933 * src/hildon-stackable-window.c
3934 (hildon_stackable_window_toggle_menu)
3935 (hildon_stackable_window_finalize):
3936 Set the menu's parent window when the menu is shown, unset it when
3939 * src/hildon-app-menu.c
3940 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3941 (hildon_app_menu_class_init):
3942 Send unhandled keyboard accelerators to the parent window.
3944 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3946 * src/hildon-stackable-window.c
3947 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3949 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3951 * configure.ac: post release version bump
3953 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3956 * configure.ac: Bump version
3957 * debian/changelog: Updates
3958 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3961 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3963 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3966 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3967 GtkMenu with Hildon style.
3969 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3971 * src/hildon-picker-button.c:
3972 (hildon_picker_button_set_done_button_text): Set the dialog's
3973 done button text here as well.
3975 Fixes: NB#90232 (Picker button does not set the label on done button
3976 for the second time)
3978 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3980 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3983 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3985 * src/hildon-app-menu.c (hildon_app_menu_insert)
3986 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3987 the HildonAppMenu to be activatable using keyboard accelerators
3988 when the menu is not being shown.
3990 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3992 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3994 * src/hildon-stackable-window.c
3995 (hildon_stackable_window_show):
3996 Don't hide old windows automatically when new windows are shown:
3997 this is now a task for the window manager.
3998 (hildon_stackable_window_class_init)
3999 (hildon_stackable_window_hide):
4000 Remove windows from the stack everytime they're hidden.
4001 (hildon_stackable_window_realize):
4002 Don't change the _NET_WM_WINDOW_TYPE property. Use
4003 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4004 it as a stackable window.
4006 * src/hildon-program.c
4007 (hildon_program_pop_window_stack):
4008 Just hide the window to remove it from the stack.
4009 (hildon_program_go_to_root_window):
4010 Don't call gtk_widget_show(), this is now a task for the window
4013 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4015 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4017 * src/hildon-button.c
4018 (hildon_button_construct_child):
4019 Don't pack anything in the button until text or image are
4020 set. This allows adding a custom child after creating the button
4021 with hildon_button_new().
4022 (hildon_button_finalize, hildon_button_class_init)
4023 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4024 alignment and the label box even when they're not packed in the
4027 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4029 * src/hildon-touch-selector.h:
4030 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4031 currently the type definition was using GTK_TYPE_VBOX
4032 * src/hildon-touch-selector.c:
4033 Added some implementation notes in order to clarify that any other widget
4034 added without the column related API will not be included on the
4035 selection logic, and how the widget is freed, as some people ask about
4037 (hildon_touch_selector_remove): Reimplemented in order to free properly
4038 the column related data when you remove the private hbox.
4039 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4040 to get a proper HildonTouchSelectorColumn documentation
4042 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4044 * src/hildon-touch-selector-entry.c:
4045 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4046 text in the GtkEntry and there is no item selected. Fixes a
4049 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4051 * src/hildon-app-menu-private.h
4052 * src/hildon-app-menu.[ch]
4053 * src/hildon-button.[ch]
4054 * src/hildon-check-button.[ch]
4055 * src/hildon-entry.[ch]
4056 * src/hildon-pannable-area.[ch]
4057 * src/hildon-text-view.[ch]:
4058 Added private field to the object's structure.
4060 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4062 * configure.ac: post-release version bump
4064 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4068 * configure.ac: pre-release version bump
4070 * debian/changelog: updates.
4072 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4074 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4075 Disconnect the handler for HildonTouchSelector::changed.
4077 (hildon_picker_button_selector_selection_changed): Update the button
4078 value if the selection change was not triggered by the
4081 (hildon_picker_button_set_selector): connect to
4082 HildonTouchSelector::changed.
4084 Fixes: NB#89650 (Picker button is not updated, when selection in
4085 selector has changed)
4087 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4089 * src/hildon-picker-dialog.c
4090 (hildon_picker_dialog_realize): Removed as not required
4091 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4092 * src/hildon-picker-button.c
4093 (_current_selector_empty): New function, checks if the selector is empty
4094 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4095 if the current selector is empty, in order to avoid to show the dialog
4096 close the dialog in this case (and shows a g_warning).
4098 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4100 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4102 * src/hildon-pannable-area.c,
4103 (hildon_pannable_area_scroll): Added clause to stop movement when
4104 the child of pannable is smaller than one page.
4105 (hildon_pannable_area_scroll_to): Added conditions to avoid
4106 starting the scrolling movement if the child is smaller than one
4107 page, the complete child is in the screen, we do not have to move.
4109 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4111 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4113 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4114 this is managed automatically by the widget when the size of the
4117 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4119 * src/hildon-picker-button.c
4120 (hildon_picker_button_set_done_button_text): Make a copy of the
4121 text, and free the previous value.
4123 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4125 * src/hildon-touch-selector-entry.c:
4126 (hildon_touch_selector_entry_print_func): Return the selected row's
4127 text if the entry is empty.
4129 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4132 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4134 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4136 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4139 * src/hildon-check-button.h
4140 * src/hildon-check-button.c
4141 * examples/hildon-check-button-example.c:
4142 HildonCheckButton is now a new widget. 'toggled' signal added.
4144 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4146 * src/hildon-program-private.h
4147 * src/hildon-program.c (hildon_program_init)
4148 (hildon_program_finalize): Removed unused variables group_leader
4149 and name from HildonProgramPrivate.
4151 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4153 * src/hildon-check-button.c (hildon_check_button_set_active)
4154 (hildon_check_button_get_active, hildon_check_button_new): Use
4155 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4157 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4159 * src/hildon-touch-selector.h
4160 (hildon_touch_selector_set_column_attributes): added deprecation
4161 guard HILDON_DISABLE_DEPRECATED
4162 * src/hildon-time-selector.c
4163 (hildon_time_selector_set_time)
4164 (hildon_time_selector_get_time): Fixed a typo on documentation
4165 * src/hildon-touch-selector.c: update HildonTouchSelector and
4166 HildonTouchSelectorColumn documentation
4167 * src/hildon-touch-selector-entry.c: update "text-column" property
4169 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4170 to be added to the general documentation.
4172 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4174 * examples/hildon-pannable-area-example-4.c,
4176 * examples/hildon-pannable-area-example.c,
4177 (main): Modified the code in order to use the container add, with
4178 viewport treeviews could have problems if they are really big.
4180 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4182 * src/hildon-weekday-picker.c,
4183 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4184 the agreement regarding deprecation in the library.
4186 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4188 * examples/hildon-picker-button-multicolumn-example.c:
4189 (main): Use custom "done" button text.
4191 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4192 (hildon_picker_button_set_property),
4193 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4194 (hildon_picker_button_init),
4195 (+hildon_picker_button_get_done_button_text),
4196 (+hildon_picker_button_set_done_button_text): New methods to customize
4197 the "done" button label in the launched HildonPickerDialog. Also,
4200 * src/hildon-picker-button.h: add the public API.
4202 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4204 * src/hildon-date-selector.h:
4205 * src/hildon-picker-dialog.h:
4206 * src/hildon-time-selector.h:
4207 * src/hildon-touch-selector-column.h:
4208 * src/hildon-touch-selector.h:
4210 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4211 declarations. Fixes gtk-doc warnings.
4213 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4215 * src/hildon-picker-dialog.h
4216 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4217 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4219 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4220 long text is set as label for done button)
4222 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4224 * src/hildon-dialog.c (hildon_dialog_add_button):
4225 Set fixed width to all buttons in the HildonDialog.
4227 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4229 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4231 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4232 Set widget name using class name plus "-finger" or "-thumb".
4234 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4236 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4237 'clicked' when the state of the button is manually changed.
4239 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4241 * src/hildon-app-menu.c (hildon_app_menu_realize)
4242 (hildon_app_menu_unrealize, hildon_app_menu_init)
4243 (hildon_app_menu_class_init, item_visibility_changed):
4244 Change the menu layout when the size of the screen changes.
4245 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4246 Show warning only when changing the number of colums using the
4249 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4251 * debian/compat: Set to 5
4252 * debian/control: Update dependencies.
4253 * debian/libhildon1-dbg.install: Remove.
4254 * debian/libhildon1-dev.install: Update according to cdbs paths.
4255 * debian/libhildon1.install: Update according to cdbs paths.
4256 * debian/rules: Switch to cdbs.
4258 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4260 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4261 'item' variable renamed to 'filter'
4263 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4265 * src/hildon-app-menu.c (hildon_app_menu_insert)
4266 (hildon_app_menu_add_filter, remove_item_from_list)
4267 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4268 Don't leak hidden items when the menu is destroyed.
4270 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4272 * src/hildon-app-menu.c (hildon_app_menu_insert)
4273 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4274 (hildon_app_menu_set_columns, item_visibility_changed)
4275 (filter_visibility_changed, hildon_app_menu_repack_filters)
4276 (hildon_app_menu_repack_items):
4277 Repack items and filters separately.
4279 Don't repack all items, change only the ones that are needed to
4282 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4284 * src/Makefile.am: added hildon-touch-selector-column.h
4286 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4288 * src/hildon-touch-selector.c: added the property "text-column" to the
4289 class HildonTouchSelectorColumn, and related get/set functions
4290 (_default_printf_func): updated to use "text-column" property
4291 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4292 "text-column" in his documentation, as this is now included on
4293 HildonTouchSelectorColumn. The get/set_property can still be used,
4294 working as a wrapper to the concrete column "text-column" property
4295 (_text_column_modified): callback added in order to handle the signal
4296 "notify::text-column" of the concrete HildonTouchSelectorColumn
4297 (hildon_touch_selector_entry_get_text_column)
4298 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4299 modified in order to use the HildonTouchSelectorColumn "text-column"
4301 * src/hildon-time-selector.c:
4302 * src/hildon-date-selector.c:
4303 * examples/hildon-touch-selector-example.c
4304 * examples/hildon-touch-selector-multi-cells-example.c
4305 * examples/hildon-picker-button-multicolumn-example.c
4306 Set the right value to "text-column" property on the creation of a new
4307 column using hildon_touch_selector_append_column()
4309 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4311 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4313 * src/hildon-app-menu.c
4314 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4315 updating the layout of the menu, don't create all widgets again,
4316 just repack the items in their new places.
4318 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4320 * src/hildon-time-selector.c
4321 (hildon_time_selector_get_time)
4322 (hildon_time_selector_set_time)
4323 Added documentation of these public methods
4325 * src/hildon-date-button.h
4326 * src/hildon-touch-selector-column.h
4327 * src/hildon-time-button.h
4328 * src/hildon-picker-dialog.h
4329 * src/hildon-time-selector.h
4330 * src/hildon-picker-button.h
4331 * src/hildon-touch-selector.h
4332 * src/hildon-time-picker.h
4333 * src/hildon-date-selector.h
4334 * src/hildon-touch-selector-entry.h
4335 Modified in order to use hildon-widgets code style
4337 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4339 Added deprecated support to the compilation process using
4340 HILDON_DISABLE_DEPRECATED
4342 * configure.ac: Added the --disable-deprecated to the configure
4345 * src/hildon-weekday-picker.c:
4346 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4347 to use the deprecated support. We will update the other deprecated
4348 widgets status in a new patch.
4350 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4352 * configure.ac: Fixed typo with fatal warnings support, the
4353 variable name was not correct
4355 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4357 * src/hildon-app-menu.c
4358 * src/hildon-program.c: Update documentation.
4360 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4362 * configure.ac: Post-release version bump.
4364 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4369 * configure.ac: Pre-release version bump.
4370 * debian/changelog: Updates.
4372 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4374 * NEWS: Update news for previous releases.
4376 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4378 * examples/hildon-touch-selector-multi-cells-example.c:
4379 (create_selector): Update the example to use
4380 hildon_touch_selector_append_column() with a NULL renderer and set
4381 the renderers later.
4382 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4383 passed a NULL renderer. This is documented behavior now.
4385 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4386 This must be used if the developer wants full control on the layout of
4387 the renderers to be added to the column.
4389 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4391 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4393 * src/hildon-touch-selector.c: Documentation fixes.
4395 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4397 * src/hildon-wizard-dialog-private.h: Remove image and box.
4398 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4399 (hildon_wizard_dialog_set_property), (response): Completely remove
4400 image/icon support, and the containers required for the layout.
4402 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4404 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4406 * src/hildon-app-menu.c: Updated documentation.
4408 * src/hildon-stackable-window.c
4409 (hildon_stackable_window_set_main_menu): Unref the old menu after
4410 ref'ing the new one.
4412 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4414 * src/hildon-stackable-window.c
4415 (hildon_stackable_window_set_main_menu): Unref the previous menu
4416 instead of destroying it.
4418 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4419 floating reference and set has_user_ref_count to FALSE to make
4420 HildonAppMenu act like a normal ref-counted widget and not a
4423 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4426 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4428 * src/hildon-touch-selector-column.h: new file
4429 * src/hildon-touch-selector.h
4430 * src/hildon-touch-selector.c
4431 Implemented GtkCellLayout interface, in order to allow to configure
4432 the cell layout on each individual selector column
4433 (hildon_touch_selector_set_column_attributes): marked as deprecated
4434 * examples/hildon-touch-selector-multi-cells-example.c
4435 Example of how to use the GtkCellLayout interface on the selector
4437 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4439 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4441 * src/hildon-app-menu.h
4442 * src/hildon-app-menu.c
4443 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4444 (hildon_app_menu_append, hildon_app_menu_prepend):
4445 New methods to prepend, insert and move items in the menu.
4447 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4449 * src/hildon-wizard-dialog.c:
4451 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4453 (create_title): Update logical IDs and related code.
4454 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4456 * src/hildon-wizard-dialog.h: Note that
4457 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4458 point, as it is not used anymore.
4460 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4462 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4464 * src/hildon-note.c:
4465 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4466 shown. Do not display an icon in confirmation notes nor information
4468 (hildon_note_set_button_text): Update logical ID for cancel button.
4470 Fixes: NB#88850 (Update HildonNote button strings + signals)
4472 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4474 * src/hildon-stackable-window.c
4475 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4477 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4479 * src/hildon-app-menu-private.h
4480 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4481 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4482 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4483 temporary property 'columns' to change the number of columns.
4485 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4487 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4489 * examples/hildon-note-example.c: (on_information_clicked),
4490 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4491 debugging information.
4492 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4494 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4495 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4496 in order to close: this will be handled by the WM from now on.
4498 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4500 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4502 * src/hildon-app-menu-private.h
4503 * src/hildon-app-menu.c
4504 (hildon_app_menu_append, hildon_app_menu_add_filter)
4505 (button_visibility_changed, hildon_app_menu_apply_style)
4506 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4507 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4508 layout everytime a button (item or filter) is shown or hidden.
4510 * src/hildon-stackable-window.c
4511 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4514 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4516 * src/hildon-touch-selector.c:
4517 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4518 that the treeview inside the touch selector is in fremantle hildon mode
4519 * examples/hildon-date-button-example.c
4520 * examples/hildon-picker-button-multicolumn-example.c
4521 * examples/hildon-touch-selector-entry-example.c
4522 * examples/hildon-touch-selector-example.c
4523 * examples/hildon-time-button-example.c
4524 * examples/hildon-picker-button-example.c:
4525 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4527 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4529 * examples/hildon-text-view-example.c: (main): Remove the
4530 gtkrc bits, now handled by the theme.
4532 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4534 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4537 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4539 * po/Makefile.am: Install properly the mo files.
4540 * po/en_GB.po: Update translation, to ease testing purposes.
4542 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4544 * examples/hildon-picker-button-example.c: (main): Select an item
4545 in the selector before setting it to the button.
4547 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4549 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4550 Update button's value if the selector has an item active.
4552 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4553 'value' with the selector)
4555 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4557 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4558 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4559 (hildon_picker_button_class_init): Plug the finalize method.
4560 (hildon_picker_button_set_selector): If there's a previously set
4561 selector, unref'it before setting a new one.
4563 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4564 HildonTouchSelector)
4566 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4568 * src/hildon-touch-selector-entry.c:
4569 (hildon_touch_selector_entry_changed): Check if there is no text
4570 selected before setting the entry text.
4573 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4575 * src/hildon-touch-selector.h
4576 * src/hildon-touch-selector.c
4577 (hildon_touch_selector_get_active)
4578 (hildon_touch_selector_set_active): New methods to set/get the
4579 index of the selected item.
4581 * src/hildon-picker-button.h
4582 * src/hildon-picker-button.c
4583 (hildon_picker_button_get_active)
4584 (hildon_picker_button_set_active): New methods to set/get the
4585 index of the selected item.
4587 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4589 * configure.ac: post-release version bump.
4591 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4595 * configure.ac: Pre-release version bump.
4596 * debian/changelog: Updates.
4597 * debian/control: Add myself as maintainer and depend on l10n
4600 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4602 * src/hildon-window.c
4603 (hildon_window_set_main_menu)
4604 * src/hildon-stackable-window.c
4605 (hildon_stackable_window_set_main_menu):
4606 Updated documentation.
4608 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4610 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4611 Don't free selector->priv manually.
4614 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4617 (hildon_gtk_window_set_progress_indicator):
4618 * src/hildon-gtk.h: Added the new API
4619 hildon_gtk_window_set_progress_indicator, it changes the state of
4620 the window progress hint.
4622 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4624 * src/hildon-button.c
4625 * src/hildon-stackable-window.c: Minor documentation updates.
4627 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4629 * src/hildon-stackable-window.c: Updated documentation.
4631 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4633 * src/hildon-defines.h: Update margins definitions
4634 to the Fremantle sizes.
4637 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4639 * src/hildon-touch-selector.c,
4640 (_hildon_touch_selector_set_model): Cleaning the code after
4641 review, removed g_print and #if 0 from the code.
4643 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4645 * src/hildon-edit-toolbar.c: Update documentation.
4647 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4649 * src/hildon-check-button.h
4650 * src/hildon-check-button.c
4651 (hildon_check_button_set_label, hildon_check_button_get_label)
4652 * examples/hildon-check-button-example.c
4653 (button_clicked_cb):
4654 Removed deprecated methods.
4656 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4658 * src/hildon-text-view.c:
4659 Add sample code to the documentation.
4661 * src/hildon-entry.h
4662 * src/hildon-text-view.h:
4663 Minor cosmetic changes.
4665 * src/hildon-entry.c:
4666 Add sample code to the documentation.
4667 (hildon_entry_init, hildon_entry_refresh_contents):
4668 Don't allow NULL values in the placeholder.
4670 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4672 * doc/hildon-docs.sgml
4674 * examples/Makefile.am
4675 * examples/hildon-text-view-example.c
4677 * src/hildon-text-view.c
4678 * src/hildon-text-view.h
4680 New HildonTextView widget, with example.
4682 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4684 * po/POTFILES.in: Add missing files with translatable strings.
4685 Partially fixes NB#88287.
4687 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4689 * examples/hildon-pannable-area-example-2.c: (main): No need to
4690 set the cellrenderer height inside hildon touch lists, the theme does
4693 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4695 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4696 they are integrated in the theme.
4698 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4700 * examples/hildon-entry-example.c: Update the example adding
4701 widgets to modify the text and the placeholder of the HildonEntry.
4703 * src/hildon-entry.c: Show the placeholder everytime the widget
4704 is empty and loses the focus.
4706 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4708 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4710 * src/hildon-pannable-area.c,
4711 (hildon_pannable_area_size_request): Fixed bug in height
4712 requisition, avoid increasing size and add border twice.
4714 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4716 * configure.ac: postrelease version bump.
4718 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4722 * configure.ac: Prerelease version bump.
4723 * debian/changelog: update.
4724 * debian/rules: make -dbg package contain useful debugging symbols.
4726 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4728 * src/hildon-dialog.h
4729 * src/hildon-dialog.c
4730 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4731 New methods to add buttons with finger size.
4732 (hildon_dialog_new_with_buttons):
4733 Create buttons with finger size.
4735 * examples/hildon-dialog-example.c (main): Use HildonDialog
4736 methods to add buttons.
4738 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4740 * src/hildon-entry.c: Updated HildonButton documentation.
4742 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4744 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4745 button value label with (FALSE, FALSE) to prevent NB#88126 from
4748 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4750 * examples/hildon-pannable-area-example.c,
4751 (main): Removed examples panning a vbox inside a pannable
4752 area. Check bug NB#87965
4754 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4756 Patch contributed by Kris Rietveld (kris@imendio.com)
4758 * src/hildon-pannable-area.c,
4759 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4760 get_size and get_position, this saves an X server roundtrip.
4762 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4764 * doc/hildon-docs.sgml
4766 * examples/Makefile.am
4767 * examples/hildon-entry-example.c
4769 * src/hildon-entry.c
4770 * src/hildon-entry.h
4772 New HildonEntry widget, with example.
4774 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4776 * src/hildon-button.c (hildon_button_construct_child): Pack the
4777 image with expand == fill == FALSE. This is a workaround for a bug
4780 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4782 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4783 labels for the text column, to make it more look more dynamic.
4785 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4787 * src/hildon-time-selector.c
4788 Define gettext auxiliar macro N_
4789 (_create_minutes_model)
4790 (_create_hours_model)
4791 (_create_ampm_model): use of strftime in order to fill the model
4792 * src/hildon-date-selector.c
4793 (hildon_date_selector_finalize):
4794 (_locales_init): remove the logic related to get the name of the months
4795 using nl_langinfo, as it is not required anymore
4797 (_create_year_model)
4798 (_create_month_model)
4799 (_update_day_model): use of strftime in order to fill the model properly
4802 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4804 * src/hildon-button.h
4805 * src/hildon-button.c (hildon_button_get_image): New method to
4808 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4810 * src/hildon-touch-selector.c:
4811 (hildon_touch_selector_remove_column): Remove from the correct parent
4812 and also remove the list element and free it.
4815 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4817 * src/hildon-time-selector.c
4818 (_create_hours_model): change the range on 12h ampm format in order to use
4819 a 12-11 range instead of previous 01-12 range
4820 (hildon_time_selector_set_time): change the way to select the current time
4821 on 12h ampm format, due the change on the range
4822 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4825 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4827 * src/hildon-touch-selector.c
4828 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4829 in order to allow use this function on multiple row selection mode if
4830 the column is different that the first one
4833 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4835 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4836 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4838 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4840 * src/hildon-date-selector.h: clean some comments, now on the .c
4841 * src/hildon-date-selector.c
4842 (hildon_date_selector_select_month): first implementation
4843 (hildon_date_selector_select_day): added documentation, reimplemented
4844 using hildon_date_selector_select_current_date to avoid repeat code
4847 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4849 Reviewed interaction logic based on device experiences, refactored
4852 * src/hildon-pannable-area.c,
4853 (hildon_pannable_area_class_init): Updated default vmax speed.
4854 (hildon_pannable_area_calculate_velocity): Added this function, it
4855 avoids duplicate valocity calculation. Adjusted calculation to
4856 avoid problems with zero dist events.
4858 (hildon_pannable_area_motion_notify_cb): Now we use the
4859 calculate_velocity function.
4861 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4863 * src/hildon-date-selector.c
4864 (hildon_date_selector_select_current_date): fix the day range check
4865 as it failed using the last day of the current month
4868 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4870 * src/hildon-touch-selector.c
4871 (hildon_touch_selector_get_num_columns): added a parameter validation
4874 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4876 * examples/Makefile.am
4877 * examples/hildon-edit-toolbar-example.c: Example of the
4878 HildonEditToolbar widget.
4880 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4882 * configure.ac: postrelease version bump.
4884 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4888 * configure.ac: prerelease version bump.
4889 * debian/changelog: update.
4891 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4893 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4894 renderer to display stock icons in the touch list. Also, set the sizes
4895 to the recommended in the style guide.
4897 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4898 * src/hildon-touch-selector.h
4899 (hildon_touch_selector_set_active_iter): renamed, now is
4900 hildon_touch_selector_select_iter
4901 (hildon_touch_selector_get_active_iter): renamed, now is
4902 hildon_touch_selector_get_selected
4903 (hildon_touch_selector_unselect_iter): added
4904 * src/hildon-touch-selector.c
4905 Update after API modification (methods renamed)
4906 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4907 order to avoid problems selecting multiple elements on the column
4908 (hildon_touch_selector_unselect_iter): added the implementation
4909 * src/hildon-time-selector.c
4910 * src/hildon-date-selector.c
4911 * src/hildon-touch-selector-entry.c
4912 Update methods calls after hildon-touch-selector.h API modification (methods
4915 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4917 * src/hildon-stackable-window.c
4918 (hildon_stackable_window_finalize): Call the parent class's finalize.
4920 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4922 * examples/hildon-touch-selector-example.c: (create_selector): Use
4923 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4926 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4928 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4929 set a cell background color, to respect theming.
4931 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4933 * doc/hildon-docs.sgml
4936 * src/hildon-edit-toolbar.c
4937 * src/hildon-edit-toolbar.h
4938 * src/hildon.h: New HildonEditToolbar widget.
4940 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4942 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4945 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4946 * src/hildon-touch-selector.c
4947 (_create_new_column): use g_object_set instead of two g_object_set_property
4949 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4950 * src/hildon-touch-selector.c
4951 (_create_new_column): use of hildon_gtk_tree_view_new to create
4952 the treeview, instead of use directly g_object_new
4953 (_create_new_column): update the property name "vindicator-mode" for the
4954 new one "vscrollbar-policy"
4955 * examples/hildon-date-button-example.c
4956 * examples/hildon-picker-button-multicolumn-example.c
4957 * examples/hildon-touch-selector-entry-example.c
4958 * examples/hildon-touch-selector-example.c
4959 * examples/hildon-time-button-example.c
4960 * examples/hildon-picker-button-example.c
4961 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4962 to all the treeviews inside a pannable area.
4964 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4966 * src/hildon-button.h
4967 * src/hildon-button.c (hildon_button_init)
4968 (hildon_button_set_arrangement, hildon_button_set_alignment)
4969 (hildon_button_set_title_alignment)
4970 (hildon_button_set_value_alignment)
4971 (hildon_button_set_image_alignment)
4972 (hildon_button_construct_child): New methods to set the alignment
4973 of the individual components of the button (title, value,
4974 image). Also, new method to alter the xscale and yscale properties
4975 of the GtkAlignment inside the button, so more complex layouts can
4978 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4980 * src/hildon-button.c (hildon_button_style_set)
4981 (hildon_button_class_init, hildon_button_set_arrangement)
4982 (hildon_button_construct_child): Apply style properties
4983 correctly. Use the 'image-spacing' style property too.
4985 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4987 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4988 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4991 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4993 * src/hildon-pannable-area.c,
4994 (hildon_pannable_area_size_request): Fixed problem with
4995 pannable-area size_request.
4997 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4999 Added management for the grab-focus to a child widget, like a
5000 range, we need to fade out the scrollbar when releasing.
5002 * src/hildon-pannable-area.c,
5003 (hildon_pannable_area_init): Connected the grab-focus signal to
5005 (hildon_pannable_area_grab_notify): Added this function in order
5006 to manage the situation when the grab-focus ends. We have to
5007 fade-out the scrollbar.
5009 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5011 * src/hildon-app-menu.c: Minor documentation update.
5013 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5015 * src/hildon-app-menu.c
5016 * examples/hildon-app-menu-example.c (create_menu): Update
5017 examples and documentation to explain how to connect callbacks.
5019 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5021 * examples/hildon-button-example.c
5022 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5023 hildon_stackable_window_new instead of gtk_window_new
5025 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5027 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5028 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5029 (hildon_pannable_area_set_property),
5030 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5031 (hildon_pannable_area_unrealize),
5032 (hildon_pannable_area_size_request),
5033 (hildon_pannable_area_size_allocate),
5034 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5035 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5036 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5037 (hildon_pannable_area_initial_effect),
5038 (hildon_pannable_area_redraw),
5039 (hildon_pannable_area_scroll_indicator_fade),
5040 (hildon_pannable_area_expose_event),
5041 (hildon_pannable_area_get_topmost), (synth_crossing),
5042 (hildon_pannable_area_button_press_cb),
5043 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5044 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5045 (hildon_pannable_area_motion_notify_cb),
5046 (hildon_pannable_area_button_release_cb),
5047 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5048 (hildon_pannable_area_remove),
5049 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5050 chage the code layout to a more GtkWidget like. Review the use of
5053 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5055 * examples/hildon-pannable-area-example-4.c,
5056 (main): Modified the name of the hindicator_mode to
5059 * src/hildon-pannable-area.c,
5060 (hildon_pannable_area_class_init),
5061 (hildon_pannable_area_motion_notify_cb),
5062 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5063 we have reduced the amount of signals and managed reviewed its
5064 rationale. Changed the default decelerate value.
5066 (hildon_pannable_area_add),
5067 (hildon_pannable_area_redraw): Refactored functions.
5069 (hildon_pannable_area_init),
5070 (hildon_pannable_area_get_property),
5071 (hildon_pannable_area_set_property):
5072 (hildon_pannable_draw_vscroll),
5073 (hildon_pannable_draw_hscroll),
5074 (hildon_pannable_area_initial_effect),
5075 (hildon_pannable_area_expose_event),
5076 (hildon_pannable_area_scroll),
5077 (hildon_pannable_area_button_press_cb),
5078 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5079 and vindicator_mode with hscrollbar_policy and
5080 vscrollbar_policy. Replaced hscroll and vscroll with
5081 hscroll_visible and vscroll_visible.
5083 (hildon_pannable_area_refresh): Refactor the function, remove
5084 variables and check the calls to this function, added resize
5085 conditions in case the children change their layout.
5087 (hildon_pannable_area_size_request): Added more detailed
5088 size_request calculation.
5091 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5093 * src/hildon-color-chooser.c
5094 (init_borders): use the correct gtk_border_free instead of g_free, to
5095 avoid a crash when this widget is used (ie: the three color selection
5098 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5100 * src/hildon-check-button.c,
5101 (hildon_check_button_set_active): Fixed problem when setting the
5102 active value, the widget was not redrawn.
5104 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5106 * src/hildon-pannable-area.c,
5107 (hildon_pannable_area_refresh),
5108 (hildon_pannable_area_scroll),
5109 (hildon_pannable_area_motion_notify_cb): Small code style change.
5111 (hildon_pannable_area_class_init): Default initial_hint set to
5112 FALSE, it is not in the specs.
5114 (hildon_pannable_area_initial_effect),
5115 (hildon_pannable_area_expose_event),
5116 (hildon_pannable_area_map),
5117 (hildon_pannable_area_init): Moved the launching point of the
5118 initial effect, it was in map but the sizes where not correct in
5119 that method so we do not know if we have the reproduce it. Now it
5120 is placed in the expose_event method and uses a variable to
5121 reproduce it just once.
5123 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5125 * src/hildon-pannable-area.c,
5126 (hildon_pannable_draw_vscroll),
5127 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5128 position allowed for the scrollbars.
5130 (hildon_pannable_area_size_allocate): Small style change.
5132 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5134 * src/hildon-pannable-area.c,
5135 (hildon_pannable_area_scroll_indicator_fade),
5136 (hildon_pannable_area_button_press_cb),
5137 (hildon_pannable_area_button_release_cb),
5138 (hildon_pannable_area_scroll_cb),
5139 (hildon_pannable_area_expose_event),
5140 (hildon_pannable_area_init): Added the define parameter
5141 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5142 and refactor the fade variable.
5144 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5146 * src/hildon-pannable-area.c,
5147 (hildon_pannable_area_redraw),
5148 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5149 lines, we were reimplemeting the redraw code.
5151 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5153 * src/hildon-pannable-area.c,
5154 (hildon_pannable_area_scroll_cb),
5155 (hildon_pannable_area_realize),
5156 (hildon_pannable_area_class_init): Added scroll_event management
5157 for pannable area, now we can scroll the usual desktop method.
5159 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5160 initialization of the parameters should depend on idle_id.
5162 (hildon_pannable_area_init),
5163 (hildon_pannable_area_map): Small code style modifications
5165 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5167 * src/hildon-pannable-area.c
5168 (hildon_pannable_area_button_press_cb),
5169 (hildon_pannable_area_motion_notify_cb),
5170 (hildon_pannable_area_button_release_cb),
5171 (hildon_pannable_area_size_allocate),
5172 (hildon_pannable_area_scroll_to): Improved the timeouts
5173 management, we avoid creating them each time.
5175 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5177 * src/hildon-pannable-area.c:
5178 (hildon_pannable_area_refresh),
5179 (hildon_pannable_area_motion_notify_cb),
5180 (hildon_pannable_area_class_init):
5181 * src/hildon-pannable-area.h:
5182 * src/hildon-touch-selector.c
5183 (_create_new_column):
5184 * examples/hildon-pannable-area-example-4.c:
5185 (horizontal_movement),
5186 (vertical_movement),
5188 Replaced the names of enums in the HildonPannableArea:
5189 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5190 HILDON_MOVEMENT_MODE_*
5191 - HILDON_PANNABLE_AREA_MOV_* ->
5193 - Removed HildonPannableAreaIndicatorMode, now we
5196 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5198 * examples/hildon-pannable-area-touch-grid-example.c
5199 * examples/hildon-pannable-area-touch-list-example.c: Fix
5200 compilation warnings.
5202 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5204 * src/hildon-gtk.c (hildon_gtk_button_new)
5205 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5206 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5207 images overriding the value of the "gtk-button-images" setting.
5209 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5211 * src/hildon-check-button.c (hildon_check_button_new):
5212 Instead of using a custom container, display the label and the
5213 checkbox using the standard GtkButton API.
5215 * examples/hildon-check-button-example.c (main): Don't use
5216 hildon_check_button_set_label() anymore
5218 * src/hildon-check-button.h
5219 * src/hildon-check-button.c
5220 (hildon_check_button_set_label, hildon_check_button_get_label):
5221 Set as deprecated, now we're using gtk_button_{get,set}_label()
5223 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5225 * src/hildon-pannable-area.c,
5226 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5227 GtkTreeview first line we detected it after the inclusion of the
5228 GtkWindowImpl in gtk+. We now check if the window is visible, not
5229 just if the pointer is over the window.
5230 (hildon_pannable_axis_scroll),
5231 (hildon_pannable_area_expose_event): Small style changes.
5233 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5235 * src/hildon-button.c: Update documentation.
5237 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5239 * examples/hildon-button-example.c: Add a switch to show images in
5242 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5244 * doc/hildon-docs.sgml: Some docs reorganization.
5246 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5248 * examples/hildon-pannable-area-touch-list-example.c
5250 * examples/hildon-pannable-area-touch-grid-example.c
5251 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5252 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5253 Fix memory leak when setting the tree model.
5255 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5259 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5261 * doc/hildon.types: Remove duplicated hildon_window_get_type
5262 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5263 documentation comment.
5265 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5267 * doc/Makefile.am: Complete list of private headers.
5269 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5271 * doc/hildon-docs.sgml
5272 * src/hildon-app-menu.c
5273 * src/hildon-bread-crumb.c
5274 * src/hildon-button.c
5276 * src/hildon-program.c
5277 * src/hildon-stackable-window.c
5278 * src/hildon-window.c: Lots of documentation updates.
5280 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5282 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5284 * configure.ac: Require Gtk+ 2.12.9 at least
5286 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5288 * src/hildon-pannable-area.c
5289 (hildon_pannable_area_scroll_indicator_fade),
5290 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5291 to protect the return of this timeout callbacks, avoiding deadlocks.
5293 2008-08-12 Christian Dywan <christian@imendio.com>
5296 * src/hildon-*.h: Ensure a consistent include order,
5297 include <gtk/gtk.h> instead of particular files and
5298 only include the topmost header in the gtk stack. See NB #39857
5300 2008-08-12 Christian Dywan <christian@imendio.com>
5302 * src/hildon-picker-dialog.c
5303 * src/hildon-touch-selector.c: Fix warnings about unused and
5304 uninitialized variables.
5306 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5308 * examples/Makefile.am
5309 * examples/hildon-check-button-example.c: Example of the hildon
5312 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5314 * src/hildon-window.h
5315 * src/hildon-window.c (hildon_window_class_init)
5316 (hildon_window_unset_program): Don't make
5317 hildon_window_unset_program a virtual function anymore.
5319 * src/hildon-stackable-window.c: Update documentation
5321 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5324 * doc/hildon-docs.sgml
5325 * doc/visual_index.xml
5326 * src/hildon-defines.c
5328 * src/hildon-helper.c
5329 * src/hildon-range-editor.c: Lots of documentation fixes.
5331 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5333 * examples/hildon-picker-button-multicolumn-example.c
5334 (create_touch_selector): Fix compilation warning.
5336 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5338 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5339 (hildon_pannable_area_button_release_cb)
5340 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5342 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5344 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5347 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5349 * src/hildon-bread-crumb-trail.h
5350 * src/hildon-date-editor.c
5351 * src/hildon-date-selector.c
5352 * src/hildon-pannable-area.c
5353 * src/hildon-picker-dialog.c
5354 * src/hildon-time-selector.c
5355 * src/hildon-touch-selector-entry.c
5356 * src/hildon-touch-selector.c
5357 * src/hildon-touch-selector.h: Misc documentation fixes
5359 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5361 * examples/hildon-date-editor-example.c (main): Updated date
5364 * examples/hildon-note-example.c (on_confirmation_clicked):
5365 Updated confirmation note example.
5367 * src/hildon-date-editor.c
5368 * src/hildon-note.c: Updated sample programs in documentation.
5371 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5373 * src/hildon-date-button.h:
5374 * src/hildon-picker-button.h:
5375 * src/hildon-time-button.c:
5376 * src/hildon-time-button.h:
5378 Some declarations changes to allow gtk-doc to document the widgets
5381 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5383 * src/hildon-date-button.c: Document the widget.
5384 * src/hildon-time-button.c: Document the widget.
5386 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5388 * src/hildon-picker-button.c: Document the widget.
5389 * src/hildon-touch-selector-entry.c: Document the widget.
5391 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5393 * doc/hildon-docs.sgml
5396 * src/hildon-check-button.h
5397 * src/hildon-check-button.c: New functions to create the Hildon
5401 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5403 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5405 * src/hildon-button.h
5406 * src/hildon-button.c
5407 (hildon_button_add_title_size_group)
5408 (hildon_button_add_value_size_group)
5409 (hildon_button_add_image_size_group)
5410 (hildon_button_add_size_groups): New functions to set size groups
5411 for the button labels and image.
5412 (hildon_button_new_full): Removed
5414 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5416 * src/hildon-time-selector.c
5417 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5418 in order to avoid a crash if gconf is not available
5420 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5422 * src/hildon-button.c (hildon_button_set_arrangement)
5423 (hildon_button_construct_child): Don't construct the button child
5424 before setting the arrangement.
5426 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5428 * src/hildon-program-private.h
5429 * src/hildon-program.c
5430 * src/hildon-program.h
5431 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5432 (hildon_program_peek_window_stack)
5433 (hildon_program_pop_window_stack)
5434 (hildon_program_go_to_root_window): HildonProgram now has a
5435 separate list for stackable windows. Functions are provided to
5436 manage that list with a stack-like API.
5438 * src/hildon-stackable-window.c: Stackable window management is
5439 now much simpler with the new HildonProgram API. Windows no
5440 longer need to be manually added to the program, they're
5441 automatically pushed to the top of the stack when shown.
5443 * examples/hildon-stackable-window-example.c: Updated example to
5444 reflect the API changes.
5446 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5448 * src/hildon-touch-selector.c: Comment out unimplemented
5449 hildon_touch_selector_insert_column() to avoid a compile warning.
5451 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5453 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5454 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5455 (hildon_touch_selector_set_column_selection_mode),
5456 (_hildon_touch_selector_set_model),
5457 (hildon_touch_selector_set_model):
5459 Complete review of HildonTouchSelector documentation.
5461 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5463 * doc/hildon-docs.sgml
5467 * src/hildon-gtk.c: Convenience functions for standard Gtk
5468 widgets, used to easily perform frequent operations.
5470 * src/hildon-button-helpers.h
5471 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5473 * src/hildon-helper.h
5474 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5475 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5477 * src/hildon-button.h
5478 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5480 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5482 * src/hildon-button.c (hildon_button_init)
5483 (hildon_button_set_arrangement, hildon_button_construct_child):
5484 Pack the image and the labels inside the same GtkAlignment so
5485 gtk_button_set_alignment() can be used
5487 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5489 * src/hildon-button.h
5490 * src/hildon-button.c
5491 (hildon_button_init, hildon_button_set_image)
5492 (hildon_button_set_image_position)
5493 (hildon_button_construct_child): New functions to add an image to
5496 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5498 * src/hildon-date-button.c
5499 * src/hildon-picker-button.c
5500 * src/hildon-time-button.c
5501 * src/hildon-button.c:
5502 (hildon_button_class_init): "size-flags" renamed to "size"
5503 (hildon_button_set_title): Hide the title label if set to NULL.
5505 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5507 HildonButtonFlags split into HildonButtonArrangement (to set the
5508 button layout) and HildonSizeType (which can be used for any
5511 * src/hildon-button.h
5512 * src/hildon-button.c
5513 (hildon_button_class_init)
5514 (hildon_button_set_arrangement)
5515 (hildon_button_set_property): New "size-flags"
5516 property. "arrangement-flags" renamed to "arrangement".
5517 (hildon_button_new, hildon_button_new_with_text)
5518 (hildon_button_new_full): Constructors updated to reflect type changes.
5520 * src/hildon-helper.h
5521 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5522 to set the size of a widget.
5526 * src/hildon-button-helpers.c
5527 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5529 * src/hildon-date-button.c
5530 * src/hildon-date-button.h
5531 * src/hildon-picker-button.c
5532 * src/hildon-picker-button.h
5533 * src/hildon-time-button.c
5534 * src/hildon-time-button.h: Updated widgets to reflect
5535 HildonButton API changes.
5537 * examples/hildon-button-example.c
5538 * examples/hildon-date-button-example.c
5539 * examples/hildon-picker-button-example.c
5540 * examples/hildon-picker-button-multicolumn-example.c
5541 * examples/hildon-time-button-example.c
5542 * examples/hildon-touch-selector-entry-example.c
5543 * examples/hildon-touch-selector-example.c: Updated examples to
5544 reflect HildonButton API changes.
5546 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5548 * doc/hildon-docs.sgml:
5550 * examples/Makefile.am:
5551 * examples/hildon-touch-selector-entry-example.c:
5553 * src/hildon-touch-selector-entry.c:
5554 * src/hildon-touch-selector-entry.h:
5557 Moved HildonTouchSelectorEntry from sandbox. Added its
5558 documentation and examples.
5560 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5562 * src/hildon-touch-selector.h:
5563 * examples/hildon-picker-button-multicolumn-example.c:
5564 (hildon_touch_selector_append_text_column): Add a gboolean
5565 parameter to determine if text must be centered in the column.
5567 * src/hildon-date-selector.c: (hildon_date_selector_init):
5568 * src/hildon-time-selector.c: (hildon_time_selector_init):
5569 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5570 (create_touch_selector): Update widgets and example to reflect
5573 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5575 * src/hildon-touch-selector.c:
5576 (hildon_touch_selector_set_active_iter): Set also the cursor in
5579 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5581 * doc/hildon-docs.sgml
5584 * src/hildon-toggle-button.c
5585 * src/hildon-toggle-button.h
5586 * src/hildon.h: Removed HildonToggleButton widget, a derived
5587 class is not necessary for this.
5589 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5591 * src/hildon-pannable-area.c,
5592 (hildon_pannable_area_realize),
5593 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5596 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5598 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5599 "done" button the default widget for the dialog.
5601 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5603 * src/hildon-touch-selector.c:
5604 (hildon_touch_selector_class_init),
5605 (hildon_touch_selector_get_property),
5606 (_hildon_touch_selector_set_model),
5607 (_hildon_touch_selector_has_multiple_selection),
5608 (hildon_touch_selector_has_multiple_selection):
5609 Add a "has-multiple-selection" property with a virtual
5610 has_multiple_selection() method to allow derived classes to
5611 override the default value for it. See the method and property
5612 documentation for details.
5614 * src/hildon-touch-selector.h: Add the new API.
5616 * src/hildon-picker-dialog.c: (requires_done_button): Call
5617 hildon_touch_selector_has_multiple_selection() instead of
5618 determining the need for a button itself.
5620 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5622 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5623 (_hildon_touch_selector_set_model),
5624 (hildon_touch_selector_set_model): Move working code to
5625 _hildon_touch_selector_set_mode(). Call the class method instead.
5627 * src/hildon-touch-selector.h: Add (*set_model) to
5628 HildonTouchSelectorClass.
5630 Make hildon_touch_selector_set_model() a virtual method, so that
5631 derived classes can extend it and do fancy stuff with the model.
5633 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5635 * configure.ac: Set back the tarname in AC_INIT to hildon.
5637 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5641 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5642 instead of libesd (NB#86876). Volume handling is still an open issue.
5644 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5647 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5649 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5650 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5651 derived class to ease placement of an entry widget in
5652 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5653 end, where the selector columns are packed now.
5655 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5657 * src/hildon-picker-button.c: Removed the simple _text() API.
5658 * src/hildon-picker-button.h: Likewise.
5660 * src/hildon-touch-selector.h:
5661 * src/hildon-touch-selector.c:
5662 (hildon_touch_selector_new_text),
5663 (hildon_touch_selector_append_text),
5664 (hildon_touch_selector_prepend_text),
5665 (hildon_touch_selector_insert_text):
5667 Moved the simple _text() API from HildonPickerButton to
5668 HildonTouchPicker, to provide better escalability and not to tie
5669 that API to HildonPickerButton.
5671 * examples/hildon-picker-button-example.c: (main): Example updated.
5673 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5675 * src/hildon-button.c: Updated documentation.
5677 * examples/hildon-button-example.c: Add the posibility to create
5678 the buttons using horizontal layout for title and value.
5680 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5682 * src/hildon-app-menu-private.h
5683 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5684 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5685 GtkSizeGroup for the filters, use the 'homogeneous' property of
5688 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5690 * examples/hildon-button-example.c: Updated example.
5692 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5694 * doc/hildon-docs.sgml:
5697 Update documentation.
5699 * examples/Makefile.am: Update renamed examples.
5701 * examples/hildon-picker-button-multicolumn-example.c:
5702 (create_touch_selector), (main): Update after the rename.
5704 * examples/hildon-touch-picker-example.c: Removed.
5705 * examples/hildon-touch-selector-example.c: (value_changed),
5706 (create_selector), (get_visible_content), (main): Renamed from
5707 hildon-touch-picker-example.c
5709 * src/Makefile.am: Updated renamed files.
5711 * src/hildon-date-button.c: (hildon_date_button_init),
5712 (hildon_date_button_get_date), (hildon_date_button_set_date):
5713 * src/hildon-date-selector.c: (hildon_date_selector_init),
5714 (_custom_print_func), (_update_day_model),
5715 (_manage_selector_change_cb),
5716 (hildon_date_selector_select_current_date),
5717 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5718 * src/hildon-date-selector.h:
5719 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5720 (hildon_picker_button_set_property),
5721 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5722 (hildon_picker_button_init), (hildon_picker_button_new_text),
5723 (hildon_picker_button_append_text),
5724 (hildon_picker_button_prepend_text),
5725 (hildon_picker_button_insert_text),
5726 (hildon_picker_button_set_selector),
5727 (hildon_picker_button_get_selector):
5728 * src/hildon-picker-button.h:
5729 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5730 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5731 (_update_title_on_selector_changed_cb), (requires_done_button),
5732 (_hildon_picker_dialog_set_selector),
5733 (hildon_picker_dialog_set_selector),
5734 (hildon_picker_dialog_get_selector):
5735 * src/hildon-picker-dialog.h:
5736 * src/hildon-time-button.c: (hildon_time_button_init),
5737 (hildon_time_button_get_time), (hildon_time_button_set_time):
5738 * src/hildon-time-selector.c: (hildon_time_selector_init),
5739 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5740 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5741 * src/hildon-time-selector.h:
5744 Massive code updates after the rename.
5746 * src/hildon-touch-picker.c: Removed.
5747 * src/hildon-touch-picker.h: Removed.
5749 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5750 (hildon_touch_selector_init), (hildon_touch_selector_map),
5751 (hildon_touch_selector_remove), (_default_print_func),
5752 (_selection_changed_cb), (_create_new_column),
5753 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5754 (hildon_touch_selector_append_text_column),
5755 (hildon_touch_selector_remove_column),
5756 (hildon_touch_selector_set_column_attributes),
5757 (hildon_touch_selector_insert_column),
5758 (hildon_touch_selector_get_num_columns),
5759 (hildon_touch_selector_get_column_selection_mode),
5760 (hildon_touch_selector_set_column_selection_mode),
5761 (hildon_touch_selector_set_print_func),
5762 (hildon_touch_selector_get_print_func),
5763 (hildon_touch_selector_get_active_iter),
5764 (hildon_touch_selector_set_active_iter),
5765 (hildon_touch_selector_get_selected_rows),
5766 (hildon_touch_selector_get_model),
5767 (hildon_touch_selector_set_model),
5768 (hildon_touch_selector_get_current_text),
5769 (_hildon_touch_selector_center_on_selected_items):
5770 * src/hildon-touch-selector.h: Renamed from
5771 hildon-touch-picker.[ch]
5773 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5774 references, code examples, and related documentation.
5776 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5778 * doc/hildon-docs.sgml
5781 * src/hildon-toggle-button.c
5782 * src/hildon-toggle-button.h
5783 * src/hildon.h: New HildonToggleButton widget.
5785 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5787 * src/hildon-button.c: Add API documentation.
5788 (hildon_button_set_size_groups): Check input parameters
5790 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5792 * src/hildon-pannable-area.c
5793 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5794 effect after reaching the movement thredshold. This way we start
5795 using the distance after passing the thredshold.
5797 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5799 * src/hildon-button.c: (hildon_button_set_property): Use the
5800 appropriate g_value_get_flags() method.
5802 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5804 * doc/hildon-docs.sgml:
5807 Add the touch pickers, picker dialogs, and picker button widgets
5808 to the documentation.
5810 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5812 * src/hildon-button.c: (hildon_button_set_property),
5813 (hildon_button_class_init): Make "arrangement-flags" a proper
5814 G_TYPE_FLAGS derived property.
5816 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5818 * examples/Makefile.am: Add below examples.
5819 * examples/hildon-date-button-example.c:
5820 * examples/hildon-picker-button-example.c:
5821 * examples/hildon-picker-button-multicolumn-example.c:
5822 * examples/hildon-time-button-example.c:
5823 * examples/hildon-touch-picker-example.c:
5825 Add examples for the recently added touch pickers,
5826 picker dialogs, and picker button widgets.
5828 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5830 * src/hildon-button.c: Add some API documentation
5832 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5834 * src/hildon-button.h
5835 * src/hildon-button.c
5837 (hildon_button_new_with_text): New constructor to create a button
5838 with no text at all.
5839 (hildon_button_init, hildon_button_set_arrangement)
5840 (hildon_button_set_title, hildon_button_set_value)
5841 (hildon_button_set_text)
5842 (hildon_button_construct_child): Hide the value when it's not used
5843 so the rest of the text is properly aligned.
5844 Allow creating buttons with arbitrary widgets inside (not just
5845 title/value labels).
5847 * examples/hildon-button-example.c (vertical_buttons_window)
5848 (horizontal_buttons_window): Update example to use new API.
5850 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5852 * src/Makefile.am: Added HildonTimeButton.
5853 * src/hildon-time-button.c: Added missing LGPL header.
5854 * src/hildon-time-button.h: Added missing LGPL header.
5855 * src/hildon.h: Add hildon-time-button.h
5857 Copied HildonTimeButton from sandbox to trunk. Future work on this
5858 widget must take place in trunk.
5860 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5862 * src/Makefile.am: Added HildonDateButton.
5863 * src/hildon-date-button.c: Update includes.
5864 * src/hildon.h: Add hildon-date-button.h
5866 Copied HildonDateButton from sandbox to trunk. Future work on this
5867 widget must take place in trunk.
5869 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5871 * src/Makefile.am: Added HildonPickerButton.
5872 * src/hildon-picker-button.h: Update includes.
5873 * src/hildon.h: Add hildon-picker-button.h
5875 Copied HildonPickerButton from sandbox to trunk. Future work on
5876 this widget must take place in trunk.
5878 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5880 * src/Makefile.am: Added HildonPickerDialog.
5881 * src/hildon-picker-dialog.c: Update includes.
5882 * src/hildon.h: Add hildon-picker-dialog.h
5884 Copied HildonPickerDialog from sandbox to trunk. Future work
5885 on this widget must take place in trunk.
5887 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5889 * src/Makefile.am: Added HildonTimeSelector.
5890 * src/hildon.h: Add hildon-time-selector.h
5892 Copied HildonTimeSelector widget from sandbox to trunk. Future
5893 work on this widget must happen in trunk.
5895 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5897 * src/Makefile.am: Added HildonDateSelector.
5898 * src/hildon.h: Add hildon-date-selector.h
5900 Copied HildonDateSelector widget from sandbox to trunk. Future
5901 work on this widget must happen in trunk.
5903 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5905 * src/Makefile.am: Added HildonTouchPicker.
5906 * src/hildon-touch-picker.c: Update includes.
5907 * src/hildon.h: Add hildon-touch-picker.h
5909 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5910 on this widget must happen in trunk.
5912 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5914 * src/hildon-pannable-area.c:
5915 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5917 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5919 * examples/hildon-app-menu-example.c (main): Let the window
5922 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5924 * src/hildon-pannable-area.c
5925 (hildon_pannable_area_class_init): Set the min value of the
5926 overshoot properties to zero, which points out that not
5927 overshooting allowed.
5929 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5931 Modified the procedure to get the widget at a point inside the
5932 pannable area when using the movement type signals. Now the user
5933 has to call a function to get the child, that way we just
5934 calculate the child in case the user really want to use it and not
5937 * src/hildon-marshalers.list: Modified the marshallers, now we do
5938 not have the widget as a parameter.
5940 * src/hildon-pannable-area.c
5941 (hildon_pannable_area_motion_notify_cb),
5942 (hildon_pannable_area_class_init),
5943 (hildon_pannable_get_child_widget_at): Removed the widget
5944 parameter from the signal callback. We have also refactored the
5945 emission of the signals.
5947 * src/hildon-pannable-area.h: Added a new method to the API to
5948 calculate a widget at a point inside the pannable area,
5949 hildon_pannable_get_child_widget_at.
5951 * examples/hildon-pannable-area-example-4.c
5952 (horizontal_movement): Modified the example to use the new API,
5953 added condition to control which widget is under the event. This
5954 way we can avoid scrolling laterally over other widgets.
5956 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5958 * src/hildon-pannable-area.c
5959 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5960 modes, we stop getting the pointer events due to returning the
5961 callback without properly calling the get pointer again. Fixed
5962 also an error using the hscroll and vscroll.
5964 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5966 * src/hildon-app-menu-private.h
5967 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5968 (hildon_app_menu_button_release, hildon_app_menu_init)
5969 (hildon_app_menu_class_init): Don't hide the menu on button
5970 release if the user didn't press outside first.
5972 * src/hildon-window.h
5973 * src/hildon-window.c (hildon_window_toggle_menu)
5974 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5975 hildon_window_toggle_menu a virtual function for the stackable
5976 window to override it.
5978 * src/hildon-stackable-window.h
5979 * src/hildon-stackable-window-private.h
5980 * src/hildon-stackable-window.c
5981 (hildon_stackable_window_realize)
5982 (hildon_stackable_window_finalize)
5983 (hildon_stackable_window_class_init)
5984 (hildon_stackable_window_init)
5985 (hildon_stackable_window_set_main_menu): New function to set the
5986 app menu of a HildonStackableWindow.
5988 * examples/hildon-app-menu-example.c: Remove the button to show
5989 the app menu, now it'll be shown when clicking on the title bar
5992 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5994 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5995 set the widget name if the arrangement flags do not specify
5998 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6000 * src/hildon-button.c: (hildon_button_set_property),
6001 (hildon_button_class_init), (hildon_button_new_full),
6002 (hildon_button_set_arrangement): Added "arrangement-flags"
6005 Make the HildonButtonFlags a construction-only property, to allow
6006 subclasses to set them properly.
6008 2008-07-21 Tim Janik <timj@imendio.com>
6010 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6011 insertion position after backspace, so additional digits are appended,
6014 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6016 * src/hildon-pannable-area.c,
6017 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6018 TODO list, it was complete and removed the g_debug and g_print
6021 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6023 Added the movement modes to the hildon-pannable-area, with this
6024 modes the developers can control in which directions the widget
6025 can scroll. They can also connect to signals in order to do
6026 something when that happens, allowing applications scroll. There
6027 is an example uploaded showing how to use it.
6029 * examples/Makefile.am:
6030 * examples/hildon-pannable-area-example-4.c: Added this example of
6031 an application using the modes.
6033 * src/hildon-marshalers.list: Added a new marshaller for the new
6036 * src/hildon-pannable-area.h: Added new enumerations and flags in
6037 order to control the movement modes and the new signals to warn
6038 about the movements in the area.
6040 * src/hildon-pannable-area.c:
6041 (hildon_pannable_axis_scroll),
6042 (hildon_pannable_area_scroll),
6043 (hildon_pannable_area_motion_notify_cb),
6044 (hildon_pannable_area_get_property),
6045 (hildon_pannable_area_set_property),
6046 (hildon_pannable_area_map),
6047 (hildon_pannable_area_class_init),
6048 (hildon_pannable_area_init),
6049 (hildon_pannable_area_jump_to): Added the modes to control the
6050 movement in the widget. We have added properties to control it,
6051 signals to warn about the movements and refactored some code.
6053 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6055 Changes required in order to allow vfast_factor set to zero to
6058 * src/hildon-pannable-area.c:
6059 (hildon_pannable_area_button_press_cb): Changed the condition, it
6060 is required for not allowing click when vfast_factor is zero.
6061 (hildon_pannable_area_timeout): Initialized velocity variables
6062 when we stop moving, it was less than 1 but not zero and we need
6063 to check zero in some situations.
6064 (hildon_pannable_area_class_init): Changed the default value of
6065 the speed factor, now the button_press is just sent in case the
6066 speed is 2 per cent of the max speed.
6067 (hildon_pannable_area_init): Initialization with 0.
6069 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6071 * src/hildon-pannable-area.c,
6072 (hildon_pannable_area_get_topmost): replaced
6073 gdk_window_get_children with gdk_window_peek_children, this way we
6074 do not have to free the list because it is not a copy.
6076 (hildon_pannable_axis_scroll),
6077 (hildon_pannable_area_scroll),
6078 (hildon_pannable_area_timeout),
6079 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6080 two parameters that were only used inside the
6081 hildon_pannable_area_scroll function.
6083 * examples/hildon-pannable-area-example.c,
6084 (get_sawtooth_label): Fixed small memory leak.
6086 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6088 More checks for the case where the overshoot is bigger than the
6091 * src/hildon-pannable-area.c:
6092 (hildon_pannable_draw_vscroll),
6093 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6094 to draw the slider of the scrollbar under the other scrollbar.
6095 (hildon_pannable_area_expose_event): added new checks to control
6096 the drawing of the overshooting area rectangle, in case it is too
6097 big for the area of the widget.
6098 (hildon_pannable_area_size_allocate): add more checks to avoid
6099 setting a position to the child widget outside the area.
6101 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6103 * src/hildon-pannable-area.c
6104 (hildon_pannable_area_size_allocate): Added conditions to control
6105 when overshooting is bigger than the allocated space for the
6106 children, this avoids negative allocations.
6108 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6110 * doc/hildon-docs.sgml
6112 * examples/Makefile.am
6113 * examples/hildon-button-example.c
6115 * src/hildon-button.c
6116 * src/hildon-button.h
6117 * src/hildon.h: Initial version of the new HildonButton widget,
6120 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6122 * src/hildon-pannable-area.c:
6123 (hildon_pannable_area_button_press_cb),
6124 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6125 (hildon_pannable_area_motion_notify_cb),
6126 (hildon_pannable_area_button_release_cb),
6127 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6128 (hildon_pannable_area_jump_to_child):
6130 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6132 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6134 * examples/Makefile.am
6135 * examples/hildon-pannable-area-touch-grid-example.c
6136 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6137 the Hildon Touch List and Hildon Touch Grid using the
6138 HildonPannableArea widget.
6140 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6142 * src/hildon-pannable-area.c,
6143 (hildon_pannable_area_button_press_cb),
6144 (hildon_pannable_area_refresh),
6145 (hildon_pannable_area_scroll),
6146 (hildon_pannable_area_motion_notify_cb),
6147 (hildon_pannable_area_button_release_cb),
6148 (hildon_pannable_area_expose_event),
6149 (hildon_pannable_area_add),
6150 (hildon_pannable_area_remove),
6151 (hildon_pannable_area_realize),
6152 (hildon_pannable_area_size_allocate),
6153 (hildon_pannable_area_class_init),
6154 (hildon_pannable_area_init),
6155 (hildon_pannable_area_scroll_to_child),
6156 (hildon_pannable_area_jump_to_child): Fixed the problem of
6157 removing the child from the GtkBin, we have rearranged the widget
6158 hierarchy, now there is no GtkAlignment which was not doing
6159 anything interesting but breaking some of the assumptions of
6160 GtkContainer. Now developers if they want to add a GtkAlignment
6161 they could, but it is not inside the area.
6163 We had to review the whole allocation/expose process, now it is
6164 improved and we save at least three signals which would be saving
6165 some time when rendering the widget. The allocation of the
6166 scrollbars is now made in the allocate method as usual.
6168 We have also added some conditions in order to control when there
6169 is no child of the pannable area. Maybe we will need more work
6172 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6174 * src/hildon-pannable-area.c,
6175 (hildon_pannable_area_dispose): Released the fade-out timeout when
6176 disposing the widget.
6178 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6180 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6181 zero, we are going to use that property in order to deactivate the
6183 (hildon_pannable_axis_scroll),
6184 (hildon_pannable_area_size_allocate): Added conditions to control
6185 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6186 call, now it is called in all situations and we can remove calls
6187 in the allocate method.
6188 (hildon_pannable_area_map): Control the situation when
6189 overshoot_max is zero, we do not need the timeout.
6190 (hildon_pannable_area_class_init): Added documentation in order to
6191 point out that setting zero to overshoot_max means deactivate
6194 NOTE: removed trailing whitespaces from my previous comments of
6197 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6199 * src/hildon-pannable-area.c
6200 (hildon_pannable_area_get_property),
6201 (hildon_pannable_area_set_property),
6202 (hildon_pannable_area_map),
6203 (hildon_pannable_area_class_init),
6204 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6205 to cause the widget give a hint about its panning abilities upon
6208 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6210 * src/hildon-pannable-area.c: Several documentation improvements.
6212 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6214 * src/hildon-program.c
6215 * src/hildon-stackable-window.c: Update documentation.
6217 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6219 * src/hildon-stackable-window.c (get_previous_window_if_last):
6220 Renamed get_last_window()
6221 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6222 (hildon_stackable_window_unset_program):
6224 (get_previous_window_if_last):
6225 Detect if the window hasn't been added to a HildonProgram.
6227 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6229 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6231 * src/hildon-pannable-area.c
6232 (hildon_pannable_area_button_press_cb),
6233 (hildon_pannable_axis_scroll),
6234 (hildon_pannable_area_scroll),
6235 (hildon_pannable_area_timeout),
6236 (hildon_pannable_calculate_vel_factor),
6237 (hildon_pannable_area_get_property),
6238 (hildon_pannable_area_set_property),
6239 (hildon_pannable_area_class_init),
6240 (hildon_pannable_area_init),
6241 (hildon_pannable_area_scroll_to),
6242 (hildon_pannable_area_jump_to),
6243 (hildon_pannable_area_scroll_to_child),
6244 (hildon_pannable_area_jump_to_child):
6245 * src/hildon-pannable-area.h: Added the new API functions:
6246 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6247 hildon_pannable_area_scroll_to_child,
6248 hildon_pannable_area_jump_to_child
6251 * examples/Makefile.am
6252 * examples/hildon-pannable-area-example-2.c
6253 * examples/hildon-pannable-area-example-3.c: Added these two new
6254 examples in order to test and show how the new APIs work.
6256 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6258 * examples/hildon-stackable-window-example.c (new_window):
6259 * src/Makefile.am (noinst_HEADERS):
6260 * src/hildon-program.c (hildon_program_go_to_root_window):
6261 * src/hildon-program.h:
6262 * src/hildon-stackable-window-private.h:
6263 * src/hildon-stackable-window.c:
6264 * src/hildon-stackable-window.h:
6265 Create hildon-stackable-window-private.h
6266 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6268 * examples/hildon-app-menu-example.c (create_menu):
6269 * examples/hildon-hvolumebar-insensitive-example.c (main):
6270 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6271 * examples/hildon-toolbar-seekbar-example.c (main):
6272 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6273 * src/hildon-banner.c (hildon_banner_set_property):
6274 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6275 Fix compilation warnings
6277 * src/hildon-window.c:
6280 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6282 * src/hildon-stackable-window.c
6283 (hildon_stackable_window_unset_program):
6284 Calculate correctly whether to show the previous window if the
6285 last one is removed from the stack.
6286 (hildon_stackable_window_go_to_root_window):
6287 Send delete events starting from the topmost window.
6288 Stop if one of the windows is not destroyed.
6290 (hildon_stackable_window_delete_event)
6291 (hildon_stackable_window_class_init):
6292 Ignore the delete event if the window is not the topmost one.
6294 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6296 * src/hildon-pannable-area.c
6297 (hildon_pannable_area_expose_event): Fixed a problem when
6298 selecting the background color of the scrollbars.
6300 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6302 * examples/hildon-stackable-window-example.c
6303 * src/hildon-stackable-window.c
6304 * src/hildon-stackable-window.h
6305 hildon_stackable_window_go_home() renamed to
6306 hildon_stackable_window_go_to_root_window()
6307 Send delete events to windows rather than closing them with
6308 gtk_widget_destroy()
6310 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6312 * src/hildon-pannable-area.c
6313 (hildon_pannable_area_button_release_cb): Fix overshooting in
6316 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6318 * src/hildon-pannable-area.c
6319 (hildon_pannable_area_init): Initially show the scroll indicators.
6320 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6322 Add initial effect showing the widget is pannable.
6324 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6326 * src/hildon-pannable-area.c
6327 (hildon_pannable_area_class_init)
6328 (hildon_pannable_area_set_property)
6329 (hildon_pannable_area_get_property)
6330 (hildon_pannable_area_button_press_cb):
6331 New 'velocity_fast_factor' property to decide which velocity is
6334 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6336 * src/hildon-pannable-area.c
6337 (hildon_pannable_draw_hscroll)
6338 (hildon_pannable_draw_vscroll):
6339 Use float variables to calculate the size of the scrollbars to
6340 avoid error propagation and resizing during scrolling.
6342 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6344 * src/hildon-pannable-area.c
6345 (hildon_pannable_draw_vscroll)
6346 (hildon_pannable_draw_hscroll):
6347 Define a minimum size for the scroll bars
6349 * src/hildon-stackable-window.c
6350 (hildon_stackable_window_go_home): Fix compilation warning
6351 (get_last_window): Minor optimizations
6352 (hildon_stackable_window_class_init): Fix initialization of
6355 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6357 * src/hildon-stackable-window.c: Fixed typos in doc
6359 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6361 * src/hildon-pannable-area.c
6362 (hildon_pannable_area_scroll):
6363 Calculate here whether we need to scroll instead of using the booleans
6364 that tell us whether to /draw/ the scrolling bars.
6366 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6368 * src/hildon-app-menu.h
6370 * src/hildon-app-menu.c
6371 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6372 multiple filter groups related code and API. Now we support only
6374 * examples/hildon-app-menu-example.c:
6376 Update to reflect API changes.
6378 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6380 * src/hildon-stackable-window.c
6381 (hildon_stackable_window_class_init):
6382 Add hildon_stackable_window_realize.
6383 (hildon_stackable_window_realize):
6384 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6385 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6386 to apply theming and behavior specific to HildonStackableWindow
6389 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6391 * src/hildon-note.c (hildon_note_button_release):
6392 Close information notes also when tapping on them
6394 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6396 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6397 ELASTICITY, refactor and review, fix some issues with drawing
6400 * src/hildon-pannable-area.c:
6401 (hildon_pannable_area_button_press_cb): removed the conditions to
6402 avoid clicks when overshooting. It is not required
6404 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6405 define. Refatored and reviewed the code, now we do not need to
6406 manage velocity in motion_notify.
6408 (hildon_pannable_area_motion_notify_cb): We have moved the code
6409 that controls the area_scroll to the axis_scroll function and get
6410 rid of duplicated code.
6412 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6414 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6416 (hildon_pannable_draw_vscroll),
6417 (hildon_pannable_draw_hscroll): Fixed the problems with the
6418 scrollbar drawing, now we do not use two surfaces, it is easier
6419 and saves resources.
6421 (hildon_pannable_area_get_property): Style modification.
6423 (hildon_pannable_area_class_init): Changed some default values.
6425 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6427 * src/hildon-stackable-window.c: Fix some typos in the
6430 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6432 * src/hildon-dialog.c:
6433 Change indentation style
6436 (hildon_note_button_release):
6437 Use root coordinates to check if the release event happened
6440 * src/hildon-app-menu.c
6441 (hildon_app_menu_button_release):
6442 Remove unnecessary check
6444 * examples/hildon-app-menu-example.c
6446 Add cast to fix warning
6448 * src/hildon-app-menu.c
6449 (hildon_app_menu_class_init):
6450 New inner-border style property.
6451 Set all default spacings to 16
6452 (hildon_app_menu_init):
6453 Use vertical-spacing to set the space between filter buttons and
6454 regular menu buttons.
6455 Set the default container border using the inner-border value.
6457 * examples/hildon-app-menu-example.c
6459 Don't set the menu border explicitly, now we have the inner-border
6460 style property for that.
6462 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6464 * src/hildon-app-menu.c (hildon_app_menu_init):
6465 Make the window modal
6467 * src/hildon-note.c (hildon_note_map)
6468 * src/hildon-app-menu.c (hildon_app_menu_map):
6469 Destroy the grab window if we're unable to grab the pointer
6471 * src/hildon-app-menu-private.h
6472 * src/hildon-app-menu.c
6473 (hildon_app_menu_init, hildon_app_menu_finalize)
6474 (hildon_app_menu_map, hildon_app_menu_unmap)
6475 (hildon_app_menu_button_release)
6476 (grab_transfer_window_get):
6477 Bring back the grab window
6478 (hildon_app_menu_realize):
6479 Decorate the window, set WM hint for Matchbox
6481 * src/hildon-note.c (hildon_note_realize):
6482 * src/hildon-banner.c (hildon_banner_realize):
6483 Add WM hints for Matchbox
6485 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6487 * src/hildon-app-menu-private.h
6488 * src/hildon-app-menu.c
6489 (hildon_app_menu_init, hildon_app_menu_finalize)
6490 (hildon_app_menu_map, hildon_app_menu_unmap)
6491 (hildon_app_menu_button_release):
6492 Remove the grab window, it's not needed anymore
6494 * src/hildon-program.c
6495 Fixed typo in documentation
6497 * src/hildon-app-menu.h
6498 * src/hildon-app-menu.c
6499 * examples/hildon-app-menu-example.c
6500 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6502 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6505 Added new transfer_window and close_if_pressed_outside private
6507 (hildon_note_rebuild):
6508 Don't add a cancel button to the information note. It will be
6509 closed when tapping outside
6510 Remove the comment about the OK button in the documentation
6511 (hildon_note_realize):
6512 Set the notification type hint
6513 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6514 Grab/ungrab pointer and keyboard if the note has to be closed when
6516 (hildon_note_button_release):
6517 Close the note when tapping outside (if applicable)
6519 * src/hildon-app-menu.c
6520 Grab/ungrab pointer and keyboard on map/unmap
6521 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6522 Close the menu on button release, not button press
6524 * src/hildon-banner.c
6525 (hildon_banner_set_property)
6526 (hildon_banner_check_position):
6527 Make the banner use the full width of the screen
6528 (hildon_banner_show_information)
6529 (hildon_banner_show_information_with_markup):
6530 Don't display an icon by default
6532 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6534 Added fading scrollbars and adapted all the overshooting code to
6535 horizontal scrolling. We have also fixed bugs with overshooting
6536 and current fading implementation.
6538 * src/hildon-pannable-area.c
6539 (hildon_pannable_area_scroll_indicator_fade): Time out function
6540 used to change the transparency of the scrollbars.
6542 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6543 control and fixed a problem with fading, we now remove the fade
6544 timeout before adding a new one.
6546 (hildon_pannable_axis_scroll):
6547 (hildon_pannable_area_scroll):
6548 (hildon_pannable_area_timeout): Added this functions so we can use
6549 the scroll code both for vertical and horizontal.
6551 (hildon_pannable_area_motion_notify_cb):
6552 (hildon_pannable_area_button_release_cb): Added the horizontal
6553 scrolling control, fixed a problem with the overshooting timeout.
6555 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6556 painting of the scrolls.
6558 (hildon_pannable_draw_vscroll):
6559 (hildon_pannable_draw_hscroll):
6560 (hildon_pannable_area_expose_event):
6561 Draw both scrollbars and rectangles in the overshooting area.
6563 (hildon_pannable_area_get_property):
6564 (hildon_pannable_area_set_property):
6565 Modified the overshoot property to overshoot_max
6567 (hildon_pannable_area_map):
6568 Replaced the comments symbols.
6570 (hildon_pannable_area_size_allocate):
6571 (hildon_pannable_area_class_init):
6572 (hildon_pannable_area_init): Added horizontal scroll, fading
6573 effect properties, fixed a problem when overshooting in the bottom
6576 * examples/hildon-pannable-area-example.c:
6577 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6578 looks better in the example.
6580 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6582 * src/hildon-window.c
6583 * src/hildon-window.h
6584 (hildon_window_class_init)
6585 (hildon_window_unset_program)
6586 (hildon_window_unset_program_real):
6587 Make unset_program a virtual function
6589 * src/hildon-stackable-window.c
6590 * src/hildon-stackable-window.h
6591 Added hildon_stackable_window_go_home()
6593 * examples/Makefile.am
6594 * examples/hildon-stackable-window-example.c
6595 HildonStackableWindow example
6597 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6599 * hildon-pannable-area.c: Added the overshoot property and removed
6600 the OVERSHOOT define. Fixed an indent style error.
6601 (hildon_pannable_area_motion_notify_cb):
6602 (hildon_pannable_area_get_property):
6603 (hildon_pannable_area_set_property): Add overshoot property.
6605 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6608 (hildon_pannable_area_class_init): Installed the new property.
6610 * hildon-pannable-area-example.c: Added a sawtooth function, this
6611 way it is easier to check the movement in the pannable.
6612 (get_sawtooth_label): Added this function.
6613 (main): Now we get the labels from the new get_sawtooth_label
6616 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6618 * src/hildon-app-menu.h
6619 * src/hildon-app-menu.c
6620 Renamed API variables for consistency
6622 (hildon_app_menu_popup): Use also the default window size to
6623 decide where to place the menu
6625 (hildon_app_menu_init, hildon_app_menu_class_init): New
6626 external-border style property
6628 2008-05-26 Michael Natterer <mitch@imendio.com>
6630 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6631 widget_class->tap_and_hold_setup signal slot doesn't exist any
6632 longer, stop overriding it.
6634 (hildon_time_editor_init): g_signal_connect() to the
6635 tap-and-hold-setup signal instead.
6637 (hildon_time_editor_entry_keypress): add cast to fix warning.
6639 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6641 * doc/hildon-docs.sgml
6643 * examples/Makefile.am
6644 * examples/hildon-app-menu-example.c
6646 * src/hildon-app-menu-private.h
6647 * src/hildon-app-menu.c
6648 * src/hildon-app-menu.h
6650 New HildonAppMenu widget
6652 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6654 Rearranged the inheritance of the pannable area, now it inherits
6655 from GtkBin. This will allow us to control the event_window and
6656 the allocation process of the widget, required for some effects.
6658 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6659 GtkBin structures. * src/hildon-pannable-area.c: Added the
6660 event_window variable.
6661 (hildon_pannable_area_button_press_cb):
6662 (hildon_pannable_area_button_release_cb):
6663 (hildon_pannable_area_motion_notify_cb):
6664 Changed the signature of the method, now we override the event
6665 callback instead of connecting to the signal.
6667 (hildon_pannable_area_realize):
6668 (hildon_pannable_area_unrealize):
6669 (hildon_pannable_area_map):
6670 (hildon_pannable_area_unmap):
6671 (hildon_pannable_area_size_allocate):
6672 Added functions to control the widget construction. We add a
6673 INPUT_ONLY window and we put it over the widgets inside the
6674 container, this event_window handles the events.
6676 (hildon_pannable_area_class_init):
6677 Replaced the signal connections with overrides of the event
6680 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6682 Bouncing effect added when touching the borders, you can change
6683 the elasticity of the border changing the ELASTICITY define.
6685 * src/hildon-pannable-area.c: Added ELASTICITY define.
6686 (hildon_pannable_area_timeout): Added inverse velocity when
6687 touching the border of the child widget, that causes a bounce.
6689 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6691 Improved performance, we now do not go to the X server in order to
6692 get the list of window children. Apparently the effect is the
6693 same, we have to be careful and check if this breaks something in
6696 * src/hildon-pannable-area.c:
6697 (get_ordered_children): Removed this function.
6698 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6699 the children windows function with gdk_window_get_children.
6701 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6703 * src/hildon-pannable-area.c:
6704 (hildon_pannable_area_dispose): Fixed a crash when closing the
6705 window and kinetics is activated.
6707 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6709 * src/hildon-pannable-area.h
6710 * src/hildon-pannable-area.c
6711 Changed indentation style to meet the one used in Hildon
6713 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6715 Reviewed the interaction of the AUTO mode, now we use the time
6716 attribute of the events and calculate the velocity in the motion,
6717 doing a gimp like calculation. The velocity is calculated in each
6718 motion event using the last velocity and the current one, the
6719 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6721 * src/hildon-pannable-area.c: Replaced the time based algorithm
6723 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6724 timeout for the AUTO mode when we are still moving the cursor. We
6725 added also the velocity calculation in this function.
6726 (hildon_pannable_area_button_release_cb): launch the timeout in
6727 case we are in AUTO mode. There are still some constants here that
6728 come from the old implementation that should be reviewed and
6731 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6733 * doc/hildon-docs.sgml
6736 * src/hildon-stackable-window.c
6737 * src/hildon-stackable-window.h
6739 New HildonStackableWindow widget
6741 * examples/hildon-dialog-example.c
6742 * examples/hildon-pannable-area-example.c
6745 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6747 * src/hildon-dialog.c
6748 (hildon_dialog_new_with_buttons): New constructor.
6750 * examples/hildon-dialog-example.c
6751 (main): Update the example to use the new
6752 hildon_dialog_new_with_buttons().
6754 * examples/hildon-pannable-area-example.c
6755 (main): Update example.
6757 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6759 * doc/hildon-docs.sgml
6761 Added HildonPannableArea to the documentation.
6763 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6765 * doc/visual_index.xml
6766 Fix reference to HildonLoginDialog in documentation
6768 * doc/hildon-docs.sgml
6770 * examples/Makefile.am
6771 * examples/hildon-dialog-example.c
6773 * src/hildon-dialog.c
6774 * src/hildon-dialog.h
6776 New HildonDialog widget.
6778 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6780 * src/hildon-pannable-area.c
6781 Merge latest changes (r4318, r4342) from libmokoui trunk
6783 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6785 * examples/Makefile.am
6786 * examples/hildon-pannable-area-example.c
6788 * src/hildon-pannable-area.c
6789 * src/hildon-pannable-area.h
6791 New HildonPannableArea widget.
6793 2008-04-15 18:05:19 <timj@imendio.com>
6795 * src/hildon-banner.c: revert the recent change, that introduced
6796 gtk_window_present() calls. this reopens:
6797 Bug 78481 - [freetest] information banners are hidden under browser menu
6798 But resolves another variant of:
6799 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6801 2008-04-15 13:21:13 <timj@imendio.com>
6803 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6804 recreated its layout, spotted by Kris. this fixes all remaining
6805 artefacts and stability issues with the banner code. in particular:
6806 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6808 2008-04-14 16:52:59 <timj@imendio.com>
6810 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6811 operating on unrealized widgets, fixes:
6812 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6814 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6816 2008-04-09 Kristian Rietveld <kris@imendio.com>
6818 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6819 makes banner disappear.
6820 Fixes: NB#79182: info banner flickering with certain message lengts.
6822 * src/hildon-banner.c (hildon_banner_constructor),
6823 (hildon_banner_init), (hildon_banner_set_text),
6824 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6825 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6826 FALSE, reset size requests of label and banner,
6827 (force_to_wrap_truncated): when the text is too wide, always enforce
6828 the maximum possible width instead of recalculating it from the
6829 layout; enforce the maximum banner height of 3 lines,
6830 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6831 nicer wrapping and no truncated chars if space gets tight.
6833 * src/hildon-banner-private.h: add has_been_wrapped and
6834 has_been_truncated fields.
6836 2008-04-07 Sven Herzberg <sven@imendio.com>
6838 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6839 local values in hildon_date_editor_size_allocate
6841 * src/hildon-date-editor.c: moved the real allocation code into the
6844 2008-04-07 Sven Herzberg <sven@imendio.com>
6846 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6847 local values in hildon_date_editor_size_allocate
6849 * src/hildon-date-editor.c: merged the two if() branches together
6851 2008-04-07 Sven Herzberg <sven@imendio.com>
6853 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6854 local values in hildon_date_editor_size_allocate
6856 * src/hildon-date-editor.c: changed the arguments of the if()
6859 2008-04-07 Sven Herzberg <sven@imendio.com>
6861 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6862 local values in hildon_date_editor_size_allocate
6864 * src/hildon-date-editor.c: split the calculation of the allocation
6865 from the real allocation
6867 2008-03-27 Michael Natterer <mitch@imendio.com>
6869 Fixes: NB#81696: The passcode is not overwritten even after
6872 * src/hildon-code-dialog.c
6873 (hildon_code_dialog_button_clicked)
6874 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6875 because that doesn't overwrite selected text. Instead, emit the
6876 "commit" signal on the entry's im_context so the entry's normal
6877 insert logic is triggered. Set the cursor to the end of the entry
6878 after each insert operation so that we *only* insert in the middle
6879 of the text if something was selected.
6881 2008-03-27 Michael Natterer <mitch@imendio.com>
6883 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6884 selector cannot be opened
6886 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6887 when the popup color selector is created. Please connect to this
6888 signal in order to set the dialog's help ID.
6890 2008-03-25 Sven Herzberg <sven@imendio.com>
6892 Fixes: MB#1212: Hide info banners (infoprints) on click
6894 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6895 extracted the close event simulation into an extra function
6896 (hildon_banner_button_press_event): simulate a close event and destroy
6897 the widget if the event wasn't handled
6898 (hildon_banner_class_init): added the button_press_event handler
6899 (hildon_banner_init): added button-press events to the widget
6901 2008-03-25 Sven Herzberg <sven@imendio.com>
6903 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6904 Patch from: Mohammad Anwari <mdamt@maemo.org>
6906 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6907 instead of the right in RTL mode
6908 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6909 breadcrumb button list in RTL mode
6910 * src/hildon-caption.c: mirror the appearance of the caption widget in
6912 * src/hildon-date-editor.c: mirror appearance of the date editor in
6914 * src/hildon-time-editor.c: mirror appearance of the time editor in
6916 * src/hildon-window.c: fix the position of the popup in RTL mode
6918 2008-03-25 Sven Herzberg <sven@imendio.com>
6920 Amendment to the fix of NB#22072. Fix compilation.
6922 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6924 2008-03-19 Sven Herzberg <sven@imendio.com>
6926 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6929 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6930 timeout id properly when the timeout will disappear this leaves no
6931 artifacts around in the destroy(); there will only be the timeout
6932 created by hildon_banner_ensure_timeout() and adding a new timeout
6933 will also work if the timeout gets removed because the timeout_handler
6936 2008-03-19 Michael Natterer <mitch@imendio.com>
6938 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6940 * src/hildon-volumebar.c
6941 * src/hildon-vvolumebar.c
6942 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6943 the widget becomes focussable at all.
6945 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6946 set the focus to wither the mute button or the volumebar.
6948 Remove own "can-focus" property and instead listen to
6949 notify::can-focus in order to update the widget's state.
6951 Implement GtkWidget::focus() and make sure we can also *leave* the
6952 widget, not only enter it, depending on volumebar orientation and
6953 requested focus direction.
6955 Clean up set_mute() to cooperate nicely with all the above.
6957 2008-03-04 Michael Natterer <mitch@imendio.com>
6959 Fixes: NB#78481: information banners are hidden under browser menu
6961 * src/hildon-banner.c: call gtk_window_present() on the banners so
6962 they are risen if they are already visible.
6964 2008-03-03 Sven Herzberg <sven@imendio.com>
6966 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6968 * examples/hildon-window-menu-example.c: (main): extended the window
6969 menu example to serve as a testcase for automatically added
6970 accelerator groups, too
6971 * src/hildon-window.c: (hildon_window_add_accel_group),
6972 (hildon_window_set_menu): added patch by Tommi Komulainen
6974 2008-03-03 Sven Herzberg <sven@imendio.com>
6976 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6978 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6979 knowledge about the border allocators used within GTK+
6981 2008-02-26 Sven Herzberg <sven@imendio.com>
6983 Fixes: MB#2981: Build with asserts broken
6985 * src/hildon-date-editor.c,
6986 * src/hildon-number-editor.c,
6987 * src/hildon-time-editor.c,
6988 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6989 the proper GType instance check
6991 2008-02-25 Sven Herzberg <sven@imendio.com>
6993 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6995 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6996 * examples/hildon-window-menu-example.c: (main): explicitly show
6998 * src/hildon-window.c:
6999 (hildon_window_set_main_menu): moved most of the code from set_menu()
7000 to this place; skipped the call to gtk_widget_show_all(); also didn't
7001 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7002 (hildon_window_set_menu): removed most of the code, just keep the
7003 questionable gtk_widget_show_all()
7004 * src/hildon-window.h: added the new function and deprecate the old
7007 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7013 * debian/changelog: Updating.
7015 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7018 * pkgconfig/Makefile.am:
7019 * pkgconfig/hildon.pc.in:
7022 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7023 use newly created API_MAJOR_VERSION.
7025 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7031 * debian/changelog: Updating.
7033 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7035 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7037 Add outer_border style property, we use it but don't define it (!).
7041 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7043 * examples/hildon-bread-crumb-trail-example.c (main):
7047 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7049 Fix logic for the bread crumb trail node removal.
7053 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7059 * debian/changelog: Updating.
7061 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7063 Patch by Alejandro to get/set passwords dialogs accesibility.
7065 * hildon-1/src/hildon-get-password-dialog.c:
7066 * hildon-1/src/hildon-set-password-dialog.c:
7067 Set atk_set_name to the passwd entries in order to allow
7068 accessibility by name on this entries.
7070 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7075 * debian/control: Updating gtk dep.
7077 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7079 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7080 USE_MAEMO_GTK is enabled.
7082 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7084 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7085 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7087 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7093 * debian/changelog: Updating.
7095 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7097 * examples/Makefile.am:
7098 * examples/hildon-logical-color-example.c:
7099 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7100 applied + adding a test case. Fixes: NB#71660.
7102 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7104 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7105 to be visible, fixes warning on map for windows without toolbars.
7107 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7109 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7110 2.11.0, add a check for that besides the MAEMO_GTK check.
7112 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7118 * debian/changelog: Updating.
7120 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7122 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7123 visibility. Fixes: NB#70842 and MB#615.
7125 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7127 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7128 set the separator as no-show-all so it doesn't unintentionally appear when
7129 someone does a show_all.
7131 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7133 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7134 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7135 toplevel item. Fixes: NB#62031
7137 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7139 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7140 fix the name of the function in the docs.
7142 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7148 * debian/changelog: Updating.
7150 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7152 * examples/hildon-banner-long-example.c: Adding a test-case for long
7155 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7157 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7159 * src/hildon-color-chooser-dialog.c:
7160 * src/hildon-color-chooser.c:
7161 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7162 memory leaks in font selector and color selector. Fixes: NB#70499 and
7165 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7167 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7169 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7171 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7172 little bit bigger. Fixes: #NB63694.
7174 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7180 * debian/changelog: Updating.
7182 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7185 * doc/hildon-docs.sgml:
7186 * doc/images/bread-crumb-trail.png:
7187 * doc/images/calendar-popup.png:
7188 * doc/images/caption.png:
7189 * doc/images/code-dialog.png:
7190 * doc/images/color-button.png:
7191 * doc/images/color-chooser-dialog.png:
7192 * doc/images/color-chooser.png:
7193 * doc/images/controlbar.png:
7194 * doc/images/date-editor.png:
7195 * doc/images/font-selection-dialog.png:
7196 * doc/images/get-password-dialog.png:
7197 * doc/images/hvolumebar.png:
7198 * doc/images/login-dialog.png:
7199 * doc/images/note.png:
7200 * doc/images/number-editor.png:
7201 * doc/images/range-editor.png:
7202 * doc/images/seekbar.png:
7203 * doc/images/set-password-dialog.png:
7204 * doc/images/sort-dialog.png:
7205 * doc/images/time-editor.png:
7206 * doc/images/time-picker.png:
7207 * doc/images/vvolumebar.png:
7208 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7209 Adding the bread-crumb-trial and helpers to the documentation.
7211 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7213 * examples/hildon-find-toolbar-example.c:
7214 * src/hildon-find-toolbar.c:
7215 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7216 actually continue firing the other handlers if connected. Adding a new
7218 hildon_find_toolbar_get_last_index that gets the index of the most
7219 recently added (last) item. Fixes: NB#52301.
7221 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7223 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7224 behaviour. Fixes: NB#68610.
7226 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7228 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7231 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7233 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7234 when realizing the banner. Should make the infonbanner effect a bit more
7237 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7239 * src/hildon-volumebar.c:
7240 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7241 hildon_volumebar_set_range_insensitive_message and
7242 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7244 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7246 * src/hildon-window.c: Fixing the border freeing on destroy.
7248 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7250 * src/hildon-code-dialog-private.h:
7251 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7252 kw keyboard support in HildonCodeDialog.
7254 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7260 * debian/changelog: Updating.
7262 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7264 * src/hildon-date-editor.c:
7265 * src/hildon-number-editor.c:
7266 * src/hildon-private.c:
7267 * src/hildon-private.h:
7268 * src/hildon-time-editor.c:
7269 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7270 handling in subclassed composite widgets. Fixes: NB#66628.
7272 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7274 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7275 from destroy_ callback as it introduces problems in async dbus signal
7276 handlers. Fixes NB#66673.
7278 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7280 * examples/hildon-hvolumebar-example.c:
7281 * src/hildon-volumebar.c: Improving the focus handling in the
7282 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7283 set_property accessor so that "mute" property can be actually set. I'm
7284 scared that nobody noticed it's totally broken.
7286 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7288 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7291 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7293 * src/hildon-calendar.c:
7294 * src/hildon-number-editor.c:
7295 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7296 matches the spec of 6 chars per second. Fixes: NB#60489.
7298 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7300 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7301 gtk_style_lookup_color sometime returns FALSE even though color was
7302 found and values were filled properly. Weird. Removing the warning for the
7305 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7307 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7308 expand vertically. Adding some extra space to the find toolbar buttons to
7309 make them thumbable. Fixes NB#66060.
7311 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7313 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7314 popup with "Ok" and "Cancel". Fixes NB#59299.
7316 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7318 * src/hildon-calendar.c: Process all window updates before executing next
7319 timeout. Fixes: NB#54146.
7321 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7327 * debian/changelog: Updating.
7329 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7331 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7332 the client event and ignore it, since we use the delete event to close
7335 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7337 * src/hildon-helper.c: Remove the bogus warning about color not being
7338 found. Fixes NB#58352.
7340 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7342 * examples/Makefile.am:
7343 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7344 HildonSeekbar widget inside a toolbar.
7346 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7348 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7349 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7350 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7351 don't want to be closed by non-temporary windows on map.
7353 Also use G_DEFINE_TYPE instead of manually typed code.
7355 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7362 * debian/rules: Updating.
7364 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7366 * examples/Makefile.am:
7367 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7368 bug NB#61128. Strangely it works.
7370 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7372 * src/hildon-date-editor.c: When the date editor entry has been changed
7373 but the numbers of characters < max, turn off the skip validation flag.
7374 Prevents a situation when we enter first a valid year and later re-write
7375 it with an invalid one. Fixes NB#60154.
7377 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7379 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7380 code dialog. Fixes NB#64355.
7382 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7384 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7385 switching the page. Fixes NB#49374.
7387 * examples/Makefile.am:
7388 * examples/hildon-wizard-dialog-example.c: Adding an example for
7389 HildonWizardDialog that shows how to handle manual sensitivity setting on
7392 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7396 * src/hildon-version.h.in:
7397 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7399 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7401 * src/hildon-volumebar.c: Updating the docs.
7403 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7409 * debian/changelog: Updating.
7411 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7413 * src/hildon-find-toolbar.c:
7414 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7415 selected item: hildon_find_toolbar_set_active,
7416 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7417 hildon_find_toolbar_get_active_iter . They correspond to respective
7418 GtkComboBox functions.
7420 * examples/Makefile.am:
7421 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7424 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7426 * examples/Makefile.am:
7427 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7430 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7431 when font size > 32 and we pack a focusable widget inside. Actually using
7432 the default response would work too, but since we don't show default
7433 response state in any way (no theming) it would not be visible to the
7434 user. Fixes NB#63430.
7436 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7438 * src/hildon-date-editor.c: Adding the missing variable setter in the
7439 set_property handler. Fixes NB#54182.
7441 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7443 * src/hildon-window.h: Changing the long key press time from 1500ms to
7444 800ms as requested in NB#63700. I have a bad feeling about this, let's
7445 see... Fixes NB#63700.
7447 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7449 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7450 hildon_time_picker_map, hildon_time_picker_realize,
7451 hildon_time_picker_style_set): Split the contents of map to more
7452 appropriate functions; set window decorations on realize and update
7453 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7455 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7460 * debian/changelog: Updating.
7462 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7464 * src/Makefile.am: fixed installation of the header files
7466 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7472 * debian/changelog: Updating.
7474 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7476 * configure.ac: Removing some remaining of --enable-xan.
7478 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7480 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7481 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7483 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7484 2.10.12-osso6 because the move-focus signal needs to be available in
7487 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7489 * examples/Makefile.am:
7490 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7491 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7492 fine. Prolly NB#61128 is fixed now.
7494 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7496 * src/hildon-volumebar.c:
7497 * src/hildon-volumebar.h: Adding the
7498 hildon_volumebar_set_range_insensitive_message and
7499 hildon_volumebar_set_range_insensitive_messagef functions to set
7500 insensitive message on the slider of the volumebar. Fixes NB#61129.
7502 * examples/Makefile.am:
7503 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7504 test the new insensitive messsage functionality on HildonVolumebar.
7506 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7508 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7511 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7513 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7514 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7515 button on after clearing the trail.
7517 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7519 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7521 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7523 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7524 by splitting the installed headers in generated and non-generated groups. Use
7525 only the non-generated headers to create the hildon-enum-types.h file.
7527 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7529 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7531 * src/hildon-window.c: Hide the window before performing the destroy.
7532 Should make the app closing a little tiny bit more snappy.
7534 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7536 * src/hildon-seekbar.c: add gtkrange.h header
7537 * src/hildon-caption.c: remove unused variable
7539 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7541 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7544 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7550 * debian/changelog: Updating.
7552 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7554 * src/hildon-window.c (hildon_window_window_state_event,
7555 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7556 escape timeout on focus-out-event rather than notify::is-topmost; the
7557 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7559 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7561 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7562 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7564 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7566 * src/hildon-window: actually, you need to use the macro always, there's
7567 no private pointer in the instance structure. We should have cleaned this up
7568 when we had the chance...
7570 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7572 * src/hildon-window.c: do not get the private date from HildonWindow before
7573 it passes the g_return_if_fail check. Once it's passed the test, there's no
7574 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7575 if you are only going to access the data once. Whitespace cleanups.
7577 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7579 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7580 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7582 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7588 * debian/changelog: Updating.
7590 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7592 * src/hildon-window.c: When destroying the window, remove (if exists) the
7593 escape timeout handler. Fixes #NB59276.
7595 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7597 * src/hildon-banner.c: When realizing the widget, set the window
7598 transiency. Setting the transiency in the gobject constructor is not
7599 good, as the widget is not realized at that point. Fixes: #NB56624.
7601 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7603 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7604 Add padding for future expansions.
7606 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7608 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7609 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7610 will fake an activation on the previous to the last item of the trail, so
7611 the effect can be overrided by the developer as usual.
7612 Also change the callback for the back button to do the same thing, so its
7613 effect can be overrided too. Fixes: NB#58982
7615 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7617 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7618 HildonCaption. Fixes NB#52379.
7620 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7622 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7623 the internal state of the trail after the user has had the chance of executing
7624 his handler for the signal. Specifically, it may happen that the activated button
7625 is removed and the user still lets the default handler run. This would segfault
7628 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7630 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7631 scrollbar to the preview dialog. Fixes NB#54147.
7633 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7635 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7636 max/min year properties can be altered, so the client can modify it
7637 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7639 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7641 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7642 hildonlike by default. Fixing a problem with disappearing arrows when
7643 scrolling through months and years. Fixes NB#54127.
7645 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7647 * examples/hildon-date-editor-example.c: Adding error callback to the date
7650 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7656 * configure.ac: Updating.
7658 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7660 * configure.ac: Adding a special '--enable-xan' configure option that
7661 turns off the -Werror compilation setting. Usefull for development.
7663 * src/hildon-calendar.c:
7664 * src/hildon-number-editor.c:
7665 * src/hildon-time-picker.c: Adding the 5* multiplier to
7668 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7670 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7671 instead of g_object_ref + gtk_object_sink.
7673 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7679 * debian/changelog: Updating.
7681 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7683 * src/hildon-color-chooser-dialog.c:
7684 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7685 straight from Tommi labs.
7687 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7689 * examples/hildon-finger-example.c: Correcting the header file path.
7691 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7692 the changed signal. Fixes a small memory leak.
7694 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7698 * src/hildon-banner.c: Importing several usefull fixes from the
7699 ubuntu-mobile branch.
7701 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7703 * examples/Makefile.am:
7704 * examples/hildon-finger-example.c: Adding a finger-checking code
7707 * src/hildon-font-selection-dialog.c: Do not allocate the color
7708 structure using the g_new. Fixes NB#54061.
7710 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7712 * src/hildon-helper.c: Correcting tabs in file.
7714 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7716 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7717 control the visibility of the children.
7719 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7721 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7727 * debian/changelog: Updating.
7729 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7731 * src/hildon-bread-crumb-trail.c:
7732 (hildon_bread_crumb_trail_size_allocate):
7734 Make the back button always a square.
7736 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7738 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7739 from the .c file as it's a private file.
7741 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7743 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7744 uses slightly bigger height.
7746 * src/hildon-font-selection-dialog.c: Adding some checks before
7747 freeing memory in the font selection dialog.
7749 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7751 * src/hildon-font-selection-dialog.c: Adding a small check when
7754 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7755 buttons sensitivity on page switching.
7757 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7759 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7760 internal details of adding a bread crumb to the trail.
7762 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7768 * debian/changelog: Updating.
7770 * src/hildon-bread-crumb-trail.h:
7771 * src/hildon-bread-crumb.h: Changing the API guard to
7772 HILDON_ENABLE_UNSTABLE_API.
7774 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7782 * src/hildon-helper.h: Updating.
7784 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7792 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7796 * src/hildon-helper.h: Small fix to make the package actually compile.
7798 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7800 * src/hildon-bread-crumb-trail.h:
7801 * src/hildon-bread-crumb.h:
7803 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7804 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7806 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7808 * examples/hildon-bread-crumb-trail-example.c:
7810 * src/hildon-bread-crumb-trail.c:
7811 * src/hildon-bread-crumb-trail.h:
7812 * src/hildon-bread-crumb.c:
7813 * src/hildon-bread-crumb.h:
7814 * src/hildon-marshalers.list:
7815 * src/hildon-bread-crumb-widget.c:
7816 * src/hildon-bread-crumb-widget.h:
7818 Slight change in the widget design. The bread crumb trail API is
7819 unchanged, but HildonBreadCrumb is now an interface. A *private*
7820 implementation, hildon-bread-crumb-widget, is provided and used
7821 internally by the trail for the push_text/push_icon functions.
7823 The generic push API is still available, so anyone can implement
7824 and use its own bread crumb widget.
7826 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7828 * debian/rules: Fixing the shlibs.
7830 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7832 * src/hildon-banner.c: Fixing a problem with timed banners having
7833 their parrent destroyed before they are.
7835 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7837 * src/hildon-bread-crumb.c:
7838 * src/hildon-bread-crumb.h:
7840 Make the get_natural_size function a vfunc.
7842 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7844 * src/hildon-bread-crumb.c:
7845 * src/hildon-bread-crumb-trail.c:
7849 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7856 * debian/changelog: Updating for release.
7858 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7860 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7861 don't leak the pango layout.
7863 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7866 * examples/hildon-bread-crumb-trail-example.c:
7870 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7872 * debian/changelog: Removing the bug-fixed entries that were actually
7873 resolved as WONTFIX.
7875 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7878 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7880 * src/hildon-bread-crumb-trail.c:
7881 * src/hildon-bread-crumb-trail.h:
7882 * src/hildon-bread-crumb.c:
7883 * src/hildon-bread-crumb.h:
7887 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7889 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7890 until it's passed the type check.
7892 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7894 * examples/hildon-bread-crumb-trail-example.c
7898 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7900 * examples/Makefile.am
7901 * examples/hildon-bread-crumb-trail-example.c
7903 * src/hildon-bread-crumb-trail.c
7904 * src/hildon-bread-crumb-trail.h
7905 * src/hildon-bread-crumb.c
7906 * src/hildon-bread-crumb.h
7908 New HildonBreadCrumbTrail widget.
7910 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7912 * src/hildon-range-editor.c (hildon_range_editor_init),
7913 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7914 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7915 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7916 hildon_time_editor_class_init, hildon_time_editor_init),
7917 src/hildon-get-password-dialog.c (invalid_input,
7918 hildon_get_password_set_property, hildon_get_password_get_property,
7919 create_contents, hildon_get_password_dialog_set_max_characters),
7920 src/hildon-set-password-dialog.c (create_contents),
7921 src/hildon-date-editor.c (hildon_date_editor_init),
7922 src/hildon-login-dialog.c (hildon_login_dialog_init),
7923 src/hildon-number-editor.c (hildon_number_editor_init),
7924 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7925 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7926 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7927 configure option and adding the respective checks in the code.
7928 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7929 hildon_calendar_drag_data_received): fixed some build warnings.
7931 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7933 * debian/changelog: A 1.0.0 release notes.