1 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
3 * configure.ac: post release version bump
4 * debian/changelog: post release version bump
6 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
11 * configure.ac: Bump version.
12 * debian/changelog: Updates.
14 2009-05-01 Alberto Garcia <agarcia@igalia.com>
16 * hildon/hildon-edit-toolbar.c
17 (hildon_edit_toolbar_init):
18 Don't let buttons in HildonEditToolbar receive focus.
20 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
21 typing on an HW arrows key)
23 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
25 * doc/Makefile.am: Fix build.
27 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
29 * doc/Makefile.am: Do not redefine content_files.
31 2009-04-30 Alberto Garcia <agarcia@igalia.com>
39 Renamed src/ to hildon/
44 Include <hildon/hildon.h> directly in all examples.
46 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
48 * src/hildon-sort-dialog.c
49 (hildon_sort_dialog_add_sort_key_with_sorting)
53 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
55 * src/Makefile.am: Move generated sources to CLEANFILES, so that
56 make distcheck passes.
58 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
60 * Makefile.am: Enable gtk-doc during distcheck.
62 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
64 * Makefile.am: Do not distribute the debian/ directory.
66 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
68 * doc/Makefile.am: Add the extra SGML files to content_files,
69 so that they are distributed properly.
71 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
73 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
76 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
78 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
79 (hildon_note_new_information_with_icon_name): Set the "icon" property
80 to preserve soundness.
82 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
84 * src/hildon-font-selection-dialog.c
85 (hildon_font_selection_dialog_set_property): Fail when the "family"
86 property is set to NULL.
88 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
90 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
93 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
95 * src/hildon-time-selector.h:
96 Added HildonTimeSelectorFormatPolicy
97 * src/hildon-time-selector.c:
98 Added PROP_TIME_FORMAT_POLICY
99 (_check_ampm_format): renamed to check_automatic_ampm_format
100 (update_format_policy), (update_format_dependant_columns): new functions
101 (hildon_time_selector_class_init)
102 (hildon_time_selector_contructor)
103 (hildon_time_selector_init)
104 (hildon_time_selector_get_property)
105 (hildon_time_selector_set_property)
106 (hildon_time_selector_get_time)
107 (hildon_time_selector_set_time)
108 * src/hildon-touch-selector.h: new file
109 * src/hildon-touch-selector.c
110 (hildon_touch_selector_emit_changed)
111 (hildon_touch_selector_block_changed)
112 (hildon_touch_selector_unblock_changed)
113 Added functions to allow to block the emission of the "changed" signal
114 * src/hildon-picker-dialog.c
115 (hildon_picker_dialog_show): call the parent show before the custom code
116 * examples/hildon-time-button-example.c
117 Modified, so now you can configure the time format using the new property
119 Added a new property "time-format-policy" that allow to choose the time
120 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
121 case it uses gconf in order to check if the time selector must use
124 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
127 2009-04-28 Alberto Garcia <agarcia@igalia.com>
129 * src/hildon-note.c (hildon_note_init):
130 Label in HildonNote must be left aligned, not centered. This
131 reverts the last commit in HildonNote.
133 Fixes: NB#112933 (text is not left aligned in confirmation dialog
134 is connectivity dialog)
136 2009-04-27 Alberto Garcia <agarcia@igalia.com>
141 * doc/hildon-sections.txt:
142 Added hildon_gtk_window_set_do_not_disturb()
144 2009-04-27 Alberto Garcia <agarcia@igalia.com>
146 * src/hildon-note.c (hildon_note_init): Center label.
148 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
151 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
156 * configure.ac: Bump version.
157 * debian/changelog: Updates.
159 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
161 * src/hildon-note-private.h: Add button-width to the private data.
162 * src/hildon-note.c (+resize_button),
163 (+hildon_note_orientation_update): methods to repack widgets on orientation
165 (screen_size_changed): Call above method for confirmation notes.
166 (hildon_note_realize): Always connect to the "screen-size" changed signal.
167 (hildon_note_rebuild): Store the original width request from buttons.
169 Fixes: NB#109635 (Confirmation notes do not support portrait)
171 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
173 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
174 when it is a progress note.
176 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
178 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
179 in the note, since there are no horizontally arranged contents.
181 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
183 * src/hildon-gtk.c (+set_flag): new generic method to
184 set/delay a flag setting in a window.
185 (hildon_gtk_window_set_progress_indicator):
186 (hildon_gtk_window_set_do_not_disturb),
187 (hildon_gtk_window_set_portrait_flags): use set_flag() to
188 avoid code redundance.
190 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
192 Based on a patch by Alberto Garcia (agarcia@igalia.com)
194 * src/hildon-gtk.c (set_clear_window_flag),
195 (do_set_progress_indicator), (do_set_do_not_disturb),
196 (do_set_portrait_flags),
197 (hildon_gtk_window_set_progress_indicator),
198 (hildon_gtk_window_set_do_not_disturb),
199 (hildon_gtk_window_set_portrait_flags):
200 Allow setting dnd-flag, progress indicator, and portrait flags
201 when the window is not realized.
203 2009-04-24 Alejandro G. Castro <alex@igalia.com>
205 * src/hildon-pannable-area.c,
206 * src/hildon-pannable-area.h: Add the hildon deprecated define to
207 the size request policy function and defines.
209 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
211 * doc/hildon-sections.txt: Add the new API.
212 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
213 method to set the portrait flags.
214 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
216 Fixes: NB#112328 (Adding helpers for setting portrait properties)
218 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
220 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
221 to allow using this method with other flags.
222 (hildon_gtk_window_set_progress_indicator): Update accordingly.
223 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
225 2009-04-22 Alberto Garcia <agarcia@igalia.com>
227 * src/hildon-touch-selector.c
228 (hildon_touch_selector_append_text_column):
229 Make the cell renderer use the smallest width possible.
231 Fixes: NB#108470 (Selected items in multiple selection are either
232 having a tick that is cut or not visible at all.)
234 2009-04-22 Alberto Garcia <agarcia@igalia.com>
236 * src/hildon-touch-selector.c
237 (hildon_touch_selector_append_text_column):
240 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
242 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
243 Use g_strdup_printf() instead of a fixed size buffer.
245 2009-04-21 Alberto Garcia <agarcia@igalia.com>
247 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
248 Close banners when a HildonAppMenu is popped up.
250 Fixes: NB#111027 (Title menu closed immediately if activated when
251 "Invalid e-mail address" banner is shown)
253 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
258 * configure.ac: Bump version.
259 * debian/changelog: Updates.
261 2009-04-20 Alberto Garcia <agarcia@igalia.com>
263 * src/hildon-banner.c (hildon_banner_realize):
264 Mark HildonBanner as supporting portrait mode.
265 Use GDK to set window properties insetad of direct Xlib calls.
267 Fixes: NB#111830 (HildonBanner should be marked as supporting
270 2009-04-20 Alberto Garcia <agarcia@igalia.com>
272 * src/hildon-note.c (hildon_note_rebuild):
273 Hide action area in information notes. Prevents text from being
274 slightly aligned to the left.
276 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
279 2009-04-20 Alberto Garcia <agarcia@igalia.com>
281 Patch by Mox Soini (ext-mox.soini@nokia.com)
283 * src/hildon-banner.c (hildon_banner_create_animation):
284 Use stylus-sized icons in animation banner.
286 Fixes: NB#111206 (stylus sized icon for animation banner)
288 2009-04-20 Alberto Garcia <agarcia@igalia.com>
292 (+hildon_gtk_window_set_do_not_disturb):
293 New API to set the do-not-disturb flag.
295 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
297 2009-04-20 Alberto Garcia <agarcia@igalia.com>
299 * examples/hildon-progress-indicator-example.c: Fix example
301 * src/hildon-gtk.c (set_clear_window_flag)
302 (hildon_gtk_window_set_progress_indicator):
303 Create a generic function for setting flags to a window.
304 Use GDK instead of direct Xlib calls.
306 2009-04-14 Alberto Garcia <agarcia@igalia.com>
308 * src/hildon-button.c (hildon_button_set_arrangement):
309 Due to NB#88126, if one of the labels is too long it will be
310 painted outside the button. The 'value' label is more likely to be
311 the longest one, so we change its packing options in order to
312 truncate it if necessary. As a side effect, the 'title' label will
313 no longer be truncated.
315 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
317 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
322 * configure.ac: Bump version.
323 * debian/changelog: Updates.
325 2009-04-13 Alejandro G. Castro <alex@igalia.com>
327 Deprecation of the hildon_pannable_area_set_size_request_policy
328 API, the only policy properly supported in gtk+ nowadays is the
331 * src/hildon-pannable-area.c,
332 (hildon_pannable_area_size_request): Added a workaround for the
333 size_request to avoid the problems of huge pixmaps in case someone
334 is still using the function.
335 * src/hildon-pannable-area.h: Deprecated the enum with the
338 Fixes: NB#110244 (Problems with the
339 hildon_pannable_area_set_size_request_policy API)
341 2009-04-08 Alejandro G. Castro <alex@igalia.com>
343 * src/hildon-pannable-area.c,
344 (hildon_pannable_area_init),
345 (hildon_pannable_area_size_request),
346 (hildon_pannable_area_style_set),
347 (hildon_pannable_draw_vscroll),
348 (hildon_pannable_draw_hscroll),
349 (hildon_pannable_area_check_scrollbars): Replaced area_width with
350 indicator_width to clarify the use of the attribute.
352 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
357 * configure.ac: Bump version.
358 * debian/changelog: Updates.
360 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
362 * src/hildon-picker-dialog.c
363 * src/hildon-touch-selector.c
364 Reverting the change that tried to avoid the hardcoded height on
365 the picker dialog, as causes problems on the hildon-touch-selector
368 Fixes: NB#110029 (selectors not scrolling to selected value)
370 2009-04-07 Alberto Garcia <agarcia@igalia.com>
372 * src/hildon-touch-selector.c: Fix typos
374 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
376 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
377 Use the event coordinates instead of gdk_window_get_pointer(). Also,
378 request more motions after using it.
380 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
382 * src/hildon-calendar.c (hildon_calendar_expose),
383 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
384 Remove unused variables.
386 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
388 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
391 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
393 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
394 Check the return value of gtk_tree_selection_get_selected()
397 2009-04-06 Alberto Garcia <agarcia@igalia.com>
399 * src/hildon-animation-actor.c
400 * src/hildon-button.c
402 * src/hildon-pannable-area.c
403 * src/hildon-picker-button.c
404 * src/hildon-program.c
405 * src/hildon-remote-texture.c
406 * src/hildon-text-view.c
407 * src/hildon-touch-selector.c
408 * src/hildon-window-stack.c
409 * src/hildon-window.c:
410 Add missing 'Since: 2.2' tags.
412 * doc/hildon-sections.txt:
413 Add some missing symbols.
415 * doc/hildon-docs.sgml:
416 New 'Other' section for HildonAnimationActor and
419 2009-04-06 Alberto Garcia <agarcia@igalia.com>
421 Patch by Iván Gómez (igomez@igalia.com)
425 * doc/hildon-docs.sgml
426 * doc/hildon-sections.txt
430 New chapters on using the Hildon library.
431 Updated the general structure of the reference manual.
432 Other minor documentation fixes.
434 * src/hildon-calendar-popup.c
435 * src/hildon-calendar.c
436 * src/hildon-controlbar.c
437 * src/hildon-date-editor.c
438 * src/hildon-dialog.c
439 * src/hildon-hvolumebar.c
440 * src/hildon-number-editor.c
441 * src/hildon-range-editor.c
442 * src/hildon-sort-dialog.c
443 * src/hildon-time-editor.c
444 * src/hildon-time-picker.c
445 * src/hildon-volumebar-range.c
446 * src/hildon-volumebar.c
447 * src/hildon-vvolumebar.c
448 * src/hildon-weekday-picker.c:
449 Add deprecation notes
451 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
452 Document 'horizontal-movement' and 'vertical-movement' signals.
454 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
459 * configure.ac: Bump version.
460 * debian/changelog: Updates.
462 2009-04-06 Alejandro G. Castro <alex@igalia.com>
464 * src/hildon-pannable-area.c,
465 (hildon_pannable_area_class_init): increased the minimum velocity.
466 (hildon_pannable_area_button_release_cb): Updated the
467 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
468 setup. Review the code to control that last event.
470 Fixes: NB#109790 (Releasing finger in pannable area easily causes
473 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
475 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
477 * src/hildon-get-password-dialog.c
478 (hildon_get_password_set_property),
479 (hildon_get_password_get_property), (create_contents):
480 * src/hildon-login-dialog-private.h:
481 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
482 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
483 (hildon_login_dialog_get_password):
484 * src/hildon-set-password-dialog-private.h:
485 * src/hildon-set-password-dialog.c
486 (hildon_set_password_set_property),
487 (hildon_set_password_get_property), (create_contents),
488 (hildon_set_password_response_change),
489 (hildon_set_password_response_set), (hildon_checkbox_toggled):
491 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
492 instead and look more Fremantle style.
494 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
496 2009-04-03 Alberto Garcia <agarcia@igalia.com>
498 * doc/hildon-sections.txt
499 * src/hildon-window-stack.h
500 * src/hildon-window-stack.c
501 (+hildon_window_stack_get_windows):
502 New API to obtain the list of windows on a stack.
504 2009-04-02 Alberto Garcia <agarcia@igalia.com>
506 * src/hildon-app-menu.c (hildon_app_menu_popup)
507 (hildon_app_menu_class_init, -hildon_app_menu_show):
508 Remove hildon_app_menu_show() and move all its checks to
509 hildon_app_menu_popup()
511 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
513 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
514 (_hildon_picker_dialog_set_selector): removed call to
515 gtk_widget_set_size_request
516 * src/hildon-touch-selector.c
517 (_create_new_column): change the pannable size request policy
519 Avoid to use a hardcoded height for the hildon picker dialog. In order
520 to get that, we needed to change the hildon pannable size request
522 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
524 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
526 * src/hildon-window.c (hildon_window_map): Check for vbox to be
527 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
530 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
532 * debian/control: Depend on osso-system-lock localization package.
533 * src/hildon-code-dialog.c: Obtain the secu_application_title
534 translation from osso-system-lock.
535 * src/hildon-get-password-dialog.c (create_contents): Do not mark
536 for translation the atk related strings, that's not necessary.
537 * src/hildon-set-password-dialog.c (create_contents): Ditto.
538 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
539 cancel button, it is not required.
541 2009-04-02 Alejandro G. Castro <alex@igalia.com>
543 * src/hildon-pannable-area.c,
544 (hildon_pannable_area_class_init): Modified the default value of
545 the overshooting max speed, we have reduced it.
547 2009-04-02 Alberto Garcia <agarcia@igalia.com>
549 * doc/hildon-sections.txt
550 * src/hildon-window-private.h
551 * src/hildon-window.h
552 * src/hildon-window.c (hildon_window_class_init)
553 (hildon_window_init, hildon_window_finalize)
554 (hildon_window_realize, hildon_window_get_property)
555 (hildon_window_set_property, hildon_window_update_markup)
556 (hildon_window_get_markup, hildon_window_set_markup):
557 New "markup" property and hildon_window_{get,set}_markup() methods.
559 * examples/hildon-stackable-window-example.c (new_window):
560 Update example to use hildon_window_set_markup()
562 Fixes: NB#106375 (Need API to retitle a window with a title
565 2009-04-01 Alejandro G. Castro <alex@igalia.com>
567 * src/hildon-pannable-area.c,
568 (hildon_pannable_area_class_init): Changed the default value of
569 the initial_hint to TRUE.
570 (hildon_pannable_area_initial_effect): Changed the initial effect,
571 not the effect is just the fade-out of the scrollbars.
573 Fixes: NB#107775 (No scrollbars can be seen when several items are
574 available in a dialog)
576 2009-04-01 Alberto Garcia <agarcia@igalia.com>
578 * src/hildon-program.c (hildon_program_update_top_most):
581 Fixes: NB#109179 (Memory leak in Hildon program)
583 2009-04-01 Alberto Garcia <agarcia@igalia.com>
585 * src/hildon-banner.c (-get_current_app_window):
586 Remove unused function.
588 2009-04-01 Alejandro G. Castro <alex@igalia.com>
590 * src/hildon-pannable-area.c: Modified the documentation of the
591 get adjustments functions to explain the problem of using the
593 (hildon_pannable_area_class_init): Improved the explanation about
596 2009-04-01 Alberto Garcia <agarcia@igalia.com>
598 * src/hildon-app-menu-private.h
599 * src/hildon-app-menu.c
600 (hildon_app_menu_class_init):
601 Bring back the 'external-border' style property
602 (hildon_app_menu_class_init, hildon_app_menu_init)
603 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
604 Set a fixed width-request for the menu, independent of the number
607 Fixes: NB#94957 (Smoothly opened application menu)
609 2009-03-30 Alberto Garcia <agarcia@igalia.com>
611 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
613 * src/hildon-banner.c
614 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
616 Make sure that the banner is correctly placed the first time it's
618 (hildon_banner_check_position, -check_fullscreen_state):
619 Show the banner in the same place no matter if the window is in
620 fullscreen mode or not.
622 Fixes: NB#107386 (Odd stacking behaviour for information banners)
624 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
626 * src/hildon-touch-selector.c (_default_print_func): reorder
627 concatenation for clarity.
629 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
631 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
632 for multicolumn selectors.
634 Fixes: NB#109099 (Memory leak in Hildon touch selector)
636 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
641 * configure.ac: Bump version.
642 * debian/changelog: Updates.
644 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
646 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
649 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
651 * configure.ac: removed libcangerra-gtk dependency
652 * debian/control: removed libcanberra-gtk dependency
653 * src/Makefile.am: removed libcanberra gtk related flags
654 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
655 context, and manage a global canberra context instead
657 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
659 2009-03-26 Alberto Garcia <agarcia@igalia.com>
661 Patch by Daniel Borgmann (danielb@openismus.com)
663 * src/hildon-edit-toolbar.c:
664 Adjust the left padding.
665 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
666 Paint background of the edit toolbar.
668 Fixes: NB#107897 (Patch to make editmodetoolbar background
669 themeable and adjust margin)
671 2009-03-25 Alberto Garcia <agarcia@igalia.com>
673 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
675 * src/hildon-program.c (hildon_program_update_top_most):
676 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
678 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
679 change when the user tasks in/out of an application)
681 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
683 * configure.ac: added libcangerra-gtk dependency
684 * debian/control: added libcanberra-gtk dependency
685 * src/Makefile.am: added libcanberra gtk related flags
686 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
689 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
691 2009-03-25 Alberto Garcia <agarcia@igalia.com>
693 * src/hildon-program.c (hildon_program_remove_window)
694 (hildon_program_add_window): Add checks for the window
695 parameter. Don't decrease the window counter if the window is not
698 2009-03-24 Alejandro G. Castro <alex@igalia.com>
700 * src/hildon-pannable-area.c,
701 (hildon_pannable_area_realize): Fixed position of the event_window
702 in the realize method.
704 2009-03-24 Alberto Garcia <agarcia@igalia.com>
706 * src/hildon-app-menu-private.h
707 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
708 (hildon_app_menu_map, hildon_app_menu_hide_idle)
709 (hildon_app_menu_key_press, hildon_app_menu_init)
710 (hildon_app_menu_finalize):
711 Make sure that all idle functions are removed when the widget is
714 Fixes: NB#107583 (Hildon app menu crashes in various applications)
716 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
721 * configure.ac: Bump version.
722 * debian/changelog: Updates.
724 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
727 (+hildon_entry_show_placeholder),
728 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
729 that replace hildon_entry_update_contents().
730 (hildon_entry_set_text),
731 (hildon_entry_set_placeholder),
732 (hildon_entry_focus_in_event),
733 (hildon_entry_focus_out_event): Determine when it is needed
734 either to show or hide the placeholder and call the above methods.
736 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
737 when the placeholder text is already set)
739 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
741 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
742 simple GdkPixbufAnim using the new icons for the banner.
743 (hildon_banner_show_animation): Use the above mentioned method to
744 create the animation widget.
746 Fixes: NB#103564 (Make hildon animation banner use individual
747 image files as the animation)
749 2009-03-24 Alejandro G. Castro <alex@igalia.com>
751 * src/hildon-pannable-area.c,
752 (hildon_pannable_leave_notify_event): Check if the child is NULL
753 to avoid sending the leave.
755 2009-03-24 Alejandro G. Castro <alex@igalia.com>
757 * src/hildon-pannable-area.c,
758 (hildon_pannable_area_class_init),
759 (hildon_pannable_leave_notify_event): Added a handler of the
760 leave-notify-signal to consider when no motion notify before
763 Fixes: NB#107494 (Items stay selected when clicking and moving
764 away when inside pannable area)
766 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
771 * configure.ac: Bump version.
772 * debian/changelog: Updates.
774 2009-03-19 Alejandro G. Castro <alex@igalia.com>
776 Patch by Alberto Garcia (agarcia@igalia.com)
778 * src/hildon-date-button.c,
779 (hildon_date_button_class_init),
780 (hildon_date_button_init): Removed the construct property handling
781 and created a default selector in the init method.
782 * src/hildon-picker-button.c,
783 (hildon_picker_button_class_init): Removed the construct flag of the
786 2009-03-18 Alberto Garcia <agarcia@igalia.com>
788 * src/hildon-main.c (hildon_init):
789 Don't allow hildon_init() to be called more than once.
791 Fixes: NB#106607 (hildon_init should issue error message upon
794 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
796 * examples/hildon-pannable-area-touch-list-example.c
797 * examples/hildon-pannagle-area-touch-grid-example.c
798 * examples/hildon-edit-toolbar-example.c
799 * examples/hildon-touch-selector-multi-cells-example.c
800 Removed the call to gtk_rc_parse_string, as it is not required since
803 2009-03-17 Alejandro G. Castro <alex@igalia.com>
805 * src/hildon-pannable-area.c,
806 (hildon_pannable_area_class_init): Modified the default panning
807 threshold of the widget to 6px.
809 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
810 than the threshold value ) within the button is not sending the
813 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
815 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
816 for the treeview in the new column. This way, the touch list will never
819 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
820 be selected manually for the HW keys to work)
822 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
824 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
825 comparison instead of using strcmp(). Fixes a compiler warning as well.
827 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
829 * doc/hildon-docs.sgml: Do not set the library version in the
830 document title, use the releaseinfo tag for that purpose instead.
832 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
834 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
835 Do not jump to the first item if the text in the entry is removed.
837 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
842 * configure.ac: Bump version.
843 * debian/changelog: Updates.
845 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
847 * src/hildon-entry.c (hildon_entry_refresh_contents):
848 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
849 Use "ReversedSecondaryTextColor" for the placeholder text.
851 2009-03-12 Alberto Garcia <agarcia@igalia.com>
853 * src/hildon-text-view.c: Fix compilation warning.
855 2009-03-12 Alberto Garcia <agarcia@igalia.com>
857 * src/hildon-button.c (hildon_button_class_init): Don't make
858 "title" and "value" construction properties, to prevent them from
859 overwriting labels set from derived classes.
861 * src/hildon-picker-button.c
862 (hildon_picker_button_set_selector): Allow setting a NULL selector.
863 (hildon_picker_button_class_init): Make touch-selector a
864 construction property.
866 * src/hildon-date-button.c (hildon_date_button_class_init)
867 (+hildon_date_button_constructed): Add a default date selector if
870 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
872 * src/hildon-touch-selector.c: Small documentation fixes.
874 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
876 Based on a patch by Daniel Borgmann (danielb@openismus.com)
878 * src/hildon-entry.c (hildon_entry_refresh_contents),
879 (hildon_entry_get_text), (hildon_entry_init): Do not use the
880 widget name, set the logical color directly instead and a boolean
881 showing_placeholder instead.
882 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
883 use the widget name here either.
885 Fixes: NB#105678 (HildonTextView should use logical colours
886 instead of setting widget name)
888 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
890 Patch by Daniel Elster (danielk@openismus.com)
892 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
893 Add user_data parameter.
894 (hildon_touch_selector_set_print_func_full): New function akin
895 hildon_touch_selector_set_print_func() but with support for user
896 data and a destroy callback.
897 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
898 to clean up the print function user data.
899 (hildon_touch_selector_class_init): Install dispose function.
900 (HildonTouchSelectorPrivate::print_user_data),
901 (HildonTouchSelectorPrivate::print_destroy_func): New private
903 (hildon_touch_selector_init): Initialize new private members.
904 (hildon_touch_selector_get_current_text): Pass along user data
905 to the print function.
906 (_default_print_func): Add dummy user_data to parameter list.
907 * hildon-date-selector.c (_custom_print_func): ditto,
908 * hildon-time-selector.c (_custom_print_func): ditto,
909 * hildon-touch-selector-entry.c
910 (hildon_touch_selector_entry_print_func): ditto.
912 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
914 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
916 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
918 2009-03-12 Alejandro G. Castro <alex@igalia.com>
920 * src/hildon-pannable-area.c,
921 (hildon_pannable_area_init),
922 (hildon_pannable_area_button_press_cb),
923 (hildon_pannable_area_motion_notify_cb): We have added code to
924 handle the leave and enter events when using the motion events.
926 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
928 2009-03-11 Alberto Garcia <agarcia@igalia.com>
930 * src/hildon-date-button.c (hildon_date_button_get_date)
931 (hildon_date_button_set_date): Make sure that the button has a
934 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
936 2009-03-11 Alejandro G. Castro <alex@igalia.com>
938 * src/hildon-pannable-area.c,
939 (hildon_pannable_area_class_init),
940 (hildon_pannable_area_calculate_velocity): Modify the use of the
941 force and adapt the value.
943 2009-03-10 Alberto Garcia <agarcia@igalia.com>
945 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
946 (hildon_app_menu_class_init): Hide the menu if it receives a
947 delete-event, but don't destroy it
949 Fixes: NB#104485 (Not able to address the call when application
950 menu is opened at background)
952 2009-03-10 Alberto Garcia <agarcia@igalia.com>
954 * src/hildon-app-menu.c
955 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
956 Remove the "external-border" style property, let the menu take its
957 natural size (or the one set by the window manager)
958 (hildon_app_menu_repack_items):
959 Don't reshow the menu, avoid flickers.
961 Partially fixes NB#94957 (Smoothly opened application menu)
963 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
968 * configure.ac: Bump version.
969 * debian/changelog: Updates.
971 2009-03-10 Alejandro G. Castro <alex@igalia.com>
973 * src/hildon-pannable-area.c,
974 (hildon_pannable_area_motion_notify_cb): We control that the
975 direction error margin is used just in case the movement is
976 allowed in the other direction.
978 Fixes: NB#105012 (buttons inside a pannable area not getting
979 release event when dragging/releasing)
981 2009-03-10 Alejandro G. Castro <alex@igalia.com>
983 * src/hildon-pannable-area.c,
984 (hildon_pannable_area_class_init),
985 (hildon_pannable_area_get_property),
986 (hildon_pannable_area_set_property),
987 (hildon_pannable_area_initial_effect),
988 (hildon_pannable_axis_scroll),
989 (hildon_pannable_area_button_release_cb): Reviewed the
990 overshooting effect, now it has its own max
991 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
994 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
999 * configure.ac: Bump version.
1000 * debian/changelog: Updates.
1002 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1004 * src/hildon-pannable-area.c,
1005 (hildon_pannable_area_class_init): Changed the max speed, now
1006 users can launch the widget very fast. Reduced the default force,
1007 that way it is easier to control the launch speed.
1009 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1011 * src/hildon-pannable-area.c,
1012 (hildon_pannable_area_button_release_cb): Removed this check
1013 because it causes problems when the device is overloaded.
1015 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1017 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1018 add a current_text field to store the text entered in the
1019 touch selector entry.
1020 (_clean_current_selection): clean up the current text as well.
1021 (_save_current_selection), (_restore_current_selection):
1022 Save/restore the text in the entry if the selector is a
1023 HildonTouchSelectorEntry.
1025 Fixes: NB#102541 (value entered in the touch selector entry is not
1026 shown when opened for second time)
1028 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1030 * doc/hildon-sections.txt:
1031 * src/hildon-touch-selector-entry.c
1032 (+hildon_touch_selector_entry_get_entry):
1033 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1035 Fixes: NB#104815 (I need accessor to the entry inside
1036 HildonTouchSelectorEntry)
1038 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1040 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1041 (hildon_app_menu_class_init):
1042 New "filter-vertical-spacing" style property.
1044 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1046 * src/hildon-find-toolbar.c
1047 (hildon_find_toolbar_emit_close)
1048 (hildon_find_toolbar_emit_invalid_input)
1049 (hildon_find_toolbar_entry_activate):
1050 Use g_signal_emit() instead of g_signal_emit_by_name()
1052 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1054 Patch by Mox Soini (ext-mox.soini@nokia.com)
1056 * tests/TEST-CASES.txt
1057 * tests/check-hildon-banner.c
1058 * tests/check-hildon-note.c
1059 * src/hildon-banner.c
1060 * src/hildon-code-dialog.c
1061 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1062 * src/hildon-time-editor.c
1063 * examples/hildon-lookup-example.c (main):
1064 Replace obsolete icon names with new ones.
1066 * src/hildon-find-toolbar-private.h:
1067 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1068 (-hildon_find_toolbar_emit_search):
1069 Remove find button and change icon of close button.
1071 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1073 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1075 * src/hildon-time-button.c (hildon_time_button_new_step):
1076 Use the "touch-selector" property to set the selector directly
1077 when creating the object.
1079 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1081 Added a new example application that allows tuning the pannable
1082 area and replaced defines with properties in order to simplify the
1083 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1084 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1085 PROP_DIRECTION_ERROR_MARGIN.
1087 * examples/hildon-pannable-area-tuning-example.c: New example
1089 * src/hildon-pannable-area.c,
1090 (hildon_pannable_area_class_init),
1091 (hildon_pannable_area_init),
1092 (hildon_pannable_area_get_property),
1093 (hildon_pannable_area_set_property),
1094 (hildon_pannable_area_launch_fade_timeout),
1095 (hildon_pannable_area_adjust_value_changed),
1096 (hildon_pannable_axis_scroll),
1097 (hildon_pannable_area_motion_notify_cb),
1098 (hildon_pannable_area_scroll_cb),
1099 (hildon_pannable_area_button_release_cb): We have converted some
1100 of the defines that control the widget to properties to simplify
1103 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1105 * src/hildon-app-menu.c (hildon_app_menu_map)
1106 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1107 so it's closed if a new window appears.
1109 Fixes: NB#104485 (Not able to address the call when application
1110 menu is opened at background)
1112 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1114 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1115 missing 'break' statement in in 'case' construct to avoid
1118 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1120 * src/hildon-touch-selector-entry.c
1121 (hildon_touch_selector_entry_get_property),
1122 (hildon_touch_selector_entry_set_property): Add missing 'break'
1123 statements in in 'case' constructs to avoid incorrect warnings.
1125 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1127 * src/hildon-time-editor.c
1128 (hildon_time_editor_get_time_separators): Do not crash if
1129 the first label is NULL.
1131 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1133 * src/hildon-date-selector.c (_month_days): Check for month to be
1134 strictly less than 12, since otherwise we may overrun the array.
1136 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1138 * src/hildon-date-button.c (+hildon_date_button_new_full)
1139 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1140 (hildon_date_button_init): Set the date selector using a
1141 construction property, to make it happen after HildonButton's
1142 "value" property is set.
1144 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1145 current date by default)
1147 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1149 * doc/hildon-sections.txt
1150 * src/hildon-program.c
1151 * src/hildon-stackable-window.c
1152 * src/hildon-window.c:
1153 Documentation updates
1155 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1157 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1158 (hildon_window_stack_new, +hildon_window_stack_set_property)
1159 (+hildon_window_stack_get_property)
1160 (hildon_window_stack_class_init)
1161 (+hildon_window_stack_set_window_group)
1162 (+hildon_window_stack_get_window_group):
1163 Make the window group a construction property.
1165 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1167 * doc/hildon-sections.txt
1168 * src/hildon-stackable-window-private.h
1169 * src/hildon-stackable-window.h
1170 * src/hildon-stackable-window.c
1171 (-hildon_stackable_window_set_app_menu)
1172 (-hildon_stackable_window_get_app_menu)
1173 (-hildon_stackable_window_toggle_menu)
1174 (-hildon_stackable_window_finalize)
1175 (hildon_stackable_window_class_init)
1176 (hildon_stackable_window_init)
1177 * src/hildon-window-private.h
1178 * src/hildon-window.h
1179 * src/hildon-window.c (hildon_window_init)
1180 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1181 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1182 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1183 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1184 Moved all HildonAppMenu code to HildonWindow. The menu does not
1185 require a HildonStackableWindow anymore.
1187 * src/hildon-app-menu.c
1188 * src/hildon-program.c
1189 * examples/hildon-app-menu-example.c (main):
1190 Update examples and documentation to reflect HildonAppMenu
1193 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1195 * src/hildon-remote-texture.c
1196 * src/hildon-animation-actor.c:
1197 Don't include unused private headers.
1199 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1201 * src/hildon-program-private.h
1202 * src/hildon-program.c
1203 (hildon_program_set_common_menu)
1204 (hildon_program_get_common_menu)
1205 (hildon_program_set_common_app_menu)
1206 (hildon_program_get_common_app_menu):
1207 Change common menu pointers from GtkWidget* to GtkMenu* and
1208 HildonAppMenu* to avoid unnecessary casts.
1210 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1212 * src/hildon-window.c (hildon_window_set_main_menu):
1213 Removed incorrect 'Since:' tag
1215 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1217 * src/hildon-pannable-area.c,
1218 (hildon_pannable_area_calculate_velocity): We use now the
1219 RATIO_TOLERANCE here to check the distance, fixed typo in the
1221 (hildon_pannable_area_motion_notify_cb): We have to set the type
1222 and time even if we are not sending the motion.
1224 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1226 * doc/hildon-sections.txt
1227 * src/hildon-app-menu.h
1228 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1229 (+hildon_app_menu_get_filters): New methods to get the contents of
1232 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1235 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1237 * src/hildon-app-menu.c (hildon_app_menu_popup):
1240 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1242 * src/hildon-window.h
1243 * src/hildon-window.c (+hildon_window_get_main_menu)
1244 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1245 and deprecated hildon_window_get_menu().
1247 * src/hildon-stackable-window.h
1248 * src/hildon-stackable-window.c
1249 (+hildon_stackable_window_set_app_menu)
1250 (+hildon_stackable_window_get_app_menu)
1251 (hildon_stackable_window_set_main_menu): Created
1252 hildon_stackable_window_{get,set}_app_menu() and deprecated
1253 hildon_stackable_window_set_main_menu().
1255 * doc/hildon-sections.txt
1256 * examples/hildon-app-menu-example.c (main)
1257 * src/hildon-app-menu.c
1258 * src/hildon-program.c:
1259 Updated examples and documentation.
1261 Fixes: NB#103758 (No way to obtain a menu from a
1262 HildonStackableWindow)
1264 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1269 * configure.ac: Bump version.
1270 * debian/changelog: Updates.
1272 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1274 * examples/hildon-remote-texture-example.c: Include
1275 hildon-remote-texture.h explicitely.
1276 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1277 applications not defining _XOPEN_SOURCE which don't require this header.
1279 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1281 * doc/hildon-sections.txt
1282 * src/hildon-app-menu.h
1283 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1284 New function to pop up a HildonAppMenu
1286 * src/hildon-stackable-window.c
1287 (hildon_stackable_window_toggle_menu):
1288 Use hildon_app_menu_popup() to show the menu.
1290 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1292 * src/hildon-app-menu.c (hildon_app_menu_show)
1293 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1294 menu if there's another window between it and its parent window.
1296 Fixes: NB#100468 (Application menu window is launched even when a
1297 new secondary-window/dialog is pending to be shown/realized)
1299 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1301 * src/hildon-window-stack.c (hildon_window_stack_push)
1302 (hildon_window_stack_pop_and_push):
1303 Don't forget to push/pop the first window.
1304 Reverse the window list before calling _push_list()
1306 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1308 * src/hildon-picker-button.h
1309 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1310 Remove "value_changed" slot to avoid ABI breakage
1312 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1314 * src/hildon-pannable-area.c,
1315 (hildon_pannable_area_realize),
1316 (hildon_pannable_area_unrealize),
1317 (hildon_pannable_draw_vscroll),
1318 (hildon_pannable_draw_hscroll): Changed the method to handle the
1319 GC used to draw the transparent scrollbar, this way we avoid
1320 creating the GC all the time when drawing the scrollbars.
1322 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1324 * src/hildon-pannable-area.c,
1325 (hildon_pannable_area_init),
1326 (hildon_pannable_area_remove): Removed some unnecessary casts.
1327 (hildon_pannable_area_dispose): Disconnected some signals before
1328 releasing the adjustments.
1330 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1332 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1333 Make sure that all widgets contained in the toolbar are shown.
1335 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1337 * doc/hildon-sections.txt
1338 * src/hildon-picker-button.h
1339 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1340 (_selection_changed, hildon_picker_button_on_dialog_response)
1341 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1342 New hildon_picker_button_value_changed() method.
1345 * src/hildon-picker-button-private.h
1346 * src/hildon-picker-button.c (hildon_picker_button_init)
1347 (+hildon_picker_button_disable_value_changed): Add protected
1348 function for disabling the "value-changed" signal.
1350 * src/hildon-date-button.c (hildon_date_button_set_date):
1351 Don't emit "value-changed" for each one of the three columns.
1353 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1354 before actual change of values)
1356 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1358 * src/hildon-pannable-area.c,
1359 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1360 for the treeview overshooting.
1362 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1364 * src/hildon-banner.c (+hildon_banner_bind_style):
1365 Renamed from hildon_banner_bind_label_style(), now naming the
1366 banner itself as well.
1367 (hildon_banner_show_information),
1368 (hildon_banner_show_information_with_markup),
1369 (hildon_banner_show_animation), (hildon_banner_show_progress):
1370 Name the widgets and labels, based on their type.
1372 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1375 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1377 * src/hildon-note.c (hildon_note_set_property): call
1378 hildon_note_rename() on HildonNote:note-type set.
1379 (hildon_note_rename): Name the note and its label, based on the
1380 HildonNote:note-type property.
1382 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1385 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1387 * src/hildon-pannable-area.c,
1388 (hildon_pannable_area_class_init),
1389 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1390 panning parameters, increased SPS and deceleration factor. Added
1391 also a margin to control fake directions.
1393 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1395 Patch by Sven Herzberg (sven@imendio.com)
1397 * configure.ac: Add missing AM_PROG_CC_C_0
1398 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1400 See NB#101420 (Update unit tests and fix make check)
1402 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1404 This patch was applied before but reverted because it caused
1405 problems, we have changed the main condition and tested the
1406 regressions we detected before and they work ok. We have done a
1407 complete review of the topmost algorithm in order to get a more
1410 * src/hildon-pannable-area.c,
1411 (hildon_pannable_area_get_topmost): Added a new parameter to
1412 filter the the windows that do not include those events.
1413 (hildon_pannable_area_button_press_cb),
1414 (hildon_pannable_area_button_release_cb),
1415 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1416 topmost function, we have added the new parameter.
1418 Fixes: NB#97458 (Pannable area prevents propagation of button
1421 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1423 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1424 if all columns in the selector have an item selected.
1425 (_on_dialog_response): Stop "response" signal emission if there is
1426 any selector column without selected items.
1428 Fixes: NB#101889 (Picker dialog should not close when nothing is
1429 selected in multiple selection list)
1431 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1433 * src/hildon-font-selection-dialog.c
1434 (hildon_font_selection_dialog_class_init),
1435 (hildon_font_selection_dialog_init): Remove the preview
1436 button and dialog, since previewing with default theming is likely
1437 to be overcomplicated. The :preview property has now no effect.
1438 Update documentation blurbs to inform about this.
1440 Fixes: NB#92297 (Preview content is not clearly visible for
1441 default colour text)
1443 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1445 Reviewed the geometry that handles the children size and
1446 scrollbar, now it tries a size and reviews the results depending
1447 on the scrollbars visibility.
1449 * src/hildon-pannable-area.c,
1450 (hildon_pannable_area_realize): Fixed a typo.
1451 (hildon_pannable_area_child_allocate_calculate): Added this
1452 function to calculate the child allocation.
1453 (hildon_pannable_area_size_allocate): Reviewed the allocation
1455 (hildon_pannable_area_check_scrollbars),
1456 (hildon_pannable_area_refresh): Refactored refresh function, this
1457 way we can call the code handling the scrollbars without causing a
1458 size_request, it is interesting in the allocate.
1459 (hildon_pannable_area_init): Replace the callbacks of the
1460 value_changed and changed signals to propertly deal with the
1462 (hildon_pannable_area_grab_notify),
1463 (hildon_pannable_area_initial_effect),
1464 (hildon_pannable_area_launch_fade_timeout),
1465 (hildon_pannable_area_adjust_changed),
1466 (hildon_pannable_area_adjust_value_changed),
1467 (hildon_pannable_area_redraw),
1468 (hildon_pannable_area_button_press_cb),
1469 (hildon_pannable_area_button_release_cb),
1470 (hildon_pannable_area_scroll_cb),
1471 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1472 code and use the new functions adjust_changed and
1473 adjust_value_changed.
1475 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1476 Contact editor dialog)
1478 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1483 * configure.ac: Bump version.
1484 * debian/changelog: Updates.
1486 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1488 * src/hildon-pannable-area.c,
1489 (hildon_pannable_area_get_topmost),
1490 (hildon_pannable_area_button_press_cb),
1491 (hildon_pannable_area_button_release_cb),
1492 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1493 topmost function adding the event mask. We have to try a
1494 differente approach because it is still causing problems (NB#9745,
1497 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1499 * src/hildon-banner.c:
1500 Update the maximum width of timed banners.
1501 (force_to_wrap_truncated): Enforce the maximum text width if the
1504 Fixes: NB#102413 (The text margins (wrapping) in information
1505 banner should be HILDON_MARGIN_TRIPLE)
1507 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1509 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1511 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1512 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1513 bound when calculating the scroll indicator position.
1515 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1516 treat ->lower correctly)
1518 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1520 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1521 expose event handling, since it is not necessary to draw the focus
1524 Fixes: NB#102467 (Do not show highlight on the text in
1527 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1529 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1530 full height of the toolbar for the button and the label.
1532 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1534 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1535 padding before the label and after the button.
1537 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1539 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1541 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1542 Add a GtkVSeparator between the button and the back arrow.
1543 Let the button have automatic size.
1544 Set a name to the widget for theming handling.
1546 Fixes: NB#101793 (Make edit toolbar the same height as window
1547 title bar (use title area theming))
1549 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1551 * src/hildon-helper.c (attach_new_color_element): Fix memory
1554 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1556 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1558 * examples/hildon-button-example.c (common_buttons_window): Don't
1561 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1563 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1564 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1566 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1568 * src/hildon-gtk.c: Check that the window is realized.
1570 Fixes: NB#102225 (Crash setting the progress indicator to a non
1573 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1575 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1576 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1577 instead of modifying the one in the widget style.
1579 Fixes: NB#101043 (Second row of all the command button are
1580 displayed in transparent mode.)
1582 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1584 * src/hildon-date-button.c
1585 * src/hildon-time-button.c: Add gettext macros
1587 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1589 * src/hildon-date-button.c (hildon_date_button_new):
1590 * src/hildon-time-button.c (hildon_time_button_new_step):
1591 Use new logical strings to set the button default title.
1593 Fixes: NB#99915 (Date and Time options are not localised in Date
1596 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1598 * src/hildon-pannable-area.c
1599 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1600 the PANNING_THRESHOLD.
1602 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1604 * src/hildon-pannable-area.c,
1605 (hildon_pannable_area_class_init): Increased the maximum speed.
1606 (hildon_pannable_area_get_property),
1607 (hildon_pannable_area_set_property),
1608 (hildon_pannable_area_timeout): Added a new low friction mode, it
1609 allows the user avoid friction when launching the widget fast
1610 enough. It is interesting to traverse long lists.
1612 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1614 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1615 (+hildon_stackable_window_delete_event): Ignore delete events if
1616 the window is not the topmost one.
1618 Fixes: NB#101698 (Back button long press and delete-event handling)
1620 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1622 * src/hildon-pannable-area.c,
1623 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1624 gtk-dnd-drag-threshold, it was too big. We have defined our own
1625 dnd define and set a smaller value: PANNIG_THRESHOLD.
1627 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1629 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1630 user-defined icons, use always the default one.
1632 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1634 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1636 This patch was applied before but reverted because it caused
1637 problems, we have changed the main condition and tested the
1638 regressions we detected before and they work ok.
1640 * src/hildon-pannable-area.c,
1641 (hildon_pannable_area_get_topmost): Added a new parameter to
1642 filter the the windows that do not include those events. Added
1643 also a condition when finding the window to filter windows that do
1644 not ask for those events.
1645 (hildon_pannable_area_button_press_cb),
1646 (hildon_pannable_area_button_release_cb),
1647 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1648 topmost function, we have added the new parameter.
1650 Fixes: NB#97458 (Pannable area prevents propagation of button
1653 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1655 * tests/check-hildon-color-button.c (START_TEST): do not leak
1658 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1660 * src/hildon-font-selection-dialog.c
1661 (hildon_font_selection_dialog_get_preview_text): Return NULL
1662 instead of FALSE on the g_return_val_if_fail().
1664 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1666 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1667 * src/hildon-date-selector.c
1668 (hildon_date_selector_select_current_date):
1669 Do not compare unsigned integers to be greater than or equal 0,
1670 because it's always TRUE.
1672 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1674 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1675 (hildon_date_selector_constructor): Do not select the current
1676 date until we are handle the "changed" signal, to avoid having bogus
1677 elements in the days model.
1679 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1681 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1682 for num_days, since _month_days() can return a negative value.
1684 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1686 * src/hildon-caption.c (hildon_caption_size_allocate):
1687 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1688 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1690 Initialize allocation variables to 0, to avoid eventually using
1691 unitialized variables.
1693 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1695 * src/hildon-bread-crumb-trail.c
1696 (hildon_bread_crumb_trail_size_allocate):
1697 * src/hildon-calendar.c (hildon_calendar_set_background):
1698 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1699 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1700 * src/hildon-seekbar.c (hildon_seekbar_init):
1701 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1702 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1703 * src/hildon-touch-selector-entry.c
1704 (hildon_touch_selector_get_text_from_model):
1705 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1706 * src/hildon-window.c (hildon_window_finalize):
1708 Remove many unused variables.
1710 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1712 * src/hildon-seekbar.c: (hildon_seekbar_init),
1713 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1715 Remove unnecessary g_assert() calls.
1717 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1719 * src/hildon-caption.c: (hildon_caption_expose),
1720 (hildon_caption_set_property), (hildon_caption_init),
1721 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1722 (hildon_caption_size_request), (hildon_caption_size_allocate),
1723 (hildon_caption_forall), (hildon_caption_set_separator),
1724 (hildon_caption_activate), (hildon_caption_set_child_expand),
1725 (hildon_caption_set_label_text),
1726 (hildon_caption_get_label_alignment):
1728 Remove unnecessary g_assert() calls.
1730 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1732 * src/hildon-banner.c
1733 (hildon_banner_map, hildon_banner_init): Make banner temporary
1734 before mapping it to avoid closing other temporary windows, but
1735 make it non-temporary afterwards to avoid being closed by other
1736 non-temporary windows.
1737 (-hildon_banner_client_event, hildon_banner_init):
1738 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1740 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1743 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1745 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1748 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1750 * src/hildon-remote-texture.c
1751 * src/hildon-remote-texture.h
1752 * src/hildon-remote-texture-private.h
1753 * examples/hildon-remote-texture-example.c:
1754 Updates/fixes to remote-texture and its example.
1756 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1758 Patch by Mox Soini (ext-mox.soini@nokia.com)
1760 * src/hildon-code-dialog.c: Update logical id.
1761 * src/hildon-set-password-dialog.c: Update logical id.
1763 Fixes: NB#100646 (Logical strings is shown for ok in set
1764 password,Password needed dialogs)
1766 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1769 * src/hildon-remote-texture.c
1770 * src/hildon-remote-texture.h
1771 * src/hildon-remote-texture-private.h
1773 Added remote texture widget (for Clutter shared memory textures)
1775 * examples/hildon-remote-texture-example.c
1776 * examples/Makefile.am
1777 Added example file for remote texture usage
1779 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1781 * configure.ac: post release version bump.
1782 * debian/changelog: version bump.
1784 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1789 * configure.ac: Bump version.
1790 * debian/changelog: Updates.
1792 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1794 * src/hildon-date-selector.c (hildon_date_selector_init)
1795 (hildon_date_selector_constructor): Don't connect to the "changed"
1796 signal until the selector is completely constructed.
1798 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1800 * src/hildon-touch-selector.c: (_create_new_column),
1801 (hildon_touch_selector_append_column),
1802 (hildon_touch_selector_set_column_selection_mode),
1803 (hildon_touch_selector_set_active),
1804 (hildon_touch_selector_select_iter):
1805 Emit the HildonTouchSelector::changed signal every time selection
1806 is changed in any of the methods above. This behavior was already
1807 documented but not fully functional.
1809 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1810 selection is programmatically changed)
1812 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1814 * doc/hildon-sections.txt: Remove obsolete icon
1815 sizes from here as well.
1817 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1819 * examples/hildon-stackable-window-example.c (add_window): Remove
1822 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1824 * src/hildon-app-menu.c
1825 (hildon_app_menu_show): Check whether the parent window of a menu
1826 is topmost before popping it up.
1828 Fixes: NB#100468 (Application menu window is launched even when a
1829 new secondary-window/dialog is pending to be shown/realized.)
1831 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1833 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1836 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1838 Patch by Mox Soini (ext-mox.soini@nokia.com)
1840 * src/hildon-banner.c: (hildon_banner_show_animation):
1841 use stylus size instead of obsolete note size.
1842 * src/hildon-defines.h: Update icon sizes.
1844 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1846 * src/hildon-touch-selector-entry.c:
1847 (hildon_touch_selector_entry_init): Disable unsupported
1849 (hildon_touch_selector_entry_get_text_column): Emit a warning
1850 if an unsupported input modes is used and explicitile state
1851 these modes in the documentation.
1853 Fixes: NB#99802 (Hildon touch selector entry not working properly
1854 for some of the input modes)
1856 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1858 * src/hildon-pannable-area.c,
1859 (hildon_pannable_area_init): Added the changed signal handlers of
1862 Fixes: NB#100320 (HildonPannableArea does not listen to
1863 GtkAdjustment "change" signals)
1865 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1867 * doc/hildon-sections.txt
1868 * src/hildon-window-private.h
1869 * src/hildon-window.h
1870 * src/hildon-window.c (hildon_window_init)
1871 (hildon_window_realize, hildon_window_unrealize)
1872 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1873 (hildon_window_size_request, hildon_window_size_allocate)
1874 (hildon_window_forall, hildon_window_show_all)
1875 (hildon_window_destroy, +paint_edit_toolbar)
1876 (+hildon_window_set_edit_toolbar):
1877 New hildon_window_set_edit_toolbar() method, to add a
1878 HildonEditToolbar to a window without having to pack it manually.
1880 Reorganize hildon_window_size_allocate()
1882 * src/hildon-edit-toolbar.c: Update documentation.
1884 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1885 example to use the new API.
1887 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1889 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1891 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1892 Remove from stack before calling parent's hide.
1894 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1896 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1897 window is removed from the middle of the stack, update the
1898 transiency of the previous one.
1900 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1903 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1905 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1906 block/unblock the signal handler if it's not actually being used.
1907 Fixes some critical warnings.
1909 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1911 Based on a patch by Iván Gómez (igomez@igalia.com)
1913 * src/hildon-banner.c
1917 * src/hildon-pannable-area.c
1918 * src/hildon-picker-dialog.c
1919 * src/hildon-wizard-dialog.h
1920 * src/hildon-wizard-dialog.c: Documentation updates.
1922 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1923 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1925 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1927 * configure.ac: post release version bump.
1928 * debian/changelog: version bump.
1930 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1935 * configure.ac: Bump version.
1936 * debian/changelog: Updates.
1938 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1940 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1941 a stock icon nor change the relief of the back arrow.
1943 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1944 graphics from theme)
1946 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1948 * src/hildon-button.c (hildon_button_set_alignment): Use
1949 priv->alignment if the button has no child yet.
1951 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1953 * src/hildon-button.c: (hildon_button_init): Set the
1954 button style during initialization to give it the proper
1957 Fixes: NB#99713 (HildonButton value label color is wrong)
1959 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1961 * src/hildon-touch-selector.c: Document
1962 hildon_touch_selector_center_on_selected()
1964 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1966 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1967 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1968 all menu items, but not the menu itself.
1969 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1970 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1971 items after adding them to the menu so keyboard accelerators work.
1972 (hildon_app_menu_show): Don't show the menu if it contains items
1973 but none of them are visible.
1975 * examples/hildon-app-menu-example.c (create_menu): Use
1976 gtk_widget_show_all() to show all menu items.
1978 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1980 * src/hildon-picker-dialog.c:
1981 (-_update_title_on_selector_changed_cb),
1982 (-_dialog_update_title): Removed.
1983 (_select_on_selector_changed_cb), (_on_dialog_response),
1984 (on_selector_columns_changed): Do not update the dialog title.
1985 (setup_interaction_mode): Do not connect to
1986 HildonTouchSelector::changed signal if there's a "done" button, as
1987 the dialog title doesn't need to be updated.
1989 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1992 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1994 Patch by Kristian Rietveld (kris@imendio.com)
1996 * src/hildon-touch-selector.c: (_create_new_column): Use new
1997 GtkTreeView::hildon-row-tapped signal to react to user interactions
1998 instead of ::changed.
2000 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2001 with some dynamic tree model)
2003 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2005 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2006 (+screen_size_changed, +label_size_request)
2007 (hildon_note_class_init): Make the Hildon information note have a
2008 minimum height, and make its text hvae a maximum width.
2010 Fixes: NB#98614 (Hildon information note (background) should have
2011 minimum height and maximum text width)
2013 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2015 * src/hildon-banner.h
2016 * src/hildon-banner.c (hildon_banner_show_information)
2017 (hildon_banner_show_informationf)
2018 (hildon_banner_show_information_with_markup): Update documentation
2019 to reflect that the icon_name parameter is not used anymore.
2020 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2021 Remove all code from these functions and mark them as deprecated.
2022 (hildon_banner_show_progress): Mark as deprecated.
2024 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2026 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2028 * src/hildon-pannable-area.c,
2029 (hildon_pannable_area_class_init),
2030 (tranparency_color),
2031 (hildon_pannable_draw_vscroll),
2032 (hildon_pannable_draw_hscroll),
2033 (hildon_pannable_area_expose_event): Added a new way to render the
2034 scrollbars of the pannable area avoiding using cairo at all. This
2035 way we improve the performance of the pannable area rendering. The
2036 cairo rendering procedure is still in the code, we can control
2037 which one to use changing the value of the define
2038 USE_CAIRO_SCROLLBARS.
2040 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2042 * configure.ac: post release version bump.
2043 * debian/changelog: version bump.
2045 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2050 * configure.ac: Bump version.
2051 * debian/changelog: Updates.
2053 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2055 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2056 banners instead of destroying them when they receive a button
2059 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2061 Reverted commit 34028, it was causing regressions, probably the
2062 topmost condition is not correct, we have to check it in more
2063 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2064 propagation of button press events)
2066 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2068 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2069 that the selection is not empty before attempting to retrieve the
2070 current ampm selection.
2072 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2074 * src/hildon-picker-button.c:
2075 (hildon_picker_button_on_dialog_response): Directly update the
2076 button contents when required instead of calling _selection_changed.
2078 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2080 * src/hildon-program.c (hildon_program_update_top_most): Update
2081 'is-topmost' property also when wm_hints is not set.
2083 Fixes: NB#98383 (is-topmost signal is not emitted when task
2084 switcher is clicked.)
2086 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2088 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2092 * src/hildon-animation-actor.c,
2093 * src/hildon-animation-actor.h: Added the animation actor class,
2094 this widget represents an animation actor for WM-assisted
2095 animation effects in the Hildon framework.
2097 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2099 * src/hildon-window-stack-private.h
2100 * src/hildon-window-stack.c
2101 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2102 Avoid calling gtk_widget_show() again indirectly from
2103 hildon_stackable_window_show()
2105 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2107 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2110 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2112 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2113 (hildon_time_selector_init): Move the construction of the hours and
2114 ampm columns to the constructor to preserve the order the columns
2117 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2119 * src/hildon-picker-dialog.c:
2120 (hildon_picker_dialog_class_init): Connect a realize method.
2121 (+hildon_picker_dialog_realize): Setup the interaction mode here
2123 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2124 yet, do it during the realize instead.
2125 (_on_dialog_response):
2126 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2127 if the widget is not realized, to avoid the dialog response before it
2130 Avoid premature responses in the HildonPickerDialog that can cause it
2131 to be hidden before it's even shown.
2133 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2135 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2136 (on_selector_columns_changed), (requires_done_button),
2137 (+prepare_action_area), (setup_interaction_mode),
2138 (_hildon_picker_dialog_set_selector):
2140 Split the interaction mode setup into preparation of the
2141 action area (prepare_action_area()) and the connection of
2142 the signals in setup_interaction_mode() and update the code to
2145 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2147 * src/hildon-pannable-area.c,
2148 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2149 per second to 15, we will check if this is ok regarding
2152 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2154 * src/hildon-pannable-area.c,
2155 (hildon_pannable_axis_scroll): Avoid resize if we already have
2156 reached overshoot_max.
2158 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2160 * src/hildon-pannable-area.c,
2161 (hildon_pannable_area_init),
2162 (hildon_pannable_area_realize),
2163 (hildon_pannable_area_size_allocate),
2164 (hildon_pannable_area_map),
2165 (hildon_pannable_area_unmap),
2166 (hildon_pannable_draw_vscroll),
2167 (hildon_pannable_draw_hscroll),
2168 (hildon_pannable_area_expose_event),
2169 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2170 pannable are to avoid the expose events go to the window and
2171 redraw the window. We save this way that part of the stack and the
2172 paint_boxes. We had to change the positions of the elements when
2175 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2177 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2178 * src/hildon-color-chooser-dialog.c:
2179 (hildon_color_chooser_dialog_init):
2180 * src/hildon-font-selection-dialog.c:
2181 (hildon_font_selection_dialog_init),
2182 (hildon_font_selection_dialog_show_preview):
2183 * src/hildon-get-password-dialog.c:
2184 * src/hildon-login-dialog.c:
2185 * src/hildon-set-password-dialog.c:
2186 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2187 * src/hildon-time-picker.c: (hildon_time_picker_init):
2189 Remove obsolete logical string IDs and update to the appropriate ones.
2191 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2193 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2195 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2196 that happens if the window hasn't been realized yet.
2198 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2199 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2201 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2203 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2204 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2207 Fixes: NB#98537 (Device hangs in account settings dialog)
2209 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2211 * configure.ac: post release version bump.
2212 * debian/changelog: version bump
2214 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2219 * configure.ac: Bump version.
2220 * debian/changelog: Updates.
2222 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2224 Added a new function to the HildonTimeButton widget that allows to
2225 change the step of the minutes in the selector associated with the
2226 button: hildon_time_button_new_step
2228 * src/hildon-time-button.c,
2229 (hildon_time_button_init),
2230 (hildon_time_button_new),
2231 (hildon_time_button_new_step):
2232 * src/hildon-time-button.h: Added the new function and refactored
2234 * examples/hildon-time-button-example.c,
2235 (main): We have replaced the function without parameters with the
2236 function with the steps set to 5
2238 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2240 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2242 * src/hildon-time-selector.c,
2243 (hildon_time_selector_class_init),
2244 (hildon_time_selector_constructor),
2245 (hildon_time_selector_get_property),
2246 (hildon_time_selector_set_property),
2247 (_create_minutes_model),
2248 (hildon_time_selector_new_step),
2249 (hildon_time_selector_set_time),
2250 * src/hildon-time-selector.h: Added a new property to the
2251 HildonTimeSelector (minutes-step), we use that property to control
2252 the steps between the minutes in the list of the selector. We have
2253 added a new function to the API to create a widget changing the
2254 step: hildon_time_selector_new_step.
2256 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2258 * src/hildon-time-selector.c,
2259 (hildon_time_selector_class_init),
2260 (hildon_time_selector_constructor),
2261 (hildon_time_selector_init): Overrided the construct function when
2262 creating the time selector object. We have moved the minutes model
2263 handling code from the init to the new construction function:
2264 hildon_time_selector_constructor.
2266 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2268 * examples/hildon-date-button-example.c: (main): Use the new
2269 hildon_date_button_new_with_year_range() method in the example.
2270 * src/hildon-date-button.c:
2271 (+hildon_date_button_new_with_year_range): New public method
2272 to conveniently create a HildonDateButton with a custom year range
2273 in its HildonDateSelector.
2274 * src/hildon-date-button.h: Add the new public method definition.
2276 Fixes: NB#97908 (Not possible to change the year range in
2277 HildonDateSelector/HildonDateButton)
2279 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2281 * src/hildon-date-selector.c:
2282 (+hildon_date_selector_set_property),
2283 (+hildon_date_selector_get_property),
2284 (hildon_date_selector_class_init): Install new properties "min-year"
2285 and "max-year" to define boundaries for the year column.
2286 (_create_year_model): Use the boundary properties to populate the model.
2287 (+hildon_date_selector_new_with_year_range): New public method to
2288 create a HildonDateSelector with a user defined year range.
2289 (hildon_date_selector_select_current_date): Use the new boundaries to
2290 calculate the iterator of current year.
2291 * src/hildon-date-selector.h: Add the new public method definition.
2293 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2295 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2296 Install a constructor method.
2297 (+hildon_date_selector_construct_ui): construct the widget.
2298 (+hildon_date_selector_constructor): new constructor.
2299 (+hildon_date_selector_init): move out widget construction code to
2300 the new constructor.
2302 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2304 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2305 that there's actually a month or year selected before obtaining them.
2306 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2307 of the HildonTouchSelector::changed signal, as it was emitted on every
2308 single item selection.
2310 Fix some warnings and possible crashers due to the selection restoring.
2312 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2314 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2315 the signal handlers only after creating the dialog instead of on every
2318 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2320 * src/hildon-button.c (hildon_button_init)
2321 * src/hildon-check-button.c (hildon_check_button_init)
2322 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2323 focus when clicked by default.
2325 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2327 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2330 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2332 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2333 Alejandro G. Castro (alex@igalia.com)
2335 * src/hildon-picker-dialog.c:
2336 (hildon_picker_dialog_class_init): install new "center-on-show"
2338 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2339 (hildon_picker_dialog_set_property): add setter code for the new
2341 (hildon_picker_dialog_get_property): add getter code for the new
2343 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2344 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2347 Fixes: NB#92849 (Selected item is not always visible when
2348 HildonTouchSelector is shown)
2350 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2352 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2353 Alejandro G. Castro (alex@igalia.com)
2355 * src/hildon-touch-selector.c:
2356 (_create_new_column): Do not connect to the "realize" signal of the
2358 (hildon_touch_selector_append_column): center on the selected items
2359 when a new column is appended.
2360 (hildon_touch_selector_select_iter): Factor out the code to select a
2361 column to hildon_touch_selector_scroll_to().
2362 (+search_nearest_element): Method to retrieve the nearest selected
2363 element to the visible area of the pannable area in a column.
2364 (+on_realize_cb): scroll to the initially selected item.
2365 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2366 the pannable area is realized, otherwise delay this until it is.
2367 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2368 selected items of a given column.
2369 (+hildon_touch_selector_center_on_selected): Public method to center
2370 all columns on the nearest selected item.
2371 * src/hildon-touch-selector.h: Add definition for
2372 hildon_touch_selector_center_on_selected().
2374 Implement public API to ensure visibility of all selected items in
2375 a HildonTouchSelector.
2377 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2379 Fixed a problem in the fading when calling the scroll_to API, and
2380 improve scrollbar fading handling.
2382 * src/hildon-pannable-area.c,
2383 (hildon_pannable_area_grab_notify): avoid the timeout when the
2385 (hildon_pannable_area_button_press_cb),
2386 (hildon_pannable_area_motion_notify_cb): Code style changes.
2387 (hildon_pannable_area_button_release_cb): Review the conditions
2388 when releasing the mouse button to avoid unrequired fading
2390 (hildon_pannable_area_scroll_to): Do not calculate and set the
2391 velocity if the scroll is not required.
2393 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2395 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2396 Don't check whether the new selector is NULL: it cannot be.
2397 Hold a reference to the selector while doing the replacement.
2399 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2401 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2402 unnecessary size_request in a removed widget.
2404 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2406 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2407 an unnecessary reference tracking that was leaking.
2409 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2411 Added delayed motion notify event handling, this way we can
2412 discard redrawing if more than 25 events arrive per second.
2414 * src/hildon-pannable-area.c,
2415 (hildon_pannable_area_init): Initialized the new private atributes
2416 controlling this timeout
2417 (hildon_pannable_area_dispose): Remove the timeout that controls
2418 the motion notify events.
2419 (hildon_pannable_area_scroll): Added a condition to control the
2420 use of the acceleration.
2421 (hildon_pannable_area_motion_event_scroll_timeout),
2422 (hildon_pannable_area_motion_event_scroll): Added this two
2423 functions, they handle the motion notify events inside the
2425 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2426 to the scroll method with the new function.
2427 (hildon_pannable_area_button_release_cb): We have to remove the
2428 timeout handler and move to the last position if the last motion
2429 events were not handled.
2431 Fixes: NB#97028 (Pannable area updates on every motion event)
2433 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2435 * src/hildon-pannable-area.c,
2436 (hildon_pannable_area_get_topmost): Added a new parameter to
2437 filter the the windows that do not include those events. Added
2438 also a condition when finding the window to filter windows that do
2439 not ask for those events.
2440 (hildon_pannable_area_button_press_cb),
2441 (hildon_pannable_area_button_release_cb),
2442 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2443 topmost function, we have added the new parameter.
2445 Fixes: NB#97458 (Pannable area prevents propagation of button
2448 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2450 * src/hildon-pannable-area.c,
2451 (hildon_pannable_area_initial_effect): Added controls before
2452 launching the timeout and the idle functions.
2453 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2454 of the method, in some situations it can return with TRUE and 0 in
2456 (hildon_pannable_area_button_press_cb): We do not need to set
2457 DELAY for fading out here.
2459 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2461 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2463 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2464 post-cleaning if the selection is not NULL.
2466 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2468 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2469 all items before restoring the selection.
2471 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2473 * src/hildon-touch-selector.c:
2474 (+hildon_touch_selector_unselect_all):
2475 * src/hildon-touch-selector.h: New API to unselect all items in a
2476 column of the touch selector.
2478 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2480 * src/hildon-pannable-area.c,
2481 (hildon_pannable_area_redraw): Added a call to the refresh
2482 function inside the redraw because apparently in some cases the
2483 change in the adjustment does not imply a size allocate.
2485 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2486 despite the view not being scrollable)
2488 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2490 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2491 leak. Check for NULL before attempting to set the window title.
2493 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2495 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2496 whether to show or not the 'Done' button each time the dialog is
2497 shown, as it depends on the HildonTouchSelector selection mode.
2499 Fixes: NB#96226 (In multiple selection mode Done button is shown
2500 sometimes in listpicker)
2502 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2504 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2505 for the number of columns in the HildonTouchSelector more than once.
2507 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2509 * src/hildon-touch-selector.c: Minor documentation fixes.
2511 * src/hildon-picker-dialog.c (+_dialog_update_title)
2512 (_select_on_selector_changed_cb)
2513 (_update_title_on_selector_changed_cb)
2514 (on_selector_columns_changed): Update dialog title when there's no
2515 'Done' button and also when the number of columns in the selector
2519 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2520 (+_selection_changed, hildon_picker_button_on_dialog_response)
2521 (hildon_picker_button_selector_selection_changed)
2522 (+hildon_picker_button_selector_columns_changed)
2523 (hildon_picker_button_set_selector): Update button value and emit
2524 'value-changed' when the number of columns in the selector
2528 Fixes: NB#96225 (Dialog titles are not shown according to the
2529 values selected in the list picker)
2531 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2533 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2534 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2535 New "arrow-width" and "arrow-height" style properties to set the
2536 size of the arrow button.
2537 Set name of arrow button ("hildon-edit-toolbar-arrow").
2539 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2540 graphics from theme)
2542 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2544 * src/hildon-picker-button.c:
2545 (hildon_picker_button_selector_selection_changed): Use
2546 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2547 the dialog is present.
2549 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2550 the selection is accepted in the dialog)
2552 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2554 * src/hildon-color-chooser.h
2555 * src/hildon-color-chooser-dialog.h:
2556 Added G_BEGIN_DECLS and G_END_DECLS
2558 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2560 (_clean_current_selection): plug a leak in the list.
2562 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2564 * src/hildon-picker-dialog.c:
2565 (+free_path_list): Method to free a GList of GtkTreePaths.
2566 (_clean_current_selection), (_save_current_selection),
2567 (_restore_current_selection): Save the current selection in
2568 as a list of lists, to support multiple selection properly.
2570 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2572 patch by Claudio Saavedra (csaavedra@igalia.com)
2574 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2575 Store the press position.
2576 (+hildon_text_view_button_release_event): If the release position is
2577 close enough to the press position, move the cursor here. Otherwise,
2579 (hildon_text_view_class_init): Override GtkTextView press, release, and
2580 motion event handlers, disabling this way text selection through
2581 pointer interaction, and allowing the container widget to handle the
2584 Fixes: NB#95828 (HildonTextView functionality)
2586 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2588 Based on a patch by Iván Gómez (igomez@igalia.com)
2590 * src/hildon-button.[ch]
2591 * src/hildon-calendar.c
2592 * src/hildon-check-button.c
2593 * src/hildon-date-editor.c
2594 * src/hildon-date-selector.c
2595 * src/hildon-picker-button.c
2596 * src/hildon-time-editor.c
2597 * src/hildon-time-selector.c
2598 * src/hildon-touch-selector.[ch]:
2599 Documentation updates
2601 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2603 * src/hildon-pannable-area.c,
2604 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2605 threshold, it was required due to X events handling.
2607 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2609 * src/hildon-pannable-area.c,
2610 (hildon_pannable_area_grab_notify),
2611 (hildon_pannable_area_initial_effect),
2612 (hildon_pannable_area_button_press_cb),
2613 (hildon_pannable_area_button_release_cb),
2614 (hildon_pannable_area_scroll_cb),
2615 (hildon_pannable_area_scroll_to): Review the timeout management of
2616 the scrollbar, the frecuency was incorrectly set.
2618 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2620 * src/hildon-picker-button.c:
2621 (+hildon_picker_button_on_dialog_response),
2622 (hildon_picker_button_clicked): Present the dialog instead of
2623 running it with gtk_dialog_run().
2625 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2628 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2630 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2631 (hildon_app_menu_finalize): When a window is hidden it doesn't
2632 emit notify::is-topmost, so make sure than the menu also
2633 disappears in that case.
2634 (parent_window_topmost_notify): Renamed from parent_window_hidden
2636 Fixes: NB#94460 (stackable window's menu is not closed when its
2639 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2641 * src/hildon-touch-selector-entry.c:
2642 (+hildon_touch_selector_entry_set_input_mode),
2643 (+hildon_touch_selector_entry_get_input_mode):
2644 * src/hildon-touch-selector-entry.h: New methods to access the input
2645 mode in the selector's entry.
2647 Fixes: NB#93410 (API required for setting IM mode in
2648 HildonTouchSelectorEntry)
2650 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2652 * configure.ac: post release version bump.
2653 * debian/changelog: version bump
2655 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2660 * configure.ac: Bump version.
2661 * debian/changelog: Updates.
2663 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2665 * src/hildon-touch-selector.c:
2666 (_hildon_touch_selector_has_multiple_selection): No need
2667 to initialize the variables here.
2669 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2671 * src/hildon-note-private.h
2672 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2673 (hildon_note_finalize, hildon_note_rebuild): Close information
2674 notes when they receive a button press.
2676 Fixes: NB#89890 (Information notes does not get disappeared after
2679 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2681 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2682 mark from the wizard title, as it's not really necessary. Also,
2683 do not display the page title if not set.
2685 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2687 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2688 (parent_window_hidden): Use the window's "is-topmost" property to
2689 detect when to hide the menu.
2691 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2693 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2694 (hildon_app_menu_finalize): If the parent window of the menu is
2695 hidden, hide the menu too.
2697 Fixes: NB#94460 (stackable window's menu is not closed when its
2700 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2703 * debian/libhildon1-examples.install
2705 * examples/Makefile.am:
2706 Use dh_install to install all examples.
2707 Use DEB_SRCDIR instead of defining SOURCE_DIR
2709 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2711 * configure.ac: post release version bump.
2712 * debian/changelog: version bump
2714 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2719 * configure.ac: bump version
2720 * debian/changelog: updates
2721 * debian/control: bump gtk+ dependency
2723 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2725 patch by Christian Dywan (christian@imendio.com)
2727 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2728 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2730 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2732 * src/hildon-check-button.c (hildon_check_button_init)
2733 (hildon_check_button_class_init, hildon_check_button_style_set)
2734 (hildon_check_button_apply_style):
2735 New "checkbox-size" style property.
2737 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2738 larger / configurable size)
2740 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2742 * configure.ac: post release version bump.
2743 * debian/changelog: version bump
2745 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2750 * configure.ac: bump version
2751 * debian/changelog: updates
2753 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2755 * doc/hildon-sections.txt
2756 * src/hildon-pannable-area.c
2757 * src/hildon-program.c
2758 * src/hildon-time-editor.c
2759 * src/hildon-touch-selector-entry.c:
2761 More documentation updates.
2763 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2765 * doc/hildon-sections.txt
2766 * src/hildon-caption.c
2767 * src/hildon-code-dialog.c
2768 * src/hildon-color-button.c
2769 * src/hildon-controlbar.c
2770 * src/hildon-date-editor.c
2771 * src/hildon-date-selector.c
2772 * src/hildon-edit-toolbar.c
2773 * src/hildon-find-toolbar.c
2774 * src/hildon-font-selection-dialog.c
2776 * src/hildon-program.c
2777 * src/hildon-range-editor.c
2778 * src/hildon-seekbar.c
2779 * src/hildon-time-editor.c
2780 * src/hildon-time-selector.c
2781 * src/hildon-volumebar-range.c
2782 * src/hildon-volumebar.c
2783 * src/hildon-vvolumebar.c
2784 * src/hildon-weekday-picker.c
2785 * src/hildon-window.c
2786 * src/hildon-wizard-dialog.c:
2788 Lots of documentation fixes.
2790 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2792 Patch contributed by Iván Gómez (igomez@igalia.com)
2794 * src/hildon-check-button.c:
2795 * src/hildon-date-button.c:
2796 * src/hildon-date-selector.c:
2797 * src/hildon-dialog.c:
2798 * src/hildon-edit-toolbar.c:
2799 * src/hildon-entry.c:
2800 * src/hildon-picker-button.c:
2801 * src/hildon-program.c:
2802 * src/hildon-text-view.c:
2803 * src/hildon-time-button.c:
2804 * src/hildon-touch-selector-entry.c:
2805 * src/hildon-window-stack.c:
2807 Add more "since" tags to the new API.
2809 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2811 * doc/hildon-sections.txt: Add below method.
2812 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2813 version for the hildonized scale.
2814 * src/hildon-gtk.h: Add the definition.
2816 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2818 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2820 * doc/hildon-sections.txt: Add missing entries for new methods.
2822 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2824 Added API to pannable are in order to get its adjustments. We
2825 added two properties to manage the values we had in the private
2828 * src/hildon-pannable-area.c:
2829 (hildon_pannable_area_class_init): Added hadjustment and
2830 vadjustment properties in order to expose horizontal and vertical
2832 (hildon_pannable_area_get_property),
2833 (hildon_pannable_area_set_property): Added code to handle the new
2835 (hildon_pannable_area_get_hadjustment),
2836 (hildon_pannable_area_get_vadjustment): API functions to get the
2838 * src/hildon-pannable-area.h:
2839 (hildon_pannable_area_get_hadjustment),
2840 (hildon_pannable_area_get_vadjustment): API functions to get the
2843 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2845 Fixed some leaks, after valgrinding.
2847 * src/hildon-touch-selector.c:
2848 (_default_print_func): Fixed a leak.
2849 (hildon_touch_selector_append_column): Fixed a leak.
2850 * src/hildon-date-button.c:
2851 (hildon_date_button_init): Fixed a leak.
2852 * src/hildon-date-selector.c
2853 (hildon_date_selector_finalize): Fixed a leak.
2855 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2857 Based on a patch by Christian Dywan (christian@imendio.com)
2859 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2861 * src/hildon-gtk.h: Add definition.
2863 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2865 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2867 * src/hildon-picker-button.c: (hildon_picker_button_init),
2868 (hildon_picker_button_new): Set the HildonButton::style property
2869 in the init method, to propagate the value to the derived classes.
2871 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2873 * src/hildon-button.c: (hildon_button_class_init): Do not make
2874 the "style" property a construct property.
2876 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2878 * src/hildon-wizard-dialog.h
2879 * src/hildon-wizard-dialog.c
2880 (hildon_wizard_dialog_set_forward_page_func)
2881 * src/hildon-pannable-area.h
2882 * src/hildon-pannable-area.c
2883 (hildon_pannable_area_set_size_request_policy):
2884 Documentation fixes.
2886 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2888 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2890 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2892 * doc/hildon-sections.txt: Added sections file.
2894 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2897 * src/*.[ch]: Updates.
2899 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2901 * examples/hildon-progress-indicator-example.c: new file
2902 * examples/Makefile.am: include the new example program
2904 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2906 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2908 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2910 * configure.ac: post release version bump
2911 * debian/changelog: version bump
2913 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2918 * configure.ac: bump version
2919 * debian/changelog: updates
2920 * debian/control: bump gtk+ dependency
2922 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2924 * src/hildon-dialog.c: Mark as deprecated.
2925 * src/hildon-dialog.h: Mark as deprecated.
2926 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2927 from HildonDialog and still work, even if
2928 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2929 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2931 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2932 maemo changes) instead)
2934 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2936 * src/hildon-pannable_area.h:
2937 * src/hildon-pannable_area.c:
2938 (hildon_pannable_area_class_init),
2939 (hildon_pannable_area_set_property),
2940 (hildon_pannable_area_get_property),
2941 (hildon_pannable_area_size_request),
2942 (hildon_pannable_area_get_size_request_policy),
2943 (hildon_pannable_area_set_size_request_policy): Added new API
2944 allowing applications to control the request policy. Now they can
2945 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2946 children allocation (HILDON_MOVEMENT_CHILDREN).
2948 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2952 (hildon_gtk_tree_view_set_ui_mode)
2953 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2954 mode of treeviews and iconviews.
2956 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2958 * src/hildon-touch-selector-entry.c:
2959 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2960 of a GtkEntry to get proper theming.
2962 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2963 widget, not GtkEntry)
2965 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2967 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2968 no HildonWizardDialogPageFunc.
2970 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2972 Patch contributed by Iván Gómez (igomez@igalia.com)
2974 * src/hildon-app-menu.c:
2975 * src/hildon-button.c:
2976 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2977 * src/hildon-stackable-window.c:
2978 * src/hildon-time-selector.c:
2979 * src/hildon-touch-selector.c:
2980 * src/hildon-window.c:
2982 Add more "since" tags to the new API in hildon 2.2.
2984 2008-12-05 Tim Janik <timj@imendio.com>
2986 Patch contributed by Christian Dywan (christian@imendio.com)
2988 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2989 HildonSizeType, which are supplied by Gtk+ now.
2991 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2993 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2994 (with maemo changes) instead)
2996 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2998 Patch contributed by Iván Gómez (igomez@igalia.com)
3000 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3003 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3005 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3006 (some_page_func), (main): Update the example to use a
3007 HildonWizardDialogPageFunc function.
3009 * src/hildon-wizard-dialog-private.h: Add private data for
3010 the HildonWizardDialogPageFunc function usage.
3012 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3013 (destroy), (hildon_wizard_dialog_init), (response),
3014 (hildon_wizard_dialog_set_forward_page_func):
3015 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3016 that applications can use to stop a HildonWizardDialog to jump to
3019 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3022 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3024 * src/hildon-program.h
3025 * src/hildon-program-private.h
3026 * src/hildon-program.c (hildon_program_init)
3027 (hildon_program_set_common_app_menu)
3028 (hildon_program_get_common_app_menu):
3029 New API for setting a common HildonAppMenu for all
3030 HildonStackableWindows registered with the HildonProgram.
3032 * src/hildon-stackable-window.c
3033 (hildon_stackable_window_toggle_menu):
3034 Use the common HildonAppMenu if a window doesn't have a specific
3037 * src/hildon-app-menu-private.h
3038 * src/hildon-app-menu.c
3039 (hildon_app_menu_get_parent_window):
3040 Function to obtain the window a HildonAppMenu is attached to.
3041 (hildon_app_menu_set_parent_window):
3042 Hide the menu if the parent window is set to NULL.
3044 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3046 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3047 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3048 search widget to popup.
3050 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3052 * configure.ac: post release version bump
3053 * debian/changelog: version bump
3055 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3060 * configure.ac: bump version
3061 * debian/changelog: updates
3063 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3065 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3067 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3068 (hildon_window_stack_window_realized)
3069 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3070 Set the leader GdkWindow when a window is stacked and realized,
3071 unset it when it's unstacked.
3072 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3074 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3076 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3078 * src/hildon-stackable-window.h
3079 * src/hildon-window-stack.h:
3080 Protect definition of HildonWindowStack using the preprocessor.
3082 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3084 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3085 Fix warning if all menu items are hidden.
3087 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3089 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3091 * src/hildon-controlbar.c:
3092 * src/hildon-hvolumebar.c:
3093 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3094 Multiple scale size defines updates.
3096 Fixes: NB#94322 (Scale Updates)
3098 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3100 * examples/hildon-app-menu-example.c (create_menu)
3101 Show items after adding them to the menu, as in the future the
3102 menu will no longer call gtk_widget_show() on the added items.
3104 * src/hildon-app-menu.c:
3105 Update example as explained above.
3107 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3109 * src/hildon-app-menu.c
3110 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3111 Make sure that all menu items have finger height.
3113 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3115 * src/hildon-picker-dialog.c:
3116 (_on_dialog_response), (_save_current_selection),
3117 (_restore_current_selection), (_clean_current_selection),
3118 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3119 Defined new functions in order to save the current internal selector
3120 selection previous open the dialog, in case that the use cancel the
3121 interaction, so the widget restores the previous selection.
3123 Fixes: NB#92032 (In calendar application, date values in 'new event'
3126 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3128 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3130 * src/hildon-button.c: Add a reference to the button examples in
3131 hildon-button-example.c
3133 * examples/hildon-button-example.c: Added examples of the most
3134 common button layouts.
3136 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3138 * src/hildon-app-menu.c (hildon_app_menu_show)
3139 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3141 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3143 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3145 * src/hildon-picker-dialog.c:
3146 (hildon_picker_dialog_init): Initialize the signal id for
3147 HildonTouchSelector::columns-changed.
3148 (+on_selector_columns_changed): Set up the interaction mode everytime a
3149 column is added or removed from the HildonTouchSelector.
3150 (_hildon_picker_dialog_set_selector): Connect to
3151 HildonTouchSelector::columns-changed and keep track of it.
3153 Make sure to update the interaction mode of the dialog everytime a
3154 column is added or removed in the HildonTouchSelector.
3156 Fixes: NB#93228 (Done button is not shown always in listpicker)
3158 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3160 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3161 a new ::columns-changed signal.
3162 (hildon_touch_selector_append_column): Emit ::columns-changed.
3163 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3165 Add a ::columns-changed signal, emitted when the number of columns in a
3166 HildonTouchSelector changes.
3168 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3170 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3171 (_hildon_picker_dialog_set_selector): Factor out the code
3172 to set up the dialog interaction mode.
3174 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3176 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3177 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3178 to signal_changed_id.
3180 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3182 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3185 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3187 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3188 Updated the logical ids related to ampm format, as now it is required to
3189 show it correctly localized even on languages with no default
3190 abbreviations for am or pm
3191 (_check_am_pm_format): check correctly the 24h format gconf property
3193 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3195 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3197 * src/hildon-button.c: Documentation updates.
3199 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3201 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3202 * src/hildon-caption.c: (hildon_caption_class_init):
3203 * src/hildon-color-button.c: (hildon_color_button_class_init):
3204 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3205 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3206 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3207 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3209 Remove deprecated GTK+ marshalers and replace them with the ones
3210 provided by GLib, for those available, add a marshaler for
3211 BOOLEAN:VOID, which is not available in GLib, and use it.
3213 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3215 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3216 the text from the previous column if there is no
3217 HildonTouchSelectorColumn::text-property set.
3219 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3221 * src/hildon-button.h
3222 * src/hildon-button.c (hildon_button_set_property)
3223 (hildon_button_get_property, hildon_button_class_init)
3224 (hildon_button_set_style, hildon_button_get_style):
3225 New "style" property to change the visual appearance of the
3228 * src/hildon-picker-button.c (hildon_picker_button_new):
3229 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3231 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3232 HildonButton look like PickerButton)
3234 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3236 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3237 column while building the default string.
3239 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3241 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3242 scroll indicator by default.
3244 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3246 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3248 * src/hildon-main.c: Fix the documentation for hildon_init()
3250 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3252 * doc/hildon-docs.sgml
3256 * src/hildon-window-stack-private.h
3257 * src/hildon-window-stack.h
3258 * src/hildon-window-stack.c:
3259 New HildonWindowStack object, that adds support for multiple
3260 stacks of windows per process.
3262 * src/hildon-stackable-window-private.h
3263 * src/hildon-stackable-window.h
3264 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3265 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3266 (hildon_stackable_window_show, hildon_stackable_window_hide)
3267 (hildon_stackable_window_class_init)
3268 (hildon_stackable_window_init):
3269 Use HildonWindowStack for stack management.
3271 * src/hildon-program.c (hildon_program_pop_window_stack)
3272 (hildon_program_peek_window_stack)
3273 (hildon_program_go_to_root_window):
3274 Add a fallback implementation to the deprecated functions using
3277 * examples/hildon-stackable-window-example.c:
3278 Use the new HildonWindowStack API.
3280 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3282 * src/hildon-stackable-window-private.h
3283 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3284 (hildon_stackable_window_hide, hildon_stackable_window_init):
3285 Remove all window stack management.
3287 * src/hildon-program-private.h
3288 * src/hildon-program.h
3289 * src/hildon-program.c (hildon_program_init)
3290 (hildon_program_pop_window_stack)
3291 (hildon_program_peek_window_stack)
3292 (hildon_program_go_to_root_window):
3293 Remove all window stack management and mark functions as
3296 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3298 * src/hildon-app-menu.c (hildon_app_menu_realize):
3299 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3301 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3303 * configure.ac: post release version bump
3304 * debian/changelog: version bump
3306 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3311 * configure.ac: bump version
3312 * debian/changelog: updates
3314 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3316 Based on initial code by Christian Dywan (christian@imendio.com)
3318 * doc/hildon-docs.sgml: Add section for hildon-main.
3319 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3320 * src/Makefile.am: Add new hildon-main.[ch]
3321 * src/hildon-defines.h: Update the icon sizes.
3322 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3323 new library initialization files and register icon sizes.
3324 * src/hildon-main.h: New declarations.
3325 * src/hildon.h: Include hildon-main.h
3327 Add new initialization functions to the library. These methods
3328 will register the hildon specific icon sizes and can be used in the
3329 future for other hildon specific bits.
3331 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3333 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3335 * src/hildon-window.c: (hildon_window_realize),
3336 (hildon_window_notify), (-hildon_window_update_title): Do not set
3337 the application name in the window title.
3339 Fixes: NB#89754 (Applications shouldn't display their names in the
3342 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3344 * src/hildon-note-private.h:
3345 * src/hildon-note.c: (hildon_note_set_property),
3346 (hildon_note_get_property), (hildon_note_class_init),
3347 (hildon_note_init), (hildon_note_finalize),
3348 (hildon_note_new_confirmation_with_icon_name),
3349 (hildon_note_new_information_with_icon_name):
3351 No need to mark as deprecated the actual code. Revert
3352 to avoid missing symbols in widgets using deprecated API.
3354 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3356 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3358 * src/hildon-volumebar.h
3359 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3360 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3362 * src/hildon-helper.h
3363 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3364 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3366 * examples/Makefile.am:
3367 Deprecate hildon-insensitive-example
3369 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3371 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3373 * examples/hildon-pannable-area-buttons-scroll-example.c:
3374 Make all buttons finger height
3376 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3378 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3380 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3381 update the day model only if it is really required, and to avoid the
3382 full-reconstruction aproach. Now it only add or remove the required days.
3384 The purpose of this is avoid superfluous HildonTouchSelector::changed
3387 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3388 with strange parameters)
3390 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3392 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3394 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3395 the WINDOW_TYPE property.
3397 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3399 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3402 Fix dependency to allow parallel compilation with make -jX
3404 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3406 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3407 color frame and some minor tweaks to make it more consistent with
3410 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3411 highlighted but not visible)
3413 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3415 * examples/Makefile.am: Fixed typo in the Makefile.am.
3417 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3419 Reviewed the use of MAEMO_GTK define, now we add the define in the
3420 compilation line, and we also add it to the pc file.
3422 * configure.ac: Added MAEMO_GTK define to the compilation command
3423 and removed it from the config.h.
3425 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3426 do not have to take care about this define if the library was
3430 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3432 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3434 * examples/Makefile.am,
3435 * examples/hildon-pannable-area-buttons-scroll-example.c,
3436 * examples/hildon-pannable-area-gesture-signals-example.c,
3437 * examples/hildon-pannable-area-scroll-jump-example.c,
3438 * examples/hildon-pannable-area-tree-view-example.c:
3439 Renamed the pannable area examples, now they have more meaningful
3442 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3444 * src/hildon-touch-selector.c:
3445 (hildon_touch_selector_set_column_selection_mode): Used of
3446 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3447 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3448 to avoid re-seting the same selection mode.
3450 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3451 breaks HildonPickerDialog)
3453 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3455 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3456 conditional in the Makefile.am
3458 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3460 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3461 Remove unused methods.
3463 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3465 * src/hildon-button.c (hildon_button_init):
3466 Make button images center-aligned by default
3468 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3471 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3472 activated, we have to think about how to deal with both defines
3473 MAEMO_GTK and MAEMO_CHANGES.
3475 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3477 * examples/hildon-app-menu-example.c (create_menu): Make all
3478 buttons finger size.
3480 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3482 Fixed the compilation without maemo gtk adding ifdefs with
3483 MAEMO_GTK define to the code, we have to check this version more
3486 * examples/Makefile.am: Added control to avoid some examples that
3487 just make sense with maemo gtk.
3490 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3491 hildon modes with the define.
3493 * examples/hildon-edit-toolbar-example.c,
3494 (create_icon_view): Create the icon view without hildon-gtk
3495 helpers if we are not using maemo gtk.
3497 * src/hildon-touch-selector.c,
3498 (_create_new_column): Create the treeview without hildon-gtk
3499 helpers if we are not using maemo gtk.
3501 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3503 * src/hildon-pnnable-area.c,
3504 (hildon_pannable_area_dispose),
3505 (hildon_pannable_area_button_press_cb),
3506 (hildon_pannable_area_child_mapped),
3507 (hildon_pannable_area_add),
3508 (hildon_pannable_area_remove): Added code to control the position
3509 of the event_window when adding and removing children from the
3510 pannable. We have to raise the event window when the child is
3513 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3514 selection mode using custom widget inside pannable)
3516 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3518 * configure.ac: post release version bump
3519 * debian/changelog: version bump
3521 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3526 * configure.ac: bump version
3527 * debian/changelog: updates
3529 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3531 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3532 search mode, in order to avoid lose the focus on the treeview when
3533 a hw key (like enter) is pressed.
3535 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3536 in HildonDateSelector dialog)
3538 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3540 * debian/rules: Added --enable-maintainer-mode
3541 * Makefile.am: Added ACLOCAL_AMFLAGS
3543 This allows to properly regenerate the Makefiles if you modify the
3544 configure.ac or any Makefile.am.
3546 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3548 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3549 properties, not needed at all.
3551 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3553 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3555 * src/hildon-note.c: (hildon_note_set_property),
3556 (hildon_note_get_property), (hildon_note_class_init),
3557 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3558 (hildon_note_new_confirmation_add_buttons): Remove icons.
3559 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3560 (hildon_note_new_information_with_icon_name): Deprecate.
3561 (hildon_note_new_confirmation): Act directly, without calling
3562 the deprecated constructor.
3563 (hildon_note_new_information): Act directly, without calling
3564 the deprecated constructor.
3565 * src/hildon-note.h: Mark deprecate methods as such.
3566 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3567 not run tests on the deprecated methods if built with deprecation
3570 Fixes: NB#91688 (Never show icons in information notes/confirmation
3573 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3575 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3576 (hildon_app_menu_key_press): Remove leftover usage of the
3577 private structure in HildonAppMenu struct.
3578 * src/hildon-app-menu.h: Remove leftover private structure
3579 from the HildonAppMenu struct.
3581 Fixes a crasher when using the HildonAppMenu.
3583 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3585 * src/hildon-picker-dialog.c: Use appropriate logical id
3586 for the default "Done" text.
3588 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3590 * configure.ac: post release version bump
3591 * debian/changelog: version bump
3593 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3595 Modified the way to scroll to the current selection just when the touch
3596 selector is shown on the screen, avoiding a g_idle. Added too a property
3597 to configure this behaviour. See hildon_pannable_area_jump_to_child
3598 documentation for more information.
3600 * src/hildon-touch-selector.c
3601 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3602 Added 'initial-scroll' property
3603 (hildon_touch_selector_set_property): Added
3604 (hildon_touch_selector_map): Removed as not required anymore
3605 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3606 only a concrete column, instead of iterate along all the columns
3608 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3613 * configure.ac: bump version
3614 * debian/changelog: updates
3616 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3618 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3619 compilation time warnings.
3621 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3623 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3624 the default value for HildonPannableArea::mov-mode to
3625 HILDON_PANNABLE_AREA_MODE_VERT.
3627 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3629 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3631 Reverting following commit:
3633 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3635 * src/hildon-app-menu-private.h
3636 * src/hildon-app-menu.[ch]
3637 * src/hildon-button.[ch]
3638 * src/hildon-check-button.[ch]
3639 * src/hildon-entry.[ch]
3640 * src/hildon-pannable-area.[ch]
3641 * src/hildon-text-view.[ch]:
3642 Added private field to the object's structure.
3644 because it causes an ABI breakage. We will need to introduce these
3645 changes later at some point. See NB#91636 for an extensive
3646 explanation and status.
3648 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3650 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3652 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3653 remove special cases that are no longer necessary.
3655 Fixes: NB#91016 (Change toolbar sizes, simplification)
3657 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3659 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3660 is shown in the cancel note.
3662 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3664 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3665 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3666 (hildon_seekbar_init): Remove steppers, remove expose event.
3667 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3669 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3671 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3673 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3674 label font to "SmallSystemFont" for vertically arranged buttons.
3676 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3679 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3681 * src/hildon-check-button.c
3682 (hildon_check_button_set_active, hildon_check_button_clicked):
3683 Don't access private parts directly, use getters instead.
3685 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3687 * src/hildon-check-button.c (hildon_check_button_new):
3688 Align the contents of the check button to the left.
3690 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3692 * src/hildon-pannable-area.c,
3693 (hildon_pannable_area_scroll_to),
3694 (hildon_pannable_area_jump_to),
3695 (hildon_pannable_area_scroll_to_child),
3696 (hildon_pannable_area_jump_to_child): Replace the mapped
3697 precondition of these functions with the realized, it is the
3698 correct state of the widget in this case. Changed the
3699 documentation according to this modification.
3701 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3703 Added a new EXTRA_CFLAGS option to add the deprecated define to
3704 the compilation command. This way we can avoid using the define in
3705 the documentation compilation.
3707 * configure.ac: Defined EXTRA_CFLAGS.
3709 * examples/Makefile.am:
3711 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3713 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3715 * src/hildon-picker-dialog.c:
3716 Defined a utility macro with the desired touch selector height
3717 Removed currently unused separator, and title_label variables from
3719 (hildon_picker_dialog_init): Removed code related to the creation
3720 of unused private variables title_label and separator.
3721 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3722 to ensure correct visualization of the touch selector inside the dialog.
3723 * src/hildon-touch-selector.c
3724 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3725 ensure a concrete height of the widget.
3727 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3730 * tests/Makefile.am:
3732 Remove spurious whitespaces.
3734 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3736 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3737 compilation warning after the cancel button removal.
3739 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3741 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3743 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3744 Makefile.am, that way we can choose not to compile some examples
3745 and tests of the deprecated widgets.
3747 * examples/Makefile.am: Divided the sources in deprecated and
3750 * src/Makefile.am: Added undef statement of the deprecated
3751 symbol to the enums file generation process.
3753 * src/hildon-color-chooser-dialog.c
3754 * src/hildon-color-chooser-dialog.h
3755 * src/hildon-color-button.c
3756 * src/hildon-color-button.h
3757 * src/hildon-color-chooser.c
3758 * src/hildon-color-chooser.h
3759 * src/hildon-controlbar.c
3760 * src/hildon-controlbar.h
3761 * src/hildon-date-editor.c
3762 * src/hildon-date-editor.h
3763 * src/hildon-hvolumebar.c
3764 * src/hildon-hvolumebar.h
3765 * src/hildon-private.c
3766 * src/hildon-private.h
3767 * src/hildon-range-editor.c
3768 * src/hildon-range-editor.h
3769 * src/hildon-seekbar.c
3770 * src/hildon-seekbar.h
3771 * src/hildon-time-editor.c
3772 * src/hildon-time-editor.h
3773 * src/hildon-time-picker.c
3774 * src/hildon-time-picker.h
3775 * src/hildon-volumebar.c
3776 * src/hildon-volumebar.h
3777 * src/hildon-vvolumebar.c
3778 * src/hildon-vvolumebar.h
3779 * src/hildon-bread-crumb-trail.h
3780 * src/hildon-bread-crumb-trail.c
3781 * src/hildon-calendar-popup.c
3782 * src/hildon-calendar-popup.h
3783 * src/hildon-weekday-picker.c:
3784 * src/hildon-weekday-picker.h:
3785 * src/hildon-bread-crumb-widget.c:
3786 * src/hildon-bread-crumb-widget.h:
3787 * src/hildon-bread-crumb.c:
3788 * src/hildon-bread-crumb.h:
3789 * src/hildon-calendar.c:
3790 * src/hildon-calendar.h:
3791 * src/hildon-caption.c:
3792 * src/hildon-code-dialog.c:
3793 * src/hildon-code-dialog.h:
3794 * src/hildon-font-selection-dialog.c:
3795 * src/hildon-font-selection-dialog.h:
3796 * src/hildon-get-password-dialog.c:
3797 * src/hildon-get-password-dialog.h:
3798 * src/hildon-login-dialog.c:
3799 * src/hildon-login-dialog.h:
3800 * src/hildon-number-editor.c:
3801 * src/hildon-number-editor.h:
3802 * src/hildon-set-password-dialog.c:
3803 * src/hildon-set-password-dialog.h:
3804 * src/hildon-sort-dialog.c:
3805 * src/hildon-sort-dialog.h: This is the list of deprecated
3808 * src/hildon-touch-selector.c:
3809 * src/hildon-window.c: Added undef statement to avoid compilation
3812 * tests/Makefile.am: Divided the sources in deprecated and
3815 * tests/check_test.c,
3816 (configure_tests): Marked the deprecated code that was adding
3817 suites with deprecated tests.
3819 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3821 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3823 * src/hildon-touch-selector.c: (_default_print_func): Do not
3824 duplicate a string returned by gtk_tree_model_get(), it is already
3827 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3830 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3832 * src/hildon-pannable-area.c
3833 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3834 method, it had problems when adding a widget with viewport the
3835 second time. Now checks if it already has a viewport and uses it.
3837 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3840 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3842 * src/hildon-pannable-area.c,
3843 (hildon_pannable_area_scroll_to),
3844 (hildon_pannable_area_jump_to),
3845 (hildon_pannable_area_scroll_to_child),
3846 (hildon_pannable_area_jump_to_child): Added a precondition to the
3847 scroll and jump to functions: the widget must be mapped before we
3848 can safely call these functions. We have also added documentation
3849 to the functions to explain how to use them in this situation.
3852 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3854 Reviewed the threading handling of the pannable widget, we have
3855 used the gdk_threads_add_timeout function instead of the usual
3856 glib handlers. This avoids some problems with the threads.
3858 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3859 (hildon_pannable_area_initial_effect),
3860 (hildon_pannable_area_scroll_indicator_fade),
3861 (hildon_pannable_area_button_press_cb),
3862 (hildon_pannable_area_timeout),
3863 (hildon_pannable_area_motion_notify_cb),
3864 (hildon_pannable_area_button_release_cb),
3865 (hildon_pannable_area_scroll_cb),
3866 (hildon_pannable_area_scroll_to): Removed the
3867 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3868 gdk_threads_add_timeout.
3870 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3872 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3877 * configure.ac: bump version
3878 * debian/changelog: updates
3880 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3882 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3883 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3884 * src/hildon-color-chooser-dialog.c:
3885 (hildon_color_chooser_dialog_init):
3886 * src/hildon-font-selection-dialog.c:
3887 (hildon_font_selection_dialog_init):
3888 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3890 Remove all cancel/close-like dialogs, as these are not going to be
3893 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3895 * src/hildon-note.c: (hildon_note_rebuild),
3896 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3899 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3901 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3903 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3904 sure all buttons are shown, even the Cancel/Close-like ones.
3906 Fixes: NB#90861 (Custom Confirmation dialogs should be
3907 protected from cancel button removal)
3909 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3911 * debian/control: Change libhildon1-examples dependency from libhildon1
3913 * debian/libhildon1-examples.install
3915 * Makefile.am: Modified the final install directory for the examples on
3916 package libhildon1-examples
3917 * Makefile.static: Update clean target in order to remove all the binary
3920 Changes suggested by Claudio after review new libhildon1-examples package
3922 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3924 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3925 * src/hildon-touch-selector.c: Ditto.
3927 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3929 * debian/control: Added new package libhildon1-examples, in order to pack
3930 the current hildon examples as documentation
3931 * debian/rules: Not to compress .c files, modify some includes on the
3932 examples (as normally are compiled locally, but when installed it will
3933 require to include the installed libhildon1 library), and rename
3935 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3936 install all the example files on the new example package
3937 * examples/Makefile.static: Added static makefile that can be used to
3938 compile the examples, once installed the new example package
3939 * examples: Most of the examples were modified in order to grant that
3940 all use only '#include "hildon.h"', in order to be easy to prepare
3941 it on the example package
3943 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3946 * debian/libhildon1-dev.install
3947 * debian/libhildon1-doc.install:
3948 Move all gtk-doc files to a separate libhildon1-doc package.
3950 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3952 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3954 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3956 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3958 * debian/rules: Fixed a error in order to avoid unnecessary calls
3959 to autogen.sh on package building
3961 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3963 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3965 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3967 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3970 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3972 * src/hildon-picker-button.c
3973 (hildon_picker_button_finalize):
3974 Free priv->done_button_text
3976 * src/hildon-time-button.c
3977 (hildon_time_button_set_time)
3978 * src/hildon-picker-button.c
3979 (hildon_picker_button_clicked)
3980 (hildon_picker_button_selector_selection_changed)
3981 (hildon_picker_button_set_selector)
3982 * src/hildon-date-button.c
3983 (hildon_date_button_set_date):
3984 Free strings returned by hildon_touch_selector_get_current_text()
3986 * src/hildon-button.c (hildon_button_construct_child):
3987 Fix leaks in priv->image and priv->label_box
3989 Fixes: NB#90535 (Memory leak in picker button)
3991 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3993 * src/hildon-button.c: (hildon_button_get_property): Do not access
3994 private elements directly, use getters instead.
3996 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3998 * src/hildon-app-menu-private.h
3999 * src/hildon-app-menu.c
4000 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4001 Store the menu's parent window.
4003 * src/hildon-stackable-window.c
4004 (hildon_stackable_window_toggle_menu)
4005 (hildon_stackable_window_finalize):
4006 Set the menu's parent window when the menu is shown, unset it when
4009 * src/hildon-app-menu.c
4010 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4011 (hildon_app_menu_class_init):
4012 Send unhandled keyboard accelerators to the parent window.
4014 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4016 * src/hildon-stackable-window.c
4017 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4019 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4021 * configure.ac: post release version bump
4023 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4026 * configure.ac: Bump version
4027 * debian/changelog: Updates
4028 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4031 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4033 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4036 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4037 GtkMenu with Hildon style.
4039 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4041 * src/hildon-picker-button.c:
4042 (hildon_picker_button_set_done_button_text): Set the dialog's
4043 done button text here as well.
4045 Fixes: NB#90232 (Picker button does not set the label on done button
4046 for the second time)
4048 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4050 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4053 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4055 * src/hildon-app-menu.c (hildon_app_menu_insert)
4056 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4057 the HildonAppMenu to be activatable using keyboard accelerators
4058 when the menu is not being shown.
4060 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4062 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4064 * src/hildon-stackable-window.c
4065 (hildon_stackable_window_show):
4066 Don't hide old windows automatically when new windows are shown:
4067 this is now a task for the window manager.
4068 (hildon_stackable_window_class_init)
4069 (hildon_stackable_window_hide):
4070 Remove windows from the stack everytime they're hidden.
4071 (hildon_stackable_window_realize):
4072 Don't change the _NET_WM_WINDOW_TYPE property. Use
4073 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4074 it as a stackable window.
4076 * src/hildon-program.c
4077 (hildon_program_pop_window_stack):
4078 Just hide the window to remove it from the stack.
4079 (hildon_program_go_to_root_window):
4080 Don't call gtk_widget_show(), this is now a task for the window
4083 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4085 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4087 * src/hildon-button.c
4088 (hildon_button_construct_child):
4089 Don't pack anything in the button until text or image are
4090 set. This allows adding a custom child after creating the button
4091 with hildon_button_new().
4092 (hildon_button_finalize, hildon_button_class_init)
4093 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4094 alignment and the label box even when they're not packed in the
4097 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4099 * src/hildon-touch-selector.h:
4100 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4101 currently the type definition was using GTK_TYPE_VBOX
4102 * src/hildon-touch-selector.c:
4103 Added some implementation notes in order to clarify that any other widget
4104 added without the column related API will not be included on the
4105 selection logic, and how the widget is freed, as some people ask about
4107 (hildon_touch_selector_remove): Reimplemented in order to free properly
4108 the column related data when you remove the private hbox.
4109 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4110 to get a proper HildonTouchSelectorColumn documentation
4112 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4114 * src/hildon-touch-selector-entry.c:
4115 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4116 text in the GtkEntry and there is no item selected. Fixes a
4119 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4121 * src/hildon-app-menu-private.h
4122 * src/hildon-app-menu.[ch]
4123 * src/hildon-button.[ch]
4124 * src/hildon-check-button.[ch]
4125 * src/hildon-entry.[ch]
4126 * src/hildon-pannable-area.[ch]
4127 * src/hildon-text-view.[ch]:
4128 Added private field to the object's structure.
4130 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4132 * configure.ac: post-release version bump
4134 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4138 * configure.ac: pre-release version bump
4140 * debian/changelog: updates.
4142 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4144 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4145 Disconnect the handler for HildonTouchSelector::changed.
4147 (hildon_picker_button_selector_selection_changed): Update the button
4148 value if the selection change was not triggered by the
4151 (hildon_picker_button_set_selector): connect to
4152 HildonTouchSelector::changed.
4154 Fixes: NB#89650 (Picker button is not updated, when selection in
4155 selector has changed)
4157 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4159 * src/hildon-picker-dialog.c
4160 (hildon_picker_dialog_realize): Removed as not required
4161 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4162 * src/hildon-picker-button.c
4163 (_current_selector_empty): New function, checks if the selector is empty
4164 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4165 if the current selector is empty, in order to avoid to show the dialog
4166 close the dialog in this case (and shows a g_warning).
4168 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4170 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4172 * src/hildon-pannable-area.c,
4173 (hildon_pannable_area_scroll): Added clause to stop movement when
4174 the child of pannable is smaller than one page.
4175 (hildon_pannable_area_scroll_to): Added conditions to avoid
4176 starting the scrolling movement if the child is smaller than one
4177 page, the complete child is in the screen, we do not have to move.
4179 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4181 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4183 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4184 this is managed automatically by the widget when the size of the
4187 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4189 * src/hildon-picker-button.c
4190 (hildon_picker_button_set_done_button_text): Make a copy of the
4191 text, and free the previous value.
4193 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4195 * src/hildon-touch-selector-entry.c:
4196 (hildon_touch_selector_entry_print_func): Return the selected row's
4197 text if the entry is empty.
4199 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4202 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4204 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4206 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4209 * src/hildon-check-button.h
4210 * src/hildon-check-button.c
4211 * examples/hildon-check-button-example.c:
4212 HildonCheckButton is now a new widget. 'toggled' signal added.
4214 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4216 * src/hildon-program-private.h
4217 * src/hildon-program.c (hildon_program_init)
4218 (hildon_program_finalize): Removed unused variables group_leader
4219 and name from HildonProgramPrivate.
4221 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4223 * src/hildon-check-button.c (hildon_check_button_set_active)
4224 (hildon_check_button_get_active, hildon_check_button_new): Use
4225 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4227 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4229 * src/hildon-touch-selector.h
4230 (hildon_touch_selector_set_column_attributes): added deprecation
4231 guard HILDON_DISABLE_DEPRECATED
4232 * src/hildon-time-selector.c
4233 (hildon_time_selector_set_time)
4234 (hildon_time_selector_get_time): Fixed a typo on documentation
4235 * src/hildon-touch-selector.c: update HildonTouchSelector and
4236 HildonTouchSelectorColumn documentation
4237 * src/hildon-touch-selector-entry.c: update "text-column" property
4239 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4240 to be added to the general documentation.
4242 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4244 * examples/hildon-pannable-area-example-4.c,
4246 * examples/hildon-pannable-area-example.c,
4247 (main): Modified the code in order to use the container add, with
4248 viewport treeviews could have problems if they are really big.
4250 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4252 * src/hildon-weekday-picker.c,
4253 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4254 the agreement regarding deprecation in the library.
4256 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4258 * examples/hildon-picker-button-multicolumn-example.c:
4259 (main): Use custom "done" button text.
4261 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4262 (hildon_picker_button_set_property),
4263 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4264 (hildon_picker_button_init),
4265 (+hildon_picker_button_get_done_button_text),
4266 (+hildon_picker_button_set_done_button_text): New methods to customize
4267 the "done" button label in the launched HildonPickerDialog. Also,
4270 * src/hildon-picker-button.h: add the public API.
4272 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4274 * src/hildon-date-selector.h:
4275 * src/hildon-picker-dialog.h:
4276 * src/hildon-time-selector.h:
4277 * src/hildon-touch-selector-column.h:
4278 * src/hildon-touch-selector.h:
4280 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4281 declarations. Fixes gtk-doc warnings.
4283 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4285 * src/hildon-picker-dialog.h
4286 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4287 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4289 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4290 long text is set as label for done button)
4292 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4294 * src/hildon-dialog.c (hildon_dialog_add_button):
4295 Set fixed width to all buttons in the HildonDialog.
4297 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4299 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4301 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4302 Set widget name using class name plus "-finger" or "-thumb".
4304 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4306 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4307 'clicked' when the state of the button is manually changed.
4309 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4311 * src/hildon-app-menu.c (hildon_app_menu_realize)
4312 (hildon_app_menu_unrealize, hildon_app_menu_init)
4313 (hildon_app_menu_class_init, item_visibility_changed):
4314 Change the menu layout when the size of the screen changes.
4315 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4316 Show warning only when changing the number of colums using the
4319 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4321 * debian/compat: Set to 5
4322 * debian/control: Update dependencies.
4323 * debian/libhildon1-dbg.install: Remove.
4324 * debian/libhildon1-dev.install: Update according to cdbs paths.
4325 * debian/libhildon1.install: Update according to cdbs paths.
4326 * debian/rules: Switch to cdbs.
4328 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4330 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4331 'item' variable renamed to 'filter'
4333 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4335 * src/hildon-app-menu.c (hildon_app_menu_insert)
4336 (hildon_app_menu_add_filter, remove_item_from_list)
4337 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4338 Don't leak hidden items when the menu is destroyed.
4340 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4342 * src/hildon-app-menu.c (hildon_app_menu_insert)
4343 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4344 (hildon_app_menu_set_columns, item_visibility_changed)
4345 (filter_visibility_changed, hildon_app_menu_repack_filters)
4346 (hildon_app_menu_repack_items):
4347 Repack items and filters separately.
4349 Don't repack all items, change only the ones that are needed to
4352 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4354 * src/Makefile.am: added hildon-touch-selector-column.h
4356 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4358 * src/hildon-touch-selector.c: added the property "text-column" to the
4359 class HildonTouchSelectorColumn, and related get/set functions
4360 (_default_printf_func): updated to use "text-column" property
4361 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4362 "text-column" in his documentation, as this is now included on
4363 HildonTouchSelectorColumn. The get/set_property can still be used,
4364 working as a wrapper to the concrete column "text-column" property
4365 (_text_column_modified): callback added in order to handle the signal
4366 "notify::text-column" of the concrete HildonTouchSelectorColumn
4367 (hildon_touch_selector_entry_get_text_column)
4368 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4369 modified in order to use the HildonTouchSelectorColumn "text-column"
4371 * src/hildon-time-selector.c:
4372 * src/hildon-date-selector.c:
4373 * examples/hildon-touch-selector-example.c
4374 * examples/hildon-touch-selector-multi-cells-example.c
4375 * examples/hildon-picker-button-multicolumn-example.c
4376 Set the right value to "text-column" property on the creation of a new
4377 column using hildon_touch_selector_append_column()
4379 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4381 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4383 * src/hildon-app-menu.c
4384 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4385 updating the layout of the menu, don't create all widgets again,
4386 just repack the items in their new places.
4388 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4390 * src/hildon-time-selector.c
4391 (hildon_time_selector_get_time)
4392 (hildon_time_selector_set_time)
4393 Added documentation of these public methods
4395 * src/hildon-date-button.h
4396 * src/hildon-touch-selector-column.h
4397 * src/hildon-time-button.h
4398 * src/hildon-picker-dialog.h
4399 * src/hildon-time-selector.h
4400 * src/hildon-picker-button.h
4401 * src/hildon-touch-selector.h
4402 * src/hildon-time-picker.h
4403 * src/hildon-date-selector.h
4404 * src/hildon-touch-selector-entry.h
4405 Modified in order to use hildon-widgets code style
4407 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4409 Added deprecated support to the compilation process using
4410 HILDON_DISABLE_DEPRECATED
4412 * configure.ac: Added the --disable-deprecated to the configure
4415 * src/hildon-weekday-picker.c:
4416 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4417 to use the deprecated support. We will update the other deprecated
4418 widgets status in a new patch.
4420 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4422 * configure.ac: Fixed typo with fatal warnings support, the
4423 variable name was not correct
4425 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4427 * src/hildon-app-menu.c
4428 * src/hildon-program.c: Update documentation.
4430 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4432 * configure.ac: Post-release version bump.
4434 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4439 * configure.ac: Pre-release version bump.
4440 * debian/changelog: Updates.
4442 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4444 * NEWS: Update news for previous releases.
4446 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4448 * examples/hildon-touch-selector-multi-cells-example.c:
4449 (create_selector): Update the example to use
4450 hildon_touch_selector_append_column() with a NULL renderer and set
4451 the renderers later.
4452 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4453 passed a NULL renderer. This is documented behavior now.
4455 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4456 This must be used if the developer wants full control on the layout of
4457 the renderers to be added to the column.
4459 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4461 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4463 * src/hildon-touch-selector.c: Documentation fixes.
4465 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4467 * src/hildon-wizard-dialog-private.h: Remove image and box.
4468 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4469 (hildon_wizard_dialog_set_property), (response): Completely remove
4470 image/icon support, and the containers required for the layout.
4472 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4474 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4476 * src/hildon-app-menu.c: Updated documentation.
4478 * src/hildon-stackable-window.c
4479 (hildon_stackable_window_set_main_menu): Unref the old menu after
4480 ref'ing the new one.
4482 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4484 * src/hildon-stackable-window.c
4485 (hildon_stackable_window_set_main_menu): Unref the previous menu
4486 instead of destroying it.
4488 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4489 floating reference and set has_user_ref_count to FALSE to make
4490 HildonAppMenu act like a normal ref-counted widget and not a
4493 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4496 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4498 * src/hildon-touch-selector-column.h: new file
4499 * src/hildon-touch-selector.h
4500 * src/hildon-touch-selector.c
4501 Implemented GtkCellLayout interface, in order to allow to configure
4502 the cell layout on each individual selector column
4503 (hildon_touch_selector_set_column_attributes): marked as deprecated
4504 * examples/hildon-touch-selector-multi-cells-example.c
4505 Example of how to use the GtkCellLayout interface on the selector
4507 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4509 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4511 * src/hildon-app-menu.h
4512 * src/hildon-app-menu.c
4513 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4514 (hildon_app_menu_append, hildon_app_menu_prepend):
4515 New methods to prepend, insert and move items in the menu.
4517 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4519 * src/hildon-wizard-dialog.c:
4521 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4523 (create_title): Update logical IDs and related code.
4524 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4526 * src/hildon-wizard-dialog.h: Note that
4527 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4528 point, as it is not used anymore.
4530 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4532 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4534 * src/hildon-note.c:
4535 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4536 shown. Do not display an icon in confirmation notes nor information
4538 (hildon_note_set_button_text): Update logical ID for cancel button.
4540 Fixes: NB#88850 (Update HildonNote button strings + signals)
4542 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4544 * src/hildon-stackable-window.c
4545 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4547 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4549 * src/hildon-app-menu-private.h
4550 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4551 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4552 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4553 temporary property 'columns' to change the number of columns.
4555 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4557 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4559 * examples/hildon-note-example.c: (on_information_clicked),
4560 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4561 debugging information.
4562 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4564 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4565 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4566 in order to close: this will be handled by the WM from now on.
4568 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4570 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4572 * src/hildon-app-menu-private.h
4573 * src/hildon-app-menu.c
4574 (hildon_app_menu_append, hildon_app_menu_add_filter)
4575 (button_visibility_changed, hildon_app_menu_apply_style)
4576 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4577 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4578 layout everytime a button (item or filter) is shown or hidden.
4580 * src/hildon-stackable-window.c
4581 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4584 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4586 * src/hildon-touch-selector.c:
4587 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4588 that the treeview inside the touch selector is in fremantle hildon mode
4589 * examples/hildon-date-button-example.c
4590 * examples/hildon-picker-button-multicolumn-example.c
4591 * examples/hildon-touch-selector-entry-example.c
4592 * examples/hildon-touch-selector-example.c
4593 * examples/hildon-time-button-example.c
4594 * examples/hildon-picker-button-example.c:
4595 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4597 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4599 * examples/hildon-text-view-example.c: (main): Remove the
4600 gtkrc bits, now handled by the theme.
4602 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4604 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4607 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4609 * po/Makefile.am: Install properly the mo files.
4610 * po/en_GB.po: Update translation, to ease testing purposes.
4612 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4614 * examples/hildon-picker-button-example.c: (main): Select an item
4615 in the selector before setting it to the button.
4617 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4619 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4620 Update button's value if the selector has an item active.
4622 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4623 'value' with the selector)
4625 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4627 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4628 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4629 (hildon_picker_button_class_init): Plug the finalize method.
4630 (hildon_picker_button_set_selector): If there's a previously set
4631 selector, unref'it before setting a new one.
4633 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4634 HildonTouchSelector)
4636 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4638 * src/hildon-touch-selector-entry.c:
4639 (hildon_touch_selector_entry_changed): Check if there is no text
4640 selected before setting the entry text.
4643 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4645 * src/hildon-touch-selector.h
4646 * src/hildon-touch-selector.c
4647 (hildon_touch_selector_get_active)
4648 (hildon_touch_selector_set_active): New methods to set/get the
4649 index of the selected item.
4651 * src/hildon-picker-button.h
4652 * src/hildon-picker-button.c
4653 (hildon_picker_button_get_active)
4654 (hildon_picker_button_set_active): New methods to set/get the
4655 index of the selected item.
4657 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4659 * configure.ac: post-release version bump.
4661 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4665 * configure.ac: Pre-release version bump.
4666 * debian/changelog: Updates.
4667 * debian/control: Add myself as maintainer and depend on l10n
4670 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4672 * src/hildon-window.c
4673 (hildon_window_set_main_menu)
4674 * src/hildon-stackable-window.c
4675 (hildon_stackable_window_set_main_menu):
4676 Updated documentation.
4678 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4680 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4681 Don't free selector->priv manually.
4684 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4687 (hildon_gtk_window_set_progress_indicator):
4688 * src/hildon-gtk.h: Added the new API
4689 hildon_gtk_window_set_progress_indicator, it changes the state of
4690 the window progress hint.
4692 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4694 * src/hildon-button.c
4695 * src/hildon-stackable-window.c: Minor documentation updates.
4697 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4699 * src/hildon-stackable-window.c: Updated documentation.
4701 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4703 * src/hildon-defines.h: Update margins definitions
4704 to the Fremantle sizes.
4707 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4709 * src/hildon-touch-selector.c,
4710 (_hildon_touch_selector_set_model): Cleaning the code after
4711 review, removed g_print and #if 0 from the code.
4713 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4715 * src/hildon-edit-toolbar.c: Update documentation.
4717 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4719 * src/hildon-check-button.h
4720 * src/hildon-check-button.c
4721 (hildon_check_button_set_label, hildon_check_button_get_label)
4722 * examples/hildon-check-button-example.c
4723 (button_clicked_cb):
4724 Removed deprecated methods.
4726 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4728 * src/hildon-text-view.c:
4729 Add sample code to the documentation.
4731 * src/hildon-entry.h
4732 * src/hildon-text-view.h:
4733 Minor cosmetic changes.
4735 * src/hildon-entry.c:
4736 Add sample code to the documentation.
4737 (hildon_entry_init, hildon_entry_refresh_contents):
4738 Don't allow NULL values in the placeholder.
4740 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4742 * doc/hildon-docs.sgml
4744 * examples/Makefile.am
4745 * examples/hildon-text-view-example.c
4747 * src/hildon-text-view.c
4748 * src/hildon-text-view.h
4750 New HildonTextView widget, with example.
4752 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4754 * po/POTFILES.in: Add missing files with translatable strings.
4755 Partially fixes NB#88287.
4757 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4759 * examples/hildon-pannable-area-example-2.c: (main): No need to
4760 set the cellrenderer height inside hildon touch lists, the theme does
4763 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4765 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4766 they are integrated in the theme.
4768 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4770 * examples/hildon-entry-example.c: Update the example adding
4771 widgets to modify the text and the placeholder of the HildonEntry.
4773 * src/hildon-entry.c: Show the placeholder everytime the widget
4774 is empty and loses the focus.
4776 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4778 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4780 * src/hildon-pannable-area.c,
4781 (hildon_pannable_area_size_request): Fixed bug in height
4782 requisition, avoid increasing size and add border twice.
4784 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4786 * configure.ac: postrelease version bump.
4788 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4792 * configure.ac: Prerelease version bump.
4793 * debian/changelog: update.
4794 * debian/rules: make -dbg package contain useful debugging symbols.
4796 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4798 * src/hildon-dialog.h
4799 * src/hildon-dialog.c
4800 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4801 New methods to add buttons with finger size.
4802 (hildon_dialog_new_with_buttons):
4803 Create buttons with finger size.
4805 * examples/hildon-dialog-example.c (main): Use HildonDialog
4806 methods to add buttons.
4808 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4810 * src/hildon-entry.c: Updated HildonButton documentation.
4812 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4814 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4815 button value label with (FALSE, FALSE) to prevent NB#88126 from
4818 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4820 * examples/hildon-pannable-area-example.c,
4821 (main): Removed examples panning a vbox inside a pannable
4822 area. Check bug NB#87965
4824 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4826 Patch contributed by Kris Rietveld (kris@imendio.com)
4828 * src/hildon-pannable-area.c,
4829 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4830 get_size and get_position, this saves an X server roundtrip.
4832 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4834 * doc/hildon-docs.sgml
4836 * examples/Makefile.am
4837 * examples/hildon-entry-example.c
4839 * src/hildon-entry.c
4840 * src/hildon-entry.h
4842 New HildonEntry widget, with example.
4844 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4846 * src/hildon-button.c (hildon_button_construct_child): Pack the
4847 image with expand == fill == FALSE. This is a workaround for a bug
4850 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4852 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4853 labels for the text column, to make it more look more dynamic.
4855 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4857 * src/hildon-time-selector.c
4858 Define gettext auxiliar macro N_
4859 (_create_minutes_model)
4860 (_create_hours_model)
4861 (_create_ampm_model): use of strftime in order to fill the model
4862 * src/hildon-date-selector.c
4863 (hildon_date_selector_finalize):
4864 (_locales_init): remove the logic related to get the name of the months
4865 using nl_langinfo, as it is not required anymore
4867 (_create_year_model)
4868 (_create_month_model)
4869 (_update_day_model): use of strftime in order to fill the model properly
4872 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4874 * src/hildon-button.h
4875 * src/hildon-button.c (hildon_button_get_image): New method to
4878 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4880 * src/hildon-touch-selector.c:
4881 (hildon_touch_selector_remove_column): Remove from the correct parent
4882 and also remove the list element and free it.
4885 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4887 * src/hildon-time-selector.c
4888 (_create_hours_model): change the range on 12h ampm format in order to use
4889 a 12-11 range instead of previous 01-12 range
4890 (hildon_time_selector_set_time): change the way to select the current time
4891 on 12h ampm format, due the change on the range
4892 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4895 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4897 * src/hildon-touch-selector.c
4898 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4899 in order to allow use this function on multiple row selection mode if
4900 the column is different that the first one
4903 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4905 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4906 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4908 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4910 * src/hildon-date-selector.h: clean some comments, now on the .c
4911 * src/hildon-date-selector.c
4912 (hildon_date_selector_select_month): first implementation
4913 (hildon_date_selector_select_day): added documentation, reimplemented
4914 using hildon_date_selector_select_current_date to avoid repeat code
4917 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4919 Reviewed interaction logic based on device experiences, refactored
4922 * src/hildon-pannable-area.c,
4923 (hildon_pannable_area_class_init): Updated default vmax speed.
4924 (hildon_pannable_area_calculate_velocity): Added this function, it
4925 avoids duplicate valocity calculation. Adjusted calculation to
4926 avoid problems with zero dist events.
4928 (hildon_pannable_area_motion_notify_cb): Now we use the
4929 calculate_velocity function.
4931 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4933 * src/hildon-date-selector.c
4934 (hildon_date_selector_select_current_date): fix the day range check
4935 as it failed using the last day of the current month
4938 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4940 * src/hildon-touch-selector.c
4941 (hildon_touch_selector_get_num_columns): added a parameter validation
4944 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4946 * examples/Makefile.am
4947 * examples/hildon-edit-toolbar-example.c: Example of the
4948 HildonEditToolbar widget.
4950 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4952 * configure.ac: postrelease version bump.
4954 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4958 * configure.ac: prerelease version bump.
4959 * debian/changelog: update.
4961 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4963 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4964 renderer to display stock icons in the touch list. Also, set the sizes
4965 to the recommended in the style guide.
4967 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4968 * src/hildon-touch-selector.h
4969 (hildon_touch_selector_set_active_iter): renamed, now is
4970 hildon_touch_selector_select_iter
4971 (hildon_touch_selector_get_active_iter): renamed, now is
4972 hildon_touch_selector_get_selected
4973 (hildon_touch_selector_unselect_iter): added
4974 * src/hildon-touch-selector.c
4975 Update after API modification (methods renamed)
4976 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4977 order to avoid problems selecting multiple elements on the column
4978 (hildon_touch_selector_unselect_iter): added the implementation
4979 * src/hildon-time-selector.c
4980 * src/hildon-date-selector.c
4981 * src/hildon-touch-selector-entry.c
4982 Update methods calls after hildon-touch-selector.h API modification (methods
4985 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4987 * src/hildon-stackable-window.c
4988 (hildon_stackable_window_finalize): Call the parent class's finalize.
4990 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4992 * examples/hildon-touch-selector-example.c: (create_selector): Use
4993 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4996 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4998 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4999 set a cell background color, to respect theming.
5001 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5003 * doc/hildon-docs.sgml
5006 * src/hildon-edit-toolbar.c
5007 * src/hildon-edit-toolbar.h
5008 * src/hildon.h: New HildonEditToolbar widget.
5010 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5012 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5015 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5016 * src/hildon-touch-selector.c
5017 (_create_new_column): use g_object_set instead of two g_object_set_property
5019 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5020 * src/hildon-touch-selector.c
5021 (_create_new_column): use of hildon_gtk_tree_view_new to create
5022 the treeview, instead of use directly g_object_new
5023 (_create_new_column): update the property name "vindicator-mode" for the
5024 new one "vscrollbar-policy"
5025 * examples/hildon-date-button-example.c
5026 * examples/hildon-picker-button-multicolumn-example.c
5027 * examples/hildon-touch-selector-entry-example.c
5028 * examples/hildon-touch-selector-example.c
5029 * examples/hildon-time-button-example.c
5030 * examples/hildon-picker-button-example.c
5031 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5032 to all the treeviews inside a pannable area.
5034 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5036 * src/hildon-button.h
5037 * src/hildon-button.c (hildon_button_init)
5038 (hildon_button_set_arrangement, hildon_button_set_alignment)
5039 (hildon_button_set_title_alignment)
5040 (hildon_button_set_value_alignment)
5041 (hildon_button_set_image_alignment)
5042 (hildon_button_construct_child): New methods to set the alignment
5043 of the individual components of the button (title, value,
5044 image). Also, new method to alter the xscale and yscale properties
5045 of the GtkAlignment inside the button, so more complex layouts can
5048 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5050 * src/hildon-button.c (hildon_button_style_set)
5051 (hildon_button_class_init, hildon_button_set_arrangement)
5052 (hildon_button_construct_child): Apply style properties
5053 correctly. Use the 'image-spacing' style property too.
5055 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5057 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5058 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5061 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5063 * src/hildon-pannable-area.c,
5064 (hildon_pannable_area_size_request): Fixed problem with
5065 pannable-area size_request.
5067 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5069 Added management for the grab-focus to a child widget, like a
5070 range, we need to fade out the scrollbar when releasing.
5072 * src/hildon-pannable-area.c,
5073 (hildon_pannable_area_init): Connected the grab-focus signal to
5075 (hildon_pannable_area_grab_notify): Added this function in order
5076 to manage the situation when the grab-focus ends. We have to
5077 fade-out the scrollbar.
5079 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5081 * src/hildon-app-menu.c: Minor documentation update.
5083 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5085 * src/hildon-app-menu.c
5086 * examples/hildon-app-menu-example.c (create_menu): Update
5087 examples and documentation to explain how to connect callbacks.
5089 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5091 * examples/hildon-button-example.c
5092 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5093 hildon_stackable_window_new instead of gtk_window_new
5095 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5097 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5098 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5099 (hildon_pannable_area_set_property),
5100 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5101 (hildon_pannable_area_unrealize),
5102 (hildon_pannable_area_size_request),
5103 (hildon_pannable_area_size_allocate),
5104 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5105 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5106 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5107 (hildon_pannable_area_initial_effect),
5108 (hildon_pannable_area_redraw),
5109 (hildon_pannable_area_scroll_indicator_fade),
5110 (hildon_pannable_area_expose_event),
5111 (hildon_pannable_area_get_topmost), (synth_crossing),
5112 (hildon_pannable_area_button_press_cb),
5113 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5114 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5115 (hildon_pannable_area_motion_notify_cb),
5116 (hildon_pannable_area_button_release_cb),
5117 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5118 (hildon_pannable_area_remove),
5119 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5120 chage the code layout to a more GtkWidget like. Review the use of
5123 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5125 * examples/hildon-pannable-area-example-4.c,
5126 (main): Modified the name of the hindicator_mode to
5129 * src/hildon-pannable-area.c,
5130 (hildon_pannable_area_class_init),
5131 (hildon_pannable_area_motion_notify_cb),
5132 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5133 we have reduced the amount of signals and managed reviewed its
5134 rationale. Changed the default decelerate value.
5136 (hildon_pannable_area_add),
5137 (hildon_pannable_area_redraw): Refactored functions.
5139 (hildon_pannable_area_init),
5140 (hildon_pannable_area_get_property),
5141 (hildon_pannable_area_set_property):
5142 (hildon_pannable_draw_vscroll),
5143 (hildon_pannable_draw_hscroll),
5144 (hildon_pannable_area_initial_effect),
5145 (hildon_pannable_area_expose_event),
5146 (hildon_pannable_area_scroll),
5147 (hildon_pannable_area_button_press_cb),
5148 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5149 and vindicator_mode with hscrollbar_policy and
5150 vscrollbar_policy. Replaced hscroll and vscroll with
5151 hscroll_visible and vscroll_visible.
5153 (hildon_pannable_area_refresh): Refactor the function, remove
5154 variables and check the calls to this function, added resize
5155 conditions in case the children change their layout.
5157 (hildon_pannable_area_size_request): Added more detailed
5158 size_request calculation.
5161 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5163 * src/hildon-color-chooser.c
5164 (init_borders): use the correct gtk_border_free instead of g_free, to
5165 avoid a crash when this widget is used (ie: the three color selection
5168 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5170 * src/hildon-check-button.c,
5171 (hildon_check_button_set_active): Fixed problem when setting the
5172 active value, the widget was not redrawn.
5174 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5176 * src/hildon-pannable-area.c,
5177 (hildon_pannable_area_refresh),
5178 (hildon_pannable_area_scroll),
5179 (hildon_pannable_area_motion_notify_cb): Small code style change.
5181 (hildon_pannable_area_class_init): Default initial_hint set to
5182 FALSE, it is not in the specs.
5184 (hildon_pannable_area_initial_effect),
5185 (hildon_pannable_area_expose_event),
5186 (hildon_pannable_area_map),
5187 (hildon_pannable_area_init): Moved the launching point of the
5188 initial effect, it was in map but the sizes where not correct in
5189 that method so we do not know if we have the reproduce it. Now it
5190 is placed in the expose_event method and uses a variable to
5191 reproduce it just once.
5193 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5195 * src/hildon-pannable-area.c,
5196 (hildon_pannable_draw_vscroll),
5197 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5198 position allowed for the scrollbars.
5200 (hildon_pannable_area_size_allocate): Small style change.
5202 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5204 * src/hildon-pannable-area.c,
5205 (hildon_pannable_area_scroll_indicator_fade),
5206 (hildon_pannable_area_button_press_cb),
5207 (hildon_pannable_area_button_release_cb),
5208 (hildon_pannable_area_scroll_cb),
5209 (hildon_pannable_area_expose_event),
5210 (hildon_pannable_area_init): Added the define parameter
5211 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5212 and refactor the fade variable.
5214 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5216 * src/hildon-pannable-area.c,
5217 (hildon_pannable_area_redraw),
5218 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5219 lines, we were reimplemeting the redraw code.
5221 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5223 * src/hildon-pannable-area.c,
5224 (hildon_pannable_area_scroll_cb),
5225 (hildon_pannable_area_realize),
5226 (hildon_pannable_area_class_init): Added scroll_event management
5227 for pannable area, now we can scroll the usual desktop method.
5229 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5230 initialization of the parameters should depend on idle_id.
5232 (hildon_pannable_area_init),
5233 (hildon_pannable_area_map): Small code style modifications
5235 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5237 * src/hildon-pannable-area.c
5238 (hildon_pannable_area_button_press_cb),
5239 (hildon_pannable_area_motion_notify_cb),
5240 (hildon_pannable_area_button_release_cb),
5241 (hildon_pannable_area_size_allocate),
5242 (hildon_pannable_area_scroll_to): Improved the timeouts
5243 management, we avoid creating them each time.
5245 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5247 * src/hildon-pannable-area.c:
5248 (hildon_pannable_area_refresh),
5249 (hildon_pannable_area_motion_notify_cb),
5250 (hildon_pannable_area_class_init):
5251 * src/hildon-pannable-area.h:
5252 * src/hildon-touch-selector.c
5253 (_create_new_column):
5254 * examples/hildon-pannable-area-example-4.c:
5255 (horizontal_movement),
5256 (vertical_movement),
5258 Replaced the names of enums in the HildonPannableArea:
5259 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5260 HILDON_MOVEMENT_MODE_*
5261 - HILDON_PANNABLE_AREA_MOV_* ->
5263 - Removed HildonPannableAreaIndicatorMode, now we
5266 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5268 * examples/hildon-pannable-area-touch-grid-example.c
5269 * examples/hildon-pannable-area-touch-list-example.c: Fix
5270 compilation warnings.
5272 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5274 * src/hildon-gtk.c (hildon_gtk_button_new)
5275 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5276 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5277 images overriding the value of the "gtk-button-images" setting.
5279 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5281 * src/hildon-check-button.c (hildon_check_button_new):
5282 Instead of using a custom container, display the label and the
5283 checkbox using the standard GtkButton API.
5285 * examples/hildon-check-button-example.c (main): Don't use
5286 hildon_check_button_set_label() anymore
5288 * src/hildon-check-button.h
5289 * src/hildon-check-button.c
5290 (hildon_check_button_set_label, hildon_check_button_get_label):
5291 Set as deprecated, now we're using gtk_button_{get,set}_label()
5293 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5295 * src/hildon-pannable-area.c,
5296 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5297 GtkTreeview first line we detected it after the inclusion of the
5298 GtkWindowImpl in gtk+. We now check if the window is visible, not
5299 just if the pointer is over the window.
5300 (hildon_pannable_axis_scroll),
5301 (hildon_pannable_area_expose_event): Small style changes.
5303 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5305 * src/hildon-button.c: Update documentation.
5307 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5309 * examples/hildon-button-example.c: Add a switch to show images in
5312 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5314 * doc/hildon-docs.sgml: Some docs reorganization.
5316 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5318 * examples/hildon-pannable-area-touch-list-example.c
5320 * examples/hildon-pannable-area-touch-grid-example.c
5321 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5322 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5323 Fix memory leak when setting the tree model.
5325 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5329 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5331 * doc/hildon.types: Remove duplicated hildon_window_get_type
5332 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5333 documentation comment.
5335 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5337 * doc/Makefile.am: Complete list of private headers.
5339 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5341 * doc/hildon-docs.sgml
5342 * src/hildon-app-menu.c
5343 * src/hildon-bread-crumb.c
5344 * src/hildon-button.c
5346 * src/hildon-program.c
5347 * src/hildon-stackable-window.c
5348 * src/hildon-window.c: Lots of documentation updates.
5350 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5352 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5354 * configure.ac: Require Gtk+ 2.12.9 at least
5356 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5358 * src/hildon-pannable-area.c
5359 (hildon_pannable_area_scroll_indicator_fade),
5360 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5361 to protect the return of this timeout callbacks, avoiding deadlocks.
5363 2008-08-12 Christian Dywan <christian@imendio.com>
5366 * src/hildon-*.h: Ensure a consistent include order,
5367 include <gtk/gtk.h> instead of particular files and
5368 only include the topmost header in the gtk stack. See NB #39857
5370 2008-08-12 Christian Dywan <christian@imendio.com>
5372 * src/hildon-picker-dialog.c
5373 * src/hildon-touch-selector.c: Fix warnings about unused and
5374 uninitialized variables.
5376 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5378 * examples/Makefile.am
5379 * examples/hildon-check-button-example.c: Example of the hildon
5382 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5384 * src/hildon-window.h
5385 * src/hildon-window.c (hildon_window_class_init)
5386 (hildon_window_unset_program): Don't make
5387 hildon_window_unset_program a virtual function anymore.
5389 * src/hildon-stackable-window.c: Update documentation
5391 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5394 * doc/hildon-docs.sgml
5395 * doc/visual_index.xml
5396 * src/hildon-defines.c
5398 * src/hildon-helper.c
5399 * src/hildon-range-editor.c: Lots of documentation fixes.
5401 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5403 * examples/hildon-picker-button-multicolumn-example.c
5404 (create_touch_selector): Fix compilation warning.
5406 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5408 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5409 (hildon_pannable_area_button_release_cb)
5410 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5412 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5414 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5417 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5419 * src/hildon-bread-crumb-trail.h
5420 * src/hildon-date-editor.c
5421 * src/hildon-date-selector.c
5422 * src/hildon-pannable-area.c
5423 * src/hildon-picker-dialog.c
5424 * src/hildon-time-selector.c
5425 * src/hildon-touch-selector-entry.c
5426 * src/hildon-touch-selector.c
5427 * src/hildon-touch-selector.h: Misc documentation fixes
5429 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5431 * examples/hildon-date-editor-example.c (main): Updated date
5434 * examples/hildon-note-example.c (on_confirmation_clicked):
5435 Updated confirmation note example.
5437 * src/hildon-date-editor.c
5438 * src/hildon-note.c: Updated sample programs in documentation.
5441 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5443 * src/hildon-date-button.h:
5444 * src/hildon-picker-button.h:
5445 * src/hildon-time-button.c:
5446 * src/hildon-time-button.h:
5448 Some declarations changes to allow gtk-doc to document the widgets
5451 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5453 * src/hildon-date-button.c: Document the widget.
5454 * src/hildon-time-button.c: Document the widget.
5456 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5458 * src/hildon-picker-button.c: Document the widget.
5459 * src/hildon-touch-selector-entry.c: Document the widget.
5461 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5463 * doc/hildon-docs.sgml
5466 * src/hildon-check-button.h
5467 * src/hildon-check-button.c: New functions to create the Hildon
5471 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5473 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5475 * src/hildon-button.h
5476 * src/hildon-button.c
5477 (hildon_button_add_title_size_group)
5478 (hildon_button_add_value_size_group)
5479 (hildon_button_add_image_size_group)
5480 (hildon_button_add_size_groups): New functions to set size groups
5481 for the button labels and image.
5482 (hildon_button_new_full): Removed
5484 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5486 * src/hildon-time-selector.c
5487 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5488 in order to avoid a crash if gconf is not available
5490 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5492 * src/hildon-button.c (hildon_button_set_arrangement)
5493 (hildon_button_construct_child): Don't construct the button child
5494 before setting the arrangement.
5496 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5498 * src/hildon-program-private.h
5499 * src/hildon-program.c
5500 * src/hildon-program.h
5501 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5502 (hildon_program_peek_window_stack)
5503 (hildon_program_pop_window_stack)
5504 (hildon_program_go_to_root_window): HildonProgram now has a
5505 separate list for stackable windows. Functions are provided to
5506 manage that list with a stack-like API.
5508 * src/hildon-stackable-window.c: Stackable window management is
5509 now much simpler with the new HildonProgram API. Windows no
5510 longer need to be manually added to the program, they're
5511 automatically pushed to the top of the stack when shown.
5513 * examples/hildon-stackable-window-example.c: Updated example to
5514 reflect the API changes.
5516 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5518 * src/hildon-touch-selector.c: Comment out unimplemented
5519 hildon_touch_selector_insert_column() to avoid a compile warning.
5521 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5523 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5524 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5525 (hildon_touch_selector_set_column_selection_mode),
5526 (_hildon_touch_selector_set_model),
5527 (hildon_touch_selector_set_model):
5529 Complete review of HildonTouchSelector documentation.
5531 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5533 * doc/hildon-docs.sgml
5537 * src/hildon-gtk.c: Convenience functions for standard Gtk
5538 widgets, used to easily perform frequent operations.
5540 * src/hildon-button-helpers.h
5541 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5543 * src/hildon-helper.h
5544 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5545 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5547 * src/hildon-button.h
5548 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5550 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5552 * src/hildon-button.c (hildon_button_init)
5553 (hildon_button_set_arrangement, hildon_button_construct_child):
5554 Pack the image and the labels inside the same GtkAlignment so
5555 gtk_button_set_alignment() can be used
5557 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5559 * src/hildon-button.h
5560 * src/hildon-button.c
5561 (hildon_button_init, hildon_button_set_image)
5562 (hildon_button_set_image_position)
5563 (hildon_button_construct_child): New functions to add an image to
5566 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5568 * src/hildon-date-button.c
5569 * src/hildon-picker-button.c
5570 * src/hildon-time-button.c
5571 * src/hildon-button.c:
5572 (hildon_button_class_init): "size-flags" renamed to "size"
5573 (hildon_button_set_title): Hide the title label if set to NULL.
5575 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5577 HildonButtonFlags split into HildonButtonArrangement (to set the
5578 button layout) and HildonSizeType (which can be used for any
5581 * src/hildon-button.h
5582 * src/hildon-button.c
5583 (hildon_button_class_init)
5584 (hildon_button_set_arrangement)
5585 (hildon_button_set_property): New "size-flags"
5586 property. "arrangement-flags" renamed to "arrangement".
5587 (hildon_button_new, hildon_button_new_with_text)
5588 (hildon_button_new_full): Constructors updated to reflect type changes.
5590 * src/hildon-helper.h
5591 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5592 to set the size of a widget.
5596 * src/hildon-button-helpers.c
5597 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5599 * src/hildon-date-button.c
5600 * src/hildon-date-button.h
5601 * src/hildon-picker-button.c
5602 * src/hildon-picker-button.h
5603 * src/hildon-time-button.c
5604 * src/hildon-time-button.h: Updated widgets to reflect
5605 HildonButton API changes.
5607 * examples/hildon-button-example.c
5608 * examples/hildon-date-button-example.c
5609 * examples/hildon-picker-button-example.c
5610 * examples/hildon-picker-button-multicolumn-example.c
5611 * examples/hildon-time-button-example.c
5612 * examples/hildon-touch-selector-entry-example.c
5613 * examples/hildon-touch-selector-example.c: Updated examples to
5614 reflect HildonButton API changes.
5616 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5618 * doc/hildon-docs.sgml:
5620 * examples/Makefile.am:
5621 * examples/hildon-touch-selector-entry-example.c:
5623 * src/hildon-touch-selector-entry.c:
5624 * src/hildon-touch-selector-entry.h:
5627 Moved HildonTouchSelectorEntry from sandbox. Added its
5628 documentation and examples.
5630 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5632 * src/hildon-touch-selector.h:
5633 * examples/hildon-picker-button-multicolumn-example.c:
5634 (hildon_touch_selector_append_text_column): Add a gboolean
5635 parameter to determine if text must be centered in the column.
5637 * src/hildon-date-selector.c: (hildon_date_selector_init):
5638 * src/hildon-time-selector.c: (hildon_time_selector_init):
5639 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5640 (create_touch_selector): Update widgets and example to reflect
5643 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5645 * src/hildon-touch-selector.c:
5646 (hildon_touch_selector_set_active_iter): Set also the cursor in
5649 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5651 * doc/hildon-docs.sgml
5654 * src/hildon-toggle-button.c
5655 * src/hildon-toggle-button.h
5656 * src/hildon.h: Removed HildonToggleButton widget, a derived
5657 class is not necessary for this.
5659 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5661 * src/hildon-pannable-area.c,
5662 (hildon_pannable_area_realize),
5663 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5666 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5668 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5669 "done" button the default widget for the dialog.
5671 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5673 * src/hildon-touch-selector.c:
5674 (hildon_touch_selector_class_init),
5675 (hildon_touch_selector_get_property),
5676 (_hildon_touch_selector_set_model),
5677 (_hildon_touch_selector_has_multiple_selection),
5678 (hildon_touch_selector_has_multiple_selection):
5679 Add a "has-multiple-selection" property with a virtual
5680 has_multiple_selection() method to allow derived classes to
5681 override the default value for it. See the method and property
5682 documentation for details.
5684 * src/hildon-touch-selector.h: Add the new API.
5686 * src/hildon-picker-dialog.c: (requires_done_button): Call
5687 hildon_touch_selector_has_multiple_selection() instead of
5688 determining the need for a button itself.
5690 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5692 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5693 (_hildon_touch_selector_set_model),
5694 (hildon_touch_selector_set_model): Move working code to
5695 _hildon_touch_selector_set_mode(). Call the class method instead.
5697 * src/hildon-touch-selector.h: Add (*set_model) to
5698 HildonTouchSelectorClass.
5700 Make hildon_touch_selector_set_model() a virtual method, so that
5701 derived classes can extend it and do fancy stuff with the model.
5703 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5705 * configure.ac: Set back the tarname in AC_INIT to hildon.
5707 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5711 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5712 instead of libesd (NB#86876). Volume handling is still an open issue.
5714 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5717 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5719 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5720 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5721 derived class to ease placement of an entry widget in
5722 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5723 end, where the selector columns are packed now.
5725 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5727 * src/hildon-picker-button.c: Removed the simple _text() API.
5728 * src/hildon-picker-button.h: Likewise.
5730 * src/hildon-touch-selector.h:
5731 * src/hildon-touch-selector.c:
5732 (hildon_touch_selector_new_text),
5733 (hildon_touch_selector_append_text),
5734 (hildon_touch_selector_prepend_text),
5735 (hildon_touch_selector_insert_text):
5737 Moved the simple _text() API from HildonPickerButton to
5738 HildonTouchPicker, to provide better escalability and not to tie
5739 that API to HildonPickerButton.
5741 * examples/hildon-picker-button-example.c: (main): Example updated.
5743 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5745 * src/hildon-button.c: Updated documentation.
5747 * examples/hildon-button-example.c: Add the posibility to create
5748 the buttons using horizontal layout for title and value.
5750 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5752 * src/hildon-app-menu-private.h
5753 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5754 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5755 GtkSizeGroup for the filters, use the 'homogeneous' property of
5758 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5760 * examples/hildon-button-example.c: Updated example.
5762 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5764 * doc/hildon-docs.sgml:
5767 Update documentation.
5769 * examples/Makefile.am: Update renamed examples.
5771 * examples/hildon-picker-button-multicolumn-example.c:
5772 (create_touch_selector), (main): Update after the rename.
5774 * examples/hildon-touch-picker-example.c: Removed.
5775 * examples/hildon-touch-selector-example.c: (value_changed),
5776 (create_selector), (get_visible_content), (main): Renamed from
5777 hildon-touch-picker-example.c
5779 * src/Makefile.am: Updated renamed files.
5781 * src/hildon-date-button.c: (hildon_date_button_init),
5782 (hildon_date_button_get_date), (hildon_date_button_set_date):
5783 * src/hildon-date-selector.c: (hildon_date_selector_init),
5784 (_custom_print_func), (_update_day_model),
5785 (_manage_selector_change_cb),
5786 (hildon_date_selector_select_current_date),
5787 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5788 * src/hildon-date-selector.h:
5789 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5790 (hildon_picker_button_set_property),
5791 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5792 (hildon_picker_button_init), (hildon_picker_button_new_text),
5793 (hildon_picker_button_append_text),
5794 (hildon_picker_button_prepend_text),
5795 (hildon_picker_button_insert_text),
5796 (hildon_picker_button_set_selector),
5797 (hildon_picker_button_get_selector):
5798 * src/hildon-picker-button.h:
5799 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5800 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5801 (_update_title_on_selector_changed_cb), (requires_done_button),
5802 (_hildon_picker_dialog_set_selector),
5803 (hildon_picker_dialog_set_selector),
5804 (hildon_picker_dialog_get_selector):
5805 * src/hildon-picker-dialog.h:
5806 * src/hildon-time-button.c: (hildon_time_button_init),
5807 (hildon_time_button_get_time), (hildon_time_button_set_time):
5808 * src/hildon-time-selector.c: (hildon_time_selector_init),
5809 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5810 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5811 * src/hildon-time-selector.h:
5814 Massive code updates after the rename.
5816 * src/hildon-touch-picker.c: Removed.
5817 * src/hildon-touch-picker.h: Removed.
5819 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5820 (hildon_touch_selector_init), (hildon_touch_selector_map),
5821 (hildon_touch_selector_remove), (_default_print_func),
5822 (_selection_changed_cb), (_create_new_column),
5823 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5824 (hildon_touch_selector_append_text_column),
5825 (hildon_touch_selector_remove_column),
5826 (hildon_touch_selector_set_column_attributes),
5827 (hildon_touch_selector_insert_column),
5828 (hildon_touch_selector_get_num_columns),
5829 (hildon_touch_selector_get_column_selection_mode),
5830 (hildon_touch_selector_set_column_selection_mode),
5831 (hildon_touch_selector_set_print_func),
5832 (hildon_touch_selector_get_print_func),
5833 (hildon_touch_selector_get_active_iter),
5834 (hildon_touch_selector_set_active_iter),
5835 (hildon_touch_selector_get_selected_rows),
5836 (hildon_touch_selector_get_model),
5837 (hildon_touch_selector_set_model),
5838 (hildon_touch_selector_get_current_text),
5839 (_hildon_touch_selector_center_on_selected_items):
5840 * src/hildon-touch-selector.h: Renamed from
5841 hildon-touch-picker.[ch]
5843 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5844 references, code examples, and related documentation.
5846 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5848 * doc/hildon-docs.sgml
5851 * src/hildon-toggle-button.c
5852 * src/hildon-toggle-button.h
5853 * src/hildon.h: New HildonToggleButton widget.
5855 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5857 * src/hildon-button.c: Add API documentation.
5858 (hildon_button_set_size_groups): Check input parameters
5860 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5862 * src/hildon-pannable-area.c
5863 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5864 effect after reaching the movement thredshold. This way we start
5865 using the distance after passing the thredshold.
5867 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5869 * src/hildon-button.c: (hildon_button_set_property): Use the
5870 appropriate g_value_get_flags() method.
5872 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5874 * doc/hildon-docs.sgml:
5877 Add the touch pickers, picker dialogs, and picker button widgets
5878 to the documentation.
5880 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5882 * src/hildon-button.c: (hildon_button_set_property),
5883 (hildon_button_class_init): Make "arrangement-flags" a proper
5884 G_TYPE_FLAGS derived property.
5886 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5888 * examples/Makefile.am: Add below examples.
5889 * examples/hildon-date-button-example.c:
5890 * examples/hildon-picker-button-example.c:
5891 * examples/hildon-picker-button-multicolumn-example.c:
5892 * examples/hildon-time-button-example.c:
5893 * examples/hildon-touch-picker-example.c:
5895 Add examples for the recently added touch pickers,
5896 picker dialogs, and picker button widgets.
5898 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5900 * src/hildon-button.c: Add some API documentation
5902 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5904 * src/hildon-button.h
5905 * src/hildon-button.c
5907 (hildon_button_new_with_text): New constructor to create a button
5908 with no text at all.
5909 (hildon_button_init, hildon_button_set_arrangement)
5910 (hildon_button_set_title, hildon_button_set_value)
5911 (hildon_button_set_text)
5912 (hildon_button_construct_child): Hide the value when it's not used
5913 so the rest of the text is properly aligned.
5914 Allow creating buttons with arbitrary widgets inside (not just
5915 title/value labels).
5917 * examples/hildon-button-example.c (vertical_buttons_window)
5918 (horizontal_buttons_window): Update example to use new API.
5920 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5922 * src/Makefile.am: Added HildonTimeButton.
5923 * src/hildon-time-button.c: Added missing LGPL header.
5924 * src/hildon-time-button.h: Added missing LGPL header.
5925 * src/hildon.h: Add hildon-time-button.h
5927 Copied HildonTimeButton from sandbox to trunk. Future work on this
5928 widget must take place in trunk.
5930 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5932 * src/Makefile.am: Added HildonDateButton.
5933 * src/hildon-date-button.c: Update includes.
5934 * src/hildon.h: Add hildon-date-button.h
5936 Copied HildonDateButton from sandbox to trunk. Future work on this
5937 widget must take place in trunk.
5939 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5941 * src/Makefile.am: Added HildonPickerButton.
5942 * src/hildon-picker-button.h: Update includes.
5943 * src/hildon.h: Add hildon-picker-button.h
5945 Copied HildonPickerButton from sandbox to trunk. Future work on
5946 this widget must take place in trunk.
5948 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5950 * src/Makefile.am: Added HildonPickerDialog.
5951 * src/hildon-picker-dialog.c: Update includes.
5952 * src/hildon.h: Add hildon-picker-dialog.h
5954 Copied HildonPickerDialog from sandbox to trunk. Future work
5955 on this widget must take place in trunk.
5957 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5959 * src/Makefile.am: Added HildonTimeSelector.
5960 * src/hildon.h: Add hildon-time-selector.h
5962 Copied HildonTimeSelector widget from sandbox to trunk. Future
5963 work on this widget must happen in trunk.
5965 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5967 * src/Makefile.am: Added HildonDateSelector.
5968 * src/hildon.h: Add hildon-date-selector.h
5970 Copied HildonDateSelector widget from sandbox to trunk. Future
5971 work on this widget must happen in trunk.
5973 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5975 * src/Makefile.am: Added HildonTouchPicker.
5976 * src/hildon-touch-picker.c: Update includes.
5977 * src/hildon.h: Add hildon-touch-picker.h
5979 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5980 on this widget must happen in trunk.
5982 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5984 * src/hildon-pannable-area.c:
5985 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5987 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5989 * examples/hildon-app-menu-example.c (main): Let the window
5992 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5994 * src/hildon-pannable-area.c
5995 (hildon_pannable_area_class_init): Set the min value of the
5996 overshoot properties to zero, which points out that not
5997 overshooting allowed.
5999 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6001 Modified the procedure to get the widget at a point inside the
6002 pannable area when using the movement type signals. Now the user
6003 has to call a function to get the child, that way we just
6004 calculate the child in case the user really want to use it and not
6007 * src/hildon-marshalers.list: Modified the marshallers, now we do
6008 not have the widget as a parameter.
6010 * src/hildon-pannable-area.c
6011 (hildon_pannable_area_motion_notify_cb),
6012 (hildon_pannable_area_class_init),
6013 (hildon_pannable_get_child_widget_at): Removed the widget
6014 parameter from the signal callback. We have also refactored the
6015 emission of the signals.
6017 * src/hildon-pannable-area.h: Added a new method to the API to
6018 calculate a widget at a point inside the pannable area,
6019 hildon_pannable_get_child_widget_at.
6021 * examples/hildon-pannable-area-example-4.c
6022 (horizontal_movement): Modified the example to use the new API,
6023 added condition to control which widget is under the event. This
6024 way we can avoid scrolling laterally over other widgets.
6026 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6028 * src/hildon-pannable-area.c
6029 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6030 modes, we stop getting the pointer events due to returning the
6031 callback without properly calling the get pointer again. Fixed
6032 also an error using the hscroll and vscroll.
6034 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6036 * src/hildon-app-menu-private.h
6037 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6038 (hildon_app_menu_button_release, hildon_app_menu_init)
6039 (hildon_app_menu_class_init): Don't hide the menu on button
6040 release if the user didn't press outside first.
6042 * src/hildon-window.h
6043 * src/hildon-window.c (hildon_window_toggle_menu)
6044 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6045 hildon_window_toggle_menu a virtual function for the stackable
6046 window to override it.
6048 * src/hildon-stackable-window.h
6049 * src/hildon-stackable-window-private.h
6050 * src/hildon-stackable-window.c
6051 (hildon_stackable_window_realize)
6052 (hildon_stackable_window_finalize)
6053 (hildon_stackable_window_class_init)
6054 (hildon_stackable_window_init)
6055 (hildon_stackable_window_set_main_menu): New function to set the
6056 app menu of a HildonStackableWindow.
6058 * examples/hildon-app-menu-example.c: Remove the button to show
6059 the app menu, now it'll be shown when clicking on the title bar
6062 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6064 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6065 set the widget name if the arrangement flags do not specify
6068 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6070 * src/hildon-button.c: (hildon_button_set_property),
6071 (hildon_button_class_init), (hildon_button_new_full),
6072 (hildon_button_set_arrangement): Added "arrangement-flags"
6075 Make the HildonButtonFlags a construction-only property, to allow
6076 subclasses to set them properly.
6078 2008-07-21 Tim Janik <timj@imendio.com>
6080 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6081 insertion position after backspace, so additional digits are appended,
6084 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6086 * src/hildon-pannable-area.c,
6087 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6088 TODO list, it was complete and removed the g_debug and g_print
6091 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6093 Added the movement modes to the hildon-pannable-area, with this
6094 modes the developers can control in which directions the widget
6095 can scroll. They can also connect to signals in order to do
6096 something when that happens, allowing applications scroll. There
6097 is an example uploaded showing how to use it.
6099 * examples/Makefile.am:
6100 * examples/hildon-pannable-area-example-4.c: Added this example of
6101 an application using the modes.
6103 * src/hildon-marshalers.list: Added a new marshaller for the new
6106 * src/hildon-pannable-area.h: Added new enumerations and flags in
6107 order to control the movement modes and the new signals to warn
6108 about the movements in the area.
6110 * src/hildon-pannable-area.c:
6111 (hildon_pannable_axis_scroll),
6112 (hildon_pannable_area_scroll),
6113 (hildon_pannable_area_motion_notify_cb),
6114 (hildon_pannable_area_get_property),
6115 (hildon_pannable_area_set_property),
6116 (hildon_pannable_area_map),
6117 (hildon_pannable_area_class_init),
6118 (hildon_pannable_area_init),
6119 (hildon_pannable_area_jump_to): Added the modes to control the
6120 movement in the widget. We have added properties to control it,
6121 signals to warn about the movements and refactored some code.
6123 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6125 Changes required in order to allow vfast_factor set to zero to
6128 * src/hildon-pannable-area.c:
6129 (hildon_pannable_area_button_press_cb): Changed the condition, it
6130 is required for not allowing click when vfast_factor is zero.
6131 (hildon_pannable_area_timeout): Initialized velocity variables
6132 when we stop moving, it was less than 1 but not zero and we need
6133 to check zero in some situations.
6134 (hildon_pannable_area_class_init): Changed the default value of
6135 the speed factor, now the button_press is just sent in case the
6136 speed is 2 per cent of the max speed.
6137 (hildon_pannable_area_init): Initialization with 0.
6139 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6141 * src/hildon-pannable-area.c,
6142 (hildon_pannable_area_get_topmost): replaced
6143 gdk_window_get_children with gdk_window_peek_children, this way we
6144 do not have to free the list because it is not a copy.
6146 (hildon_pannable_axis_scroll),
6147 (hildon_pannable_area_scroll),
6148 (hildon_pannable_area_timeout),
6149 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6150 two parameters that were only used inside the
6151 hildon_pannable_area_scroll function.
6153 * examples/hildon-pannable-area-example.c,
6154 (get_sawtooth_label): Fixed small memory leak.
6156 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6158 More checks for the case where the overshoot is bigger than the
6161 * src/hildon-pannable-area.c:
6162 (hildon_pannable_draw_vscroll),
6163 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6164 to draw the slider of the scrollbar under the other scrollbar.
6165 (hildon_pannable_area_expose_event): added new checks to control
6166 the drawing of the overshooting area rectangle, in case it is too
6167 big for the area of the widget.
6168 (hildon_pannable_area_size_allocate): add more checks to avoid
6169 setting a position to the child widget outside the area.
6171 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6173 * src/hildon-pannable-area.c
6174 (hildon_pannable_area_size_allocate): Added conditions to control
6175 when overshooting is bigger than the allocated space for the
6176 children, this avoids negative allocations.
6178 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6180 * doc/hildon-docs.sgml
6182 * examples/Makefile.am
6183 * examples/hildon-button-example.c
6185 * src/hildon-button.c
6186 * src/hildon-button.h
6187 * src/hildon.h: Initial version of the new HildonButton widget,
6190 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6192 * src/hildon-pannable-area.c:
6193 (hildon_pannable_area_button_press_cb),
6194 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6195 (hildon_pannable_area_motion_notify_cb),
6196 (hildon_pannable_area_button_release_cb),
6197 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6198 (hildon_pannable_area_jump_to_child):
6200 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6202 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6204 * examples/Makefile.am
6205 * examples/hildon-pannable-area-touch-grid-example.c
6206 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6207 the Hildon Touch List and Hildon Touch Grid using the
6208 HildonPannableArea widget.
6210 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6212 * src/hildon-pannable-area.c,
6213 (hildon_pannable_area_button_press_cb),
6214 (hildon_pannable_area_refresh),
6215 (hildon_pannable_area_scroll),
6216 (hildon_pannable_area_motion_notify_cb),
6217 (hildon_pannable_area_button_release_cb),
6218 (hildon_pannable_area_expose_event),
6219 (hildon_pannable_area_add),
6220 (hildon_pannable_area_remove),
6221 (hildon_pannable_area_realize),
6222 (hildon_pannable_area_size_allocate),
6223 (hildon_pannable_area_class_init),
6224 (hildon_pannable_area_init),
6225 (hildon_pannable_area_scroll_to_child),
6226 (hildon_pannable_area_jump_to_child): Fixed the problem of
6227 removing the child from the GtkBin, we have rearranged the widget
6228 hierarchy, now there is no GtkAlignment which was not doing
6229 anything interesting but breaking some of the assumptions of
6230 GtkContainer. Now developers if they want to add a GtkAlignment
6231 they could, but it is not inside the area.
6233 We had to review the whole allocation/expose process, now it is
6234 improved and we save at least three signals which would be saving
6235 some time when rendering the widget. The allocation of the
6236 scrollbars is now made in the allocate method as usual.
6238 We have also added some conditions in order to control when there
6239 is no child of the pannable area. Maybe we will need more work
6242 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6244 * src/hildon-pannable-area.c,
6245 (hildon_pannable_area_dispose): Released the fade-out timeout when
6246 disposing the widget.
6248 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6250 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6251 zero, we are going to use that property in order to deactivate the
6253 (hildon_pannable_axis_scroll),
6254 (hildon_pannable_area_size_allocate): Added conditions to control
6255 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6256 call, now it is called in all situations and we can remove calls
6257 in the allocate method.
6258 (hildon_pannable_area_map): Control the situation when
6259 overshoot_max is zero, we do not need the timeout.
6260 (hildon_pannable_area_class_init): Added documentation in order to
6261 point out that setting zero to overshoot_max means deactivate
6264 NOTE: removed trailing whitespaces from my previous comments of
6267 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6269 * src/hildon-pannable-area.c
6270 (hildon_pannable_area_get_property),
6271 (hildon_pannable_area_set_property),
6272 (hildon_pannable_area_map),
6273 (hildon_pannable_area_class_init),
6274 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6275 to cause the widget give a hint about its panning abilities upon
6278 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6280 * src/hildon-pannable-area.c: Several documentation improvements.
6282 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6284 * src/hildon-program.c
6285 * src/hildon-stackable-window.c: Update documentation.
6287 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6289 * src/hildon-stackable-window.c (get_previous_window_if_last):
6290 Renamed get_last_window()
6291 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6292 (hildon_stackable_window_unset_program):
6294 (get_previous_window_if_last):
6295 Detect if the window hasn't been added to a HildonProgram.
6297 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6299 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6301 * src/hildon-pannable-area.c
6302 (hildon_pannable_area_button_press_cb),
6303 (hildon_pannable_axis_scroll),
6304 (hildon_pannable_area_scroll),
6305 (hildon_pannable_area_timeout),
6306 (hildon_pannable_calculate_vel_factor),
6307 (hildon_pannable_area_get_property),
6308 (hildon_pannable_area_set_property),
6309 (hildon_pannable_area_class_init),
6310 (hildon_pannable_area_init),
6311 (hildon_pannable_area_scroll_to),
6312 (hildon_pannable_area_jump_to),
6313 (hildon_pannable_area_scroll_to_child),
6314 (hildon_pannable_area_jump_to_child):
6315 * src/hildon-pannable-area.h: Added the new API functions:
6316 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6317 hildon_pannable_area_scroll_to_child,
6318 hildon_pannable_area_jump_to_child
6321 * examples/Makefile.am
6322 * examples/hildon-pannable-area-example-2.c
6323 * examples/hildon-pannable-area-example-3.c: Added these two new
6324 examples in order to test and show how the new APIs work.
6326 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6328 * examples/hildon-stackable-window-example.c (new_window):
6329 * src/Makefile.am (noinst_HEADERS):
6330 * src/hildon-program.c (hildon_program_go_to_root_window):
6331 * src/hildon-program.h:
6332 * src/hildon-stackable-window-private.h:
6333 * src/hildon-stackable-window.c:
6334 * src/hildon-stackable-window.h:
6335 Create hildon-stackable-window-private.h
6336 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6338 * examples/hildon-app-menu-example.c (create_menu):
6339 * examples/hildon-hvolumebar-insensitive-example.c (main):
6340 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6341 * examples/hildon-toolbar-seekbar-example.c (main):
6342 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6343 * src/hildon-banner.c (hildon_banner_set_property):
6344 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6345 Fix compilation warnings
6347 * src/hildon-window.c:
6350 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6352 * src/hildon-stackable-window.c
6353 (hildon_stackable_window_unset_program):
6354 Calculate correctly whether to show the previous window if the
6355 last one is removed from the stack.
6356 (hildon_stackable_window_go_to_root_window):
6357 Send delete events starting from the topmost window.
6358 Stop if one of the windows is not destroyed.
6360 (hildon_stackable_window_delete_event)
6361 (hildon_stackable_window_class_init):
6362 Ignore the delete event if the window is not the topmost one.
6364 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6366 * src/hildon-pannable-area.c
6367 (hildon_pannable_area_expose_event): Fixed a problem when
6368 selecting the background color of the scrollbars.
6370 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6372 * examples/hildon-stackable-window-example.c
6373 * src/hildon-stackable-window.c
6374 * src/hildon-stackable-window.h
6375 hildon_stackable_window_go_home() renamed to
6376 hildon_stackable_window_go_to_root_window()
6377 Send delete events to windows rather than closing them with
6378 gtk_widget_destroy()
6380 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6382 * src/hildon-pannable-area.c
6383 (hildon_pannable_area_button_release_cb): Fix overshooting in
6386 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6388 * src/hildon-pannable-area.c
6389 (hildon_pannable_area_init): Initially show the scroll indicators.
6390 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6392 Add initial effect showing the widget is pannable.
6394 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6396 * src/hildon-pannable-area.c
6397 (hildon_pannable_area_class_init)
6398 (hildon_pannable_area_set_property)
6399 (hildon_pannable_area_get_property)
6400 (hildon_pannable_area_button_press_cb):
6401 New 'velocity_fast_factor' property to decide which velocity is
6404 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6406 * src/hildon-pannable-area.c
6407 (hildon_pannable_draw_hscroll)
6408 (hildon_pannable_draw_vscroll):
6409 Use float variables to calculate the size of the scrollbars to
6410 avoid error propagation and resizing during scrolling.
6412 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6414 * src/hildon-pannable-area.c
6415 (hildon_pannable_draw_vscroll)
6416 (hildon_pannable_draw_hscroll):
6417 Define a minimum size for the scroll bars
6419 * src/hildon-stackable-window.c
6420 (hildon_stackable_window_go_home): Fix compilation warning
6421 (get_last_window): Minor optimizations
6422 (hildon_stackable_window_class_init): Fix initialization of
6425 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6427 * src/hildon-stackable-window.c: Fixed typos in doc
6429 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6431 * src/hildon-pannable-area.c
6432 (hildon_pannable_area_scroll):
6433 Calculate here whether we need to scroll instead of using the booleans
6434 that tell us whether to /draw/ the scrolling bars.
6436 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6438 * src/hildon-app-menu.h
6440 * src/hildon-app-menu.c
6441 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6442 multiple filter groups related code and API. Now we support only
6444 * examples/hildon-app-menu-example.c:
6446 Update to reflect API changes.
6448 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6450 * src/hildon-stackable-window.c
6451 (hildon_stackable_window_class_init):
6452 Add hildon_stackable_window_realize.
6453 (hildon_stackable_window_realize):
6454 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6455 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6456 to apply theming and behavior specific to HildonStackableWindow
6459 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6461 * src/hildon-note.c (hildon_note_button_release):
6462 Close information notes also when tapping on them
6464 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6466 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6467 ELASTICITY, refactor and review, fix some issues with drawing
6470 * src/hildon-pannable-area.c:
6471 (hildon_pannable_area_button_press_cb): removed the conditions to
6472 avoid clicks when overshooting. It is not required
6474 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6475 define. Refatored and reviewed the code, now we do not need to
6476 manage velocity in motion_notify.
6478 (hildon_pannable_area_motion_notify_cb): We have moved the code
6479 that controls the area_scroll to the axis_scroll function and get
6480 rid of duplicated code.
6482 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6484 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6486 (hildon_pannable_draw_vscroll),
6487 (hildon_pannable_draw_hscroll): Fixed the problems with the
6488 scrollbar drawing, now we do not use two surfaces, it is easier
6489 and saves resources.
6491 (hildon_pannable_area_get_property): Style modification.
6493 (hildon_pannable_area_class_init): Changed some default values.
6495 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6497 * src/hildon-stackable-window.c: Fix some typos in the
6500 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6502 * src/hildon-dialog.c:
6503 Change indentation style
6506 (hildon_note_button_release):
6507 Use root coordinates to check if the release event happened
6510 * src/hildon-app-menu.c
6511 (hildon_app_menu_button_release):
6512 Remove unnecessary check
6514 * examples/hildon-app-menu-example.c
6516 Add cast to fix warning
6518 * src/hildon-app-menu.c
6519 (hildon_app_menu_class_init):
6520 New inner-border style property.
6521 Set all default spacings to 16
6522 (hildon_app_menu_init):
6523 Use vertical-spacing to set the space between filter buttons and
6524 regular menu buttons.
6525 Set the default container border using the inner-border value.
6527 * examples/hildon-app-menu-example.c
6529 Don't set the menu border explicitly, now we have the inner-border
6530 style property for that.
6532 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6534 * src/hildon-app-menu.c (hildon_app_menu_init):
6535 Make the window modal
6537 * src/hildon-note.c (hildon_note_map)
6538 * src/hildon-app-menu.c (hildon_app_menu_map):
6539 Destroy the grab window if we're unable to grab the pointer
6541 * src/hildon-app-menu-private.h
6542 * src/hildon-app-menu.c
6543 (hildon_app_menu_init, hildon_app_menu_finalize)
6544 (hildon_app_menu_map, hildon_app_menu_unmap)
6545 (hildon_app_menu_button_release)
6546 (grab_transfer_window_get):
6547 Bring back the grab window
6548 (hildon_app_menu_realize):
6549 Decorate the window, set WM hint for Matchbox
6551 * src/hildon-note.c (hildon_note_realize):
6552 * src/hildon-banner.c (hildon_banner_realize):
6553 Add WM hints for Matchbox
6555 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6557 * src/hildon-app-menu-private.h
6558 * src/hildon-app-menu.c
6559 (hildon_app_menu_init, hildon_app_menu_finalize)
6560 (hildon_app_menu_map, hildon_app_menu_unmap)
6561 (hildon_app_menu_button_release):
6562 Remove the grab window, it's not needed anymore
6564 * src/hildon-program.c
6565 Fixed typo in documentation
6567 * src/hildon-app-menu.h
6568 * src/hildon-app-menu.c
6569 * examples/hildon-app-menu-example.c
6570 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6572 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6575 Added new transfer_window and close_if_pressed_outside private
6577 (hildon_note_rebuild):
6578 Don't add a cancel button to the information note. It will be
6579 closed when tapping outside
6580 Remove the comment about the OK button in the documentation
6581 (hildon_note_realize):
6582 Set the notification type hint
6583 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6584 Grab/ungrab pointer and keyboard if the note has to be closed when
6586 (hildon_note_button_release):
6587 Close the note when tapping outside (if applicable)
6589 * src/hildon-app-menu.c
6590 Grab/ungrab pointer and keyboard on map/unmap
6591 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6592 Close the menu on button release, not button press
6594 * src/hildon-banner.c
6595 (hildon_banner_set_property)
6596 (hildon_banner_check_position):
6597 Make the banner use the full width of the screen
6598 (hildon_banner_show_information)
6599 (hildon_banner_show_information_with_markup):
6600 Don't display an icon by default
6602 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6604 Added fading scrollbars and adapted all the overshooting code to
6605 horizontal scrolling. We have also fixed bugs with overshooting
6606 and current fading implementation.
6608 * src/hildon-pannable-area.c
6609 (hildon_pannable_area_scroll_indicator_fade): Time out function
6610 used to change the transparency of the scrollbars.
6612 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6613 control and fixed a problem with fading, we now remove the fade
6614 timeout before adding a new one.
6616 (hildon_pannable_axis_scroll):
6617 (hildon_pannable_area_scroll):
6618 (hildon_pannable_area_timeout): Added this functions so we can use
6619 the scroll code both for vertical and horizontal.
6621 (hildon_pannable_area_motion_notify_cb):
6622 (hildon_pannable_area_button_release_cb): Added the horizontal
6623 scrolling control, fixed a problem with the overshooting timeout.
6625 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6626 painting of the scrolls.
6628 (hildon_pannable_draw_vscroll):
6629 (hildon_pannable_draw_hscroll):
6630 (hildon_pannable_area_expose_event):
6631 Draw both scrollbars and rectangles in the overshooting area.
6633 (hildon_pannable_area_get_property):
6634 (hildon_pannable_area_set_property):
6635 Modified the overshoot property to overshoot_max
6637 (hildon_pannable_area_map):
6638 Replaced the comments symbols.
6640 (hildon_pannable_area_size_allocate):
6641 (hildon_pannable_area_class_init):
6642 (hildon_pannable_area_init): Added horizontal scroll, fading
6643 effect properties, fixed a problem when overshooting in the bottom
6646 * examples/hildon-pannable-area-example.c:
6647 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6648 looks better in the example.
6650 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6652 * src/hildon-window.c
6653 * src/hildon-window.h
6654 (hildon_window_class_init)
6655 (hildon_window_unset_program)
6656 (hildon_window_unset_program_real):
6657 Make unset_program a virtual function
6659 * src/hildon-stackable-window.c
6660 * src/hildon-stackable-window.h
6661 Added hildon_stackable_window_go_home()
6663 * examples/Makefile.am
6664 * examples/hildon-stackable-window-example.c
6665 HildonStackableWindow example
6667 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6669 * hildon-pannable-area.c: Added the overshoot property and removed
6670 the OVERSHOOT define. Fixed an indent style error.
6671 (hildon_pannable_area_motion_notify_cb):
6672 (hildon_pannable_area_get_property):
6673 (hildon_pannable_area_set_property): Add overshoot property.
6675 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6678 (hildon_pannable_area_class_init): Installed the new property.
6680 * hildon-pannable-area-example.c: Added a sawtooth function, this
6681 way it is easier to check the movement in the pannable.
6682 (get_sawtooth_label): Added this function.
6683 (main): Now we get the labels from the new get_sawtooth_label
6686 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6688 * src/hildon-app-menu.h
6689 * src/hildon-app-menu.c
6690 Renamed API variables for consistency
6692 (hildon_app_menu_popup): Use also the default window size to
6693 decide where to place the menu
6695 (hildon_app_menu_init, hildon_app_menu_class_init): New
6696 external-border style property
6698 2008-05-26 Michael Natterer <mitch@imendio.com>
6700 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6701 widget_class->tap_and_hold_setup signal slot doesn't exist any
6702 longer, stop overriding it.
6704 (hildon_time_editor_init): g_signal_connect() to the
6705 tap-and-hold-setup signal instead.
6707 (hildon_time_editor_entry_keypress): add cast to fix warning.
6709 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6711 * doc/hildon-docs.sgml
6713 * examples/Makefile.am
6714 * examples/hildon-app-menu-example.c
6716 * src/hildon-app-menu-private.h
6717 * src/hildon-app-menu.c
6718 * src/hildon-app-menu.h
6720 New HildonAppMenu widget
6722 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6724 Rearranged the inheritance of the pannable area, now it inherits
6725 from GtkBin. This will allow us to control the event_window and
6726 the allocation process of the widget, required for some effects.
6728 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6729 GtkBin structures. * src/hildon-pannable-area.c: Added the
6730 event_window variable.
6731 (hildon_pannable_area_button_press_cb):
6732 (hildon_pannable_area_button_release_cb):
6733 (hildon_pannable_area_motion_notify_cb):
6734 Changed the signature of the method, now we override the event
6735 callback instead of connecting to the signal.
6737 (hildon_pannable_area_realize):
6738 (hildon_pannable_area_unrealize):
6739 (hildon_pannable_area_map):
6740 (hildon_pannable_area_unmap):
6741 (hildon_pannable_area_size_allocate):
6742 Added functions to control the widget construction. We add a
6743 INPUT_ONLY window and we put it over the widgets inside the
6744 container, this event_window handles the events.
6746 (hildon_pannable_area_class_init):
6747 Replaced the signal connections with overrides of the event
6750 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6752 Bouncing effect added when touching the borders, you can change
6753 the elasticity of the border changing the ELASTICITY define.
6755 * src/hildon-pannable-area.c: Added ELASTICITY define.
6756 (hildon_pannable_area_timeout): Added inverse velocity when
6757 touching the border of the child widget, that causes a bounce.
6759 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6761 Improved performance, we now do not go to the X server in order to
6762 get the list of window children. Apparently the effect is the
6763 same, we have to be careful and check if this breaks something in
6766 * src/hildon-pannable-area.c:
6767 (get_ordered_children): Removed this function.
6768 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6769 the children windows function with gdk_window_get_children.
6771 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6773 * src/hildon-pannable-area.c:
6774 (hildon_pannable_area_dispose): Fixed a crash when closing the
6775 window and kinetics is activated.
6777 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6779 * src/hildon-pannable-area.h
6780 * src/hildon-pannable-area.c
6781 Changed indentation style to meet the one used in Hildon
6783 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6785 Reviewed the interaction of the AUTO mode, now we use the time
6786 attribute of the events and calculate the velocity in the motion,
6787 doing a gimp like calculation. The velocity is calculated in each
6788 motion event using the last velocity and the current one, the
6789 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6791 * src/hildon-pannable-area.c: Replaced the time based algorithm
6793 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6794 timeout for the AUTO mode when we are still moving the cursor. We
6795 added also the velocity calculation in this function.
6796 (hildon_pannable_area_button_release_cb): launch the timeout in
6797 case we are in AUTO mode. There are still some constants here that
6798 come from the old implementation that should be reviewed and
6801 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6803 * doc/hildon-docs.sgml
6806 * src/hildon-stackable-window.c
6807 * src/hildon-stackable-window.h
6809 New HildonStackableWindow widget
6811 * examples/hildon-dialog-example.c
6812 * examples/hildon-pannable-area-example.c
6815 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6817 * src/hildon-dialog.c
6818 (hildon_dialog_new_with_buttons): New constructor.
6820 * examples/hildon-dialog-example.c
6821 (main): Update the example to use the new
6822 hildon_dialog_new_with_buttons().
6824 * examples/hildon-pannable-area-example.c
6825 (main): Update example.
6827 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6829 * doc/hildon-docs.sgml
6831 Added HildonPannableArea to the documentation.
6833 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6835 * doc/visual_index.xml
6836 Fix reference to HildonLoginDialog in documentation
6838 * doc/hildon-docs.sgml
6840 * examples/Makefile.am
6841 * examples/hildon-dialog-example.c
6843 * src/hildon-dialog.c
6844 * src/hildon-dialog.h
6846 New HildonDialog widget.
6848 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6850 * src/hildon-pannable-area.c
6851 Merge latest changes (r4318, r4342) from libmokoui trunk
6853 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6855 * examples/Makefile.am
6856 * examples/hildon-pannable-area-example.c
6858 * src/hildon-pannable-area.c
6859 * src/hildon-pannable-area.h
6861 New HildonPannableArea widget.
6863 2008-04-15 18:05:19 <timj@imendio.com>
6865 * src/hildon-banner.c: revert the recent change, that introduced
6866 gtk_window_present() calls. this reopens:
6867 Bug 78481 - [freetest] information banners are hidden under browser menu
6868 But resolves another variant of:
6869 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6871 2008-04-15 13:21:13 <timj@imendio.com>
6873 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6874 recreated its layout, spotted by Kris. this fixes all remaining
6875 artefacts and stability issues with the banner code. in particular:
6876 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6878 2008-04-14 16:52:59 <timj@imendio.com>
6880 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6881 operating on unrealized widgets, fixes:
6882 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6884 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6886 2008-04-09 Kristian Rietveld <kris@imendio.com>
6888 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6889 makes banner disappear.
6890 Fixes: NB#79182: info banner flickering with certain message lengts.
6892 * src/hildon-banner.c (hildon_banner_constructor),
6893 (hildon_banner_init), (hildon_banner_set_text),
6894 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6895 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6896 FALSE, reset size requests of label and banner,
6897 (force_to_wrap_truncated): when the text is too wide, always enforce
6898 the maximum possible width instead of recalculating it from the
6899 layout; enforce the maximum banner height of 3 lines,
6900 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6901 nicer wrapping and no truncated chars if space gets tight.
6903 * src/hildon-banner-private.h: add has_been_wrapped and
6904 has_been_truncated fields.
6906 2008-04-07 Sven Herzberg <sven@imendio.com>
6908 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6909 local values in hildon_date_editor_size_allocate
6911 * src/hildon-date-editor.c: moved the real allocation code into the
6914 2008-04-07 Sven Herzberg <sven@imendio.com>
6916 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6917 local values in hildon_date_editor_size_allocate
6919 * src/hildon-date-editor.c: merged the two if() branches together
6921 2008-04-07 Sven Herzberg <sven@imendio.com>
6923 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6924 local values in hildon_date_editor_size_allocate
6926 * src/hildon-date-editor.c: changed the arguments of the if()
6929 2008-04-07 Sven Herzberg <sven@imendio.com>
6931 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6932 local values in hildon_date_editor_size_allocate
6934 * src/hildon-date-editor.c: split the calculation of the allocation
6935 from the real allocation
6937 2008-03-27 Michael Natterer <mitch@imendio.com>
6939 Fixes: NB#81696: The passcode is not overwritten even after
6942 * src/hildon-code-dialog.c
6943 (hildon_code_dialog_button_clicked)
6944 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6945 because that doesn't overwrite selected text. Instead, emit the
6946 "commit" signal on the entry's im_context so the entry's normal
6947 insert logic is triggered. Set the cursor to the end of the entry
6948 after each insert operation so that we *only* insert in the middle
6949 of the text if something was selected.
6951 2008-03-27 Michael Natterer <mitch@imendio.com>
6953 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6954 selector cannot be opened
6956 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6957 when the popup color selector is created. Please connect to this
6958 signal in order to set the dialog's help ID.
6960 2008-03-25 Sven Herzberg <sven@imendio.com>
6962 Fixes: MB#1212: Hide info banners (infoprints) on click
6964 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6965 extracted the close event simulation into an extra function
6966 (hildon_banner_button_press_event): simulate a close event and destroy
6967 the widget if the event wasn't handled
6968 (hildon_banner_class_init): added the button_press_event handler
6969 (hildon_banner_init): added button-press events to the widget
6971 2008-03-25 Sven Herzberg <sven@imendio.com>
6973 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6974 Patch from: Mohammad Anwari <mdamt@maemo.org>
6976 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6977 instead of the right in RTL mode
6978 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6979 breadcrumb button list in RTL mode
6980 * src/hildon-caption.c: mirror the appearance of the caption widget in
6982 * src/hildon-date-editor.c: mirror appearance of the date editor in
6984 * src/hildon-time-editor.c: mirror appearance of the time editor in
6986 * src/hildon-window.c: fix the position of the popup in RTL mode
6988 2008-03-25 Sven Herzberg <sven@imendio.com>
6990 Amendment to the fix of NB#22072. Fix compilation.
6992 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6994 2008-03-19 Sven Herzberg <sven@imendio.com>
6996 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6999 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7000 timeout id properly when the timeout will disappear this leaves no
7001 artifacts around in the destroy(); there will only be the timeout
7002 created by hildon_banner_ensure_timeout() and adding a new timeout
7003 will also work if the timeout gets removed because the timeout_handler
7006 2008-03-19 Michael Natterer <mitch@imendio.com>
7008 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7010 * src/hildon-volumebar.c
7011 * src/hildon-vvolumebar.c
7012 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7013 the widget becomes focussable at all.
7015 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7016 set the focus to wither the mute button or the volumebar.
7018 Remove own "can-focus" property and instead listen to
7019 notify::can-focus in order to update the widget's state.
7021 Implement GtkWidget::focus() and make sure we can also *leave* the
7022 widget, not only enter it, depending on volumebar orientation and
7023 requested focus direction.
7025 Clean up set_mute() to cooperate nicely with all the above.
7027 2008-03-04 Michael Natterer <mitch@imendio.com>
7029 Fixes: NB#78481: information banners are hidden under browser menu
7031 * src/hildon-banner.c: call gtk_window_present() on the banners so
7032 they are risen if they are already visible.
7034 2008-03-03 Sven Herzberg <sven@imendio.com>
7036 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7038 * examples/hildon-window-menu-example.c: (main): extended the window
7039 menu example to serve as a testcase for automatically added
7040 accelerator groups, too
7041 * src/hildon-window.c: (hildon_window_add_accel_group),
7042 (hildon_window_set_menu): added patch by Tommi Komulainen
7044 2008-03-03 Sven Herzberg <sven@imendio.com>
7046 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7048 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7049 knowledge about the border allocators used within GTK+
7051 2008-02-26 Sven Herzberg <sven@imendio.com>
7053 Fixes: MB#2981: Build with asserts broken
7055 * src/hildon-date-editor.c,
7056 * src/hildon-number-editor.c,
7057 * src/hildon-time-editor.c,
7058 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7059 the proper GType instance check
7061 2008-02-25 Sven Herzberg <sven@imendio.com>
7063 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7065 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7066 * examples/hildon-window-menu-example.c: (main): explicitly show
7068 * src/hildon-window.c:
7069 (hildon_window_set_main_menu): moved most of the code from set_menu()
7070 to this place; skipped the call to gtk_widget_show_all(); also didn't
7071 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7072 (hildon_window_set_menu): removed most of the code, just keep the
7073 questionable gtk_widget_show_all()
7074 * src/hildon-window.h: added the new function and deprecate the old
7077 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7083 * debian/changelog: Updating.
7085 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7088 * pkgconfig/Makefile.am:
7089 * pkgconfig/hildon.pc.in:
7092 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7093 use newly created API_MAJOR_VERSION.
7095 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7101 * debian/changelog: Updating.
7103 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7105 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7107 Add outer_border style property, we use it but don't define it (!).
7111 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7113 * examples/hildon-bread-crumb-trail-example.c (main):
7117 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7119 Fix logic for the bread crumb trail node removal.
7123 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7129 * debian/changelog: Updating.
7131 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7133 Patch by Alejandro to get/set passwords dialogs accesibility.
7135 * hildon-1/src/hildon-get-password-dialog.c:
7136 * hildon-1/src/hildon-set-password-dialog.c:
7137 Set atk_set_name to the passwd entries in order to allow
7138 accessibility by name on this entries.
7140 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7145 * debian/control: Updating gtk dep.
7147 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7149 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7150 USE_MAEMO_GTK is enabled.
7152 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7154 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7155 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7157 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7163 * debian/changelog: Updating.
7165 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7167 * examples/Makefile.am:
7168 * examples/hildon-logical-color-example.c:
7169 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7170 applied + adding a test case. Fixes: NB#71660.
7172 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7174 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7175 to be visible, fixes warning on map for windows without toolbars.
7177 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7179 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7180 2.11.0, add a check for that besides the MAEMO_GTK check.
7182 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7188 * debian/changelog: Updating.
7190 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7192 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7193 visibility. Fixes: NB#70842 and MB#615.
7195 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7197 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7198 set the separator as no-show-all so it doesn't unintentionally appear when
7199 someone does a show_all.
7201 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7203 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7204 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7205 toplevel item. Fixes: NB#62031
7207 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7209 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7210 fix the name of the function in the docs.
7212 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7218 * debian/changelog: Updating.
7220 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7222 * examples/hildon-banner-long-example.c: Adding a test-case for long
7225 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7227 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7229 * src/hildon-color-chooser-dialog.c:
7230 * src/hildon-color-chooser.c:
7231 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7232 memory leaks in font selector and color selector. Fixes: NB#70499 and
7235 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7237 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7239 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7241 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7242 little bit bigger. Fixes: #NB63694.
7244 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7250 * debian/changelog: Updating.
7252 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7255 * doc/hildon-docs.sgml:
7256 * doc/images/bread-crumb-trail.png:
7257 * doc/images/calendar-popup.png:
7258 * doc/images/caption.png:
7259 * doc/images/code-dialog.png:
7260 * doc/images/color-button.png:
7261 * doc/images/color-chooser-dialog.png:
7262 * doc/images/color-chooser.png:
7263 * doc/images/controlbar.png:
7264 * doc/images/date-editor.png:
7265 * doc/images/font-selection-dialog.png:
7266 * doc/images/get-password-dialog.png:
7267 * doc/images/hvolumebar.png:
7268 * doc/images/login-dialog.png:
7269 * doc/images/note.png:
7270 * doc/images/number-editor.png:
7271 * doc/images/range-editor.png:
7272 * doc/images/seekbar.png:
7273 * doc/images/set-password-dialog.png:
7274 * doc/images/sort-dialog.png:
7275 * doc/images/time-editor.png:
7276 * doc/images/time-picker.png:
7277 * doc/images/vvolumebar.png:
7278 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7279 Adding the bread-crumb-trial and helpers to the documentation.
7281 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7283 * examples/hildon-find-toolbar-example.c:
7284 * src/hildon-find-toolbar.c:
7285 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7286 actually continue firing the other handlers if connected. Adding a new
7288 hildon_find_toolbar_get_last_index that gets the index of the most
7289 recently added (last) item. Fixes: NB#52301.
7291 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7293 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7294 behaviour. Fixes: NB#68610.
7296 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7298 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7301 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7303 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7304 when realizing the banner. Should make the infonbanner effect a bit more
7307 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7309 * src/hildon-volumebar.c:
7310 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7311 hildon_volumebar_set_range_insensitive_message and
7312 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7314 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7316 * src/hildon-window.c: Fixing the border freeing on destroy.
7318 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7320 * src/hildon-code-dialog-private.h:
7321 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7322 kw keyboard support in HildonCodeDialog.
7324 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7330 * debian/changelog: Updating.
7332 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7334 * src/hildon-date-editor.c:
7335 * src/hildon-number-editor.c:
7336 * src/hildon-private.c:
7337 * src/hildon-private.h:
7338 * src/hildon-time-editor.c:
7339 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7340 handling in subclassed composite widgets. Fixes: NB#66628.
7342 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7344 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7345 from destroy_ callback as it introduces problems in async dbus signal
7346 handlers. Fixes NB#66673.
7348 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7350 * examples/hildon-hvolumebar-example.c:
7351 * src/hildon-volumebar.c: Improving the focus handling in the
7352 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7353 set_property accessor so that "mute" property can be actually set. I'm
7354 scared that nobody noticed it's totally broken.
7356 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7358 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7361 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7363 * src/hildon-calendar.c:
7364 * src/hildon-number-editor.c:
7365 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7366 matches the spec of 6 chars per second. Fixes: NB#60489.
7368 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7370 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7371 gtk_style_lookup_color sometime returns FALSE even though color was
7372 found and values were filled properly. Weird. Removing the warning for the
7375 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7377 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7378 expand vertically. Adding some extra space to the find toolbar buttons to
7379 make them thumbable. Fixes NB#66060.
7381 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7383 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7384 popup with "Ok" and "Cancel". Fixes NB#59299.
7386 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7388 * src/hildon-calendar.c: Process all window updates before executing next
7389 timeout. Fixes: NB#54146.
7391 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7397 * debian/changelog: Updating.
7399 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7401 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7402 the client event and ignore it, since we use the delete event to close
7405 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7407 * src/hildon-helper.c: Remove the bogus warning about color not being
7408 found. Fixes NB#58352.
7410 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7412 * examples/Makefile.am:
7413 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7414 HildonSeekbar widget inside a toolbar.
7416 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7418 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7419 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7420 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7421 don't want to be closed by non-temporary windows on map.
7423 Also use G_DEFINE_TYPE instead of manually typed code.
7425 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7432 * debian/rules: Updating.
7434 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7436 * examples/Makefile.am:
7437 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7438 bug NB#61128. Strangely it works.
7440 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7442 * src/hildon-date-editor.c: When the date editor entry has been changed
7443 but the numbers of characters < max, turn off the skip validation flag.
7444 Prevents a situation when we enter first a valid year and later re-write
7445 it with an invalid one. Fixes NB#60154.
7447 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7449 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7450 code dialog. Fixes NB#64355.
7452 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7454 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7455 switching the page. Fixes NB#49374.
7457 * examples/Makefile.am:
7458 * examples/hildon-wizard-dialog-example.c: Adding an example for
7459 HildonWizardDialog that shows how to handle manual sensitivity setting on
7462 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7466 * src/hildon-version.h.in:
7467 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7469 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7471 * src/hildon-volumebar.c: Updating the docs.
7473 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7479 * debian/changelog: Updating.
7481 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7483 * src/hildon-find-toolbar.c:
7484 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7485 selected item: hildon_find_toolbar_set_active,
7486 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7487 hildon_find_toolbar_get_active_iter . They correspond to respective
7488 GtkComboBox functions.
7490 * examples/Makefile.am:
7491 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7494 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7496 * examples/Makefile.am:
7497 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7500 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7501 when font size > 32 and we pack a focusable widget inside. Actually using
7502 the default response would work too, but since we don't show default
7503 response state in any way (no theming) it would not be visible to the
7504 user. Fixes NB#63430.
7506 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7508 * src/hildon-date-editor.c: Adding the missing variable setter in the
7509 set_property handler. Fixes NB#54182.
7511 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7513 * src/hildon-window.h: Changing the long key press time from 1500ms to
7514 800ms as requested in NB#63700. I have a bad feeling about this, let's
7515 see... Fixes NB#63700.
7517 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7519 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7520 hildon_time_picker_map, hildon_time_picker_realize,
7521 hildon_time_picker_style_set): Split the contents of map to more
7522 appropriate functions; set window decorations on realize and update
7523 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7525 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7530 * debian/changelog: Updating.
7532 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7534 * src/Makefile.am: fixed installation of the header files
7536 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7542 * debian/changelog: Updating.
7544 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7546 * configure.ac: Removing some remaining of --enable-xan.
7548 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7550 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7551 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7553 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7554 2.10.12-osso6 because the move-focus signal needs to be available in
7557 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7559 * examples/Makefile.am:
7560 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7561 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7562 fine. Prolly NB#61128 is fixed now.
7564 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7566 * src/hildon-volumebar.c:
7567 * src/hildon-volumebar.h: Adding the
7568 hildon_volumebar_set_range_insensitive_message and
7569 hildon_volumebar_set_range_insensitive_messagef functions to set
7570 insensitive message on the slider of the volumebar. Fixes NB#61129.
7572 * examples/Makefile.am:
7573 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7574 test the new insensitive messsage functionality on HildonVolumebar.
7576 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7578 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7581 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7583 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7584 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7585 button on after clearing the trail.
7587 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7589 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7591 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7593 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7594 by splitting the installed headers in generated and non-generated groups. Use
7595 only the non-generated headers to create the hildon-enum-types.h file.
7597 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7599 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7601 * src/hildon-window.c: Hide the window before performing the destroy.
7602 Should make the app closing a little tiny bit more snappy.
7604 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7606 * src/hildon-seekbar.c: add gtkrange.h header
7607 * src/hildon-caption.c: remove unused variable
7609 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7611 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7614 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7620 * debian/changelog: Updating.
7622 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7624 * src/hildon-window.c (hildon_window_window_state_event,
7625 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7626 escape timeout on focus-out-event rather than notify::is-topmost; the
7627 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7629 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7631 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7632 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7634 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7636 * src/hildon-window: actually, you need to use the macro always, there's
7637 no private pointer in the instance structure. We should have cleaned this up
7638 when we had the chance...
7640 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7642 * src/hildon-window.c: do not get the private date from HildonWindow before
7643 it passes the g_return_if_fail check. Once it's passed the test, there's no
7644 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7645 if you are only going to access the data once. Whitespace cleanups.
7647 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7649 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7650 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7652 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7658 * debian/changelog: Updating.
7660 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7662 * src/hildon-window.c: When destroying the window, remove (if exists) the
7663 escape timeout handler. Fixes #NB59276.
7665 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7667 * src/hildon-banner.c: When realizing the widget, set the window
7668 transiency. Setting the transiency in the gobject constructor is not
7669 good, as the widget is not realized at that point. Fixes: #NB56624.
7671 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7673 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7674 Add padding for future expansions.
7676 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7678 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7679 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7680 will fake an activation on the previous to the last item of the trail, so
7681 the effect can be overrided by the developer as usual.
7682 Also change the callback for the back button to do the same thing, so its
7683 effect can be overrided too. Fixes: NB#58982
7685 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7687 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7688 HildonCaption. Fixes NB#52379.
7690 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7692 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7693 the internal state of the trail after the user has had the chance of executing
7694 his handler for the signal. Specifically, it may happen that the activated button
7695 is removed and the user still lets the default handler run. This would segfault
7698 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7700 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7701 scrollbar to the preview dialog. Fixes NB#54147.
7703 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7705 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7706 max/min year properties can be altered, so the client can modify it
7707 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7709 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7711 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7712 hildonlike by default. Fixing a problem with disappearing arrows when
7713 scrolling through months and years. Fixes NB#54127.
7715 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7717 * examples/hildon-date-editor-example.c: Adding error callback to the date
7720 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7726 * configure.ac: Updating.
7728 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7730 * configure.ac: Adding a special '--enable-xan' configure option that
7731 turns off the -Werror compilation setting. Usefull for development.
7733 * src/hildon-calendar.c:
7734 * src/hildon-number-editor.c:
7735 * src/hildon-time-picker.c: Adding the 5* multiplier to
7738 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7740 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7741 instead of g_object_ref + gtk_object_sink.
7743 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7749 * debian/changelog: Updating.
7751 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7753 * src/hildon-color-chooser-dialog.c:
7754 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7755 straight from Tommi labs.
7757 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7759 * examples/hildon-finger-example.c: Correcting the header file path.
7761 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7762 the changed signal. Fixes a small memory leak.
7764 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7768 * src/hildon-banner.c: Importing several usefull fixes from the
7769 ubuntu-mobile branch.
7771 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7773 * examples/Makefile.am:
7774 * examples/hildon-finger-example.c: Adding a finger-checking code
7777 * src/hildon-font-selection-dialog.c: Do not allocate the color
7778 structure using the g_new. Fixes NB#54061.
7780 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7782 * src/hildon-helper.c: Correcting tabs in file.
7784 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7786 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7787 control the visibility of the children.
7789 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7791 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7797 * debian/changelog: Updating.
7799 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7801 * src/hildon-bread-crumb-trail.c:
7802 (hildon_bread_crumb_trail_size_allocate):
7804 Make the back button always a square.
7806 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7808 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7809 from the .c file as it's a private file.
7811 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7813 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7814 uses slightly bigger height.
7816 * src/hildon-font-selection-dialog.c: Adding some checks before
7817 freeing memory in the font selection dialog.
7819 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7821 * src/hildon-font-selection-dialog.c: Adding a small check when
7824 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7825 buttons sensitivity on page switching.
7827 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7829 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7830 internal details of adding a bread crumb to the trail.
7832 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7838 * debian/changelog: Updating.
7840 * src/hildon-bread-crumb-trail.h:
7841 * src/hildon-bread-crumb.h: Changing the API guard to
7842 HILDON_ENABLE_UNSTABLE_API.
7844 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7852 * src/hildon-helper.h: Updating.
7854 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7862 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7866 * src/hildon-helper.h: Small fix to make the package actually compile.
7868 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7870 * src/hildon-bread-crumb-trail.h:
7871 * src/hildon-bread-crumb.h:
7873 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7874 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7876 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7878 * examples/hildon-bread-crumb-trail-example.c:
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:
7884 * src/hildon-marshalers.list:
7885 * src/hildon-bread-crumb-widget.c:
7886 * src/hildon-bread-crumb-widget.h:
7888 Slight change in the widget design. The bread crumb trail API is
7889 unchanged, but HildonBreadCrumb is now an interface. A *private*
7890 implementation, hildon-bread-crumb-widget, is provided and used
7891 internally by the trail for the push_text/push_icon functions.
7893 The generic push API is still available, so anyone can implement
7894 and use its own bread crumb widget.
7896 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7898 * debian/rules: Fixing the shlibs.
7900 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7902 * src/hildon-banner.c: Fixing a problem with timed banners having
7903 their parrent destroyed before they are.
7905 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7907 * src/hildon-bread-crumb.c:
7908 * src/hildon-bread-crumb.h:
7910 Make the get_natural_size function a vfunc.
7912 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7914 * src/hildon-bread-crumb.c:
7915 * src/hildon-bread-crumb-trail.c:
7919 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7926 * debian/changelog: Updating for release.
7928 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7930 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7931 don't leak the pango layout.
7933 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7936 * examples/hildon-bread-crumb-trail-example.c:
7940 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7942 * debian/changelog: Removing the bug-fixed entries that were actually
7943 resolved as WONTFIX.
7945 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7948 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7950 * src/hildon-bread-crumb-trail.c:
7951 * src/hildon-bread-crumb-trail.h:
7952 * src/hildon-bread-crumb.c:
7953 * src/hildon-bread-crumb.h:
7957 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7959 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7960 until it's passed the type check.
7962 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7964 * examples/hildon-bread-crumb-trail-example.c
7968 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7970 * examples/Makefile.am
7971 * examples/hildon-bread-crumb-trail-example.c
7973 * src/hildon-bread-crumb-trail.c
7974 * src/hildon-bread-crumb-trail.h
7975 * src/hildon-bread-crumb.c
7976 * src/hildon-bread-crumb.h
7978 New HildonBreadCrumbTrail widget.
7980 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7982 * src/hildon-range-editor.c (hildon_range_editor_init),
7983 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7984 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7985 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7986 hildon_time_editor_class_init, hildon_time_editor_init),
7987 src/hildon-get-password-dialog.c (invalid_input,
7988 hildon_get_password_set_property, hildon_get_password_get_property,
7989 create_contents, hildon_get_password_dialog_set_max_characters),
7990 src/hildon-set-password-dialog.c (create_contents),
7991 src/hildon-date-editor.c (hildon_date_editor_init),
7992 src/hildon-login-dialog.c (hildon_login_dialog_init),
7993 src/hildon-number-editor.c (hildon_number_editor_init),
7994 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7995 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7996 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7997 configure option and adding the respective checks in the code.
7998 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7999 hildon_calendar_drag_data_received): fixed some build warnings.
8001 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8003 * debian/changelog: A 1.0.0 release notes.