1 2009-05-05 Alberto Garcia <agarcia@igalia.com>
3 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
5 * hildon/hildon-banner.c (hildon_banner_destroy)
6 (hildon_banner_show_progress, hildon_banner_set_fraction):
7 Remove the progress bar from HildonBanner and use a progress
10 Fixes: NB#113761 (Update progress banner to use progress
13 2009-05-04 Alberto Garcia <agarcia@igalia.com>
15 * hildon/hildon-banner.c:
16 Calculate size of the banner label using the actual screen width
17 rather than using a fixed value.
19 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
22 2009-05-04 Alejandro G. Castro <alex@igalia.com>
24 * hildon/hildon-pannable-area.c,
25 (hildon_pannable_area_class_init): Fixed signals documentation
28 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
30 * configure.ac: post release version bump
31 * debian/changelog: post release version bump
33 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
38 * configure.ac: Bump version.
39 * debian/changelog: Updates.
41 2009-05-01 Alberto Garcia <agarcia@igalia.com>
43 * hildon/hildon-edit-toolbar.c
44 (hildon_edit_toolbar_init):
45 Don't let buttons in HildonEditToolbar receive focus.
47 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
48 typing on an HW arrows key)
50 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
52 * doc/Makefile.am: Fix build.
54 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
56 * doc/Makefile.am: Do not redefine content_files.
58 2009-04-30 Alberto Garcia <agarcia@igalia.com>
66 Renamed src/ to hildon/
71 Include <hildon/hildon.h> directly in all examples.
73 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
75 * src/hildon-sort-dialog.c
76 (hildon_sort_dialog_add_sort_key_with_sorting)
80 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
82 * src/Makefile.am: Move generated sources to CLEANFILES, so that
83 make distcheck passes.
85 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
87 * Makefile.am: Enable gtk-doc during distcheck.
89 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
91 * Makefile.am: Do not distribute the debian/ directory.
93 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
95 * doc/Makefile.am: Add the extra SGML files to content_files,
96 so that they are distributed properly.
98 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
100 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
103 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
105 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
106 (hildon_note_new_information_with_icon_name): Set the "icon" property
107 to preserve soundness.
109 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
111 * src/hildon-font-selection-dialog.c
112 (hildon_font_selection_dialog_set_property): Fail when the "family"
113 property is set to NULL.
115 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
117 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
120 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
122 * src/hildon-time-selector.h:
123 Added HildonTimeSelectorFormatPolicy
124 * src/hildon-time-selector.c:
125 Added PROP_TIME_FORMAT_POLICY
126 (_check_ampm_format): renamed to check_automatic_ampm_format
127 (update_format_policy), (update_format_dependant_columns): new functions
128 (hildon_time_selector_class_init)
129 (hildon_time_selector_contructor)
130 (hildon_time_selector_init)
131 (hildon_time_selector_get_property)
132 (hildon_time_selector_set_property)
133 (hildon_time_selector_get_time)
134 (hildon_time_selector_set_time)
135 * src/hildon-touch-selector.h: new file
136 * src/hildon-touch-selector.c
137 (hildon_touch_selector_emit_changed)
138 (hildon_touch_selector_block_changed)
139 (hildon_touch_selector_unblock_changed)
140 Added functions to allow to block the emission of the "changed" signal
141 * src/hildon-picker-dialog.c
142 (hildon_picker_dialog_show): call the parent show before the custom code
143 * examples/hildon-time-button-example.c
144 Modified, so now you can configure the time format using the new property
146 Added a new property "time-format-policy" that allow to choose the time
147 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
148 case it uses gconf in order to check if the time selector must use
151 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
154 2009-04-28 Alberto Garcia <agarcia@igalia.com>
156 * src/hildon-note.c (hildon_note_init):
157 Label in HildonNote must be left aligned, not centered. This
158 reverts the last commit in HildonNote.
160 Fixes: NB#112933 (text is not left aligned in confirmation dialog
161 is connectivity dialog)
163 2009-04-27 Alberto Garcia <agarcia@igalia.com>
168 * doc/hildon-sections.txt:
169 Added hildon_gtk_window_set_do_not_disturb()
171 2009-04-27 Alberto Garcia <agarcia@igalia.com>
173 * src/hildon-note.c (hildon_note_init): Center label.
175 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
178 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
183 * configure.ac: Bump version.
184 * debian/changelog: Updates.
186 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
188 * src/hildon-note-private.h: Add button-width to the private data.
189 * src/hildon-note.c (+resize_button),
190 (+hildon_note_orientation_update): methods to repack widgets on orientation
192 (screen_size_changed): Call above method for confirmation notes.
193 (hildon_note_realize): Always connect to the "screen-size" changed signal.
194 (hildon_note_rebuild): Store the original width request from buttons.
196 Fixes: NB#109635 (Confirmation notes do not support portrait)
198 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
200 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
201 when it is a progress note.
203 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
205 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
206 in the note, since there are no horizontally arranged contents.
208 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
210 * src/hildon-gtk.c (+set_flag): new generic method to
211 set/delay a flag setting in a window.
212 (hildon_gtk_window_set_progress_indicator):
213 (hildon_gtk_window_set_do_not_disturb),
214 (hildon_gtk_window_set_portrait_flags): use set_flag() to
215 avoid code redundance.
217 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
219 Based on a patch by Alberto Garcia (agarcia@igalia.com)
221 * src/hildon-gtk.c (set_clear_window_flag),
222 (do_set_progress_indicator), (do_set_do_not_disturb),
223 (do_set_portrait_flags),
224 (hildon_gtk_window_set_progress_indicator),
225 (hildon_gtk_window_set_do_not_disturb),
226 (hildon_gtk_window_set_portrait_flags):
227 Allow setting dnd-flag, progress indicator, and portrait flags
228 when the window is not realized.
230 2009-04-24 Alejandro G. Castro <alex@igalia.com>
232 * src/hildon-pannable-area.c,
233 * src/hildon-pannable-area.h: Add the hildon deprecated define to
234 the size request policy function and defines.
236 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
238 * doc/hildon-sections.txt: Add the new API.
239 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
240 method to set the portrait flags.
241 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
243 Fixes: NB#112328 (Adding helpers for setting portrait properties)
245 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
247 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
248 to allow using this method with other flags.
249 (hildon_gtk_window_set_progress_indicator): Update accordingly.
250 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
252 2009-04-22 Alberto Garcia <agarcia@igalia.com>
254 * src/hildon-touch-selector.c
255 (hildon_touch_selector_append_text_column):
256 Make the cell renderer use the smallest width possible.
258 Fixes: NB#108470 (Selected items in multiple selection are either
259 having a tick that is cut or not visible at all.)
261 2009-04-22 Alberto Garcia <agarcia@igalia.com>
263 * src/hildon-touch-selector.c
264 (hildon_touch_selector_append_text_column):
267 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
269 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
270 Use g_strdup_printf() instead of a fixed size buffer.
272 2009-04-21 Alberto Garcia <agarcia@igalia.com>
274 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
275 Close banners when a HildonAppMenu is popped up.
277 Fixes: NB#111027 (Title menu closed immediately if activated when
278 "Invalid e-mail address" banner is shown)
280 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
285 * configure.ac: Bump version.
286 * debian/changelog: Updates.
288 2009-04-20 Alberto Garcia <agarcia@igalia.com>
290 * src/hildon-banner.c (hildon_banner_realize):
291 Mark HildonBanner as supporting portrait mode.
292 Use GDK to set window properties insetad of direct Xlib calls.
294 Fixes: NB#111830 (HildonBanner should be marked as supporting
297 2009-04-20 Alberto Garcia <agarcia@igalia.com>
299 * src/hildon-note.c (hildon_note_rebuild):
300 Hide action area in information notes. Prevents text from being
301 slightly aligned to the left.
303 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
306 2009-04-20 Alberto Garcia <agarcia@igalia.com>
308 Patch by Mox Soini (ext-mox.soini@nokia.com)
310 * src/hildon-banner.c (hildon_banner_create_animation):
311 Use stylus-sized icons in animation banner.
313 Fixes: NB#111206 (stylus sized icon for animation banner)
315 2009-04-20 Alberto Garcia <agarcia@igalia.com>
319 (+hildon_gtk_window_set_do_not_disturb):
320 New API to set the do-not-disturb flag.
322 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
324 2009-04-20 Alberto Garcia <agarcia@igalia.com>
326 * examples/hildon-progress-indicator-example.c: Fix example
328 * src/hildon-gtk.c (set_clear_window_flag)
329 (hildon_gtk_window_set_progress_indicator):
330 Create a generic function for setting flags to a window.
331 Use GDK instead of direct Xlib calls.
333 2009-04-14 Alberto Garcia <agarcia@igalia.com>
335 * src/hildon-button.c (hildon_button_set_arrangement):
336 Due to NB#88126, if one of the labels is too long it will be
337 painted outside the button. The 'value' label is more likely to be
338 the longest one, so we change its packing options in order to
339 truncate it if necessary. As a side effect, the 'title' label will
340 no longer be truncated.
342 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
344 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
349 * configure.ac: Bump version.
350 * debian/changelog: Updates.
352 2009-04-13 Alejandro G. Castro <alex@igalia.com>
354 Deprecation of the hildon_pannable_area_set_size_request_policy
355 API, the only policy properly supported in gtk+ nowadays is the
358 * src/hildon-pannable-area.c,
359 (hildon_pannable_area_size_request): Added a workaround for the
360 size_request to avoid the problems of huge pixmaps in case someone
361 is still using the function.
362 * src/hildon-pannable-area.h: Deprecated the enum with the
365 Fixes: NB#110244 (Problems with the
366 hildon_pannable_area_set_size_request_policy API)
368 2009-04-08 Alejandro G. Castro <alex@igalia.com>
370 * src/hildon-pannable-area.c,
371 (hildon_pannable_area_init),
372 (hildon_pannable_area_size_request),
373 (hildon_pannable_area_style_set),
374 (hildon_pannable_draw_vscroll),
375 (hildon_pannable_draw_hscroll),
376 (hildon_pannable_area_check_scrollbars): Replaced area_width with
377 indicator_width to clarify the use of the attribute.
379 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
384 * configure.ac: Bump version.
385 * debian/changelog: Updates.
387 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
389 * src/hildon-picker-dialog.c
390 * src/hildon-touch-selector.c
391 Reverting the change that tried to avoid the hardcoded height on
392 the picker dialog, as causes problems on the hildon-touch-selector
395 Fixes: NB#110029 (selectors not scrolling to selected value)
397 2009-04-07 Alberto Garcia <agarcia@igalia.com>
399 * src/hildon-touch-selector.c: Fix typos
401 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
403 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
404 Use the event coordinates instead of gdk_window_get_pointer(). Also,
405 request more motions after using it.
407 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
409 * src/hildon-calendar.c (hildon_calendar_expose),
410 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
411 Remove unused variables.
413 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
415 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
418 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
420 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
421 Check the return value of gtk_tree_selection_get_selected()
424 2009-04-06 Alberto Garcia <agarcia@igalia.com>
426 * src/hildon-animation-actor.c
427 * src/hildon-button.c
429 * src/hildon-pannable-area.c
430 * src/hildon-picker-button.c
431 * src/hildon-program.c
432 * src/hildon-remote-texture.c
433 * src/hildon-text-view.c
434 * src/hildon-touch-selector.c
435 * src/hildon-window-stack.c
436 * src/hildon-window.c:
437 Add missing 'Since: 2.2' tags.
439 * doc/hildon-sections.txt:
440 Add some missing symbols.
442 * doc/hildon-docs.sgml:
443 New 'Other' section for HildonAnimationActor and
446 2009-04-06 Alberto Garcia <agarcia@igalia.com>
448 Patch by Iván Gómez (igomez@igalia.com)
452 * doc/hildon-docs.sgml
453 * doc/hildon-sections.txt
457 New chapters on using the Hildon library.
458 Updated the general structure of the reference manual.
459 Other minor documentation fixes.
461 * src/hildon-calendar-popup.c
462 * src/hildon-calendar.c
463 * src/hildon-controlbar.c
464 * src/hildon-date-editor.c
465 * src/hildon-dialog.c
466 * src/hildon-hvolumebar.c
467 * src/hildon-number-editor.c
468 * src/hildon-range-editor.c
469 * src/hildon-sort-dialog.c
470 * src/hildon-time-editor.c
471 * src/hildon-time-picker.c
472 * src/hildon-volumebar-range.c
473 * src/hildon-volumebar.c
474 * src/hildon-vvolumebar.c
475 * src/hildon-weekday-picker.c:
476 Add deprecation notes
478 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
479 Document 'horizontal-movement' and 'vertical-movement' signals.
481 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
486 * configure.ac: Bump version.
487 * debian/changelog: Updates.
489 2009-04-06 Alejandro G. Castro <alex@igalia.com>
491 * src/hildon-pannable-area.c,
492 (hildon_pannable_area_class_init): increased the minimum velocity.
493 (hildon_pannable_area_button_release_cb): Updated the
494 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
495 setup. Review the code to control that last event.
497 Fixes: NB#109790 (Releasing finger in pannable area easily causes
500 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
502 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
504 * src/hildon-get-password-dialog.c
505 (hildon_get_password_set_property),
506 (hildon_get_password_get_property), (create_contents):
507 * src/hildon-login-dialog-private.h:
508 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
509 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
510 (hildon_login_dialog_get_password):
511 * src/hildon-set-password-dialog-private.h:
512 * src/hildon-set-password-dialog.c
513 (hildon_set_password_set_property),
514 (hildon_set_password_get_property), (create_contents),
515 (hildon_set_password_response_change),
516 (hildon_set_password_response_set), (hildon_checkbox_toggled):
518 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
519 instead and look more Fremantle style.
521 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
523 2009-04-03 Alberto Garcia <agarcia@igalia.com>
525 * doc/hildon-sections.txt
526 * src/hildon-window-stack.h
527 * src/hildon-window-stack.c
528 (+hildon_window_stack_get_windows):
529 New API to obtain the list of windows on a stack.
531 2009-04-02 Alberto Garcia <agarcia@igalia.com>
533 * src/hildon-app-menu.c (hildon_app_menu_popup)
534 (hildon_app_menu_class_init, -hildon_app_menu_show):
535 Remove hildon_app_menu_show() and move all its checks to
536 hildon_app_menu_popup()
538 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
540 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
541 (_hildon_picker_dialog_set_selector): removed call to
542 gtk_widget_set_size_request
543 * src/hildon-touch-selector.c
544 (_create_new_column): change the pannable size request policy
546 Avoid to use a hardcoded height for the hildon picker dialog. In order
547 to get that, we needed to change the hildon pannable size request
549 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
551 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
553 * src/hildon-window.c (hildon_window_map): Check for vbox to be
554 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
557 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
559 * debian/control: Depend on osso-system-lock localization package.
560 * src/hildon-code-dialog.c: Obtain the secu_application_title
561 translation from osso-system-lock.
562 * src/hildon-get-password-dialog.c (create_contents): Do not mark
563 for translation the atk related strings, that's not necessary.
564 * src/hildon-set-password-dialog.c (create_contents): Ditto.
565 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
566 cancel button, it is not required.
568 2009-04-02 Alejandro G. Castro <alex@igalia.com>
570 * src/hildon-pannable-area.c,
571 (hildon_pannable_area_class_init): Modified the default value of
572 the overshooting max speed, we have reduced it.
574 2009-04-02 Alberto Garcia <agarcia@igalia.com>
576 * doc/hildon-sections.txt
577 * src/hildon-window-private.h
578 * src/hildon-window.h
579 * src/hildon-window.c (hildon_window_class_init)
580 (hildon_window_init, hildon_window_finalize)
581 (hildon_window_realize, hildon_window_get_property)
582 (hildon_window_set_property, hildon_window_update_markup)
583 (hildon_window_get_markup, hildon_window_set_markup):
584 New "markup" property and hildon_window_{get,set}_markup() methods.
586 * examples/hildon-stackable-window-example.c (new_window):
587 Update example to use hildon_window_set_markup()
589 Fixes: NB#106375 (Need API to retitle a window with a title
592 2009-04-01 Alejandro G. Castro <alex@igalia.com>
594 * src/hildon-pannable-area.c,
595 (hildon_pannable_area_class_init): Changed the default value of
596 the initial_hint to TRUE.
597 (hildon_pannable_area_initial_effect): Changed the initial effect,
598 not the effect is just the fade-out of the scrollbars.
600 Fixes: NB#107775 (No scrollbars can be seen when several items are
601 available in a dialog)
603 2009-04-01 Alberto Garcia <agarcia@igalia.com>
605 * src/hildon-program.c (hildon_program_update_top_most):
608 Fixes: NB#109179 (Memory leak in Hildon program)
610 2009-04-01 Alberto Garcia <agarcia@igalia.com>
612 * src/hildon-banner.c (-get_current_app_window):
613 Remove unused function.
615 2009-04-01 Alejandro G. Castro <alex@igalia.com>
617 * src/hildon-pannable-area.c: Modified the documentation of the
618 get adjustments functions to explain the problem of using the
620 (hildon_pannable_area_class_init): Improved the explanation about
623 2009-04-01 Alberto Garcia <agarcia@igalia.com>
625 * src/hildon-app-menu-private.h
626 * src/hildon-app-menu.c
627 (hildon_app_menu_class_init):
628 Bring back the 'external-border' style property
629 (hildon_app_menu_class_init, hildon_app_menu_init)
630 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
631 Set a fixed width-request for the menu, independent of the number
634 Fixes: NB#94957 (Smoothly opened application menu)
636 2009-03-30 Alberto Garcia <agarcia@igalia.com>
638 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
640 * src/hildon-banner.c
641 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
643 Make sure that the banner is correctly placed the first time it's
645 (hildon_banner_check_position, -check_fullscreen_state):
646 Show the banner in the same place no matter if the window is in
647 fullscreen mode or not.
649 Fixes: NB#107386 (Odd stacking behaviour for information banners)
651 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
653 * src/hildon-touch-selector.c (_default_print_func): reorder
654 concatenation for clarity.
656 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
658 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
659 for multicolumn selectors.
661 Fixes: NB#109099 (Memory leak in Hildon touch selector)
663 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
668 * configure.ac: Bump version.
669 * debian/changelog: Updates.
671 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
673 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
676 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
678 * configure.ac: removed libcangerra-gtk dependency
679 * debian/control: removed libcanberra-gtk dependency
680 * src/Makefile.am: removed libcanberra gtk related flags
681 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
682 context, and manage a global canberra context instead
684 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
686 2009-03-26 Alberto Garcia <agarcia@igalia.com>
688 Patch by Daniel Borgmann (danielb@openismus.com)
690 * src/hildon-edit-toolbar.c:
691 Adjust the left padding.
692 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
693 Paint background of the edit toolbar.
695 Fixes: NB#107897 (Patch to make editmodetoolbar background
696 themeable and adjust margin)
698 2009-03-25 Alberto Garcia <agarcia@igalia.com>
700 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
702 * src/hildon-program.c (hildon_program_update_top_most):
703 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
705 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
706 change when the user tasks in/out of an application)
708 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
710 * configure.ac: added libcangerra-gtk dependency
711 * debian/control: added libcanberra-gtk dependency
712 * src/Makefile.am: added libcanberra gtk related flags
713 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
716 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
718 2009-03-25 Alberto Garcia <agarcia@igalia.com>
720 * src/hildon-program.c (hildon_program_remove_window)
721 (hildon_program_add_window): Add checks for the window
722 parameter. Don't decrease the window counter if the window is not
725 2009-03-24 Alejandro G. Castro <alex@igalia.com>
727 * src/hildon-pannable-area.c,
728 (hildon_pannable_area_realize): Fixed position of the event_window
729 in the realize method.
731 2009-03-24 Alberto Garcia <agarcia@igalia.com>
733 * src/hildon-app-menu-private.h
734 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
735 (hildon_app_menu_map, hildon_app_menu_hide_idle)
736 (hildon_app_menu_key_press, hildon_app_menu_init)
737 (hildon_app_menu_finalize):
738 Make sure that all idle functions are removed when the widget is
741 Fixes: NB#107583 (Hildon app menu crashes in various applications)
743 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
748 * configure.ac: Bump version.
749 * debian/changelog: Updates.
751 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
754 (+hildon_entry_show_placeholder),
755 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
756 that replace hildon_entry_update_contents().
757 (hildon_entry_set_text),
758 (hildon_entry_set_placeholder),
759 (hildon_entry_focus_in_event),
760 (hildon_entry_focus_out_event): Determine when it is needed
761 either to show or hide the placeholder and call the above methods.
763 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
764 when the placeholder text is already set)
766 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
768 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
769 simple GdkPixbufAnim using the new icons for the banner.
770 (hildon_banner_show_animation): Use the above mentioned method to
771 create the animation widget.
773 Fixes: NB#103564 (Make hildon animation banner use individual
774 image files as the animation)
776 2009-03-24 Alejandro G. Castro <alex@igalia.com>
778 * src/hildon-pannable-area.c,
779 (hildon_pannable_leave_notify_event): Check if the child is NULL
780 to avoid sending the leave.
782 2009-03-24 Alejandro G. Castro <alex@igalia.com>
784 * src/hildon-pannable-area.c,
785 (hildon_pannable_area_class_init),
786 (hildon_pannable_leave_notify_event): Added a handler of the
787 leave-notify-signal to consider when no motion notify before
790 Fixes: NB#107494 (Items stay selected when clicking and moving
791 away when inside pannable area)
793 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
798 * configure.ac: Bump version.
799 * debian/changelog: Updates.
801 2009-03-19 Alejandro G. Castro <alex@igalia.com>
803 Patch by Alberto Garcia (agarcia@igalia.com)
805 * src/hildon-date-button.c,
806 (hildon_date_button_class_init),
807 (hildon_date_button_init): Removed the construct property handling
808 and created a default selector in the init method.
809 * src/hildon-picker-button.c,
810 (hildon_picker_button_class_init): Removed the construct flag of the
813 2009-03-18 Alberto Garcia <agarcia@igalia.com>
815 * src/hildon-main.c (hildon_init):
816 Don't allow hildon_init() to be called more than once.
818 Fixes: NB#106607 (hildon_init should issue error message upon
821 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
823 * examples/hildon-pannable-area-touch-list-example.c
824 * examples/hildon-pannagle-area-touch-grid-example.c
825 * examples/hildon-edit-toolbar-example.c
826 * examples/hildon-touch-selector-multi-cells-example.c
827 Removed the call to gtk_rc_parse_string, as it is not required since
830 2009-03-17 Alejandro G. Castro <alex@igalia.com>
832 * src/hildon-pannable-area.c,
833 (hildon_pannable_area_class_init): Modified the default panning
834 threshold of the widget to 6px.
836 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
837 than the threshold value ) within the button is not sending the
840 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
842 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
843 for the treeview in the new column. This way, the touch list will never
846 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
847 be selected manually for the HW keys to work)
849 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
851 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
852 comparison instead of using strcmp(). Fixes a compiler warning as well.
854 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
856 * doc/hildon-docs.sgml: Do not set the library version in the
857 document title, use the releaseinfo tag for that purpose instead.
859 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
861 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
862 Do not jump to the first item if the text in the entry is removed.
864 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
869 * configure.ac: Bump version.
870 * debian/changelog: Updates.
872 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
874 * src/hildon-entry.c (hildon_entry_refresh_contents):
875 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
876 Use "ReversedSecondaryTextColor" for the placeholder text.
878 2009-03-12 Alberto Garcia <agarcia@igalia.com>
880 * src/hildon-text-view.c: Fix compilation warning.
882 2009-03-12 Alberto Garcia <agarcia@igalia.com>
884 * src/hildon-button.c (hildon_button_class_init): Don't make
885 "title" and "value" construction properties, to prevent them from
886 overwriting labels set from derived classes.
888 * src/hildon-picker-button.c
889 (hildon_picker_button_set_selector): Allow setting a NULL selector.
890 (hildon_picker_button_class_init): Make touch-selector a
891 construction property.
893 * src/hildon-date-button.c (hildon_date_button_class_init)
894 (+hildon_date_button_constructed): Add a default date selector if
897 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
899 * src/hildon-touch-selector.c: Small documentation fixes.
901 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
903 Based on a patch by Daniel Borgmann (danielb@openismus.com)
905 * src/hildon-entry.c (hildon_entry_refresh_contents),
906 (hildon_entry_get_text), (hildon_entry_init): Do not use the
907 widget name, set the logical color directly instead and a boolean
908 showing_placeholder instead.
909 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
910 use the widget name here either.
912 Fixes: NB#105678 (HildonTextView should use logical colours
913 instead of setting widget name)
915 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
917 Patch by Daniel Elster (danielk@openismus.com)
919 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
920 Add user_data parameter.
921 (hildon_touch_selector_set_print_func_full): New function akin
922 hildon_touch_selector_set_print_func() but with support for user
923 data and a destroy callback.
924 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
925 to clean up the print function user data.
926 (hildon_touch_selector_class_init): Install dispose function.
927 (HildonTouchSelectorPrivate::print_user_data),
928 (HildonTouchSelectorPrivate::print_destroy_func): New private
930 (hildon_touch_selector_init): Initialize new private members.
931 (hildon_touch_selector_get_current_text): Pass along user data
932 to the print function.
933 (_default_print_func): Add dummy user_data to parameter list.
934 * hildon-date-selector.c (_custom_print_func): ditto,
935 * hildon-time-selector.c (_custom_print_func): ditto,
936 * hildon-touch-selector-entry.c
937 (hildon_touch_selector_entry_print_func): ditto.
939 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
941 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
943 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
945 2009-03-12 Alejandro G. Castro <alex@igalia.com>
947 * src/hildon-pannable-area.c,
948 (hildon_pannable_area_init),
949 (hildon_pannable_area_button_press_cb),
950 (hildon_pannable_area_motion_notify_cb): We have added code to
951 handle the leave and enter events when using the motion events.
953 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
955 2009-03-11 Alberto Garcia <agarcia@igalia.com>
957 * src/hildon-date-button.c (hildon_date_button_get_date)
958 (hildon_date_button_set_date): Make sure that the button has a
961 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
963 2009-03-11 Alejandro G. Castro <alex@igalia.com>
965 * src/hildon-pannable-area.c,
966 (hildon_pannable_area_class_init),
967 (hildon_pannable_area_calculate_velocity): Modify the use of the
968 force and adapt the value.
970 2009-03-10 Alberto Garcia <agarcia@igalia.com>
972 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
973 (hildon_app_menu_class_init): Hide the menu if it receives a
974 delete-event, but don't destroy it
976 Fixes: NB#104485 (Not able to address the call when application
977 menu is opened at background)
979 2009-03-10 Alberto Garcia <agarcia@igalia.com>
981 * src/hildon-app-menu.c
982 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
983 Remove the "external-border" style property, let the menu take its
984 natural size (or the one set by the window manager)
985 (hildon_app_menu_repack_items):
986 Don't reshow the menu, avoid flickers.
988 Partially fixes NB#94957 (Smoothly opened application menu)
990 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
995 * configure.ac: Bump version.
996 * debian/changelog: Updates.
998 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1000 * src/hildon-pannable-area.c,
1001 (hildon_pannable_area_motion_notify_cb): We control that the
1002 direction error margin is used just in case the movement is
1003 allowed in the other direction.
1005 Fixes: NB#105012 (buttons inside a pannable area not getting
1006 release event when dragging/releasing)
1008 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1010 * src/hildon-pannable-area.c,
1011 (hildon_pannable_area_class_init),
1012 (hildon_pannable_area_get_property),
1013 (hildon_pannable_area_set_property),
1014 (hildon_pannable_area_initial_effect),
1015 (hildon_pannable_axis_scroll),
1016 (hildon_pannable_area_button_release_cb): Reviewed the
1017 overshooting effect, now it has its own max
1018 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1019 speed when bouncing.
1021 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1026 * configure.ac: Bump version.
1027 * debian/changelog: Updates.
1029 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1031 * src/hildon-pannable-area.c,
1032 (hildon_pannable_area_class_init): Changed the max speed, now
1033 users can launch the widget very fast. Reduced the default force,
1034 that way it is easier to control the launch speed.
1036 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1038 * src/hildon-pannable-area.c,
1039 (hildon_pannable_area_button_release_cb): Removed this check
1040 because it causes problems when the device is overloaded.
1042 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1044 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1045 add a current_text field to store the text entered in the
1046 touch selector entry.
1047 (_clean_current_selection): clean up the current text as well.
1048 (_save_current_selection), (_restore_current_selection):
1049 Save/restore the text in the entry if the selector is a
1050 HildonTouchSelectorEntry.
1052 Fixes: NB#102541 (value entered in the touch selector entry is not
1053 shown when opened for second time)
1055 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1057 * doc/hildon-sections.txt:
1058 * src/hildon-touch-selector-entry.c
1059 (+hildon_touch_selector_entry_get_entry):
1060 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1062 Fixes: NB#104815 (I need accessor to the entry inside
1063 HildonTouchSelectorEntry)
1065 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1067 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1068 (hildon_app_menu_class_init):
1069 New "filter-vertical-spacing" style property.
1071 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1073 * src/hildon-find-toolbar.c
1074 (hildon_find_toolbar_emit_close)
1075 (hildon_find_toolbar_emit_invalid_input)
1076 (hildon_find_toolbar_entry_activate):
1077 Use g_signal_emit() instead of g_signal_emit_by_name()
1079 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1081 Patch by Mox Soini (ext-mox.soini@nokia.com)
1083 * tests/TEST-CASES.txt
1084 * tests/check-hildon-banner.c
1085 * tests/check-hildon-note.c
1086 * src/hildon-banner.c
1087 * src/hildon-code-dialog.c
1088 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1089 * src/hildon-time-editor.c
1090 * examples/hildon-lookup-example.c (main):
1091 Replace obsolete icon names with new ones.
1093 * src/hildon-find-toolbar-private.h:
1094 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1095 (-hildon_find_toolbar_emit_search):
1096 Remove find button and change icon of close button.
1098 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1100 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1102 * src/hildon-time-button.c (hildon_time_button_new_step):
1103 Use the "touch-selector" property to set the selector directly
1104 when creating the object.
1106 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1108 Added a new example application that allows tuning the pannable
1109 area and replaced defines with properties in order to simplify the
1110 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1111 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1112 PROP_DIRECTION_ERROR_MARGIN.
1114 * examples/hildon-pannable-area-tuning-example.c: New example
1116 * src/hildon-pannable-area.c,
1117 (hildon_pannable_area_class_init),
1118 (hildon_pannable_area_init),
1119 (hildon_pannable_area_get_property),
1120 (hildon_pannable_area_set_property),
1121 (hildon_pannable_area_launch_fade_timeout),
1122 (hildon_pannable_area_adjust_value_changed),
1123 (hildon_pannable_axis_scroll),
1124 (hildon_pannable_area_motion_notify_cb),
1125 (hildon_pannable_area_scroll_cb),
1126 (hildon_pannable_area_button_release_cb): We have converted some
1127 of the defines that control the widget to properties to simplify
1130 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1132 * src/hildon-app-menu.c (hildon_app_menu_map)
1133 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1134 so it's closed if a new window appears.
1136 Fixes: NB#104485 (Not able to address the call when application
1137 menu is opened at background)
1139 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1141 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1142 missing 'break' statement in in 'case' construct to avoid
1145 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1147 * src/hildon-touch-selector-entry.c
1148 (hildon_touch_selector_entry_get_property),
1149 (hildon_touch_selector_entry_set_property): Add missing 'break'
1150 statements in in 'case' constructs to avoid incorrect warnings.
1152 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1154 * src/hildon-time-editor.c
1155 (hildon_time_editor_get_time_separators): Do not crash if
1156 the first label is NULL.
1158 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1160 * src/hildon-date-selector.c (_month_days): Check for month to be
1161 strictly less than 12, since otherwise we may overrun the array.
1163 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1165 * src/hildon-date-button.c (+hildon_date_button_new_full)
1166 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1167 (hildon_date_button_init): Set the date selector using a
1168 construction property, to make it happen after HildonButton's
1169 "value" property is set.
1171 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1172 current date by default)
1174 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1176 * doc/hildon-sections.txt
1177 * src/hildon-program.c
1178 * src/hildon-stackable-window.c
1179 * src/hildon-window.c:
1180 Documentation updates
1182 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1184 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1185 (hildon_window_stack_new, +hildon_window_stack_set_property)
1186 (+hildon_window_stack_get_property)
1187 (hildon_window_stack_class_init)
1188 (+hildon_window_stack_set_window_group)
1189 (+hildon_window_stack_get_window_group):
1190 Make the window group a construction property.
1192 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1194 * doc/hildon-sections.txt
1195 * src/hildon-stackable-window-private.h
1196 * src/hildon-stackable-window.h
1197 * src/hildon-stackable-window.c
1198 (-hildon_stackable_window_set_app_menu)
1199 (-hildon_stackable_window_get_app_menu)
1200 (-hildon_stackable_window_toggle_menu)
1201 (-hildon_stackable_window_finalize)
1202 (hildon_stackable_window_class_init)
1203 (hildon_stackable_window_init)
1204 * src/hildon-window-private.h
1205 * src/hildon-window.h
1206 * src/hildon-window.c (hildon_window_init)
1207 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1208 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1209 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1210 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1211 Moved all HildonAppMenu code to HildonWindow. The menu does not
1212 require a HildonStackableWindow anymore.
1214 * src/hildon-app-menu.c
1215 * src/hildon-program.c
1216 * examples/hildon-app-menu-example.c (main):
1217 Update examples and documentation to reflect HildonAppMenu
1220 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1222 * src/hildon-remote-texture.c
1223 * src/hildon-animation-actor.c:
1224 Don't include unused private headers.
1226 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1228 * src/hildon-program-private.h
1229 * src/hildon-program.c
1230 (hildon_program_set_common_menu)
1231 (hildon_program_get_common_menu)
1232 (hildon_program_set_common_app_menu)
1233 (hildon_program_get_common_app_menu):
1234 Change common menu pointers from GtkWidget* to GtkMenu* and
1235 HildonAppMenu* to avoid unnecessary casts.
1237 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1239 * src/hildon-window.c (hildon_window_set_main_menu):
1240 Removed incorrect 'Since:' tag
1242 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1244 * src/hildon-pannable-area.c,
1245 (hildon_pannable_area_calculate_velocity): We use now the
1246 RATIO_TOLERANCE here to check the distance, fixed typo in the
1248 (hildon_pannable_area_motion_notify_cb): We have to set the type
1249 and time even if we are not sending the motion.
1251 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1253 * doc/hildon-sections.txt
1254 * src/hildon-app-menu.h
1255 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1256 (+hildon_app_menu_get_filters): New methods to get the contents of
1259 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1262 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1264 * src/hildon-app-menu.c (hildon_app_menu_popup):
1267 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1269 * src/hildon-window.h
1270 * src/hildon-window.c (+hildon_window_get_main_menu)
1271 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1272 and deprecated hildon_window_get_menu().
1274 * src/hildon-stackable-window.h
1275 * src/hildon-stackable-window.c
1276 (+hildon_stackable_window_set_app_menu)
1277 (+hildon_stackable_window_get_app_menu)
1278 (hildon_stackable_window_set_main_menu): Created
1279 hildon_stackable_window_{get,set}_app_menu() and deprecated
1280 hildon_stackable_window_set_main_menu().
1282 * doc/hildon-sections.txt
1283 * examples/hildon-app-menu-example.c (main)
1284 * src/hildon-app-menu.c
1285 * src/hildon-program.c:
1286 Updated examples and documentation.
1288 Fixes: NB#103758 (No way to obtain a menu from a
1289 HildonStackableWindow)
1291 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1296 * configure.ac: Bump version.
1297 * debian/changelog: Updates.
1299 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1301 * examples/hildon-remote-texture-example.c: Include
1302 hildon-remote-texture.h explicitely.
1303 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1304 applications not defining _XOPEN_SOURCE which don't require this header.
1306 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1308 * doc/hildon-sections.txt
1309 * src/hildon-app-menu.h
1310 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1311 New function to pop up a HildonAppMenu
1313 * src/hildon-stackable-window.c
1314 (hildon_stackable_window_toggle_menu):
1315 Use hildon_app_menu_popup() to show the menu.
1317 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1319 * src/hildon-app-menu.c (hildon_app_menu_show)
1320 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1321 menu if there's another window between it and its parent window.
1323 Fixes: NB#100468 (Application menu window is launched even when a
1324 new secondary-window/dialog is pending to be shown/realized)
1326 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1328 * src/hildon-window-stack.c (hildon_window_stack_push)
1329 (hildon_window_stack_pop_and_push):
1330 Don't forget to push/pop the first window.
1331 Reverse the window list before calling _push_list()
1333 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1335 * src/hildon-picker-button.h
1336 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1337 Remove "value_changed" slot to avoid ABI breakage
1339 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1341 * src/hildon-pannable-area.c,
1342 (hildon_pannable_area_realize),
1343 (hildon_pannable_area_unrealize),
1344 (hildon_pannable_draw_vscroll),
1345 (hildon_pannable_draw_hscroll): Changed the method to handle the
1346 GC used to draw the transparent scrollbar, this way we avoid
1347 creating the GC all the time when drawing the scrollbars.
1349 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1351 * src/hildon-pannable-area.c,
1352 (hildon_pannable_area_init),
1353 (hildon_pannable_area_remove): Removed some unnecessary casts.
1354 (hildon_pannable_area_dispose): Disconnected some signals before
1355 releasing the adjustments.
1357 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1359 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1360 Make sure that all widgets contained in the toolbar are shown.
1362 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1364 * doc/hildon-sections.txt
1365 * src/hildon-picker-button.h
1366 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1367 (_selection_changed, hildon_picker_button_on_dialog_response)
1368 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1369 New hildon_picker_button_value_changed() method.
1372 * src/hildon-picker-button-private.h
1373 * src/hildon-picker-button.c (hildon_picker_button_init)
1374 (+hildon_picker_button_disable_value_changed): Add protected
1375 function for disabling the "value-changed" signal.
1377 * src/hildon-date-button.c (hildon_date_button_set_date):
1378 Don't emit "value-changed" for each one of the three columns.
1380 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1381 before actual change of values)
1383 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1385 * src/hildon-pannable-area.c,
1386 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1387 for the treeview overshooting.
1389 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1391 * src/hildon-banner.c (+hildon_banner_bind_style):
1392 Renamed from hildon_banner_bind_label_style(), now naming the
1393 banner itself as well.
1394 (hildon_banner_show_information),
1395 (hildon_banner_show_information_with_markup),
1396 (hildon_banner_show_animation), (hildon_banner_show_progress):
1397 Name the widgets and labels, based on their type.
1399 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1402 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1404 * src/hildon-note.c (hildon_note_set_property): call
1405 hildon_note_rename() on HildonNote:note-type set.
1406 (hildon_note_rename): Name the note and its label, based on the
1407 HildonNote:note-type property.
1409 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1412 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1414 * src/hildon-pannable-area.c,
1415 (hildon_pannable_area_class_init),
1416 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1417 panning parameters, increased SPS and deceleration factor. Added
1418 also a margin to control fake directions.
1420 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1422 Patch by Sven Herzberg (sven@imendio.com)
1424 * configure.ac: Add missing AM_PROG_CC_C_0
1425 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1427 See NB#101420 (Update unit tests and fix make check)
1429 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1431 This patch was applied before but reverted because it caused
1432 problems, we have changed the main condition and tested the
1433 regressions we detected before and they work ok. We have done a
1434 complete review of the topmost algorithm in order to get a more
1437 * src/hildon-pannable-area.c,
1438 (hildon_pannable_area_get_topmost): Added a new parameter to
1439 filter the the windows that do not include those events.
1440 (hildon_pannable_area_button_press_cb),
1441 (hildon_pannable_area_button_release_cb),
1442 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1443 topmost function, we have added the new parameter.
1445 Fixes: NB#97458 (Pannable area prevents propagation of button
1448 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1450 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1451 if all columns in the selector have an item selected.
1452 (_on_dialog_response): Stop "response" signal emission if there is
1453 any selector column without selected items.
1455 Fixes: NB#101889 (Picker dialog should not close when nothing is
1456 selected in multiple selection list)
1458 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1460 * src/hildon-font-selection-dialog.c
1461 (hildon_font_selection_dialog_class_init),
1462 (hildon_font_selection_dialog_init): Remove the preview
1463 button and dialog, since previewing with default theming is likely
1464 to be overcomplicated. The :preview property has now no effect.
1465 Update documentation blurbs to inform about this.
1467 Fixes: NB#92297 (Preview content is not clearly visible for
1468 default colour text)
1470 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1472 Reviewed the geometry that handles the children size and
1473 scrollbar, now it tries a size and reviews the results depending
1474 on the scrollbars visibility.
1476 * src/hildon-pannable-area.c,
1477 (hildon_pannable_area_realize): Fixed a typo.
1478 (hildon_pannable_area_child_allocate_calculate): Added this
1479 function to calculate the child allocation.
1480 (hildon_pannable_area_size_allocate): Reviewed the allocation
1482 (hildon_pannable_area_check_scrollbars),
1483 (hildon_pannable_area_refresh): Refactored refresh function, this
1484 way we can call the code handling the scrollbars without causing a
1485 size_request, it is interesting in the allocate.
1486 (hildon_pannable_area_init): Replace the callbacks of the
1487 value_changed and changed signals to propertly deal with the
1489 (hildon_pannable_area_grab_notify),
1490 (hildon_pannable_area_initial_effect),
1491 (hildon_pannable_area_launch_fade_timeout),
1492 (hildon_pannable_area_adjust_changed),
1493 (hildon_pannable_area_adjust_value_changed),
1494 (hildon_pannable_area_redraw),
1495 (hildon_pannable_area_button_press_cb),
1496 (hildon_pannable_area_button_release_cb),
1497 (hildon_pannable_area_scroll_cb),
1498 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1499 code and use the new functions adjust_changed and
1500 adjust_value_changed.
1502 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1503 Contact editor dialog)
1505 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1510 * configure.ac: Bump version.
1511 * debian/changelog: Updates.
1513 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1515 * src/hildon-pannable-area.c,
1516 (hildon_pannable_area_get_topmost),
1517 (hildon_pannable_area_button_press_cb),
1518 (hildon_pannable_area_button_release_cb),
1519 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1520 topmost function adding the event mask. We have to try a
1521 differente approach because it is still causing problems (NB#9745,
1524 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1526 * src/hildon-banner.c:
1527 Update the maximum width of timed banners.
1528 (force_to_wrap_truncated): Enforce the maximum text width if the
1531 Fixes: NB#102413 (The text margins (wrapping) in information
1532 banner should be HILDON_MARGIN_TRIPLE)
1534 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1536 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1538 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1539 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1540 bound when calculating the scroll indicator position.
1542 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1543 treat ->lower correctly)
1545 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1547 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1548 expose event handling, since it is not necessary to draw the focus
1551 Fixes: NB#102467 (Do not show highlight on the text in
1554 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1556 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1557 full height of the toolbar for the button and the label.
1559 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1561 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1562 padding before the label and after the button.
1564 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1566 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1568 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1569 Add a GtkVSeparator between the button and the back arrow.
1570 Let the button have automatic size.
1571 Set a name to the widget for theming handling.
1573 Fixes: NB#101793 (Make edit toolbar the same height as window
1574 title bar (use title area theming))
1576 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1578 * src/hildon-helper.c (attach_new_color_element): Fix memory
1581 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1583 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1585 * examples/hildon-button-example.c (common_buttons_window): Don't
1588 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1590 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1591 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1593 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1595 * src/hildon-gtk.c: Check that the window is realized.
1597 Fixes: NB#102225 (Crash setting the progress indicator to a non
1600 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1602 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1603 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1604 instead of modifying the one in the widget style.
1606 Fixes: NB#101043 (Second row of all the command button are
1607 displayed in transparent mode.)
1609 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1611 * src/hildon-date-button.c
1612 * src/hildon-time-button.c: Add gettext macros
1614 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1616 * src/hildon-date-button.c (hildon_date_button_new):
1617 * src/hildon-time-button.c (hildon_time_button_new_step):
1618 Use new logical strings to set the button default title.
1620 Fixes: NB#99915 (Date and Time options are not localised in Date
1623 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1625 * src/hildon-pannable-area.c
1626 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1627 the PANNING_THRESHOLD.
1629 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1631 * src/hildon-pannable-area.c,
1632 (hildon_pannable_area_class_init): Increased the maximum speed.
1633 (hildon_pannable_area_get_property),
1634 (hildon_pannable_area_set_property),
1635 (hildon_pannable_area_timeout): Added a new low friction mode, it
1636 allows the user avoid friction when launching the widget fast
1637 enough. It is interesting to traverse long lists.
1639 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1641 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1642 (+hildon_stackable_window_delete_event): Ignore delete events if
1643 the window is not the topmost one.
1645 Fixes: NB#101698 (Back button long press and delete-event handling)
1647 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1649 * src/hildon-pannable-area.c,
1650 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1651 gtk-dnd-drag-threshold, it was too big. We have defined our own
1652 dnd define and set a smaller value: PANNIG_THRESHOLD.
1654 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1656 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1657 user-defined icons, use always the default one.
1659 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1661 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1663 This patch was applied before but reverted because it caused
1664 problems, we have changed the main condition and tested the
1665 regressions we detected before and they work ok.
1667 * src/hildon-pannable-area.c,
1668 (hildon_pannable_area_get_topmost): Added a new parameter to
1669 filter the the windows that do not include those events. Added
1670 also a condition when finding the window to filter windows that do
1671 not ask for those events.
1672 (hildon_pannable_area_button_press_cb),
1673 (hildon_pannable_area_button_release_cb),
1674 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1675 topmost function, we have added the new parameter.
1677 Fixes: NB#97458 (Pannable area prevents propagation of button
1680 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1682 * tests/check-hildon-color-button.c (START_TEST): do not leak
1685 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1687 * src/hildon-font-selection-dialog.c
1688 (hildon_font_selection_dialog_get_preview_text): Return NULL
1689 instead of FALSE on the g_return_val_if_fail().
1691 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1693 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1694 * src/hildon-date-selector.c
1695 (hildon_date_selector_select_current_date):
1696 Do not compare unsigned integers to be greater than or equal 0,
1697 because it's always TRUE.
1699 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1701 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1702 (hildon_date_selector_constructor): Do not select the current
1703 date until we are handle the "changed" signal, to avoid having bogus
1704 elements in the days model.
1706 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1708 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1709 for num_days, since _month_days() can return a negative value.
1711 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1713 * src/hildon-caption.c (hildon_caption_size_allocate):
1714 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1715 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1717 Initialize allocation variables to 0, to avoid eventually using
1718 unitialized variables.
1720 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1722 * src/hildon-bread-crumb-trail.c
1723 (hildon_bread_crumb_trail_size_allocate):
1724 * src/hildon-calendar.c (hildon_calendar_set_background):
1725 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1726 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1727 * src/hildon-seekbar.c (hildon_seekbar_init):
1728 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1729 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1730 * src/hildon-touch-selector-entry.c
1731 (hildon_touch_selector_get_text_from_model):
1732 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1733 * src/hildon-window.c (hildon_window_finalize):
1735 Remove many unused variables.
1737 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1739 * src/hildon-seekbar.c: (hildon_seekbar_init),
1740 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1742 Remove unnecessary g_assert() calls.
1744 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1746 * src/hildon-caption.c: (hildon_caption_expose),
1747 (hildon_caption_set_property), (hildon_caption_init),
1748 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1749 (hildon_caption_size_request), (hildon_caption_size_allocate),
1750 (hildon_caption_forall), (hildon_caption_set_separator),
1751 (hildon_caption_activate), (hildon_caption_set_child_expand),
1752 (hildon_caption_set_label_text),
1753 (hildon_caption_get_label_alignment):
1755 Remove unnecessary g_assert() calls.
1757 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1759 * src/hildon-banner.c
1760 (hildon_banner_map, hildon_banner_init): Make banner temporary
1761 before mapping it to avoid closing other temporary windows, but
1762 make it non-temporary afterwards to avoid being closed by other
1763 non-temporary windows.
1764 (-hildon_banner_client_event, hildon_banner_init):
1765 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1767 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1770 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1772 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1775 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1777 * src/hildon-remote-texture.c
1778 * src/hildon-remote-texture.h
1779 * src/hildon-remote-texture-private.h
1780 * examples/hildon-remote-texture-example.c:
1781 Updates/fixes to remote-texture and its example.
1783 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1785 Patch by Mox Soini (ext-mox.soini@nokia.com)
1787 * src/hildon-code-dialog.c: Update logical id.
1788 * src/hildon-set-password-dialog.c: Update logical id.
1790 Fixes: NB#100646 (Logical strings is shown for ok in set
1791 password,Password needed dialogs)
1793 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1796 * src/hildon-remote-texture.c
1797 * src/hildon-remote-texture.h
1798 * src/hildon-remote-texture-private.h
1800 Added remote texture widget (for Clutter shared memory textures)
1802 * examples/hildon-remote-texture-example.c
1803 * examples/Makefile.am
1804 Added example file for remote texture usage
1806 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1808 * configure.ac: post release version bump.
1809 * debian/changelog: version bump.
1811 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1816 * configure.ac: Bump version.
1817 * debian/changelog: Updates.
1819 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1821 * src/hildon-date-selector.c (hildon_date_selector_init)
1822 (hildon_date_selector_constructor): Don't connect to the "changed"
1823 signal until the selector is completely constructed.
1825 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1827 * src/hildon-touch-selector.c: (_create_new_column),
1828 (hildon_touch_selector_append_column),
1829 (hildon_touch_selector_set_column_selection_mode),
1830 (hildon_touch_selector_set_active),
1831 (hildon_touch_selector_select_iter):
1832 Emit the HildonTouchSelector::changed signal every time selection
1833 is changed in any of the methods above. This behavior was already
1834 documented but not fully functional.
1836 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1837 selection is programmatically changed)
1839 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1841 * doc/hildon-sections.txt: Remove obsolete icon
1842 sizes from here as well.
1844 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1846 * examples/hildon-stackable-window-example.c (add_window): Remove
1849 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1851 * src/hildon-app-menu.c
1852 (hildon_app_menu_show): Check whether the parent window of a menu
1853 is topmost before popping it up.
1855 Fixes: NB#100468 (Application menu window is launched even when a
1856 new secondary-window/dialog is pending to be shown/realized.)
1858 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1860 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1863 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1865 Patch by Mox Soini (ext-mox.soini@nokia.com)
1867 * src/hildon-banner.c: (hildon_banner_show_animation):
1868 use stylus size instead of obsolete note size.
1869 * src/hildon-defines.h: Update icon sizes.
1871 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1873 * src/hildon-touch-selector-entry.c:
1874 (hildon_touch_selector_entry_init): Disable unsupported
1876 (hildon_touch_selector_entry_get_text_column): Emit a warning
1877 if an unsupported input modes is used and explicitile state
1878 these modes in the documentation.
1880 Fixes: NB#99802 (Hildon touch selector entry not working properly
1881 for some of the input modes)
1883 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1885 * src/hildon-pannable-area.c,
1886 (hildon_pannable_area_init): Added the changed signal handlers of
1889 Fixes: NB#100320 (HildonPannableArea does not listen to
1890 GtkAdjustment "change" signals)
1892 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1894 * doc/hildon-sections.txt
1895 * src/hildon-window-private.h
1896 * src/hildon-window.h
1897 * src/hildon-window.c (hildon_window_init)
1898 (hildon_window_realize, hildon_window_unrealize)
1899 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1900 (hildon_window_size_request, hildon_window_size_allocate)
1901 (hildon_window_forall, hildon_window_show_all)
1902 (hildon_window_destroy, +paint_edit_toolbar)
1903 (+hildon_window_set_edit_toolbar):
1904 New hildon_window_set_edit_toolbar() method, to add a
1905 HildonEditToolbar to a window without having to pack it manually.
1907 Reorganize hildon_window_size_allocate()
1909 * src/hildon-edit-toolbar.c: Update documentation.
1911 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1912 example to use the new API.
1914 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1916 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1918 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1919 Remove from stack before calling parent's hide.
1921 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1923 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1924 window is removed from the middle of the stack, update the
1925 transiency of the previous one.
1927 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1930 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1932 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1933 block/unblock the signal handler if it's not actually being used.
1934 Fixes some critical warnings.
1936 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1938 Based on a patch by Iván Gómez (igomez@igalia.com)
1940 * src/hildon-banner.c
1944 * src/hildon-pannable-area.c
1945 * src/hildon-picker-dialog.c
1946 * src/hildon-wizard-dialog.h
1947 * src/hildon-wizard-dialog.c: Documentation updates.
1949 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1950 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1952 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1954 * configure.ac: post release version bump.
1955 * debian/changelog: version bump.
1957 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1962 * configure.ac: Bump version.
1963 * debian/changelog: Updates.
1965 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1967 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1968 a stock icon nor change the relief of the back arrow.
1970 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1971 graphics from theme)
1973 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1975 * src/hildon-button.c (hildon_button_set_alignment): Use
1976 priv->alignment if the button has no child yet.
1978 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1980 * src/hildon-button.c: (hildon_button_init): Set the
1981 button style during initialization to give it the proper
1984 Fixes: NB#99713 (HildonButton value label color is wrong)
1986 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1988 * src/hildon-touch-selector.c: Document
1989 hildon_touch_selector_center_on_selected()
1991 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1993 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1994 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1995 all menu items, but not the menu itself.
1996 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1997 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1998 items after adding them to the menu so keyboard accelerators work.
1999 (hildon_app_menu_show): Don't show the menu if it contains items
2000 but none of them are visible.
2002 * examples/hildon-app-menu-example.c (create_menu): Use
2003 gtk_widget_show_all() to show all menu items.
2005 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2007 * src/hildon-picker-dialog.c:
2008 (-_update_title_on_selector_changed_cb),
2009 (-_dialog_update_title): Removed.
2010 (_select_on_selector_changed_cb), (_on_dialog_response),
2011 (on_selector_columns_changed): Do not update the dialog title.
2012 (setup_interaction_mode): Do not connect to
2013 HildonTouchSelector::changed signal if there's a "done" button, as
2014 the dialog title doesn't need to be updated.
2016 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2019 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2021 Patch by Kristian Rietveld (kris@imendio.com)
2023 * src/hildon-touch-selector.c: (_create_new_column): Use new
2024 GtkTreeView::hildon-row-tapped signal to react to user interactions
2025 instead of ::changed.
2027 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2028 with some dynamic tree model)
2030 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2032 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2033 (+screen_size_changed, +label_size_request)
2034 (hildon_note_class_init): Make the Hildon information note have a
2035 minimum height, and make its text hvae a maximum width.
2037 Fixes: NB#98614 (Hildon information note (background) should have
2038 minimum height and maximum text width)
2040 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2042 * src/hildon-banner.h
2043 * src/hildon-banner.c (hildon_banner_show_information)
2044 (hildon_banner_show_informationf)
2045 (hildon_banner_show_information_with_markup): Update documentation
2046 to reflect that the icon_name parameter is not used anymore.
2047 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2048 Remove all code from these functions and mark them as deprecated.
2049 (hildon_banner_show_progress): Mark as deprecated.
2051 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2053 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2055 * src/hildon-pannable-area.c,
2056 (hildon_pannable_area_class_init),
2057 (tranparency_color),
2058 (hildon_pannable_draw_vscroll),
2059 (hildon_pannable_draw_hscroll),
2060 (hildon_pannable_area_expose_event): Added a new way to render the
2061 scrollbars of the pannable area avoiding using cairo at all. This
2062 way we improve the performance of the pannable area rendering. The
2063 cairo rendering procedure is still in the code, we can control
2064 which one to use changing the value of the define
2065 USE_CAIRO_SCROLLBARS.
2067 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2069 * configure.ac: post release version bump.
2070 * debian/changelog: version bump.
2072 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2077 * configure.ac: Bump version.
2078 * debian/changelog: Updates.
2080 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2082 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2083 banners instead of destroying them when they receive a button
2086 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2088 Reverted commit 34028, it was causing regressions, probably the
2089 topmost condition is not correct, we have to check it in more
2090 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2091 propagation of button press events)
2093 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2095 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2096 that the selection is not empty before attempting to retrieve the
2097 current ampm selection.
2099 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2101 * src/hildon-picker-button.c:
2102 (hildon_picker_button_on_dialog_response): Directly update the
2103 button contents when required instead of calling _selection_changed.
2105 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2107 * src/hildon-program.c (hildon_program_update_top_most): Update
2108 'is-topmost' property also when wm_hints is not set.
2110 Fixes: NB#98383 (is-topmost signal is not emitted when task
2111 switcher is clicked.)
2113 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2115 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2119 * src/hildon-animation-actor.c,
2120 * src/hildon-animation-actor.h: Added the animation actor class,
2121 this widget represents an animation actor for WM-assisted
2122 animation effects in the Hildon framework.
2124 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2126 * src/hildon-window-stack-private.h
2127 * src/hildon-window-stack.c
2128 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2129 Avoid calling gtk_widget_show() again indirectly from
2130 hildon_stackable_window_show()
2132 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2134 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2137 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2139 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2140 (hildon_time_selector_init): Move the construction of the hours and
2141 ampm columns to the constructor to preserve the order the columns
2144 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2146 * src/hildon-picker-dialog.c:
2147 (hildon_picker_dialog_class_init): Connect a realize method.
2148 (+hildon_picker_dialog_realize): Setup the interaction mode here
2150 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2151 yet, do it during the realize instead.
2152 (_on_dialog_response):
2153 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2154 if the widget is not realized, to avoid the dialog response before it
2157 Avoid premature responses in the HildonPickerDialog that can cause it
2158 to be hidden before it's even shown.
2160 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2162 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2163 (on_selector_columns_changed), (requires_done_button),
2164 (+prepare_action_area), (setup_interaction_mode),
2165 (_hildon_picker_dialog_set_selector):
2167 Split the interaction mode setup into preparation of the
2168 action area (prepare_action_area()) and the connection of
2169 the signals in setup_interaction_mode() and update the code to
2172 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2174 * src/hildon-pannable-area.c,
2175 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2176 per second to 15, we will check if this is ok regarding
2179 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2181 * src/hildon-pannable-area.c,
2182 (hildon_pannable_axis_scroll): Avoid resize if we already have
2183 reached overshoot_max.
2185 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2187 * src/hildon-pannable-area.c,
2188 (hildon_pannable_area_init),
2189 (hildon_pannable_area_realize),
2190 (hildon_pannable_area_size_allocate),
2191 (hildon_pannable_area_map),
2192 (hildon_pannable_area_unmap),
2193 (hildon_pannable_draw_vscroll),
2194 (hildon_pannable_draw_hscroll),
2195 (hildon_pannable_area_expose_event),
2196 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2197 pannable are to avoid the expose events go to the window and
2198 redraw the window. We save this way that part of the stack and the
2199 paint_boxes. We had to change the positions of the elements when
2202 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2204 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2205 * src/hildon-color-chooser-dialog.c:
2206 (hildon_color_chooser_dialog_init):
2207 * src/hildon-font-selection-dialog.c:
2208 (hildon_font_selection_dialog_init),
2209 (hildon_font_selection_dialog_show_preview):
2210 * src/hildon-get-password-dialog.c:
2211 * src/hildon-login-dialog.c:
2212 * src/hildon-set-password-dialog.c:
2213 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2214 * src/hildon-time-picker.c: (hildon_time_picker_init):
2216 Remove obsolete logical string IDs and update to the appropriate ones.
2218 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2220 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2222 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2223 that happens if the window hasn't been realized yet.
2225 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2226 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2228 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2230 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2231 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2234 Fixes: NB#98537 (Device hangs in account settings dialog)
2236 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2238 * configure.ac: post release version bump.
2239 * debian/changelog: version bump
2241 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2246 * configure.ac: Bump version.
2247 * debian/changelog: Updates.
2249 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2251 Added a new function to the HildonTimeButton widget that allows to
2252 change the step of the minutes in the selector associated with the
2253 button: hildon_time_button_new_step
2255 * src/hildon-time-button.c,
2256 (hildon_time_button_init),
2257 (hildon_time_button_new),
2258 (hildon_time_button_new_step):
2259 * src/hildon-time-button.h: Added the new function and refactored
2261 * examples/hildon-time-button-example.c,
2262 (main): We have replaced the function without parameters with the
2263 function with the steps set to 5
2265 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2267 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2269 * src/hildon-time-selector.c,
2270 (hildon_time_selector_class_init),
2271 (hildon_time_selector_constructor),
2272 (hildon_time_selector_get_property),
2273 (hildon_time_selector_set_property),
2274 (_create_minutes_model),
2275 (hildon_time_selector_new_step),
2276 (hildon_time_selector_set_time),
2277 * src/hildon-time-selector.h: Added a new property to the
2278 HildonTimeSelector (minutes-step), we use that property to control
2279 the steps between the minutes in the list of the selector. We have
2280 added a new function to the API to create a widget changing the
2281 step: hildon_time_selector_new_step.
2283 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2285 * src/hildon-time-selector.c,
2286 (hildon_time_selector_class_init),
2287 (hildon_time_selector_constructor),
2288 (hildon_time_selector_init): Overrided the construct function when
2289 creating the time selector object. We have moved the minutes model
2290 handling code from the init to the new construction function:
2291 hildon_time_selector_constructor.
2293 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2295 * examples/hildon-date-button-example.c: (main): Use the new
2296 hildon_date_button_new_with_year_range() method in the example.
2297 * src/hildon-date-button.c:
2298 (+hildon_date_button_new_with_year_range): New public method
2299 to conveniently create a HildonDateButton with a custom year range
2300 in its HildonDateSelector.
2301 * src/hildon-date-button.h: Add the new public method definition.
2303 Fixes: NB#97908 (Not possible to change the year range in
2304 HildonDateSelector/HildonDateButton)
2306 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2308 * src/hildon-date-selector.c:
2309 (+hildon_date_selector_set_property),
2310 (+hildon_date_selector_get_property),
2311 (hildon_date_selector_class_init): Install new properties "min-year"
2312 and "max-year" to define boundaries for the year column.
2313 (_create_year_model): Use the boundary properties to populate the model.
2314 (+hildon_date_selector_new_with_year_range): New public method to
2315 create a HildonDateSelector with a user defined year range.
2316 (hildon_date_selector_select_current_date): Use the new boundaries to
2317 calculate the iterator of current year.
2318 * src/hildon-date-selector.h: Add the new public method definition.
2320 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2322 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2323 Install a constructor method.
2324 (+hildon_date_selector_construct_ui): construct the widget.
2325 (+hildon_date_selector_constructor): new constructor.
2326 (+hildon_date_selector_init): move out widget construction code to
2327 the new constructor.
2329 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2331 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2332 that there's actually a month or year selected before obtaining them.
2333 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2334 of the HildonTouchSelector::changed signal, as it was emitted on every
2335 single item selection.
2337 Fix some warnings and possible crashers due to the selection restoring.
2339 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2341 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2342 the signal handlers only after creating the dialog instead of on every
2345 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2347 * src/hildon-button.c (hildon_button_init)
2348 * src/hildon-check-button.c (hildon_check_button_init)
2349 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2350 focus when clicked by default.
2352 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2354 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2357 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2359 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2360 Alejandro G. Castro (alex@igalia.com)
2362 * src/hildon-picker-dialog.c:
2363 (hildon_picker_dialog_class_init): install new "center-on-show"
2365 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2366 (hildon_picker_dialog_set_property): add setter code for the new
2368 (hildon_picker_dialog_get_property): add getter code for the new
2370 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2371 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2374 Fixes: NB#92849 (Selected item is not always visible when
2375 HildonTouchSelector is shown)
2377 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2379 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2380 Alejandro G. Castro (alex@igalia.com)
2382 * src/hildon-touch-selector.c:
2383 (_create_new_column): Do not connect to the "realize" signal of the
2385 (hildon_touch_selector_append_column): center on the selected items
2386 when a new column is appended.
2387 (hildon_touch_selector_select_iter): Factor out the code to select a
2388 column to hildon_touch_selector_scroll_to().
2389 (+search_nearest_element): Method to retrieve the nearest selected
2390 element to the visible area of the pannable area in a column.
2391 (+on_realize_cb): scroll to the initially selected item.
2392 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2393 the pannable area is realized, otherwise delay this until it is.
2394 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2395 selected items of a given column.
2396 (+hildon_touch_selector_center_on_selected): Public method to center
2397 all columns on the nearest selected item.
2398 * src/hildon-touch-selector.h: Add definition for
2399 hildon_touch_selector_center_on_selected().
2401 Implement public API to ensure visibility of all selected items in
2402 a HildonTouchSelector.
2404 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2406 Fixed a problem in the fading when calling the scroll_to API, and
2407 improve scrollbar fading handling.
2409 * src/hildon-pannable-area.c,
2410 (hildon_pannable_area_grab_notify): avoid the timeout when the
2412 (hildon_pannable_area_button_press_cb),
2413 (hildon_pannable_area_motion_notify_cb): Code style changes.
2414 (hildon_pannable_area_button_release_cb): Review the conditions
2415 when releasing the mouse button to avoid unrequired fading
2417 (hildon_pannable_area_scroll_to): Do not calculate and set the
2418 velocity if the scroll is not required.
2420 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2422 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2423 Don't check whether the new selector is NULL: it cannot be.
2424 Hold a reference to the selector while doing the replacement.
2426 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2428 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2429 unnecessary size_request in a removed widget.
2431 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2433 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2434 an unnecessary reference tracking that was leaking.
2436 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2438 Added delayed motion notify event handling, this way we can
2439 discard redrawing if more than 25 events arrive per second.
2441 * src/hildon-pannable-area.c,
2442 (hildon_pannable_area_init): Initialized the new private atributes
2443 controlling this timeout
2444 (hildon_pannable_area_dispose): Remove the timeout that controls
2445 the motion notify events.
2446 (hildon_pannable_area_scroll): Added a condition to control the
2447 use of the acceleration.
2448 (hildon_pannable_area_motion_event_scroll_timeout),
2449 (hildon_pannable_area_motion_event_scroll): Added this two
2450 functions, they handle the motion notify events inside the
2452 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2453 to the scroll method with the new function.
2454 (hildon_pannable_area_button_release_cb): We have to remove the
2455 timeout handler and move to the last position if the last motion
2456 events were not handled.
2458 Fixes: NB#97028 (Pannable area updates on every motion event)
2460 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2462 * src/hildon-pannable-area.c,
2463 (hildon_pannable_area_get_topmost): Added a new parameter to
2464 filter the the windows that do not include those events. Added
2465 also a condition when finding the window to filter windows that do
2466 not ask for those events.
2467 (hildon_pannable_area_button_press_cb),
2468 (hildon_pannable_area_button_release_cb),
2469 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2470 topmost function, we have added the new parameter.
2472 Fixes: NB#97458 (Pannable area prevents propagation of button
2475 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2477 * src/hildon-pannable-area.c,
2478 (hildon_pannable_area_initial_effect): Added controls before
2479 launching the timeout and the idle functions.
2480 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2481 of the method, in some situations it can return with TRUE and 0 in
2483 (hildon_pannable_area_button_press_cb): We do not need to set
2484 DELAY for fading out here.
2486 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2488 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2490 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2491 post-cleaning if the selection is not NULL.
2493 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2495 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2496 all items before restoring the selection.
2498 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2500 * src/hildon-touch-selector.c:
2501 (+hildon_touch_selector_unselect_all):
2502 * src/hildon-touch-selector.h: New API to unselect all items in a
2503 column of the touch selector.
2505 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2507 * src/hildon-pannable-area.c,
2508 (hildon_pannable_area_redraw): Added a call to the refresh
2509 function inside the redraw because apparently in some cases the
2510 change in the adjustment does not imply a size allocate.
2512 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2513 despite the view not being scrollable)
2515 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2517 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2518 leak. Check for NULL before attempting to set the window title.
2520 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2522 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2523 whether to show or not the 'Done' button each time the dialog is
2524 shown, as it depends on the HildonTouchSelector selection mode.
2526 Fixes: NB#96226 (In multiple selection mode Done button is shown
2527 sometimes in listpicker)
2529 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2531 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2532 for the number of columns in the HildonTouchSelector more than once.
2534 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2536 * src/hildon-touch-selector.c: Minor documentation fixes.
2538 * src/hildon-picker-dialog.c (+_dialog_update_title)
2539 (_select_on_selector_changed_cb)
2540 (_update_title_on_selector_changed_cb)
2541 (on_selector_columns_changed): Update dialog title when there's no
2542 'Done' button and also when the number of columns in the selector
2546 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2547 (+_selection_changed, hildon_picker_button_on_dialog_response)
2548 (hildon_picker_button_selector_selection_changed)
2549 (+hildon_picker_button_selector_columns_changed)
2550 (hildon_picker_button_set_selector): Update button value and emit
2551 'value-changed' when the number of columns in the selector
2555 Fixes: NB#96225 (Dialog titles are not shown according to the
2556 values selected in the list picker)
2558 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2560 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2561 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2562 New "arrow-width" and "arrow-height" style properties to set the
2563 size of the arrow button.
2564 Set name of arrow button ("hildon-edit-toolbar-arrow").
2566 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2567 graphics from theme)
2569 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2571 * src/hildon-picker-button.c:
2572 (hildon_picker_button_selector_selection_changed): Use
2573 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2574 the dialog is present.
2576 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2577 the selection is accepted in the dialog)
2579 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2581 * src/hildon-color-chooser.h
2582 * src/hildon-color-chooser-dialog.h:
2583 Added G_BEGIN_DECLS and G_END_DECLS
2585 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2587 (_clean_current_selection): plug a leak in the list.
2589 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2591 * src/hildon-picker-dialog.c:
2592 (+free_path_list): Method to free a GList of GtkTreePaths.
2593 (_clean_current_selection), (_save_current_selection),
2594 (_restore_current_selection): Save the current selection in
2595 as a list of lists, to support multiple selection properly.
2597 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2599 patch by Claudio Saavedra (csaavedra@igalia.com)
2601 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2602 Store the press position.
2603 (+hildon_text_view_button_release_event): If the release position is
2604 close enough to the press position, move the cursor here. Otherwise,
2606 (hildon_text_view_class_init): Override GtkTextView press, release, and
2607 motion event handlers, disabling this way text selection through
2608 pointer interaction, and allowing the container widget to handle the
2611 Fixes: NB#95828 (HildonTextView functionality)
2613 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2615 Based on a patch by Iván Gómez (igomez@igalia.com)
2617 * src/hildon-button.[ch]
2618 * src/hildon-calendar.c
2619 * src/hildon-check-button.c
2620 * src/hildon-date-editor.c
2621 * src/hildon-date-selector.c
2622 * src/hildon-picker-button.c
2623 * src/hildon-time-editor.c
2624 * src/hildon-time-selector.c
2625 * src/hildon-touch-selector.[ch]:
2626 Documentation updates
2628 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2630 * src/hildon-pannable-area.c,
2631 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2632 threshold, it was required due to X events handling.
2634 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2636 * src/hildon-pannable-area.c,
2637 (hildon_pannable_area_grab_notify),
2638 (hildon_pannable_area_initial_effect),
2639 (hildon_pannable_area_button_press_cb),
2640 (hildon_pannable_area_button_release_cb),
2641 (hildon_pannable_area_scroll_cb),
2642 (hildon_pannable_area_scroll_to): Review the timeout management of
2643 the scrollbar, the frecuency was incorrectly set.
2645 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2647 * src/hildon-picker-button.c:
2648 (+hildon_picker_button_on_dialog_response),
2649 (hildon_picker_button_clicked): Present the dialog instead of
2650 running it with gtk_dialog_run().
2652 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2655 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2657 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2658 (hildon_app_menu_finalize): When a window is hidden it doesn't
2659 emit notify::is-topmost, so make sure than the menu also
2660 disappears in that case.
2661 (parent_window_topmost_notify): Renamed from parent_window_hidden
2663 Fixes: NB#94460 (stackable window's menu is not closed when its
2666 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2668 * src/hildon-touch-selector-entry.c:
2669 (+hildon_touch_selector_entry_set_input_mode),
2670 (+hildon_touch_selector_entry_get_input_mode):
2671 * src/hildon-touch-selector-entry.h: New methods to access the input
2672 mode in the selector's entry.
2674 Fixes: NB#93410 (API required for setting IM mode in
2675 HildonTouchSelectorEntry)
2677 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2679 * configure.ac: post release version bump.
2680 * debian/changelog: version bump
2682 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2687 * configure.ac: Bump version.
2688 * debian/changelog: Updates.
2690 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2692 * src/hildon-touch-selector.c:
2693 (_hildon_touch_selector_has_multiple_selection): No need
2694 to initialize the variables here.
2696 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2698 * src/hildon-note-private.h
2699 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2700 (hildon_note_finalize, hildon_note_rebuild): Close information
2701 notes when they receive a button press.
2703 Fixes: NB#89890 (Information notes does not get disappeared after
2706 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2708 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2709 mark from the wizard title, as it's not really necessary. Also,
2710 do not display the page title if not set.
2712 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2714 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2715 (parent_window_hidden): Use the window's "is-topmost" property to
2716 detect when to hide the menu.
2718 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2720 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2721 (hildon_app_menu_finalize): If the parent window of the menu is
2722 hidden, hide the menu too.
2724 Fixes: NB#94460 (stackable window's menu is not closed when its
2727 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2730 * debian/libhildon1-examples.install
2732 * examples/Makefile.am:
2733 Use dh_install to install all examples.
2734 Use DEB_SRCDIR instead of defining SOURCE_DIR
2736 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2738 * configure.ac: post release version bump.
2739 * debian/changelog: version bump
2741 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2746 * configure.ac: bump version
2747 * debian/changelog: updates
2748 * debian/control: bump gtk+ dependency
2750 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2752 patch by Christian Dywan (christian@imendio.com)
2754 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2755 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2757 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2759 * src/hildon-check-button.c (hildon_check_button_init)
2760 (hildon_check_button_class_init, hildon_check_button_style_set)
2761 (hildon_check_button_apply_style):
2762 New "checkbox-size" style property.
2764 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2765 larger / configurable size)
2767 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2769 * configure.ac: post release version bump.
2770 * debian/changelog: version bump
2772 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2777 * configure.ac: bump version
2778 * debian/changelog: updates
2780 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2782 * doc/hildon-sections.txt
2783 * src/hildon-pannable-area.c
2784 * src/hildon-program.c
2785 * src/hildon-time-editor.c
2786 * src/hildon-touch-selector-entry.c:
2788 More documentation updates.
2790 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2792 * doc/hildon-sections.txt
2793 * src/hildon-caption.c
2794 * src/hildon-code-dialog.c
2795 * src/hildon-color-button.c
2796 * src/hildon-controlbar.c
2797 * src/hildon-date-editor.c
2798 * src/hildon-date-selector.c
2799 * src/hildon-edit-toolbar.c
2800 * src/hildon-find-toolbar.c
2801 * src/hildon-font-selection-dialog.c
2803 * src/hildon-program.c
2804 * src/hildon-range-editor.c
2805 * src/hildon-seekbar.c
2806 * src/hildon-time-editor.c
2807 * src/hildon-time-selector.c
2808 * src/hildon-volumebar-range.c
2809 * src/hildon-volumebar.c
2810 * src/hildon-vvolumebar.c
2811 * src/hildon-weekday-picker.c
2812 * src/hildon-window.c
2813 * src/hildon-wizard-dialog.c:
2815 Lots of documentation fixes.
2817 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2819 Patch contributed by Iván Gómez (igomez@igalia.com)
2821 * src/hildon-check-button.c:
2822 * src/hildon-date-button.c:
2823 * src/hildon-date-selector.c:
2824 * src/hildon-dialog.c:
2825 * src/hildon-edit-toolbar.c:
2826 * src/hildon-entry.c:
2827 * src/hildon-picker-button.c:
2828 * src/hildon-program.c:
2829 * src/hildon-text-view.c:
2830 * src/hildon-time-button.c:
2831 * src/hildon-touch-selector-entry.c:
2832 * src/hildon-window-stack.c:
2834 Add more "since" tags to the new API.
2836 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2838 * doc/hildon-sections.txt: Add below method.
2839 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2840 version for the hildonized scale.
2841 * src/hildon-gtk.h: Add the definition.
2843 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2845 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2847 * doc/hildon-sections.txt: Add missing entries for new methods.
2849 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2851 Added API to pannable are in order to get its adjustments. We
2852 added two properties to manage the values we had in the private
2855 * src/hildon-pannable-area.c:
2856 (hildon_pannable_area_class_init): Added hadjustment and
2857 vadjustment properties in order to expose horizontal and vertical
2859 (hildon_pannable_area_get_property),
2860 (hildon_pannable_area_set_property): Added code to handle the new
2862 (hildon_pannable_area_get_hadjustment),
2863 (hildon_pannable_area_get_vadjustment): API functions to get the
2865 * src/hildon-pannable-area.h:
2866 (hildon_pannable_area_get_hadjustment),
2867 (hildon_pannable_area_get_vadjustment): API functions to get the
2870 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2872 Fixed some leaks, after valgrinding.
2874 * src/hildon-touch-selector.c:
2875 (_default_print_func): Fixed a leak.
2876 (hildon_touch_selector_append_column): Fixed a leak.
2877 * src/hildon-date-button.c:
2878 (hildon_date_button_init): Fixed a leak.
2879 * src/hildon-date-selector.c
2880 (hildon_date_selector_finalize): Fixed a leak.
2882 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2884 Based on a patch by Christian Dywan (christian@imendio.com)
2886 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2888 * src/hildon-gtk.h: Add definition.
2890 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2892 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2894 * src/hildon-picker-button.c: (hildon_picker_button_init),
2895 (hildon_picker_button_new): Set the HildonButton::style property
2896 in the init method, to propagate the value to the derived classes.
2898 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2900 * src/hildon-button.c: (hildon_button_class_init): Do not make
2901 the "style" property a construct property.
2903 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2905 * src/hildon-wizard-dialog.h
2906 * src/hildon-wizard-dialog.c
2907 (hildon_wizard_dialog_set_forward_page_func)
2908 * src/hildon-pannable-area.h
2909 * src/hildon-pannable-area.c
2910 (hildon_pannable_area_set_size_request_policy):
2911 Documentation fixes.
2913 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2915 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2917 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2919 * doc/hildon-sections.txt: Added sections file.
2921 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2924 * src/*.[ch]: Updates.
2926 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2928 * examples/hildon-progress-indicator-example.c: new file
2929 * examples/Makefile.am: include the new example program
2931 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2933 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2935 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2937 * configure.ac: post release version bump
2938 * debian/changelog: version bump
2940 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2945 * configure.ac: bump version
2946 * debian/changelog: updates
2947 * debian/control: bump gtk+ dependency
2949 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2951 * src/hildon-dialog.c: Mark as deprecated.
2952 * src/hildon-dialog.h: Mark as deprecated.
2953 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2954 from HildonDialog and still work, even if
2955 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2956 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2958 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2959 maemo changes) instead)
2961 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2963 * src/hildon-pannable_area.h:
2964 * src/hildon-pannable_area.c:
2965 (hildon_pannable_area_class_init),
2966 (hildon_pannable_area_set_property),
2967 (hildon_pannable_area_get_property),
2968 (hildon_pannable_area_size_request),
2969 (hildon_pannable_area_get_size_request_policy),
2970 (hildon_pannable_area_set_size_request_policy): Added new API
2971 allowing applications to control the request policy. Now they can
2972 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2973 children allocation (HILDON_MOVEMENT_CHILDREN).
2975 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2979 (hildon_gtk_tree_view_set_ui_mode)
2980 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2981 mode of treeviews and iconviews.
2983 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2985 * src/hildon-touch-selector-entry.c:
2986 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2987 of a GtkEntry to get proper theming.
2989 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2990 widget, not GtkEntry)
2992 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2994 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2995 no HildonWizardDialogPageFunc.
2997 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2999 Patch contributed by Iván Gómez (igomez@igalia.com)
3001 * src/hildon-app-menu.c:
3002 * src/hildon-button.c:
3003 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3004 * src/hildon-stackable-window.c:
3005 * src/hildon-time-selector.c:
3006 * src/hildon-touch-selector.c:
3007 * src/hildon-window.c:
3009 Add more "since" tags to the new API in hildon 2.2.
3011 2008-12-05 Tim Janik <timj@imendio.com>
3013 Patch contributed by Christian Dywan (christian@imendio.com)
3015 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3016 HildonSizeType, which are supplied by Gtk+ now.
3018 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3020 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3021 (with maemo changes) instead)
3023 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3025 Patch contributed by Iván Gómez (igomez@igalia.com)
3027 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3030 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3032 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3033 (some_page_func), (main): Update the example to use a
3034 HildonWizardDialogPageFunc function.
3036 * src/hildon-wizard-dialog-private.h: Add private data for
3037 the HildonWizardDialogPageFunc function usage.
3039 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3040 (destroy), (hildon_wizard_dialog_init), (response),
3041 (hildon_wizard_dialog_set_forward_page_func):
3042 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3043 that applications can use to stop a HildonWizardDialog to jump to
3046 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3049 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3051 * src/hildon-program.h
3052 * src/hildon-program-private.h
3053 * src/hildon-program.c (hildon_program_init)
3054 (hildon_program_set_common_app_menu)
3055 (hildon_program_get_common_app_menu):
3056 New API for setting a common HildonAppMenu for all
3057 HildonStackableWindows registered with the HildonProgram.
3059 * src/hildon-stackable-window.c
3060 (hildon_stackable_window_toggle_menu):
3061 Use the common HildonAppMenu if a window doesn't have a specific
3064 * src/hildon-app-menu-private.h
3065 * src/hildon-app-menu.c
3066 (hildon_app_menu_get_parent_window):
3067 Function to obtain the window a HildonAppMenu is attached to.
3068 (hildon_app_menu_set_parent_window):
3069 Hide the menu if the parent window is set to NULL.
3071 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3073 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3074 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3075 search widget to popup.
3077 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3079 * configure.ac: post release version bump
3080 * debian/changelog: version bump
3082 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3087 * configure.ac: bump version
3088 * debian/changelog: updates
3090 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3092 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3094 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3095 (hildon_window_stack_window_realized)
3096 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3097 Set the leader GdkWindow when a window is stacked and realized,
3098 unset it when it's unstacked.
3099 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3101 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3103 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3105 * src/hildon-stackable-window.h
3106 * src/hildon-window-stack.h:
3107 Protect definition of HildonWindowStack using the preprocessor.
3109 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3111 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3112 Fix warning if all menu items are hidden.
3114 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3116 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3118 * src/hildon-controlbar.c:
3119 * src/hildon-hvolumebar.c:
3120 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3121 Multiple scale size defines updates.
3123 Fixes: NB#94322 (Scale Updates)
3125 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3127 * examples/hildon-app-menu-example.c (create_menu)
3128 Show items after adding them to the menu, as in the future the
3129 menu will no longer call gtk_widget_show() on the added items.
3131 * src/hildon-app-menu.c:
3132 Update example as explained above.
3134 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3136 * src/hildon-app-menu.c
3137 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3138 Make sure that all menu items have finger height.
3140 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3142 * src/hildon-picker-dialog.c:
3143 (_on_dialog_response), (_save_current_selection),
3144 (_restore_current_selection), (_clean_current_selection),
3145 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3146 Defined new functions in order to save the current internal selector
3147 selection previous open the dialog, in case that the use cancel the
3148 interaction, so the widget restores the previous selection.
3150 Fixes: NB#92032 (In calendar application, date values in 'new event'
3153 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3155 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3157 * src/hildon-button.c: Add a reference to the button examples in
3158 hildon-button-example.c
3160 * examples/hildon-button-example.c: Added examples of the most
3161 common button layouts.
3163 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3165 * src/hildon-app-menu.c (hildon_app_menu_show)
3166 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3168 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3170 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3172 * src/hildon-picker-dialog.c:
3173 (hildon_picker_dialog_init): Initialize the signal id for
3174 HildonTouchSelector::columns-changed.
3175 (+on_selector_columns_changed): Set up the interaction mode everytime a
3176 column is added or removed from the HildonTouchSelector.
3177 (_hildon_picker_dialog_set_selector): Connect to
3178 HildonTouchSelector::columns-changed and keep track of it.
3180 Make sure to update the interaction mode of the dialog everytime a
3181 column is added or removed in the HildonTouchSelector.
3183 Fixes: NB#93228 (Done button is not shown always in listpicker)
3185 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3187 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3188 a new ::columns-changed signal.
3189 (hildon_touch_selector_append_column): Emit ::columns-changed.
3190 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3192 Add a ::columns-changed signal, emitted when the number of columns in a
3193 HildonTouchSelector changes.
3195 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3197 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3198 (_hildon_picker_dialog_set_selector): Factor out the code
3199 to set up the dialog interaction mode.
3201 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3203 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3204 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3205 to signal_changed_id.
3207 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3209 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3212 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3214 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3215 Updated the logical ids related to ampm format, as now it is required to
3216 show it correctly localized even on languages with no default
3217 abbreviations for am or pm
3218 (_check_am_pm_format): check correctly the 24h format gconf property
3220 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3222 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3224 * src/hildon-button.c: Documentation updates.
3226 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3228 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3229 * src/hildon-caption.c: (hildon_caption_class_init):
3230 * src/hildon-color-button.c: (hildon_color_button_class_init):
3231 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3232 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3233 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3234 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3236 Remove deprecated GTK+ marshalers and replace them with the ones
3237 provided by GLib, for those available, add a marshaler for
3238 BOOLEAN:VOID, which is not available in GLib, and use it.
3240 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3242 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3243 the text from the previous column if there is no
3244 HildonTouchSelectorColumn::text-property set.
3246 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3248 * src/hildon-button.h
3249 * src/hildon-button.c (hildon_button_set_property)
3250 (hildon_button_get_property, hildon_button_class_init)
3251 (hildon_button_set_style, hildon_button_get_style):
3252 New "style" property to change the visual appearance of the
3255 * src/hildon-picker-button.c (hildon_picker_button_new):
3256 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3258 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3259 HildonButton look like PickerButton)
3261 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3263 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3264 column while building the default string.
3266 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3268 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3269 scroll indicator by default.
3271 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3273 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3275 * src/hildon-main.c: Fix the documentation for hildon_init()
3277 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3279 * doc/hildon-docs.sgml
3283 * src/hildon-window-stack-private.h
3284 * src/hildon-window-stack.h
3285 * src/hildon-window-stack.c:
3286 New HildonWindowStack object, that adds support for multiple
3287 stacks of windows per process.
3289 * src/hildon-stackable-window-private.h
3290 * src/hildon-stackable-window.h
3291 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3292 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3293 (hildon_stackable_window_show, hildon_stackable_window_hide)
3294 (hildon_stackable_window_class_init)
3295 (hildon_stackable_window_init):
3296 Use HildonWindowStack for stack management.
3298 * src/hildon-program.c (hildon_program_pop_window_stack)
3299 (hildon_program_peek_window_stack)
3300 (hildon_program_go_to_root_window):
3301 Add a fallback implementation to the deprecated functions using
3304 * examples/hildon-stackable-window-example.c:
3305 Use the new HildonWindowStack API.
3307 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3309 * src/hildon-stackable-window-private.h
3310 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3311 (hildon_stackable_window_hide, hildon_stackable_window_init):
3312 Remove all window stack management.
3314 * src/hildon-program-private.h
3315 * src/hildon-program.h
3316 * src/hildon-program.c (hildon_program_init)
3317 (hildon_program_pop_window_stack)
3318 (hildon_program_peek_window_stack)
3319 (hildon_program_go_to_root_window):
3320 Remove all window stack management and mark functions as
3323 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3325 * src/hildon-app-menu.c (hildon_app_menu_realize):
3326 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3328 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3330 * configure.ac: post release version bump
3331 * debian/changelog: version bump
3333 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3338 * configure.ac: bump version
3339 * debian/changelog: updates
3341 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3343 Based on initial code by Christian Dywan (christian@imendio.com)
3345 * doc/hildon-docs.sgml: Add section for hildon-main.
3346 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3347 * src/Makefile.am: Add new hildon-main.[ch]
3348 * src/hildon-defines.h: Update the icon sizes.
3349 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3350 new library initialization files and register icon sizes.
3351 * src/hildon-main.h: New declarations.
3352 * src/hildon.h: Include hildon-main.h
3354 Add new initialization functions to the library. These methods
3355 will register the hildon specific icon sizes and can be used in the
3356 future for other hildon specific bits.
3358 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3360 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3362 * src/hildon-window.c: (hildon_window_realize),
3363 (hildon_window_notify), (-hildon_window_update_title): Do not set
3364 the application name in the window title.
3366 Fixes: NB#89754 (Applications shouldn't display their names in the
3369 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3371 * src/hildon-note-private.h:
3372 * src/hildon-note.c: (hildon_note_set_property),
3373 (hildon_note_get_property), (hildon_note_class_init),
3374 (hildon_note_init), (hildon_note_finalize),
3375 (hildon_note_new_confirmation_with_icon_name),
3376 (hildon_note_new_information_with_icon_name):
3378 No need to mark as deprecated the actual code. Revert
3379 to avoid missing symbols in widgets using deprecated API.
3381 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3383 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3385 * src/hildon-volumebar.h
3386 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3387 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3389 * src/hildon-helper.h
3390 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3391 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3393 * examples/Makefile.am:
3394 Deprecate hildon-insensitive-example
3396 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3398 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3400 * examples/hildon-pannable-area-buttons-scroll-example.c:
3401 Make all buttons finger height
3403 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3405 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3407 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3408 update the day model only if it is really required, and to avoid the
3409 full-reconstruction aproach. Now it only add or remove the required days.
3411 The purpose of this is avoid superfluous HildonTouchSelector::changed
3414 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3415 with strange parameters)
3417 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3419 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3421 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3422 the WINDOW_TYPE property.
3424 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3426 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3429 Fix dependency to allow parallel compilation with make -jX
3431 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3433 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3434 color frame and some minor tweaks to make it more consistent with
3437 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3438 highlighted but not visible)
3440 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3442 * examples/Makefile.am: Fixed typo in the Makefile.am.
3444 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3446 Reviewed the use of MAEMO_GTK define, now we add the define in the
3447 compilation line, and we also add it to the pc file.
3449 * configure.ac: Added MAEMO_GTK define to the compilation command
3450 and removed it from the config.h.
3452 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3453 do not have to take care about this define if the library was
3457 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3459 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3461 * examples/Makefile.am,
3462 * examples/hildon-pannable-area-buttons-scroll-example.c,
3463 * examples/hildon-pannable-area-gesture-signals-example.c,
3464 * examples/hildon-pannable-area-scroll-jump-example.c,
3465 * examples/hildon-pannable-area-tree-view-example.c:
3466 Renamed the pannable area examples, now they have more meaningful
3469 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3471 * src/hildon-touch-selector.c:
3472 (hildon_touch_selector_set_column_selection_mode): Used of
3473 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3474 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3475 to avoid re-seting the same selection mode.
3477 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3478 breaks HildonPickerDialog)
3480 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3482 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3483 conditional in the Makefile.am
3485 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3487 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3488 Remove unused methods.
3490 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3492 * src/hildon-button.c (hildon_button_init):
3493 Make button images center-aligned by default
3495 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3498 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3499 activated, we have to think about how to deal with both defines
3500 MAEMO_GTK and MAEMO_CHANGES.
3502 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3504 * examples/hildon-app-menu-example.c (create_menu): Make all
3505 buttons finger size.
3507 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3509 Fixed the compilation without maemo gtk adding ifdefs with
3510 MAEMO_GTK define to the code, we have to check this version more
3513 * examples/Makefile.am: Added control to avoid some examples that
3514 just make sense with maemo gtk.
3517 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3518 hildon modes with the define.
3520 * examples/hildon-edit-toolbar-example.c,
3521 (create_icon_view): Create the icon view without hildon-gtk
3522 helpers if we are not using maemo gtk.
3524 * src/hildon-touch-selector.c,
3525 (_create_new_column): Create the treeview without hildon-gtk
3526 helpers if we are not using maemo gtk.
3528 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3530 * src/hildon-pnnable-area.c,
3531 (hildon_pannable_area_dispose),
3532 (hildon_pannable_area_button_press_cb),
3533 (hildon_pannable_area_child_mapped),
3534 (hildon_pannable_area_add),
3535 (hildon_pannable_area_remove): Added code to control the position
3536 of the event_window when adding and removing children from the
3537 pannable. We have to raise the event window when the child is
3540 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3541 selection mode using custom widget inside pannable)
3543 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3545 * configure.ac: post release version bump
3546 * debian/changelog: version bump
3548 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3553 * configure.ac: bump version
3554 * debian/changelog: updates
3556 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3558 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3559 search mode, in order to avoid lose the focus on the treeview when
3560 a hw key (like enter) is pressed.
3562 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3563 in HildonDateSelector dialog)
3565 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3567 * debian/rules: Added --enable-maintainer-mode
3568 * Makefile.am: Added ACLOCAL_AMFLAGS
3570 This allows to properly regenerate the Makefiles if you modify the
3571 configure.ac or any Makefile.am.
3573 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3575 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3576 properties, not needed at all.
3578 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3580 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3582 * src/hildon-note.c: (hildon_note_set_property),
3583 (hildon_note_get_property), (hildon_note_class_init),
3584 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3585 (hildon_note_new_confirmation_add_buttons): Remove icons.
3586 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3587 (hildon_note_new_information_with_icon_name): Deprecate.
3588 (hildon_note_new_confirmation): Act directly, without calling
3589 the deprecated constructor.
3590 (hildon_note_new_information): Act directly, without calling
3591 the deprecated constructor.
3592 * src/hildon-note.h: Mark deprecate methods as such.
3593 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3594 not run tests on the deprecated methods if built with deprecation
3597 Fixes: NB#91688 (Never show icons in information notes/confirmation
3600 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3602 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3603 (hildon_app_menu_key_press): Remove leftover usage of the
3604 private structure in HildonAppMenu struct.
3605 * src/hildon-app-menu.h: Remove leftover private structure
3606 from the HildonAppMenu struct.
3608 Fixes a crasher when using the HildonAppMenu.
3610 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3612 * src/hildon-picker-dialog.c: Use appropriate logical id
3613 for the default "Done" text.
3615 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3617 * configure.ac: post release version bump
3618 * debian/changelog: version bump
3620 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3622 Modified the way to scroll to the current selection just when the touch
3623 selector is shown on the screen, avoiding a g_idle. Added too a property
3624 to configure this behaviour. See hildon_pannable_area_jump_to_child
3625 documentation for more information.
3627 * src/hildon-touch-selector.c
3628 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3629 Added 'initial-scroll' property
3630 (hildon_touch_selector_set_property): Added
3631 (hildon_touch_selector_map): Removed as not required anymore
3632 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3633 only a concrete column, instead of iterate along all the columns
3635 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3640 * configure.ac: bump version
3641 * debian/changelog: updates
3643 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3645 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3646 compilation time warnings.
3648 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3650 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3651 the default value for HildonPannableArea::mov-mode to
3652 HILDON_PANNABLE_AREA_MODE_VERT.
3654 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3656 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3658 Reverting following commit:
3660 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3662 * src/hildon-app-menu-private.h
3663 * src/hildon-app-menu.[ch]
3664 * src/hildon-button.[ch]
3665 * src/hildon-check-button.[ch]
3666 * src/hildon-entry.[ch]
3667 * src/hildon-pannable-area.[ch]
3668 * src/hildon-text-view.[ch]:
3669 Added private field to the object's structure.
3671 because it causes an ABI breakage. We will need to introduce these
3672 changes later at some point. See NB#91636 for an extensive
3673 explanation and status.
3675 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3677 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3679 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3680 remove special cases that are no longer necessary.
3682 Fixes: NB#91016 (Change toolbar sizes, simplification)
3684 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3686 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3687 is shown in the cancel note.
3689 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3691 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3692 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3693 (hildon_seekbar_init): Remove steppers, remove expose event.
3694 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3696 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3698 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3700 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3701 label font to "SmallSystemFont" for vertically arranged buttons.
3703 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3706 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3708 * src/hildon-check-button.c
3709 (hildon_check_button_set_active, hildon_check_button_clicked):
3710 Don't access private parts directly, use getters instead.
3712 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3714 * src/hildon-check-button.c (hildon_check_button_new):
3715 Align the contents of the check button to the left.
3717 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3719 * src/hildon-pannable-area.c,
3720 (hildon_pannable_area_scroll_to),
3721 (hildon_pannable_area_jump_to),
3722 (hildon_pannable_area_scroll_to_child),
3723 (hildon_pannable_area_jump_to_child): Replace the mapped
3724 precondition of these functions with the realized, it is the
3725 correct state of the widget in this case. Changed the
3726 documentation according to this modification.
3728 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3730 Added a new EXTRA_CFLAGS option to add the deprecated define to
3731 the compilation command. This way we can avoid using the define in
3732 the documentation compilation.
3734 * configure.ac: Defined EXTRA_CFLAGS.
3736 * examples/Makefile.am:
3738 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3740 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3742 * src/hildon-picker-dialog.c:
3743 Defined a utility macro with the desired touch selector height
3744 Removed currently unused separator, and title_label variables from
3746 (hildon_picker_dialog_init): Removed code related to the creation
3747 of unused private variables title_label and separator.
3748 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3749 to ensure correct visualization of the touch selector inside the dialog.
3750 * src/hildon-touch-selector.c
3751 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3752 ensure a concrete height of the widget.
3754 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3757 * tests/Makefile.am:
3759 Remove spurious whitespaces.
3761 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3763 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3764 compilation warning after the cancel button removal.
3766 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3768 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3770 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3771 Makefile.am, that way we can choose not to compile some examples
3772 and tests of the deprecated widgets.
3774 * examples/Makefile.am: Divided the sources in deprecated and
3777 * src/Makefile.am: Added undef statement of the deprecated
3778 symbol to the enums file generation process.
3780 * src/hildon-color-chooser-dialog.c
3781 * src/hildon-color-chooser-dialog.h
3782 * src/hildon-color-button.c
3783 * src/hildon-color-button.h
3784 * src/hildon-color-chooser.c
3785 * src/hildon-color-chooser.h
3786 * src/hildon-controlbar.c
3787 * src/hildon-controlbar.h
3788 * src/hildon-date-editor.c
3789 * src/hildon-date-editor.h
3790 * src/hildon-hvolumebar.c
3791 * src/hildon-hvolumebar.h
3792 * src/hildon-private.c
3793 * src/hildon-private.h
3794 * src/hildon-range-editor.c
3795 * src/hildon-range-editor.h
3796 * src/hildon-seekbar.c
3797 * src/hildon-seekbar.h
3798 * src/hildon-time-editor.c
3799 * src/hildon-time-editor.h
3800 * src/hildon-time-picker.c
3801 * src/hildon-time-picker.h
3802 * src/hildon-volumebar.c
3803 * src/hildon-volumebar.h
3804 * src/hildon-vvolumebar.c
3805 * src/hildon-vvolumebar.h
3806 * src/hildon-bread-crumb-trail.h
3807 * src/hildon-bread-crumb-trail.c
3808 * src/hildon-calendar-popup.c
3809 * src/hildon-calendar-popup.h
3810 * src/hildon-weekday-picker.c:
3811 * src/hildon-weekday-picker.h:
3812 * src/hildon-bread-crumb-widget.c:
3813 * src/hildon-bread-crumb-widget.h:
3814 * src/hildon-bread-crumb.c:
3815 * src/hildon-bread-crumb.h:
3816 * src/hildon-calendar.c:
3817 * src/hildon-calendar.h:
3818 * src/hildon-caption.c:
3819 * src/hildon-code-dialog.c:
3820 * src/hildon-code-dialog.h:
3821 * src/hildon-font-selection-dialog.c:
3822 * src/hildon-font-selection-dialog.h:
3823 * src/hildon-get-password-dialog.c:
3824 * src/hildon-get-password-dialog.h:
3825 * src/hildon-login-dialog.c:
3826 * src/hildon-login-dialog.h:
3827 * src/hildon-number-editor.c:
3828 * src/hildon-number-editor.h:
3829 * src/hildon-set-password-dialog.c:
3830 * src/hildon-set-password-dialog.h:
3831 * src/hildon-sort-dialog.c:
3832 * src/hildon-sort-dialog.h: This is the list of deprecated
3835 * src/hildon-touch-selector.c:
3836 * src/hildon-window.c: Added undef statement to avoid compilation
3839 * tests/Makefile.am: Divided the sources in deprecated and
3842 * tests/check_test.c,
3843 (configure_tests): Marked the deprecated code that was adding
3844 suites with deprecated tests.
3846 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3848 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3850 * src/hildon-touch-selector.c: (_default_print_func): Do not
3851 duplicate a string returned by gtk_tree_model_get(), it is already
3854 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3857 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3859 * src/hildon-pannable-area.c
3860 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3861 method, it had problems when adding a widget with viewport the
3862 second time. Now checks if it already has a viewport and uses it.
3864 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3867 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3869 * src/hildon-pannable-area.c,
3870 (hildon_pannable_area_scroll_to),
3871 (hildon_pannable_area_jump_to),
3872 (hildon_pannable_area_scroll_to_child),
3873 (hildon_pannable_area_jump_to_child): Added a precondition to the
3874 scroll and jump to functions: the widget must be mapped before we
3875 can safely call these functions. We have also added documentation
3876 to the functions to explain how to use them in this situation.
3879 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3881 Reviewed the threading handling of the pannable widget, we have
3882 used the gdk_threads_add_timeout function instead of the usual
3883 glib handlers. This avoids some problems with the threads.
3885 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3886 (hildon_pannable_area_initial_effect),
3887 (hildon_pannable_area_scroll_indicator_fade),
3888 (hildon_pannable_area_button_press_cb),
3889 (hildon_pannable_area_timeout),
3890 (hildon_pannable_area_motion_notify_cb),
3891 (hildon_pannable_area_button_release_cb),
3892 (hildon_pannable_area_scroll_cb),
3893 (hildon_pannable_area_scroll_to): Removed the
3894 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3895 gdk_threads_add_timeout.
3897 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3899 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3904 * configure.ac: bump version
3905 * debian/changelog: updates
3907 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3909 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3910 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3911 * src/hildon-color-chooser-dialog.c:
3912 (hildon_color_chooser_dialog_init):
3913 * src/hildon-font-selection-dialog.c:
3914 (hildon_font_selection_dialog_init):
3915 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3917 Remove all cancel/close-like dialogs, as these are not going to be
3920 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3922 * src/hildon-note.c: (hildon_note_rebuild),
3923 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3926 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3928 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3930 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3931 sure all buttons are shown, even the Cancel/Close-like ones.
3933 Fixes: NB#90861 (Custom Confirmation dialogs should be
3934 protected from cancel button removal)
3936 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3938 * debian/control: Change libhildon1-examples dependency from libhildon1
3940 * debian/libhildon1-examples.install
3942 * Makefile.am: Modified the final install directory for the examples on
3943 package libhildon1-examples
3944 * Makefile.static: Update clean target in order to remove all the binary
3947 Changes suggested by Claudio after review new libhildon1-examples package
3949 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3951 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3952 * src/hildon-touch-selector.c: Ditto.
3954 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3956 * debian/control: Added new package libhildon1-examples, in order to pack
3957 the current hildon examples as documentation
3958 * debian/rules: Not to compress .c files, modify some includes on the
3959 examples (as normally are compiled locally, but when installed it will
3960 require to include the installed libhildon1 library), and rename
3962 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3963 install all the example files on the new example package
3964 * examples/Makefile.static: Added static makefile that can be used to
3965 compile the examples, once installed the new example package
3966 * examples: Most of the examples were modified in order to grant that
3967 all use only '#include "hildon.h"', in order to be easy to prepare
3968 it on the example package
3970 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3973 * debian/libhildon1-dev.install
3974 * debian/libhildon1-doc.install:
3975 Move all gtk-doc files to a separate libhildon1-doc package.
3977 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3979 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3981 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3983 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3985 * debian/rules: Fixed a error in order to avoid unnecessary calls
3986 to autogen.sh on package building
3988 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3990 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3992 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3994 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3997 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3999 * src/hildon-picker-button.c
4000 (hildon_picker_button_finalize):
4001 Free priv->done_button_text
4003 * src/hildon-time-button.c
4004 (hildon_time_button_set_time)
4005 * src/hildon-picker-button.c
4006 (hildon_picker_button_clicked)
4007 (hildon_picker_button_selector_selection_changed)
4008 (hildon_picker_button_set_selector)
4009 * src/hildon-date-button.c
4010 (hildon_date_button_set_date):
4011 Free strings returned by hildon_touch_selector_get_current_text()
4013 * src/hildon-button.c (hildon_button_construct_child):
4014 Fix leaks in priv->image and priv->label_box
4016 Fixes: NB#90535 (Memory leak in picker button)
4018 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4020 * src/hildon-button.c: (hildon_button_get_property): Do not access
4021 private elements directly, use getters instead.
4023 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4025 * src/hildon-app-menu-private.h
4026 * src/hildon-app-menu.c
4027 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4028 Store the menu's parent window.
4030 * src/hildon-stackable-window.c
4031 (hildon_stackable_window_toggle_menu)
4032 (hildon_stackable_window_finalize):
4033 Set the menu's parent window when the menu is shown, unset it when
4036 * src/hildon-app-menu.c
4037 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4038 (hildon_app_menu_class_init):
4039 Send unhandled keyboard accelerators to the parent window.
4041 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4043 * src/hildon-stackable-window.c
4044 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4046 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4048 * configure.ac: post release version bump
4050 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4053 * configure.ac: Bump version
4054 * debian/changelog: Updates
4055 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4058 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4060 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4063 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4064 GtkMenu with Hildon style.
4066 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4068 * src/hildon-picker-button.c:
4069 (hildon_picker_button_set_done_button_text): Set the dialog's
4070 done button text here as well.
4072 Fixes: NB#90232 (Picker button does not set the label on done button
4073 for the second time)
4075 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4077 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4080 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4082 * src/hildon-app-menu.c (hildon_app_menu_insert)
4083 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4084 the HildonAppMenu to be activatable using keyboard accelerators
4085 when the menu is not being shown.
4087 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4089 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4091 * src/hildon-stackable-window.c
4092 (hildon_stackable_window_show):
4093 Don't hide old windows automatically when new windows are shown:
4094 this is now a task for the window manager.
4095 (hildon_stackable_window_class_init)
4096 (hildon_stackable_window_hide):
4097 Remove windows from the stack everytime they're hidden.
4098 (hildon_stackable_window_realize):
4099 Don't change the _NET_WM_WINDOW_TYPE property. Use
4100 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4101 it as a stackable window.
4103 * src/hildon-program.c
4104 (hildon_program_pop_window_stack):
4105 Just hide the window to remove it from the stack.
4106 (hildon_program_go_to_root_window):
4107 Don't call gtk_widget_show(), this is now a task for the window
4110 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4112 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4114 * src/hildon-button.c
4115 (hildon_button_construct_child):
4116 Don't pack anything in the button until text or image are
4117 set. This allows adding a custom child after creating the button
4118 with hildon_button_new().
4119 (hildon_button_finalize, hildon_button_class_init)
4120 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4121 alignment and the label box even when they're not packed in the
4124 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4126 * src/hildon-touch-selector.h:
4127 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4128 currently the type definition was using GTK_TYPE_VBOX
4129 * src/hildon-touch-selector.c:
4130 Added some implementation notes in order to clarify that any other widget
4131 added without the column related API will not be included on the
4132 selection logic, and how the widget is freed, as some people ask about
4134 (hildon_touch_selector_remove): Reimplemented in order to free properly
4135 the column related data when you remove the private hbox.
4136 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4137 to get a proper HildonTouchSelectorColumn documentation
4139 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4141 * src/hildon-touch-selector-entry.c:
4142 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4143 text in the GtkEntry and there is no item selected. Fixes a
4146 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4148 * src/hildon-app-menu-private.h
4149 * src/hildon-app-menu.[ch]
4150 * src/hildon-button.[ch]
4151 * src/hildon-check-button.[ch]
4152 * src/hildon-entry.[ch]
4153 * src/hildon-pannable-area.[ch]
4154 * src/hildon-text-view.[ch]:
4155 Added private field to the object's structure.
4157 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4159 * configure.ac: post-release version bump
4161 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4165 * configure.ac: pre-release version bump
4167 * debian/changelog: updates.
4169 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4171 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4172 Disconnect the handler for HildonTouchSelector::changed.
4174 (hildon_picker_button_selector_selection_changed): Update the button
4175 value if the selection change was not triggered by the
4178 (hildon_picker_button_set_selector): connect to
4179 HildonTouchSelector::changed.
4181 Fixes: NB#89650 (Picker button is not updated, when selection in
4182 selector has changed)
4184 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4186 * src/hildon-picker-dialog.c
4187 (hildon_picker_dialog_realize): Removed as not required
4188 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4189 * src/hildon-picker-button.c
4190 (_current_selector_empty): New function, checks if the selector is empty
4191 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4192 if the current selector is empty, in order to avoid to show the dialog
4193 close the dialog in this case (and shows a g_warning).
4195 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4197 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4199 * src/hildon-pannable-area.c,
4200 (hildon_pannable_area_scroll): Added clause to stop movement when
4201 the child of pannable is smaller than one page.
4202 (hildon_pannable_area_scroll_to): Added conditions to avoid
4203 starting the scrolling movement if the child is smaller than one
4204 page, the complete child is in the screen, we do not have to move.
4206 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4208 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4210 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4211 this is managed automatically by the widget when the size of the
4214 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4216 * src/hildon-picker-button.c
4217 (hildon_picker_button_set_done_button_text): Make a copy of the
4218 text, and free the previous value.
4220 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4222 * src/hildon-touch-selector-entry.c:
4223 (hildon_touch_selector_entry_print_func): Return the selected row's
4224 text if the entry is empty.
4226 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4229 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4231 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4233 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4236 * src/hildon-check-button.h
4237 * src/hildon-check-button.c
4238 * examples/hildon-check-button-example.c:
4239 HildonCheckButton is now a new widget. 'toggled' signal added.
4241 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4243 * src/hildon-program-private.h
4244 * src/hildon-program.c (hildon_program_init)
4245 (hildon_program_finalize): Removed unused variables group_leader
4246 and name from HildonProgramPrivate.
4248 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4250 * src/hildon-check-button.c (hildon_check_button_set_active)
4251 (hildon_check_button_get_active, hildon_check_button_new): Use
4252 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4254 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4256 * src/hildon-touch-selector.h
4257 (hildon_touch_selector_set_column_attributes): added deprecation
4258 guard HILDON_DISABLE_DEPRECATED
4259 * src/hildon-time-selector.c
4260 (hildon_time_selector_set_time)
4261 (hildon_time_selector_get_time): Fixed a typo on documentation
4262 * src/hildon-touch-selector.c: update HildonTouchSelector and
4263 HildonTouchSelectorColumn documentation
4264 * src/hildon-touch-selector-entry.c: update "text-column" property
4266 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4267 to be added to the general documentation.
4269 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4271 * examples/hildon-pannable-area-example-4.c,
4273 * examples/hildon-pannable-area-example.c,
4274 (main): Modified the code in order to use the container add, with
4275 viewport treeviews could have problems if they are really big.
4277 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4279 * src/hildon-weekday-picker.c,
4280 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4281 the agreement regarding deprecation in the library.
4283 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4285 * examples/hildon-picker-button-multicolumn-example.c:
4286 (main): Use custom "done" button text.
4288 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4289 (hildon_picker_button_set_property),
4290 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4291 (hildon_picker_button_init),
4292 (+hildon_picker_button_get_done_button_text),
4293 (+hildon_picker_button_set_done_button_text): New methods to customize
4294 the "done" button label in the launched HildonPickerDialog. Also,
4297 * src/hildon-picker-button.h: add the public API.
4299 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4301 * src/hildon-date-selector.h:
4302 * src/hildon-picker-dialog.h:
4303 * src/hildon-time-selector.h:
4304 * src/hildon-touch-selector-column.h:
4305 * src/hildon-touch-selector.h:
4307 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4308 declarations. Fixes gtk-doc warnings.
4310 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4312 * src/hildon-picker-dialog.h
4313 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4314 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4316 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4317 long text is set as label for done button)
4319 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4321 * src/hildon-dialog.c (hildon_dialog_add_button):
4322 Set fixed width to all buttons in the HildonDialog.
4324 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4326 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4328 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4329 Set widget name using class name plus "-finger" or "-thumb".
4331 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4333 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4334 'clicked' when the state of the button is manually changed.
4336 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4338 * src/hildon-app-menu.c (hildon_app_menu_realize)
4339 (hildon_app_menu_unrealize, hildon_app_menu_init)
4340 (hildon_app_menu_class_init, item_visibility_changed):
4341 Change the menu layout when the size of the screen changes.
4342 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4343 Show warning only when changing the number of colums using the
4346 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4348 * debian/compat: Set to 5
4349 * debian/control: Update dependencies.
4350 * debian/libhildon1-dbg.install: Remove.
4351 * debian/libhildon1-dev.install: Update according to cdbs paths.
4352 * debian/libhildon1.install: Update according to cdbs paths.
4353 * debian/rules: Switch to cdbs.
4355 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4357 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4358 'item' variable renamed to 'filter'
4360 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4362 * src/hildon-app-menu.c (hildon_app_menu_insert)
4363 (hildon_app_menu_add_filter, remove_item_from_list)
4364 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4365 Don't leak hidden items when the menu is destroyed.
4367 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4369 * src/hildon-app-menu.c (hildon_app_menu_insert)
4370 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4371 (hildon_app_menu_set_columns, item_visibility_changed)
4372 (filter_visibility_changed, hildon_app_menu_repack_filters)
4373 (hildon_app_menu_repack_items):
4374 Repack items and filters separately.
4376 Don't repack all items, change only the ones that are needed to
4379 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4381 * src/Makefile.am: added hildon-touch-selector-column.h
4383 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4385 * src/hildon-touch-selector.c: added the property "text-column" to the
4386 class HildonTouchSelectorColumn, and related get/set functions
4387 (_default_printf_func): updated to use "text-column" property
4388 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4389 "text-column" in his documentation, as this is now included on
4390 HildonTouchSelectorColumn. The get/set_property can still be used,
4391 working as a wrapper to the concrete column "text-column" property
4392 (_text_column_modified): callback added in order to handle the signal
4393 "notify::text-column" of the concrete HildonTouchSelectorColumn
4394 (hildon_touch_selector_entry_get_text_column)
4395 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4396 modified in order to use the HildonTouchSelectorColumn "text-column"
4398 * src/hildon-time-selector.c:
4399 * src/hildon-date-selector.c:
4400 * examples/hildon-touch-selector-example.c
4401 * examples/hildon-touch-selector-multi-cells-example.c
4402 * examples/hildon-picker-button-multicolumn-example.c
4403 Set the right value to "text-column" property on the creation of a new
4404 column using hildon_touch_selector_append_column()
4406 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4408 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4410 * src/hildon-app-menu.c
4411 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4412 updating the layout of the menu, don't create all widgets again,
4413 just repack the items in their new places.
4415 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4417 * src/hildon-time-selector.c
4418 (hildon_time_selector_get_time)
4419 (hildon_time_selector_set_time)
4420 Added documentation of these public methods
4422 * src/hildon-date-button.h
4423 * src/hildon-touch-selector-column.h
4424 * src/hildon-time-button.h
4425 * src/hildon-picker-dialog.h
4426 * src/hildon-time-selector.h
4427 * src/hildon-picker-button.h
4428 * src/hildon-touch-selector.h
4429 * src/hildon-time-picker.h
4430 * src/hildon-date-selector.h
4431 * src/hildon-touch-selector-entry.h
4432 Modified in order to use hildon-widgets code style
4434 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4436 Added deprecated support to the compilation process using
4437 HILDON_DISABLE_DEPRECATED
4439 * configure.ac: Added the --disable-deprecated to the configure
4442 * src/hildon-weekday-picker.c:
4443 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4444 to use the deprecated support. We will update the other deprecated
4445 widgets status in a new patch.
4447 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4449 * configure.ac: Fixed typo with fatal warnings support, the
4450 variable name was not correct
4452 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4454 * src/hildon-app-menu.c
4455 * src/hildon-program.c: Update documentation.
4457 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4459 * configure.ac: Post-release version bump.
4461 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4466 * configure.ac: Pre-release version bump.
4467 * debian/changelog: Updates.
4469 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4471 * NEWS: Update news for previous releases.
4473 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4475 * examples/hildon-touch-selector-multi-cells-example.c:
4476 (create_selector): Update the example to use
4477 hildon_touch_selector_append_column() with a NULL renderer and set
4478 the renderers later.
4479 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4480 passed a NULL renderer. This is documented behavior now.
4482 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4483 This must be used if the developer wants full control on the layout of
4484 the renderers to be added to the column.
4486 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4488 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4490 * src/hildon-touch-selector.c: Documentation fixes.
4492 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4494 * src/hildon-wizard-dialog-private.h: Remove image and box.
4495 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4496 (hildon_wizard_dialog_set_property), (response): Completely remove
4497 image/icon support, and the containers required for the layout.
4499 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4501 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4503 * src/hildon-app-menu.c: Updated documentation.
4505 * src/hildon-stackable-window.c
4506 (hildon_stackable_window_set_main_menu): Unref the old menu after
4507 ref'ing the new one.
4509 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4511 * src/hildon-stackable-window.c
4512 (hildon_stackable_window_set_main_menu): Unref the previous menu
4513 instead of destroying it.
4515 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4516 floating reference and set has_user_ref_count to FALSE to make
4517 HildonAppMenu act like a normal ref-counted widget and not a
4520 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4523 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4525 * src/hildon-touch-selector-column.h: new file
4526 * src/hildon-touch-selector.h
4527 * src/hildon-touch-selector.c
4528 Implemented GtkCellLayout interface, in order to allow to configure
4529 the cell layout on each individual selector column
4530 (hildon_touch_selector_set_column_attributes): marked as deprecated
4531 * examples/hildon-touch-selector-multi-cells-example.c
4532 Example of how to use the GtkCellLayout interface on the selector
4534 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4536 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4538 * src/hildon-app-menu.h
4539 * src/hildon-app-menu.c
4540 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4541 (hildon_app_menu_append, hildon_app_menu_prepend):
4542 New methods to prepend, insert and move items in the menu.
4544 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4546 * src/hildon-wizard-dialog.c:
4548 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4550 (create_title): Update logical IDs and related code.
4551 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4553 * src/hildon-wizard-dialog.h: Note that
4554 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4555 point, as it is not used anymore.
4557 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4559 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4561 * src/hildon-note.c:
4562 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4563 shown. Do not display an icon in confirmation notes nor information
4565 (hildon_note_set_button_text): Update logical ID for cancel button.
4567 Fixes: NB#88850 (Update HildonNote button strings + signals)
4569 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4571 * src/hildon-stackable-window.c
4572 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4574 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4576 * src/hildon-app-menu-private.h
4577 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4578 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4579 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4580 temporary property 'columns' to change the number of columns.
4582 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4584 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4586 * examples/hildon-note-example.c: (on_information_clicked),
4587 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4588 debugging information.
4589 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4591 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4592 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4593 in order to close: this will be handled by the WM from now on.
4595 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4597 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4599 * src/hildon-app-menu-private.h
4600 * src/hildon-app-menu.c
4601 (hildon_app_menu_append, hildon_app_menu_add_filter)
4602 (button_visibility_changed, hildon_app_menu_apply_style)
4603 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4604 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4605 layout everytime a button (item or filter) is shown or hidden.
4607 * src/hildon-stackable-window.c
4608 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4611 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4613 * src/hildon-touch-selector.c:
4614 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4615 that the treeview inside the touch selector is in fremantle hildon mode
4616 * examples/hildon-date-button-example.c
4617 * examples/hildon-picker-button-multicolumn-example.c
4618 * examples/hildon-touch-selector-entry-example.c
4619 * examples/hildon-touch-selector-example.c
4620 * examples/hildon-time-button-example.c
4621 * examples/hildon-picker-button-example.c:
4622 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4624 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4626 * examples/hildon-text-view-example.c: (main): Remove the
4627 gtkrc bits, now handled by the theme.
4629 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4631 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4634 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4636 * po/Makefile.am: Install properly the mo files.
4637 * po/en_GB.po: Update translation, to ease testing purposes.
4639 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4641 * examples/hildon-picker-button-example.c: (main): Select an item
4642 in the selector before setting it to the button.
4644 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4646 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4647 Update button's value if the selector has an item active.
4649 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4650 'value' with the selector)
4652 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4654 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4655 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4656 (hildon_picker_button_class_init): Plug the finalize method.
4657 (hildon_picker_button_set_selector): If there's a previously set
4658 selector, unref'it before setting a new one.
4660 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4661 HildonTouchSelector)
4663 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4665 * src/hildon-touch-selector-entry.c:
4666 (hildon_touch_selector_entry_changed): Check if there is no text
4667 selected before setting the entry text.
4670 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4672 * src/hildon-touch-selector.h
4673 * src/hildon-touch-selector.c
4674 (hildon_touch_selector_get_active)
4675 (hildon_touch_selector_set_active): New methods to set/get the
4676 index of the selected item.
4678 * src/hildon-picker-button.h
4679 * src/hildon-picker-button.c
4680 (hildon_picker_button_get_active)
4681 (hildon_picker_button_set_active): New methods to set/get the
4682 index of the selected item.
4684 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4686 * configure.ac: post-release version bump.
4688 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4692 * configure.ac: Pre-release version bump.
4693 * debian/changelog: Updates.
4694 * debian/control: Add myself as maintainer and depend on l10n
4697 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4699 * src/hildon-window.c
4700 (hildon_window_set_main_menu)
4701 * src/hildon-stackable-window.c
4702 (hildon_stackable_window_set_main_menu):
4703 Updated documentation.
4705 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4707 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4708 Don't free selector->priv manually.
4711 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4714 (hildon_gtk_window_set_progress_indicator):
4715 * src/hildon-gtk.h: Added the new API
4716 hildon_gtk_window_set_progress_indicator, it changes the state of
4717 the window progress hint.
4719 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4721 * src/hildon-button.c
4722 * src/hildon-stackable-window.c: Minor documentation updates.
4724 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4726 * src/hildon-stackable-window.c: Updated documentation.
4728 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4730 * src/hildon-defines.h: Update margins definitions
4731 to the Fremantle sizes.
4734 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4736 * src/hildon-touch-selector.c,
4737 (_hildon_touch_selector_set_model): Cleaning the code after
4738 review, removed g_print and #if 0 from the code.
4740 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4742 * src/hildon-edit-toolbar.c: Update documentation.
4744 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4746 * src/hildon-check-button.h
4747 * src/hildon-check-button.c
4748 (hildon_check_button_set_label, hildon_check_button_get_label)
4749 * examples/hildon-check-button-example.c
4750 (button_clicked_cb):
4751 Removed deprecated methods.
4753 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4755 * src/hildon-text-view.c:
4756 Add sample code to the documentation.
4758 * src/hildon-entry.h
4759 * src/hildon-text-view.h:
4760 Minor cosmetic changes.
4762 * src/hildon-entry.c:
4763 Add sample code to the documentation.
4764 (hildon_entry_init, hildon_entry_refresh_contents):
4765 Don't allow NULL values in the placeholder.
4767 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4769 * doc/hildon-docs.sgml
4771 * examples/Makefile.am
4772 * examples/hildon-text-view-example.c
4774 * src/hildon-text-view.c
4775 * src/hildon-text-view.h
4777 New HildonTextView widget, with example.
4779 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4781 * po/POTFILES.in: Add missing files with translatable strings.
4782 Partially fixes NB#88287.
4784 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4786 * examples/hildon-pannable-area-example-2.c: (main): No need to
4787 set the cellrenderer height inside hildon touch lists, the theme does
4790 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4792 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4793 they are integrated in the theme.
4795 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4797 * examples/hildon-entry-example.c: Update the example adding
4798 widgets to modify the text and the placeholder of the HildonEntry.
4800 * src/hildon-entry.c: Show the placeholder everytime the widget
4801 is empty and loses the focus.
4803 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4805 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4807 * src/hildon-pannable-area.c,
4808 (hildon_pannable_area_size_request): Fixed bug in height
4809 requisition, avoid increasing size and add border twice.
4811 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4813 * configure.ac: postrelease version bump.
4815 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4819 * configure.ac: Prerelease version bump.
4820 * debian/changelog: update.
4821 * debian/rules: make -dbg package contain useful debugging symbols.
4823 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4825 * src/hildon-dialog.h
4826 * src/hildon-dialog.c
4827 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4828 New methods to add buttons with finger size.
4829 (hildon_dialog_new_with_buttons):
4830 Create buttons with finger size.
4832 * examples/hildon-dialog-example.c (main): Use HildonDialog
4833 methods to add buttons.
4835 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4837 * src/hildon-entry.c: Updated HildonButton documentation.
4839 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4841 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4842 button value label with (FALSE, FALSE) to prevent NB#88126 from
4845 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4847 * examples/hildon-pannable-area-example.c,
4848 (main): Removed examples panning a vbox inside a pannable
4849 area. Check bug NB#87965
4851 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4853 Patch contributed by Kris Rietveld (kris@imendio.com)
4855 * src/hildon-pannable-area.c,
4856 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4857 get_size and get_position, this saves an X server roundtrip.
4859 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4861 * doc/hildon-docs.sgml
4863 * examples/Makefile.am
4864 * examples/hildon-entry-example.c
4866 * src/hildon-entry.c
4867 * src/hildon-entry.h
4869 New HildonEntry widget, with example.
4871 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4873 * src/hildon-button.c (hildon_button_construct_child): Pack the
4874 image with expand == fill == FALSE. This is a workaround for a bug
4877 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4879 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4880 labels for the text column, to make it more look more dynamic.
4882 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4884 * src/hildon-time-selector.c
4885 Define gettext auxiliar macro N_
4886 (_create_minutes_model)
4887 (_create_hours_model)
4888 (_create_ampm_model): use of strftime in order to fill the model
4889 * src/hildon-date-selector.c
4890 (hildon_date_selector_finalize):
4891 (_locales_init): remove the logic related to get the name of the months
4892 using nl_langinfo, as it is not required anymore
4894 (_create_year_model)
4895 (_create_month_model)
4896 (_update_day_model): use of strftime in order to fill the model properly
4899 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4901 * src/hildon-button.h
4902 * src/hildon-button.c (hildon_button_get_image): New method to
4905 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4907 * src/hildon-touch-selector.c:
4908 (hildon_touch_selector_remove_column): Remove from the correct parent
4909 and also remove the list element and free it.
4912 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4914 * src/hildon-time-selector.c
4915 (_create_hours_model): change the range on 12h ampm format in order to use
4916 a 12-11 range instead of previous 01-12 range
4917 (hildon_time_selector_set_time): change the way to select the current time
4918 on 12h ampm format, due the change on the range
4919 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4922 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4924 * src/hildon-touch-selector.c
4925 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4926 in order to allow use this function on multiple row selection mode if
4927 the column is different that the first one
4930 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4932 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4933 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4935 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4937 * src/hildon-date-selector.h: clean some comments, now on the .c
4938 * src/hildon-date-selector.c
4939 (hildon_date_selector_select_month): first implementation
4940 (hildon_date_selector_select_day): added documentation, reimplemented
4941 using hildon_date_selector_select_current_date to avoid repeat code
4944 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4946 Reviewed interaction logic based on device experiences, refactored
4949 * src/hildon-pannable-area.c,
4950 (hildon_pannable_area_class_init): Updated default vmax speed.
4951 (hildon_pannable_area_calculate_velocity): Added this function, it
4952 avoids duplicate valocity calculation. Adjusted calculation to
4953 avoid problems with zero dist events.
4955 (hildon_pannable_area_motion_notify_cb): Now we use the
4956 calculate_velocity function.
4958 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4960 * src/hildon-date-selector.c
4961 (hildon_date_selector_select_current_date): fix the day range check
4962 as it failed using the last day of the current month
4965 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4967 * src/hildon-touch-selector.c
4968 (hildon_touch_selector_get_num_columns): added a parameter validation
4971 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4973 * examples/Makefile.am
4974 * examples/hildon-edit-toolbar-example.c: Example of the
4975 HildonEditToolbar widget.
4977 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4979 * configure.ac: postrelease version bump.
4981 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4985 * configure.ac: prerelease version bump.
4986 * debian/changelog: update.
4988 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4990 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4991 renderer to display stock icons in the touch list. Also, set the sizes
4992 to the recommended in the style guide.
4994 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4995 * src/hildon-touch-selector.h
4996 (hildon_touch_selector_set_active_iter): renamed, now is
4997 hildon_touch_selector_select_iter
4998 (hildon_touch_selector_get_active_iter): renamed, now is
4999 hildon_touch_selector_get_selected
5000 (hildon_touch_selector_unselect_iter): added
5001 * src/hildon-touch-selector.c
5002 Update after API modification (methods renamed)
5003 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5004 order to avoid problems selecting multiple elements on the column
5005 (hildon_touch_selector_unselect_iter): added the implementation
5006 * src/hildon-time-selector.c
5007 * src/hildon-date-selector.c
5008 * src/hildon-touch-selector-entry.c
5009 Update methods calls after hildon-touch-selector.h API modification (methods
5012 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5014 * src/hildon-stackable-window.c
5015 (hildon_stackable_window_finalize): Call the parent class's finalize.
5017 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5019 * examples/hildon-touch-selector-example.c: (create_selector): Use
5020 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5023 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5025 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5026 set a cell background color, to respect theming.
5028 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5030 * doc/hildon-docs.sgml
5033 * src/hildon-edit-toolbar.c
5034 * src/hildon-edit-toolbar.h
5035 * src/hildon.h: New HildonEditToolbar widget.
5037 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5039 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5042 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5043 * src/hildon-touch-selector.c
5044 (_create_new_column): use g_object_set instead of two g_object_set_property
5046 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5047 * src/hildon-touch-selector.c
5048 (_create_new_column): use of hildon_gtk_tree_view_new to create
5049 the treeview, instead of use directly g_object_new
5050 (_create_new_column): update the property name "vindicator-mode" for the
5051 new one "vscrollbar-policy"
5052 * examples/hildon-date-button-example.c
5053 * examples/hildon-picker-button-multicolumn-example.c
5054 * examples/hildon-touch-selector-entry-example.c
5055 * examples/hildon-touch-selector-example.c
5056 * examples/hildon-time-button-example.c
5057 * examples/hildon-picker-button-example.c
5058 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5059 to all the treeviews inside a pannable area.
5061 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5063 * src/hildon-button.h
5064 * src/hildon-button.c (hildon_button_init)
5065 (hildon_button_set_arrangement, hildon_button_set_alignment)
5066 (hildon_button_set_title_alignment)
5067 (hildon_button_set_value_alignment)
5068 (hildon_button_set_image_alignment)
5069 (hildon_button_construct_child): New methods to set the alignment
5070 of the individual components of the button (title, value,
5071 image). Also, new method to alter the xscale and yscale properties
5072 of the GtkAlignment inside the button, so more complex layouts can
5075 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5077 * src/hildon-button.c (hildon_button_style_set)
5078 (hildon_button_class_init, hildon_button_set_arrangement)
5079 (hildon_button_construct_child): Apply style properties
5080 correctly. Use the 'image-spacing' style property too.
5082 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5084 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5085 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5088 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5090 * src/hildon-pannable-area.c,
5091 (hildon_pannable_area_size_request): Fixed problem with
5092 pannable-area size_request.
5094 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5096 Added management for the grab-focus to a child widget, like a
5097 range, we need to fade out the scrollbar when releasing.
5099 * src/hildon-pannable-area.c,
5100 (hildon_pannable_area_init): Connected the grab-focus signal to
5102 (hildon_pannable_area_grab_notify): Added this function in order
5103 to manage the situation when the grab-focus ends. We have to
5104 fade-out the scrollbar.
5106 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5108 * src/hildon-app-menu.c: Minor documentation update.
5110 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5112 * src/hildon-app-menu.c
5113 * examples/hildon-app-menu-example.c (create_menu): Update
5114 examples and documentation to explain how to connect callbacks.
5116 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5118 * examples/hildon-button-example.c
5119 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5120 hildon_stackable_window_new instead of gtk_window_new
5122 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5124 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5125 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5126 (hildon_pannable_area_set_property),
5127 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5128 (hildon_pannable_area_unrealize),
5129 (hildon_pannable_area_size_request),
5130 (hildon_pannable_area_size_allocate),
5131 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5132 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5133 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5134 (hildon_pannable_area_initial_effect),
5135 (hildon_pannable_area_redraw),
5136 (hildon_pannable_area_scroll_indicator_fade),
5137 (hildon_pannable_area_expose_event),
5138 (hildon_pannable_area_get_topmost), (synth_crossing),
5139 (hildon_pannable_area_button_press_cb),
5140 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5141 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5142 (hildon_pannable_area_motion_notify_cb),
5143 (hildon_pannable_area_button_release_cb),
5144 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5145 (hildon_pannable_area_remove),
5146 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5147 chage the code layout to a more GtkWidget like. Review the use of
5150 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5152 * examples/hildon-pannable-area-example-4.c,
5153 (main): Modified the name of the hindicator_mode to
5156 * src/hildon-pannable-area.c,
5157 (hildon_pannable_area_class_init),
5158 (hildon_pannable_area_motion_notify_cb),
5159 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5160 we have reduced the amount of signals and managed reviewed its
5161 rationale. Changed the default decelerate value.
5163 (hildon_pannable_area_add),
5164 (hildon_pannable_area_redraw): Refactored functions.
5166 (hildon_pannable_area_init),
5167 (hildon_pannable_area_get_property),
5168 (hildon_pannable_area_set_property):
5169 (hildon_pannable_draw_vscroll),
5170 (hildon_pannable_draw_hscroll),
5171 (hildon_pannable_area_initial_effect),
5172 (hildon_pannable_area_expose_event),
5173 (hildon_pannable_area_scroll),
5174 (hildon_pannable_area_button_press_cb),
5175 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5176 and vindicator_mode with hscrollbar_policy and
5177 vscrollbar_policy. Replaced hscroll and vscroll with
5178 hscroll_visible and vscroll_visible.
5180 (hildon_pannable_area_refresh): Refactor the function, remove
5181 variables and check the calls to this function, added resize
5182 conditions in case the children change their layout.
5184 (hildon_pannable_area_size_request): Added more detailed
5185 size_request calculation.
5188 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5190 * src/hildon-color-chooser.c
5191 (init_borders): use the correct gtk_border_free instead of g_free, to
5192 avoid a crash when this widget is used (ie: the three color selection
5195 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5197 * src/hildon-check-button.c,
5198 (hildon_check_button_set_active): Fixed problem when setting the
5199 active value, the widget was not redrawn.
5201 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5203 * src/hildon-pannable-area.c,
5204 (hildon_pannable_area_refresh),
5205 (hildon_pannable_area_scroll),
5206 (hildon_pannable_area_motion_notify_cb): Small code style change.
5208 (hildon_pannable_area_class_init): Default initial_hint set to
5209 FALSE, it is not in the specs.
5211 (hildon_pannable_area_initial_effect),
5212 (hildon_pannable_area_expose_event),
5213 (hildon_pannable_area_map),
5214 (hildon_pannable_area_init): Moved the launching point of the
5215 initial effect, it was in map but the sizes where not correct in
5216 that method so we do not know if we have the reproduce it. Now it
5217 is placed in the expose_event method and uses a variable to
5218 reproduce it just once.
5220 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5222 * src/hildon-pannable-area.c,
5223 (hildon_pannable_draw_vscroll),
5224 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5225 position allowed for the scrollbars.
5227 (hildon_pannable_area_size_allocate): Small style change.
5229 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5231 * src/hildon-pannable-area.c,
5232 (hildon_pannable_area_scroll_indicator_fade),
5233 (hildon_pannable_area_button_press_cb),
5234 (hildon_pannable_area_button_release_cb),
5235 (hildon_pannable_area_scroll_cb),
5236 (hildon_pannable_area_expose_event),
5237 (hildon_pannable_area_init): Added the define parameter
5238 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5239 and refactor the fade variable.
5241 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5243 * src/hildon-pannable-area.c,
5244 (hildon_pannable_area_redraw),
5245 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5246 lines, we were reimplemeting the redraw code.
5248 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5250 * src/hildon-pannable-area.c,
5251 (hildon_pannable_area_scroll_cb),
5252 (hildon_pannable_area_realize),
5253 (hildon_pannable_area_class_init): Added scroll_event management
5254 for pannable area, now we can scroll the usual desktop method.
5256 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5257 initialization of the parameters should depend on idle_id.
5259 (hildon_pannable_area_init),
5260 (hildon_pannable_area_map): Small code style modifications
5262 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5264 * src/hildon-pannable-area.c
5265 (hildon_pannable_area_button_press_cb),
5266 (hildon_pannable_area_motion_notify_cb),
5267 (hildon_pannable_area_button_release_cb),
5268 (hildon_pannable_area_size_allocate),
5269 (hildon_pannable_area_scroll_to): Improved the timeouts
5270 management, we avoid creating them each time.
5272 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5274 * src/hildon-pannable-area.c:
5275 (hildon_pannable_area_refresh),
5276 (hildon_pannable_area_motion_notify_cb),
5277 (hildon_pannable_area_class_init):
5278 * src/hildon-pannable-area.h:
5279 * src/hildon-touch-selector.c
5280 (_create_new_column):
5281 * examples/hildon-pannable-area-example-4.c:
5282 (horizontal_movement),
5283 (vertical_movement),
5285 Replaced the names of enums in the HildonPannableArea:
5286 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5287 HILDON_MOVEMENT_MODE_*
5288 - HILDON_PANNABLE_AREA_MOV_* ->
5290 - Removed HildonPannableAreaIndicatorMode, now we
5293 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5295 * examples/hildon-pannable-area-touch-grid-example.c
5296 * examples/hildon-pannable-area-touch-list-example.c: Fix
5297 compilation warnings.
5299 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5301 * src/hildon-gtk.c (hildon_gtk_button_new)
5302 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5303 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5304 images overriding the value of the "gtk-button-images" setting.
5306 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5308 * src/hildon-check-button.c (hildon_check_button_new):
5309 Instead of using a custom container, display the label and the
5310 checkbox using the standard GtkButton API.
5312 * examples/hildon-check-button-example.c (main): Don't use
5313 hildon_check_button_set_label() anymore
5315 * src/hildon-check-button.h
5316 * src/hildon-check-button.c
5317 (hildon_check_button_set_label, hildon_check_button_get_label):
5318 Set as deprecated, now we're using gtk_button_{get,set}_label()
5320 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5322 * src/hildon-pannable-area.c,
5323 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5324 GtkTreeview first line we detected it after the inclusion of the
5325 GtkWindowImpl in gtk+. We now check if the window is visible, not
5326 just if the pointer is over the window.
5327 (hildon_pannable_axis_scroll),
5328 (hildon_pannable_area_expose_event): Small style changes.
5330 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5332 * src/hildon-button.c: Update documentation.
5334 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5336 * examples/hildon-button-example.c: Add a switch to show images in
5339 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5341 * doc/hildon-docs.sgml: Some docs reorganization.
5343 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5345 * examples/hildon-pannable-area-touch-list-example.c
5347 * examples/hildon-pannable-area-touch-grid-example.c
5348 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5349 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5350 Fix memory leak when setting the tree model.
5352 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5356 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5358 * doc/hildon.types: Remove duplicated hildon_window_get_type
5359 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5360 documentation comment.
5362 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5364 * doc/Makefile.am: Complete list of private headers.
5366 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5368 * doc/hildon-docs.sgml
5369 * src/hildon-app-menu.c
5370 * src/hildon-bread-crumb.c
5371 * src/hildon-button.c
5373 * src/hildon-program.c
5374 * src/hildon-stackable-window.c
5375 * src/hildon-window.c: Lots of documentation updates.
5377 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5379 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5381 * configure.ac: Require Gtk+ 2.12.9 at least
5383 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5385 * src/hildon-pannable-area.c
5386 (hildon_pannable_area_scroll_indicator_fade),
5387 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5388 to protect the return of this timeout callbacks, avoiding deadlocks.
5390 2008-08-12 Christian Dywan <christian@imendio.com>
5393 * src/hildon-*.h: Ensure a consistent include order,
5394 include <gtk/gtk.h> instead of particular files and
5395 only include the topmost header in the gtk stack. See NB #39857
5397 2008-08-12 Christian Dywan <christian@imendio.com>
5399 * src/hildon-picker-dialog.c
5400 * src/hildon-touch-selector.c: Fix warnings about unused and
5401 uninitialized variables.
5403 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5405 * examples/Makefile.am
5406 * examples/hildon-check-button-example.c: Example of the hildon
5409 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5411 * src/hildon-window.h
5412 * src/hildon-window.c (hildon_window_class_init)
5413 (hildon_window_unset_program): Don't make
5414 hildon_window_unset_program a virtual function anymore.
5416 * src/hildon-stackable-window.c: Update documentation
5418 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5421 * doc/hildon-docs.sgml
5422 * doc/visual_index.xml
5423 * src/hildon-defines.c
5425 * src/hildon-helper.c
5426 * src/hildon-range-editor.c: Lots of documentation fixes.
5428 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5430 * examples/hildon-picker-button-multicolumn-example.c
5431 (create_touch_selector): Fix compilation warning.
5433 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5435 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5436 (hildon_pannable_area_button_release_cb)
5437 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5439 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5441 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5444 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5446 * src/hildon-bread-crumb-trail.h
5447 * src/hildon-date-editor.c
5448 * src/hildon-date-selector.c
5449 * src/hildon-pannable-area.c
5450 * src/hildon-picker-dialog.c
5451 * src/hildon-time-selector.c
5452 * src/hildon-touch-selector-entry.c
5453 * src/hildon-touch-selector.c
5454 * src/hildon-touch-selector.h: Misc documentation fixes
5456 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5458 * examples/hildon-date-editor-example.c (main): Updated date
5461 * examples/hildon-note-example.c (on_confirmation_clicked):
5462 Updated confirmation note example.
5464 * src/hildon-date-editor.c
5465 * src/hildon-note.c: Updated sample programs in documentation.
5468 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5470 * src/hildon-date-button.h:
5471 * src/hildon-picker-button.h:
5472 * src/hildon-time-button.c:
5473 * src/hildon-time-button.h:
5475 Some declarations changes to allow gtk-doc to document the widgets
5478 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5480 * src/hildon-date-button.c: Document the widget.
5481 * src/hildon-time-button.c: Document the widget.
5483 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5485 * src/hildon-picker-button.c: Document the widget.
5486 * src/hildon-touch-selector-entry.c: Document the widget.
5488 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5490 * doc/hildon-docs.sgml
5493 * src/hildon-check-button.h
5494 * src/hildon-check-button.c: New functions to create the Hildon
5498 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5500 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5502 * src/hildon-button.h
5503 * src/hildon-button.c
5504 (hildon_button_add_title_size_group)
5505 (hildon_button_add_value_size_group)
5506 (hildon_button_add_image_size_group)
5507 (hildon_button_add_size_groups): New functions to set size groups
5508 for the button labels and image.
5509 (hildon_button_new_full): Removed
5511 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5513 * src/hildon-time-selector.c
5514 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5515 in order to avoid a crash if gconf is not available
5517 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5519 * src/hildon-button.c (hildon_button_set_arrangement)
5520 (hildon_button_construct_child): Don't construct the button child
5521 before setting the arrangement.
5523 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5525 * src/hildon-program-private.h
5526 * src/hildon-program.c
5527 * src/hildon-program.h
5528 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5529 (hildon_program_peek_window_stack)
5530 (hildon_program_pop_window_stack)
5531 (hildon_program_go_to_root_window): HildonProgram now has a
5532 separate list for stackable windows. Functions are provided to
5533 manage that list with a stack-like API.
5535 * src/hildon-stackable-window.c: Stackable window management is
5536 now much simpler with the new HildonProgram API. Windows no
5537 longer need to be manually added to the program, they're
5538 automatically pushed to the top of the stack when shown.
5540 * examples/hildon-stackable-window-example.c: Updated example to
5541 reflect the API changes.
5543 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5545 * src/hildon-touch-selector.c: Comment out unimplemented
5546 hildon_touch_selector_insert_column() to avoid a compile warning.
5548 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5550 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5551 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5552 (hildon_touch_selector_set_column_selection_mode),
5553 (_hildon_touch_selector_set_model),
5554 (hildon_touch_selector_set_model):
5556 Complete review of HildonTouchSelector documentation.
5558 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5560 * doc/hildon-docs.sgml
5564 * src/hildon-gtk.c: Convenience functions for standard Gtk
5565 widgets, used to easily perform frequent operations.
5567 * src/hildon-button-helpers.h
5568 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5570 * src/hildon-helper.h
5571 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5572 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5574 * src/hildon-button.h
5575 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5577 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5579 * src/hildon-button.c (hildon_button_init)
5580 (hildon_button_set_arrangement, hildon_button_construct_child):
5581 Pack the image and the labels inside the same GtkAlignment so
5582 gtk_button_set_alignment() can be used
5584 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5586 * src/hildon-button.h
5587 * src/hildon-button.c
5588 (hildon_button_init, hildon_button_set_image)
5589 (hildon_button_set_image_position)
5590 (hildon_button_construct_child): New functions to add an image to
5593 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5595 * src/hildon-date-button.c
5596 * src/hildon-picker-button.c
5597 * src/hildon-time-button.c
5598 * src/hildon-button.c:
5599 (hildon_button_class_init): "size-flags" renamed to "size"
5600 (hildon_button_set_title): Hide the title label if set to NULL.
5602 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5604 HildonButtonFlags split into HildonButtonArrangement (to set the
5605 button layout) and HildonSizeType (which can be used for any
5608 * src/hildon-button.h
5609 * src/hildon-button.c
5610 (hildon_button_class_init)
5611 (hildon_button_set_arrangement)
5612 (hildon_button_set_property): New "size-flags"
5613 property. "arrangement-flags" renamed to "arrangement".
5614 (hildon_button_new, hildon_button_new_with_text)
5615 (hildon_button_new_full): Constructors updated to reflect type changes.
5617 * src/hildon-helper.h
5618 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5619 to set the size of a widget.
5623 * src/hildon-button-helpers.c
5624 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5626 * src/hildon-date-button.c
5627 * src/hildon-date-button.h
5628 * src/hildon-picker-button.c
5629 * src/hildon-picker-button.h
5630 * src/hildon-time-button.c
5631 * src/hildon-time-button.h: Updated widgets to reflect
5632 HildonButton API changes.
5634 * examples/hildon-button-example.c
5635 * examples/hildon-date-button-example.c
5636 * examples/hildon-picker-button-example.c
5637 * examples/hildon-picker-button-multicolumn-example.c
5638 * examples/hildon-time-button-example.c
5639 * examples/hildon-touch-selector-entry-example.c
5640 * examples/hildon-touch-selector-example.c: Updated examples to
5641 reflect HildonButton API changes.
5643 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5645 * doc/hildon-docs.sgml:
5647 * examples/Makefile.am:
5648 * examples/hildon-touch-selector-entry-example.c:
5650 * src/hildon-touch-selector-entry.c:
5651 * src/hildon-touch-selector-entry.h:
5654 Moved HildonTouchSelectorEntry from sandbox. Added its
5655 documentation and examples.
5657 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5659 * src/hildon-touch-selector.h:
5660 * examples/hildon-picker-button-multicolumn-example.c:
5661 (hildon_touch_selector_append_text_column): Add a gboolean
5662 parameter to determine if text must be centered in the column.
5664 * src/hildon-date-selector.c: (hildon_date_selector_init):
5665 * src/hildon-time-selector.c: (hildon_time_selector_init):
5666 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5667 (create_touch_selector): Update widgets and example to reflect
5670 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5672 * src/hildon-touch-selector.c:
5673 (hildon_touch_selector_set_active_iter): Set also the cursor in
5676 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5678 * doc/hildon-docs.sgml
5681 * src/hildon-toggle-button.c
5682 * src/hildon-toggle-button.h
5683 * src/hildon.h: Removed HildonToggleButton widget, a derived
5684 class is not necessary for this.
5686 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5688 * src/hildon-pannable-area.c,
5689 (hildon_pannable_area_realize),
5690 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5693 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5695 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5696 "done" button the default widget for the dialog.
5698 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5700 * src/hildon-touch-selector.c:
5701 (hildon_touch_selector_class_init),
5702 (hildon_touch_selector_get_property),
5703 (_hildon_touch_selector_set_model),
5704 (_hildon_touch_selector_has_multiple_selection),
5705 (hildon_touch_selector_has_multiple_selection):
5706 Add a "has-multiple-selection" property with a virtual
5707 has_multiple_selection() method to allow derived classes to
5708 override the default value for it. See the method and property
5709 documentation for details.
5711 * src/hildon-touch-selector.h: Add the new API.
5713 * src/hildon-picker-dialog.c: (requires_done_button): Call
5714 hildon_touch_selector_has_multiple_selection() instead of
5715 determining the need for a button itself.
5717 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5719 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5720 (_hildon_touch_selector_set_model),
5721 (hildon_touch_selector_set_model): Move working code to
5722 _hildon_touch_selector_set_mode(). Call the class method instead.
5724 * src/hildon-touch-selector.h: Add (*set_model) to
5725 HildonTouchSelectorClass.
5727 Make hildon_touch_selector_set_model() a virtual method, so that
5728 derived classes can extend it and do fancy stuff with the model.
5730 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5732 * configure.ac: Set back the tarname in AC_INIT to hildon.
5734 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5738 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5739 instead of libesd (NB#86876). Volume handling is still an open issue.
5741 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5744 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5746 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5747 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5748 derived class to ease placement of an entry widget in
5749 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5750 end, where the selector columns are packed now.
5752 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5754 * src/hildon-picker-button.c: Removed the simple _text() API.
5755 * src/hildon-picker-button.h: Likewise.
5757 * src/hildon-touch-selector.h:
5758 * src/hildon-touch-selector.c:
5759 (hildon_touch_selector_new_text),
5760 (hildon_touch_selector_append_text),
5761 (hildon_touch_selector_prepend_text),
5762 (hildon_touch_selector_insert_text):
5764 Moved the simple _text() API from HildonPickerButton to
5765 HildonTouchPicker, to provide better escalability and not to tie
5766 that API to HildonPickerButton.
5768 * examples/hildon-picker-button-example.c: (main): Example updated.
5770 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5772 * src/hildon-button.c: Updated documentation.
5774 * examples/hildon-button-example.c: Add the posibility to create
5775 the buttons using horizontal layout for title and value.
5777 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5779 * src/hildon-app-menu-private.h
5780 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5781 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5782 GtkSizeGroup for the filters, use the 'homogeneous' property of
5785 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5787 * examples/hildon-button-example.c: Updated example.
5789 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5791 * doc/hildon-docs.sgml:
5794 Update documentation.
5796 * examples/Makefile.am: Update renamed examples.
5798 * examples/hildon-picker-button-multicolumn-example.c:
5799 (create_touch_selector), (main): Update after the rename.
5801 * examples/hildon-touch-picker-example.c: Removed.
5802 * examples/hildon-touch-selector-example.c: (value_changed),
5803 (create_selector), (get_visible_content), (main): Renamed from
5804 hildon-touch-picker-example.c
5806 * src/Makefile.am: Updated renamed files.
5808 * src/hildon-date-button.c: (hildon_date_button_init),
5809 (hildon_date_button_get_date), (hildon_date_button_set_date):
5810 * src/hildon-date-selector.c: (hildon_date_selector_init),
5811 (_custom_print_func), (_update_day_model),
5812 (_manage_selector_change_cb),
5813 (hildon_date_selector_select_current_date),
5814 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5815 * src/hildon-date-selector.h:
5816 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5817 (hildon_picker_button_set_property),
5818 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5819 (hildon_picker_button_init), (hildon_picker_button_new_text),
5820 (hildon_picker_button_append_text),
5821 (hildon_picker_button_prepend_text),
5822 (hildon_picker_button_insert_text),
5823 (hildon_picker_button_set_selector),
5824 (hildon_picker_button_get_selector):
5825 * src/hildon-picker-button.h:
5826 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5827 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5828 (_update_title_on_selector_changed_cb), (requires_done_button),
5829 (_hildon_picker_dialog_set_selector),
5830 (hildon_picker_dialog_set_selector),
5831 (hildon_picker_dialog_get_selector):
5832 * src/hildon-picker-dialog.h:
5833 * src/hildon-time-button.c: (hildon_time_button_init),
5834 (hildon_time_button_get_time), (hildon_time_button_set_time):
5835 * src/hildon-time-selector.c: (hildon_time_selector_init),
5836 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5837 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5838 * src/hildon-time-selector.h:
5841 Massive code updates after the rename.
5843 * src/hildon-touch-picker.c: Removed.
5844 * src/hildon-touch-picker.h: Removed.
5846 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5847 (hildon_touch_selector_init), (hildon_touch_selector_map),
5848 (hildon_touch_selector_remove), (_default_print_func),
5849 (_selection_changed_cb), (_create_new_column),
5850 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5851 (hildon_touch_selector_append_text_column),
5852 (hildon_touch_selector_remove_column),
5853 (hildon_touch_selector_set_column_attributes),
5854 (hildon_touch_selector_insert_column),
5855 (hildon_touch_selector_get_num_columns),
5856 (hildon_touch_selector_get_column_selection_mode),
5857 (hildon_touch_selector_set_column_selection_mode),
5858 (hildon_touch_selector_set_print_func),
5859 (hildon_touch_selector_get_print_func),
5860 (hildon_touch_selector_get_active_iter),
5861 (hildon_touch_selector_set_active_iter),
5862 (hildon_touch_selector_get_selected_rows),
5863 (hildon_touch_selector_get_model),
5864 (hildon_touch_selector_set_model),
5865 (hildon_touch_selector_get_current_text),
5866 (_hildon_touch_selector_center_on_selected_items):
5867 * src/hildon-touch-selector.h: Renamed from
5868 hildon-touch-picker.[ch]
5870 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5871 references, code examples, and related documentation.
5873 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5875 * doc/hildon-docs.sgml
5878 * src/hildon-toggle-button.c
5879 * src/hildon-toggle-button.h
5880 * src/hildon.h: New HildonToggleButton widget.
5882 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5884 * src/hildon-button.c: Add API documentation.
5885 (hildon_button_set_size_groups): Check input parameters
5887 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5889 * src/hildon-pannable-area.c
5890 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5891 effect after reaching the movement thredshold. This way we start
5892 using the distance after passing the thredshold.
5894 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5896 * src/hildon-button.c: (hildon_button_set_property): Use the
5897 appropriate g_value_get_flags() method.
5899 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5901 * doc/hildon-docs.sgml:
5904 Add the touch pickers, picker dialogs, and picker button widgets
5905 to the documentation.
5907 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5909 * src/hildon-button.c: (hildon_button_set_property),
5910 (hildon_button_class_init): Make "arrangement-flags" a proper
5911 G_TYPE_FLAGS derived property.
5913 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5915 * examples/Makefile.am: Add below examples.
5916 * examples/hildon-date-button-example.c:
5917 * examples/hildon-picker-button-example.c:
5918 * examples/hildon-picker-button-multicolumn-example.c:
5919 * examples/hildon-time-button-example.c:
5920 * examples/hildon-touch-picker-example.c:
5922 Add examples for the recently added touch pickers,
5923 picker dialogs, and picker button widgets.
5925 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5927 * src/hildon-button.c: Add some API documentation
5929 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5931 * src/hildon-button.h
5932 * src/hildon-button.c
5934 (hildon_button_new_with_text): New constructor to create a button
5935 with no text at all.
5936 (hildon_button_init, hildon_button_set_arrangement)
5937 (hildon_button_set_title, hildon_button_set_value)
5938 (hildon_button_set_text)
5939 (hildon_button_construct_child): Hide the value when it's not used
5940 so the rest of the text is properly aligned.
5941 Allow creating buttons with arbitrary widgets inside (not just
5942 title/value labels).
5944 * examples/hildon-button-example.c (vertical_buttons_window)
5945 (horizontal_buttons_window): Update example to use new API.
5947 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5949 * src/Makefile.am: Added HildonTimeButton.
5950 * src/hildon-time-button.c: Added missing LGPL header.
5951 * src/hildon-time-button.h: Added missing LGPL header.
5952 * src/hildon.h: Add hildon-time-button.h
5954 Copied HildonTimeButton from sandbox to trunk. Future work on this
5955 widget must take place in trunk.
5957 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5959 * src/Makefile.am: Added HildonDateButton.
5960 * src/hildon-date-button.c: Update includes.
5961 * src/hildon.h: Add hildon-date-button.h
5963 Copied HildonDateButton from sandbox to trunk. Future work on this
5964 widget must take place in trunk.
5966 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5968 * src/Makefile.am: Added HildonPickerButton.
5969 * src/hildon-picker-button.h: Update includes.
5970 * src/hildon.h: Add hildon-picker-button.h
5972 Copied HildonPickerButton from sandbox to trunk. Future work on
5973 this widget must take place in trunk.
5975 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5977 * src/Makefile.am: Added HildonPickerDialog.
5978 * src/hildon-picker-dialog.c: Update includes.
5979 * src/hildon.h: Add hildon-picker-dialog.h
5981 Copied HildonPickerDialog from sandbox to trunk. Future work
5982 on this widget must take place in trunk.
5984 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5986 * src/Makefile.am: Added HildonTimeSelector.
5987 * src/hildon.h: Add hildon-time-selector.h
5989 Copied HildonTimeSelector widget from sandbox to trunk. Future
5990 work on this widget must happen in trunk.
5992 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5994 * src/Makefile.am: Added HildonDateSelector.
5995 * src/hildon.h: Add hildon-date-selector.h
5997 Copied HildonDateSelector widget from sandbox to trunk. Future
5998 work on this widget must happen in trunk.
6000 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6002 * src/Makefile.am: Added HildonTouchPicker.
6003 * src/hildon-touch-picker.c: Update includes.
6004 * src/hildon.h: Add hildon-touch-picker.h
6006 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6007 on this widget must happen in trunk.
6009 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6011 * src/hildon-pannable-area.c:
6012 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6014 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6016 * examples/hildon-app-menu-example.c (main): Let the window
6019 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6021 * src/hildon-pannable-area.c
6022 (hildon_pannable_area_class_init): Set the min value of the
6023 overshoot properties to zero, which points out that not
6024 overshooting allowed.
6026 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6028 Modified the procedure to get the widget at a point inside the
6029 pannable area when using the movement type signals. Now the user
6030 has to call a function to get the child, that way we just
6031 calculate the child in case the user really want to use it and not
6034 * src/hildon-marshalers.list: Modified the marshallers, now we do
6035 not have the widget as a parameter.
6037 * src/hildon-pannable-area.c
6038 (hildon_pannable_area_motion_notify_cb),
6039 (hildon_pannable_area_class_init),
6040 (hildon_pannable_get_child_widget_at): Removed the widget
6041 parameter from the signal callback. We have also refactored the
6042 emission of the signals.
6044 * src/hildon-pannable-area.h: Added a new method to the API to
6045 calculate a widget at a point inside the pannable area,
6046 hildon_pannable_get_child_widget_at.
6048 * examples/hildon-pannable-area-example-4.c
6049 (horizontal_movement): Modified the example to use the new API,
6050 added condition to control which widget is under the event. This
6051 way we can avoid scrolling laterally over other widgets.
6053 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6055 * src/hildon-pannable-area.c
6056 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6057 modes, we stop getting the pointer events due to returning the
6058 callback without properly calling the get pointer again. Fixed
6059 also an error using the hscroll and vscroll.
6061 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6063 * src/hildon-app-menu-private.h
6064 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6065 (hildon_app_menu_button_release, hildon_app_menu_init)
6066 (hildon_app_menu_class_init): Don't hide the menu on button
6067 release if the user didn't press outside first.
6069 * src/hildon-window.h
6070 * src/hildon-window.c (hildon_window_toggle_menu)
6071 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6072 hildon_window_toggle_menu a virtual function for the stackable
6073 window to override it.
6075 * src/hildon-stackable-window.h
6076 * src/hildon-stackable-window-private.h
6077 * src/hildon-stackable-window.c
6078 (hildon_stackable_window_realize)
6079 (hildon_stackable_window_finalize)
6080 (hildon_stackable_window_class_init)
6081 (hildon_stackable_window_init)
6082 (hildon_stackable_window_set_main_menu): New function to set the
6083 app menu of a HildonStackableWindow.
6085 * examples/hildon-app-menu-example.c: Remove the button to show
6086 the app menu, now it'll be shown when clicking on the title bar
6089 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6091 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6092 set the widget name if the arrangement flags do not specify
6095 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6097 * src/hildon-button.c: (hildon_button_set_property),
6098 (hildon_button_class_init), (hildon_button_new_full),
6099 (hildon_button_set_arrangement): Added "arrangement-flags"
6102 Make the HildonButtonFlags a construction-only property, to allow
6103 subclasses to set them properly.
6105 2008-07-21 Tim Janik <timj@imendio.com>
6107 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6108 insertion position after backspace, so additional digits are appended,
6111 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6113 * src/hildon-pannable-area.c,
6114 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6115 TODO list, it was complete and removed the g_debug and g_print
6118 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6120 Added the movement modes to the hildon-pannable-area, with this
6121 modes the developers can control in which directions the widget
6122 can scroll. They can also connect to signals in order to do
6123 something when that happens, allowing applications scroll. There
6124 is an example uploaded showing how to use it.
6126 * examples/Makefile.am:
6127 * examples/hildon-pannable-area-example-4.c: Added this example of
6128 an application using the modes.
6130 * src/hildon-marshalers.list: Added a new marshaller for the new
6133 * src/hildon-pannable-area.h: Added new enumerations and flags in
6134 order to control the movement modes and the new signals to warn
6135 about the movements in the area.
6137 * src/hildon-pannable-area.c:
6138 (hildon_pannable_axis_scroll),
6139 (hildon_pannable_area_scroll),
6140 (hildon_pannable_area_motion_notify_cb),
6141 (hildon_pannable_area_get_property),
6142 (hildon_pannable_area_set_property),
6143 (hildon_pannable_area_map),
6144 (hildon_pannable_area_class_init),
6145 (hildon_pannable_area_init),
6146 (hildon_pannable_area_jump_to): Added the modes to control the
6147 movement in the widget. We have added properties to control it,
6148 signals to warn about the movements and refactored some code.
6150 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6152 Changes required in order to allow vfast_factor set to zero to
6155 * src/hildon-pannable-area.c:
6156 (hildon_pannable_area_button_press_cb): Changed the condition, it
6157 is required for not allowing click when vfast_factor is zero.
6158 (hildon_pannable_area_timeout): Initialized velocity variables
6159 when we stop moving, it was less than 1 but not zero and we need
6160 to check zero in some situations.
6161 (hildon_pannable_area_class_init): Changed the default value of
6162 the speed factor, now the button_press is just sent in case the
6163 speed is 2 per cent of the max speed.
6164 (hildon_pannable_area_init): Initialization with 0.
6166 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6168 * src/hildon-pannable-area.c,
6169 (hildon_pannable_area_get_topmost): replaced
6170 gdk_window_get_children with gdk_window_peek_children, this way we
6171 do not have to free the list because it is not a copy.
6173 (hildon_pannable_axis_scroll),
6174 (hildon_pannable_area_scroll),
6175 (hildon_pannable_area_timeout),
6176 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6177 two parameters that were only used inside the
6178 hildon_pannable_area_scroll function.
6180 * examples/hildon-pannable-area-example.c,
6181 (get_sawtooth_label): Fixed small memory leak.
6183 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6185 More checks for the case where the overshoot is bigger than the
6188 * src/hildon-pannable-area.c:
6189 (hildon_pannable_draw_vscroll),
6190 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6191 to draw the slider of the scrollbar under the other scrollbar.
6192 (hildon_pannable_area_expose_event): added new checks to control
6193 the drawing of the overshooting area rectangle, in case it is too
6194 big for the area of the widget.
6195 (hildon_pannable_area_size_allocate): add more checks to avoid
6196 setting a position to the child widget outside the area.
6198 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6200 * src/hildon-pannable-area.c
6201 (hildon_pannable_area_size_allocate): Added conditions to control
6202 when overshooting is bigger than the allocated space for the
6203 children, this avoids negative allocations.
6205 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6207 * doc/hildon-docs.sgml
6209 * examples/Makefile.am
6210 * examples/hildon-button-example.c
6212 * src/hildon-button.c
6213 * src/hildon-button.h
6214 * src/hildon.h: Initial version of the new HildonButton widget,
6217 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6219 * src/hildon-pannable-area.c:
6220 (hildon_pannable_area_button_press_cb),
6221 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6222 (hildon_pannable_area_motion_notify_cb),
6223 (hildon_pannable_area_button_release_cb),
6224 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6225 (hildon_pannable_area_jump_to_child):
6227 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6229 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6231 * examples/Makefile.am
6232 * examples/hildon-pannable-area-touch-grid-example.c
6233 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6234 the Hildon Touch List and Hildon Touch Grid using the
6235 HildonPannableArea widget.
6237 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6239 * src/hildon-pannable-area.c,
6240 (hildon_pannable_area_button_press_cb),
6241 (hildon_pannable_area_refresh),
6242 (hildon_pannable_area_scroll),
6243 (hildon_pannable_area_motion_notify_cb),
6244 (hildon_pannable_area_button_release_cb),
6245 (hildon_pannable_area_expose_event),
6246 (hildon_pannable_area_add),
6247 (hildon_pannable_area_remove),
6248 (hildon_pannable_area_realize),
6249 (hildon_pannable_area_size_allocate),
6250 (hildon_pannable_area_class_init),
6251 (hildon_pannable_area_init),
6252 (hildon_pannable_area_scroll_to_child),
6253 (hildon_pannable_area_jump_to_child): Fixed the problem of
6254 removing the child from the GtkBin, we have rearranged the widget
6255 hierarchy, now there is no GtkAlignment which was not doing
6256 anything interesting but breaking some of the assumptions of
6257 GtkContainer. Now developers if they want to add a GtkAlignment
6258 they could, but it is not inside the area.
6260 We had to review the whole allocation/expose process, now it is
6261 improved and we save at least three signals which would be saving
6262 some time when rendering the widget. The allocation of the
6263 scrollbars is now made in the allocate method as usual.
6265 We have also added some conditions in order to control when there
6266 is no child of the pannable area. Maybe we will need more work
6269 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6271 * src/hildon-pannable-area.c,
6272 (hildon_pannable_area_dispose): Released the fade-out timeout when
6273 disposing the widget.
6275 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6277 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6278 zero, we are going to use that property in order to deactivate the
6280 (hildon_pannable_axis_scroll),
6281 (hildon_pannable_area_size_allocate): Added conditions to control
6282 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6283 call, now it is called in all situations and we can remove calls
6284 in the allocate method.
6285 (hildon_pannable_area_map): Control the situation when
6286 overshoot_max is zero, we do not need the timeout.
6287 (hildon_pannable_area_class_init): Added documentation in order to
6288 point out that setting zero to overshoot_max means deactivate
6291 NOTE: removed trailing whitespaces from my previous comments of
6294 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6296 * src/hildon-pannable-area.c
6297 (hildon_pannable_area_get_property),
6298 (hildon_pannable_area_set_property),
6299 (hildon_pannable_area_map),
6300 (hildon_pannable_area_class_init),
6301 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6302 to cause the widget give a hint about its panning abilities upon
6305 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6307 * src/hildon-pannable-area.c: Several documentation improvements.
6309 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6311 * src/hildon-program.c
6312 * src/hildon-stackable-window.c: Update documentation.
6314 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6316 * src/hildon-stackable-window.c (get_previous_window_if_last):
6317 Renamed get_last_window()
6318 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6319 (hildon_stackable_window_unset_program):
6321 (get_previous_window_if_last):
6322 Detect if the window hasn't been added to a HildonProgram.
6324 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6326 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6328 * src/hildon-pannable-area.c
6329 (hildon_pannable_area_button_press_cb),
6330 (hildon_pannable_axis_scroll),
6331 (hildon_pannable_area_scroll),
6332 (hildon_pannable_area_timeout),
6333 (hildon_pannable_calculate_vel_factor),
6334 (hildon_pannable_area_get_property),
6335 (hildon_pannable_area_set_property),
6336 (hildon_pannable_area_class_init),
6337 (hildon_pannable_area_init),
6338 (hildon_pannable_area_scroll_to),
6339 (hildon_pannable_area_jump_to),
6340 (hildon_pannable_area_scroll_to_child),
6341 (hildon_pannable_area_jump_to_child):
6342 * src/hildon-pannable-area.h: Added the new API functions:
6343 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6344 hildon_pannable_area_scroll_to_child,
6345 hildon_pannable_area_jump_to_child
6348 * examples/Makefile.am
6349 * examples/hildon-pannable-area-example-2.c
6350 * examples/hildon-pannable-area-example-3.c: Added these two new
6351 examples in order to test and show how the new APIs work.
6353 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6355 * examples/hildon-stackable-window-example.c (new_window):
6356 * src/Makefile.am (noinst_HEADERS):
6357 * src/hildon-program.c (hildon_program_go_to_root_window):
6358 * src/hildon-program.h:
6359 * src/hildon-stackable-window-private.h:
6360 * src/hildon-stackable-window.c:
6361 * src/hildon-stackable-window.h:
6362 Create hildon-stackable-window-private.h
6363 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6365 * examples/hildon-app-menu-example.c (create_menu):
6366 * examples/hildon-hvolumebar-insensitive-example.c (main):
6367 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6368 * examples/hildon-toolbar-seekbar-example.c (main):
6369 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6370 * src/hildon-banner.c (hildon_banner_set_property):
6371 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6372 Fix compilation warnings
6374 * src/hildon-window.c:
6377 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6379 * src/hildon-stackable-window.c
6380 (hildon_stackable_window_unset_program):
6381 Calculate correctly whether to show the previous window if the
6382 last one is removed from the stack.
6383 (hildon_stackable_window_go_to_root_window):
6384 Send delete events starting from the topmost window.
6385 Stop if one of the windows is not destroyed.
6387 (hildon_stackable_window_delete_event)
6388 (hildon_stackable_window_class_init):
6389 Ignore the delete event if the window is not the topmost one.
6391 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6393 * src/hildon-pannable-area.c
6394 (hildon_pannable_area_expose_event): Fixed a problem when
6395 selecting the background color of the scrollbars.
6397 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6399 * examples/hildon-stackable-window-example.c
6400 * src/hildon-stackable-window.c
6401 * src/hildon-stackable-window.h
6402 hildon_stackable_window_go_home() renamed to
6403 hildon_stackable_window_go_to_root_window()
6404 Send delete events to windows rather than closing them with
6405 gtk_widget_destroy()
6407 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6409 * src/hildon-pannable-area.c
6410 (hildon_pannable_area_button_release_cb): Fix overshooting in
6413 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6415 * src/hildon-pannable-area.c
6416 (hildon_pannable_area_init): Initially show the scroll indicators.
6417 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6419 Add initial effect showing the widget is pannable.
6421 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6423 * src/hildon-pannable-area.c
6424 (hildon_pannable_area_class_init)
6425 (hildon_pannable_area_set_property)
6426 (hildon_pannable_area_get_property)
6427 (hildon_pannable_area_button_press_cb):
6428 New 'velocity_fast_factor' property to decide which velocity is
6431 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6433 * src/hildon-pannable-area.c
6434 (hildon_pannable_draw_hscroll)
6435 (hildon_pannable_draw_vscroll):
6436 Use float variables to calculate the size of the scrollbars to
6437 avoid error propagation and resizing during scrolling.
6439 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6441 * src/hildon-pannable-area.c
6442 (hildon_pannable_draw_vscroll)
6443 (hildon_pannable_draw_hscroll):
6444 Define a minimum size for the scroll bars
6446 * src/hildon-stackable-window.c
6447 (hildon_stackable_window_go_home): Fix compilation warning
6448 (get_last_window): Minor optimizations
6449 (hildon_stackable_window_class_init): Fix initialization of
6452 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6454 * src/hildon-stackable-window.c: Fixed typos in doc
6456 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6458 * src/hildon-pannable-area.c
6459 (hildon_pannable_area_scroll):
6460 Calculate here whether we need to scroll instead of using the booleans
6461 that tell us whether to /draw/ the scrolling bars.
6463 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6465 * src/hildon-app-menu.h
6467 * src/hildon-app-menu.c
6468 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6469 multiple filter groups related code and API. Now we support only
6471 * examples/hildon-app-menu-example.c:
6473 Update to reflect API changes.
6475 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6477 * src/hildon-stackable-window.c
6478 (hildon_stackable_window_class_init):
6479 Add hildon_stackable_window_realize.
6480 (hildon_stackable_window_realize):
6481 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6482 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6483 to apply theming and behavior specific to HildonStackableWindow
6486 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6488 * src/hildon-note.c (hildon_note_button_release):
6489 Close information notes also when tapping on them
6491 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6493 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6494 ELASTICITY, refactor and review, fix some issues with drawing
6497 * src/hildon-pannable-area.c:
6498 (hildon_pannable_area_button_press_cb): removed the conditions to
6499 avoid clicks when overshooting. It is not required
6501 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6502 define. Refatored and reviewed the code, now we do not need to
6503 manage velocity in motion_notify.
6505 (hildon_pannable_area_motion_notify_cb): We have moved the code
6506 that controls the area_scroll to the axis_scroll function and get
6507 rid of duplicated code.
6509 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6511 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6513 (hildon_pannable_draw_vscroll),
6514 (hildon_pannable_draw_hscroll): Fixed the problems with the
6515 scrollbar drawing, now we do not use two surfaces, it is easier
6516 and saves resources.
6518 (hildon_pannable_area_get_property): Style modification.
6520 (hildon_pannable_area_class_init): Changed some default values.
6522 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6524 * src/hildon-stackable-window.c: Fix some typos in the
6527 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6529 * src/hildon-dialog.c:
6530 Change indentation style
6533 (hildon_note_button_release):
6534 Use root coordinates to check if the release event happened
6537 * src/hildon-app-menu.c
6538 (hildon_app_menu_button_release):
6539 Remove unnecessary check
6541 * examples/hildon-app-menu-example.c
6543 Add cast to fix warning
6545 * src/hildon-app-menu.c
6546 (hildon_app_menu_class_init):
6547 New inner-border style property.
6548 Set all default spacings to 16
6549 (hildon_app_menu_init):
6550 Use vertical-spacing to set the space between filter buttons and
6551 regular menu buttons.
6552 Set the default container border using the inner-border value.
6554 * examples/hildon-app-menu-example.c
6556 Don't set the menu border explicitly, now we have the inner-border
6557 style property for that.
6559 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6561 * src/hildon-app-menu.c (hildon_app_menu_init):
6562 Make the window modal
6564 * src/hildon-note.c (hildon_note_map)
6565 * src/hildon-app-menu.c (hildon_app_menu_map):
6566 Destroy the grab window if we're unable to grab the pointer
6568 * src/hildon-app-menu-private.h
6569 * src/hildon-app-menu.c
6570 (hildon_app_menu_init, hildon_app_menu_finalize)
6571 (hildon_app_menu_map, hildon_app_menu_unmap)
6572 (hildon_app_menu_button_release)
6573 (grab_transfer_window_get):
6574 Bring back the grab window
6575 (hildon_app_menu_realize):
6576 Decorate the window, set WM hint for Matchbox
6578 * src/hildon-note.c (hildon_note_realize):
6579 * src/hildon-banner.c (hildon_banner_realize):
6580 Add WM hints for Matchbox
6582 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6584 * src/hildon-app-menu-private.h
6585 * src/hildon-app-menu.c
6586 (hildon_app_menu_init, hildon_app_menu_finalize)
6587 (hildon_app_menu_map, hildon_app_menu_unmap)
6588 (hildon_app_menu_button_release):
6589 Remove the grab window, it's not needed anymore
6591 * src/hildon-program.c
6592 Fixed typo in documentation
6594 * src/hildon-app-menu.h
6595 * src/hildon-app-menu.c
6596 * examples/hildon-app-menu-example.c
6597 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6599 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6602 Added new transfer_window and close_if_pressed_outside private
6604 (hildon_note_rebuild):
6605 Don't add a cancel button to the information note. It will be
6606 closed when tapping outside
6607 Remove the comment about the OK button in the documentation
6608 (hildon_note_realize):
6609 Set the notification type hint
6610 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6611 Grab/ungrab pointer and keyboard if the note has to be closed when
6613 (hildon_note_button_release):
6614 Close the note when tapping outside (if applicable)
6616 * src/hildon-app-menu.c
6617 Grab/ungrab pointer and keyboard on map/unmap
6618 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6619 Close the menu on button release, not button press
6621 * src/hildon-banner.c
6622 (hildon_banner_set_property)
6623 (hildon_banner_check_position):
6624 Make the banner use the full width of the screen
6625 (hildon_banner_show_information)
6626 (hildon_banner_show_information_with_markup):
6627 Don't display an icon by default
6629 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6631 Added fading scrollbars and adapted all the overshooting code to
6632 horizontal scrolling. We have also fixed bugs with overshooting
6633 and current fading implementation.
6635 * src/hildon-pannable-area.c
6636 (hildon_pannable_area_scroll_indicator_fade): Time out function
6637 used to change the transparency of the scrollbars.
6639 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6640 control and fixed a problem with fading, we now remove the fade
6641 timeout before adding a new one.
6643 (hildon_pannable_axis_scroll):
6644 (hildon_pannable_area_scroll):
6645 (hildon_pannable_area_timeout): Added this functions so we can use
6646 the scroll code both for vertical and horizontal.
6648 (hildon_pannable_area_motion_notify_cb):
6649 (hildon_pannable_area_button_release_cb): Added the horizontal
6650 scrolling control, fixed a problem with the overshooting timeout.
6652 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6653 painting of the scrolls.
6655 (hildon_pannable_draw_vscroll):
6656 (hildon_pannable_draw_hscroll):
6657 (hildon_pannable_area_expose_event):
6658 Draw both scrollbars and rectangles in the overshooting area.
6660 (hildon_pannable_area_get_property):
6661 (hildon_pannable_area_set_property):
6662 Modified the overshoot property to overshoot_max
6664 (hildon_pannable_area_map):
6665 Replaced the comments symbols.
6667 (hildon_pannable_area_size_allocate):
6668 (hildon_pannable_area_class_init):
6669 (hildon_pannable_area_init): Added horizontal scroll, fading
6670 effect properties, fixed a problem when overshooting in the bottom
6673 * examples/hildon-pannable-area-example.c:
6674 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6675 looks better in the example.
6677 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6679 * src/hildon-window.c
6680 * src/hildon-window.h
6681 (hildon_window_class_init)
6682 (hildon_window_unset_program)
6683 (hildon_window_unset_program_real):
6684 Make unset_program a virtual function
6686 * src/hildon-stackable-window.c
6687 * src/hildon-stackable-window.h
6688 Added hildon_stackable_window_go_home()
6690 * examples/Makefile.am
6691 * examples/hildon-stackable-window-example.c
6692 HildonStackableWindow example
6694 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6696 * hildon-pannable-area.c: Added the overshoot property and removed
6697 the OVERSHOOT define. Fixed an indent style error.
6698 (hildon_pannable_area_motion_notify_cb):
6699 (hildon_pannable_area_get_property):
6700 (hildon_pannable_area_set_property): Add overshoot property.
6702 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6705 (hildon_pannable_area_class_init): Installed the new property.
6707 * hildon-pannable-area-example.c: Added a sawtooth function, this
6708 way it is easier to check the movement in the pannable.
6709 (get_sawtooth_label): Added this function.
6710 (main): Now we get the labels from the new get_sawtooth_label
6713 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6715 * src/hildon-app-menu.h
6716 * src/hildon-app-menu.c
6717 Renamed API variables for consistency
6719 (hildon_app_menu_popup): Use also the default window size to
6720 decide where to place the menu
6722 (hildon_app_menu_init, hildon_app_menu_class_init): New
6723 external-border style property
6725 2008-05-26 Michael Natterer <mitch@imendio.com>
6727 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6728 widget_class->tap_and_hold_setup signal slot doesn't exist any
6729 longer, stop overriding it.
6731 (hildon_time_editor_init): g_signal_connect() to the
6732 tap-and-hold-setup signal instead.
6734 (hildon_time_editor_entry_keypress): add cast to fix warning.
6736 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6738 * doc/hildon-docs.sgml
6740 * examples/Makefile.am
6741 * examples/hildon-app-menu-example.c
6743 * src/hildon-app-menu-private.h
6744 * src/hildon-app-menu.c
6745 * src/hildon-app-menu.h
6747 New HildonAppMenu widget
6749 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6751 Rearranged the inheritance of the pannable area, now it inherits
6752 from GtkBin. This will allow us to control the event_window and
6753 the allocation process of the widget, required for some effects.
6755 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6756 GtkBin structures. * src/hildon-pannable-area.c: Added the
6757 event_window variable.
6758 (hildon_pannable_area_button_press_cb):
6759 (hildon_pannable_area_button_release_cb):
6760 (hildon_pannable_area_motion_notify_cb):
6761 Changed the signature of the method, now we override the event
6762 callback instead of connecting to the signal.
6764 (hildon_pannable_area_realize):
6765 (hildon_pannable_area_unrealize):
6766 (hildon_pannable_area_map):
6767 (hildon_pannable_area_unmap):
6768 (hildon_pannable_area_size_allocate):
6769 Added functions to control the widget construction. We add a
6770 INPUT_ONLY window and we put it over the widgets inside the
6771 container, this event_window handles the events.
6773 (hildon_pannable_area_class_init):
6774 Replaced the signal connections with overrides of the event
6777 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6779 Bouncing effect added when touching the borders, you can change
6780 the elasticity of the border changing the ELASTICITY define.
6782 * src/hildon-pannable-area.c: Added ELASTICITY define.
6783 (hildon_pannable_area_timeout): Added inverse velocity when
6784 touching the border of the child widget, that causes a bounce.
6786 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6788 Improved performance, we now do not go to the X server in order to
6789 get the list of window children. Apparently the effect is the
6790 same, we have to be careful and check if this breaks something in
6793 * src/hildon-pannable-area.c:
6794 (get_ordered_children): Removed this function.
6795 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6796 the children windows function with gdk_window_get_children.
6798 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6800 * src/hildon-pannable-area.c:
6801 (hildon_pannable_area_dispose): Fixed a crash when closing the
6802 window and kinetics is activated.
6804 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6806 * src/hildon-pannable-area.h
6807 * src/hildon-pannable-area.c
6808 Changed indentation style to meet the one used in Hildon
6810 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6812 Reviewed the interaction of the AUTO mode, now we use the time
6813 attribute of the events and calculate the velocity in the motion,
6814 doing a gimp like calculation. The velocity is calculated in each
6815 motion event using the last velocity and the current one, the
6816 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6818 * src/hildon-pannable-area.c: Replaced the time based algorithm
6820 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6821 timeout for the AUTO mode when we are still moving the cursor. We
6822 added also the velocity calculation in this function.
6823 (hildon_pannable_area_button_release_cb): launch the timeout in
6824 case we are in AUTO mode. There are still some constants here that
6825 come from the old implementation that should be reviewed and
6828 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6830 * doc/hildon-docs.sgml
6833 * src/hildon-stackable-window.c
6834 * src/hildon-stackable-window.h
6836 New HildonStackableWindow widget
6838 * examples/hildon-dialog-example.c
6839 * examples/hildon-pannable-area-example.c
6842 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6844 * src/hildon-dialog.c
6845 (hildon_dialog_new_with_buttons): New constructor.
6847 * examples/hildon-dialog-example.c
6848 (main): Update the example to use the new
6849 hildon_dialog_new_with_buttons().
6851 * examples/hildon-pannable-area-example.c
6852 (main): Update example.
6854 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6856 * doc/hildon-docs.sgml
6858 Added HildonPannableArea to the documentation.
6860 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6862 * doc/visual_index.xml
6863 Fix reference to HildonLoginDialog in documentation
6865 * doc/hildon-docs.sgml
6867 * examples/Makefile.am
6868 * examples/hildon-dialog-example.c
6870 * src/hildon-dialog.c
6871 * src/hildon-dialog.h
6873 New HildonDialog widget.
6875 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6877 * src/hildon-pannable-area.c
6878 Merge latest changes (r4318, r4342) from libmokoui trunk
6880 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6882 * examples/Makefile.am
6883 * examples/hildon-pannable-area-example.c
6885 * src/hildon-pannable-area.c
6886 * src/hildon-pannable-area.h
6888 New HildonPannableArea widget.
6890 2008-04-15 18:05:19 <timj@imendio.com>
6892 * src/hildon-banner.c: revert the recent change, that introduced
6893 gtk_window_present() calls. this reopens:
6894 Bug 78481 - [freetest] information banners are hidden under browser menu
6895 But resolves another variant of:
6896 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6898 2008-04-15 13:21:13 <timj@imendio.com>
6900 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6901 recreated its layout, spotted by Kris. this fixes all remaining
6902 artefacts and stability issues with the banner code. in particular:
6903 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6905 2008-04-14 16:52:59 <timj@imendio.com>
6907 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6908 operating on unrealized widgets, fixes:
6909 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6911 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6913 2008-04-09 Kristian Rietveld <kris@imendio.com>
6915 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6916 makes banner disappear.
6917 Fixes: NB#79182: info banner flickering with certain message lengts.
6919 * src/hildon-banner.c (hildon_banner_constructor),
6920 (hildon_banner_init), (hildon_banner_set_text),
6921 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6922 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6923 FALSE, reset size requests of label and banner,
6924 (force_to_wrap_truncated): when the text is too wide, always enforce
6925 the maximum possible width instead of recalculating it from the
6926 layout; enforce the maximum banner height of 3 lines,
6927 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6928 nicer wrapping and no truncated chars if space gets tight.
6930 * src/hildon-banner-private.h: add has_been_wrapped and
6931 has_been_truncated fields.
6933 2008-04-07 Sven Herzberg <sven@imendio.com>
6935 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6936 local values in hildon_date_editor_size_allocate
6938 * src/hildon-date-editor.c: moved the real allocation code into the
6941 2008-04-07 Sven Herzberg <sven@imendio.com>
6943 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6944 local values in hildon_date_editor_size_allocate
6946 * src/hildon-date-editor.c: merged the two if() branches together
6948 2008-04-07 Sven Herzberg <sven@imendio.com>
6950 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6951 local values in hildon_date_editor_size_allocate
6953 * src/hildon-date-editor.c: changed the arguments of the if()
6956 2008-04-07 Sven Herzberg <sven@imendio.com>
6958 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6959 local values in hildon_date_editor_size_allocate
6961 * src/hildon-date-editor.c: split the calculation of the allocation
6962 from the real allocation
6964 2008-03-27 Michael Natterer <mitch@imendio.com>
6966 Fixes: NB#81696: The passcode is not overwritten even after
6969 * src/hildon-code-dialog.c
6970 (hildon_code_dialog_button_clicked)
6971 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6972 because that doesn't overwrite selected text. Instead, emit the
6973 "commit" signal on the entry's im_context so the entry's normal
6974 insert logic is triggered. Set the cursor to the end of the entry
6975 after each insert operation so that we *only* insert in the middle
6976 of the text if something was selected.
6978 2008-03-27 Michael Natterer <mitch@imendio.com>
6980 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6981 selector cannot be opened
6983 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6984 when the popup color selector is created. Please connect to this
6985 signal in order to set the dialog's help ID.
6987 2008-03-25 Sven Herzberg <sven@imendio.com>
6989 Fixes: MB#1212: Hide info banners (infoprints) on click
6991 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6992 extracted the close event simulation into an extra function
6993 (hildon_banner_button_press_event): simulate a close event and destroy
6994 the widget if the event wasn't handled
6995 (hildon_banner_class_init): added the button_press_event handler
6996 (hildon_banner_init): added button-press events to the widget
6998 2008-03-25 Sven Herzberg <sven@imendio.com>
7000 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7001 Patch from: Mohammad Anwari <mdamt@maemo.org>
7003 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7004 instead of the right in RTL mode
7005 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7006 breadcrumb button list in RTL mode
7007 * src/hildon-caption.c: mirror the appearance of the caption widget in
7009 * src/hildon-date-editor.c: mirror appearance of the date editor in
7011 * src/hildon-time-editor.c: mirror appearance of the time editor in
7013 * src/hildon-window.c: fix the position of the popup in RTL mode
7015 2008-03-25 Sven Herzberg <sven@imendio.com>
7017 Amendment to the fix of NB#22072. Fix compilation.
7019 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7021 2008-03-19 Sven Herzberg <sven@imendio.com>
7023 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7026 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7027 timeout id properly when the timeout will disappear this leaves no
7028 artifacts around in the destroy(); there will only be the timeout
7029 created by hildon_banner_ensure_timeout() and adding a new timeout
7030 will also work if the timeout gets removed because the timeout_handler
7033 2008-03-19 Michael Natterer <mitch@imendio.com>
7035 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7037 * src/hildon-volumebar.c
7038 * src/hildon-vvolumebar.c
7039 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7040 the widget becomes focussable at all.
7042 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7043 set the focus to wither the mute button or the volumebar.
7045 Remove own "can-focus" property and instead listen to
7046 notify::can-focus in order to update the widget's state.
7048 Implement GtkWidget::focus() and make sure we can also *leave* the
7049 widget, not only enter it, depending on volumebar orientation and
7050 requested focus direction.
7052 Clean up set_mute() to cooperate nicely with all the above.
7054 2008-03-04 Michael Natterer <mitch@imendio.com>
7056 Fixes: NB#78481: information banners are hidden under browser menu
7058 * src/hildon-banner.c: call gtk_window_present() on the banners so
7059 they are risen if they are already visible.
7061 2008-03-03 Sven Herzberg <sven@imendio.com>
7063 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7065 * examples/hildon-window-menu-example.c: (main): extended the window
7066 menu example to serve as a testcase for automatically added
7067 accelerator groups, too
7068 * src/hildon-window.c: (hildon_window_add_accel_group),
7069 (hildon_window_set_menu): added patch by Tommi Komulainen
7071 2008-03-03 Sven Herzberg <sven@imendio.com>
7073 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7075 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7076 knowledge about the border allocators used within GTK+
7078 2008-02-26 Sven Herzberg <sven@imendio.com>
7080 Fixes: MB#2981: Build with asserts broken
7082 * src/hildon-date-editor.c,
7083 * src/hildon-number-editor.c,
7084 * src/hildon-time-editor.c,
7085 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7086 the proper GType instance check
7088 2008-02-25 Sven Herzberg <sven@imendio.com>
7090 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7092 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7093 * examples/hildon-window-menu-example.c: (main): explicitly show
7095 * src/hildon-window.c:
7096 (hildon_window_set_main_menu): moved most of the code from set_menu()
7097 to this place; skipped the call to gtk_widget_show_all(); also didn't
7098 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7099 (hildon_window_set_menu): removed most of the code, just keep the
7100 questionable gtk_widget_show_all()
7101 * src/hildon-window.h: added the new function and deprecate the old
7104 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7110 * debian/changelog: Updating.
7112 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7115 * pkgconfig/Makefile.am:
7116 * pkgconfig/hildon.pc.in:
7119 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7120 use newly created API_MAJOR_VERSION.
7122 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7128 * debian/changelog: Updating.
7130 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7132 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7134 Add outer_border style property, we use it but don't define it (!).
7138 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7140 * examples/hildon-bread-crumb-trail-example.c (main):
7144 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7146 Fix logic for the bread crumb trail node removal.
7150 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7156 * debian/changelog: Updating.
7158 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7160 Patch by Alejandro to get/set passwords dialogs accesibility.
7162 * hildon-1/src/hildon-get-password-dialog.c:
7163 * hildon-1/src/hildon-set-password-dialog.c:
7164 Set atk_set_name to the passwd entries in order to allow
7165 accessibility by name on this entries.
7167 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7172 * debian/control: Updating gtk dep.
7174 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7176 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7177 USE_MAEMO_GTK is enabled.
7179 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7181 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7182 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7184 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7190 * debian/changelog: Updating.
7192 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7194 * examples/Makefile.am:
7195 * examples/hildon-logical-color-example.c:
7196 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7197 applied + adding a test case. Fixes: NB#71660.
7199 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7201 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7202 to be visible, fixes warning on map for windows without toolbars.
7204 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7206 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7207 2.11.0, add a check for that besides the MAEMO_GTK check.
7209 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7215 * debian/changelog: Updating.
7217 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7219 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7220 visibility. Fixes: NB#70842 and MB#615.
7222 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7224 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7225 set the separator as no-show-all so it doesn't unintentionally appear when
7226 someone does a show_all.
7228 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7230 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7231 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7232 toplevel item. Fixes: NB#62031
7234 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7236 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7237 fix the name of the function in the docs.
7239 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7245 * debian/changelog: Updating.
7247 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7249 * examples/hildon-banner-long-example.c: Adding a test-case for long
7252 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7254 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7256 * src/hildon-color-chooser-dialog.c:
7257 * src/hildon-color-chooser.c:
7258 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7259 memory leaks in font selector and color selector. Fixes: NB#70499 and
7262 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7264 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7266 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7268 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7269 little bit bigger. Fixes: #NB63694.
7271 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7277 * debian/changelog: Updating.
7279 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7282 * doc/hildon-docs.sgml:
7283 * doc/images/bread-crumb-trail.png:
7284 * doc/images/calendar-popup.png:
7285 * doc/images/caption.png:
7286 * doc/images/code-dialog.png:
7287 * doc/images/color-button.png:
7288 * doc/images/color-chooser-dialog.png:
7289 * doc/images/color-chooser.png:
7290 * doc/images/controlbar.png:
7291 * doc/images/date-editor.png:
7292 * doc/images/font-selection-dialog.png:
7293 * doc/images/get-password-dialog.png:
7294 * doc/images/hvolumebar.png:
7295 * doc/images/login-dialog.png:
7296 * doc/images/note.png:
7297 * doc/images/number-editor.png:
7298 * doc/images/range-editor.png:
7299 * doc/images/seekbar.png:
7300 * doc/images/set-password-dialog.png:
7301 * doc/images/sort-dialog.png:
7302 * doc/images/time-editor.png:
7303 * doc/images/time-picker.png:
7304 * doc/images/vvolumebar.png:
7305 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7306 Adding the bread-crumb-trial and helpers to the documentation.
7308 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7310 * examples/hildon-find-toolbar-example.c:
7311 * src/hildon-find-toolbar.c:
7312 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7313 actually continue firing the other handlers if connected. Adding a new
7315 hildon_find_toolbar_get_last_index that gets the index of the most
7316 recently added (last) item. Fixes: NB#52301.
7318 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7320 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7321 behaviour. Fixes: NB#68610.
7323 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7325 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7328 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7330 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7331 when realizing the banner. Should make the infonbanner effect a bit more
7334 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7336 * src/hildon-volumebar.c:
7337 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7338 hildon_volumebar_set_range_insensitive_message and
7339 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7341 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7343 * src/hildon-window.c: Fixing the border freeing on destroy.
7345 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7347 * src/hildon-code-dialog-private.h:
7348 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7349 kw keyboard support in HildonCodeDialog.
7351 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7357 * debian/changelog: Updating.
7359 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7361 * src/hildon-date-editor.c:
7362 * src/hildon-number-editor.c:
7363 * src/hildon-private.c:
7364 * src/hildon-private.h:
7365 * src/hildon-time-editor.c:
7366 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7367 handling in subclassed composite widgets. Fixes: NB#66628.
7369 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7371 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7372 from destroy_ callback as it introduces problems in async dbus signal
7373 handlers. Fixes NB#66673.
7375 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7377 * examples/hildon-hvolumebar-example.c:
7378 * src/hildon-volumebar.c: Improving the focus handling in the
7379 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7380 set_property accessor so that "mute" property can be actually set. I'm
7381 scared that nobody noticed it's totally broken.
7383 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7385 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7388 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7390 * src/hildon-calendar.c:
7391 * src/hildon-number-editor.c:
7392 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7393 matches the spec of 6 chars per second. Fixes: NB#60489.
7395 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7397 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7398 gtk_style_lookup_color sometime returns FALSE even though color was
7399 found and values were filled properly. Weird. Removing the warning for the
7402 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7404 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7405 expand vertically. Adding some extra space to the find toolbar buttons to
7406 make them thumbable. Fixes NB#66060.
7408 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7410 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7411 popup with "Ok" and "Cancel". Fixes NB#59299.
7413 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7415 * src/hildon-calendar.c: Process all window updates before executing next
7416 timeout. Fixes: NB#54146.
7418 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7424 * debian/changelog: Updating.
7426 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7428 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7429 the client event and ignore it, since we use the delete event to close
7432 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7434 * src/hildon-helper.c: Remove the bogus warning about color not being
7435 found. Fixes NB#58352.
7437 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7439 * examples/Makefile.am:
7440 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7441 HildonSeekbar widget inside a toolbar.
7443 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7445 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7446 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7447 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7448 don't want to be closed by non-temporary windows on map.
7450 Also use G_DEFINE_TYPE instead of manually typed code.
7452 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7459 * debian/rules: Updating.
7461 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7463 * examples/Makefile.am:
7464 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7465 bug NB#61128. Strangely it works.
7467 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7469 * src/hildon-date-editor.c: When the date editor entry has been changed
7470 but the numbers of characters < max, turn off the skip validation flag.
7471 Prevents a situation when we enter first a valid year and later re-write
7472 it with an invalid one. Fixes NB#60154.
7474 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7476 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7477 code dialog. Fixes NB#64355.
7479 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7481 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7482 switching the page. Fixes NB#49374.
7484 * examples/Makefile.am:
7485 * examples/hildon-wizard-dialog-example.c: Adding an example for
7486 HildonWizardDialog that shows how to handle manual sensitivity setting on
7489 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7493 * src/hildon-version.h.in:
7494 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7496 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7498 * src/hildon-volumebar.c: Updating the docs.
7500 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7506 * debian/changelog: Updating.
7508 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7510 * src/hildon-find-toolbar.c:
7511 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7512 selected item: hildon_find_toolbar_set_active,
7513 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7514 hildon_find_toolbar_get_active_iter . They correspond to respective
7515 GtkComboBox functions.
7517 * examples/Makefile.am:
7518 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7521 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7523 * examples/Makefile.am:
7524 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7527 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7528 when font size > 32 and we pack a focusable widget inside. Actually using
7529 the default response would work too, but since we don't show default
7530 response state in any way (no theming) it would not be visible to the
7531 user. Fixes NB#63430.
7533 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7535 * src/hildon-date-editor.c: Adding the missing variable setter in the
7536 set_property handler. Fixes NB#54182.
7538 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7540 * src/hildon-window.h: Changing the long key press time from 1500ms to
7541 800ms as requested in NB#63700. I have a bad feeling about this, let's
7542 see... Fixes NB#63700.
7544 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7546 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7547 hildon_time_picker_map, hildon_time_picker_realize,
7548 hildon_time_picker_style_set): Split the contents of map to more
7549 appropriate functions; set window decorations on realize and update
7550 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7552 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7557 * debian/changelog: Updating.
7559 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7561 * src/Makefile.am: fixed installation of the header files
7563 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7569 * debian/changelog: Updating.
7571 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7573 * configure.ac: Removing some remaining of --enable-xan.
7575 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7577 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7578 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7580 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7581 2.10.12-osso6 because the move-focus signal needs to be available in
7584 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7586 * examples/Makefile.am:
7587 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7588 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7589 fine. Prolly NB#61128 is fixed now.
7591 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7593 * src/hildon-volumebar.c:
7594 * src/hildon-volumebar.h: Adding the
7595 hildon_volumebar_set_range_insensitive_message and
7596 hildon_volumebar_set_range_insensitive_messagef functions to set
7597 insensitive message on the slider of the volumebar. Fixes NB#61129.
7599 * examples/Makefile.am:
7600 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7601 test the new insensitive messsage functionality on HildonVolumebar.
7603 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7605 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7608 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7610 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7611 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7612 button on after clearing the trail.
7614 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7616 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7618 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7620 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7621 by splitting the installed headers in generated and non-generated groups. Use
7622 only the non-generated headers to create the hildon-enum-types.h file.
7624 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7626 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7628 * src/hildon-window.c: Hide the window before performing the destroy.
7629 Should make the app closing a little tiny bit more snappy.
7631 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7633 * src/hildon-seekbar.c: add gtkrange.h header
7634 * src/hildon-caption.c: remove unused variable
7636 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7638 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7641 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7647 * debian/changelog: Updating.
7649 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7651 * src/hildon-window.c (hildon_window_window_state_event,
7652 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7653 escape timeout on focus-out-event rather than notify::is-topmost; the
7654 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7656 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7658 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7659 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7661 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7663 * src/hildon-window: actually, you need to use the macro always, there's
7664 no private pointer in the instance structure. We should have cleaned this up
7665 when we had the chance...
7667 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7669 * src/hildon-window.c: do not get the private date from HildonWindow before
7670 it passes the g_return_if_fail check. Once it's passed the test, there's no
7671 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7672 if you are only going to access the data once. Whitespace cleanups.
7674 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7676 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7677 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7679 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7685 * debian/changelog: Updating.
7687 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7689 * src/hildon-window.c: When destroying the window, remove (if exists) the
7690 escape timeout handler. Fixes #NB59276.
7692 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7694 * src/hildon-banner.c: When realizing the widget, set the window
7695 transiency. Setting the transiency in the gobject constructor is not
7696 good, as the widget is not realized at that point. Fixes: #NB56624.
7698 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7700 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7701 Add padding for future expansions.
7703 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7705 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7706 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7707 will fake an activation on the previous to the last item of the trail, so
7708 the effect can be overrided by the developer as usual.
7709 Also change the callback for the back button to do the same thing, so its
7710 effect can be overrided too. Fixes: NB#58982
7712 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7714 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7715 HildonCaption. Fixes NB#52379.
7717 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7719 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7720 the internal state of the trail after the user has had the chance of executing
7721 his handler for the signal. Specifically, it may happen that the activated button
7722 is removed and the user still lets the default handler run. This would segfault
7725 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7727 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7728 scrollbar to the preview dialog. Fixes NB#54147.
7730 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7732 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7733 max/min year properties can be altered, so the client can modify it
7734 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7736 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7738 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7739 hildonlike by default. Fixing a problem with disappearing arrows when
7740 scrolling through months and years. Fixes NB#54127.
7742 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7744 * examples/hildon-date-editor-example.c: Adding error callback to the date
7747 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7753 * configure.ac: Updating.
7755 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7757 * configure.ac: Adding a special '--enable-xan' configure option that
7758 turns off the -Werror compilation setting. Usefull for development.
7760 * src/hildon-calendar.c:
7761 * src/hildon-number-editor.c:
7762 * src/hildon-time-picker.c: Adding the 5* multiplier to
7765 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7767 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7768 instead of g_object_ref + gtk_object_sink.
7770 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7776 * debian/changelog: Updating.
7778 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7780 * src/hildon-color-chooser-dialog.c:
7781 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7782 straight from Tommi labs.
7784 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7786 * examples/hildon-finger-example.c: Correcting the header file path.
7788 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7789 the changed signal. Fixes a small memory leak.
7791 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7795 * src/hildon-banner.c: Importing several usefull fixes from the
7796 ubuntu-mobile branch.
7798 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7800 * examples/Makefile.am:
7801 * examples/hildon-finger-example.c: Adding a finger-checking code
7804 * src/hildon-font-selection-dialog.c: Do not allocate the color
7805 structure using the g_new. Fixes NB#54061.
7807 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7809 * src/hildon-helper.c: Correcting tabs in file.
7811 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7813 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7814 control the visibility of the children.
7816 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7818 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7824 * debian/changelog: Updating.
7826 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7828 * src/hildon-bread-crumb-trail.c:
7829 (hildon_bread_crumb_trail_size_allocate):
7831 Make the back button always a square.
7833 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7835 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7836 from the .c file as it's a private file.
7838 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7840 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7841 uses slightly bigger height.
7843 * src/hildon-font-selection-dialog.c: Adding some checks before
7844 freeing memory in the font selection dialog.
7846 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7848 * src/hildon-font-selection-dialog.c: Adding a small check when
7851 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7852 buttons sensitivity on page switching.
7854 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7856 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7857 internal details of adding a bread crumb to the trail.
7859 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7865 * debian/changelog: Updating.
7867 * src/hildon-bread-crumb-trail.h:
7868 * src/hildon-bread-crumb.h: Changing the API guard to
7869 HILDON_ENABLE_UNSTABLE_API.
7871 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7879 * src/hildon-helper.h: Updating.
7881 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7889 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7893 * src/hildon-helper.h: Small fix to make the package actually compile.
7895 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7897 * src/hildon-bread-crumb-trail.h:
7898 * src/hildon-bread-crumb.h:
7900 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7901 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7903 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7905 * examples/hildon-bread-crumb-trail-example.c:
7907 * src/hildon-bread-crumb-trail.c:
7908 * src/hildon-bread-crumb-trail.h:
7909 * src/hildon-bread-crumb.c:
7910 * src/hildon-bread-crumb.h:
7911 * src/hildon-marshalers.list:
7912 * src/hildon-bread-crumb-widget.c:
7913 * src/hildon-bread-crumb-widget.h:
7915 Slight change in the widget design. The bread crumb trail API is
7916 unchanged, but HildonBreadCrumb is now an interface. A *private*
7917 implementation, hildon-bread-crumb-widget, is provided and used
7918 internally by the trail for the push_text/push_icon functions.
7920 The generic push API is still available, so anyone can implement
7921 and use its own bread crumb widget.
7923 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7925 * debian/rules: Fixing the shlibs.
7927 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7929 * src/hildon-banner.c: Fixing a problem with timed banners having
7930 their parrent destroyed before they are.
7932 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7934 * src/hildon-bread-crumb.c:
7935 * src/hildon-bread-crumb.h:
7937 Make the get_natural_size function a vfunc.
7939 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7941 * src/hildon-bread-crumb.c:
7942 * src/hildon-bread-crumb-trail.c:
7946 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7953 * debian/changelog: Updating for release.
7955 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7957 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7958 don't leak the pango layout.
7960 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7963 * examples/hildon-bread-crumb-trail-example.c:
7967 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7969 * debian/changelog: Removing the bug-fixed entries that were actually
7970 resolved as WONTFIX.
7972 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7975 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7977 * src/hildon-bread-crumb-trail.c:
7978 * src/hildon-bread-crumb-trail.h:
7979 * src/hildon-bread-crumb.c:
7980 * src/hildon-bread-crumb.h:
7984 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7986 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7987 until it's passed the type check.
7989 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7991 * examples/hildon-bread-crumb-trail-example.c
7995 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7997 * examples/Makefile.am
7998 * examples/hildon-bread-crumb-trail-example.c
8000 * src/hildon-bread-crumb-trail.c
8001 * src/hildon-bread-crumb-trail.h
8002 * src/hildon-bread-crumb.c
8003 * src/hildon-bread-crumb.h
8005 New HildonBreadCrumbTrail widget.
8007 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8009 * src/hildon-range-editor.c (hildon_range_editor_init),
8010 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8011 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8012 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8013 hildon_time_editor_class_init, hildon_time_editor_init),
8014 src/hildon-get-password-dialog.c (invalid_input,
8015 hildon_get_password_set_property, hildon_get_password_get_property,
8016 create_contents, hildon_get_password_dialog_set_max_characters),
8017 src/hildon-set-password-dialog.c (create_contents),
8018 src/hildon-date-editor.c (hildon_date_editor_init),
8019 src/hildon-login-dialog.c (hildon_login_dialog_init),
8020 src/hildon-number-editor.c (hildon_number_editor_init),
8021 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8022 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8023 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8024 configure option and adding the respective checks in the code.
8025 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8026 hildon_calendar_drag_data_received): fixed some build warnings.
8028 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8030 * debian/changelog: A 1.0.0 release notes.