1 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-font-selection-dialog.c
4 (hildon_font_selection_dialog_set_property): Fail when the "family"
5 property is set to NULL.
7 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
9 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
12 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
14 * src/hildon-time-selector.h:
15 Added HildonTimeSelectorFormatPolicy
16 * src/hildon-time-selector.c:
17 Added PROP_TIME_FORMAT_POLICY
18 (_check_ampm_format): renamed to check_automatic_ampm_format
19 (update_format_policy), (update_format_dependant_columns): new functions
20 (hildon_time_selector_class_init)
21 (hildon_time_selector_contructor)
22 (hildon_time_selector_init)
23 (hildon_time_selector_get_property)
24 (hildon_time_selector_set_property)
25 (hildon_time_selector_get_time)
26 (hildon_time_selector_set_time)
27 * src/hildon-touch-selector.h: new file
28 * src/hildon-touch-selector.c
29 (hildon_touch_selector_emit_changed)
30 (hildon_touch_selector_block_changed)
31 (hildon_touch_selector_unblock_changed)
32 Added functions to allow to block the emission of the "changed" signal
33 * src/hildon-picker-dialog.c
34 (hildon_picker_dialog_show): call the parent show before the custom code
35 * examples/hildon-time-button-example.c
36 Modified, so now you can configure the time format using the new property
38 Added a new property "time-format-policy" that allow to choose the time
39 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
40 case it uses gconf in order to check if the time selector must use
43 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
46 2009-04-28 Alberto Garcia <agarcia@igalia.com>
48 * src/hildon-note.c (hildon_note_init):
49 Label in HildonNote must be left aligned, not centered. This
50 reverts the last commit in HildonNote.
52 Fixes: NB#112933 (text is not left aligned in confirmation dialog
53 is connectivity dialog)
55 2009-04-27 Alberto Garcia <agarcia@igalia.com>
60 * doc/hildon-sections.txt:
61 Added hildon_gtk_window_set_do_not_disturb()
63 2009-04-27 Alberto Garcia <agarcia@igalia.com>
65 * src/hildon-note.c (hildon_note_init): Center label.
67 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
70 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
75 * configure.ac: Bump version.
76 * debian/changelog: Updates.
78 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
80 * src/hildon-note-private.h: Add button-width to the private data.
81 * src/hildon-note.c (+resize_button),
82 (+hildon_note_orientation_update): methods to repack widgets on orientation
84 (screen_size_changed): Call above method for confirmation notes.
85 (hildon_note_realize): Always connect to the "screen-size" changed signal.
86 (hildon_note_rebuild): Store the original width request from buttons.
88 Fixes: NB#109635 (Confirmation notes do not support portrait)
90 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
92 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
93 when it is a progress note.
95 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
97 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
98 in the note, since there are no horizontally arranged contents.
100 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
102 * src/hildon-gtk.c (+set_flag): new generic method to
103 set/delay a flag setting in a window.
104 (hildon_gtk_window_set_progress_indicator):
105 (hildon_gtk_window_set_do_not_disturb),
106 (hildon_gtk_window_set_portrait_flags): use set_flag() to
107 avoid code redundance.
109 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
111 Based on a patch by Alberto Garcia (agarcia@igalia.com)
113 * src/hildon-gtk.c (set_clear_window_flag),
114 (do_set_progress_indicator), (do_set_do_not_disturb),
115 (do_set_portrait_flags),
116 (hildon_gtk_window_set_progress_indicator),
117 (hildon_gtk_window_set_do_not_disturb),
118 (hildon_gtk_window_set_portrait_flags):
119 Allow setting dnd-flag, progress indicator, and portrait flags
120 when the window is not realized.
122 2009-04-24 Alejandro G. Castro <alex@igalia.com>
124 * src/hildon-pannable-area.c,
125 * src/hildon-pannable-area.h: Add the hildon deprecated define to
126 the size request policy function and defines.
128 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
130 * doc/hildon-sections.txt: Add the new API.
131 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
132 method to set the portrait flags.
133 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
135 Fixes: NB#112328 (Adding helpers for setting portrait properties)
137 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
139 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
140 to allow using this method with other flags.
141 (hildon_gtk_window_set_progress_indicator): Update accordingly.
142 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
144 2009-04-22 Alberto Garcia <agarcia@igalia.com>
146 * src/hildon-touch-selector.c
147 (hildon_touch_selector_append_text_column):
148 Make the cell renderer use the smallest width possible.
150 Fixes: NB#108470 (Selected items in multiple selection are either
151 having a tick that is cut or not visible at all.)
153 2009-04-22 Alberto Garcia <agarcia@igalia.com>
155 * src/hildon-touch-selector.c
156 (hildon_touch_selector_append_text_column):
159 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
161 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
162 Use g_strdup_printf() instead of a fixed size buffer.
164 2009-04-21 Alberto Garcia <agarcia@igalia.com>
166 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
167 Close banners when a HildonAppMenu is popped up.
169 Fixes: NB#111027 (Title menu closed immediately if activated when
170 "Invalid e-mail address" banner is shown)
172 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
177 * configure.ac: Bump version.
178 * debian/changelog: Updates.
180 2009-04-20 Alberto Garcia <agarcia@igalia.com>
182 * src/hildon-banner.c (hildon_banner_realize):
183 Mark HildonBanner as supporting portrait mode.
184 Use GDK to set window properties insetad of direct Xlib calls.
186 Fixes: NB#111830 (HildonBanner should be marked as supporting
189 2009-04-20 Alberto Garcia <agarcia@igalia.com>
191 * src/hildon-note.c (hildon_note_rebuild):
192 Hide action area in information notes. Prevents text from being
193 slightly aligned to the left.
195 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
198 2009-04-20 Alberto Garcia <agarcia@igalia.com>
200 Patch by Mox Soini (ext-mox.soini@nokia.com)
202 * src/hildon-banner.c (hildon_banner_create_animation):
203 Use stylus-sized icons in animation banner.
205 Fixes: NB#111206 (stylus sized icon for animation banner)
207 2009-04-20 Alberto Garcia <agarcia@igalia.com>
211 (+hildon_gtk_window_set_do_not_disturb):
212 New API to set the do-not-disturb flag.
214 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
216 2009-04-20 Alberto Garcia <agarcia@igalia.com>
218 * examples/hildon-progress-indicator-example.c: Fix example
220 * src/hildon-gtk.c (set_clear_window_flag)
221 (hildon_gtk_window_set_progress_indicator):
222 Create a generic function for setting flags to a window.
223 Use GDK instead of direct Xlib calls.
225 2009-04-14 Alberto Garcia <agarcia@igalia.com>
227 * src/hildon-button.c (hildon_button_set_arrangement):
228 Due to NB#88126, if one of the labels is too long it will be
229 painted outside the button. The 'value' label is more likely to be
230 the longest one, so we change its packing options in order to
231 truncate it if necessary. As a side effect, the 'title' label will
232 no longer be truncated.
234 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
236 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
241 * configure.ac: Bump version.
242 * debian/changelog: Updates.
244 2009-04-13 Alejandro G. Castro <alex@igalia.com>
246 Deprecation of the hildon_pannable_area_set_size_request_policy
247 API, the only policy properly supported in gtk+ nowadays is the
250 * src/hildon-pannable-area.c,
251 (hildon_pannable_area_size_request): Added a workaround for the
252 size_request to avoid the problems of huge pixmaps in case someone
253 is still using the function.
254 * src/hildon-pannable-area.h: Deprecated the enum with the
257 Fixes: NB#110244 (Problems with the
258 hildon_pannable_area_set_size_request_policy API)
260 2009-04-08 Alejandro G. Castro <alex@igalia.com>
262 * src/hildon-pannable-area.c,
263 (hildon_pannable_area_init),
264 (hildon_pannable_area_size_request),
265 (hildon_pannable_area_style_set),
266 (hildon_pannable_draw_vscroll),
267 (hildon_pannable_draw_hscroll),
268 (hildon_pannable_area_check_scrollbars): Replaced area_width with
269 indicator_width to clarify the use of the attribute.
271 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
276 * configure.ac: Bump version.
277 * debian/changelog: Updates.
279 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
281 * src/hildon-picker-dialog.c
282 * src/hildon-touch-selector.c
283 Reverting the change that tried to avoid the hardcoded height on
284 the picker dialog, as causes problems on the hildon-touch-selector
287 Fixes: NB#110029 (selectors not scrolling to selected value)
289 2009-04-07 Alberto Garcia <agarcia@igalia.com>
291 * src/hildon-touch-selector.c: Fix typos
293 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
295 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
296 Use the event coordinates instead of gdk_window_get_pointer(). Also,
297 request more motions after using it.
299 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
301 * src/hildon-calendar.c (hildon_calendar_expose),
302 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
303 Remove unused variables.
305 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
307 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
310 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
312 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
313 Check the return value of gtk_tree_selection_get_selected()
316 2009-04-06 Alberto Garcia <agarcia@igalia.com>
318 * src/hildon-animation-actor.c
319 * src/hildon-button.c
321 * src/hildon-pannable-area.c
322 * src/hildon-picker-button.c
323 * src/hildon-program.c
324 * src/hildon-remote-texture.c
325 * src/hildon-text-view.c
326 * src/hildon-touch-selector.c
327 * src/hildon-window-stack.c
328 * src/hildon-window.c:
329 Add missing 'Since: 2.2' tags.
331 * doc/hildon-sections.txt:
332 Add some missing symbols.
334 * doc/hildon-docs.sgml:
335 New 'Other' section for HildonAnimationActor and
338 2009-04-06 Alberto Garcia <agarcia@igalia.com>
340 Patch by Iván Gómez (igomez@igalia.com)
344 * doc/hildon-docs.sgml
345 * doc/hildon-sections.txt
349 New chapters on using the Hildon library.
350 Updated the general structure of the reference manual.
351 Other minor documentation fixes.
353 * src/hildon-calendar-popup.c
354 * src/hildon-calendar.c
355 * src/hildon-controlbar.c
356 * src/hildon-date-editor.c
357 * src/hildon-dialog.c
358 * src/hildon-hvolumebar.c
359 * src/hildon-number-editor.c
360 * src/hildon-range-editor.c
361 * src/hildon-sort-dialog.c
362 * src/hildon-time-editor.c
363 * src/hildon-time-picker.c
364 * src/hildon-volumebar-range.c
365 * src/hildon-volumebar.c
366 * src/hildon-vvolumebar.c
367 * src/hildon-weekday-picker.c:
368 Add deprecation notes
370 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
371 Document 'horizontal-movement' and 'vertical-movement' signals.
373 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
378 * configure.ac: Bump version.
379 * debian/changelog: Updates.
381 2009-04-06 Alejandro G. Castro <alex@igalia.com>
383 * src/hildon-pannable-area.c,
384 (hildon_pannable_area_class_init): increased the minimum velocity.
385 (hildon_pannable_area_button_release_cb): Updated the
386 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
387 setup. Review the code to control that last event.
389 Fixes: NB#109790 (Releasing finger in pannable area easily causes
392 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
394 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
396 * src/hildon-get-password-dialog.c
397 (hildon_get_password_set_property),
398 (hildon_get_password_get_property), (create_contents):
399 * src/hildon-login-dialog-private.h:
400 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
401 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
402 (hildon_login_dialog_get_password):
403 * src/hildon-set-password-dialog-private.h:
404 * src/hildon-set-password-dialog.c
405 (hildon_set_password_set_property),
406 (hildon_set_password_get_property), (create_contents),
407 (hildon_set_password_response_change),
408 (hildon_set_password_response_set), (hildon_checkbox_toggled):
410 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
411 instead and look more Fremantle style.
413 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
415 2009-04-03 Alberto Garcia <agarcia@igalia.com>
417 * doc/hildon-sections.txt
418 * src/hildon-window-stack.h
419 * src/hildon-window-stack.c
420 (+hildon_window_stack_get_windows):
421 New API to obtain the list of windows on a stack.
423 2009-04-02 Alberto Garcia <agarcia@igalia.com>
425 * src/hildon-app-menu.c (hildon_app_menu_popup)
426 (hildon_app_menu_class_init, -hildon_app_menu_show):
427 Remove hildon_app_menu_show() and move all its checks to
428 hildon_app_menu_popup()
430 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
432 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
433 (_hildon_picker_dialog_set_selector): removed call to
434 gtk_widget_set_size_request
435 * src/hildon-touch-selector.c
436 (_create_new_column): change the pannable size request policy
438 Avoid to use a hardcoded height for the hildon picker dialog. In order
439 to get that, we needed to change the hildon pannable size request
441 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
443 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
445 * src/hildon-window.c (hildon_window_map): Check for vbox to be
446 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
449 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
451 * debian/control: Depend on osso-system-lock localization package.
452 * src/hildon-code-dialog.c: Obtain the secu_application_title
453 translation from osso-system-lock.
454 * src/hildon-get-password-dialog.c (create_contents): Do not mark
455 for translation the atk related strings, that's not necessary.
456 * src/hildon-set-password-dialog.c (create_contents): Ditto.
457 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
458 cancel button, it is not required.
460 2009-04-02 Alejandro G. Castro <alex@igalia.com>
462 * src/hildon-pannable-area.c,
463 (hildon_pannable_area_class_init): Modified the default value of
464 the overshooting max speed, we have reduced it.
466 2009-04-02 Alberto Garcia <agarcia@igalia.com>
468 * doc/hildon-sections.txt
469 * src/hildon-window-private.h
470 * src/hildon-window.h
471 * src/hildon-window.c (hildon_window_class_init)
472 (hildon_window_init, hildon_window_finalize)
473 (hildon_window_realize, hildon_window_get_property)
474 (hildon_window_set_property, hildon_window_update_markup)
475 (hildon_window_get_markup, hildon_window_set_markup):
476 New "markup" property and hildon_window_{get,set}_markup() methods.
478 * examples/hildon-stackable-window-example.c (new_window):
479 Update example to use hildon_window_set_markup()
481 Fixes: NB#106375 (Need API to retitle a window with a title
484 2009-04-01 Alejandro G. Castro <alex@igalia.com>
486 * src/hildon-pannable-area.c,
487 (hildon_pannable_area_class_init): Changed the default value of
488 the initial_hint to TRUE.
489 (hildon_pannable_area_initial_effect): Changed the initial effect,
490 not the effect is just the fade-out of the scrollbars.
492 Fixes: NB#107775 (No scrollbars can be seen when several items are
493 available in a dialog)
495 2009-04-01 Alberto Garcia <agarcia@igalia.com>
497 * src/hildon-program.c (hildon_program_update_top_most):
500 Fixes: NB#109179 (Memory leak in Hildon program)
502 2009-04-01 Alberto Garcia <agarcia@igalia.com>
504 * src/hildon-banner.c (-get_current_app_window):
505 Remove unused function.
507 2009-04-01 Alejandro G. Castro <alex@igalia.com>
509 * src/hildon-pannable-area.c: Modified the documentation of the
510 get adjustments functions to explain the problem of using the
512 (hildon_pannable_area_class_init): Improved the explanation about
515 2009-04-01 Alberto Garcia <agarcia@igalia.com>
517 * src/hildon-app-menu-private.h
518 * src/hildon-app-menu.c
519 (hildon_app_menu_class_init):
520 Bring back the 'external-border' style property
521 (hildon_app_menu_class_init, hildon_app_menu_init)
522 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
523 Set a fixed width-request for the menu, independent of the number
526 Fixes: NB#94957 (Smoothly opened application menu)
528 2009-03-30 Alberto Garcia <agarcia@igalia.com>
530 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
532 * src/hildon-banner.c
533 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
535 Make sure that the banner is correctly placed the first time it's
537 (hildon_banner_check_position, -check_fullscreen_state):
538 Show the banner in the same place no matter if the window is in
539 fullscreen mode or not.
541 Fixes: NB#107386 (Odd stacking behaviour for information banners)
543 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
545 * src/hildon-touch-selector.c (_default_print_func): reorder
546 concatenation for clarity.
548 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
550 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
551 for multicolumn selectors.
553 Fixes: NB#109099 (Memory leak in Hildon touch selector)
555 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
560 * configure.ac: Bump version.
561 * debian/changelog: Updates.
563 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
565 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
568 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
570 * configure.ac: removed libcangerra-gtk dependency
571 * debian/control: removed libcanberra-gtk dependency
572 * src/Makefile.am: removed libcanberra gtk related flags
573 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
574 context, and manage a global canberra context instead
576 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
578 2009-03-26 Alberto Garcia <agarcia@igalia.com>
580 Patch by Daniel Borgmann (danielb@openismus.com)
582 * src/hildon-edit-toolbar.c:
583 Adjust the left padding.
584 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
585 Paint background of the edit toolbar.
587 Fixes: NB#107897 (Patch to make editmodetoolbar background
588 themeable and adjust margin)
590 2009-03-25 Alberto Garcia <agarcia@igalia.com>
592 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
594 * src/hildon-program.c (hildon_program_update_top_most):
595 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
597 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
598 change when the user tasks in/out of an application)
600 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
602 * configure.ac: added libcangerra-gtk dependency
603 * debian/control: added libcanberra-gtk dependency
604 * src/Makefile.am: added libcanberra gtk related flags
605 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
608 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
610 2009-03-25 Alberto Garcia <agarcia@igalia.com>
612 * src/hildon-program.c (hildon_program_remove_window)
613 (hildon_program_add_window): Add checks for the window
614 parameter. Don't decrease the window counter if the window is not
617 2009-03-24 Alejandro G. Castro <alex@igalia.com>
619 * src/hildon-pannable-area.c,
620 (hildon_pannable_area_realize): Fixed position of the event_window
621 in the realize method.
623 2009-03-24 Alberto Garcia <agarcia@igalia.com>
625 * src/hildon-app-menu-private.h
626 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
627 (hildon_app_menu_map, hildon_app_menu_hide_idle)
628 (hildon_app_menu_key_press, hildon_app_menu_init)
629 (hildon_app_menu_finalize):
630 Make sure that all idle functions are removed when the widget is
633 Fixes: NB#107583 (Hildon app menu crashes in various applications)
635 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
640 * configure.ac: Bump version.
641 * debian/changelog: Updates.
643 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
646 (+hildon_entry_show_placeholder),
647 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
648 that replace hildon_entry_update_contents().
649 (hildon_entry_set_text),
650 (hildon_entry_set_placeholder),
651 (hildon_entry_focus_in_event),
652 (hildon_entry_focus_out_event): Determine when it is needed
653 either to show or hide the placeholder and call the above methods.
655 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
656 when the placeholder text is already set)
658 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
660 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
661 simple GdkPixbufAnim using the new icons for the banner.
662 (hildon_banner_show_animation): Use the above mentioned method to
663 create the animation widget.
665 Fixes: NB#103564 (Make hildon animation banner use individual
666 image files as the animation)
668 2009-03-24 Alejandro G. Castro <alex@igalia.com>
670 * src/hildon-pannable-area.c,
671 (hildon_pannable_leave_notify_event): Check if the child is NULL
672 to avoid sending the leave.
674 2009-03-24 Alejandro G. Castro <alex@igalia.com>
676 * src/hildon-pannable-area.c,
677 (hildon_pannable_area_class_init),
678 (hildon_pannable_leave_notify_event): Added a handler of the
679 leave-notify-signal to consider when no motion notify before
682 Fixes: NB#107494 (Items stay selected when clicking and moving
683 away when inside pannable area)
685 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
690 * configure.ac: Bump version.
691 * debian/changelog: Updates.
693 2009-03-19 Alejandro G. Castro <alex@igalia.com>
695 Patch by Alberto Garcia (agarcia@igalia.com)
697 * src/hildon-date-button.c,
698 (hildon_date_button_class_init),
699 (hildon_date_button_init): Removed the construct property handling
700 and created a default selector in the init method.
701 * src/hildon-picker-button.c,
702 (hildon_picker_button_class_init): Removed the construct flag of the
705 2009-03-18 Alberto Garcia <agarcia@igalia.com>
707 * src/hildon-main.c (hildon_init):
708 Don't allow hildon_init() to be called more than once.
710 Fixes: NB#106607 (hildon_init should issue error message upon
713 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
715 * examples/hildon-pannable-area-touch-list-example.c
716 * examples/hildon-pannagle-area-touch-grid-example.c
717 * examples/hildon-edit-toolbar-example.c
718 * examples/hildon-touch-selector-multi-cells-example.c
719 Removed the call to gtk_rc_parse_string, as it is not required since
722 2009-03-17 Alejandro G. Castro <alex@igalia.com>
724 * src/hildon-pannable-area.c,
725 (hildon_pannable_area_class_init): Modified the default panning
726 threshold of the widget to 6px.
728 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
729 than the threshold value ) within the button is not sending the
732 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
734 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
735 for the treeview in the new column. This way, the touch list will never
738 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
739 be selected manually for the HW keys to work)
741 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
743 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
744 comparison instead of using strcmp(). Fixes a compiler warning as well.
746 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
748 * doc/hildon-docs.sgml: Do not set the library version in the
749 document title, use the releaseinfo tag for that purpose instead.
751 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
753 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
754 Do not jump to the first item if the text in the entry is removed.
756 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
761 * configure.ac: Bump version.
762 * debian/changelog: Updates.
764 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
766 * src/hildon-entry.c (hildon_entry_refresh_contents):
767 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
768 Use "ReversedSecondaryTextColor" for the placeholder text.
770 2009-03-12 Alberto Garcia <agarcia@igalia.com>
772 * src/hildon-text-view.c: Fix compilation warning.
774 2009-03-12 Alberto Garcia <agarcia@igalia.com>
776 * src/hildon-button.c (hildon_button_class_init): Don't make
777 "title" and "value" construction properties, to prevent them from
778 overwriting labels set from derived classes.
780 * src/hildon-picker-button.c
781 (hildon_picker_button_set_selector): Allow setting a NULL selector.
782 (hildon_picker_button_class_init): Make touch-selector a
783 construction property.
785 * src/hildon-date-button.c (hildon_date_button_class_init)
786 (+hildon_date_button_constructed): Add a default date selector if
789 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
791 * src/hildon-touch-selector.c: Small documentation fixes.
793 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
795 Based on a patch by Daniel Borgmann (danielb@openismus.com)
797 * src/hildon-entry.c (hildon_entry_refresh_contents),
798 (hildon_entry_get_text), (hildon_entry_init): Do not use the
799 widget name, set the logical color directly instead and a boolean
800 showing_placeholder instead.
801 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
802 use the widget name here either.
804 Fixes: NB#105678 (HildonTextView should use logical colours
805 instead of setting widget name)
807 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
809 Patch by Daniel Elster (danielk@openismus.com)
811 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
812 Add user_data parameter.
813 (hildon_touch_selector_set_print_func_full): New function akin
814 hildon_touch_selector_set_print_func() but with support for user
815 data and a destroy callback.
816 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
817 to clean up the print function user data.
818 (hildon_touch_selector_class_init): Install dispose function.
819 (HildonTouchSelectorPrivate::print_user_data),
820 (HildonTouchSelectorPrivate::print_destroy_func): New private
822 (hildon_touch_selector_init): Initialize new private members.
823 (hildon_touch_selector_get_current_text): Pass along user data
824 to the print function.
825 (_default_print_func): Add dummy user_data to parameter list.
826 * hildon-date-selector.c (_custom_print_func): ditto,
827 * hildon-time-selector.c (_custom_print_func): ditto,
828 * hildon-touch-selector-entry.c
829 (hildon_touch_selector_entry_print_func): ditto.
831 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
833 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
835 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
837 2009-03-12 Alejandro G. Castro <alex@igalia.com>
839 * src/hildon-pannable-area.c,
840 (hildon_pannable_area_init),
841 (hildon_pannable_area_button_press_cb),
842 (hildon_pannable_area_motion_notify_cb): We have added code to
843 handle the leave and enter events when using the motion events.
845 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
847 2009-03-11 Alberto Garcia <agarcia@igalia.com>
849 * src/hildon-date-button.c (hildon_date_button_get_date)
850 (hildon_date_button_set_date): Make sure that the button has a
853 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
855 2009-03-11 Alejandro G. Castro <alex@igalia.com>
857 * src/hildon-pannable-area.c,
858 (hildon_pannable_area_class_init),
859 (hildon_pannable_area_calculate_velocity): Modify the use of the
860 force and adapt the value.
862 2009-03-10 Alberto Garcia <agarcia@igalia.com>
864 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
865 (hildon_app_menu_class_init): Hide the menu if it receives a
866 delete-event, but don't destroy it
868 Fixes: NB#104485 (Not able to address the call when application
869 menu is opened at background)
871 2009-03-10 Alberto Garcia <agarcia@igalia.com>
873 * src/hildon-app-menu.c
874 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
875 Remove the "external-border" style property, let the menu take its
876 natural size (or the one set by the window manager)
877 (hildon_app_menu_repack_items):
878 Don't reshow the menu, avoid flickers.
880 Partially fixes NB#94957 (Smoothly opened application menu)
882 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
887 * configure.ac: Bump version.
888 * debian/changelog: Updates.
890 2009-03-10 Alejandro G. Castro <alex@igalia.com>
892 * src/hildon-pannable-area.c,
893 (hildon_pannable_area_motion_notify_cb): We control that the
894 direction error margin is used just in case the movement is
895 allowed in the other direction.
897 Fixes: NB#105012 (buttons inside a pannable area not getting
898 release event when dragging/releasing)
900 2009-03-10 Alejandro G. Castro <alex@igalia.com>
902 * src/hildon-pannable-area.c,
903 (hildon_pannable_area_class_init),
904 (hildon_pannable_area_get_property),
905 (hildon_pannable_area_set_property),
906 (hildon_pannable_area_initial_effect),
907 (hildon_pannable_axis_scroll),
908 (hildon_pannable_area_button_release_cb): Reviewed the
909 overshooting effect, now it has its own max
910 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
913 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
918 * configure.ac: Bump version.
919 * debian/changelog: Updates.
921 2009-03-09 Alejandro G. Castro <alex@igalia.com>
923 * src/hildon-pannable-area.c,
924 (hildon_pannable_area_class_init): Changed the max speed, now
925 users can launch the widget very fast. Reduced the default force,
926 that way it is easier to control the launch speed.
928 2009-03-09 Alejandro G. Castro <alex@igalia.com>
930 * src/hildon-pannable-area.c,
931 (hildon_pannable_area_button_release_cb): Removed this check
932 because it causes problems when the device is overloaded.
934 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
936 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
937 add a current_text field to store the text entered in the
938 touch selector entry.
939 (_clean_current_selection): clean up the current text as well.
940 (_save_current_selection), (_restore_current_selection):
941 Save/restore the text in the entry if the selector is a
942 HildonTouchSelectorEntry.
944 Fixes: NB#102541 (value entered in the touch selector entry is not
945 shown when opened for second time)
947 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
949 * doc/hildon-sections.txt:
950 * src/hildon-touch-selector-entry.c
951 (+hildon_touch_selector_entry_get_entry):
952 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
954 Fixes: NB#104815 (I need accessor to the entry inside
955 HildonTouchSelectorEntry)
957 2009-03-06 Alberto Garcia <agarcia@igalia.com>
959 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
960 (hildon_app_menu_class_init):
961 New "filter-vertical-spacing" style property.
963 2009-03-06 Alberto Garcia <agarcia@igalia.com>
965 * src/hildon-find-toolbar.c
966 (hildon_find_toolbar_emit_close)
967 (hildon_find_toolbar_emit_invalid_input)
968 (hildon_find_toolbar_entry_activate):
969 Use g_signal_emit() instead of g_signal_emit_by_name()
971 2009-03-06 Alberto Garcia <agarcia@igalia.com>
973 Patch by Mox Soini (ext-mox.soini@nokia.com)
975 * tests/TEST-CASES.txt
976 * tests/check-hildon-banner.c
977 * tests/check-hildon-note.c
978 * src/hildon-banner.c
979 * src/hildon-code-dialog.c
980 * src/hildon-date-editor.c (real_set_calendar_icon_state)
981 * src/hildon-time-editor.c
982 * examples/hildon-lookup-example.c (main):
983 Replace obsolete icon names with new ones.
985 * src/hildon-find-toolbar-private.h:
986 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
987 (-hildon_find_toolbar_emit_search):
988 Remove find button and change icon of close button.
990 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
992 2009-03-05 Alberto Garcia <agarcia@igalia.com>
994 * src/hildon-time-button.c (hildon_time_button_new_step):
995 Use the "touch-selector" property to set the selector directly
996 when creating the object.
998 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1000 Added a new example application that allows tuning the pannable
1001 area and replaced defines with properties in order to simplify the
1002 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1003 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1004 PROP_DIRECTION_ERROR_MARGIN.
1006 * examples/hildon-pannable-area-tuning-example.c: New example
1008 * src/hildon-pannable-area.c,
1009 (hildon_pannable_area_class_init),
1010 (hildon_pannable_area_init),
1011 (hildon_pannable_area_get_property),
1012 (hildon_pannable_area_set_property),
1013 (hildon_pannable_area_launch_fade_timeout),
1014 (hildon_pannable_area_adjust_value_changed),
1015 (hildon_pannable_axis_scroll),
1016 (hildon_pannable_area_motion_notify_cb),
1017 (hildon_pannable_area_scroll_cb),
1018 (hildon_pannable_area_button_release_cb): We have converted some
1019 of the defines that control the widget to properties to simplify
1022 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1024 * src/hildon-app-menu.c (hildon_app_menu_map)
1025 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1026 so it's closed if a new window appears.
1028 Fixes: NB#104485 (Not able to address the call when application
1029 menu is opened at background)
1031 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1033 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1034 missing 'break' statement in in 'case' construct to avoid
1037 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1039 * src/hildon-touch-selector-entry.c
1040 (hildon_touch_selector_entry_get_property),
1041 (hildon_touch_selector_entry_set_property): Add missing 'break'
1042 statements in in 'case' constructs to avoid incorrect warnings.
1044 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1046 * src/hildon-time-editor.c
1047 (hildon_time_editor_get_time_separators): Do not crash if
1048 the first label is NULL.
1050 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1052 * src/hildon-date-selector.c (_month_days): Check for month to be
1053 strictly less than 12, since otherwise we may overrun the array.
1055 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1057 * src/hildon-date-button.c (+hildon_date_button_new_full)
1058 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1059 (hildon_date_button_init): Set the date selector using a
1060 construction property, to make it happen after HildonButton's
1061 "value" property is set.
1063 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1064 current date by default)
1066 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1068 * doc/hildon-sections.txt
1069 * src/hildon-program.c
1070 * src/hildon-stackable-window.c
1071 * src/hildon-window.c:
1072 Documentation updates
1074 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1076 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1077 (hildon_window_stack_new, +hildon_window_stack_set_property)
1078 (+hildon_window_stack_get_property)
1079 (hildon_window_stack_class_init)
1080 (+hildon_window_stack_set_window_group)
1081 (+hildon_window_stack_get_window_group):
1082 Make the window group a construction property.
1084 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1086 * doc/hildon-sections.txt
1087 * src/hildon-stackable-window-private.h
1088 * src/hildon-stackable-window.h
1089 * src/hildon-stackable-window.c
1090 (-hildon_stackable_window_set_app_menu)
1091 (-hildon_stackable_window_get_app_menu)
1092 (-hildon_stackable_window_toggle_menu)
1093 (-hildon_stackable_window_finalize)
1094 (hildon_stackable_window_class_init)
1095 (hildon_stackable_window_init)
1096 * src/hildon-window-private.h
1097 * src/hildon-window.h
1098 * src/hildon-window.c (hildon_window_init)
1099 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1100 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1101 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1102 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1103 Moved all HildonAppMenu code to HildonWindow. The menu does not
1104 require a HildonStackableWindow anymore.
1106 * src/hildon-app-menu.c
1107 * src/hildon-program.c
1108 * examples/hildon-app-menu-example.c (main):
1109 Update examples and documentation to reflect HildonAppMenu
1112 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1114 * src/hildon-remote-texture.c
1115 * src/hildon-animation-actor.c:
1116 Don't include unused private headers.
1118 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1120 * src/hildon-program-private.h
1121 * src/hildon-program.c
1122 (hildon_program_set_common_menu)
1123 (hildon_program_get_common_menu)
1124 (hildon_program_set_common_app_menu)
1125 (hildon_program_get_common_app_menu):
1126 Change common menu pointers from GtkWidget* to GtkMenu* and
1127 HildonAppMenu* to avoid unnecessary casts.
1129 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1131 * src/hildon-window.c (hildon_window_set_main_menu):
1132 Removed incorrect 'Since:' tag
1134 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1136 * src/hildon-pannable-area.c,
1137 (hildon_pannable_area_calculate_velocity): We use now the
1138 RATIO_TOLERANCE here to check the distance, fixed typo in the
1140 (hildon_pannable_area_motion_notify_cb): We have to set the type
1141 and time even if we are not sending the motion.
1143 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1145 * doc/hildon-sections.txt
1146 * src/hildon-app-menu.h
1147 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1148 (+hildon_app_menu_get_filters): New methods to get the contents of
1151 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1154 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1156 * src/hildon-app-menu.c (hildon_app_menu_popup):
1159 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1161 * src/hildon-window.h
1162 * src/hildon-window.c (+hildon_window_get_main_menu)
1163 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1164 and deprecated hildon_window_get_menu().
1166 * src/hildon-stackable-window.h
1167 * src/hildon-stackable-window.c
1168 (+hildon_stackable_window_set_app_menu)
1169 (+hildon_stackable_window_get_app_menu)
1170 (hildon_stackable_window_set_main_menu): Created
1171 hildon_stackable_window_{get,set}_app_menu() and deprecated
1172 hildon_stackable_window_set_main_menu().
1174 * doc/hildon-sections.txt
1175 * examples/hildon-app-menu-example.c (main)
1176 * src/hildon-app-menu.c
1177 * src/hildon-program.c:
1178 Updated examples and documentation.
1180 Fixes: NB#103758 (No way to obtain a menu from a
1181 HildonStackableWindow)
1183 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1188 * configure.ac: Bump version.
1189 * debian/changelog: Updates.
1191 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1193 * examples/hildon-remote-texture-example.c: Include
1194 hildon-remote-texture.h explicitely.
1195 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1196 applications not defining _XOPEN_SOURCE which don't require this header.
1198 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1200 * doc/hildon-sections.txt
1201 * src/hildon-app-menu.h
1202 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1203 New function to pop up a HildonAppMenu
1205 * src/hildon-stackable-window.c
1206 (hildon_stackable_window_toggle_menu):
1207 Use hildon_app_menu_popup() to show the menu.
1209 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1211 * src/hildon-app-menu.c (hildon_app_menu_show)
1212 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1213 menu if there's another window between it and its parent window.
1215 Fixes: NB#100468 (Application menu window is launched even when a
1216 new secondary-window/dialog is pending to be shown/realized)
1218 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1220 * src/hildon-window-stack.c (hildon_window_stack_push)
1221 (hildon_window_stack_pop_and_push):
1222 Don't forget to push/pop the first window.
1223 Reverse the window list before calling _push_list()
1225 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1227 * src/hildon-picker-button.h
1228 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1229 Remove "value_changed" slot to avoid ABI breakage
1231 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1233 * src/hildon-pannable-area.c,
1234 (hildon_pannable_area_realize),
1235 (hildon_pannable_area_unrealize),
1236 (hildon_pannable_draw_vscroll),
1237 (hildon_pannable_draw_hscroll): Changed the method to handle the
1238 GC used to draw the transparent scrollbar, this way we avoid
1239 creating the GC all the time when drawing the scrollbars.
1241 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1243 * src/hildon-pannable-area.c,
1244 (hildon_pannable_area_init),
1245 (hildon_pannable_area_remove): Removed some unnecessary casts.
1246 (hildon_pannable_area_dispose): Disconnected some signals before
1247 releasing the adjustments.
1249 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1251 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1252 Make sure that all widgets contained in the toolbar are shown.
1254 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1256 * doc/hildon-sections.txt
1257 * src/hildon-picker-button.h
1258 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1259 (_selection_changed, hildon_picker_button_on_dialog_response)
1260 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1261 New hildon_picker_button_value_changed() method.
1264 * src/hildon-picker-button-private.h
1265 * src/hildon-picker-button.c (hildon_picker_button_init)
1266 (+hildon_picker_button_disable_value_changed): Add protected
1267 function for disabling the "value-changed" signal.
1269 * src/hildon-date-button.c (hildon_date_button_set_date):
1270 Don't emit "value-changed" for each one of the three columns.
1272 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1273 before actual change of values)
1275 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1277 * src/hildon-pannable-area.c,
1278 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1279 for the treeview overshooting.
1281 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1283 * src/hildon-banner.c (+hildon_banner_bind_style):
1284 Renamed from hildon_banner_bind_label_style(), now naming the
1285 banner itself as well.
1286 (hildon_banner_show_information),
1287 (hildon_banner_show_information_with_markup),
1288 (hildon_banner_show_animation), (hildon_banner_show_progress):
1289 Name the widgets and labels, based on their type.
1291 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1294 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1296 * src/hildon-note.c (hildon_note_set_property): call
1297 hildon_note_rename() on HildonNote:note-type set.
1298 (hildon_note_rename): Name the note and its label, based on the
1299 HildonNote:note-type property.
1301 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1304 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1306 * src/hildon-pannable-area.c,
1307 (hildon_pannable_area_class_init),
1308 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1309 panning parameters, increased SPS and deceleration factor. Added
1310 also a margin to control fake directions.
1312 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1314 Patch by Sven Herzberg (sven@imendio.com)
1316 * configure.ac: Add missing AM_PROG_CC_C_0
1317 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1319 See NB#101420 (Update unit tests and fix make check)
1321 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1323 This patch was applied before but reverted because it caused
1324 problems, we have changed the main condition and tested the
1325 regressions we detected before and they work ok. We have done a
1326 complete review of the topmost algorithm in order to get a more
1329 * src/hildon-pannable-area.c,
1330 (hildon_pannable_area_get_topmost): Added a new parameter to
1331 filter the the windows that do not include those events.
1332 (hildon_pannable_area_button_press_cb),
1333 (hildon_pannable_area_button_release_cb),
1334 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1335 topmost function, we have added the new parameter.
1337 Fixes: NB#97458 (Pannable area prevents propagation of button
1340 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1342 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1343 if all columns in the selector have an item selected.
1344 (_on_dialog_response): Stop "response" signal emission if there is
1345 any selector column without selected items.
1347 Fixes: NB#101889 (Picker dialog should not close when nothing is
1348 selected in multiple selection list)
1350 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1352 * src/hildon-font-selection-dialog.c
1353 (hildon_font_selection_dialog_class_init),
1354 (hildon_font_selection_dialog_init): Remove the preview
1355 button and dialog, since previewing with default theming is likely
1356 to be overcomplicated. The :preview property has now no effect.
1357 Update documentation blurbs to inform about this.
1359 Fixes: NB#92297 (Preview content is not clearly visible for
1360 default colour text)
1362 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1364 Reviewed the geometry that handles the children size and
1365 scrollbar, now it tries a size and reviews the results depending
1366 on the scrollbars visibility.
1368 * src/hildon-pannable-area.c,
1369 (hildon_pannable_area_realize): Fixed a typo.
1370 (hildon_pannable_area_child_allocate_calculate): Added this
1371 function to calculate the child allocation.
1372 (hildon_pannable_area_size_allocate): Reviewed the allocation
1374 (hildon_pannable_area_check_scrollbars),
1375 (hildon_pannable_area_refresh): Refactored refresh function, this
1376 way we can call the code handling the scrollbars without causing a
1377 size_request, it is interesting in the allocate.
1378 (hildon_pannable_area_init): Replace the callbacks of the
1379 value_changed and changed signals to propertly deal with the
1381 (hildon_pannable_area_grab_notify),
1382 (hildon_pannable_area_initial_effect),
1383 (hildon_pannable_area_launch_fade_timeout),
1384 (hildon_pannable_area_adjust_changed),
1385 (hildon_pannable_area_adjust_value_changed),
1386 (hildon_pannable_area_redraw),
1387 (hildon_pannable_area_button_press_cb),
1388 (hildon_pannable_area_button_release_cb),
1389 (hildon_pannable_area_scroll_cb),
1390 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1391 code and use the new functions adjust_changed and
1392 adjust_value_changed.
1394 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1395 Contact editor dialog)
1397 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1402 * configure.ac: Bump version.
1403 * debian/changelog: Updates.
1405 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1407 * src/hildon-pannable-area.c,
1408 (hildon_pannable_area_get_topmost),
1409 (hildon_pannable_area_button_press_cb),
1410 (hildon_pannable_area_button_release_cb),
1411 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1412 topmost function adding the event mask. We have to try a
1413 differente approach because it is still causing problems (NB#9745,
1416 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1418 * src/hildon-banner.c:
1419 Update the maximum width of timed banners.
1420 (force_to_wrap_truncated): Enforce the maximum text width if the
1423 Fixes: NB#102413 (The text margins (wrapping) in information
1424 banner should be HILDON_MARGIN_TRIPLE)
1426 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1428 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1430 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1431 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1432 bound when calculating the scroll indicator position.
1434 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1435 treat ->lower correctly)
1437 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1439 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1440 expose event handling, since it is not necessary to draw the focus
1443 Fixes: NB#102467 (Do not show highlight on the text in
1446 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1448 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1449 full height of the toolbar for the button and the label.
1451 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1453 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1454 padding before the label and after the button.
1456 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1458 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1460 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1461 Add a GtkVSeparator between the button and the back arrow.
1462 Let the button have automatic size.
1463 Set a name to the widget for theming handling.
1465 Fixes: NB#101793 (Make edit toolbar the same height as window
1466 title bar (use title area theming))
1468 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1470 * src/hildon-helper.c (attach_new_color_element): Fix memory
1473 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1475 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1477 * examples/hildon-button-example.c (common_buttons_window): Don't
1480 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1482 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1483 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1485 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1487 * src/hildon-gtk.c: Check that the window is realized.
1489 Fixes: NB#102225 (Crash setting the progress indicator to a non
1492 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1494 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1495 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1496 instead of modifying the one in the widget style.
1498 Fixes: NB#101043 (Second row of all the command button are
1499 displayed in transparent mode.)
1501 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1503 * src/hildon-date-button.c
1504 * src/hildon-time-button.c: Add gettext macros
1506 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1508 * src/hildon-date-button.c (hildon_date_button_new):
1509 * src/hildon-time-button.c (hildon_time_button_new_step):
1510 Use new logical strings to set the button default title.
1512 Fixes: NB#99915 (Date and Time options are not localised in Date
1515 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1517 * src/hildon-pannable-area.c
1518 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1519 the PANNING_THRESHOLD.
1521 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1523 * src/hildon-pannable-area.c,
1524 (hildon_pannable_area_class_init): Increased the maximum speed.
1525 (hildon_pannable_area_get_property),
1526 (hildon_pannable_area_set_property),
1527 (hildon_pannable_area_timeout): Added a new low friction mode, it
1528 allows the user avoid friction when launching the widget fast
1529 enough. It is interesting to traverse long lists.
1531 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1533 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1534 (+hildon_stackable_window_delete_event): Ignore delete events if
1535 the window is not the topmost one.
1537 Fixes: NB#101698 (Back button long press and delete-event handling)
1539 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1541 * src/hildon-pannable-area.c,
1542 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1543 gtk-dnd-drag-threshold, it was too big. We have defined our own
1544 dnd define and set a smaller value: PANNIG_THRESHOLD.
1546 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1548 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1549 user-defined icons, use always the default one.
1551 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1553 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1555 This patch was applied before but reverted because it caused
1556 problems, we have changed the main condition and tested the
1557 regressions we detected before and they work ok.
1559 * src/hildon-pannable-area.c,
1560 (hildon_pannable_area_get_topmost): Added a new parameter to
1561 filter the the windows that do not include those events. Added
1562 also a condition when finding the window to filter windows that do
1563 not ask for those events.
1564 (hildon_pannable_area_button_press_cb),
1565 (hildon_pannable_area_button_release_cb),
1566 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1567 topmost function, we have added the new parameter.
1569 Fixes: NB#97458 (Pannable area prevents propagation of button
1572 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1574 * tests/check-hildon-color-button.c (START_TEST): do not leak
1577 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1579 * src/hildon-font-selection-dialog.c
1580 (hildon_font_selection_dialog_get_preview_text): Return NULL
1581 instead of FALSE on the g_return_val_if_fail().
1583 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1585 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1586 * src/hildon-date-selector.c
1587 (hildon_date_selector_select_current_date):
1588 Do not compare unsigned integers to be greater than or equal 0,
1589 because it's always TRUE.
1591 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1593 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1594 (hildon_date_selector_constructor): Do not select the current
1595 date until we are handle the "changed" signal, to avoid having bogus
1596 elements in the days model.
1598 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1600 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1601 for num_days, since _month_days() can return a negative value.
1603 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1605 * src/hildon-caption.c (hildon_caption_size_allocate):
1606 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1607 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1609 Initialize allocation variables to 0, to avoid eventually using
1610 unitialized variables.
1612 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1614 * src/hildon-bread-crumb-trail.c
1615 (hildon_bread_crumb_trail_size_allocate):
1616 * src/hildon-calendar.c (hildon_calendar_set_background):
1617 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1618 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1619 * src/hildon-seekbar.c (hildon_seekbar_init):
1620 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1621 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1622 * src/hildon-touch-selector-entry.c
1623 (hildon_touch_selector_get_text_from_model):
1624 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1625 * src/hildon-window.c (hildon_window_finalize):
1627 Remove many unused variables.
1629 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1631 * src/hildon-seekbar.c: (hildon_seekbar_init),
1632 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1634 Remove unnecessary g_assert() calls.
1636 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1638 * src/hildon-caption.c: (hildon_caption_expose),
1639 (hildon_caption_set_property), (hildon_caption_init),
1640 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1641 (hildon_caption_size_request), (hildon_caption_size_allocate),
1642 (hildon_caption_forall), (hildon_caption_set_separator),
1643 (hildon_caption_activate), (hildon_caption_set_child_expand),
1644 (hildon_caption_set_label_text),
1645 (hildon_caption_get_label_alignment):
1647 Remove unnecessary g_assert() calls.
1649 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1651 * src/hildon-banner.c
1652 (hildon_banner_map, hildon_banner_init): Make banner temporary
1653 before mapping it to avoid closing other temporary windows, but
1654 make it non-temporary afterwards to avoid being closed by other
1655 non-temporary windows.
1656 (-hildon_banner_client_event, hildon_banner_init):
1657 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1659 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1662 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1664 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1667 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1669 * src/hildon-remote-texture.c
1670 * src/hildon-remote-texture.h
1671 * src/hildon-remote-texture-private.h
1672 * examples/hildon-remote-texture-example.c:
1673 Updates/fixes to remote-texture and its example.
1675 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1677 Patch by Mox Soini (ext-mox.soini@nokia.com)
1679 * src/hildon-code-dialog.c: Update logical id.
1680 * src/hildon-set-password-dialog.c: Update logical id.
1682 Fixes: NB#100646 (Logical strings is shown for ok in set
1683 password,Password needed dialogs)
1685 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1688 * src/hildon-remote-texture.c
1689 * src/hildon-remote-texture.h
1690 * src/hildon-remote-texture-private.h
1692 Added remote texture widget (for Clutter shared memory textures)
1694 * examples/hildon-remote-texture-example.c
1695 * examples/Makefile.am
1696 Added example file for remote texture usage
1698 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1700 * configure.ac: post release version bump.
1701 * debian/changelog: version bump.
1703 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1708 * configure.ac: Bump version.
1709 * debian/changelog: Updates.
1711 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1713 * src/hildon-date-selector.c (hildon_date_selector_init)
1714 (hildon_date_selector_constructor): Don't connect to the "changed"
1715 signal until the selector is completely constructed.
1717 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1719 * src/hildon-touch-selector.c: (_create_new_column),
1720 (hildon_touch_selector_append_column),
1721 (hildon_touch_selector_set_column_selection_mode),
1722 (hildon_touch_selector_set_active),
1723 (hildon_touch_selector_select_iter):
1724 Emit the HildonTouchSelector::changed signal every time selection
1725 is changed in any of the methods above. This behavior was already
1726 documented but not fully functional.
1728 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1729 selection is programmatically changed)
1731 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1733 * doc/hildon-sections.txt: Remove obsolete icon
1734 sizes from here as well.
1736 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1738 * examples/hildon-stackable-window-example.c (add_window): Remove
1741 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1743 * src/hildon-app-menu.c
1744 (hildon_app_menu_show): Check whether the parent window of a menu
1745 is topmost before popping it up.
1747 Fixes: NB#100468 (Application menu window is launched even when a
1748 new secondary-window/dialog is pending to be shown/realized.)
1750 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1752 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1755 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1757 Patch by Mox Soini (ext-mox.soini@nokia.com)
1759 * src/hildon-banner.c: (hildon_banner_show_animation):
1760 use stylus size instead of obsolete note size.
1761 * src/hildon-defines.h: Update icon sizes.
1763 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1765 * src/hildon-touch-selector-entry.c:
1766 (hildon_touch_selector_entry_init): Disable unsupported
1768 (hildon_touch_selector_entry_get_text_column): Emit a warning
1769 if an unsupported input modes is used and explicitile state
1770 these modes in the documentation.
1772 Fixes: NB#99802 (Hildon touch selector entry not working properly
1773 for some of the input modes)
1775 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1777 * src/hildon-pannable-area.c,
1778 (hildon_pannable_area_init): Added the changed signal handlers of
1781 Fixes: NB#100320 (HildonPannableArea does not listen to
1782 GtkAdjustment "change" signals)
1784 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1786 * doc/hildon-sections.txt
1787 * src/hildon-window-private.h
1788 * src/hildon-window.h
1789 * src/hildon-window.c (hildon_window_init)
1790 (hildon_window_realize, hildon_window_unrealize)
1791 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1792 (hildon_window_size_request, hildon_window_size_allocate)
1793 (hildon_window_forall, hildon_window_show_all)
1794 (hildon_window_destroy, +paint_edit_toolbar)
1795 (+hildon_window_set_edit_toolbar):
1796 New hildon_window_set_edit_toolbar() method, to add a
1797 HildonEditToolbar to a window without having to pack it manually.
1799 Reorganize hildon_window_size_allocate()
1801 * src/hildon-edit-toolbar.c: Update documentation.
1803 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1804 example to use the new API.
1806 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1808 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1810 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1811 Remove from stack before calling parent's hide.
1813 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1815 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1816 window is removed from the middle of the stack, update the
1817 transiency of the previous one.
1819 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1822 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1824 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1825 block/unblock the signal handler if it's not actually being used.
1826 Fixes some critical warnings.
1828 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1830 Based on a patch by Iván Gómez (igomez@igalia.com)
1832 * src/hildon-banner.c
1836 * src/hildon-pannable-area.c
1837 * src/hildon-picker-dialog.c
1838 * src/hildon-wizard-dialog.h
1839 * src/hildon-wizard-dialog.c: Documentation updates.
1841 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1842 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1844 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1846 * configure.ac: post release version bump.
1847 * debian/changelog: version bump.
1849 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1854 * configure.ac: Bump version.
1855 * debian/changelog: Updates.
1857 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1859 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1860 a stock icon nor change the relief of the back arrow.
1862 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1863 graphics from theme)
1865 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1867 * src/hildon-button.c (hildon_button_set_alignment): Use
1868 priv->alignment if the button has no child yet.
1870 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1872 * src/hildon-button.c: (hildon_button_init): Set the
1873 button style during initialization to give it the proper
1876 Fixes: NB#99713 (HildonButton value label color is wrong)
1878 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1880 * src/hildon-touch-selector.c: Document
1881 hildon_touch_selector_center_on_selected()
1883 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1885 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1886 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1887 all menu items, but not the menu itself.
1888 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1889 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1890 items after adding them to the menu so keyboard accelerators work.
1891 (hildon_app_menu_show): Don't show the menu if it contains items
1892 but none of them are visible.
1894 * examples/hildon-app-menu-example.c (create_menu): Use
1895 gtk_widget_show_all() to show all menu items.
1897 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1899 * src/hildon-picker-dialog.c:
1900 (-_update_title_on_selector_changed_cb),
1901 (-_dialog_update_title): Removed.
1902 (_select_on_selector_changed_cb), (_on_dialog_response),
1903 (on_selector_columns_changed): Do not update the dialog title.
1904 (setup_interaction_mode): Do not connect to
1905 HildonTouchSelector::changed signal if there's a "done" button, as
1906 the dialog title doesn't need to be updated.
1908 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1911 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1913 Patch by Kristian Rietveld (kris@imendio.com)
1915 * src/hildon-touch-selector.c: (_create_new_column): Use new
1916 GtkTreeView::hildon-row-tapped signal to react to user interactions
1917 instead of ::changed.
1919 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1920 with some dynamic tree model)
1922 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1924 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1925 (+screen_size_changed, +label_size_request)
1926 (hildon_note_class_init): Make the Hildon information note have a
1927 minimum height, and make its text hvae a maximum width.
1929 Fixes: NB#98614 (Hildon information note (background) should have
1930 minimum height and maximum text width)
1932 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1934 * src/hildon-banner.h
1935 * src/hildon-banner.c (hildon_banner_show_information)
1936 (hildon_banner_show_informationf)
1937 (hildon_banner_show_information_with_markup): Update documentation
1938 to reflect that the icon_name parameter is not used anymore.
1939 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1940 Remove all code from these functions and mark them as deprecated.
1941 (hildon_banner_show_progress): Mark as deprecated.
1943 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1945 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1947 * src/hildon-pannable-area.c,
1948 (hildon_pannable_area_class_init),
1949 (tranparency_color),
1950 (hildon_pannable_draw_vscroll),
1951 (hildon_pannable_draw_hscroll),
1952 (hildon_pannable_area_expose_event): Added a new way to render the
1953 scrollbars of the pannable area avoiding using cairo at all. This
1954 way we improve the performance of the pannable area rendering. The
1955 cairo rendering procedure is still in the code, we can control
1956 which one to use changing the value of the define
1957 USE_CAIRO_SCROLLBARS.
1959 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1961 * configure.ac: post release version bump.
1962 * debian/changelog: version bump.
1964 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1969 * configure.ac: Bump version.
1970 * debian/changelog: Updates.
1972 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1974 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1975 banners instead of destroying them when they receive a button
1978 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1980 Reverted commit 34028, it was causing regressions, probably the
1981 topmost condition is not correct, we have to check it in more
1982 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1983 propagation of button press events)
1985 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1987 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1988 that the selection is not empty before attempting to retrieve the
1989 current ampm selection.
1991 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1993 * src/hildon-picker-button.c:
1994 (hildon_picker_button_on_dialog_response): Directly update the
1995 button contents when required instead of calling _selection_changed.
1997 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1999 * src/hildon-program.c (hildon_program_update_top_most): Update
2000 'is-topmost' property also when wm_hints is not set.
2002 Fixes: NB#98383 (is-topmost signal is not emitted when task
2003 switcher is clicked.)
2005 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2007 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2011 * src/hildon-animation-actor.c,
2012 * src/hildon-animation-actor.h: Added the animation actor class,
2013 this widget represents an animation actor for WM-assisted
2014 animation effects in the Hildon framework.
2016 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2018 * src/hildon-window-stack-private.h
2019 * src/hildon-window-stack.c
2020 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2021 Avoid calling gtk_widget_show() again indirectly from
2022 hildon_stackable_window_show()
2024 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2026 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2029 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2031 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2032 (hildon_time_selector_init): Move the construction of the hours and
2033 ampm columns to the constructor to preserve the order the columns
2036 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2038 * src/hildon-picker-dialog.c:
2039 (hildon_picker_dialog_class_init): Connect a realize method.
2040 (+hildon_picker_dialog_realize): Setup the interaction mode here
2042 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2043 yet, do it during the realize instead.
2044 (_on_dialog_response):
2045 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2046 if the widget is not realized, to avoid the dialog response before it
2049 Avoid premature responses in the HildonPickerDialog that can cause it
2050 to be hidden before it's even shown.
2052 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2054 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2055 (on_selector_columns_changed), (requires_done_button),
2056 (+prepare_action_area), (setup_interaction_mode),
2057 (_hildon_picker_dialog_set_selector):
2059 Split the interaction mode setup into preparation of the
2060 action area (prepare_action_area()) and the connection of
2061 the signals in setup_interaction_mode() and update the code to
2064 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2066 * src/hildon-pannable-area.c,
2067 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2068 per second to 15, we will check if this is ok regarding
2071 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2073 * src/hildon-pannable-area.c,
2074 (hildon_pannable_axis_scroll): Avoid resize if we already have
2075 reached overshoot_max.
2077 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2079 * src/hildon-pannable-area.c,
2080 (hildon_pannable_area_init),
2081 (hildon_pannable_area_realize),
2082 (hildon_pannable_area_size_allocate),
2083 (hildon_pannable_area_map),
2084 (hildon_pannable_area_unmap),
2085 (hildon_pannable_draw_vscroll),
2086 (hildon_pannable_draw_hscroll),
2087 (hildon_pannable_area_expose_event),
2088 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2089 pannable are to avoid the expose events go to the window and
2090 redraw the window. We save this way that part of the stack and the
2091 paint_boxes. We had to change the positions of the elements when
2094 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2096 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2097 * src/hildon-color-chooser-dialog.c:
2098 (hildon_color_chooser_dialog_init):
2099 * src/hildon-font-selection-dialog.c:
2100 (hildon_font_selection_dialog_init),
2101 (hildon_font_selection_dialog_show_preview):
2102 * src/hildon-get-password-dialog.c:
2103 * src/hildon-login-dialog.c:
2104 * src/hildon-set-password-dialog.c:
2105 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2106 * src/hildon-time-picker.c: (hildon_time_picker_init):
2108 Remove obsolete logical string IDs and update to the appropriate ones.
2110 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2112 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2114 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2115 that happens if the window hasn't been realized yet.
2117 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2118 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2120 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2122 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2123 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2126 Fixes: NB#98537 (Device hangs in account settings dialog)
2128 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2130 * configure.ac: post release version bump.
2131 * debian/changelog: version bump
2133 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2138 * configure.ac: Bump version.
2139 * debian/changelog: Updates.
2141 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2143 Added a new function to the HildonTimeButton widget that allows to
2144 change the step of the minutes in the selector associated with the
2145 button: hildon_time_button_new_step
2147 * src/hildon-time-button.c,
2148 (hildon_time_button_init),
2149 (hildon_time_button_new),
2150 (hildon_time_button_new_step):
2151 * src/hildon-time-button.h: Added the new function and refactored
2153 * examples/hildon-time-button-example.c,
2154 (main): We have replaced the function without parameters with the
2155 function with the steps set to 5
2157 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2159 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2161 * src/hildon-time-selector.c,
2162 (hildon_time_selector_class_init),
2163 (hildon_time_selector_constructor),
2164 (hildon_time_selector_get_property),
2165 (hildon_time_selector_set_property),
2166 (_create_minutes_model),
2167 (hildon_time_selector_new_step),
2168 (hildon_time_selector_set_time),
2169 * src/hildon-time-selector.h: Added a new property to the
2170 HildonTimeSelector (minutes-step), we use that property to control
2171 the steps between the minutes in the list of the selector. We have
2172 added a new function to the API to create a widget changing the
2173 step: hildon_time_selector_new_step.
2175 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2177 * src/hildon-time-selector.c,
2178 (hildon_time_selector_class_init),
2179 (hildon_time_selector_constructor),
2180 (hildon_time_selector_init): Overrided the construct function when
2181 creating the time selector object. We have moved the minutes model
2182 handling code from the init to the new construction function:
2183 hildon_time_selector_constructor.
2185 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2187 * examples/hildon-date-button-example.c: (main): Use the new
2188 hildon_date_button_new_with_year_range() method in the example.
2189 * src/hildon-date-button.c:
2190 (+hildon_date_button_new_with_year_range): New public method
2191 to conveniently create a HildonDateButton with a custom year range
2192 in its HildonDateSelector.
2193 * src/hildon-date-button.h: Add the new public method definition.
2195 Fixes: NB#97908 (Not possible to change the year range in
2196 HildonDateSelector/HildonDateButton)
2198 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2200 * src/hildon-date-selector.c:
2201 (+hildon_date_selector_set_property),
2202 (+hildon_date_selector_get_property),
2203 (hildon_date_selector_class_init): Install new properties "min-year"
2204 and "max-year" to define boundaries for the year column.
2205 (_create_year_model): Use the boundary properties to populate the model.
2206 (+hildon_date_selector_new_with_year_range): New public method to
2207 create a HildonDateSelector with a user defined year range.
2208 (hildon_date_selector_select_current_date): Use the new boundaries to
2209 calculate the iterator of current year.
2210 * src/hildon-date-selector.h: Add the new public method definition.
2212 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2214 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2215 Install a constructor method.
2216 (+hildon_date_selector_construct_ui): construct the widget.
2217 (+hildon_date_selector_constructor): new constructor.
2218 (+hildon_date_selector_init): move out widget construction code to
2219 the new constructor.
2221 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2223 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2224 that there's actually a month or year selected before obtaining them.
2225 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2226 of the HildonTouchSelector::changed signal, as it was emitted on every
2227 single item selection.
2229 Fix some warnings and possible crashers due to the selection restoring.
2231 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2233 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2234 the signal handlers only after creating the dialog instead of on every
2237 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2239 * src/hildon-button.c (hildon_button_init)
2240 * src/hildon-check-button.c (hildon_check_button_init)
2241 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2242 focus when clicked by default.
2244 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2246 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2249 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2251 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2252 Alejandro G. Castro (alex@igalia.com)
2254 * src/hildon-picker-dialog.c:
2255 (hildon_picker_dialog_class_init): install new "center-on-show"
2257 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2258 (hildon_picker_dialog_set_property): add setter code for the new
2260 (hildon_picker_dialog_get_property): add getter code for the new
2262 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2263 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2266 Fixes: NB#92849 (Selected item is not always visible when
2267 HildonTouchSelector is shown)
2269 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2271 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2272 Alejandro G. Castro (alex@igalia.com)
2274 * src/hildon-touch-selector.c:
2275 (_create_new_column): Do not connect to the "realize" signal of the
2277 (hildon_touch_selector_append_column): center on the selected items
2278 when a new column is appended.
2279 (hildon_touch_selector_select_iter): Factor out the code to select a
2280 column to hildon_touch_selector_scroll_to().
2281 (+search_nearest_element): Method to retrieve the nearest selected
2282 element to the visible area of the pannable area in a column.
2283 (+on_realize_cb): scroll to the initially selected item.
2284 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2285 the pannable area is realized, otherwise delay this until it is.
2286 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2287 selected items of a given column.
2288 (+hildon_touch_selector_center_on_selected): Public method to center
2289 all columns on the nearest selected item.
2290 * src/hildon-touch-selector.h: Add definition for
2291 hildon_touch_selector_center_on_selected().
2293 Implement public API to ensure visibility of all selected items in
2294 a HildonTouchSelector.
2296 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2298 Fixed a problem in the fading when calling the scroll_to API, and
2299 improve scrollbar fading handling.
2301 * src/hildon-pannable-area.c,
2302 (hildon_pannable_area_grab_notify): avoid the timeout when the
2304 (hildon_pannable_area_button_press_cb),
2305 (hildon_pannable_area_motion_notify_cb): Code style changes.
2306 (hildon_pannable_area_button_release_cb): Review the conditions
2307 when releasing the mouse button to avoid unrequired fading
2309 (hildon_pannable_area_scroll_to): Do not calculate and set the
2310 velocity if the scroll is not required.
2312 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2314 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2315 Don't check whether the new selector is NULL: it cannot be.
2316 Hold a reference to the selector while doing the replacement.
2318 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2320 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2321 unnecessary size_request in a removed widget.
2323 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2325 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2326 an unnecessary reference tracking that was leaking.
2328 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2330 Added delayed motion notify event handling, this way we can
2331 discard redrawing if more than 25 events arrive per second.
2333 * src/hildon-pannable-area.c,
2334 (hildon_pannable_area_init): Initialized the new private atributes
2335 controlling this timeout
2336 (hildon_pannable_area_dispose): Remove the timeout that controls
2337 the motion notify events.
2338 (hildon_pannable_area_scroll): Added a condition to control the
2339 use of the acceleration.
2340 (hildon_pannable_area_motion_event_scroll_timeout),
2341 (hildon_pannable_area_motion_event_scroll): Added this two
2342 functions, they handle the motion notify events inside the
2344 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2345 to the scroll method with the new function.
2346 (hildon_pannable_area_button_release_cb): We have to remove the
2347 timeout handler and move to the last position if the last motion
2348 events were not handled.
2350 Fixes: NB#97028 (Pannable area updates on every motion event)
2352 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2354 * src/hildon-pannable-area.c,
2355 (hildon_pannable_area_get_topmost): Added a new parameter to
2356 filter the the windows that do not include those events. Added
2357 also a condition when finding the window to filter windows that do
2358 not ask for those events.
2359 (hildon_pannable_area_button_press_cb),
2360 (hildon_pannable_area_button_release_cb),
2361 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2362 topmost function, we have added the new parameter.
2364 Fixes: NB#97458 (Pannable area prevents propagation of button
2367 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2369 * src/hildon-pannable-area.c,
2370 (hildon_pannable_area_initial_effect): Added controls before
2371 launching the timeout and the idle functions.
2372 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2373 of the method, in some situations it can return with TRUE and 0 in
2375 (hildon_pannable_area_button_press_cb): We do not need to set
2376 DELAY for fading out here.
2378 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2380 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2382 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2383 post-cleaning if the selection is not NULL.
2385 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2387 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2388 all items before restoring the selection.
2390 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2392 * src/hildon-touch-selector.c:
2393 (+hildon_touch_selector_unselect_all):
2394 * src/hildon-touch-selector.h: New API to unselect all items in a
2395 column of the touch selector.
2397 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2399 * src/hildon-pannable-area.c,
2400 (hildon_pannable_area_redraw): Added a call to the refresh
2401 function inside the redraw because apparently in some cases the
2402 change in the adjustment does not imply a size allocate.
2404 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2405 despite the view not being scrollable)
2407 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2409 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2410 leak. Check for NULL before attempting to set the window title.
2412 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2414 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2415 whether to show or not the 'Done' button each time the dialog is
2416 shown, as it depends on the HildonTouchSelector selection mode.
2418 Fixes: NB#96226 (In multiple selection mode Done button is shown
2419 sometimes in listpicker)
2421 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2423 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2424 for the number of columns in the HildonTouchSelector more than once.
2426 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2428 * src/hildon-touch-selector.c: Minor documentation fixes.
2430 * src/hildon-picker-dialog.c (+_dialog_update_title)
2431 (_select_on_selector_changed_cb)
2432 (_update_title_on_selector_changed_cb)
2433 (on_selector_columns_changed): Update dialog title when there's no
2434 'Done' button and also when the number of columns in the selector
2438 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2439 (+_selection_changed, hildon_picker_button_on_dialog_response)
2440 (hildon_picker_button_selector_selection_changed)
2441 (+hildon_picker_button_selector_columns_changed)
2442 (hildon_picker_button_set_selector): Update button value and emit
2443 'value-changed' when the number of columns in the selector
2447 Fixes: NB#96225 (Dialog titles are not shown according to the
2448 values selected in the list picker)
2450 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2452 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2453 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2454 New "arrow-width" and "arrow-height" style properties to set the
2455 size of the arrow button.
2456 Set name of arrow button ("hildon-edit-toolbar-arrow").
2458 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2459 graphics from theme)
2461 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2463 * src/hildon-picker-button.c:
2464 (hildon_picker_button_selector_selection_changed): Use
2465 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2466 the dialog is present.
2468 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2469 the selection is accepted in the dialog)
2471 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2473 * src/hildon-color-chooser.h
2474 * src/hildon-color-chooser-dialog.h:
2475 Added G_BEGIN_DECLS and G_END_DECLS
2477 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2479 (_clean_current_selection): plug a leak in the list.
2481 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2483 * src/hildon-picker-dialog.c:
2484 (+free_path_list): Method to free a GList of GtkTreePaths.
2485 (_clean_current_selection), (_save_current_selection),
2486 (_restore_current_selection): Save the current selection in
2487 as a list of lists, to support multiple selection properly.
2489 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2491 patch by Claudio Saavedra (csaavedra@igalia.com)
2493 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2494 Store the press position.
2495 (+hildon_text_view_button_release_event): If the release position is
2496 close enough to the press position, move the cursor here. Otherwise,
2498 (hildon_text_view_class_init): Override GtkTextView press, release, and
2499 motion event handlers, disabling this way text selection through
2500 pointer interaction, and allowing the container widget to handle the
2503 Fixes: NB#95828 (HildonTextView functionality)
2505 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2507 Based on a patch by Iván Gómez (igomez@igalia.com)
2509 * src/hildon-button.[ch]
2510 * src/hildon-calendar.c
2511 * src/hildon-check-button.c
2512 * src/hildon-date-editor.c
2513 * src/hildon-date-selector.c
2514 * src/hildon-picker-button.c
2515 * src/hildon-time-editor.c
2516 * src/hildon-time-selector.c
2517 * src/hildon-touch-selector.[ch]:
2518 Documentation updates
2520 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2522 * src/hildon-pannable-area.c,
2523 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2524 threshold, it was required due to X events handling.
2526 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2528 * src/hildon-pannable-area.c,
2529 (hildon_pannable_area_grab_notify),
2530 (hildon_pannable_area_initial_effect),
2531 (hildon_pannable_area_button_press_cb),
2532 (hildon_pannable_area_button_release_cb),
2533 (hildon_pannable_area_scroll_cb),
2534 (hildon_pannable_area_scroll_to): Review the timeout management of
2535 the scrollbar, the frecuency was incorrectly set.
2537 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2539 * src/hildon-picker-button.c:
2540 (+hildon_picker_button_on_dialog_response),
2541 (hildon_picker_button_clicked): Present the dialog instead of
2542 running it with gtk_dialog_run().
2544 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2547 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2549 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2550 (hildon_app_menu_finalize): When a window is hidden it doesn't
2551 emit notify::is-topmost, so make sure than the menu also
2552 disappears in that case.
2553 (parent_window_topmost_notify): Renamed from parent_window_hidden
2555 Fixes: NB#94460 (stackable window's menu is not closed when its
2558 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2560 * src/hildon-touch-selector-entry.c:
2561 (+hildon_touch_selector_entry_set_input_mode),
2562 (+hildon_touch_selector_entry_get_input_mode):
2563 * src/hildon-touch-selector-entry.h: New methods to access the input
2564 mode in the selector's entry.
2566 Fixes: NB#93410 (API required for setting IM mode in
2567 HildonTouchSelectorEntry)
2569 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2571 * configure.ac: post release version bump.
2572 * debian/changelog: version bump
2574 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2579 * configure.ac: Bump version.
2580 * debian/changelog: Updates.
2582 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2584 * src/hildon-touch-selector.c:
2585 (_hildon_touch_selector_has_multiple_selection): No need
2586 to initialize the variables here.
2588 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2590 * src/hildon-note-private.h
2591 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2592 (hildon_note_finalize, hildon_note_rebuild): Close information
2593 notes when they receive a button press.
2595 Fixes: NB#89890 (Information notes does not get disappeared after
2598 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2600 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2601 mark from the wizard title, as it's not really necessary. Also,
2602 do not display the page title if not set.
2604 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2606 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2607 (parent_window_hidden): Use the window's "is-topmost" property to
2608 detect when to hide the menu.
2610 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2612 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2613 (hildon_app_menu_finalize): If the parent window of the menu is
2614 hidden, hide the menu too.
2616 Fixes: NB#94460 (stackable window's menu is not closed when its
2619 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2622 * debian/libhildon1-examples.install
2624 * examples/Makefile.am:
2625 Use dh_install to install all examples.
2626 Use DEB_SRCDIR instead of defining SOURCE_DIR
2628 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2630 * configure.ac: post release version bump.
2631 * debian/changelog: version bump
2633 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2638 * configure.ac: bump version
2639 * debian/changelog: updates
2640 * debian/control: bump gtk+ dependency
2642 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2644 patch by Christian Dywan (christian@imendio.com)
2646 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2647 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2649 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2651 * src/hildon-check-button.c (hildon_check_button_init)
2652 (hildon_check_button_class_init, hildon_check_button_style_set)
2653 (hildon_check_button_apply_style):
2654 New "checkbox-size" style property.
2656 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2657 larger / configurable size)
2659 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2661 * configure.ac: post release version bump.
2662 * debian/changelog: version bump
2664 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2669 * configure.ac: bump version
2670 * debian/changelog: updates
2672 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2674 * doc/hildon-sections.txt
2675 * src/hildon-pannable-area.c
2676 * src/hildon-program.c
2677 * src/hildon-time-editor.c
2678 * src/hildon-touch-selector-entry.c:
2680 More documentation updates.
2682 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2684 * doc/hildon-sections.txt
2685 * src/hildon-caption.c
2686 * src/hildon-code-dialog.c
2687 * src/hildon-color-button.c
2688 * src/hildon-controlbar.c
2689 * src/hildon-date-editor.c
2690 * src/hildon-date-selector.c
2691 * src/hildon-edit-toolbar.c
2692 * src/hildon-find-toolbar.c
2693 * src/hildon-font-selection-dialog.c
2695 * src/hildon-program.c
2696 * src/hildon-range-editor.c
2697 * src/hildon-seekbar.c
2698 * src/hildon-time-editor.c
2699 * src/hildon-time-selector.c
2700 * src/hildon-volumebar-range.c
2701 * src/hildon-volumebar.c
2702 * src/hildon-vvolumebar.c
2703 * src/hildon-weekday-picker.c
2704 * src/hildon-window.c
2705 * src/hildon-wizard-dialog.c:
2707 Lots of documentation fixes.
2709 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2711 Patch contributed by Iván Gómez (igomez@igalia.com)
2713 * src/hildon-check-button.c:
2714 * src/hildon-date-button.c:
2715 * src/hildon-date-selector.c:
2716 * src/hildon-dialog.c:
2717 * src/hildon-edit-toolbar.c:
2718 * src/hildon-entry.c:
2719 * src/hildon-picker-button.c:
2720 * src/hildon-program.c:
2721 * src/hildon-text-view.c:
2722 * src/hildon-time-button.c:
2723 * src/hildon-touch-selector-entry.c:
2724 * src/hildon-window-stack.c:
2726 Add more "since" tags to the new API.
2728 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2730 * doc/hildon-sections.txt: Add below method.
2731 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2732 version for the hildonized scale.
2733 * src/hildon-gtk.h: Add the definition.
2735 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2737 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2739 * doc/hildon-sections.txt: Add missing entries for new methods.
2741 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2743 Added API to pannable are in order to get its adjustments. We
2744 added two properties to manage the values we had in the private
2747 * src/hildon-pannable-area.c:
2748 (hildon_pannable_area_class_init): Added hadjustment and
2749 vadjustment properties in order to expose horizontal and vertical
2751 (hildon_pannable_area_get_property),
2752 (hildon_pannable_area_set_property): Added code to handle the new
2754 (hildon_pannable_area_get_hadjustment),
2755 (hildon_pannable_area_get_vadjustment): API functions to get the
2757 * src/hildon-pannable-area.h:
2758 (hildon_pannable_area_get_hadjustment),
2759 (hildon_pannable_area_get_vadjustment): API functions to get the
2762 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2764 Fixed some leaks, after valgrinding.
2766 * src/hildon-touch-selector.c:
2767 (_default_print_func): Fixed a leak.
2768 (hildon_touch_selector_append_column): Fixed a leak.
2769 * src/hildon-date-button.c:
2770 (hildon_date_button_init): Fixed a leak.
2771 * src/hildon-date-selector.c
2772 (hildon_date_selector_finalize): Fixed a leak.
2774 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2776 Based on a patch by Christian Dywan (christian@imendio.com)
2778 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2780 * src/hildon-gtk.h: Add definition.
2782 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2784 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2786 * src/hildon-picker-button.c: (hildon_picker_button_init),
2787 (hildon_picker_button_new): Set the HildonButton::style property
2788 in the init method, to propagate the value to the derived classes.
2790 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2792 * src/hildon-button.c: (hildon_button_class_init): Do not make
2793 the "style" property a construct property.
2795 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2797 * src/hildon-wizard-dialog.h
2798 * src/hildon-wizard-dialog.c
2799 (hildon_wizard_dialog_set_forward_page_func)
2800 * src/hildon-pannable-area.h
2801 * src/hildon-pannable-area.c
2802 (hildon_pannable_area_set_size_request_policy):
2803 Documentation fixes.
2805 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2807 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2809 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2811 * doc/hildon-sections.txt: Added sections file.
2813 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2816 * src/*.[ch]: Updates.
2818 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2820 * examples/hildon-progress-indicator-example.c: new file
2821 * examples/Makefile.am: include the new example program
2823 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2825 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2827 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2829 * configure.ac: post release version bump
2830 * debian/changelog: version bump
2832 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2837 * configure.ac: bump version
2838 * debian/changelog: updates
2839 * debian/control: bump gtk+ dependency
2841 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2843 * src/hildon-dialog.c: Mark as deprecated.
2844 * src/hildon-dialog.h: Mark as deprecated.
2845 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2846 from HildonDialog and still work, even if
2847 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2848 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2850 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2851 maemo changes) instead)
2853 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2855 * src/hildon-pannable_area.h:
2856 * src/hildon-pannable_area.c:
2857 (hildon_pannable_area_class_init),
2858 (hildon_pannable_area_set_property),
2859 (hildon_pannable_area_get_property),
2860 (hildon_pannable_area_size_request),
2861 (hildon_pannable_area_get_size_request_policy),
2862 (hildon_pannable_area_set_size_request_policy): Added new API
2863 allowing applications to control the request policy. Now they can
2864 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2865 children allocation (HILDON_MOVEMENT_CHILDREN).
2867 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2871 (hildon_gtk_tree_view_set_ui_mode)
2872 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2873 mode of treeviews and iconviews.
2875 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2877 * src/hildon-touch-selector-entry.c:
2878 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2879 of a GtkEntry to get proper theming.
2881 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2882 widget, not GtkEntry)
2884 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2886 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2887 no HildonWizardDialogPageFunc.
2889 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2891 Patch contributed by Iván Gómez (igomez@igalia.com)
2893 * src/hildon-app-menu.c:
2894 * src/hildon-button.c:
2895 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2896 * src/hildon-stackable-window.c:
2897 * src/hildon-time-selector.c:
2898 * src/hildon-touch-selector.c:
2899 * src/hildon-window.c:
2901 Add more "since" tags to the new API in hildon 2.2.
2903 2008-12-05 Tim Janik <timj@imendio.com>
2905 Patch contributed by Christian Dywan (christian@imendio.com)
2907 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2908 HildonSizeType, which are supplied by Gtk+ now.
2910 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2912 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2913 (with maemo changes) instead)
2915 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2917 Patch contributed by Iván Gómez (igomez@igalia.com)
2919 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2922 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2924 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2925 (some_page_func), (main): Update the example to use a
2926 HildonWizardDialogPageFunc function.
2928 * src/hildon-wizard-dialog-private.h: Add private data for
2929 the HildonWizardDialogPageFunc function usage.
2931 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2932 (destroy), (hildon_wizard_dialog_init), (response),
2933 (hildon_wizard_dialog_set_forward_page_func):
2934 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2935 that applications can use to stop a HildonWizardDialog to jump to
2938 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2941 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2943 * src/hildon-program.h
2944 * src/hildon-program-private.h
2945 * src/hildon-program.c (hildon_program_init)
2946 (hildon_program_set_common_app_menu)
2947 (hildon_program_get_common_app_menu):
2948 New API for setting a common HildonAppMenu for all
2949 HildonStackableWindows registered with the HildonProgram.
2951 * src/hildon-stackable-window.c
2952 (hildon_stackable_window_toggle_menu):
2953 Use the common HildonAppMenu if a window doesn't have a specific
2956 * src/hildon-app-menu-private.h
2957 * src/hildon-app-menu.c
2958 (hildon_app_menu_get_parent_window):
2959 Function to obtain the window a HildonAppMenu is attached to.
2960 (hildon_app_menu_set_parent_window):
2961 Hide the menu if the parent window is set to NULL.
2963 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2965 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2966 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2967 search widget to popup.
2969 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2971 * configure.ac: post release version bump
2972 * debian/changelog: version bump
2974 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2979 * configure.ac: bump version
2980 * debian/changelog: updates
2982 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2984 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2986 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2987 (hildon_window_stack_window_realized)
2988 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2989 Set the leader GdkWindow when a window is stacked and realized,
2990 unset it when it's unstacked.
2991 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2993 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2995 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2997 * src/hildon-stackable-window.h
2998 * src/hildon-window-stack.h:
2999 Protect definition of HildonWindowStack using the preprocessor.
3001 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3003 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3004 Fix warning if all menu items are hidden.
3006 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3008 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3010 * src/hildon-controlbar.c:
3011 * src/hildon-hvolumebar.c:
3012 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3013 Multiple scale size defines updates.
3015 Fixes: NB#94322 (Scale Updates)
3017 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3019 * examples/hildon-app-menu-example.c (create_menu)
3020 Show items after adding them to the menu, as in the future the
3021 menu will no longer call gtk_widget_show() on the added items.
3023 * src/hildon-app-menu.c:
3024 Update example as explained above.
3026 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3028 * src/hildon-app-menu.c
3029 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3030 Make sure that all menu items have finger height.
3032 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3034 * src/hildon-picker-dialog.c:
3035 (_on_dialog_response), (_save_current_selection),
3036 (_restore_current_selection), (_clean_current_selection),
3037 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3038 Defined new functions in order to save the current internal selector
3039 selection previous open the dialog, in case that the use cancel the
3040 interaction, so the widget restores the previous selection.
3042 Fixes: NB#92032 (In calendar application, date values in 'new event'
3045 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3047 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3049 * src/hildon-button.c: Add a reference to the button examples in
3050 hildon-button-example.c
3052 * examples/hildon-button-example.c: Added examples of the most
3053 common button layouts.
3055 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3057 * src/hildon-app-menu.c (hildon_app_menu_show)
3058 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3060 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3062 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3064 * src/hildon-picker-dialog.c:
3065 (hildon_picker_dialog_init): Initialize the signal id for
3066 HildonTouchSelector::columns-changed.
3067 (+on_selector_columns_changed): Set up the interaction mode everytime a
3068 column is added or removed from the HildonTouchSelector.
3069 (_hildon_picker_dialog_set_selector): Connect to
3070 HildonTouchSelector::columns-changed and keep track of it.
3072 Make sure to update the interaction mode of the dialog everytime a
3073 column is added or removed in the HildonTouchSelector.
3075 Fixes: NB#93228 (Done button is not shown always in listpicker)
3077 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3079 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3080 a new ::columns-changed signal.
3081 (hildon_touch_selector_append_column): Emit ::columns-changed.
3082 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3084 Add a ::columns-changed signal, emitted when the number of columns in a
3085 HildonTouchSelector changes.
3087 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3089 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3090 (_hildon_picker_dialog_set_selector): Factor out the code
3091 to set up the dialog interaction mode.
3093 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3095 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3096 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3097 to signal_changed_id.
3099 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3101 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3104 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3106 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3107 Updated the logical ids related to ampm format, as now it is required to
3108 show it correctly localized even on languages with no default
3109 abbreviations for am or pm
3110 (_check_am_pm_format): check correctly the 24h format gconf property
3112 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3114 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3116 * src/hildon-button.c: Documentation updates.
3118 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3120 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3121 * src/hildon-caption.c: (hildon_caption_class_init):
3122 * src/hildon-color-button.c: (hildon_color_button_class_init):
3123 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3124 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3125 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3126 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3128 Remove deprecated GTK+ marshalers and replace them with the ones
3129 provided by GLib, for those available, add a marshaler for
3130 BOOLEAN:VOID, which is not available in GLib, and use it.
3132 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3134 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3135 the text from the previous column if there is no
3136 HildonTouchSelectorColumn::text-property set.
3138 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3140 * src/hildon-button.h
3141 * src/hildon-button.c (hildon_button_set_property)
3142 (hildon_button_get_property, hildon_button_class_init)
3143 (hildon_button_set_style, hildon_button_get_style):
3144 New "style" property to change the visual appearance of the
3147 * src/hildon-picker-button.c (hildon_picker_button_new):
3148 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3150 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3151 HildonButton look like PickerButton)
3153 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3155 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3156 column while building the default string.
3158 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3160 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3161 scroll indicator by default.
3163 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3165 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3167 * src/hildon-main.c: Fix the documentation for hildon_init()
3169 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3171 * doc/hildon-docs.sgml
3175 * src/hildon-window-stack-private.h
3176 * src/hildon-window-stack.h
3177 * src/hildon-window-stack.c:
3178 New HildonWindowStack object, that adds support for multiple
3179 stacks of windows per process.
3181 * src/hildon-stackable-window-private.h
3182 * src/hildon-stackable-window.h
3183 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3184 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3185 (hildon_stackable_window_show, hildon_stackable_window_hide)
3186 (hildon_stackable_window_class_init)
3187 (hildon_stackable_window_init):
3188 Use HildonWindowStack for stack management.
3190 * src/hildon-program.c (hildon_program_pop_window_stack)
3191 (hildon_program_peek_window_stack)
3192 (hildon_program_go_to_root_window):
3193 Add a fallback implementation to the deprecated functions using
3196 * examples/hildon-stackable-window-example.c:
3197 Use the new HildonWindowStack API.
3199 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3201 * src/hildon-stackable-window-private.h
3202 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3203 (hildon_stackable_window_hide, hildon_stackable_window_init):
3204 Remove all window stack management.
3206 * src/hildon-program-private.h
3207 * src/hildon-program.h
3208 * src/hildon-program.c (hildon_program_init)
3209 (hildon_program_pop_window_stack)
3210 (hildon_program_peek_window_stack)
3211 (hildon_program_go_to_root_window):
3212 Remove all window stack management and mark functions as
3215 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3217 * src/hildon-app-menu.c (hildon_app_menu_realize):
3218 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3220 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3222 * configure.ac: post release version bump
3223 * debian/changelog: version bump
3225 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3230 * configure.ac: bump version
3231 * debian/changelog: updates
3233 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3235 Based on initial code by Christian Dywan (christian@imendio.com)
3237 * doc/hildon-docs.sgml: Add section for hildon-main.
3238 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3239 * src/Makefile.am: Add new hildon-main.[ch]
3240 * src/hildon-defines.h: Update the icon sizes.
3241 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3242 new library initialization files and register icon sizes.
3243 * src/hildon-main.h: New declarations.
3244 * src/hildon.h: Include hildon-main.h
3246 Add new initialization functions to the library. These methods
3247 will register the hildon specific icon sizes and can be used in the
3248 future for other hildon specific bits.
3250 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3252 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3254 * src/hildon-window.c: (hildon_window_realize),
3255 (hildon_window_notify), (-hildon_window_update_title): Do not set
3256 the application name in the window title.
3258 Fixes: NB#89754 (Applications shouldn't display their names in the
3261 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3263 * src/hildon-note-private.h:
3264 * src/hildon-note.c: (hildon_note_set_property),
3265 (hildon_note_get_property), (hildon_note_class_init),
3266 (hildon_note_init), (hildon_note_finalize),
3267 (hildon_note_new_confirmation_with_icon_name),
3268 (hildon_note_new_information_with_icon_name):
3270 No need to mark as deprecated the actual code. Revert
3271 to avoid missing symbols in widgets using deprecated API.
3273 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3275 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3277 * src/hildon-volumebar.h
3278 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3279 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3281 * src/hildon-helper.h
3282 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3283 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3285 * examples/Makefile.am:
3286 Deprecate hildon-insensitive-example
3288 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3290 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3292 * examples/hildon-pannable-area-buttons-scroll-example.c:
3293 Make all buttons finger height
3295 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3297 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3299 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3300 update the day model only if it is really required, and to avoid the
3301 full-reconstruction aproach. Now it only add or remove the required days.
3303 The purpose of this is avoid superfluous HildonTouchSelector::changed
3306 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3307 with strange parameters)
3309 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3311 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3313 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3314 the WINDOW_TYPE property.
3316 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3318 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3321 Fix dependency to allow parallel compilation with make -jX
3323 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3325 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3326 color frame and some minor tweaks to make it more consistent with
3329 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3330 highlighted but not visible)
3332 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3334 * examples/Makefile.am: Fixed typo in the Makefile.am.
3336 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3338 Reviewed the use of MAEMO_GTK define, now we add the define in the
3339 compilation line, and we also add it to the pc file.
3341 * configure.ac: Added MAEMO_GTK define to the compilation command
3342 and removed it from the config.h.
3344 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3345 do not have to take care about this define if the library was
3349 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3351 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3353 * examples/Makefile.am,
3354 * examples/hildon-pannable-area-buttons-scroll-example.c,
3355 * examples/hildon-pannable-area-gesture-signals-example.c,
3356 * examples/hildon-pannable-area-scroll-jump-example.c,
3357 * examples/hildon-pannable-area-tree-view-example.c:
3358 Renamed the pannable area examples, now they have more meaningful
3361 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3363 * src/hildon-touch-selector.c:
3364 (hildon_touch_selector_set_column_selection_mode): Used of
3365 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3366 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3367 to avoid re-seting the same selection mode.
3369 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3370 breaks HildonPickerDialog)
3372 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3374 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3375 conditional in the Makefile.am
3377 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3379 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3380 Remove unused methods.
3382 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3384 * src/hildon-button.c (hildon_button_init):
3385 Make button images center-aligned by default
3387 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3390 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3391 activated, we have to think about how to deal with both defines
3392 MAEMO_GTK and MAEMO_CHANGES.
3394 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3396 * examples/hildon-app-menu-example.c (create_menu): Make all
3397 buttons finger size.
3399 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3401 Fixed the compilation without maemo gtk adding ifdefs with
3402 MAEMO_GTK define to the code, we have to check this version more
3405 * examples/Makefile.am: Added control to avoid some examples that
3406 just make sense with maemo gtk.
3409 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3410 hildon modes with the define.
3412 * examples/hildon-edit-toolbar-example.c,
3413 (create_icon_view): Create the icon view without hildon-gtk
3414 helpers if we are not using maemo gtk.
3416 * src/hildon-touch-selector.c,
3417 (_create_new_column): Create the treeview without hildon-gtk
3418 helpers if we are not using maemo gtk.
3420 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3422 * src/hildon-pnnable-area.c,
3423 (hildon_pannable_area_dispose),
3424 (hildon_pannable_area_button_press_cb),
3425 (hildon_pannable_area_child_mapped),
3426 (hildon_pannable_area_add),
3427 (hildon_pannable_area_remove): Added code to control the position
3428 of the event_window when adding and removing children from the
3429 pannable. We have to raise the event window when the child is
3432 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3433 selection mode using custom widget inside pannable)
3435 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3437 * configure.ac: post release version bump
3438 * debian/changelog: version bump
3440 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3445 * configure.ac: bump version
3446 * debian/changelog: updates
3448 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3450 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3451 search mode, in order to avoid lose the focus on the treeview when
3452 a hw key (like enter) is pressed.
3454 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3455 in HildonDateSelector dialog)
3457 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3459 * debian/rules: Added --enable-maintainer-mode
3460 * Makefile.am: Added ACLOCAL_AMFLAGS
3462 This allows to properly regenerate the Makefiles if you modify the
3463 configure.ac or any Makefile.am.
3465 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3467 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3468 properties, not needed at all.
3470 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3472 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3474 * src/hildon-note.c: (hildon_note_set_property),
3475 (hildon_note_get_property), (hildon_note_class_init),
3476 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3477 (hildon_note_new_confirmation_add_buttons): Remove icons.
3478 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3479 (hildon_note_new_information_with_icon_name): Deprecate.
3480 (hildon_note_new_confirmation): Act directly, without calling
3481 the deprecated constructor.
3482 (hildon_note_new_information): Act directly, without calling
3483 the deprecated constructor.
3484 * src/hildon-note.h: Mark deprecate methods as such.
3485 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3486 not run tests on the deprecated methods if built with deprecation
3489 Fixes: NB#91688 (Never show icons in information notes/confirmation
3492 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3494 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3495 (hildon_app_menu_key_press): Remove leftover usage of the
3496 private structure in HildonAppMenu struct.
3497 * src/hildon-app-menu.h: Remove leftover private structure
3498 from the HildonAppMenu struct.
3500 Fixes a crasher when using the HildonAppMenu.
3502 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3504 * src/hildon-picker-dialog.c: Use appropriate logical id
3505 for the default "Done" text.
3507 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3509 * configure.ac: post release version bump
3510 * debian/changelog: version bump
3512 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3514 Modified the way to scroll to the current selection just when the touch
3515 selector is shown on the screen, avoiding a g_idle. Added too a property
3516 to configure this behaviour. See hildon_pannable_area_jump_to_child
3517 documentation for more information.
3519 * src/hildon-touch-selector.c
3520 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3521 Added 'initial-scroll' property
3522 (hildon_touch_selector_set_property): Added
3523 (hildon_touch_selector_map): Removed as not required anymore
3524 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3525 only a concrete column, instead of iterate along all the columns
3527 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3532 * configure.ac: bump version
3533 * debian/changelog: updates
3535 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3537 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3538 compilation time warnings.
3540 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3542 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3543 the default value for HildonPannableArea::mov-mode to
3544 HILDON_PANNABLE_AREA_MODE_VERT.
3546 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3548 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3550 Reverting following commit:
3552 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3554 * src/hildon-app-menu-private.h
3555 * src/hildon-app-menu.[ch]
3556 * src/hildon-button.[ch]
3557 * src/hildon-check-button.[ch]
3558 * src/hildon-entry.[ch]
3559 * src/hildon-pannable-area.[ch]
3560 * src/hildon-text-view.[ch]:
3561 Added private field to the object's structure.
3563 because it causes an ABI breakage. We will need to introduce these
3564 changes later at some point. See NB#91636 for an extensive
3565 explanation and status.
3567 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3569 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3571 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3572 remove special cases that are no longer necessary.
3574 Fixes: NB#91016 (Change toolbar sizes, simplification)
3576 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3578 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3579 is shown in the cancel note.
3581 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3583 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3584 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3585 (hildon_seekbar_init): Remove steppers, remove expose event.
3586 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3588 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3590 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3592 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3593 label font to "SmallSystemFont" for vertically arranged buttons.
3595 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3598 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3600 * src/hildon-check-button.c
3601 (hildon_check_button_set_active, hildon_check_button_clicked):
3602 Don't access private parts directly, use getters instead.
3604 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3606 * src/hildon-check-button.c (hildon_check_button_new):
3607 Align the contents of the check button to the left.
3609 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3611 * src/hildon-pannable-area.c,
3612 (hildon_pannable_area_scroll_to),
3613 (hildon_pannable_area_jump_to),
3614 (hildon_pannable_area_scroll_to_child),
3615 (hildon_pannable_area_jump_to_child): Replace the mapped
3616 precondition of these functions with the realized, it is the
3617 correct state of the widget in this case. Changed the
3618 documentation according to this modification.
3620 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3622 Added a new EXTRA_CFLAGS option to add the deprecated define to
3623 the compilation command. This way we can avoid using the define in
3624 the documentation compilation.
3626 * configure.ac: Defined EXTRA_CFLAGS.
3628 * examples/Makefile.am:
3630 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3632 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3634 * src/hildon-picker-dialog.c:
3635 Defined a utility macro with the desired touch selector height
3636 Removed currently unused separator, and title_label variables from
3638 (hildon_picker_dialog_init): Removed code related to the creation
3639 of unused private variables title_label and separator.
3640 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3641 to ensure correct visualization of the touch selector inside the dialog.
3642 * src/hildon-touch-selector.c
3643 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3644 ensure a concrete height of the widget.
3646 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3649 * tests/Makefile.am:
3651 Remove spurious whitespaces.
3653 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3655 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3656 compilation warning after the cancel button removal.
3658 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3660 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3662 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3663 Makefile.am, that way we can choose not to compile some examples
3664 and tests of the deprecated widgets.
3666 * examples/Makefile.am: Divided the sources in deprecated and
3669 * src/Makefile.am: Added undef statement of the deprecated
3670 symbol to the enums file generation process.
3672 * src/hildon-color-chooser-dialog.c
3673 * src/hildon-color-chooser-dialog.h
3674 * src/hildon-color-button.c
3675 * src/hildon-color-button.h
3676 * src/hildon-color-chooser.c
3677 * src/hildon-color-chooser.h
3678 * src/hildon-controlbar.c
3679 * src/hildon-controlbar.h
3680 * src/hildon-date-editor.c
3681 * src/hildon-date-editor.h
3682 * src/hildon-hvolumebar.c
3683 * src/hildon-hvolumebar.h
3684 * src/hildon-private.c
3685 * src/hildon-private.h
3686 * src/hildon-range-editor.c
3687 * src/hildon-range-editor.h
3688 * src/hildon-seekbar.c
3689 * src/hildon-seekbar.h
3690 * src/hildon-time-editor.c
3691 * src/hildon-time-editor.h
3692 * src/hildon-time-picker.c
3693 * src/hildon-time-picker.h
3694 * src/hildon-volumebar.c
3695 * src/hildon-volumebar.h
3696 * src/hildon-vvolumebar.c
3697 * src/hildon-vvolumebar.h
3698 * src/hildon-bread-crumb-trail.h
3699 * src/hildon-bread-crumb-trail.c
3700 * src/hildon-calendar-popup.c
3701 * src/hildon-calendar-popup.h
3702 * src/hildon-weekday-picker.c:
3703 * src/hildon-weekday-picker.h:
3704 * src/hildon-bread-crumb-widget.c:
3705 * src/hildon-bread-crumb-widget.h:
3706 * src/hildon-bread-crumb.c:
3707 * src/hildon-bread-crumb.h:
3708 * src/hildon-calendar.c:
3709 * src/hildon-calendar.h:
3710 * src/hildon-caption.c:
3711 * src/hildon-code-dialog.c:
3712 * src/hildon-code-dialog.h:
3713 * src/hildon-font-selection-dialog.c:
3714 * src/hildon-font-selection-dialog.h:
3715 * src/hildon-get-password-dialog.c:
3716 * src/hildon-get-password-dialog.h:
3717 * src/hildon-login-dialog.c:
3718 * src/hildon-login-dialog.h:
3719 * src/hildon-number-editor.c:
3720 * src/hildon-number-editor.h:
3721 * src/hildon-set-password-dialog.c:
3722 * src/hildon-set-password-dialog.h:
3723 * src/hildon-sort-dialog.c:
3724 * src/hildon-sort-dialog.h: This is the list of deprecated
3727 * src/hildon-touch-selector.c:
3728 * src/hildon-window.c: Added undef statement to avoid compilation
3731 * tests/Makefile.am: Divided the sources in deprecated and
3734 * tests/check_test.c,
3735 (configure_tests): Marked the deprecated code that was adding
3736 suites with deprecated tests.
3738 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3740 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3742 * src/hildon-touch-selector.c: (_default_print_func): Do not
3743 duplicate a string returned by gtk_tree_model_get(), it is already
3746 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3749 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3751 * src/hildon-pannable-area.c
3752 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3753 method, it had problems when adding a widget with viewport the
3754 second time. Now checks if it already has a viewport and uses it.
3756 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3759 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3761 * src/hildon-pannable-area.c,
3762 (hildon_pannable_area_scroll_to),
3763 (hildon_pannable_area_jump_to),
3764 (hildon_pannable_area_scroll_to_child),
3765 (hildon_pannable_area_jump_to_child): Added a precondition to the
3766 scroll and jump to functions: the widget must be mapped before we
3767 can safely call these functions. We have also added documentation
3768 to the functions to explain how to use them in this situation.
3771 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3773 Reviewed the threading handling of the pannable widget, we have
3774 used the gdk_threads_add_timeout function instead of the usual
3775 glib handlers. This avoids some problems with the threads.
3777 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3778 (hildon_pannable_area_initial_effect),
3779 (hildon_pannable_area_scroll_indicator_fade),
3780 (hildon_pannable_area_button_press_cb),
3781 (hildon_pannable_area_timeout),
3782 (hildon_pannable_area_motion_notify_cb),
3783 (hildon_pannable_area_button_release_cb),
3784 (hildon_pannable_area_scroll_cb),
3785 (hildon_pannable_area_scroll_to): Removed the
3786 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3787 gdk_threads_add_timeout.
3789 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3791 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3796 * configure.ac: bump version
3797 * debian/changelog: updates
3799 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3801 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3802 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3803 * src/hildon-color-chooser-dialog.c:
3804 (hildon_color_chooser_dialog_init):
3805 * src/hildon-font-selection-dialog.c:
3806 (hildon_font_selection_dialog_init):
3807 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3809 Remove all cancel/close-like dialogs, as these are not going to be
3812 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3814 * src/hildon-note.c: (hildon_note_rebuild),
3815 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3818 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3820 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3822 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3823 sure all buttons are shown, even the Cancel/Close-like ones.
3825 Fixes: NB#90861 (Custom Confirmation dialogs should be
3826 protected from cancel button removal)
3828 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3830 * debian/control: Change libhildon1-examples dependency from libhildon1
3832 * debian/libhildon1-examples.install
3834 * Makefile.am: Modified the final install directory for the examples on
3835 package libhildon1-examples
3836 * Makefile.static: Update clean target in order to remove all the binary
3839 Changes suggested by Claudio after review new libhildon1-examples package
3841 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3843 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3844 * src/hildon-touch-selector.c: Ditto.
3846 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3848 * debian/control: Added new package libhildon1-examples, in order to pack
3849 the current hildon examples as documentation
3850 * debian/rules: Not to compress .c files, modify some includes on the
3851 examples (as normally are compiled locally, but when installed it will
3852 require to include the installed libhildon1 library), and rename
3854 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3855 install all the example files on the new example package
3856 * examples/Makefile.static: Added static makefile that can be used to
3857 compile the examples, once installed the new example package
3858 * examples: Most of the examples were modified in order to grant that
3859 all use only '#include "hildon.h"', in order to be easy to prepare
3860 it on the example package
3862 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3865 * debian/libhildon1-dev.install
3866 * debian/libhildon1-doc.install:
3867 Move all gtk-doc files to a separate libhildon1-doc package.
3869 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3871 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3873 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3875 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3877 * debian/rules: Fixed a error in order to avoid unnecessary calls
3878 to autogen.sh on package building
3880 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3882 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3884 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3886 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3889 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3891 * src/hildon-picker-button.c
3892 (hildon_picker_button_finalize):
3893 Free priv->done_button_text
3895 * src/hildon-time-button.c
3896 (hildon_time_button_set_time)
3897 * src/hildon-picker-button.c
3898 (hildon_picker_button_clicked)
3899 (hildon_picker_button_selector_selection_changed)
3900 (hildon_picker_button_set_selector)
3901 * src/hildon-date-button.c
3902 (hildon_date_button_set_date):
3903 Free strings returned by hildon_touch_selector_get_current_text()
3905 * src/hildon-button.c (hildon_button_construct_child):
3906 Fix leaks in priv->image and priv->label_box
3908 Fixes: NB#90535 (Memory leak in picker button)
3910 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3912 * src/hildon-button.c: (hildon_button_get_property): Do not access
3913 private elements directly, use getters instead.
3915 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3917 * src/hildon-app-menu-private.h
3918 * src/hildon-app-menu.c
3919 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3920 Store the menu's parent window.
3922 * src/hildon-stackable-window.c
3923 (hildon_stackable_window_toggle_menu)
3924 (hildon_stackable_window_finalize):
3925 Set the menu's parent window when the menu is shown, unset it when
3928 * src/hildon-app-menu.c
3929 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3930 (hildon_app_menu_class_init):
3931 Send unhandled keyboard accelerators to the parent window.
3933 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3935 * src/hildon-stackable-window.c
3936 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3938 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3940 * configure.ac: post release version bump
3942 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3945 * configure.ac: Bump version
3946 * debian/changelog: Updates
3947 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3950 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3952 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3955 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3956 GtkMenu with Hildon style.
3958 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3960 * src/hildon-picker-button.c:
3961 (hildon_picker_button_set_done_button_text): Set the dialog's
3962 done button text here as well.
3964 Fixes: NB#90232 (Picker button does not set the label on done button
3965 for the second time)
3967 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3969 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3972 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3974 * src/hildon-app-menu.c (hildon_app_menu_insert)
3975 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3976 the HildonAppMenu to be activatable using keyboard accelerators
3977 when the menu is not being shown.
3979 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3981 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3983 * src/hildon-stackable-window.c
3984 (hildon_stackable_window_show):
3985 Don't hide old windows automatically when new windows are shown:
3986 this is now a task for the window manager.
3987 (hildon_stackable_window_class_init)
3988 (hildon_stackable_window_hide):
3989 Remove windows from the stack everytime they're hidden.
3990 (hildon_stackable_window_realize):
3991 Don't change the _NET_WM_WINDOW_TYPE property. Use
3992 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3993 it as a stackable window.
3995 * src/hildon-program.c
3996 (hildon_program_pop_window_stack):
3997 Just hide the window to remove it from the stack.
3998 (hildon_program_go_to_root_window):
3999 Don't call gtk_widget_show(), this is now a task for the window
4002 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4004 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4006 * src/hildon-button.c
4007 (hildon_button_construct_child):
4008 Don't pack anything in the button until text or image are
4009 set. This allows adding a custom child after creating the button
4010 with hildon_button_new().
4011 (hildon_button_finalize, hildon_button_class_init)
4012 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4013 alignment and the label box even when they're not packed in the
4016 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4018 * src/hildon-touch-selector.h:
4019 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4020 currently the type definition was using GTK_TYPE_VBOX
4021 * src/hildon-touch-selector.c:
4022 Added some implementation notes in order to clarify that any other widget
4023 added without the column related API will not be included on the
4024 selection logic, and how the widget is freed, as some people ask about
4026 (hildon_touch_selector_remove): Reimplemented in order to free properly
4027 the column related data when you remove the private hbox.
4028 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4029 to get a proper HildonTouchSelectorColumn documentation
4031 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4033 * src/hildon-touch-selector-entry.c:
4034 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4035 text in the GtkEntry and there is no item selected. Fixes a
4038 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4040 * src/hildon-app-menu-private.h
4041 * src/hildon-app-menu.[ch]
4042 * src/hildon-button.[ch]
4043 * src/hildon-check-button.[ch]
4044 * src/hildon-entry.[ch]
4045 * src/hildon-pannable-area.[ch]
4046 * src/hildon-text-view.[ch]:
4047 Added private field to the object's structure.
4049 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4051 * configure.ac: post-release version bump
4053 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4057 * configure.ac: pre-release version bump
4059 * debian/changelog: updates.
4061 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4063 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4064 Disconnect the handler for HildonTouchSelector::changed.
4066 (hildon_picker_button_selector_selection_changed): Update the button
4067 value if the selection change was not triggered by the
4070 (hildon_picker_button_set_selector): connect to
4071 HildonTouchSelector::changed.
4073 Fixes: NB#89650 (Picker button is not updated, when selection in
4074 selector has changed)
4076 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4078 * src/hildon-picker-dialog.c
4079 (hildon_picker_dialog_realize): Removed as not required
4080 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4081 * src/hildon-picker-button.c
4082 (_current_selector_empty): New function, checks if the selector is empty
4083 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4084 if the current selector is empty, in order to avoid to show the dialog
4085 close the dialog in this case (and shows a g_warning).
4087 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4089 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4091 * src/hildon-pannable-area.c,
4092 (hildon_pannable_area_scroll): Added clause to stop movement when
4093 the child of pannable is smaller than one page.
4094 (hildon_pannable_area_scroll_to): Added conditions to avoid
4095 starting the scrolling movement if the child is smaller than one
4096 page, the complete child is in the screen, we do not have to move.
4098 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4100 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4102 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4103 this is managed automatically by the widget when the size of the
4106 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4108 * src/hildon-picker-button.c
4109 (hildon_picker_button_set_done_button_text): Make a copy of the
4110 text, and free the previous value.
4112 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4114 * src/hildon-touch-selector-entry.c:
4115 (hildon_touch_selector_entry_print_func): Return the selected row's
4116 text if the entry is empty.
4118 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4121 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4123 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4125 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4128 * src/hildon-check-button.h
4129 * src/hildon-check-button.c
4130 * examples/hildon-check-button-example.c:
4131 HildonCheckButton is now a new widget. 'toggled' signal added.
4133 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4135 * src/hildon-program-private.h
4136 * src/hildon-program.c (hildon_program_init)
4137 (hildon_program_finalize): Removed unused variables group_leader
4138 and name from HildonProgramPrivate.
4140 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4142 * src/hildon-check-button.c (hildon_check_button_set_active)
4143 (hildon_check_button_get_active, hildon_check_button_new): Use
4144 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4146 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4148 * src/hildon-touch-selector.h
4149 (hildon_touch_selector_set_column_attributes): added deprecation
4150 guard HILDON_DISABLE_DEPRECATED
4151 * src/hildon-time-selector.c
4152 (hildon_time_selector_set_time)
4153 (hildon_time_selector_get_time): Fixed a typo on documentation
4154 * src/hildon-touch-selector.c: update HildonTouchSelector and
4155 HildonTouchSelectorColumn documentation
4156 * src/hildon-touch-selector-entry.c: update "text-column" property
4158 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4159 to be added to the general documentation.
4161 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4163 * examples/hildon-pannable-area-example-4.c,
4165 * examples/hildon-pannable-area-example.c,
4166 (main): Modified the code in order to use the container add, with
4167 viewport treeviews could have problems if they are really big.
4169 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4171 * src/hildon-weekday-picker.c,
4172 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4173 the agreement regarding deprecation in the library.
4175 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4177 * examples/hildon-picker-button-multicolumn-example.c:
4178 (main): Use custom "done" button text.
4180 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4181 (hildon_picker_button_set_property),
4182 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4183 (hildon_picker_button_init),
4184 (+hildon_picker_button_get_done_button_text),
4185 (+hildon_picker_button_set_done_button_text): New methods to customize
4186 the "done" button label in the launched HildonPickerDialog. Also,
4189 * src/hildon-picker-button.h: add the public API.
4191 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4193 * src/hildon-date-selector.h:
4194 * src/hildon-picker-dialog.h:
4195 * src/hildon-time-selector.h:
4196 * src/hildon-touch-selector-column.h:
4197 * src/hildon-touch-selector.h:
4199 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4200 declarations. Fixes gtk-doc warnings.
4202 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4204 * src/hildon-picker-dialog.h
4205 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4206 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4208 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4209 long text is set as label for done button)
4211 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4213 * src/hildon-dialog.c (hildon_dialog_add_button):
4214 Set fixed width to all buttons in the HildonDialog.
4216 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4218 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4220 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4221 Set widget name using class name plus "-finger" or "-thumb".
4223 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4225 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4226 'clicked' when the state of the button is manually changed.
4228 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4230 * src/hildon-app-menu.c (hildon_app_menu_realize)
4231 (hildon_app_menu_unrealize, hildon_app_menu_init)
4232 (hildon_app_menu_class_init, item_visibility_changed):
4233 Change the menu layout when the size of the screen changes.
4234 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4235 Show warning only when changing the number of colums using the
4238 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4240 * debian/compat: Set to 5
4241 * debian/control: Update dependencies.
4242 * debian/libhildon1-dbg.install: Remove.
4243 * debian/libhildon1-dev.install: Update according to cdbs paths.
4244 * debian/libhildon1.install: Update according to cdbs paths.
4245 * debian/rules: Switch to cdbs.
4247 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4249 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4250 'item' variable renamed to 'filter'
4252 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4254 * src/hildon-app-menu.c (hildon_app_menu_insert)
4255 (hildon_app_menu_add_filter, remove_item_from_list)
4256 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4257 Don't leak hidden items when the menu is destroyed.
4259 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4261 * src/hildon-app-menu.c (hildon_app_menu_insert)
4262 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4263 (hildon_app_menu_set_columns, item_visibility_changed)
4264 (filter_visibility_changed, hildon_app_menu_repack_filters)
4265 (hildon_app_menu_repack_items):
4266 Repack items and filters separately.
4268 Don't repack all items, change only the ones that are needed to
4271 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4273 * src/Makefile.am: added hildon-touch-selector-column.h
4275 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4277 * src/hildon-touch-selector.c: added the property "text-column" to the
4278 class HildonTouchSelectorColumn, and related get/set functions
4279 (_default_printf_func): updated to use "text-column" property
4280 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4281 "text-column" in his documentation, as this is now included on
4282 HildonTouchSelectorColumn. The get/set_property can still be used,
4283 working as a wrapper to the concrete column "text-column" property
4284 (_text_column_modified): callback added in order to handle the signal
4285 "notify::text-column" of the concrete HildonTouchSelectorColumn
4286 (hildon_touch_selector_entry_get_text_column)
4287 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4288 modified in order to use the HildonTouchSelectorColumn "text-column"
4290 * src/hildon-time-selector.c:
4291 * src/hildon-date-selector.c:
4292 * examples/hildon-touch-selector-example.c
4293 * examples/hildon-touch-selector-multi-cells-example.c
4294 * examples/hildon-picker-button-multicolumn-example.c
4295 Set the right value to "text-column" property on the creation of a new
4296 column using hildon_touch_selector_append_column()
4298 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4300 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4302 * src/hildon-app-menu.c
4303 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4304 updating the layout of the menu, don't create all widgets again,
4305 just repack the items in their new places.
4307 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4309 * src/hildon-time-selector.c
4310 (hildon_time_selector_get_time)
4311 (hildon_time_selector_set_time)
4312 Added documentation of these public methods
4314 * src/hildon-date-button.h
4315 * src/hildon-touch-selector-column.h
4316 * src/hildon-time-button.h
4317 * src/hildon-picker-dialog.h
4318 * src/hildon-time-selector.h
4319 * src/hildon-picker-button.h
4320 * src/hildon-touch-selector.h
4321 * src/hildon-time-picker.h
4322 * src/hildon-date-selector.h
4323 * src/hildon-touch-selector-entry.h
4324 Modified in order to use hildon-widgets code style
4326 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4328 Added deprecated support to the compilation process using
4329 HILDON_DISABLE_DEPRECATED
4331 * configure.ac: Added the --disable-deprecated to the configure
4334 * src/hildon-weekday-picker.c:
4335 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4336 to use the deprecated support. We will update the other deprecated
4337 widgets status in a new patch.
4339 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4341 * configure.ac: Fixed typo with fatal warnings support, the
4342 variable name was not correct
4344 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4346 * src/hildon-app-menu.c
4347 * src/hildon-program.c: Update documentation.
4349 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4351 * configure.ac: Post-release version bump.
4353 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4358 * configure.ac: Pre-release version bump.
4359 * debian/changelog: Updates.
4361 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4363 * NEWS: Update news for previous releases.
4365 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4367 * examples/hildon-touch-selector-multi-cells-example.c:
4368 (create_selector): Update the example to use
4369 hildon_touch_selector_append_column() with a NULL renderer and set
4370 the renderers later.
4371 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4372 passed a NULL renderer. This is documented behavior now.
4374 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4375 This must be used if the developer wants full control on the layout of
4376 the renderers to be added to the column.
4378 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4380 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4382 * src/hildon-touch-selector.c: Documentation fixes.
4384 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4386 * src/hildon-wizard-dialog-private.h: Remove image and box.
4387 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4388 (hildon_wizard_dialog_set_property), (response): Completely remove
4389 image/icon support, and the containers required for the layout.
4391 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4393 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4395 * src/hildon-app-menu.c: Updated documentation.
4397 * src/hildon-stackable-window.c
4398 (hildon_stackable_window_set_main_menu): Unref the old menu after
4399 ref'ing the new one.
4401 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4403 * src/hildon-stackable-window.c
4404 (hildon_stackable_window_set_main_menu): Unref the previous menu
4405 instead of destroying it.
4407 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4408 floating reference and set has_user_ref_count to FALSE to make
4409 HildonAppMenu act like a normal ref-counted widget and not a
4412 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4415 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4417 * src/hildon-touch-selector-column.h: new file
4418 * src/hildon-touch-selector.h
4419 * src/hildon-touch-selector.c
4420 Implemented GtkCellLayout interface, in order to allow to configure
4421 the cell layout on each individual selector column
4422 (hildon_touch_selector_set_column_attributes): marked as deprecated
4423 * examples/hildon-touch-selector-multi-cells-example.c
4424 Example of how to use the GtkCellLayout interface on the selector
4426 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4428 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4430 * src/hildon-app-menu.h
4431 * src/hildon-app-menu.c
4432 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4433 (hildon_app_menu_append, hildon_app_menu_prepend):
4434 New methods to prepend, insert and move items in the menu.
4436 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4438 * src/hildon-wizard-dialog.c:
4440 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4442 (create_title): Update logical IDs and related code.
4443 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4445 * src/hildon-wizard-dialog.h: Note that
4446 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4447 point, as it is not used anymore.
4449 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4451 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4453 * src/hildon-note.c:
4454 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4455 shown. Do not display an icon in confirmation notes nor information
4457 (hildon_note_set_button_text): Update logical ID for cancel button.
4459 Fixes: NB#88850 (Update HildonNote button strings + signals)
4461 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4463 * src/hildon-stackable-window.c
4464 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4466 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4468 * src/hildon-app-menu-private.h
4469 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4470 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4471 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4472 temporary property 'columns' to change the number of columns.
4474 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4476 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4478 * examples/hildon-note-example.c: (on_information_clicked),
4479 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4480 debugging information.
4481 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4483 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4484 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4485 in order to close: this will be handled by the WM from now on.
4487 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4489 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4491 * src/hildon-app-menu-private.h
4492 * src/hildon-app-menu.c
4493 (hildon_app_menu_append, hildon_app_menu_add_filter)
4494 (button_visibility_changed, hildon_app_menu_apply_style)
4495 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4496 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4497 layout everytime a button (item or filter) is shown or hidden.
4499 * src/hildon-stackable-window.c
4500 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4503 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4505 * src/hildon-touch-selector.c:
4506 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4507 that the treeview inside the touch selector is in fremantle hildon mode
4508 * examples/hildon-date-button-example.c
4509 * examples/hildon-picker-button-multicolumn-example.c
4510 * examples/hildon-touch-selector-entry-example.c
4511 * examples/hildon-touch-selector-example.c
4512 * examples/hildon-time-button-example.c
4513 * examples/hildon-picker-button-example.c:
4514 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4516 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4518 * examples/hildon-text-view-example.c: (main): Remove the
4519 gtkrc bits, now handled by the theme.
4521 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4523 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4526 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4528 * po/Makefile.am: Install properly the mo files.
4529 * po/en_GB.po: Update translation, to ease testing purposes.
4531 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4533 * examples/hildon-picker-button-example.c: (main): Select an item
4534 in the selector before setting it to the button.
4536 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4538 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4539 Update button's value if the selector has an item active.
4541 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4542 'value' with the selector)
4544 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4546 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4547 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4548 (hildon_picker_button_class_init): Plug the finalize method.
4549 (hildon_picker_button_set_selector): If there's a previously set
4550 selector, unref'it before setting a new one.
4552 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4553 HildonTouchSelector)
4555 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4557 * src/hildon-touch-selector-entry.c:
4558 (hildon_touch_selector_entry_changed): Check if there is no text
4559 selected before setting the entry text.
4562 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4564 * src/hildon-touch-selector.h
4565 * src/hildon-touch-selector.c
4566 (hildon_touch_selector_get_active)
4567 (hildon_touch_selector_set_active): New methods to set/get the
4568 index of the selected item.
4570 * src/hildon-picker-button.h
4571 * src/hildon-picker-button.c
4572 (hildon_picker_button_get_active)
4573 (hildon_picker_button_set_active): New methods to set/get the
4574 index of the selected item.
4576 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4578 * configure.ac: post-release version bump.
4580 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4584 * configure.ac: Pre-release version bump.
4585 * debian/changelog: Updates.
4586 * debian/control: Add myself as maintainer and depend on l10n
4589 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4591 * src/hildon-window.c
4592 (hildon_window_set_main_menu)
4593 * src/hildon-stackable-window.c
4594 (hildon_stackable_window_set_main_menu):
4595 Updated documentation.
4597 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4599 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4600 Don't free selector->priv manually.
4603 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4606 (hildon_gtk_window_set_progress_indicator):
4607 * src/hildon-gtk.h: Added the new API
4608 hildon_gtk_window_set_progress_indicator, it changes the state of
4609 the window progress hint.
4611 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4613 * src/hildon-button.c
4614 * src/hildon-stackable-window.c: Minor documentation updates.
4616 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4618 * src/hildon-stackable-window.c: Updated documentation.
4620 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4622 * src/hildon-defines.h: Update margins definitions
4623 to the Fremantle sizes.
4626 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4628 * src/hildon-touch-selector.c,
4629 (_hildon_touch_selector_set_model): Cleaning the code after
4630 review, removed g_print and #if 0 from the code.
4632 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4634 * src/hildon-edit-toolbar.c: Update documentation.
4636 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4638 * src/hildon-check-button.h
4639 * src/hildon-check-button.c
4640 (hildon_check_button_set_label, hildon_check_button_get_label)
4641 * examples/hildon-check-button-example.c
4642 (button_clicked_cb):
4643 Removed deprecated methods.
4645 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4647 * src/hildon-text-view.c:
4648 Add sample code to the documentation.
4650 * src/hildon-entry.h
4651 * src/hildon-text-view.h:
4652 Minor cosmetic changes.
4654 * src/hildon-entry.c:
4655 Add sample code to the documentation.
4656 (hildon_entry_init, hildon_entry_refresh_contents):
4657 Don't allow NULL values in the placeholder.
4659 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4661 * doc/hildon-docs.sgml
4663 * examples/Makefile.am
4664 * examples/hildon-text-view-example.c
4666 * src/hildon-text-view.c
4667 * src/hildon-text-view.h
4669 New HildonTextView widget, with example.
4671 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4673 * po/POTFILES.in: Add missing files with translatable strings.
4674 Partially fixes NB#88287.
4676 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4678 * examples/hildon-pannable-area-example-2.c: (main): No need to
4679 set the cellrenderer height inside hildon touch lists, the theme does
4682 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4684 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4685 they are integrated in the theme.
4687 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4689 * examples/hildon-entry-example.c: Update the example adding
4690 widgets to modify the text and the placeholder of the HildonEntry.
4692 * src/hildon-entry.c: Show the placeholder everytime the widget
4693 is empty and loses the focus.
4695 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4697 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4699 * src/hildon-pannable-area.c,
4700 (hildon_pannable_area_size_request): Fixed bug in height
4701 requisition, avoid increasing size and add border twice.
4703 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4705 * configure.ac: postrelease version bump.
4707 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4711 * configure.ac: Prerelease version bump.
4712 * debian/changelog: update.
4713 * debian/rules: make -dbg package contain useful debugging symbols.
4715 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4717 * src/hildon-dialog.h
4718 * src/hildon-dialog.c
4719 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4720 New methods to add buttons with finger size.
4721 (hildon_dialog_new_with_buttons):
4722 Create buttons with finger size.
4724 * examples/hildon-dialog-example.c (main): Use HildonDialog
4725 methods to add buttons.
4727 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4729 * src/hildon-entry.c: Updated HildonButton documentation.
4731 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4733 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4734 button value label with (FALSE, FALSE) to prevent NB#88126 from
4737 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4739 * examples/hildon-pannable-area-example.c,
4740 (main): Removed examples panning a vbox inside a pannable
4741 area. Check bug NB#87965
4743 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4745 Patch contributed by Kris Rietveld (kris@imendio.com)
4747 * src/hildon-pannable-area.c,
4748 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4749 get_size and get_position, this saves an X server roundtrip.
4751 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4753 * doc/hildon-docs.sgml
4755 * examples/Makefile.am
4756 * examples/hildon-entry-example.c
4758 * src/hildon-entry.c
4759 * src/hildon-entry.h
4761 New HildonEntry widget, with example.
4763 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4765 * src/hildon-button.c (hildon_button_construct_child): Pack the
4766 image with expand == fill == FALSE. This is a workaround for a bug
4769 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4771 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4772 labels for the text column, to make it more look more dynamic.
4774 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4776 * src/hildon-time-selector.c
4777 Define gettext auxiliar macro N_
4778 (_create_minutes_model)
4779 (_create_hours_model)
4780 (_create_ampm_model): use of strftime in order to fill the model
4781 * src/hildon-date-selector.c
4782 (hildon_date_selector_finalize):
4783 (_locales_init): remove the logic related to get the name of the months
4784 using nl_langinfo, as it is not required anymore
4786 (_create_year_model)
4787 (_create_month_model)
4788 (_update_day_model): use of strftime in order to fill the model properly
4791 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4793 * src/hildon-button.h
4794 * src/hildon-button.c (hildon_button_get_image): New method to
4797 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4799 * src/hildon-touch-selector.c:
4800 (hildon_touch_selector_remove_column): Remove from the correct parent
4801 and also remove the list element and free it.
4804 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4806 * src/hildon-time-selector.c
4807 (_create_hours_model): change the range on 12h ampm format in order to use
4808 a 12-11 range instead of previous 01-12 range
4809 (hildon_time_selector_set_time): change the way to select the current time
4810 on 12h ampm format, due the change on the range
4811 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4814 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4816 * src/hildon-touch-selector.c
4817 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4818 in order to allow use this function on multiple row selection mode if
4819 the column is different that the first one
4822 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4824 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4825 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4827 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4829 * src/hildon-date-selector.h: clean some comments, now on the .c
4830 * src/hildon-date-selector.c
4831 (hildon_date_selector_select_month): first implementation
4832 (hildon_date_selector_select_day): added documentation, reimplemented
4833 using hildon_date_selector_select_current_date to avoid repeat code
4836 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4838 Reviewed interaction logic based on device experiences, refactored
4841 * src/hildon-pannable-area.c,
4842 (hildon_pannable_area_class_init): Updated default vmax speed.
4843 (hildon_pannable_area_calculate_velocity): Added this function, it
4844 avoids duplicate valocity calculation. Adjusted calculation to
4845 avoid problems with zero dist events.
4847 (hildon_pannable_area_motion_notify_cb): Now we use the
4848 calculate_velocity function.
4850 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4852 * src/hildon-date-selector.c
4853 (hildon_date_selector_select_current_date): fix the day range check
4854 as it failed using the last day of the current month
4857 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4859 * src/hildon-touch-selector.c
4860 (hildon_touch_selector_get_num_columns): added a parameter validation
4863 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4865 * examples/Makefile.am
4866 * examples/hildon-edit-toolbar-example.c: Example of the
4867 HildonEditToolbar widget.
4869 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4871 * configure.ac: postrelease version bump.
4873 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4877 * configure.ac: prerelease version bump.
4878 * debian/changelog: update.
4880 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4882 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4883 renderer to display stock icons in the touch list. Also, set the sizes
4884 to the recommended in the style guide.
4886 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4887 * src/hildon-touch-selector.h
4888 (hildon_touch_selector_set_active_iter): renamed, now is
4889 hildon_touch_selector_select_iter
4890 (hildon_touch_selector_get_active_iter): renamed, now is
4891 hildon_touch_selector_get_selected
4892 (hildon_touch_selector_unselect_iter): added
4893 * src/hildon-touch-selector.c
4894 Update after API modification (methods renamed)
4895 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4896 order to avoid problems selecting multiple elements on the column
4897 (hildon_touch_selector_unselect_iter): added the implementation
4898 * src/hildon-time-selector.c
4899 * src/hildon-date-selector.c
4900 * src/hildon-touch-selector-entry.c
4901 Update methods calls after hildon-touch-selector.h API modification (methods
4904 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4906 * src/hildon-stackable-window.c
4907 (hildon_stackable_window_finalize): Call the parent class's finalize.
4909 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4911 * examples/hildon-touch-selector-example.c: (create_selector): Use
4912 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4915 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4917 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4918 set a cell background color, to respect theming.
4920 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4922 * doc/hildon-docs.sgml
4925 * src/hildon-edit-toolbar.c
4926 * src/hildon-edit-toolbar.h
4927 * src/hildon.h: New HildonEditToolbar widget.
4929 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4931 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4934 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4935 * src/hildon-touch-selector.c
4936 (_create_new_column): use g_object_set instead of two g_object_set_property
4938 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4939 * src/hildon-touch-selector.c
4940 (_create_new_column): use of hildon_gtk_tree_view_new to create
4941 the treeview, instead of use directly g_object_new
4942 (_create_new_column): update the property name "vindicator-mode" for the
4943 new one "vscrollbar-policy"
4944 * examples/hildon-date-button-example.c
4945 * examples/hildon-picker-button-multicolumn-example.c
4946 * examples/hildon-touch-selector-entry-example.c
4947 * examples/hildon-touch-selector-example.c
4948 * examples/hildon-time-button-example.c
4949 * examples/hildon-picker-button-example.c
4950 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4951 to all the treeviews inside a pannable area.
4953 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4955 * src/hildon-button.h
4956 * src/hildon-button.c (hildon_button_init)
4957 (hildon_button_set_arrangement, hildon_button_set_alignment)
4958 (hildon_button_set_title_alignment)
4959 (hildon_button_set_value_alignment)
4960 (hildon_button_set_image_alignment)
4961 (hildon_button_construct_child): New methods to set the alignment
4962 of the individual components of the button (title, value,
4963 image). Also, new method to alter the xscale and yscale properties
4964 of the GtkAlignment inside the button, so more complex layouts can
4967 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4969 * src/hildon-button.c (hildon_button_style_set)
4970 (hildon_button_class_init, hildon_button_set_arrangement)
4971 (hildon_button_construct_child): Apply style properties
4972 correctly. Use the 'image-spacing' style property too.
4974 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4976 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4977 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4980 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4982 * src/hildon-pannable-area.c,
4983 (hildon_pannable_area_size_request): Fixed problem with
4984 pannable-area size_request.
4986 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4988 Added management for the grab-focus to a child widget, like a
4989 range, we need to fade out the scrollbar when releasing.
4991 * src/hildon-pannable-area.c,
4992 (hildon_pannable_area_init): Connected the grab-focus signal to
4994 (hildon_pannable_area_grab_notify): Added this function in order
4995 to manage the situation when the grab-focus ends. We have to
4996 fade-out the scrollbar.
4998 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5000 * src/hildon-app-menu.c: Minor documentation update.
5002 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5004 * src/hildon-app-menu.c
5005 * examples/hildon-app-menu-example.c (create_menu): Update
5006 examples and documentation to explain how to connect callbacks.
5008 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5010 * examples/hildon-button-example.c
5011 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5012 hildon_stackable_window_new instead of gtk_window_new
5014 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5016 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5017 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5018 (hildon_pannable_area_set_property),
5019 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5020 (hildon_pannable_area_unrealize),
5021 (hildon_pannable_area_size_request),
5022 (hildon_pannable_area_size_allocate),
5023 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5024 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5025 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5026 (hildon_pannable_area_initial_effect),
5027 (hildon_pannable_area_redraw),
5028 (hildon_pannable_area_scroll_indicator_fade),
5029 (hildon_pannable_area_expose_event),
5030 (hildon_pannable_area_get_topmost), (synth_crossing),
5031 (hildon_pannable_area_button_press_cb),
5032 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5033 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5034 (hildon_pannable_area_motion_notify_cb),
5035 (hildon_pannable_area_button_release_cb),
5036 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5037 (hildon_pannable_area_remove),
5038 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5039 chage the code layout to a more GtkWidget like. Review the use of
5042 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5044 * examples/hildon-pannable-area-example-4.c,
5045 (main): Modified the name of the hindicator_mode to
5048 * src/hildon-pannable-area.c,
5049 (hildon_pannable_area_class_init),
5050 (hildon_pannable_area_motion_notify_cb),
5051 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5052 we have reduced the amount of signals and managed reviewed its
5053 rationale. Changed the default decelerate value.
5055 (hildon_pannable_area_add),
5056 (hildon_pannable_area_redraw): Refactored functions.
5058 (hildon_pannable_area_init),
5059 (hildon_pannable_area_get_property),
5060 (hildon_pannable_area_set_property):
5061 (hildon_pannable_draw_vscroll),
5062 (hildon_pannable_draw_hscroll),
5063 (hildon_pannable_area_initial_effect),
5064 (hildon_pannable_area_expose_event),
5065 (hildon_pannable_area_scroll),
5066 (hildon_pannable_area_button_press_cb),
5067 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5068 and vindicator_mode with hscrollbar_policy and
5069 vscrollbar_policy. Replaced hscroll and vscroll with
5070 hscroll_visible and vscroll_visible.
5072 (hildon_pannable_area_refresh): Refactor the function, remove
5073 variables and check the calls to this function, added resize
5074 conditions in case the children change their layout.
5076 (hildon_pannable_area_size_request): Added more detailed
5077 size_request calculation.
5080 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5082 * src/hildon-color-chooser.c
5083 (init_borders): use the correct gtk_border_free instead of g_free, to
5084 avoid a crash when this widget is used (ie: the three color selection
5087 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5089 * src/hildon-check-button.c,
5090 (hildon_check_button_set_active): Fixed problem when setting the
5091 active value, the widget was not redrawn.
5093 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5095 * src/hildon-pannable-area.c,
5096 (hildon_pannable_area_refresh),
5097 (hildon_pannable_area_scroll),
5098 (hildon_pannable_area_motion_notify_cb): Small code style change.
5100 (hildon_pannable_area_class_init): Default initial_hint set to
5101 FALSE, it is not in the specs.
5103 (hildon_pannable_area_initial_effect),
5104 (hildon_pannable_area_expose_event),
5105 (hildon_pannable_area_map),
5106 (hildon_pannable_area_init): Moved the launching point of the
5107 initial effect, it was in map but the sizes where not correct in
5108 that method so we do not know if we have the reproduce it. Now it
5109 is placed in the expose_event method and uses a variable to
5110 reproduce it just once.
5112 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5114 * src/hildon-pannable-area.c,
5115 (hildon_pannable_draw_vscroll),
5116 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5117 position allowed for the scrollbars.
5119 (hildon_pannable_area_size_allocate): Small style change.
5121 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5123 * src/hildon-pannable-area.c,
5124 (hildon_pannable_area_scroll_indicator_fade),
5125 (hildon_pannable_area_button_press_cb),
5126 (hildon_pannable_area_button_release_cb),
5127 (hildon_pannable_area_scroll_cb),
5128 (hildon_pannable_area_expose_event),
5129 (hildon_pannable_area_init): Added the define parameter
5130 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5131 and refactor the fade variable.
5133 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5135 * src/hildon-pannable-area.c,
5136 (hildon_pannable_area_redraw),
5137 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5138 lines, we were reimplemeting the redraw code.
5140 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5142 * src/hildon-pannable-area.c,
5143 (hildon_pannable_area_scroll_cb),
5144 (hildon_pannable_area_realize),
5145 (hildon_pannable_area_class_init): Added scroll_event management
5146 for pannable area, now we can scroll the usual desktop method.
5148 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5149 initialization of the parameters should depend on idle_id.
5151 (hildon_pannable_area_init),
5152 (hildon_pannable_area_map): Small code style modifications
5154 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5156 * src/hildon-pannable-area.c
5157 (hildon_pannable_area_button_press_cb),
5158 (hildon_pannable_area_motion_notify_cb),
5159 (hildon_pannable_area_button_release_cb),
5160 (hildon_pannable_area_size_allocate),
5161 (hildon_pannable_area_scroll_to): Improved the timeouts
5162 management, we avoid creating them each time.
5164 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5166 * src/hildon-pannable-area.c:
5167 (hildon_pannable_area_refresh),
5168 (hildon_pannable_area_motion_notify_cb),
5169 (hildon_pannable_area_class_init):
5170 * src/hildon-pannable-area.h:
5171 * src/hildon-touch-selector.c
5172 (_create_new_column):
5173 * examples/hildon-pannable-area-example-4.c:
5174 (horizontal_movement),
5175 (vertical_movement),
5177 Replaced the names of enums in the HildonPannableArea:
5178 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5179 HILDON_MOVEMENT_MODE_*
5180 - HILDON_PANNABLE_AREA_MOV_* ->
5182 - Removed HildonPannableAreaIndicatorMode, now we
5185 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5187 * examples/hildon-pannable-area-touch-grid-example.c
5188 * examples/hildon-pannable-area-touch-list-example.c: Fix
5189 compilation warnings.
5191 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5193 * src/hildon-gtk.c (hildon_gtk_button_new)
5194 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5195 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5196 images overriding the value of the "gtk-button-images" setting.
5198 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5200 * src/hildon-check-button.c (hildon_check_button_new):
5201 Instead of using a custom container, display the label and the
5202 checkbox using the standard GtkButton API.
5204 * examples/hildon-check-button-example.c (main): Don't use
5205 hildon_check_button_set_label() anymore
5207 * src/hildon-check-button.h
5208 * src/hildon-check-button.c
5209 (hildon_check_button_set_label, hildon_check_button_get_label):
5210 Set as deprecated, now we're using gtk_button_{get,set}_label()
5212 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5214 * src/hildon-pannable-area.c,
5215 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5216 GtkTreeview first line we detected it after the inclusion of the
5217 GtkWindowImpl in gtk+. We now check if the window is visible, not
5218 just if the pointer is over the window.
5219 (hildon_pannable_axis_scroll),
5220 (hildon_pannable_area_expose_event): Small style changes.
5222 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5224 * src/hildon-button.c: Update documentation.
5226 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5228 * examples/hildon-button-example.c: Add a switch to show images in
5231 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5233 * doc/hildon-docs.sgml: Some docs reorganization.
5235 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5237 * examples/hildon-pannable-area-touch-list-example.c
5239 * examples/hildon-pannable-area-touch-grid-example.c
5240 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5241 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5242 Fix memory leak when setting the tree model.
5244 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5248 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5250 * doc/hildon.types: Remove duplicated hildon_window_get_type
5251 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5252 documentation comment.
5254 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5256 * doc/Makefile.am: Complete list of private headers.
5258 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5260 * doc/hildon-docs.sgml
5261 * src/hildon-app-menu.c
5262 * src/hildon-bread-crumb.c
5263 * src/hildon-button.c
5265 * src/hildon-program.c
5266 * src/hildon-stackable-window.c
5267 * src/hildon-window.c: Lots of documentation updates.
5269 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5271 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5273 * configure.ac: Require Gtk+ 2.12.9 at least
5275 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5277 * src/hildon-pannable-area.c
5278 (hildon_pannable_area_scroll_indicator_fade),
5279 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5280 to protect the return of this timeout callbacks, avoiding deadlocks.
5282 2008-08-12 Christian Dywan <christian@imendio.com>
5285 * src/hildon-*.h: Ensure a consistent include order,
5286 include <gtk/gtk.h> instead of particular files and
5287 only include the topmost header in the gtk stack. See NB #39857
5289 2008-08-12 Christian Dywan <christian@imendio.com>
5291 * src/hildon-picker-dialog.c
5292 * src/hildon-touch-selector.c: Fix warnings about unused and
5293 uninitialized variables.
5295 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5297 * examples/Makefile.am
5298 * examples/hildon-check-button-example.c: Example of the hildon
5301 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5303 * src/hildon-window.h
5304 * src/hildon-window.c (hildon_window_class_init)
5305 (hildon_window_unset_program): Don't make
5306 hildon_window_unset_program a virtual function anymore.
5308 * src/hildon-stackable-window.c: Update documentation
5310 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5313 * doc/hildon-docs.sgml
5314 * doc/visual_index.xml
5315 * src/hildon-defines.c
5317 * src/hildon-helper.c
5318 * src/hildon-range-editor.c: Lots of documentation fixes.
5320 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5322 * examples/hildon-picker-button-multicolumn-example.c
5323 (create_touch_selector): Fix compilation warning.
5325 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5327 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5328 (hildon_pannable_area_button_release_cb)
5329 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5331 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5333 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5336 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5338 * src/hildon-bread-crumb-trail.h
5339 * src/hildon-date-editor.c
5340 * src/hildon-date-selector.c
5341 * src/hildon-pannable-area.c
5342 * src/hildon-picker-dialog.c
5343 * src/hildon-time-selector.c
5344 * src/hildon-touch-selector-entry.c
5345 * src/hildon-touch-selector.c
5346 * src/hildon-touch-selector.h: Misc documentation fixes
5348 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5350 * examples/hildon-date-editor-example.c (main): Updated date
5353 * examples/hildon-note-example.c (on_confirmation_clicked):
5354 Updated confirmation note example.
5356 * src/hildon-date-editor.c
5357 * src/hildon-note.c: Updated sample programs in documentation.
5360 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5362 * src/hildon-date-button.h:
5363 * src/hildon-picker-button.h:
5364 * src/hildon-time-button.c:
5365 * src/hildon-time-button.h:
5367 Some declarations changes to allow gtk-doc to document the widgets
5370 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5372 * src/hildon-date-button.c: Document the widget.
5373 * src/hildon-time-button.c: Document the widget.
5375 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5377 * src/hildon-picker-button.c: Document the widget.
5378 * src/hildon-touch-selector-entry.c: Document the widget.
5380 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5382 * doc/hildon-docs.sgml
5385 * src/hildon-check-button.h
5386 * src/hildon-check-button.c: New functions to create the Hildon
5390 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5392 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5394 * src/hildon-button.h
5395 * src/hildon-button.c
5396 (hildon_button_add_title_size_group)
5397 (hildon_button_add_value_size_group)
5398 (hildon_button_add_image_size_group)
5399 (hildon_button_add_size_groups): New functions to set size groups
5400 for the button labels and image.
5401 (hildon_button_new_full): Removed
5403 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5405 * src/hildon-time-selector.c
5406 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5407 in order to avoid a crash if gconf is not available
5409 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5411 * src/hildon-button.c (hildon_button_set_arrangement)
5412 (hildon_button_construct_child): Don't construct the button child
5413 before setting the arrangement.
5415 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5417 * src/hildon-program-private.h
5418 * src/hildon-program.c
5419 * src/hildon-program.h
5420 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5421 (hildon_program_peek_window_stack)
5422 (hildon_program_pop_window_stack)
5423 (hildon_program_go_to_root_window): HildonProgram now has a
5424 separate list for stackable windows. Functions are provided to
5425 manage that list with a stack-like API.
5427 * src/hildon-stackable-window.c: Stackable window management is
5428 now much simpler with the new HildonProgram API. Windows no
5429 longer need to be manually added to the program, they're
5430 automatically pushed to the top of the stack when shown.
5432 * examples/hildon-stackable-window-example.c: Updated example to
5433 reflect the API changes.
5435 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5437 * src/hildon-touch-selector.c: Comment out unimplemented
5438 hildon_touch_selector_insert_column() to avoid a compile warning.
5440 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5442 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5443 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5444 (hildon_touch_selector_set_column_selection_mode),
5445 (_hildon_touch_selector_set_model),
5446 (hildon_touch_selector_set_model):
5448 Complete review of HildonTouchSelector documentation.
5450 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5452 * doc/hildon-docs.sgml
5456 * src/hildon-gtk.c: Convenience functions for standard Gtk
5457 widgets, used to easily perform frequent operations.
5459 * src/hildon-button-helpers.h
5460 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5462 * src/hildon-helper.h
5463 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5464 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5466 * src/hildon-button.h
5467 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5469 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5471 * src/hildon-button.c (hildon_button_init)
5472 (hildon_button_set_arrangement, hildon_button_construct_child):
5473 Pack the image and the labels inside the same GtkAlignment so
5474 gtk_button_set_alignment() can be used
5476 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5478 * src/hildon-button.h
5479 * src/hildon-button.c
5480 (hildon_button_init, hildon_button_set_image)
5481 (hildon_button_set_image_position)
5482 (hildon_button_construct_child): New functions to add an image to
5485 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5487 * src/hildon-date-button.c
5488 * src/hildon-picker-button.c
5489 * src/hildon-time-button.c
5490 * src/hildon-button.c:
5491 (hildon_button_class_init): "size-flags" renamed to "size"
5492 (hildon_button_set_title): Hide the title label if set to NULL.
5494 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5496 HildonButtonFlags split into HildonButtonArrangement (to set the
5497 button layout) and HildonSizeType (which can be used for any
5500 * src/hildon-button.h
5501 * src/hildon-button.c
5502 (hildon_button_class_init)
5503 (hildon_button_set_arrangement)
5504 (hildon_button_set_property): New "size-flags"
5505 property. "arrangement-flags" renamed to "arrangement".
5506 (hildon_button_new, hildon_button_new_with_text)
5507 (hildon_button_new_full): Constructors updated to reflect type changes.
5509 * src/hildon-helper.h
5510 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5511 to set the size of a widget.
5515 * src/hildon-button-helpers.c
5516 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5518 * src/hildon-date-button.c
5519 * src/hildon-date-button.h
5520 * src/hildon-picker-button.c
5521 * src/hildon-picker-button.h
5522 * src/hildon-time-button.c
5523 * src/hildon-time-button.h: Updated widgets to reflect
5524 HildonButton API changes.
5526 * examples/hildon-button-example.c
5527 * examples/hildon-date-button-example.c
5528 * examples/hildon-picker-button-example.c
5529 * examples/hildon-picker-button-multicolumn-example.c
5530 * examples/hildon-time-button-example.c
5531 * examples/hildon-touch-selector-entry-example.c
5532 * examples/hildon-touch-selector-example.c: Updated examples to
5533 reflect HildonButton API changes.
5535 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5537 * doc/hildon-docs.sgml:
5539 * examples/Makefile.am:
5540 * examples/hildon-touch-selector-entry-example.c:
5542 * src/hildon-touch-selector-entry.c:
5543 * src/hildon-touch-selector-entry.h:
5546 Moved HildonTouchSelectorEntry from sandbox. Added its
5547 documentation and examples.
5549 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5551 * src/hildon-touch-selector.h:
5552 * examples/hildon-picker-button-multicolumn-example.c:
5553 (hildon_touch_selector_append_text_column): Add a gboolean
5554 parameter to determine if text must be centered in the column.
5556 * src/hildon-date-selector.c: (hildon_date_selector_init):
5557 * src/hildon-time-selector.c: (hildon_time_selector_init):
5558 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5559 (create_touch_selector): Update widgets and example to reflect
5562 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5564 * src/hildon-touch-selector.c:
5565 (hildon_touch_selector_set_active_iter): Set also the cursor in
5568 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5570 * doc/hildon-docs.sgml
5573 * src/hildon-toggle-button.c
5574 * src/hildon-toggle-button.h
5575 * src/hildon.h: Removed HildonToggleButton widget, a derived
5576 class is not necessary for this.
5578 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5580 * src/hildon-pannable-area.c,
5581 (hildon_pannable_area_realize),
5582 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5585 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5587 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5588 "done" button the default widget for the dialog.
5590 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5592 * src/hildon-touch-selector.c:
5593 (hildon_touch_selector_class_init),
5594 (hildon_touch_selector_get_property),
5595 (_hildon_touch_selector_set_model),
5596 (_hildon_touch_selector_has_multiple_selection),
5597 (hildon_touch_selector_has_multiple_selection):
5598 Add a "has-multiple-selection" property with a virtual
5599 has_multiple_selection() method to allow derived classes to
5600 override the default value for it. See the method and property
5601 documentation for details.
5603 * src/hildon-touch-selector.h: Add the new API.
5605 * src/hildon-picker-dialog.c: (requires_done_button): Call
5606 hildon_touch_selector_has_multiple_selection() instead of
5607 determining the need for a button itself.
5609 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5611 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5612 (_hildon_touch_selector_set_model),
5613 (hildon_touch_selector_set_model): Move working code to
5614 _hildon_touch_selector_set_mode(). Call the class method instead.
5616 * src/hildon-touch-selector.h: Add (*set_model) to
5617 HildonTouchSelectorClass.
5619 Make hildon_touch_selector_set_model() a virtual method, so that
5620 derived classes can extend it and do fancy stuff with the model.
5622 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5624 * configure.ac: Set back the tarname in AC_INIT to hildon.
5626 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5630 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5631 instead of libesd (NB#86876). Volume handling is still an open issue.
5633 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5636 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5638 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5639 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5640 derived class to ease placement of an entry widget in
5641 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5642 end, where the selector columns are packed now.
5644 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5646 * src/hildon-picker-button.c: Removed the simple _text() API.
5647 * src/hildon-picker-button.h: Likewise.
5649 * src/hildon-touch-selector.h:
5650 * src/hildon-touch-selector.c:
5651 (hildon_touch_selector_new_text),
5652 (hildon_touch_selector_append_text),
5653 (hildon_touch_selector_prepend_text),
5654 (hildon_touch_selector_insert_text):
5656 Moved the simple _text() API from HildonPickerButton to
5657 HildonTouchPicker, to provide better escalability and not to tie
5658 that API to HildonPickerButton.
5660 * examples/hildon-picker-button-example.c: (main): Example updated.
5662 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5664 * src/hildon-button.c: Updated documentation.
5666 * examples/hildon-button-example.c: Add the posibility to create
5667 the buttons using horizontal layout for title and value.
5669 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5671 * src/hildon-app-menu-private.h
5672 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5673 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5674 GtkSizeGroup for the filters, use the 'homogeneous' property of
5677 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5679 * examples/hildon-button-example.c: Updated example.
5681 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5683 * doc/hildon-docs.sgml:
5686 Update documentation.
5688 * examples/Makefile.am: Update renamed examples.
5690 * examples/hildon-picker-button-multicolumn-example.c:
5691 (create_touch_selector), (main): Update after the rename.
5693 * examples/hildon-touch-picker-example.c: Removed.
5694 * examples/hildon-touch-selector-example.c: (value_changed),
5695 (create_selector), (get_visible_content), (main): Renamed from
5696 hildon-touch-picker-example.c
5698 * src/Makefile.am: Updated renamed files.
5700 * src/hildon-date-button.c: (hildon_date_button_init),
5701 (hildon_date_button_get_date), (hildon_date_button_set_date):
5702 * src/hildon-date-selector.c: (hildon_date_selector_init),
5703 (_custom_print_func), (_update_day_model),
5704 (_manage_selector_change_cb),
5705 (hildon_date_selector_select_current_date),
5706 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5707 * src/hildon-date-selector.h:
5708 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5709 (hildon_picker_button_set_property),
5710 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5711 (hildon_picker_button_init), (hildon_picker_button_new_text),
5712 (hildon_picker_button_append_text),
5713 (hildon_picker_button_prepend_text),
5714 (hildon_picker_button_insert_text),
5715 (hildon_picker_button_set_selector),
5716 (hildon_picker_button_get_selector):
5717 * src/hildon-picker-button.h:
5718 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5719 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5720 (_update_title_on_selector_changed_cb), (requires_done_button),
5721 (_hildon_picker_dialog_set_selector),
5722 (hildon_picker_dialog_set_selector),
5723 (hildon_picker_dialog_get_selector):
5724 * src/hildon-picker-dialog.h:
5725 * src/hildon-time-button.c: (hildon_time_button_init),
5726 (hildon_time_button_get_time), (hildon_time_button_set_time):
5727 * src/hildon-time-selector.c: (hildon_time_selector_init),
5728 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5729 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5730 * src/hildon-time-selector.h:
5733 Massive code updates after the rename.
5735 * src/hildon-touch-picker.c: Removed.
5736 * src/hildon-touch-picker.h: Removed.
5738 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5739 (hildon_touch_selector_init), (hildon_touch_selector_map),
5740 (hildon_touch_selector_remove), (_default_print_func),
5741 (_selection_changed_cb), (_create_new_column),
5742 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5743 (hildon_touch_selector_append_text_column),
5744 (hildon_touch_selector_remove_column),
5745 (hildon_touch_selector_set_column_attributes),
5746 (hildon_touch_selector_insert_column),
5747 (hildon_touch_selector_get_num_columns),
5748 (hildon_touch_selector_get_column_selection_mode),
5749 (hildon_touch_selector_set_column_selection_mode),
5750 (hildon_touch_selector_set_print_func),
5751 (hildon_touch_selector_get_print_func),
5752 (hildon_touch_selector_get_active_iter),
5753 (hildon_touch_selector_set_active_iter),
5754 (hildon_touch_selector_get_selected_rows),
5755 (hildon_touch_selector_get_model),
5756 (hildon_touch_selector_set_model),
5757 (hildon_touch_selector_get_current_text),
5758 (_hildon_touch_selector_center_on_selected_items):
5759 * src/hildon-touch-selector.h: Renamed from
5760 hildon-touch-picker.[ch]
5762 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5763 references, code examples, and related documentation.
5765 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5767 * doc/hildon-docs.sgml
5770 * src/hildon-toggle-button.c
5771 * src/hildon-toggle-button.h
5772 * src/hildon.h: New HildonToggleButton widget.
5774 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5776 * src/hildon-button.c: Add API documentation.
5777 (hildon_button_set_size_groups): Check input parameters
5779 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5781 * src/hildon-pannable-area.c
5782 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5783 effect after reaching the movement thredshold. This way we start
5784 using the distance after passing the thredshold.
5786 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5788 * src/hildon-button.c: (hildon_button_set_property): Use the
5789 appropriate g_value_get_flags() method.
5791 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5793 * doc/hildon-docs.sgml:
5796 Add the touch pickers, picker dialogs, and picker button widgets
5797 to the documentation.
5799 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5801 * src/hildon-button.c: (hildon_button_set_property),
5802 (hildon_button_class_init): Make "arrangement-flags" a proper
5803 G_TYPE_FLAGS derived property.
5805 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5807 * examples/Makefile.am: Add below examples.
5808 * examples/hildon-date-button-example.c:
5809 * examples/hildon-picker-button-example.c:
5810 * examples/hildon-picker-button-multicolumn-example.c:
5811 * examples/hildon-time-button-example.c:
5812 * examples/hildon-touch-picker-example.c:
5814 Add examples for the recently added touch pickers,
5815 picker dialogs, and picker button widgets.
5817 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5819 * src/hildon-button.c: Add some API documentation
5821 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5823 * src/hildon-button.h
5824 * src/hildon-button.c
5826 (hildon_button_new_with_text): New constructor to create a button
5827 with no text at all.
5828 (hildon_button_init, hildon_button_set_arrangement)
5829 (hildon_button_set_title, hildon_button_set_value)
5830 (hildon_button_set_text)
5831 (hildon_button_construct_child): Hide the value when it's not used
5832 so the rest of the text is properly aligned.
5833 Allow creating buttons with arbitrary widgets inside (not just
5834 title/value labels).
5836 * examples/hildon-button-example.c (vertical_buttons_window)
5837 (horizontal_buttons_window): Update example to use new API.
5839 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5841 * src/Makefile.am: Added HildonTimeButton.
5842 * src/hildon-time-button.c: Added missing LGPL header.
5843 * src/hildon-time-button.h: Added missing LGPL header.
5844 * src/hildon.h: Add hildon-time-button.h
5846 Copied HildonTimeButton from sandbox to trunk. Future work on this
5847 widget must take place in trunk.
5849 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5851 * src/Makefile.am: Added HildonDateButton.
5852 * src/hildon-date-button.c: Update includes.
5853 * src/hildon.h: Add hildon-date-button.h
5855 Copied HildonDateButton from sandbox to trunk. Future work on this
5856 widget must take place in trunk.
5858 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5860 * src/Makefile.am: Added HildonPickerButton.
5861 * src/hildon-picker-button.h: Update includes.
5862 * src/hildon.h: Add hildon-picker-button.h
5864 Copied HildonPickerButton from sandbox to trunk. Future work on
5865 this widget must take place in trunk.
5867 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5869 * src/Makefile.am: Added HildonPickerDialog.
5870 * src/hildon-picker-dialog.c: Update includes.
5871 * src/hildon.h: Add hildon-picker-dialog.h
5873 Copied HildonPickerDialog from sandbox to trunk. Future work
5874 on this widget must take place in trunk.
5876 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5878 * src/Makefile.am: Added HildonTimeSelector.
5879 * src/hildon.h: Add hildon-time-selector.h
5881 Copied HildonTimeSelector widget from sandbox to trunk. Future
5882 work on this widget must happen in trunk.
5884 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5886 * src/Makefile.am: Added HildonDateSelector.
5887 * src/hildon.h: Add hildon-date-selector.h
5889 Copied HildonDateSelector widget from sandbox to trunk. Future
5890 work on this widget must happen in trunk.
5892 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5894 * src/Makefile.am: Added HildonTouchPicker.
5895 * src/hildon-touch-picker.c: Update includes.
5896 * src/hildon.h: Add hildon-touch-picker.h
5898 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5899 on this widget must happen in trunk.
5901 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5903 * src/hildon-pannable-area.c:
5904 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5906 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5908 * examples/hildon-app-menu-example.c (main): Let the window
5911 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5913 * src/hildon-pannable-area.c
5914 (hildon_pannable_area_class_init): Set the min value of the
5915 overshoot properties to zero, which points out that not
5916 overshooting allowed.
5918 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5920 Modified the procedure to get the widget at a point inside the
5921 pannable area when using the movement type signals. Now the user
5922 has to call a function to get the child, that way we just
5923 calculate the child in case the user really want to use it and not
5926 * src/hildon-marshalers.list: Modified the marshallers, now we do
5927 not have the widget as a parameter.
5929 * src/hildon-pannable-area.c
5930 (hildon_pannable_area_motion_notify_cb),
5931 (hildon_pannable_area_class_init),
5932 (hildon_pannable_get_child_widget_at): Removed the widget
5933 parameter from the signal callback. We have also refactored the
5934 emission of the signals.
5936 * src/hildon-pannable-area.h: Added a new method to the API to
5937 calculate a widget at a point inside the pannable area,
5938 hildon_pannable_get_child_widget_at.
5940 * examples/hildon-pannable-area-example-4.c
5941 (horizontal_movement): Modified the example to use the new API,
5942 added condition to control which widget is under the event. This
5943 way we can avoid scrolling laterally over other widgets.
5945 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5947 * src/hildon-pannable-area.c
5948 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5949 modes, we stop getting the pointer events due to returning the
5950 callback without properly calling the get pointer again. Fixed
5951 also an error using the hscroll and vscroll.
5953 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5955 * src/hildon-app-menu-private.h
5956 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5957 (hildon_app_menu_button_release, hildon_app_menu_init)
5958 (hildon_app_menu_class_init): Don't hide the menu on button
5959 release if the user didn't press outside first.
5961 * src/hildon-window.h
5962 * src/hildon-window.c (hildon_window_toggle_menu)
5963 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5964 hildon_window_toggle_menu a virtual function for the stackable
5965 window to override it.
5967 * src/hildon-stackable-window.h
5968 * src/hildon-stackable-window-private.h
5969 * src/hildon-stackable-window.c
5970 (hildon_stackable_window_realize)
5971 (hildon_stackable_window_finalize)
5972 (hildon_stackable_window_class_init)
5973 (hildon_stackable_window_init)
5974 (hildon_stackable_window_set_main_menu): New function to set the
5975 app menu of a HildonStackableWindow.
5977 * examples/hildon-app-menu-example.c: Remove the button to show
5978 the app menu, now it'll be shown when clicking on the title bar
5981 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5983 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5984 set the widget name if the arrangement flags do not specify
5987 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5989 * src/hildon-button.c: (hildon_button_set_property),
5990 (hildon_button_class_init), (hildon_button_new_full),
5991 (hildon_button_set_arrangement): Added "arrangement-flags"
5994 Make the HildonButtonFlags a construction-only property, to allow
5995 subclasses to set them properly.
5997 2008-07-21 Tim Janik <timj@imendio.com>
5999 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6000 insertion position after backspace, so additional digits are appended,
6003 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6005 * src/hildon-pannable-area.c,
6006 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6007 TODO list, it was complete and removed the g_debug and g_print
6010 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6012 Added the movement modes to the hildon-pannable-area, with this
6013 modes the developers can control in which directions the widget
6014 can scroll. They can also connect to signals in order to do
6015 something when that happens, allowing applications scroll. There
6016 is an example uploaded showing how to use it.
6018 * examples/Makefile.am:
6019 * examples/hildon-pannable-area-example-4.c: Added this example of
6020 an application using the modes.
6022 * src/hildon-marshalers.list: Added a new marshaller for the new
6025 * src/hildon-pannable-area.h: Added new enumerations and flags in
6026 order to control the movement modes and the new signals to warn
6027 about the movements in the area.
6029 * src/hildon-pannable-area.c:
6030 (hildon_pannable_axis_scroll),
6031 (hildon_pannable_area_scroll),
6032 (hildon_pannable_area_motion_notify_cb),
6033 (hildon_pannable_area_get_property),
6034 (hildon_pannable_area_set_property),
6035 (hildon_pannable_area_map),
6036 (hildon_pannable_area_class_init),
6037 (hildon_pannable_area_init),
6038 (hildon_pannable_area_jump_to): Added the modes to control the
6039 movement in the widget. We have added properties to control it,
6040 signals to warn about the movements and refactored some code.
6042 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6044 Changes required in order to allow vfast_factor set to zero to
6047 * src/hildon-pannable-area.c:
6048 (hildon_pannable_area_button_press_cb): Changed the condition, it
6049 is required for not allowing click when vfast_factor is zero.
6050 (hildon_pannable_area_timeout): Initialized velocity variables
6051 when we stop moving, it was less than 1 but not zero and we need
6052 to check zero in some situations.
6053 (hildon_pannable_area_class_init): Changed the default value of
6054 the speed factor, now the button_press is just sent in case the
6055 speed is 2 per cent of the max speed.
6056 (hildon_pannable_area_init): Initialization with 0.
6058 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6060 * src/hildon-pannable-area.c,
6061 (hildon_pannable_area_get_topmost): replaced
6062 gdk_window_get_children with gdk_window_peek_children, this way we
6063 do not have to free the list because it is not a copy.
6065 (hildon_pannable_axis_scroll),
6066 (hildon_pannable_area_scroll),
6067 (hildon_pannable_area_timeout),
6068 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6069 two parameters that were only used inside the
6070 hildon_pannable_area_scroll function.
6072 * examples/hildon-pannable-area-example.c,
6073 (get_sawtooth_label): Fixed small memory leak.
6075 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6077 More checks for the case where the overshoot is bigger than the
6080 * src/hildon-pannable-area.c:
6081 (hildon_pannable_draw_vscroll),
6082 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6083 to draw the slider of the scrollbar under the other scrollbar.
6084 (hildon_pannable_area_expose_event): added new checks to control
6085 the drawing of the overshooting area rectangle, in case it is too
6086 big for the area of the widget.
6087 (hildon_pannable_area_size_allocate): add more checks to avoid
6088 setting a position to the child widget outside the area.
6090 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6092 * src/hildon-pannable-area.c
6093 (hildon_pannable_area_size_allocate): Added conditions to control
6094 when overshooting is bigger than the allocated space for the
6095 children, this avoids negative allocations.
6097 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6099 * doc/hildon-docs.sgml
6101 * examples/Makefile.am
6102 * examples/hildon-button-example.c
6104 * src/hildon-button.c
6105 * src/hildon-button.h
6106 * src/hildon.h: Initial version of the new HildonButton widget,
6109 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6111 * src/hildon-pannable-area.c:
6112 (hildon_pannable_area_button_press_cb),
6113 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6114 (hildon_pannable_area_motion_notify_cb),
6115 (hildon_pannable_area_button_release_cb),
6116 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6117 (hildon_pannable_area_jump_to_child):
6119 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6121 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6123 * examples/Makefile.am
6124 * examples/hildon-pannable-area-touch-grid-example.c
6125 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6126 the Hildon Touch List and Hildon Touch Grid using the
6127 HildonPannableArea widget.
6129 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6131 * src/hildon-pannable-area.c,
6132 (hildon_pannable_area_button_press_cb),
6133 (hildon_pannable_area_refresh),
6134 (hildon_pannable_area_scroll),
6135 (hildon_pannable_area_motion_notify_cb),
6136 (hildon_pannable_area_button_release_cb),
6137 (hildon_pannable_area_expose_event),
6138 (hildon_pannable_area_add),
6139 (hildon_pannable_area_remove),
6140 (hildon_pannable_area_realize),
6141 (hildon_pannable_area_size_allocate),
6142 (hildon_pannable_area_class_init),
6143 (hildon_pannable_area_init),
6144 (hildon_pannable_area_scroll_to_child),
6145 (hildon_pannable_area_jump_to_child): Fixed the problem of
6146 removing the child from the GtkBin, we have rearranged the widget
6147 hierarchy, now there is no GtkAlignment which was not doing
6148 anything interesting but breaking some of the assumptions of
6149 GtkContainer. Now developers if they want to add a GtkAlignment
6150 they could, but it is not inside the area.
6152 We had to review the whole allocation/expose process, now it is
6153 improved and we save at least three signals which would be saving
6154 some time when rendering the widget. The allocation of the
6155 scrollbars is now made in the allocate method as usual.
6157 We have also added some conditions in order to control when there
6158 is no child of the pannable area. Maybe we will need more work
6161 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6163 * src/hildon-pannable-area.c,
6164 (hildon_pannable_area_dispose): Released the fade-out timeout when
6165 disposing the widget.
6167 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6169 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6170 zero, we are going to use that property in order to deactivate the
6172 (hildon_pannable_axis_scroll),
6173 (hildon_pannable_area_size_allocate): Added conditions to control
6174 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6175 call, now it is called in all situations and we can remove calls
6176 in the allocate method.
6177 (hildon_pannable_area_map): Control the situation when
6178 overshoot_max is zero, we do not need the timeout.
6179 (hildon_pannable_area_class_init): Added documentation in order to
6180 point out that setting zero to overshoot_max means deactivate
6183 NOTE: removed trailing whitespaces from my previous comments of
6186 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6188 * src/hildon-pannable-area.c
6189 (hildon_pannable_area_get_property),
6190 (hildon_pannable_area_set_property),
6191 (hildon_pannable_area_map),
6192 (hildon_pannable_area_class_init),
6193 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6194 to cause the widget give a hint about its panning abilities upon
6197 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6199 * src/hildon-pannable-area.c: Several documentation improvements.
6201 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6203 * src/hildon-program.c
6204 * src/hildon-stackable-window.c: Update documentation.
6206 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6208 * src/hildon-stackable-window.c (get_previous_window_if_last):
6209 Renamed get_last_window()
6210 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6211 (hildon_stackable_window_unset_program):
6213 (get_previous_window_if_last):
6214 Detect if the window hasn't been added to a HildonProgram.
6216 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6218 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6220 * src/hildon-pannable-area.c
6221 (hildon_pannable_area_button_press_cb),
6222 (hildon_pannable_axis_scroll),
6223 (hildon_pannable_area_scroll),
6224 (hildon_pannable_area_timeout),
6225 (hildon_pannable_calculate_vel_factor),
6226 (hildon_pannable_area_get_property),
6227 (hildon_pannable_area_set_property),
6228 (hildon_pannable_area_class_init),
6229 (hildon_pannable_area_init),
6230 (hildon_pannable_area_scroll_to),
6231 (hildon_pannable_area_jump_to),
6232 (hildon_pannable_area_scroll_to_child),
6233 (hildon_pannable_area_jump_to_child):
6234 * src/hildon-pannable-area.h: Added the new API functions:
6235 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6236 hildon_pannable_area_scroll_to_child,
6237 hildon_pannable_area_jump_to_child
6240 * examples/Makefile.am
6241 * examples/hildon-pannable-area-example-2.c
6242 * examples/hildon-pannable-area-example-3.c: Added these two new
6243 examples in order to test and show how the new APIs work.
6245 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6247 * examples/hildon-stackable-window-example.c (new_window):
6248 * src/Makefile.am (noinst_HEADERS):
6249 * src/hildon-program.c (hildon_program_go_to_root_window):
6250 * src/hildon-program.h:
6251 * src/hildon-stackable-window-private.h:
6252 * src/hildon-stackable-window.c:
6253 * src/hildon-stackable-window.h:
6254 Create hildon-stackable-window-private.h
6255 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6257 * examples/hildon-app-menu-example.c (create_menu):
6258 * examples/hildon-hvolumebar-insensitive-example.c (main):
6259 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6260 * examples/hildon-toolbar-seekbar-example.c (main):
6261 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6262 * src/hildon-banner.c (hildon_banner_set_property):
6263 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6264 Fix compilation warnings
6266 * src/hildon-window.c:
6269 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6271 * src/hildon-stackable-window.c
6272 (hildon_stackable_window_unset_program):
6273 Calculate correctly whether to show the previous window if the
6274 last one is removed from the stack.
6275 (hildon_stackable_window_go_to_root_window):
6276 Send delete events starting from the topmost window.
6277 Stop if one of the windows is not destroyed.
6279 (hildon_stackable_window_delete_event)
6280 (hildon_stackable_window_class_init):
6281 Ignore the delete event if the window is not the topmost one.
6283 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6285 * src/hildon-pannable-area.c
6286 (hildon_pannable_area_expose_event): Fixed a problem when
6287 selecting the background color of the scrollbars.
6289 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6291 * examples/hildon-stackable-window-example.c
6292 * src/hildon-stackable-window.c
6293 * src/hildon-stackable-window.h
6294 hildon_stackable_window_go_home() renamed to
6295 hildon_stackable_window_go_to_root_window()
6296 Send delete events to windows rather than closing them with
6297 gtk_widget_destroy()
6299 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6301 * src/hildon-pannable-area.c
6302 (hildon_pannable_area_button_release_cb): Fix overshooting in
6305 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6307 * src/hildon-pannable-area.c
6308 (hildon_pannable_area_init): Initially show the scroll indicators.
6309 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6311 Add initial effect showing the widget is pannable.
6313 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6315 * src/hildon-pannable-area.c
6316 (hildon_pannable_area_class_init)
6317 (hildon_pannable_area_set_property)
6318 (hildon_pannable_area_get_property)
6319 (hildon_pannable_area_button_press_cb):
6320 New 'velocity_fast_factor' property to decide which velocity is
6323 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6325 * src/hildon-pannable-area.c
6326 (hildon_pannable_draw_hscroll)
6327 (hildon_pannable_draw_vscroll):
6328 Use float variables to calculate the size of the scrollbars to
6329 avoid error propagation and resizing during scrolling.
6331 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6333 * src/hildon-pannable-area.c
6334 (hildon_pannable_draw_vscroll)
6335 (hildon_pannable_draw_hscroll):
6336 Define a minimum size for the scroll bars
6338 * src/hildon-stackable-window.c
6339 (hildon_stackable_window_go_home): Fix compilation warning
6340 (get_last_window): Minor optimizations
6341 (hildon_stackable_window_class_init): Fix initialization of
6344 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6346 * src/hildon-stackable-window.c: Fixed typos in doc
6348 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6350 * src/hildon-pannable-area.c
6351 (hildon_pannable_area_scroll):
6352 Calculate here whether we need to scroll instead of using the booleans
6353 that tell us whether to /draw/ the scrolling bars.
6355 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6357 * src/hildon-app-menu.h
6359 * src/hildon-app-menu.c
6360 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6361 multiple filter groups related code and API. Now we support only
6363 * examples/hildon-app-menu-example.c:
6365 Update to reflect API changes.
6367 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6369 * src/hildon-stackable-window.c
6370 (hildon_stackable_window_class_init):
6371 Add hildon_stackable_window_realize.
6372 (hildon_stackable_window_realize):
6373 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6374 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6375 to apply theming and behavior specific to HildonStackableWindow
6378 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6380 * src/hildon-note.c (hildon_note_button_release):
6381 Close information notes also when tapping on them
6383 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6385 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6386 ELASTICITY, refactor and review, fix some issues with drawing
6389 * src/hildon-pannable-area.c:
6390 (hildon_pannable_area_button_press_cb): removed the conditions to
6391 avoid clicks when overshooting. It is not required
6393 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6394 define. Refatored and reviewed the code, now we do not need to
6395 manage velocity in motion_notify.
6397 (hildon_pannable_area_motion_notify_cb): We have moved the code
6398 that controls the area_scroll to the axis_scroll function and get
6399 rid of duplicated code.
6401 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6403 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6405 (hildon_pannable_draw_vscroll),
6406 (hildon_pannable_draw_hscroll): Fixed the problems with the
6407 scrollbar drawing, now we do not use two surfaces, it is easier
6408 and saves resources.
6410 (hildon_pannable_area_get_property): Style modification.
6412 (hildon_pannable_area_class_init): Changed some default values.
6414 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6416 * src/hildon-stackable-window.c: Fix some typos in the
6419 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6421 * src/hildon-dialog.c:
6422 Change indentation style
6425 (hildon_note_button_release):
6426 Use root coordinates to check if the release event happened
6429 * src/hildon-app-menu.c
6430 (hildon_app_menu_button_release):
6431 Remove unnecessary check
6433 * examples/hildon-app-menu-example.c
6435 Add cast to fix warning
6437 * src/hildon-app-menu.c
6438 (hildon_app_menu_class_init):
6439 New inner-border style property.
6440 Set all default spacings to 16
6441 (hildon_app_menu_init):
6442 Use vertical-spacing to set the space between filter buttons and
6443 regular menu buttons.
6444 Set the default container border using the inner-border value.
6446 * examples/hildon-app-menu-example.c
6448 Don't set the menu border explicitly, now we have the inner-border
6449 style property for that.
6451 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6453 * src/hildon-app-menu.c (hildon_app_menu_init):
6454 Make the window modal
6456 * src/hildon-note.c (hildon_note_map)
6457 * src/hildon-app-menu.c (hildon_app_menu_map):
6458 Destroy the grab window if we're unable to grab the pointer
6460 * src/hildon-app-menu-private.h
6461 * src/hildon-app-menu.c
6462 (hildon_app_menu_init, hildon_app_menu_finalize)
6463 (hildon_app_menu_map, hildon_app_menu_unmap)
6464 (hildon_app_menu_button_release)
6465 (grab_transfer_window_get):
6466 Bring back the grab window
6467 (hildon_app_menu_realize):
6468 Decorate the window, set WM hint for Matchbox
6470 * src/hildon-note.c (hildon_note_realize):
6471 * src/hildon-banner.c (hildon_banner_realize):
6472 Add WM hints for Matchbox
6474 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6476 * src/hildon-app-menu-private.h
6477 * src/hildon-app-menu.c
6478 (hildon_app_menu_init, hildon_app_menu_finalize)
6479 (hildon_app_menu_map, hildon_app_menu_unmap)
6480 (hildon_app_menu_button_release):
6481 Remove the grab window, it's not needed anymore
6483 * src/hildon-program.c
6484 Fixed typo in documentation
6486 * src/hildon-app-menu.h
6487 * src/hildon-app-menu.c
6488 * examples/hildon-app-menu-example.c
6489 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6491 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6494 Added new transfer_window and close_if_pressed_outside private
6496 (hildon_note_rebuild):
6497 Don't add a cancel button to the information note. It will be
6498 closed when tapping outside
6499 Remove the comment about the OK button in the documentation
6500 (hildon_note_realize):
6501 Set the notification type hint
6502 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6503 Grab/ungrab pointer and keyboard if the note has to be closed when
6505 (hildon_note_button_release):
6506 Close the note when tapping outside (if applicable)
6508 * src/hildon-app-menu.c
6509 Grab/ungrab pointer and keyboard on map/unmap
6510 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6511 Close the menu on button release, not button press
6513 * src/hildon-banner.c
6514 (hildon_banner_set_property)
6515 (hildon_banner_check_position):
6516 Make the banner use the full width of the screen
6517 (hildon_banner_show_information)
6518 (hildon_banner_show_information_with_markup):
6519 Don't display an icon by default
6521 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6523 Added fading scrollbars and adapted all the overshooting code to
6524 horizontal scrolling. We have also fixed bugs with overshooting
6525 and current fading implementation.
6527 * src/hildon-pannable-area.c
6528 (hildon_pannable_area_scroll_indicator_fade): Time out function
6529 used to change the transparency of the scrollbars.
6531 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6532 control and fixed a problem with fading, we now remove the fade
6533 timeout before adding a new one.
6535 (hildon_pannable_axis_scroll):
6536 (hildon_pannable_area_scroll):
6537 (hildon_pannable_area_timeout): Added this functions so we can use
6538 the scroll code both for vertical and horizontal.
6540 (hildon_pannable_area_motion_notify_cb):
6541 (hildon_pannable_area_button_release_cb): Added the horizontal
6542 scrolling control, fixed a problem with the overshooting timeout.
6544 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6545 painting of the scrolls.
6547 (hildon_pannable_draw_vscroll):
6548 (hildon_pannable_draw_hscroll):
6549 (hildon_pannable_area_expose_event):
6550 Draw both scrollbars and rectangles in the overshooting area.
6552 (hildon_pannable_area_get_property):
6553 (hildon_pannable_area_set_property):
6554 Modified the overshoot property to overshoot_max
6556 (hildon_pannable_area_map):
6557 Replaced the comments symbols.
6559 (hildon_pannable_area_size_allocate):
6560 (hildon_pannable_area_class_init):
6561 (hildon_pannable_area_init): Added horizontal scroll, fading
6562 effect properties, fixed a problem when overshooting in the bottom
6565 * examples/hildon-pannable-area-example.c:
6566 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6567 looks better in the example.
6569 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6571 * src/hildon-window.c
6572 * src/hildon-window.h
6573 (hildon_window_class_init)
6574 (hildon_window_unset_program)
6575 (hildon_window_unset_program_real):
6576 Make unset_program a virtual function
6578 * src/hildon-stackable-window.c
6579 * src/hildon-stackable-window.h
6580 Added hildon_stackable_window_go_home()
6582 * examples/Makefile.am
6583 * examples/hildon-stackable-window-example.c
6584 HildonStackableWindow example
6586 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6588 * hildon-pannable-area.c: Added the overshoot property and removed
6589 the OVERSHOOT define. Fixed an indent style error.
6590 (hildon_pannable_area_motion_notify_cb):
6591 (hildon_pannable_area_get_property):
6592 (hildon_pannable_area_set_property): Add overshoot property.
6594 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6597 (hildon_pannable_area_class_init): Installed the new property.
6599 * hildon-pannable-area-example.c: Added a sawtooth function, this
6600 way it is easier to check the movement in the pannable.
6601 (get_sawtooth_label): Added this function.
6602 (main): Now we get the labels from the new get_sawtooth_label
6605 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6607 * src/hildon-app-menu.h
6608 * src/hildon-app-menu.c
6609 Renamed API variables for consistency
6611 (hildon_app_menu_popup): Use also the default window size to
6612 decide where to place the menu
6614 (hildon_app_menu_init, hildon_app_menu_class_init): New
6615 external-border style property
6617 2008-05-26 Michael Natterer <mitch@imendio.com>
6619 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6620 widget_class->tap_and_hold_setup signal slot doesn't exist any
6621 longer, stop overriding it.
6623 (hildon_time_editor_init): g_signal_connect() to the
6624 tap-and-hold-setup signal instead.
6626 (hildon_time_editor_entry_keypress): add cast to fix warning.
6628 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6630 * doc/hildon-docs.sgml
6632 * examples/Makefile.am
6633 * examples/hildon-app-menu-example.c
6635 * src/hildon-app-menu-private.h
6636 * src/hildon-app-menu.c
6637 * src/hildon-app-menu.h
6639 New HildonAppMenu widget
6641 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6643 Rearranged the inheritance of the pannable area, now it inherits
6644 from GtkBin. This will allow us to control the event_window and
6645 the allocation process of the widget, required for some effects.
6647 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6648 GtkBin structures. * src/hildon-pannable-area.c: Added the
6649 event_window variable.
6650 (hildon_pannable_area_button_press_cb):
6651 (hildon_pannable_area_button_release_cb):
6652 (hildon_pannable_area_motion_notify_cb):
6653 Changed the signature of the method, now we override the event
6654 callback instead of connecting to the signal.
6656 (hildon_pannable_area_realize):
6657 (hildon_pannable_area_unrealize):
6658 (hildon_pannable_area_map):
6659 (hildon_pannable_area_unmap):
6660 (hildon_pannable_area_size_allocate):
6661 Added functions to control the widget construction. We add a
6662 INPUT_ONLY window and we put it over the widgets inside the
6663 container, this event_window handles the events.
6665 (hildon_pannable_area_class_init):
6666 Replaced the signal connections with overrides of the event
6669 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6671 Bouncing effect added when touching the borders, you can change
6672 the elasticity of the border changing the ELASTICITY define.
6674 * src/hildon-pannable-area.c: Added ELASTICITY define.
6675 (hildon_pannable_area_timeout): Added inverse velocity when
6676 touching the border of the child widget, that causes a bounce.
6678 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6680 Improved performance, we now do not go to the X server in order to
6681 get the list of window children. Apparently the effect is the
6682 same, we have to be careful and check if this breaks something in
6685 * src/hildon-pannable-area.c:
6686 (get_ordered_children): Removed this function.
6687 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6688 the children windows function with gdk_window_get_children.
6690 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6692 * src/hildon-pannable-area.c:
6693 (hildon_pannable_area_dispose): Fixed a crash when closing the
6694 window and kinetics is activated.
6696 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6698 * src/hildon-pannable-area.h
6699 * src/hildon-pannable-area.c
6700 Changed indentation style to meet the one used in Hildon
6702 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6704 Reviewed the interaction of the AUTO mode, now we use the time
6705 attribute of the events and calculate the velocity in the motion,
6706 doing a gimp like calculation. The velocity is calculated in each
6707 motion event using the last velocity and the current one, the
6708 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6710 * src/hildon-pannable-area.c: Replaced the time based algorithm
6712 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6713 timeout for the AUTO mode when we are still moving the cursor. We
6714 added also the velocity calculation in this function.
6715 (hildon_pannable_area_button_release_cb): launch the timeout in
6716 case we are in AUTO mode. There are still some constants here that
6717 come from the old implementation that should be reviewed and
6720 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6722 * doc/hildon-docs.sgml
6725 * src/hildon-stackable-window.c
6726 * src/hildon-stackable-window.h
6728 New HildonStackableWindow widget
6730 * examples/hildon-dialog-example.c
6731 * examples/hildon-pannable-area-example.c
6734 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6736 * src/hildon-dialog.c
6737 (hildon_dialog_new_with_buttons): New constructor.
6739 * examples/hildon-dialog-example.c
6740 (main): Update the example to use the new
6741 hildon_dialog_new_with_buttons().
6743 * examples/hildon-pannable-area-example.c
6744 (main): Update example.
6746 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6748 * doc/hildon-docs.sgml
6750 Added HildonPannableArea to the documentation.
6752 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6754 * doc/visual_index.xml
6755 Fix reference to HildonLoginDialog in documentation
6757 * doc/hildon-docs.sgml
6759 * examples/Makefile.am
6760 * examples/hildon-dialog-example.c
6762 * src/hildon-dialog.c
6763 * src/hildon-dialog.h
6765 New HildonDialog widget.
6767 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6769 * src/hildon-pannable-area.c
6770 Merge latest changes (r4318, r4342) from libmokoui trunk
6772 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6774 * examples/Makefile.am
6775 * examples/hildon-pannable-area-example.c
6777 * src/hildon-pannable-area.c
6778 * src/hildon-pannable-area.h
6780 New HildonPannableArea widget.
6782 2008-04-15 18:05:19 <timj@imendio.com>
6784 * src/hildon-banner.c: revert the recent change, that introduced
6785 gtk_window_present() calls. this reopens:
6786 Bug 78481 - [freetest] information banners are hidden under browser menu
6787 But resolves another variant of:
6788 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6790 2008-04-15 13:21:13 <timj@imendio.com>
6792 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6793 recreated its layout, spotted by Kris. this fixes all remaining
6794 artefacts and stability issues with the banner code. in particular:
6795 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6797 2008-04-14 16:52:59 <timj@imendio.com>
6799 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6800 operating on unrealized widgets, fixes:
6801 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6803 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6805 2008-04-09 Kristian Rietveld <kris@imendio.com>
6807 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6808 makes banner disappear.
6809 Fixes: NB#79182: info banner flickering with certain message lengts.
6811 * src/hildon-banner.c (hildon_banner_constructor),
6812 (hildon_banner_init), (hildon_banner_set_text),
6813 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6814 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6815 FALSE, reset size requests of label and banner,
6816 (force_to_wrap_truncated): when the text is too wide, always enforce
6817 the maximum possible width instead of recalculating it from the
6818 layout; enforce the maximum banner height of 3 lines,
6819 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6820 nicer wrapping and no truncated chars if space gets tight.
6822 * src/hildon-banner-private.h: add has_been_wrapped and
6823 has_been_truncated fields.
6825 2008-04-07 Sven Herzberg <sven@imendio.com>
6827 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6828 local values in hildon_date_editor_size_allocate
6830 * src/hildon-date-editor.c: moved the real allocation code into the
6833 2008-04-07 Sven Herzberg <sven@imendio.com>
6835 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6836 local values in hildon_date_editor_size_allocate
6838 * src/hildon-date-editor.c: merged the two if() branches together
6840 2008-04-07 Sven Herzberg <sven@imendio.com>
6842 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6843 local values in hildon_date_editor_size_allocate
6845 * src/hildon-date-editor.c: changed the arguments of the if()
6848 2008-04-07 Sven Herzberg <sven@imendio.com>
6850 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6851 local values in hildon_date_editor_size_allocate
6853 * src/hildon-date-editor.c: split the calculation of the allocation
6854 from the real allocation
6856 2008-03-27 Michael Natterer <mitch@imendio.com>
6858 Fixes: NB#81696: The passcode is not overwritten even after
6861 * src/hildon-code-dialog.c
6862 (hildon_code_dialog_button_clicked)
6863 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6864 because that doesn't overwrite selected text. Instead, emit the
6865 "commit" signal on the entry's im_context so the entry's normal
6866 insert logic is triggered. Set the cursor to the end of the entry
6867 after each insert operation so that we *only* insert in the middle
6868 of the text if something was selected.
6870 2008-03-27 Michael Natterer <mitch@imendio.com>
6872 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6873 selector cannot be opened
6875 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6876 when the popup color selector is created. Please connect to this
6877 signal in order to set the dialog's help ID.
6879 2008-03-25 Sven Herzberg <sven@imendio.com>
6881 Fixes: MB#1212: Hide info banners (infoprints) on click
6883 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6884 extracted the close event simulation into an extra function
6885 (hildon_banner_button_press_event): simulate a close event and destroy
6886 the widget if the event wasn't handled
6887 (hildon_banner_class_init): added the button_press_event handler
6888 (hildon_banner_init): added button-press events to the widget
6890 2008-03-25 Sven Herzberg <sven@imendio.com>
6892 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6893 Patch from: Mohammad Anwari <mdamt@maemo.org>
6895 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6896 instead of the right in RTL mode
6897 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6898 breadcrumb button list in RTL mode
6899 * src/hildon-caption.c: mirror the appearance of the caption widget in
6901 * src/hildon-date-editor.c: mirror appearance of the date editor in
6903 * src/hildon-time-editor.c: mirror appearance of the time editor in
6905 * src/hildon-window.c: fix the position of the popup in RTL mode
6907 2008-03-25 Sven Herzberg <sven@imendio.com>
6909 Amendment to the fix of NB#22072. Fix compilation.
6911 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6913 2008-03-19 Sven Herzberg <sven@imendio.com>
6915 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6918 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6919 timeout id properly when the timeout will disappear this leaves no
6920 artifacts around in the destroy(); there will only be the timeout
6921 created by hildon_banner_ensure_timeout() and adding a new timeout
6922 will also work if the timeout gets removed because the timeout_handler
6925 2008-03-19 Michael Natterer <mitch@imendio.com>
6927 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6929 * src/hildon-volumebar.c
6930 * src/hildon-vvolumebar.c
6931 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6932 the widget becomes focussable at all.
6934 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6935 set the focus to wither the mute button or the volumebar.
6937 Remove own "can-focus" property and instead listen to
6938 notify::can-focus in order to update the widget's state.
6940 Implement GtkWidget::focus() and make sure we can also *leave* the
6941 widget, not only enter it, depending on volumebar orientation and
6942 requested focus direction.
6944 Clean up set_mute() to cooperate nicely with all the above.
6946 2008-03-04 Michael Natterer <mitch@imendio.com>
6948 Fixes: NB#78481: information banners are hidden under browser menu
6950 * src/hildon-banner.c: call gtk_window_present() on the banners so
6951 they are risen if they are already visible.
6953 2008-03-03 Sven Herzberg <sven@imendio.com>
6955 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6957 * examples/hildon-window-menu-example.c: (main): extended the window
6958 menu example to serve as a testcase for automatically added
6959 accelerator groups, too
6960 * src/hildon-window.c: (hildon_window_add_accel_group),
6961 (hildon_window_set_menu): added patch by Tommi Komulainen
6963 2008-03-03 Sven Herzberg <sven@imendio.com>
6965 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6967 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6968 knowledge about the border allocators used within GTK+
6970 2008-02-26 Sven Herzberg <sven@imendio.com>
6972 Fixes: MB#2981: Build with asserts broken
6974 * src/hildon-date-editor.c,
6975 * src/hildon-number-editor.c,
6976 * src/hildon-time-editor.c,
6977 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6978 the proper GType instance check
6980 2008-02-25 Sven Herzberg <sven@imendio.com>
6982 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6984 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6985 * examples/hildon-window-menu-example.c: (main): explicitly show
6987 * src/hildon-window.c:
6988 (hildon_window_set_main_menu): moved most of the code from set_menu()
6989 to this place; skipped the call to gtk_widget_show_all(); also didn't
6990 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6991 (hildon_window_set_menu): removed most of the code, just keep the
6992 questionable gtk_widget_show_all()
6993 * src/hildon-window.h: added the new function and deprecate the old
6996 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7002 * debian/changelog: Updating.
7004 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7007 * pkgconfig/Makefile.am:
7008 * pkgconfig/hildon.pc.in:
7011 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7012 use newly created API_MAJOR_VERSION.
7014 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7020 * debian/changelog: Updating.
7022 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7024 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7026 Add outer_border style property, we use it but don't define it (!).
7030 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7032 * examples/hildon-bread-crumb-trail-example.c (main):
7036 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7038 Fix logic for the bread crumb trail node removal.
7042 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7048 * debian/changelog: Updating.
7050 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7052 Patch by Alejandro to get/set passwords dialogs accesibility.
7054 * hildon-1/src/hildon-get-password-dialog.c:
7055 * hildon-1/src/hildon-set-password-dialog.c:
7056 Set atk_set_name to the passwd entries in order to allow
7057 accessibility by name on this entries.
7059 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7064 * debian/control: Updating gtk dep.
7066 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7068 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7069 USE_MAEMO_GTK is enabled.
7071 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7073 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7074 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7076 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7082 * debian/changelog: Updating.
7084 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7086 * examples/Makefile.am:
7087 * examples/hildon-logical-color-example.c:
7088 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7089 applied + adding a test case. Fixes: NB#71660.
7091 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7093 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7094 to be visible, fixes warning on map for windows without toolbars.
7096 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7098 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7099 2.11.0, add a check for that besides the MAEMO_GTK check.
7101 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7107 * debian/changelog: Updating.
7109 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7111 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7112 visibility. Fixes: NB#70842 and MB#615.
7114 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7116 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7117 set the separator as no-show-all so it doesn't unintentionally appear when
7118 someone does a show_all.
7120 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7122 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7123 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7124 toplevel item. Fixes: NB#62031
7126 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7128 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7129 fix the name of the function in the docs.
7131 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7137 * debian/changelog: Updating.
7139 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7141 * examples/hildon-banner-long-example.c: Adding a test-case for long
7144 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7146 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7148 * src/hildon-color-chooser-dialog.c:
7149 * src/hildon-color-chooser.c:
7150 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7151 memory leaks in font selector and color selector. Fixes: NB#70499 and
7154 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7156 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7158 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7160 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7161 little bit bigger. Fixes: #NB63694.
7163 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7169 * debian/changelog: Updating.
7171 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7174 * doc/hildon-docs.sgml:
7175 * doc/images/bread-crumb-trail.png:
7176 * doc/images/calendar-popup.png:
7177 * doc/images/caption.png:
7178 * doc/images/code-dialog.png:
7179 * doc/images/color-button.png:
7180 * doc/images/color-chooser-dialog.png:
7181 * doc/images/color-chooser.png:
7182 * doc/images/controlbar.png:
7183 * doc/images/date-editor.png:
7184 * doc/images/font-selection-dialog.png:
7185 * doc/images/get-password-dialog.png:
7186 * doc/images/hvolumebar.png:
7187 * doc/images/login-dialog.png:
7188 * doc/images/note.png:
7189 * doc/images/number-editor.png:
7190 * doc/images/range-editor.png:
7191 * doc/images/seekbar.png:
7192 * doc/images/set-password-dialog.png:
7193 * doc/images/sort-dialog.png:
7194 * doc/images/time-editor.png:
7195 * doc/images/time-picker.png:
7196 * doc/images/vvolumebar.png:
7197 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7198 Adding the bread-crumb-trial and helpers to the documentation.
7200 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7202 * examples/hildon-find-toolbar-example.c:
7203 * src/hildon-find-toolbar.c:
7204 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7205 actually continue firing the other handlers if connected. Adding a new
7207 hildon_find_toolbar_get_last_index that gets the index of the most
7208 recently added (last) item. Fixes: NB#52301.
7210 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7212 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7213 behaviour. Fixes: NB#68610.
7215 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7217 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7220 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7222 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7223 when realizing the banner. Should make the infonbanner effect a bit more
7226 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7228 * src/hildon-volumebar.c:
7229 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7230 hildon_volumebar_set_range_insensitive_message and
7231 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7233 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7235 * src/hildon-window.c: Fixing the border freeing on destroy.
7237 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7239 * src/hildon-code-dialog-private.h:
7240 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7241 kw keyboard support in HildonCodeDialog.
7243 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7249 * debian/changelog: Updating.
7251 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7253 * src/hildon-date-editor.c:
7254 * src/hildon-number-editor.c:
7255 * src/hildon-private.c:
7256 * src/hildon-private.h:
7257 * src/hildon-time-editor.c:
7258 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7259 handling in subclassed composite widgets. Fixes: NB#66628.
7261 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7263 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7264 from destroy_ callback as it introduces problems in async dbus signal
7265 handlers. Fixes NB#66673.
7267 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7269 * examples/hildon-hvolumebar-example.c:
7270 * src/hildon-volumebar.c: Improving the focus handling in the
7271 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7272 set_property accessor so that "mute" property can be actually set. I'm
7273 scared that nobody noticed it's totally broken.
7275 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7277 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7280 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7282 * src/hildon-calendar.c:
7283 * src/hildon-number-editor.c:
7284 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7285 matches the spec of 6 chars per second. Fixes: NB#60489.
7287 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7289 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7290 gtk_style_lookup_color sometime returns FALSE even though color was
7291 found and values were filled properly. Weird. Removing the warning for the
7294 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7296 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7297 expand vertically. Adding some extra space to the find toolbar buttons to
7298 make them thumbable. Fixes NB#66060.
7300 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7302 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7303 popup with "Ok" and "Cancel". Fixes NB#59299.
7305 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7307 * src/hildon-calendar.c: Process all window updates before executing next
7308 timeout. Fixes: NB#54146.
7310 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7316 * debian/changelog: Updating.
7318 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7320 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7321 the client event and ignore it, since we use the delete event to close
7324 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7326 * src/hildon-helper.c: Remove the bogus warning about color not being
7327 found. Fixes NB#58352.
7329 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7331 * examples/Makefile.am:
7332 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7333 HildonSeekbar widget inside a toolbar.
7335 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7337 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7338 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7339 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7340 don't want to be closed by non-temporary windows on map.
7342 Also use G_DEFINE_TYPE instead of manually typed code.
7344 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7351 * debian/rules: Updating.
7353 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7355 * examples/Makefile.am:
7356 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7357 bug NB#61128. Strangely it works.
7359 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7361 * src/hildon-date-editor.c: When the date editor entry has been changed
7362 but the numbers of characters < max, turn off the skip validation flag.
7363 Prevents a situation when we enter first a valid year and later re-write
7364 it with an invalid one. Fixes NB#60154.
7366 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7368 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7369 code dialog. Fixes NB#64355.
7371 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7373 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7374 switching the page. Fixes NB#49374.
7376 * examples/Makefile.am:
7377 * examples/hildon-wizard-dialog-example.c: Adding an example for
7378 HildonWizardDialog that shows how to handle manual sensitivity setting on
7381 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7385 * src/hildon-version.h.in:
7386 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7388 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7390 * src/hildon-volumebar.c: Updating the docs.
7392 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7398 * debian/changelog: Updating.
7400 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7402 * src/hildon-find-toolbar.c:
7403 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7404 selected item: hildon_find_toolbar_set_active,
7405 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7406 hildon_find_toolbar_get_active_iter . They correspond to respective
7407 GtkComboBox functions.
7409 * examples/Makefile.am:
7410 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7413 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7415 * examples/Makefile.am:
7416 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7419 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7420 when font size > 32 and we pack a focusable widget inside. Actually using
7421 the default response would work too, but since we don't show default
7422 response state in any way (no theming) it would not be visible to the
7423 user. Fixes NB#63430.
7425 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7427 * src/hildon-date-editor.c: Adding the missing variable setter in the
7428 set_property handler. Fixes NB#54182.
7430 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7432 * src/hildon-window.h: Changing the long key press time from 1500ms to
7433 800ms as requested in NB#63700. I have a bad feeling about this, let's
7434 see... Fixes NB#63700.
7436 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7438 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7439 hildon_time_picker_map, hildon_time_picker_realize,
7440 hildon_time_picker_style_set): Split the contents of map to more
7441 appropriate functions; set window decorations on realize and update
7442 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7444 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7449 * debian/changelog: Updating.
7451 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7453 * src/Makefile.am: fixed installation of the header files
7455 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7461 * debian/changelog: Updating.
7463 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7465 * configure.ac: Removing some remaining of --enable-xan.
7467 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7469 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7470 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7472 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7473 2.10.12-osso6 because the move-focus signal needs to be available in
7476 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7478 * examples/Makefile.am:
7479 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7480 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7481 fine. Prolly NB#61128 is fixed now.
7483 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7485 * src/hildon-volumebar.c:
7486 * src/hildon-volumebar.h: Adding the
7487 hildon_volumebar_set_range_insensitive_message and
7488 hildon_volumebar_set_range_insensitive_messagef functions to set
7489 insensitive message on the slider of the volumebar. Fixes NB#61129.
7491 * examples/Makefile.am:
7492 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7493 test the new insensitive messsage functionality on HildonVolumebar.
7495 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7497 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7500 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7502 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7503 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7504 button on after clearing the trail.
7506 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7508 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7510 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7512 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7513 by splitting the installed headers in generated and non-generated groups. Use
7514 only the non-generated headers to create the hildon-enum-types.h file.
7516 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7518 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7520 * src/hildon-window.c: Hide the window before performing the destroy.
7521 Should make the app closing a little tiny bit more snappy.
7523 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7525 * src/hildon-seekbar.c: add gtkrange.h header
7526 * src/hildon-caption.c: remove unused variable
7528 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7530 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7533 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7539 * debian/changelog: Updating.
7541 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7543 * src/hildon-window.c (hildon_window_window_state_event,
7544 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7545 escape timeout on focus-out-event rather than notify::is-topmost; the
7546 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7548 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7550 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7551 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7553 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7555 * src/hildon-window: actually, you need to use the macro always, there's
7556 no private pointer in the instance structure. We should have cleaned this up
7557 when we had the chance...
7559 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7561 * src/hildon-window.c: do not get the private date from HildonWindow before
7562 it passes the g_return_if_fail check. Once it's passed the test, there's no
7563 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7564 if you are only going to access the data once. Whitespace cleanups.
7566 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7568 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7569 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7571 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7577 * debian/changelog: Updating.
7579 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7581 * src/hildon-window.c: When destroying the window, remove (if exists) the
7582 escape timeout handler. Fixes #NB59276.
7584 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7586 * src/hildon-banner.c: When realizing the widget, set the window
7587 transiency. Setting the transiency in the gobject constructor is not
7588 good, as the widget is not realized at that point. Fixes: #NB56624.
7590 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7592 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7593 Add padding for future expansions.
7595 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7597 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7598 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7599 will fake an activation on the previous to the last item of the trail, so
7600 the effect can be overrided by the developer as usual.
7601 Also change the callback for the back button to do the same thing, so its
7602 effect can be overrided too. Fixes: NB#58982
7604 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7606 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7607 HildonCaption. Fixes NB#52379.
7609 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7611 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7612 the internal state of the trail after the user has had the chance of executing
7613 his handler for the signal. Specifically, it may happen that the activated button
7614 is removed and the user still lets the default handler run. This would segfault
7617 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7619 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7620 scrollbar to the preview dialog. Fixes NB#54147.
7622 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7624 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7625 max/min year properties can be altered, so the client can modify it
7626 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7628 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7630 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7631 hildonlike by default. Fixing a problem with disappearing arrows when
7632 scrolling through months and years. Fixes NB#54127.
7634 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7636 * examples/hildon-date-editor-example.c: Adding error callback to the date
7639 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7645 * configure.ac: Updating.
7647 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7649 * configure.ac: Adding a special '--enable-xan' configure option that
7650 turns off the -Werror compilation setting. Usefull for development.
7652 * src/hildon-calendar.c:
7653 * src/hildon-number-editor.c:
7654 * src/hildon-time-picker.c: Adding the 5* multiplier to
7657 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7659 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7660 instead of g_object_ref + gtk_object_sink.
7662 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7668 * debian/changelog: Updating.
7670 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7672 * src/hildon-color-chooser-dialog.c:
7673 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7674 straight from Tommi labs.
7676 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7678 * examples/hildon-finger-example.c: Correcting the header file path.
7680 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7681 the changed signal. Fixes a small memory leak.
7683 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7687 * src/hildon-banner.c: Importing several usefull fixes from the
7688 ubuntu-mobile branch.
7690 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7692 * examples/Makefile.am:
7693 * examples/hildon-finger-example.c: Adding a finger-checking code
7696 * src/hildon-font-selection-dialog.c: Do not allocate the color
7697 structure using the g_new. Fixes NB#54061.
7699 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7701 * src/hildon-helper.c: Correcting tabs in file.
7703 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7705 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7706 control the visibility of the children.
7708 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7710 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7716 * debian/changelog: Updating.
7718 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7720 * src/hildon-bread-crumb-trail.c:
7721 (hildon_bread_crumb_trail_size_allocate):
7723 Make the back button always a square.
7725 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7727 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7728 from the .c file as it's a private file.
7730 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7732 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7733 uses slightly bigger height.
7735 * src/hildon-font-selection-dialog.c: Adding some checks before
7736 freeing memory in the font selection dialog.
7738 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7740 * src/hildon-font-selection-dialog.c: Adding a small check when
7743 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7744 buttons sensitivity on page switching.
7746 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7748 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7749 internal details of adding a bread crumb to the trail.
7751 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7757 * debian/changelog: Updating.
7759 * src/hildon-bread-crumb-trail.h:
7760 * src/hildon-bread-crumb.h: Changing the API guard to
7761 HILDON_ENABLE_UNSTABLE_API.
7763 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7771 * src/hildon-helper.h: Updating.
7773 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7781 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7785 * src/hildon-helper.h: Small fix to make the package actually compile.
7787 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7789 * src/hildon-bread-crumb-trail.h:
7790 * src/hildon-bread-crumb.h:
7792 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7793 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7795 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7797 * examples/hildon-bread-crumb-trail-example.c:
7799 * src/hildon-bread-crumb-trail.c:
7800 * src/hildon-bread-crumb-trail.h:
7801 * src/hildon-bread-crumb.c:
7802 * src/hildon-bread-crumb.h:
7803 * src/hildon-marshalers.list:
7804 * src/hildon-bread-crumb-widget.c:
7805 * src/hildon-bread-crumb-widget.h:
7807 Slight change in the widget design. The bread crumb trail API is
7808 unchanged, but HildonBreadCrumb is now an interface. A *private*
7809 implementation, hildon-bread-crumb-widget, is provided and used
7810 internally by the trail for the push_text/push_icon functions.
7812 The generic push API is still available, so anyone can implement
7813 and use its own bread crumb widget.
7815 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7817 * debian/rules: Fixing the shlibs.
7819 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7821 * src/hildon-banner.c: Fixing a problem with timed banners having
7822 their parrent destroyed before they are.
7824 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7826 * src/hildon-bread-crumb.c:
7827 * src/hildon-bread-crumb.h:
7829 Make the get_natural_size function a vfunc.
7831 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7833 * src/hildon-bread-crumb.c:
7834 * src/hildon-bread-crumb-trail.c:
7838 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7845 * debian/changelog: Updating for release.
7847 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7849 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7850 don't leak the pango layout.
7852 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7855 * examples/hildon-bread-crumb-trail-example.c:
7859 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7861 * debian/changelog: Removing the bug-fixed entries that were actually
7862 resolved as WONTFIX.
7864 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7867 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7869 * src/hildon-bread-crumb-trail.c:
7870 * src/hildon-bread-crumb-trail.h:
7871 * src/hildon-bread-crumb.c:
7872 * src/hildon-bread-crumb.h:
7876 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7878 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7879 until it's passed the type check.
7881 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7883 * examples/hildon-bread-crumb-trail-example.c
7887 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7889 * examples/Makefile.am
7890 * examples/hildon-bread-crumb-trail-example.c
7892 * src/hildon-bread-crumb-trail.c
7893 * src/hildon-bread-crumb-trail.h
7894 * src/hildon-bread-crumb.c
7895 * src/hildon-bread-crumb.h
7897 New HildonBreadCrumbTrail widget.
7899 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7901 * src/hildon-range-editor.c (hildon_range_editor_init),
7902 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7903 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7904 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7905 hildon_time_editor_class_init, hildon_time_editor_init),
7906 src/hildon-get-password-dialog.c (invalid_input,
7907 hildon_get_password_set_property, hildon_get_password_get_property,
7908 create_contents, hildon_get_password_dialog_set_max_characters),
7909 src/hildon-set-password-dialog.c (create_contents),
7910 src/hildon-date-editor.c (hildon_date_editor_init),
7911 src/hildon-login-dialog.c (hildon_login_dialog_init),
7912 src/hildon-number-editor.c (hildon_number_editor_init),
7913 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7914 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7915 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7916 configure option and adding the respective checks in the code.
7917 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7918 hildon_calendar_drag_data_received): fixed some build warnings.
7920 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7922 * debian/changelog: A 1.0.0 release notes.