1 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
3 * doc/Makefile.am: Do not redefine content_files.
5 2009-04-30 Alberto Garcia <agarcia@igalia.com>
13 Renamed src/ to hildon/
18 Include <hildon/hildon.h> directly in all examples.
20 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
22 * src/hildon-sort-dialog.c
23 (hildon_sort_dialog_add_sort_key_with_sorting)
27 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
29 * src/Makefile.am: Move generated sources to CLEANFILES, so that
30 make distcheck passes.
32 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
34 * Makefile.am: Enable gtk-doc during distcheck.
36 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
38 * Makefile.am: Do not distribute the debian/ directory.
40 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
42 * doc/Makefile.am: Add the extra SGML files to content_files,
43 so that they are distributed properly.
45 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
47 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
50 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
52 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
53 (hildon_note_new_information_with_icon_name): Set the "icon" property
54 to preserve soundness.
56 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
58 * src/hildon-font-selection-dialog.c
59 (hildon_font_selection_dialog_set_property): Fail when the "family"
60 property is set to NULL.
62 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
64 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
67 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
69 * src/hildon-time-selector.h:
70 Added HildonTimeSelectorFormatPolicy
71 * src/hildon-time-selector.c:
72 Added PROP_TIME_FORMAT_POLICY
73 (_check_ampm_format): renamed to check_automatic_ampm_format
74 (update_format_policy), (update_format_dependant_columns): new functions
75 (hildon_time_selector_class_init)
76 (hildon_time_selector_contructor)
77 (hildon_time_selector_init)
78 (hildon_time_selector_get_property)
79 (hildon_time_selector_set_property)
80 (hildon_time_selector_get_time)
81 (hildon_time_selector_set_time)
82 * src/hildon-touch-selector.h: new file
83 * src/hildon-touch-selector.c
84 (hildon_touch_selector_emit_changed)
85 (hildon_touch_selector_block_changed)
86 (hildon_touch_selector_unblock_changed)
87 Added functions to allow to block the emission of the "changed" signal
88 * src/hildon-picker-dialog.c
89 (hildon_picker_dialog_show): call the parent show before the custom code
90 * examples/hildon-time-button-example.c
91 Modified, so now you can configure the time format using the new property
93 Added a new property "time-format-policy" that allow to choose the time
94 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
95 case it uses gconf in order to check if the time selector must use
98 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
101 2009-04-28 Alberto Garcia <agarcia@igalia.com>
103 * src/hildon-note.c (hildon_note_init):
104 Label in HildonNote must be left aligned, not centered. This
105 reverts the last commit in HildonNote.
107 Fixes: NB#112933 (text is not left aligned in confirmation dialog
108 is connectivity dialog)
110 2009-04-27 Alberto Garcia <agarcia@igalia.com>
115 * doc/hildon-sections.txt:
116 Added hildon_gtk_window_set_do_not_disturb()
118 2009-04-27 Alberto Garcia <agarcia@igalia.com>
120 * src/hildon-note.c (hildon_note_init): Center label.
122 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
125 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
130 * configure.ac: Bump version.
131 * debian/changelog: Updates.
133 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
135 * src/hildon-note-private.h: Add button-width to the private data.
136 * src/hildon-note.c (+resize_button),
137 (+hildon_note_orientation_update): methods to repack widgets on orientation
139 (screen_size_changed): Call above method for confirmation notes.
140 (hildon_note_realize): Always connect to the "screen-size" changed signal.
141 (hildon_note_rebuild): Store the original width request from buttons.
143 Fixes: NB#109635 (Confirmation notes do not support portrait)
145 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
147 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
148 when it is a progress note.
150 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
152 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
153 in the note, since there are no horizontally arranged contents.
155 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
157 * src/hildon-gtk.c (+set_flag): new generic method to
158 set/delay a flag setting in a window.
159 (hildon_gtk_window_set_progress_indicator):
160 (hildon_gtk_window_set_do_not_disturb),
161 (hildon_gtk_window_set_portrait_flags): use set_flag() to
162 avoid code redundance.
164 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
166 Based on a patch by Alberto Garcia (agarcia@igalia.com)
168 * src/hildon-gtk.c (set_clear_window_flag),
169 (do_set_progress_indicator), (do_set_do_not_disturb),
170 (do_set_portrait_flags),
171 (hildon_gtk_window_set_progress_indicator),
172 (hildon_gtk_window_set_do_not_disturb),
173 (hildon_gtk_window_set_portrait_flags):
174 Allow setting dnd-flag, progress indicator, and portrait flags
175 when the window is not realized.
177 2009-04-24 Alejandro G. Castro <alex@igalia.com>
179 * src/hildon-pannable-area.c,
180 * src/hildon-pannable-area.h: Add the hildon deprecated define to
181 the size request policy function and defines.
183 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
185 * doc/hildon-sections.txt: Add the new API.
186 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
187 method to set the portrait flags.
188 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
190 Fixes: NB#112328 (Adding helpers for setting portrait properties)
192 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
194 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
195 to allow using this method with other flags.
196 (hildon_gtk_window_set_progress_indicator): Update accordingly.
197 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
199 2009-04-22 Alberto Garcia <agarcia@igalia.com>
201 * src/hildon-touch-selector.c
202 (hildon_touch_selector_append_text_column):
203 Make the cell renderer use the smallest width possible.
205 Fixes: NB#108470 (Selected items in multiple selection are either
206 having a tick that is cut or not visible at all.)
208 2009-04-22 Alberto Garcia <agarcia@igalia.com>
210 * src/hildon-touch-selector.c
211 (hildon_touch_selector_append_text_column):
214 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
216 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
217 Use g_strdup_printf() instead of a fixed size buffer.
219 2009-04-21 Alberto Garcia <agarcia@igalia.com>
221 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
222 Close banners when a HildonAppMenu is popped up.
224 Fixes: NB#111027 (Title menu closed immediately if activated when
225 "Invalid e-mail address" banner is shown)
227 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
232 * configure.ac: Bump version.
233 * debian/changelog: Updates.
235 2009-04-20 Alberto Garcia <agarcia@igalia.com>
237 * src/hildon-banner.c (hildon_banner_realize):
238 Mark HildonBanner as supporting portrait mode.
239 Use GDK to set window properties insetad of direct Xlib calls.
241 Fixes: NB#111830 (HildonBanner should be marked as supporting
244 2009-04-20 Alberto Garcia <agarcia@igalia.com>
246 * src/hildon-note.c (hildon_note_rebuild):
247 Hide action area in information notes. Prevents text from being
248 slightly aligned to the left.
250 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
253 2009-04-20 Alberto Garcia <agarcia@igalia.com>
255 Patch by Mox Soini (ext-mox.soini@nokia.com)
257 * src/hildon-banner.c (hildon_banner_create_animation):
258 Use stylus-sized icons in animation banner.
260 Fixes: NB#111206 (stylus sized icon for animation banner)
262 2009-04-20 Alberto Garcia <agarcia@igalia.com>
266 (+hildon_gtk_window_set_do_not_disturb):
267 New API to set the do-not-disturb flag.
269 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
271 2009-04-20 Alberto Garcia <agarcia@igalia.com>
273 * examples/hildon-progress-indicator-example.c: Fix example
275 * src/hildon-gtk.c (set_clear_window_flag)
276 (hildon_gtk_window_set_progress_indicator):
277 Create a generic function for setting flags to a window.
278 Use GDK instead of direct Xlib calls.
280 2009-04-14 Alberto Garcia <agarcia@igalia.com>
282 * src/hildon-button.c (hildon_button_set_arrangement):
283 Due to NB#88126, if one of the labels is too long it will be
284 painted outside the button. The 'value' label is more likely to be
285 the longest one, so we change its packing options in order to
286 truncate it if necessary. As a side effect, the 'title' label will
287 no longer be truncated.
289 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
291 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
296 * configure.ac: Bump version.
297 * debian/changelog: Updates.
299 2009-04-13 Alejandro G. Castro <alex@igalia.com>
301 Deprecation of the hildon_pannable_area_set_size_request_policy
302 API, the only policy properly supported in gtk+ nowadays is the
305 * src/hildon-pannable-area.c,
306 (hildon_pannable_area_size_request): Added a workaround for the
307 size_request to avoid the problems of huge pixmaps in case someone
308 is still using the function.
309 * src/hildon-pannable-area.h: Deprecated the enum with the
312 Fixes: NB#110244 (Problems with the
313 hildon_pannable_area_set_size_request_policy API)
315 2009-04-08 Alejandro G. Castro <alex@igalia.com>
317 * src/hildon-pannable-area.c,
318 (hildon_pannable_area_init),
319 (hildon_pannable_area_size_request),
320 (hildon_pannable_area_style_set),
321 (hildon_pannable_draw_vscroll),
322 (hildon_pannable_draw_hscroll),
323 (hildon_pannable_area_check_scrollbars): Replaced area_width with
324 indicator_width to clarify the use of the attribute.
326 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
331 * configure.ac: Bump version.
332 * debian/changelog: Updates.
334 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
336 * src/hildon-picker-dialog.c
337 * src/hildon-touch-selector.c
338 Reverting the change that tried to avoid the hardcoded height on
339 the picker dialog, as causes problems on the hildon-touch-selector
342 Fixes: NB#110029 (selectors not scrolling to selected value)
344 2009-04-07 Alberto Garcia <agarcia@igalia.com>
346 * src/hildon-touch-selector.c: Fix typos
348 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
350 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
351 Use the event coordinates instead of gdk_window_get_pointer(). Also,
352 request more motions after using it.
354 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
356 * src/hildon-calendar.c (hildon_calendar_expose),
357 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
358 Remove unused variables.
360 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
362 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
365 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
367 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
368 Check the return value of gtk_tree_selection_get_selected()
371 2009-04-06 Alberto Garcia <agarcia@igalia.com>
373 * src/hildon-animation-actor.c
374 * src/hildon-button.c
376 * src/hildon-pannable-area.c
377 * src/hildon-picker-button.c
378 * src/hildon-program.c
379 * src/hildon-remote-texture.c
380 * src/hildon-text-view.c
381 * src/hildon-touch-selector.c
382 * src/hildon-window-stack.c
383 * src/hildon-window.c:
384 Add missing 'Since: 2.2' tags.
386 * doc/hildon-sections.txt:
387 Add some missing symbols.
389 * doc/hildon-docs.sgml:
390 New 'Other' section for HildonAnimationActor and
393 2009-04-06 Alberto Garcia <agarcia@igalia.com>
395 Patch by Iván Gómez (igomez@igalia.com)
399 * doc/hildon-docs.sgml
400 * doc/hildon-sections.txt
404 New chapters on using the Hildon library.
405 Updated the general structure of the reference manual.
406 Other minor documentation fixes.
408 * src/hildon-calendar-popup.c
409 * src/hildon-calendar.c
410 * src/hildon-controlbar.c
411 * src/hildon-date-editor.c
412 * src/hildon-dialog.c
413 * src/hildon-hvolumebar.c
414 * src/hildon-number-editor.c
415 * src/hildon-range-editor.c
416 * src/hildon-sort-dialog.c
417 * src/hildon-time-editor.c
418 * src/hildon-time-picker.c
419 * src/hildon-volumebar-range.c
420 * src/hildon-volumebar.c
421 * src/hildon-vvolumebar.c
422 * src/hildon-weekday-picker.c:
423 Add deprecation notes
425 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
426 Document 'horizontal-movement' and 'vertical-movement' signals.
428 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
433 * configure.ac: Bump version.
434 * debian/changelog: Updates.
436 2009-04-06 Alejandro G. Castro <alex@igalia.com>
438 * src/hildon-pannable-area.c,
439 (hildon_pannable_area_class_init): increased the minimum velocity.
440 (hildon_pannable_area_button_release_cb): Updated the
441 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
442 setup. Review the code to control that last event.
444 Fixes: NB#109790 (Releasing finger in pannable area easily causes
447 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
449 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
451 * src/hildon-get-password-dialog.c
452 (hildon_get_password_set_property),
453 (hildon_get_password_get_property), (create_contents):
454 * src/hildon-login-dialog-private.h:
455 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
456 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
457 (hildon_login_dialog_get_password):
458 * src/hildon-set-password-dialog-private.h:
459 * src/hildon-set-password-dialog.c
460 (hildon_set_password_set_property),
461 (hildon_set_password_get_property), (create_contents),
462 (hildon_set_password_response_change),
463 (hildon_set_password_response_set), (hildon_checkbox_toggled):
465 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
466 instead and look more Fremantle style.
468 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
470 2009-04-03 Alberto Garcia <agarcia@igalia.com>
472 * doc/hildon-sections.txt
473 * src/hildon-window-stack.h
474 * src/hildon-window-stack.c
475 (+hildon_window_stack_get_windows):
476 New API to obtain the list of windows on a stack.
478 2009-04-02 Alberto Garcia <agarcia@igalia.com>
480 * src/hildon-app-menu.c (hildon_app_menu_popup)
481 (hildon_app_menu_class_init, -hildon_app_menu_show):
482 Remove hildon_app_menu_show() and move all its checks to
483 hildon_app_menu_popup()
485 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
487 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
488 (_hildon_picker_dialog_set_selector): removed call to
489 gtk_widget_set_size_request
490 * src/hildon-touch-selector.c
491 (_create_new_column): change the pannable size request policy
493 Avoid to use a hardcoded height for the hildon picker dialog. In order
494 to get that, we needed to change the hildon pannable size request
496 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
498 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
500 * src/hildon-window.c (hildon_window_map): Check for vbox to be
501 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
504 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
506 * debian/control: Depend on osso-system-lock localization package.
507 * src/hildon-code-dialog.c: Obtain the secu_application_title
508 translation from osso-system-lock.
509 * src/hildon-get-password-dialog.c (create_contents): Do not mark
510 for translation the atk related strings, that's not necessary.
511 * src/hildon-set-password-dialog.c (create_contents): Ditto.
512 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
513 cancel button, it is not required.
515 2009-04-02 Alejandro G. Castro <alex@igalia.com>
517 * src/hildon-pannable-area.c,
518 (hildon_pannable_area_class_init): Modified the default value of
519 the overshooting max speed, we have reduced it.
521 2009-04-02 Alberto Garcia <agarcia@igalia.com>
523 * doc/hildon-sections.txt
524 * src/hildon-window-private.h
525 * src/hildon-window.h
526 * src/hildon-window.c (hildon_window_class_init)
527 (hildon_window_init, hildon_window_finalize)
528 (hildon_window_realize, hildon_window_get_property)
529 (hildon_window_set_property, hildon_window_update_markup)
530 (hildon_window_get_markup, hildon_window_set_markup):
531 New "markup" property and hildon_window_{get,set}_markup() methods.
533 * examples/hildon-stackable-window-example.c (new_window):
534 Update example to use hildon_window_set_markup()
536 Fixes: NB#106375 (Need API to retitle a window with a title
539 2009-04-01 Alejandro G. Castro <alex@igalia.com>
541 * src/hildon-pannable-area.c,
542 (hildon_pannable_area_class_init): Changed the default value of
543 the initial_hint to TRUE.
544 (hildon_pannable_area_initial_effect): Changed the initial effect,
545 not the effect is just the fade-out of the scrollbars.
547 Fixes: NB#107775 (No scrollbars can be seen when several items are
548 available in a dialog)
550 2009-04-01 Alberto Garcia <agarcia@igalia.com>
552 * src/hildon-program.c (hildon_program_update_top_most):
555 Fixes: NB#109179 (Memory leak in Hildon program)
557 2009-04-01 Alberto Garcia <agarcia@igalia.com>
559 * src/hildon-banner.c (-get_current_app_window):
560 Remove unused function.
562 2009-04-01 Alejandro G. Castro <alex@igalia.com>
564 * src/hildon-pannable-area.c: Modified the documentation of the
565 get adjustments functions to explain the problem of using the
567 (hildon_pannable_area_class_init): Improved the explanation about
570 2009-04-01 Alberto Garcia <agarcia@igalia.com>
572 * src/hildon-app-menu-private.h
573 * src/hildon-app-menu.c
574 (hildon_app_menu_class_init):
575 Bring back the 'external-border' style property
576 (hildon_app_menu_class_init, hildon_app_menu_init)
577 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
578 Set a fixed width-request for the menu, independent of the number
581 Fixes: NB#94957 (Smoothly opened application menu)
583 2009-03-30 Alberto Garcia <agarcia@igalia.com>
585 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
587 * src/hildon-banner.c
588 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
590 Make sure that the banner is correctly placed the first time it's
592 (hildon_banner_check_position, -check_fullscreen_state):
593 Show the banner in the same place no matter if the window is in
594 fullscreen mode or not.
596 Fixes: NB#107386 (Odd stacking behaviour for information banners)
598 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
600 * src/hildon-touch-selector.c (_default_print_func): reorder
601 concatenation for clarity.
603 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
605 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
606 for multicolumn selectors.
608 Fixes: NB#109099 (Memory leak in Hildon touch selector)
610 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
615 * configure.ac: Bump version.
616 * debian/changelog: Updates.
618 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
620 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
623 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
625 * configure.ac: removed libcangerra-gtk dependency
626 * debian/control: removed libcanberra-gtk dependency
627 * src/Makefile.am: removed libcanberra gtk related flags
628 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
629 context, and manage a global canberra context instead
631 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
633 2009-03-26 Alberto Garcia <agarcia@igalia.com>
635 Patch by Daniel Borgmann (danielb@openismus.com)
637 * src/hildon-edit-toolbar.c:
638 Adjust the left padding.
639 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
640 Paint background of the edit toolbar.
642 Fixes: NB#107897 (Patch to make editmodetoolbar background
643 themeable and adjust margin)
645 2009-03-25 Alberto Garcia <agarcia@igalia.com>
647 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
649 * src/hildon-program.c (hildon_program_update_top_most):
650 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
652 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
653 change when the user tasks in/out of an application)
655 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
657 * configure.ac: added libcangerra-gtk dependency
658 * debian/control: added libcanberra-gtk dependency
659 * src/Makefile.am: added libcanberra gtk related flags
660 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
663 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
665 2009-03-25 Alberto Garcia <agarcia@igalia.com>
667 * src/hildon-program.c (hildon_program_remove_window)
668 (hildon_program_add_window): Add checks for the window
669 parameter. Don't decrease the window counter if the window is not
672 2009-03-24 Alejandro G. Castro <alex@igalia.com>
674 * src/hildon-pannable-area.c,
675 (hildon_pannable_area_realize): Fixed position of the event_window
676 in the realize method.
678 2009-03-24 Alberto Garcia <agarcia@igalia.com>
680 * src/hildon-app-menu-private.h
681 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
682 (hildon_app_menu_map, hildon_app_menu_hide_idle)
683 (hildon_app_menu_key_press, hildon_app_menu_init)
684 (hildon_app_menu_finalize):
685 Make sure that all idle functions are removed when the widget is
688 Fixes: NB#107583 (Hildon app menu crashes in various applications)
690 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
695 * configure.ac: Bump version.
696 * debian/changelog: Updates.
698 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
701 (+hildon_entry_show_placeholder),
702 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
703 that replace hildon_entry_update_contents().
704 (hildon_entry_set_text),
705 (hildon_entry_set_placeholder),
706 (hildon_entry_focus_in_event),
707 (hildon_entry_focus_out_event): Determine when it is needed
708 either to show or hide the placeholder and call the above methods.
710 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
711 when the placeholder text is already set)
713 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
715 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
716 simple GdkPixbufAnim using the new icons for the banner.
717 (hildon_banner_show_animation): Use the above mentioned method to
718 create the animation widget.
720 Fixes: NB#103564 (Make hildon animation banner use individual
721 image files as the animation)
723 2009-03-24 Alejandro G. Castro <alex@igalia.com>
725 * src/hildon-pannable-area.c,
726 (hildon_pannable_leave_notify_event): Check if the child is NULL
727 to avoid sending the leave.
729 2009-03-24 Alejandro G. Castro <alex@igalia.com>
731 * src/hildon-pannable-area.c,
732 (hildon_pannable_area_class_init),
733 (hildon_pannable_leave_notify_event): Added a handler of the
734 leave-notify-signal to consider when no motion notify before
737 Fixes: NB#107494 (Items stay selected when clicking and moving
738 away when inside pannable area)
740 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
745 * configure.ac: Bump version.
746 * debian/changelog: Updates.
748 2009-03-19 Alejandro G. Castro <alex@igalia.com>
750 Patch by Alberto Garcia (agarcia@igalia.com)
752 * src/hildon-date-button.c,
753 (hildon_date_button_class_init),
754 (hildon_date_button_init): Removed the construct property handling
755 and created a default selector in the init method.
756 * src/hildon-picker-button.c,
757 (hildon_picker_button_class_init): Removed the construct flag of the
760 2009-03-18 Alberto Garcia <agarcia@igalia.com>
762 * src/hildon-main.c (hildon_init):
763 Don't allow hildon_init() to be called more than once.
765 Fixes: NB#106607 (hildon_init should issue error message upon
768 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
770 * examples/hildon-pannable-area-touch-list-example.c
771 * examples/hildon-pannagle-area-touch-grid-example.c
772 * examples/hildon-edit-toolbar-example.c
773 * examples/hildon-touch-selector-multi-cells-example.c
774 Removed the call to gtk_rc_parse_string, as it is not required since
777 2009-03-17 Alejandro G. Castro <alex@igalia.com>
779 * src/hildon-pannable-area.c,
780 (hildon_pannable_area_class_init): Modified the default panning
781 threshold of the widget to 6px.
783 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
784 than the threshold value ) within the button is not sending the
787 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
789 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
790 for the treeview in the new column. This way, the touch list will never
793 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
794 be selected manually for the HW keys to work)
796 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
798 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
799 comparison instead of using strcmp(). Fixes a compiler warning as well.
801 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
803 * doc/hildon-docs.sgml: Do not set the library version in the
804 document title, use the releaseinfo tag for that purpose instead.
806 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
808 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
809 Do not jump to the first item if the text in the entry is removed.
811 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
816 * configure.ac: Bump version.
817 * debian/changelog: Updates.
819 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
821 * src/hildon-entry.c (hildon_entry_refresh_contents):
822 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
823 Use "ReversedSecondaryTextColor" for the placeholder text.
825 2009-03-12 Alberto Garcia <agarcia@igalia.com>
827 * src/hildon-text-view.c: Fix compilation warning.
829 2009-03-12 Alberto Garcia <agarcia@igalia.com>
831 * src/hildon-button.c (hildon_button_class_init): Don't make
832 "title" and "value" construction properties, to prevent them from
833 overwriting labels set from derived classes.
835 * src/hildon-picker-button.c
836 (hildon_picker_button_set_selector): Allow setting a NULL selector.
837 (hildon_picker_button_class_init): Make touch-selector a
838 construction property.
840 * src/hildon-date-button.c (hildon_date_button_class_init)
841 (+hildon_date_button_constructed): Add a default date selector if
844 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
846 * src/hildon-touch-selector.c: Small documentation fixes.
848 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
850 Based on a patch by Daniel Borgmann (danielb@openismus.com)
852 * src/hildon-entry.c (hildon_entry_refresh_contents),
853 (hildon_entry_get_text), (hildon_entry_init): Do not use the
854 widget name, set the logical color directly instead and a boolean
855 showing_placeholder instead.
856 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
857 use the widget name here either.
859 Fixes: NB#105678 (HildonTextView should use logical colours
860 instead of setting widget name)
862 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
864 Patch by Daniel Elster (danielk@openismus.com)
866 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
867 Add user_data parameter.
868 (hildon_touch_selector_set_print_func_full): New function akin
869 hildon_touch_selector_set_print_func() but with support for user
870 data and a destroy callback.
871 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
872 to clean up the print function user data.
873 (hildon_touch_selector_class_init): Install dispose function.
874 (HildonTouchSelectorPrivate::print_user_data),
875 (HildonTouchSelectorPrivate::print_destroy_func): New private
877 (hildon_touch_selector_init): Initialize new private members.
878 (hildon_touch_selector_get_current_text): Pass along user data
879 to the print function.
880 (_default_print_func): Add dummy user_data to parameter list.
881 * hildon-date-selector.c (_custom_print_func): ditto,
882 * hildon-time-selector.c (_custom_print_func): ditto,
883 * hildon-touch-selector-entry.c
884 (hildon_touch_selector_entry_print_func): ditto.
886 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
888 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
890 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
892 2009-03-12 Alejandro G. Castro <alex@igalia.com>
894 * src/hildon-pannable-area.c,
895 (hildon_pannable_area_init),
896 (hildon_pannable_area_button_press_cb),
897 (hildon_pannable_area_motion_notify_cb): We have added code to
898 handle the leave and enter events when using the motion events.
900 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
902 2009-03-11 Alberto Garcia <agarcia@igalia.com>
904 * src/hildon-date-button.c (hildon_date_button_get_date)
905 (hildon_date_button_set_date): Make sure that the button has a
908 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
910 2009-03-11 Alejandro G. Castro <alex@igalia.com>
912 * src/hildon-pannable-area.c,
913 (hildon_pannable_area_class_init),
914 (hildon_pannable_area_calculate_velocity): Modify the use of the
915 force and adapt the value.
917 2009-03-10 Alberto Garcia <agarcia@igalia.com>
919 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
920 (hildon_app_menu_class_init): Hide the menu if it receives a
921 delete-event, but don't destroy it
923 Fixes: NB#104485 (Not able to address the call when application
924 menu is opened at background)
926 2009-03-10 Alberto Garcia <agarcia@igalia.com>
928 * src/hildon-app-menu.c
929 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
930 Remove the "external-border" style property, let the menu take its
931 natural size (or the one set by the window manager)
932 (hildon_app_menu_repack_items):
933 Don't reshow the menu, avoid flickers.
935 Partially fixes NB#94957 (Smoothly opened application menu)
937 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
942 * configure.ac: Bump version.
943 * debian/changelog: Updates.
945 2009-03-10 Alejandro G. Castro <alex@igalia.com>
947 * src/hildon-pannable-area.c,
948 (hildon_pannable_area_motion_notify_cb): We control that the
949 direction error margin is used just in case the movement is
950 allowed in the other direction.
952 Fixes: NB#105012 (buttons inside a pannable area not getting
953 release event when dragging/releasing)
955 2009-03-10 Alejandro G. Castro <alex@igalia.com>
957 * src/hildon-pannable-area.c,
958 (hildon_pannable_area_class_init),
959 (hildon_pannable_area_get_property),
960 (hildon_pannable_area_set_property),
961 (hildon_pannable_area_initial_effect),
962 (hildon_pannable_axis_scroll),
963 (hildon_pannable_area_button_release_cb): Reviewed the
964 overshooting effect, now it has its own max
965 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
968 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
973 * configure.ac: Bump version.
974 * debian/changelog: Updates.
976 2009-03-09 Alejandro G. Castro <alex@igalia.com>
978 * src/hildon-pannable-area.c,
979 (hildon_pannable_area_class_init): Changed the max speed, now
980 users can launch the widget very fast. Reduced the default force,
981 that way it is easier to control the launch speed.
983 2009-03-09 Alejandro G. Castro <alex@igalia.com>
985 * src/hildon-pannable-area.c,
986 (hildon_pannable_area_button_release_cb): Removed this check
987 because it causes problems when the device is overloaded.
989 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
991 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
992 add a current_text field to store the text entered in the
993 touch selector entry.
994 (_clean_current_selection): clean up the current text as well.
995 (_save_current_selection), (_restore_current_selection):
996 Save/restore the text in the entry if the selector is a
997 HildonTouchSelectorEntry.
999 Fixes: NB#102541 (value entered in the touch selector entry is not
1000 shown when opened for second time)
1002 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1004 * doc/hildon-sections.txt:
1005 * src/hildon-touch-selector-entry.c
1006 (+hildon_touch_selector_entry_get_entry):
1007 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1009 Fixes: NB#104815 (I need accessor to the entry inside
1010 HildonTouchSelectorEntry)
1012 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1014 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1015 (hildon_app_menu_class_init):
1016 New "filter-vertical-spacing" style property.
1018 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1020 * src/hildon-find-toolbar.c
1021 (hildon_find_toolbar_emit_close)
1022 (hildon_find_toolbar_emit_invalid_input)
1023 (hildon_find_toolbar_entry_activate):
1024 Use g_signal_emit() instead of g_signal_emit_by_name()
1026 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1028 Patch by Mox Soini (ext-mox.soini@nokia.com)
1030 * tests/TEST-CASES.txt
1031 * tests/check-hildon-banner.c
1032 * tests/check-hildon-note.c
1033 * src/hildon-banner.c
1034 * src/hildon-code-dialog.c
1035 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1036 * src/hildon-time-editor.c
1037 * examples/hildon-lookup-example.c (main):
1038 Replace obsolete icon names with new ones.
1040 * src/hildon-find-toolbar-private.h:
1041 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1042 (-hildon_find_toolbar_emit_search):
1043 Remove find button and change icon of close button.
1045 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1047 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1049 * src/hildon-time-button.c (hildon_time_button_new_step):
1050 Use the "touch-selector" property to set the selector directly
1051 when creating the object.
1053 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1055 Added a new example application that allows tuning the pannable
1056 area and replaced defines with properties in order to simplify the
1057 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1058 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1059 PROP_DIRECTION_ERROR_MARGIN.
1061 * examples/hildon-pannable-area-tuning-example.c: New example
1063 * src/hildon-pannable-area.c,
1064 (hildon_pannable_area_class_init),
1065 (hildon_pannable_area_init),
1066 (hildon_pannable_area_get_property),
1067 (hildon_pannable_area_set_property),
1068 (hildon_pannable_area_launch_fade_timeout),
1069 (hildon_pannable_area_adjust_value_changed),
1070 (hildon_pannable_axis_scroll),
1071 (hildon_pannable_area_motion_notify_cb),
1072 (hildon_pannable_area_scroll_cb),
1073 (hildon_pannable_area_button_release_cb): We have converted some
1074 of the defines that control the widget to properties to simplify
1077 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1079 * src/hildon-app-menu.c (hildon_app_menu_map)
1080 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1081 so it's closed if a new window appears.
1083 Fixes: NB#104485 (Not able to address the call when application
1084 menu is opened at background)
1086 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1088 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1089 missing 'break' statement in in 'case' construct to avoid
1092 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1094 * src/hildon-touch-selector-entry.c
1095 (hildon_touch_selector_entry_get_property),
1096 (hildon_touch_selector_entry_set_property): Add missing 'break'
1097 statements in in 'case' constructs to avoid incorrect warnings.
1099 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1101 * src/hildon-time-editor.c
1102 (hildon_time_editor_get_time_separators): Do not crash if
1103 the first label is NULL.
1105 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1107 * src/hildon-date-selector.c (_month_days): Check for month to be
1108 strictly less than 12, since otherwise we may overrun the array.
1110 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1112 * src/hildon-date-button.c (+hildon_date_button_new_full)
1113 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1114 (hildon_date_button_init): Set the date selector using a
1115 construction property, to make it happen after HildonButton's
1116 "value" property is set.
1118 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1119 current date by default)
1121 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1123 * doc/hildon-sections.txt
1124 * src/hildon-program.c
1125 * src/hildon-stackable-window.c
1126 * src/hildon-window.c:
1127 Documentation updates
1129 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1131 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1132 (hildon_window_stack_new, +hildon_window_stack_set_property)
1133 (+hildon_window_stack_get_property)
1134 (hildon_window_stack_class_init)
1135 (+hildon_window_stack_set_window_group)
1136 (+hildon_window_stack_get_window_group):
1137 Make the window group a construction property.
1139 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1141 * doc/hildon-sections.txt
1142 * src/hildon-stackable-window-private.h
1143 * src/hildon-stackable-window.h
1144 * src/hildon-stackable-window.c
1145 (-hildon_stackable_window_set_app_menu)
1146 (-hildon_stackable_window_get_app_menu)
1147 (-hildon_stackable_window_toggle_menu)
1148 (-hildon_stackable_window_finalize)
1149 (hildon_stackable_window_class_init)
1150 (hildon_stackable_window_init)
1151 * src/hildon-window-private.h
1152 * src/hildon-window.h
1153 * src/hildon-window.c (hildon_window_init)
1154 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1155 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1156 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1157 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1158 Moved all HildonAppMenu code to HildonWindow. The menu does not
1159 require a HildonStackableWindow anymore.
1161 * src/hildon-app-menu.c
1162 * src/hildon-program.c
1163 * examples/hildon-app-menu-example.c (main):
1164 Update examples and documentation to reflect HildonAppMenu
1167 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1169 * src/hildon-remote-texture.c
1170 * src/hildon-animation-actor.c:
1171 Don't include unused private headers.
1173 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1175 * src/hildon-program-private.h
1176 * src/hildon-program.c
1177 (hildon_program_set_common_menu)
1178 (hildon_program_get_common_menu)
1179 (hildon_program_set_common_app_menu)
1180 (hildon_program_get_common_app_menu):
1181 Change common menu pointers from GtkWidget* to GtkMenu* and
1182 HildonAppMenu* to avoid unnecessary casts.
1184 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1186 * src/hildon-window.c (hildon_window_set_main_menu):
1187 Removed incorrect 'Since:' tag
1189 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1191 * src/hildon-pannable-area.c,
1192 (hildon_pannable_area_calculate_velocity): We use now the
1193 RATIO_TOLERANCE here to check the distance, fixed typo in the
1195 (hildon_pannable_area_motion_notify_cb): We have to set the type
1196 and time even if we are not sending the motion.
1198 2009-03-02 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_get_items)
1203 (+hildon_app_menu_get_filters): New methods to get the contents of
1206 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1209 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1211 * src/hildon-app-menu.c (hildon_app_menu_popup):
1214 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1216 * src/hildon-window.h
1217 * src/hildon-window.c (+hildon_window_get_main_menu)
1218 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1219 and deprecated hildon_window_get_menu().
1221 * src/hildon-stackable-window.h
1222 * src/hildon-stackable-window.c
1223 (+hildon_stackable_window_set_app_menu)
1224 (+hildon_stackable_window_get_app_menu)
1225 (hildon_stackable_window_set_main_menu): Created
1226 hildon_stackable_window_{get,set}_app_menu() and deprecated
1227 hildon_stackable_window_set_main_menu().
1229 * doc/hildon-sections.txt
1230 * examples/hildon-app-menu-example.c (main)
1231 * src/hildon-app-menu.c
1232 * src/hildon-program.c:
1233 Updated examples and documentation.
1235 Fixes: NB#103758 (No way to obtain a menu from a
1236 HildonStackableWindow)
1238 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1243 * configure.ac: Bump version.
1244 * debian/changelog: Updates.
1246 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1248 * examples/hildon-remote-texture-example.c: Include
1249 hildon-remote-texture.h explicitely.
1250 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1251 applications not defining _XOPEN_SOURCE which don't require this header.
1253 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1255 * doc/hildon-sections.txt
1256 * src/hildon-app-menu.h
1257 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1258 New function to pop up a HildonAppMenu
1260 * src/hildon-stackable-window.c
1261 (hildon_stackable_window_toggle_menu):
1262 Use hildon_app_menu_popup() to show the menu.
1264 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1266 * src/hildon-app-menu.c (hildon_app_menu_show)
1267 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1268 menu if there's another window between it and its parent window.
1270 Fixes: NB#100468 (Application menu window is launched even when a
1271 new secondary-window/dialog is pending to be shown/realized)
1273 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1275 * src/hildon-window-stack.c (hildon_window_stack_push)
1276 (hildon_window_stack_pop_and_push):
1277 Don't forget to push/pop the first window.
1278 Reverse the window list before calling _push_list()
1280 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1282 * src/hildon-picker-button.h
1283 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1284 Remove "value_changed" slot to avoid ABI breakage
1286 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1288 * src/hildon-pannable-area.c,
1289 (hildon_pannable_area_realize),
1290 (hildon_pannable_area_unrealize),
1291 (hildon_pannable_draw_vscroll),
1292 (hildon_pannable_draw_hscroll): Changed the method to handle the
1293 GC used to draw the transparent scrollbar, this way we avoid
1294 creating the GC all the time when drawing the scrollbars.
1296 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1298 * src/hildon-pannable-area.c,
1299 (hildon_pannable_area_init),
1300 (hildon_pannable_area_remove): Removed some unnecessary casts.
1301 (hildon_pannable_area_dispose): Disconnected some signals before
1302 releasing the adjustments.
1304 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1306 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1307 Make sure that all widgets contained in the toolbar are shown.
1309 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1311 * doc/hildon-sections.txt
1312 * src/hildon-picker-button.h
1313 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1314 (_selection_changed, hildon_picker_button_on_dialog_response)
1315 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1316 New hildon_picker_button_value_changed() method.
1319 * src/hildon-picker-button-private.h
1320 * src/hildon-picker-button.c (hildon_picker_button_init)
1321 (+hildon_picker_button_disable_value_changed): Add protected
1322 function for disabling the "value-changed" signal.
1324 * src/hildon-date-button.c (hildon_date_button_set_date):
1325 Don't emit "value-changed" for each one of the three columns.
1327 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1328 before actual change of values)
1330 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1332 * src/hildon-pannable-area.c,
1333 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1334 for the treeview overshooting.
1336 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1338 * src/hildon-banner.c (+hildon_banner_bind_style):
1339 Renamed from hildon_banner_bind_label_style(), now naming the
1340 banner itself as well.
1341 (hildon_banner_show_information),
1342 (hildon_banner_show_information_with_markup),
1343 (hildon_banner_show_animation), (hildon_banner_show_progress):
1344 Name the widgets and labels, based on their type.
1346 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1349 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1351 * src/hildon-note.c (hildon_note_set_property): call
1352 hildon_note_rename() on HildonNote:note-type set.
1353 (hildon_note_rename): Name the note and its label, based on the
1354 HildonNote:note-type property.
1356 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1359 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1361 * src/hildon-pannable-area.c,
1362 (hildon_pannable_area_class_init),
1363 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1364 panning parameters, increased SPS and deceleration factor. Added
1365 also a margin to control fake directions.
1367 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1369 Patch by Sven Herzberg (sven@imendio.com)
1371 * configure.ac: Add missing AM_PROG_CC_C_0
1372 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1374 See NB#101420 (Update unit tests and fix make check)
1376 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1378 This patch was applied before but reverted because it caused
1379 problems, we have changed the main condition and tested the
1380 regressions we detected before and they work ok. We have done a
1381 complete review of the topmost algorithm in order to get a more
1384 * src/hildon-pannable-area.c,
1385 (hildon_pannable_area_get_topmost): Added a new parameter to
1386 filter the the windows that do not include those events.
1387 (hildon_pannable_area_button_press_cb),
1388 (hildon_pannable_area_button_release_cb),
1389 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1390 topmost function, we have added the new parameter.
1392 Fixes: NB#97458 (Pannable area prevents propagation of button
1395 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1397 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1398 if all columns in the selector have an item selected.
1399 (_on_dialog_response): Stop "response" signal emission if there is
1400 any selector column without selected items.
1402 Fixes: NB#101889 (Picker dialog should not close when nothing is
1403 selected in multiple selection list)
1405 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1407 * src/hildon-font-selection-dialog.c
1408 (hildon_font_selection_dialog_class_init),
1409 (hildon_font_selection_dialog_init): Remove the preview
1410 button and dialog, since previewing with default theming is likely
1411 to be overcomplicated. The :preview property has now no effect.
1412 Update documentation blurbs to inform about this.
1414 Fixes: NB#92297 (Preview content is not clearly visible for
1415 default colour text)
1417 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1419 Reviewed the geometry that handles the children size and
1420 scrollbar, now it tries a size and reviews the results depending
1421 on the scrollbars visibility.
1423 * src/hildon-pannable-area.c,
1424 (hildon_pannable_area_realize): Fixed a typo.
1425 (hildon_pannable_area_child_allocate_calculate): Added this
1426 function to calculate the child allocation.
1427 (hildon_pannable_area_size_allocate): Reviewed the allocation
1429 (hildon_pannable_area_check_scrollbars),
1430 (hildon_pannable_area_refresh): Refactored refresh function, this
1431 way we can call the code handling the scrollbars without causing a
1432 size_request, it is interesting in the allocate.
1433 (hildon_pannable_area_init): Replace the callbacks of the
1434 value_changed and changed signals to propertly deal with the
1436 (hildon_pannable_area_grab_notify),
1437 (hildon_pannable_area_initial_effect),
1438 (hildon_pannable_area_launch_fade_timeout),
1439 (hildon_pannable_area_adjust_changed),
1440 (hildon_pannable_area_adjust_value_changed),
1441 (hildon_pannable_area_redraw),
1442 (hildon_pannable_area_button_press_cb),
1443 (hildon_pannable_area_button_release_cb),
1444 (hildon_pannable_area_scroll_cb),
1445 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1446 code and use the new functions adjust_changed and
1447 adjust_value_changed.
1449 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1450 Contact editor dialog)
1452 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1457 * configure.ac: Bump version.
1458 * debian/changelog: Updates.
1460 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1462 * src/hildon-pannable-area.c,
1463 (hildon_pannable_area_get_topmost),
1464 (hildon_pannable_area_button_press_cb),
1465 (hildon_pannable_area_button_release_cb),
1466 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1467 topmost function adding the event mask. We have to try a
1468 differente approach because it is still causing problems (NB#9745,
1471 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1473 * src/hildon-banner.c:
1474 Update the maximum width of timed banners.
1475 (force_to_wrap_truncated): Enforce the maximum text width if the
1478 Fixes: NB#102413 (The text margins (wrapping) in information
1479 banner should be HILDON_MARGIN_TRIPLE)
1481 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1483 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1485 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1486 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1487 bound when calculating the scroll indicator position.
1489 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1490 treat ->lower correctly)
1492 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1494 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1495 expose event handling, since it is not necessary to draw the focus
1498 Fixes: NB#102467 (Do not show highlight on the text in
1501 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1503 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1504 full height of the toolbar for the button and the label.
1506 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1508 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1509 padding before the label and after the button.
1511 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1513 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1515 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1516 Add a GtkVSeparator between the button and the back arrow.
1517 Let the button have automatic size.
1518 Set a name to the widget for theming handling.
1520 Fixes: NB#101793 (Make edit toolbar the same height as window
1521 title bar (use title area theming))
1523 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1525 * src/hildon-helper.c (attach_new_color_element): Fix memory
1528 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1530 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1532 * examples/hildon-button-example.c (common_buttons_window): Don't
1535 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1537 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1538 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1540 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1542 * src/hildon-gtk.c: Check that the window is realized.
1544 Fixes: NB#102225 (Crash setting the progress indicator to a non
1547 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1549 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1550 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1551 instead of modifying the one in the widget style.
1553 Fixes: NB#101043 (Second row of all the command button are
1554 displayed in transparent mode.)
1556 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1558 * src/hildon-date-button.c
1559 * src/hildon-time-button.c: Add gettext macros
1561 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1563 * src/hildon-date-button.c (hildon_date_button_new):
1564 * src/hildon-time-button.c (hildon_time_button_new_step):
1565 Use new logical strings to set the button default title.
1567 Fixes: NB#99915 (Date and Time options are not localised in Date
1570 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1572 * src/hildon-pannable-area.c
1573 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1574 the PANNING_THRESHOLD.
1576 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1578 * src/hildon-pannable-area.c,
1579 (hildon_pannable_area_class_init): Increased the maximum speed.
1580 (hildon_pannable_area_get_property),
1581 (hildon_pannable_area_set_property),
1582 (hildon_pannable_area_timeout): Added a new low friction mode, it
1583 allows the user avoid friction when launching the widget fast
1584 enough. It is interesting to traverse long lists.
1586 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1588 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1589 (+hildon_stackable_window_delete_event): Ignore delete events if
1590 the window is not the topmost one.
1592 Fixes: NB#101698 (Back button long press and delete-event handling)
1594 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1596 * src/hildon-pannable-area.c,
1597 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1598 gtk-dnd-drag-threshold, it was too big. We have defined our own
1599 dnd define and set a smaller value: PANNIG_THRESHOLD.
1601 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1603 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1604 user-defined icons, use always the default one.
1606 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1608 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1610 This patch was applied before but reverted because it caused
1611 problems, we have changed the main condition and tested the
1612 regressions we detected before and they work ok.
1614 * src/hildon-pannable-area.c,
1615 (hildon_pannable_area_get_topmost): Added a new parameter to
1616 filter the the windows that do not include those events. Added
1617 also a condition when finding the window to filter windows that do
1618 not ask for those events.
1619 (hildon_pannable_area_button_press_cb),
1620 (hildon_pannable_area_button_release_cb),
1621 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1622 topmost function, we have added the new parameter.
1624 Fixes: NB#97458 (Pannable area prevents propagation of button
1627 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1629 * tests/check-hildon-color-button.c (START_TEST): do not leak
1632 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1634 * src/hildon-font-selection-dialog.c
1635 (hildon_font_selection_dialog_get_preview_text): Return NULL
1636 instead of FALSE on the g_return_val_if_fail().
1638 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1640 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1641 * src/hildon-date-selector.c
1642 (hildon_date_selector_select_current_date):
1643 Do not compare unsigned integers to be greater than or equal 0,
1644 because it's always TRUE.
1646 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1648 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1649 (hildon_date_selector_constructor): Do not select the current
1650 date until we are handle the "changed" signal, to avoid having bogus
1651 elements in the days model.
1653 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1655 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1656 for num_days, since _month_days() can return a negative value.
1658 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1660 * src/hildon-caption.c (hildon_caption_size_allocate):
1661 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1662 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1664 Initialize allocation variables to 0, to avoid eventually using
1665 unitialized variables.
1667 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1669 * src/hildon-bread-crumb-trail.c
1670 (hildon_bread_crumb_trail_size_allocate):
1671 * src/hildon-calendar.c (hildon_calendar_set_background):
1672 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1673 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1674 * src/hildon-seekbar.c (hildon_seekbar_init):
1675 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1676 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1677 * src/hildon-touch-selector-entry.c
1678 (hildon_touch_selector_get_text_from_model):
1679 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1680 * src/hildon-window.c (hildon_window_finalize):
1682 Remove many unused variables.
1684 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1686 * src/hildon-seekbar.c: (hildon_seekbar_init),
1687 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1689 Remove unnecessary g_assert() calls.
1691 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1693 * src/hildon-caption.c: (hildon_caption_expose),
1694 (hildon_caption_set_property), (hildon_caption_init),
1695 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1696 (hildon_caption_size_request), (hildon_caption_size_allocate),
1697 (hildon_caption_forall), (hildon_caption_set_separator),
1698 (hildon_caption_activate), (hildon_caption_set_child_expand),
1699 (hildon_caption_set_label_text),
1700 (hildon_caption_get_label_alignment):
1702 Remove unnecessary g_assert() calls.
1704 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1706 * src/hildon-banner.c
1707 (hildon_banner_map, hildon_banner_init): Make banner temporary
1708 before mapping it to avoid closing other temporary windows, but
1709 make it non-temporary afterwards to avoid being closed by other
1710 non-temporary windows.
1711 (-hildon_banner_client_event, hildon_banner_init):
1712 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1714 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1717 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1719 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1722 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1724 * src/hildon-remote-texture.c
1725 * src/hildon-remote-texture.h
1726 * src/hildon-remote-texture-private.h
1727 * examples/hildon-remote-texture-example.c:
1728 Updates/fixes to remote-texture and its example.
1730 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1732 Patch by Mox Soini (ext-mox.soini@nokia.com)
1734 * src/hildon-code-dialog.c: Update logical id.
1735 * src/hildon-set-password-dialog.c: Update logical id.
1737 Fixes: NB#100646 (Logical strings is shown for ok in set
1738 password,Password needed dialogs)
1740 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1743 * src/hildon-remote-texture.c
1744 * src/hildon-remote-texture.h
1745 * src/hildon-remote-texture-private.h
1747 Added remote texture widget (for Clutter shared memory textures)
1749 * examples/hildon-remote-texture-example.c
1750 * examples/Makefile.am
1751 Added example file for remote texture usage
1753 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1755 * configure.ac: post release version bump.
1756 * debian/changelog: version bump.
1758 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1763 * configure.ac: Bump version.
1764 * debian/changelog: Updates.
1766 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1768 * src/hildon-date-selector.c (hildon_date_selector_init)
1769 (hildon_date_selector_constructor): Don't connect to the "changed"
1770 signal until the selector is completely constructed.
1772 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1774 * src/hildon-touch-selector.c: (_create_new_column),
1775 (hildon_touch_selector_append_column),
1776 (hildon_touch_selector_set_column_selection_mode),
1777 (hildon_touch_selector_set_active),
1778 (hildon_touch_selector_select_iter):
1779 Emit the HildonTouchSelector::changed signal every time selection
1780 is changed in any of the methods above. This behavior was already
1781 documented but not fully functional.
1783 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1784 selection is programmatically changed)
1786 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1788 * doc/hildon-sections.txt: Remove obsolete icon
1789 sizes from here as well.
1791 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1793 * examples/hildon-stackable-window-example.c (add_window): Remove
1796 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1798 * src/hildon-app-menu.c
1799 (hildon_app_menu_show): Check whether the parent window of a menu
1800 is topmost before popping it up.
1802 Fixes: NB#100468 (Application menu window is launched even when a
1803 new secondary-window/dialog is pending to be shown/realized.)
1805 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1807 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1810 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1812 Patch by Mox Soini (ext-mox.soini@nokia.com)
1814 * src/hildon-banner.c: (hildon_banner_show_animation):
1815 use stylus size instead of obsolete note size.
1816 * src/hildon-defines.h: Update icon sizes.
1818 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1820 * src/hildon-touch-selector-entry.c:
1821 (hildon_touch_selector_entry_init): Disable unsupported
1823 (hildon_touch_selector_entry_get_text_column): Emit a warning
1824 if an unsupported input modes is used and explicitile state
1825 these modes in the documentation.
1827 Fixes: NB#99802 (Hildon touch selector entry not working properly
1828 for some of the input modes)
1830 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1832 * src/hildon-pannable-area.c,
1833 (hildon_pannable_area_init): Added the changed signal handlers of
1836 Fixes: NB#100320 (HildonPannableArea does not listen to
1837 GtkAdjustment "change" signals)
1839 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1841 * doc/hildon-sections.txt
1842 * src/hildon-window-private.h
1843 * src/hildon-window.h
1844 * src/hildon-window.c (hildon_window_init)
1845 (hildon_window_realize, hildon_window_unrealize)
1846 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1847 (hildon_window_size_request, hildon_window_size_allocate)
1848 (hildon_window_forall, hildon_window_show_all)
1849 (hildon_window_destroy, +paint_edit_toolbar)
1850 (+hildon_window_set_edit_toolbar):
1851 New hildon_window_set_edit_toolbar() method, to add a
1852 HildonEditToolbar to a window without having to pack it manually.
1854 Reorganize hildon_window_size_allocate()
1856 * src/hildon-edit-toolbar.c: Update documentation.
1858 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1859 example to use the new API.
1861 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1863 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1865 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1866 Remove from stack before calling parent's hide.
1868 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1870 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1871 window is removed from the middle of the stack, update the
1872 transiency of the previous one.
1874 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1877 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1879 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1880 block/unblock the signal handler if it's not actually being used.
1881 Fixes some critical warnings.
1883 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1885 Based on a patch by Iván Gómez (igomez@igalia.com)
1887 * src/hildon-banner.c
1891 * src/hildon-pannable-area.c
1892 * src/hildon-picker-dialog.c
1893 * src/hildon-wizard-dialog.h
1894 * src/hildon-wizard-dialog.c: Documentation updates.
1896 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1897 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1899 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1901 * configure.ac: post release version bump.
1902 * debian/changelog: version bump.
1904 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1909 * configure.ac: Bump version.
1910 * debian/changelog: Updates.
1912 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1914 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1915 a stock icon nor change the relief of the back arrow.
1917 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1918 graphics from theme)
1920 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1922 * src/hildon-button.c (hildon_button_set_alignment): Use
1923 priv->alignment if the button has no child yet.
1925 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1927 * src/hildon-button.c: (hildon_button_init): Set the
1928 button style during initialization to give it the proper
1931 Fixes: NB#99713 (HildonButton value label color is wrong)
1933 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1935 * src/hildon-touch-selector.c: Document
1936 hildon_touch_selector_center_on_selected()
1938 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1940 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1941 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1942 all menu items, but not the menu itself.
1943 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1944 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1945 items after adding them to the menu so keyboard accelerators work.
1946 (hildon_app_menu_show): Don't show the menu if it contains items
1947 but none of them are visible.
1949 * examples/hildon-app-menu-example.c (create_menu): Use
1950 gtk_widget_show_all() to show all menu items.
1952 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1954 * src/hildon-picker-dialog.c:
1955 (-_update_title_on_selector_changed_cb),
1956 (-_dialog_update_title): Removed.
1957 (_select_on_selector_changed_cb), (_on_dialog_response),
1958 (on_selector_columns_changed): Do not update the dialog title.
1959 (setup_interaction_mode): Do not connect to
1960 HildonTouchSelector::changed signal if there's a "done" button, as
1961 the dialog title doesn't need to be updated.
1963 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1966 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1968 Patch by Kristian Rietveld (kris@imendio.com)
1970 * src/hildon-touch-selector.c: (_create_new_column): Use new
1971 GtkTreeView::hildon-row-tapped signal to react to user interactions
1972 instead of ::changed.
1974 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1975 with some dynamic tree model)
1977 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1979 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1980 (+screen_size_changed, +label_size_request)
1981 (hildon_note_class_init): Make the Hildon information note have a
1982 minimum height, and make its text hvae a maximum width.
1984 Fixes: NB#98614 (Hildon information note (background) should have
1985 minimum height and maximum text width)
1987 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1989 * src/hildon-banner.h
1990 * src/hildon-banner.c (hildon_banner_show_information)
1991 (hildon_banner_show_informationf)
1992 (hildon_banner_show_information_with_markup): Update documentation
1993 to reflect that the icon_name parameter is not used anymore.
1994 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1995 Remove all code from these functions and mark them as deprecated.
1996 (hildon_banner_show_progress): Mark as deprecated.
1998 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2000 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2002 * src/hildon-pannable-area.c,
2003 (hildon_pannable_area_class_init),
2004 (tranparency_color),
2005 (hildon_pannable_draw_vscroll),
2006 (hildon_pannable_draw_hscroll),
2007 (hildon_pannable_area_expose_event): Added a new way to render the
2008 scrollbars of the pannable area avoiding using cairo at all. This
2009 way we improve the performance of the pannable area rendering. The
2010 cairo rendering procedure is still in the code, we can control
2011 which one to use changing the value of the define
2012 USE_CAIRO_SCROLLBARS.
2014 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2016 * configure.ac: post release version bump.
2017 * debian/changelog: version bump.
2019 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2024 * configure.ac: Bump version.
2025 * debian/changelog: Updates.
2027 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2030 banners instead of destroying them when they receive a button
2033 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2035 Reverted commit 34028, it was causing regressions, probably the
2036 topmost condition is not correct, we have to check it in more
2037 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2038 propagation of button press events)
2040 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2042 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2043 that the selection is not empty before attempting to retrieve the
2044 current ampm selection.
2046 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2048 * src/hildon-picker-button.c:
2049 (hildon_picker_button_on_dialog_response): Directly update the
2050 button contents when required instead of calling _selection_changed.
2052 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2054 * src/hildon-program.c (hildon_program_update_top_most): Update
2055 'is-topmost' property also when wm_hints is not set.
2057 Fixes: NB#98383 (is-topmost signal is not emitted when task
2058 switcher is clicked.)
2060 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2062 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2066 * src/hildon-animation-actor.c,
2067 * src/hildon-animation-actor.h: Added the animation actor class,
2068 this widget represents an animation actor for WM-assisted
2069 animation effects in the Hildon framework.
2071 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2073 * src/hildon-window-stack-private.h
2074 * src/hildon-window-stack.c
2075 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2076 Avoid calling gtk_widget_show() again indirectly from
2077 hildon_stackable_window_show()
2079 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2081 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2084 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2086 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2087 (hildon_time_selector_init): Move the construction of the hours and
2088 ampm columns to the constructor to preserve the order the columns
2091 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2093 * src/hildon-picker-dialog.c:
2094 (hildon_picker_dialog_class_init): Connect a realize method.
2095 (+hildon_picker_dialog_realize): Setup the interaction mode here
2097 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2098 yet, do it during the realize instead.
2099 (_on_dialog_response):
2100 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2101 if the widget is not realized, to avoid the dialog response before it
2104 Avoid premature responses in the HildonPickerDialog that can cause it
2105 to be hidden before it's even shown.
2107 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2109 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2110 (on_selector_columns_changed), (requires_done_button),
2111 (+prepare_action_area), (setup_interaction_mode),
2112 (_hildon_picker_dialog_set_selector):
2114 Split the interaction mode setup into preparation of the
2115 action area (prepare_action_area()) and the connection of
2116 the signals in setup_interaction_mode() and update the code to
2119 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2121 * src/hildon-pannable-area.c,
2122 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2123 per second to 15, we will check if this is ok regarding
2126 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2128 * src/hildon-pannable-area.c,
2129 (hildon_pannable_axis_scroll): Avoid resize if we already have
2130 reached overshoot_max.
2132 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2134 * src/hildon-pannable-area.c,
2135 (hildon_pannable_area_init),
2136 (hildon_pannable_area_realize),
2137 (hildon_pannable_area_size_allocate),
2138 (hildon_pannable_area_map),
2139 (hildon_pannable_area_unmap),
2140 (hildon_pannable_draw_vscroll),
2141 (hildon_pannable_draw_hscroll),
2142 (hildon_pannable_area_expose_event),
2143 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2144 pannable are to avoid the expose events go to the window and
2145 redraw the window. We save this way that part of the stack and the
2146 paint_boxes. We had to change the positions of the elements when
2149 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2151 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2152 * src/hildon-color-chooser-dialog.c:
2153 (hildon_color_chooser_dialog_init):
2154 * src/hildon-font-selection-dialog.c:
2155 (hildon_font_selection_dialog_init),
2156 (hildon_font_selection_dialog_show_preview):
2157 * src/hildon-get-password-dialog.c:
2158 * src/hildon-login-dialog.c:
2159 * src/hildon-set-password-dialog.c:
2160 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2161 * src/hildon-time-picker.c: (hildon_time_picker_init):
2163 Remove obsolete logical string IDs and update to the appropriate ones.
2165 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2167 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2169 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2170 that happens if the window hasn't been realized yet.
2172 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2173 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2175 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2177 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2178 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2181 Fixes: NB#98537 (Device hangs in account settings dialog)
2183 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2185 * configure.ac: post release version bump.
2186 * debian/changelog: version bump
2188 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2193 * configure.ac: Bump version.
2194 * debian/changelog: Updates.
2196 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2198 Added a new function to the HildonTimeButton widget that allows to
2199 change the step of the minutes in the selector associated with the
2200 button: hildon_time_button_new_step
2202 * src/hildon-time-button.c,
2203 (hildon_time_button_init),
2204 (hildon_time_button_new),
2205 (hildon_time_button_new_step):
2206 * src/hildon-time-button.h: Added the new function and refactored
2208 * examples/hildon-time-button-example.c,
2209 (main): We have replaced the function without parameters with the
2210 function with the steps set to 5
2212 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2214 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2216 * src/hildon-time-selector.c,
2217 (hildon_time_selector_class_init),
2218 (hildon_time_selector_constructor),
2219 (hildon_time_selector_get_property),
2220 (hildon_time_selector_set_property),
2221 (_create_minutes_model),
2222 (hildon_time_selector_new_step),
2223 (hildon_time_selector_set_time),
2224 * src/hildon-time-selector.h: Added a new property to the
2225 HildonTimeSelector (minutes-step), we use that property to control
2226 the steps between the minutes in the list of the selector. We have
2227 added a new function to the API to create a widget changing the
2228 step: hildon_time_selector_new_step.
2230 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2232 * src/hildon-time-selector.c,
2233 (hildon_time_selector_class_init),
2234 (hildon_time_selector_constructor),
2235 (hildon_time_selector_init): Overrided the construct function when
2236 creating the time selector object. We have moved the minutes model
2237 handling code from the init to the new construction function:
2238 hildon_time_selector_constructor.
2240 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2242 * examples/hildon-date-button-example.c: (main): Use the new
2243 hildon_date_button_new_with_year_range() method in the example.
2244 * src/hildon-date-button.c:
2245 (+hildon_date_button_new_with_year_range): New public method
2246 to conveniently create a HildonDateButton with a custom year range
2247 in its HildonDateSelector.
2248 * src/hildon-date-button.h: Add the new public method definition.
2250 Fixes: NB#97908 (Not possible to change the year range in
2251 HildonDateSelector/HildonDateButton)
2253 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2255 * src/hildon-date-selector.c:
2256 (+hildon_date_selector_set_property),
2257 (+hildon_date_selector_get_property),
2258 (hildon_date_selector_class_init): Install new properties "min-year"
2259 and "max-year" to define boundaries for the year column.
2260 (_create_year_model): Use the boundary properties to populate the model.
2261 (+hildon_date_selector_new_with_year_range): New public method to
2262 create a HildonDateSelector with a user defined year range.
2263 (hildon_date_selector_select_current_date): Use the new boundaries to
2264 calculate the iterator of current year.
2265 * src/hildon-date-selector.h: Add the new public method definition.
2267 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2269 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2270 Install a constructor method.
2271 (+hildon_date_selector_construct_ui): construct the widget.
2272 (+hildon_date_selector_constructor): new constructor.
2273 (+hildon_date_selector_init): move out widget construction code to
2274 the new constructor.
2276 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2278 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2279 that there's actually a month or year selected before obtaining them.
2280 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2281 of the HildonTouchSelector::changed signal, as it was emitted on every
2282 single item selection.
2284 Fix some warnings and possible crashers due to the selection restoring.
2286 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2288 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2289 the signal handlers only after creating the dialog instead of on every
2292 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2294 * src/hildon-button.c (hildon_button_init)
2295 * src/hildon-check-button.c (hildon_check_button_init)
2296 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2297 focus when clicked by default.
2299 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2301 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2304 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2306 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2307 Alejandro G. Castro (alex@igalia.com)
2309 * src/hildon-picker-dialog.c:
2310 (hildon_picker_dialog_class_init): install new "center-on-show"
2312 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2313 (hildon_picker_dialog_set_property): add setter code for the new
2315 (hildon_picker_dialog_get_property): add getter code for the new
2317 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2318 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2321 Fixes: NB#92849 (Selected item is not always visible when
2322 HildonTouchSelector is shown)
2324 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2326 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2327 Alejandro G. Castro (alex@igalia.com)
2329 * src/hildon-touch-selector.c:
2330 (_create_new_column): Do not connect to the "realize" signal of the
2332 (hildon_touch_selector_append_column): center on the selected items
2333 when a new column is appended.
2334 (hildon_touch_selector_select_iter): Factor out the code to select a
2335 column to hildon_touch_selector_scroll_to().
2336 (+search_nearest_element): Method to retrieve the nearest selected
2337 element to the visible area of the pannable area in a column.
2338 (+on_realize_cb): scroll to the initially selected item.
2339 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2340 the pannable area is realized, otherwise delay this until it is.
2341 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2342 selected items of a given column.
2343 (+hildon_touch_selector_center_on_selected): Public method to center
2344 all columns on the nearest selected item.
2345 * src/hildon-touch-selector.h: Add definition for
2346 hildon_touch_selector_center_on_selected().
2348 Implement public API to ensure visibility of all selected items in
2349 a HildonTouchSelector.
2351 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2353 Fixed a problem in the fading when calling the scroll_to API, and
2354 improve scrollbar fading handling.
2356 * src/hildon-pannable-area.c,
2357 (hildon_pannable_area_grab_notify): avoid the timeout when the
2359 (hildon_pannable_area_button_press_cb),
2360 (hildon_pannable_area_motion_notify_cb): Code style changes.
2361 (hildon_pannable_area_button_release_cb): Review the conditions
2362 when releasing the mouse button to avoid unrequired fading
2364 (hildon_pannable_area_scroll_to): Do not calculate and set the
2365 velocity if the scroll is not required.
2367 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2369 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2370 Don't check whether the new selector is NULL: it cannot be.
2371 Hold a reference to the selector while doing the replacement.
2373 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2375 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2376 unnecessary size_request in a removed widget.
2378 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2380 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2381 an unnecessary reference tracking that was leaking.
2383 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2385 Added delayed motion notify event handling, this way we can
2386 discard redrawing if more than 25 events arrive per second.
2388 * src/hildon-pannable-area.c,
2389 (hildon_pannable_area_init): Initialized the new private atributes
2390 controlling this timeout
2391 (hildon_pannable_area_dispose): Remove the timeout that controls
2392 the motion notify events.
2393 (hildon_pannable_area_scroll): Added a condition to control the
2394 use of the acceleration.
2395 (hildon_pannable_area_motion_event_scroll_timeout),
2396 (hildon_pannable_area_motion_event_scroll): Added this two
2397 functions, they handle the motion notify events inside the
2399 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2400 to the scroll method with the new function.
2401 (hildon_pannable_area_button_release_cb): We have to remove the
2402 timeout handler and move to the last position if the last motion
2403 events were not handled.
2405 Fixes: NB#97028 (Pannable area updates on every motion event)
2407 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2409 * src/hildon-pannable-area.c,
2410 (hildon_pannable_area_get_topmost): Added a new parameter to
2411 filter the the windows that do not include those events. Added
2412 also a condition when finding the window to filter windows that do
2413 not ask for those events.
2414 (hildon_pannable_area_button_press_cb),
2415 (hildon_pannable_area_button_release_cb),
2416 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2417 topmost function, we have added the new parameter.
2419 Fixes: NB#97458 (Pannable area prevents propagation of button
2422 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2424 * src/hildon-pannable-area.c,
2425 (hildon_pannable_area_initial_effect): Added controls before
2426 launching the timeout and the idle functions.
2427 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2428 of the method, in some situations it can return with TRUE and 0 in
2430 (hildon_pannable_area_button_press_cb): We do not need to set
2431 DELAY for fading out here.
2433 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2435 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2437 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2438 post-cleaning if the selection is not NULL.
2440 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2442 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2443 all items before restoring the selection.
2445 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2447 * src/hildon-touch-selector.c:
2448 (+hildon_touch_selector_unselect_all):
2449 * src/hildon-touch-selector.h: New API to unselect all items in a
2450 column of the touch selector.
2452 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2454 * src/hildon-pannable-area.c,
2455 (hildon_pannable_area_redraw): Added a call to the refresh
2456 function inside the redraw because apparently in some cases the
2457 change in the adjustment does not imply a size allocate.
2459 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2460 despite the view not being scrollable)
2462 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2464 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2465 leak. Check for NULL before attempting to set the window title.
2467 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2469 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2470 whether to show or not the 'Done' button each time the dialog is
2471 shown, as it depends on the HildonTouchSelector selection mode.
2473 Fixes: NB#96226 (In multiple selection mode Done button is shown
2474 sometimes in listpicker)
2476 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2478 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2479 for the number of columns in the HildonTouchSelector more than once.
2481 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2483 * src/hildon-touch-selector.c: Minor documentation fixes.
2485 * src/hildon-picker-dialog.c (+_dialog_update_title)
2486 (_select_on_selector_changed_cb)
2487 (_update_title_on_selector_changed_cb)
2488 (on_selector_columns_changed): Update dialog title when there's no
2489 'Done' button and also when the number of columns in the selector
2493 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2494 (+_selection_changed, hildon_picker_button_on_dialog_response)
2495 (hildon_picker_button_selector_selection_changed)
2496 (+hildon_picker_button_selector_columns_changed)
2497 (hildon_picker_button_set_selector): Update button value and emit
2498 'value-changed' when the number of columns in the selector
2502 Fixes: NB#96225 (Dialog titles are not shown according to the
2503 values selected in the list picker)
2505 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2507 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2508 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2509 New "arrow-width" and "arrow-height" style properties to set the
2510 size of the arrow button.
2511 Set name of arrow button ("hildon-edit-toolbar-arrow").
2513 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2514 graphics from theme)
2516 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2518 * src/hildon-picker-button.c:
2519 (hildon_picker_button_selector_selection_changed): Use
2520 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2521 the dialog is present.
2523 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2524 the selection is accepted in the dialog)
2526 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2528 * src/hildon-color-chooser.h
2529 * src/hildon-color-chooser-dialog.h:
2530 Added G_BEGIN_DECLS and G_END_DECLS
2532 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2534 (_clean_current_selection): plug a leak in the list.
2536 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2538 * src/hildon-picker-dialog.c:
2539 (+free_path_list): Method to free a GList of GtkTreePaths.
2540 (_clean_current_selection), (_save_current_selection),
2541 (_restore_current_selection): Save the current selection in
2542 as a list of lists, to support multiple selection properly.
2544 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2546 patch by Claudio Saavedra (csaavedra@igalia.com)
2548 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2549 Store the press position.
2550 (+hildon_text_view_button_release_event): If the release position is
2551 close enough to the press position, move the cursor here. Otherwise,
2553 (hildon_text_view_class_init): Override GtkTextView press, release, and
2554 motion event handlers, disabling this way text selection through
2555 pointer interaction, and allowing the container widget to handle the
2558 Fixes: NB#95828 (HildonTextView functionality)
2560 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2562 Based on a patch by Iván Gómez (igomez@igalia.com)
2564 * src/hildon-button.[ch]
2565 * src/hildon-calendar.c
2566 * src/hildon-check-button.c
2567 * src/hildon-date-editor.c
2568 * src/hildon-date-selector.c
2569 * src/hildon-picker-button.c
2570 * src/hildon-time-editor.c
2571 * src/hildon-time-selector.c
2572 * src/hildon-touch-selector.[ch]:
2573 Documentation updates
2575 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2577 * src/hildon-pannable-area.c,
2578 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2579 threshold, it was required due to X events handling.
2581 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2583 * src/hildon-pannable-area.c,
2584 (hildon_pannable_area_grab_notify),
2585 (hildon_pannable_area_initial_effect),
2586 (hildon_pannable_area_button_press_cb),
2587 (hildon_pannable_area_button_release_cb),
2588 (hildon_pannable_area_scroll_cb),
2589 (hildon_pannable_area_scroll_to): Review the timeout management of
2590 the scrollbar, the frecuency was incorrectly set.
2592 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2594 * src/hildon-picker-button.c:
2595 (+hildon_picker_button_on_dialog_response),
2596 (hildon_picker_button_clicked): Present the dialog instead of
2597 running it with gtk_dialog_run().
2599 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2602 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2604 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2605 (hildon_app_menu_finalize): When a window is hidden it doesn't
2606 emit notify::is-topmost, so make sure than the menu also
2607 disappears in that case.
2608 (parent_window_topmost_notify): Renamed from parent_window_hidden
2610 Fixes: NB#94460 (stackable window's menu is not closed when its
2613 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2615 * src/hildon-touch-selector-entry.c:
2616 (+hildon_touch_selector_entry_set_input_mode),
2617 (+hildon_touch_selector_entry_get_input_mode):
2618 * src/hildon-touch-selector-entry.h: New methods to access the input
2619 mode in the selector's entry.
2621 Fixes: NB#93410 (API required for setting IM mode in
2622 HildonTouchSelectorEntry)
2624 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2626 * configure.ac: post release version bump.
2627 * debian/changelog: version bump
2629 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2634 * configure.ac: Bump version.
2635 * debian/changelog: Updates.
2637 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2639 * src/hildon-touch-selector.c:
2640 (_hildon_touch_selector_has_multiple_selection): No need
2641 to initialize the variables here.
2643 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2645 * src/hildon-note-private.h
2646 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2647 (hildon_note_finalize, hildon_note_rebuild): Close information
2648 notes when they receive a button press.
2650 Fixes: NB#89890 (Information notes does not get disappeared after
2653 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2655 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2656 mark from the wizard title, as it's not really necessary. Also,
2657 do not display the page title if not set.
2659 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2661 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2662 (parent_window_hidden): Use the window's "is-topmost" property to
2663 detect when to hide the menu.
2665 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2667 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2668 (hildon_app_menu_finalize): If the parent window of the menu is
2669 hidden, hide the menu too.
2671 Fixes: NB#94460 (stackable window's menu is not closed when its
2674 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2677 * debian/libhildon1-examples.install
2679 * examples/Makefile.am:
2680 Use dh_install to install all examples.
2681 Use DEB_SRCDIR instead of defining SOURCE_DIR
2683 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2685 * configure.ac: post release version bump.
2686 * debian/changelog: version bump
2688 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2693 * configure.ac: bump version
2694 * debian/changelog: updates
2695 * debian/control: bump gtk+ dependency
2697 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2699 patch by Christian Dywan (christian@imendio.com)
2701 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2702 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2704 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2706 * src/hildon-check-button.c (hildon_check_button_init)
2707 (hildon_check_button_class_init, hildon_check_button_style_set)
2708 (hildon_check_button_apply_style):
2709 New "checkbox-size" style property.
2711 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2712 larger / configurable size)
2714 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2716 * configure.ac: post release version bump.
2717 * debian/changelog: version bump
2719 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2724 * configure.ac: bump version
2725 * debian/changelog: updates
2727 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2729 * doc/hildon-sections.txt
2730 * src/hildon-pannable-area.c
2731 * src/hildon-program.c
2732 * src/hildon-time-editor.c
2733 * src/hildon-touch-selector-entry.c:
2735 More documentation updates.
2737 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2739 * doc/hildon-sections.txt
2740 * src/hildon-caption.c
2741 * src/hildon-code-dialog.c
2742 * src/hildon-color-button.c
2743 * src/hildon-controlbar.c
2744 * src/hildon-date-editor.c
2745 * src/hildon-date-selector.c
2746 * src/hildon-edit-toolbar.c
2747 * src/hildon-find-toolbar.c
2748 * src/hildon-font-selection-dialog.c
2750 * src/hildon-program.c
2751 * src/hildon-range-editor.c
2752 * src/hildon-seekbar.c
2753 * src/hildon-time-editor.c
2754 * src/hildon-time-selector.c
2755 * src/hildon-volumebar-range.c
2756 * src/hildon-volumebar.c
2757 * src/hildon-vvolumebar.c
2758 * src/hildon-weekday-picker.c
2759 * src/hildon-window.c
2760 * src/hildon-wizard-dialog.c:
2762 Lots of documentation fixes.
2764 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2766 Patch contributed by Iván Gómez (igomez@igalia.com)
2768 * src/hildon-check-button.c:
2769 * src/hildon-date-button.c:
2770 * src/hildon-date-selector.c:
2771 * src/hildon-dialog.c:
2772 * src/hildon-edit-toolbar.c:
2773 * src/hildon-entry.c:
2774 * src/hildon-picker-button.c:
2775 * src/hildon-program.c:
2776 * src/hildon-text-view.c:
2777 * src/hildon-time-button.c:
2778 * src/hildon-touch-selector-entry.c:
2779 * src/hildon-window-stack.c:
2781 Add more "since" tags to the new API.
2783 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2785 * doc/hildon-sections.txt: Add below method.
2786 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2787 version for the hildonized scale.
2788 * src/hildon-gtk.h: Add the definition.
2790 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2792 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2794 * doc/hildon-sections.txt: Add missing entries for new methods.
2796 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2798 Added API to pannable are in order to get its adjustments. We
2799 added two properties to manage the values we had in the private
2802 * src/hildon-pannable-area.c:
2803 (hildon_pannable_area_class_init): Added hadjustment and
2804 vadjustment properties in order to expose horizontal and vertical
2806 (hildon_pannable_area_get_property),
2807 (hildon_pannable_area_set_property): Added code to handle the new
2809 (hildon_pannable_area_get_hadjustment),
2810 (hildon_pannable_area_get_vadjustment): API functions to get the
2812 * src/hildon-pannable-area.h:
2813 (hildon_pannable_area_get_hadjustment),
2814 (hildon_pannable_area_get_vadjustment): API functions to get the
2817 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2819 Fixed some leaks, after valgrinding.
2821 * src/hildon-touch-selector.c:
2822 (_default_print_func): Fixed a leak.
2823 (hildon_touch_selector_append_column): Fixed a leak.
2824 * src/hildon-date-button.c:
2825 (hildon_date_button_init): Fixed a leak.
2826 * src/hildon-date-selector.c
2827 (hildon_date_selector_finalize): Fixed a leak.
2829 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2831 Based on a patch by Christian Dywan (christian@imendio.com)
2833 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2835 * src/hildon-gtk.h: Add definition.
2837 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2839 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2841 * src/hildon-picker-button.c: (hildon_picker_button_init),
2842 (hildon_picker_button_new): Set the HildonButton::style property
2843 in the init method, to propagate the value to the derived classes.
2845 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2847 * src/hildon-button.c: (hildon_button_class_init): Do not make
2848 the "style" property a construct property.
2850 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2852 * src/hildon-wizard-dialog.h
2853 * src/hildon-wizard-dialog.c
2854 (hildon_wizard_dialog_set_forward_page_func)
2855 * src/hildon-pannable-area.h
2856 * src/hildon-pannable-area.c
2857 (hildon_pannable_area_set_size_request_policy):
2858 Documentation fixes.
2860 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2862 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2864 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2866 * doc/hildon-sections.txt: Added sections file.
2868 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2871 * src/*.[ch]: Updates.
2873 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2875 * examples/hildon-progress-indicator-example.c: new file
2876 * examples/Makefile.am: include the new example program
2878 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2880 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2882 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2884 * configure.ac: post release version bump
2885 * debian/changelog: version bump
2887 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2892 * configure.ac: bump version
2893 * debian/changelog: updates
2894 * debian/control: bump gtk+ dependency
2896 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2898 * src/hildon-dialog.c: Mark as deprecated.
2899 * src/hildon-dialog.h: Mark as deprecated.
2900 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2901 from HildonDialog and still work, even if
2902 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2903 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2905 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2906 maemo changes) instead)
2908 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2910 * src/hildon-pannable_area.h:
2911 * src/hildon-pannable_area.c:
2912 (hildon_pannable_area_class_init),
2913 (hildon_pannable_area_set_property),
2914 (hildon_pannable_area_get_property),
2915 (hildon_pannable_area_size_request),
2916 (hildon_pannable_area_get_size_request_policy),
2917 (hildon_pannable_area_set_size_request_policy): Added new API
2918 allowing applications to control the request policy. Now they can
2919 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2920 children allocation (HILDON_MOVEMENT_CHILDREN).
2922 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2926 (hildon_gtk_tree_view_set_ui_mode)
2927 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2928 mode of treeviews and iconviews.
2930 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2932 * src/hildon-touch-selector-entry.c:
2933 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2934 of a GtkEntry to get proper theming.
2936 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2937 widget, not GtkEntry)
2939 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2941 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2942 no HildonWizardDialogPageFunc.
2944 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2946 Patch contributed by Iván Gómez (igomez@igalia.com)
2948 * src/hildon-app-menu.c:
2949 * src/hildon-button.c:
2950 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2951 * src/hildon-stackable-window.c:
2952 * src/hildon-time-selector.c:
2953 * src/hildon-touch-selector.c:
2954 * src/hildon-window.c:
2956 Add more "since" tags to the new API in hildon 2.2.
2958 2008-12-05 Tim Janik <timj@imendio.com>
2960 Patch contributed by Christian Dywan (christian@imendio.com)
2962 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2963 HildonSizeType, which are supplied by Gtk+ now.
2965 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2967 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2968 (with maemo changes) instead)
2970 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2972 Patch contributed by Iván Gómez (igomez@igalia.com)
2974 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2977 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2979 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2980 (some_page_func), (main): Update the example to use a
2981 HildonWizardDialogPageFunc function.
2983 * src/hildon-wizard-dialog-private.h: Add private data for
2984 the HildonWizardDialogPageFunc function usage.
2986 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2987 (destroy), (hildon_wizard_dialog_init), (response),
2988 (hildon_wizard_dialog_set_forward_page_func):
2989 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2990 that applications can use to stop a HildonWizardDialog to jump to
2993 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2996 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2998 * src/hildon-program.h
2999 * src/hildon-program-private.h
3000 * src/hildon-program.c (hildon_program_init)
3001 (hildon_program_set_common_app_menu)
3002 (hildon_program_get_common_app_menu):
3003 New API for setting a common HildonAppMenu for all
3004 HildonStackableWindows registered with the HildonProgram.
3006 * src/hildon-stackable-window.c
3007 (hildon_stackable_window_toggle_menu):
3008 Use the common HildonAppMenu if a window doesn't have a specific
3011 * src/hildon-app-menu-private.h
3012 * src/hildon-app-menu.c
3013 (hildon_app_menu_get_parent_window):
3014 Function to obtain the window a HildonAppMenu is attached to.
3015 (hildon_app_menu_set_parent_window):
3016 Hide the menu if the parent window is set to NULL.
3018 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3020 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3021 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3022 search widget to popup.
3024 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3026 * configure.ac: post release version bump
3027 * debian/changelog: version bump
3029 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3034 * configure.ac: bump version
3035 * debian/changelog: updates
3037 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3039 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3041 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3042 (hildon_window_stack_window_realized)
3043 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3044 Set the leader GdkWindow when a window is stacked and realized,
3045 unset it when it's unstacked.
3046 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3048 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3050 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3052 * src/hildon-stackable-window.h
3053 * src/hildon-window-stack.h:
3054 Protect definition of HildonWindowStack using the preprocessor.
3056 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3058 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3059 Fix warning if all menu items are hidden.
3061 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3063 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3065 * src/hildon-controlbar.c:
3066 * src/hildon-hvolumebar.c:
3067 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3068 Multiple scale size defines updates.
3070 Fixes: NB#94322 (Scale Updates)
3072 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3074 * examples/hildon-app-menu-example.c (create_menu)
3075 Show items after adding them to the menu, as in the future the
3076 menu will no longer call gtk_widget_show() on the added items.
3078 * src/hildon-app-menu.c:
3079 Update example as explained above.
3081 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3083 * src/hildon-app-menu.c
3084 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3085 Make sure that all menu items have finger height.
3087 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3089 * src/hildon-picker-dialog.c:
3090 (_on_dialog_response), (_save_current_selection),
3091 (_restore_current_selection), (_clean_current_selection),
3092 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3093 Defined new functions in order to save the current internal selector
3094 selection previous open the dialog, in case that the use cancel the
3095 interaction, so the widget restores the previous selection.
3097 Fixes: NB#92032 (In calendar application, date values in 'new event'
3100 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3102 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3104 * src/hildon-button.c: Add a reference to the button examples in
3105 hildon-button-example.c
3107 * examples/hildon-button-example.c: Added examples of the most
3108 common button layouts.
3110 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3112 * src/hildon-app-menu.c (hildon_app_menu_show)
3113 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3115 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3117 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3119 * src/hildon-picker-dialog.c:
3120 (hildon_picker_dialog_init): Initialize the signal id for
3121 HildonTouchSelector::columns-changed.
3122 (+on_selector_columns_changed): Set up the interaction mode everytime a
3123 column is added or removed from the HildonTouchSelector.
3124 (_hildon_picker_dialog_set_selector): Connect to
3125 HildonTouchSelector::columns-changed and keep track of it.
3127 Make sure to update the interaction mode of the dialog everytime a
3128 column is added or removed in the HildonTouchSelector.
3130 Fixes: NB#93228 (Done button is not shown always in listpicker)
3132 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3134 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3135 a new ::columns-changed signal.
3136 (hildon_touch_selector_append_column): Emit ::columns-changed.
3137 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3139 Add a ::columns-changed signal, emitted when the number of columns in a
3140 HildonTouchSelector changes.
3142 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3144 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3145 (_hildon_picker_dialog_set_selector): Factor out the code
3146 to set up the dialog interaction mode.
3148 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3150 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3151 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3152 to signal_changed_id.
3154 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3156 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3159 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3161 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3162 Updated the logical ids related to ampm format, as now it is required to
3163 show it correctly localized even on languages with no default
3164 abbreviations for am or pm
3165 (_check_am_pm_format): check correctly the 24h format gconf property
3167 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3169 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3171 * src/hildon-button.c: Documentation updates.
3173 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3175 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3176 * src/hildon-caption.c: (hildon_caption_class_init):
3177 * src/hildon-color-button.c: (hildon_color_button_class_init):
3178 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3179 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3180 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3181 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3183 Remove deprecated GTK+ marshalers and replace them with the ones
3184 provided by GLib, for those available, add a marshaler for
3185 BOOLEAN:VOID, which is not available in GLib, and use it.
3187 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3189 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3190 the text from the previous column if there is no
3191 HildonTouchSelectorColumn::text-property set.
3193 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3195 * src/hildon-button.h
3196 * src/hildon-button.c (hildon_button_set_property)
3197 (hildon_button_get_property, hildon_button_class_init)
3198 (hildon_button_set_style, hildon_button_get_style):
3199 New "style" property to change the visual appearance of the
3202 * src/hildon-picker-button.c (hildon_picker_button_new):
3203 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3205 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3206 HildonButton look like PickerButton)
3208 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3210 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3211 column while building the default string.
3213 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3215 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3216 scroll indicator by default.
3218 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3220 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3222 * src/hildon-main.c: Fix the documentation for hildon_init()
3224 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3226 * doc/hildon-docs.sgml
3230 * src/hildon-window-stack-private.h
3231 * src/hildon-window-stack.h
3232 * src/hildon-window-stack.c:
3233 New HildonWindowStack object, that adds support for multiple
3234 stacks of windows per process.
3236 * src/hildon-stackable-window-private.h
3237 * src/hildon-stackable-window.h
3238 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3239 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3240 (hildon_stackable_window_show, hildon_stackable_window_hide)
3241 (hildon_stackable_window_class_init)
3242 (hildon_stackable_window_init):
3243 Use HildonWindowStack for stack management.
3245 * src/hildon-program.c (hildon_program_pop_window_stack)
3246 (hildon_program_peek_window_stack)
3247 (hildon_program_go_to_root_window):
3248 Add a fallback implementation to the deprecated functions using
3251 * examples/hildon-stackable-window-example.c:
3252 Use the new HildonWindowStack API.
3254 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3256 * src/hildon-stackable-window-private.h
3257 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3258 (hildon_stackable_window_hide, hildon_stackable_window_init):
3259 Remove all window stack management.
3261 * src/hildon-program-private.h
3262 * src/hildon-program.h
3263 * src/hildon-program.c (hildon_program_init)
3264 (hildon_program_pop_window_stack)
3265 (hildon_program_peek_window_stack)
3266 (hildon_program_go_to_root_window):
3267 Remove all window stack management and mark functions as
3270 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3272 * src/hildon-app-menu.c (hildon_app_menu_realize):
3273 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3275 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3277 * configure.ac: post release version bump
3278 * debian/changelog: version bump
3280 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3285 * configure.ac: bump version
3286 * debian/changelog: updates
3288 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3290 Based on initial code by Christian Dywan (christian@imendio.com)
3292 * doc/hildon-docs.sgml: Add section for hildon-main.
3293 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3294 * src/Makefile.am: Add new hildon-main.[ch]
3295 * src/hildon-defines.h: Update the icon sizes.
3296 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3297 new library initialization files and register icon sizes.
3298 * src/hildon-main.h: New declarations.
3299 * src/hildon.h: Include hildon-main.h
3301 Add new initialization functions to the library. These methods
3302 will register the hildon specific icon sizes and can be used in the
3303 future for other hildon specific bits.
3305 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3307 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3309 * src/hildon-window.c: (hildon_window_realize),
3310 (hildon_window_notify), (-hildon_window_update_title): Do not set
3311 the application name in the window title.
3313 Fixes: NB#89754 (Applications shouldn't display their names in the
3316 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3318 * src/hildon-note-private.h:
3319 * src/hildon-note.c: (hildon_note_set_property),
3320 (hildon_note_get_property), (hildon_note_class_init),
3321 (hildon_note_init), (hildon_note_finalize),
3322 (hildon_note_new_confirmation_with_icon_name),
3323 (hildon_note_new_information_with_icon_name):
3325 No need to mark as deprecated the actual code. Revert
3326 to avoid missing symbols in widgets using deprecated API.
3328 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3330 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3332 * src/hildon-volumebar.h
3333 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3334 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3336 * src/hildon-helper.h
3337 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3338 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3340 * examples/Makefile.am:
3341 Deprecate hildon-insensitive-example
3343 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3345 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3347 * examples/hildon-pannable-area-buttons-scroll-example.c:
3348 Make all buttons finger height
3350 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3352 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3354 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3355 update the day model only if it is really required, and to avoid the
3356 full-reconstruction aproach. Now it only add or remove the required days.
3358 The purpose of this is avoid superfluous HildonTouchSelector::changed
3361 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3362 with strange parameters)
3364 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3366 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3368 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3369 the WINDOW_TYPE property.
3371 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3373 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3376 Fix dependency to allow parallel compilation with make -jX
3378 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3380 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3381 color frame and some minor tweaks to make it more consistent with
3384 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3385 highlighted but not visible)
3387 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3389 * examples/Makefile.am: Fixed typo in the Makefile.am.
3391 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3393 Reviewed the use of MAEMO_GTK define, now we add the define in the
3394 compilation line, and we also add it to the pc file.
3396 * configure.ac: Added MAEMO_GTK define to the compilation command
3397 and removed it from the config.h.
3399 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3400 do not have to take care about this define if the library was
3404 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3406 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3408 * examples/Makefile.am,
3409 * examples/hildon-pannable-area-buttons-scroll-example.c,
3410 * examples/hildon-pannable-area-gesture-signals-example.c,
3411 * examples/hildon-pannable-area-scroll-jump-example.c,
3412 * examples/hildon-pannable-area-tree-view-example.c:
3413 Renamed the pannable area examples, now they have more meaningful
3416 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3418 * src/hildon-touch-selector.c:
3419 (hildon_touch_selector_set_column_selection_mode): Used of
3420 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3421 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3422 to avoid re-seting the same selection mode.
3424 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3425 breaks HildonPickerDialog)
3427 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3429 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3430 conditional in the Makefile.am
3432 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3434 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3435 Remove unused methods.
3437 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3439 * src/hildon-button.c (hildon_button_init):
3440 Make button images center-aligned by default
3442 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3445 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3446 activated, we have to think about how to deal with both defines
3447 MAEMO_GTK and MAEMO_CHANGES.
3449 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3451 * examples/hildon-app-menu-example.c (create_menu): Make all
3452 buttons finger size.
3454 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3456 Fixed the compilation without maemo gtk adding ifdefs with
3457 MAEMO_GTK define to the code, we have to check this version more
3460 * examples/Makefile.am: Added control to avoid some examples that
3461 just make sense with maemo gtk.
3464 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3465 hildon modes with the define.
3467 * examples/hildon-edit-toolbar-example.c,
3468 (create_icon_view): Create the icon view without hildon-gtk
3469 helpers if we are not using maemo gtk.
3471 * src/hildon-touch-selector.c,
3472 (_create_new_column): Create the treeview without hildon-gtk
3473 helpers if we are not using maemo gtk.
3475 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3477 * src/hildon-pnnable-area.c,
3478 (hildon_pannable_area_dispose),
3479 (hildon_pannable_area_button_press_cb),
3480 (hildon_pannable_area_child_mapped),
3481 (hildon_pannable_area_add),
3482 (hildon_pannable_area_remove): Added code to control the position
3483 of the event_window when adding and removing children from the
3484 pannable. We have to raise the event window when the child is
3487 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3488 selection mode using custom widget inside pannable)
3490 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3492 * configure.ac: post release version bump
3493 * debian/changelog: version bump
3495 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3500 * configure.ac: bump version
3501 * debian/changelog: updates
3503 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3505 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3506 search mode, in order to avoid lose the focus on the treeview when
3507 a hw key (like enter) is pressed.
3509 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3510 in HildonDateSelector dialog)
3512 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3514 * debian/rules: Added --enable-maintainer-mode
3515 * Makefile.am: Added ACLOCAL_AMFLAGS
3517 This allows to properly regenerate the Makefiles if you modify the
3518 configure.ac or any Makefile.am.
3520 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3522 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3523 properties, not needed at all.
3525 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3527 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3529 * src/hildon-note.c: (hildon_note_set_property),
3530 (hildon_note_get_property), (hildon_note_class_init),
3531 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3532 (hildon_note_new_confirmation_add_buttons): Remove icons.
3533 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3534 (hildon_note_new_information_with_icon_name): Deprecate.
3535 (hildon_note_new_confirmation): Act directly, without calling
3536 the deprecated constructor.
3537 (hildon_note_new_information): Act directly, without calling
3538 the deprecated constructor.
3539 * src/hildon-note.h: Mark deprecate methods as such.
3540 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3541 not run tests on the deprecated methods if built with deprecation
3544 Fixes: NB#91688 (Never show icons in information notes/confirmation
3547 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3549 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3550 (hildon_app_menu_key_press): Remove leftover usage of the
3551 private structure in HildonAppMenu struct.
3552 * src/hildon-app-menu.h: Remove leftover private structure
3553 from the HildonAppMenu struct.
3555 Fixes a crasher when using the HildonAppMenu.
3557 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3559 * src/hildon-picker-dialog.c: Use appropriate logical id
3560 for the default "Done" text.
3562 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3564 * configure.ac: post release version bump
3565 * debian/changelog: version bump
3567 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3569 Modified the way to scroll to the current selection just when the touch
3570 selector is shown on the screen, avoiding a g_idle. Added too a property
3571 to configure this behaviour. See hildon_pannable_area_jump_to_child
3572 documentation for more information.
3574 * src/hildon-touch-selector.c
3575 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3576 Added 'initial-scroll' property
3577 (hildon_touch_selector_set_property): Added
3578 (hildon_touch_selector_map): Removed as not required anymore
3579 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3580 only a concrete column, instead of iterate along all the columns
3582 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3587 * configure.ac: bump version
3588 * debian/changelog: updates
3590 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3592 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3593 compilation time warnings.
3595 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3597 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3598 the default value for HildonPannableArea::mov-mode to
3599 HILDON_PANNABLE_AREA_MODE_VERT.
3601 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3603 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3605 Reverting following commit:
3607 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3609 * src/hildon-app-menu-private.h
3610 * src/hildon-app-menu.[ch]
3611 * src/hildon-button.[ch]
3612 * src/hildon-check-button.[ch]
3613 * src/hildon-entry.[ch]
3614 * src/hildon-pannable-area.[ch]
3615 * src/hildon-text-view.[ch]:
3616 Added private field to the object's structure.
3618 because it causes an ABI breakage. We will need to introduce these
3619 changes later at some point. See NB#91636 for an extensive
3620 explanation and status.
3622 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3624 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3626 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3627 remove special cases that are no longer necessary.
3629 Fixes: NB#91016 (Change toolbar sizes, simplification)
3631 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3633 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3634 is shown in the cancel note.
3636 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3638 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3639 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3640 (hildon_seekbar_init): Remove steppers, remove expose event.
3641 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3643 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3645 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3647 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3648 label font to "SmallSystemFont" for vertically arranged buttons.
3650 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3653 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3655 * src/hildon-check-button.c
3656 (hildon_check_button_set_active, hildon_check_button_clicked):
3657 Don't access private parts directly, use getters instead.
3659 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3661 * src/hildon-check-button.c (hildon_check_button_new):
3662 Align the contents of the check button to the left.
3664 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3666 * src/hildon-pannable-area.c,
3667 (hildon_pannable_area_scroll_to),
3668 (hildon_pannable_area_jump_to),
3669 (hildon_pannable_area_scroll_to_child),
3670 (hildon_pannable_area_jump_to_child): Replace the mapped
3671 precondition of these functions with the realized, it is the
3672 correct state of the widget in this case. Changed the
3673 documentation according to this modification.
3675 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3677 Added a new EXTRA_CFLAGS option to add the deprecated define to
3678 the compilation command. This way we can avoid using the define in
3679 the documentation compilation.
3681 * configure.ac: Defined EXTRA_CFLAGS.
3683 * examples/Makefile.am:
3685 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3687 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3689 * src/hildon-picker-dialog.c:
3690 Defined a utility macro with the desired touch selector height
3691 Removed currently unused separator, and title_label variables from
3693 (hildon_picker_dialog_init): Removed code related to the creation
3694 of unused private variables title_label and separator.
3695 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3696 to ensure correct visualization of the touch selector inside the dialog.
3697 * src/hildon-touch-selector.c
3698 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3699 ensure a concrete height of the widget.
3701 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3704 * tests/Makefile.am:
3706 Remove spurious whitespaces.
3708 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3710 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3711 compilation warning after the cancel button removal.
3713 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3715 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3717 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3718 Makefile.am, that way we can choose not to compile some examples
3719 and tests of the deprecated widgets.
3721 * examples/Makefile.am: Divided the sources in deprecated and
3724 * src/Makefile.am: Added undef statement of the deprecated
3725 symbol to the enums file generation process.
3727 * src/hildon-color-chooser-dialog.c
3728 * src/hildon-color-chooser-dialog.h
3729 * src/hildon-color-button.c
3730 * src/hildon-color-button.h
3731 * src/hildon-color-chooser.c
3732 * src/hildon-color-chooser.h
3733 * src/hildon-controlbar.c
3734 * src/hildon-controlbar.h
3735 * src/hildon-date-editor.c
3736 * src/hildon-date-editor.h
3737 * src/hildon-hvolumebar.c
3738 * src/hildon-hvolumebar.h
3739 * src/hildon-private.c
3740 * src/hildon-private.h
3741 * src/hildon-range-editor.c
3742 * src/hildon-range-editor.h
3743 * src/hildon-seekbar.c
3744 * src/hildon-seekbar.h
3745 * src/hildon-time-editor.c
3746 * src/hildon-time-editor.h
3747 * src/hildon-time-picker.c
3748 * src/hildon-time-picker.h
3749 * src/hildon-volumebar.c
3750 * src/hildon-volumebar.h
3751 * src/hildon-vvolumebar.c
3752 * src/hildon-vvolumebar.h
3753 * src/hildon-bread-crumb-trail.h
3754 * src/hildon-bread-crumb-trail.c
3755 * src/hildon-calendar-popup.c
3756 * src/hildon-calendar-popup.h
3757 * src/hildon-weekday-picker.c:
3758 * src/hildon-weekday-picker.h:
3759 * src/hildon-bread-crumb-widget.c:
3760 * src/hildon-bread-crumb-widget.h:
3761 * src/hildon-bread-crumb.c:
3762 * src/hildon-bread-crumb.h:
3763 * src/hildon-calendar.c:
3764 * src/hildon-calendar.h:
3765 * src/hildon-caption.c:
3766 * src/hildon-code-dialog.c:
3767 * src/hildon-code-dialog.h:
3768 * src/hildon-font-selection-dialog.c:
3769 * src/hildon-font-selection-dialog.h:
3770 * src/hildon-get-password-dialog.c:
3771 * src/hildon-get-password-dialog.h:
3772 * src/hildon-login-dialog.c:
3773 * src/hildon-login-dialog.h:
3774 * src/hildon-number-editor.c:
3775 * src/hildon-number-editor.h:
3776 * src/hildon-set-password-dialog.c:
3777 * src/hildon-set-password-dialog.h:
3778 * src/hildon-sort-dialog.c:
3779 * src/hildon-sort-dialog.h: This is the list of deprecated
3782 * src/hildon-touch-selector.c:
3783 * src/hildon-window.c: Added undef statement to avoid compilation
3786 * tests/Makefile.am: Divided the sources in deprecated and
3789 * tests/check_test.c,
3790 (configure_tests): Marked the deprecated code that was adding
3791 suites with deprecated tests.
3793 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3795 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3797 * src/hildon-touch-selector.c: (_default_print_func): Do not
3798 duplicate a string returned by gtk_tree_model_get(), it is already
3801 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3804 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3806 * src/hildon-pannable-area.c
3807 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3808 method, it had problems when adding a widget with viewport the
3809 second time. Now checks if it already has a viewport and uses it.
3811 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3814 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3816 * src/hildon-pannable-area.c,
3817 (hildon_pannable_area_scroll_to),
3818 (hildon_pannable_area_jump_to),
3819 (hildon_pannable_area_scroll_to_child),
3820 (hildon_pannable_area_jump_to_child): Added a precondition to the
3821 scroll and jump to functions: the widget must be mapped before we
3822 can safely call these functions. We have also added documentation
3823 to the functions to explain how to use them in this situation.
3826 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3828 Reviewed the threading handling of the pannable widget, we have
3829 used the gdk_threads_add_timeout function instead of the usual
3830 glib handlers. This avoids some problems with the threads.
3832 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3833 (hildon_pannable_area_initial_effect),
3834 (hildon_pannable_area_scroll_indicator_fade),
3835 (hildon_pannable_area_button_press_cb),
3836 (hildon_pannable_area_timeout),
3837 (hildon_pannable_area_motion_notify_cb),
3838 (hildon_pannable_area_button_release_cb),
3839 (hildon_pannable_area_scroll_cb),
3840 (hildon_pannable_area_scroll_to): Removed the
3841 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3842 gdk_threads_add_timeout.
3844 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3846 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3851 * configure.ac: bump version
3852 * debian/changelog: updates
3854 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3856 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3857 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3858 * src/hildon-color-chooser-dialog.c:
3859 (hildon_color_chooser_dialog_init):
3860 * src/hildon-font-selection-dialog.c:
3861 (hildon_font_selection_dialog_init):
3862 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3864 Remove all cancel/close-like dialogs, as these are not going to be
3867 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3869 * src/hildon-note.c: (hildon_note_rebuild),
3870 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3873 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3875 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3877 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3878 sure all buttons are shown, even the Cancel/Close-like ones.
3880 Fixes: NB#90861 (Custom Confirmation dialogs should be
3881 protected from cancel button removal)
3883 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3885 * debian/control: Change libhildon1-examples dependency from libhildon1
3887 * debian/libhildon1-examples.install
3889 * Makefile.am: Modified the final install directory for the examples on
3890 package libhildon1-examples
3891 * Makefile.static: Update clean target in order to remove all the binary
3894 Changes suggested by Claudio after review new libhildon1-examples package
3896 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3898 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3899 * src/hildon-touch-selector.c: Ditto.
3901 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3903 * debian/control: Added new package libhildon1-examples, in order to pack
3904 the current hildon examples as documentation
3905 * debian/rules: Not to compress .c files, modify some includes on the
3906 examples (as normally are compiled locally, but when installed it will
3907 require to include the installed libhildon1 library), and rename
3909 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3910 install all the example files on the new example package
3911 * examples/Makefile.static: Added static makefile that can be used to
3912 compile the examples, once installed the new example package
3913 * examples: Most of the examples were modified in order to grant that
3914 all use only '#include "hildon.h"', in order to be easy to prepare
3915 it on the example package
3917 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3920 * debian/libhildon1-dev.install
3921 * debian/libhildon1-doc.install:
3922 Move all gtk-doc files to a separate libhildon1-doc package.
3924 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3926 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3928 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3930 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3932 * debian/rules: Fixed a error in order to avoid unnecessary calls
3933 to autogen.sh on package building
3935 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3937 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3939 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3941 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3944 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3946 * src/hildon-picker-button.c
3947 (hildon_picker_button_finalize):
3948 Free priv->done_button_text
3950 * src/hildon-time-button.c
3951 (hildon_time_button_set_time)
3952 * src/hildon-picker-button.c
3953 (hildon_picker_button_clicked)
3954 (hildon_picker_button_selector_selection_changed)
3955 (hildon_picker_button_set_selector)
3956 * src/hildon-date-button.c
3957 (hildon_date_button_set_date):
3958 Free strings returned by hildon_touch_selector_get_current_text()
3960 * src/hildon-button.c (hildon_button_construct_child):
3961 Fix leaks in priv->image and priv->label_box
3963 Fixes: NB#90535 (Memory leak in picker button)
3965 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3967 * src/hildon-button.c: (hildon_button_get_property): Do not access
3968 private elements directly, use getters instead.
3970 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3972 * src/hildon-app-menu-private.h
3973 * src/hildon-app-menu.c
3974 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3975 Store the menu's parent window.
3977 * src/hildon-stackable-window.c
3978 (hildon_stackable_window_toggle_menu)
3979 (hildon_stackable_window_finalize):
3980 Set the menu's parent window when the menu is shown, unset it when
3983 * src/hildon-app-menu.c
3984 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3985 (hildon_app_menu_class_init):
3986 Send unhandled keyboard accelerators to the parent window.
3988 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3990 * src/hildon-stackable-window.c
3991 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3993 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3995 * configure.ac: post release version bump
3997 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4000 * configure.ac: Bump version
4001 * debian/changelog: Updates
4002 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4005 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4007 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4010 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4011 GtkMenu with Hildon style.
4013 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4015 * src/hildon-picker-button.c:
4016 (hildon_picker_button_set_done_button_text): Set the dialog's
4017 done button text here as well.
4019 Fixes: NB#90232 (Picker button does not set the label on done button
4020 for the second time)
4022 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4024 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4027 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4029 * src/hildon-app-menu.c (hildon_app_menu_insert)
4030 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4031 the HildonAppMenu to be activatable using keyboard accelerators
4032 when the menu is not being shown.
4034 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4036 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4038 * src/hildon-stackable-window.c
4039 (hildon_stackable_window_show):
4040 Don't hide old windows automatically when new windows are shown:
4041 this is now a task for the window manager.
4042 (hildon_stackable_window_class_init)
4043 (hildon_stackable_window_hide):
4044 Remove windows from the stack everytime they're hidden.
4045 (hildon_stackable_window_realize):
4046 Don't change the _NET_WM_WINDOW_TYPE property. Use
4047 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4048 it as a stackable window.
4050 * src/hildon-program.c
4051 (hildon_program_pop_window_stack):
4052 Just hide the window to remove it from the stack.
4053 (hildon_program_go_to_root_window):
4054 Don't call gtk_widget_show(), this is now a task for the window
4057 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4059 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4061 * src/hildon-button.c
4062 (hildon_button_construct_child):
4063 Don't pack anything in the button until text or image are
4064 set. This allows adding a custom child after creating the button
4065 with hildon_button_new().
4066 (hildon_button_finalize, hildon_button_class_init)
4067 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4068 alignment and the label box even when they're not packed in the
4071 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4073 * src/hildon-touch-selector.h:
4074 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4075 currently the type definition was using GTK_TYPE_VBOX
4076 * src/hildon-touch-selector.c:
4077 Added some implementation notes in order to clarify that any other widget
4078 added without the column related API will not be included on the
4079 selection logic, and how the widget is freed, as some people ask about
4081 (hildon_touch_selector_remove): Reimplemented in order to free properly
4082 the column related data when you remove the private hbox.
4083 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4084 to get a proper HildonTouchSelectorColumn documentation
4086 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4088 * src/hildon-touch-selector-entry.c:
4089 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4090 text in the GtkEntry and there is no item selected. Fixes a
4093 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4095 * src/hildon-app-menu-private.h
4096 * src/hildon-app-menu.[ch]
4097 * src/hildon-button.[ch]
4098 * src/hildon-check-button.[ch]
4099 * src/hildon-entry.[ch]
4100 * src/hildon-pannable-area.[ch]
4101 * src/hildon-text-view.[ch]:
4102 Added private field to the object's structure.
4104 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4106 * configure.ac: post-release version bump
4108 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4112 * configure.ac: pre-release version bump
4114 * debian/changelog: updates.
4116 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4118 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4119 Disconnect the handler for HildonTouchSelector::changed.
4121 (hildon_picker_button_selector_selection_changed): Update the button
4122 value if the selection change was not triggered by the
4125 (hildon_picker_button_set_selector): connect to
4126 HildonTouchSelector::changed.
4128 Fixes: NB#89650 (Picker button is not updated, when selection in
4129 selector has changed)
4131 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4133 * src/hildon-picker-dialog.c
4134 (hildon_picker_dialog_realize): Removed as not required
4135 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4136 * src/hildon-picker-button.c
4137 (_current_selector_empty): New function, checks if the selector is empty
4138 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4139 if the current selector is empty, in order to avoid to show the dialog
4140 close the dialog in this case (and shows a g_warning).
4142 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4144 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4146 * src/hildon-pannable-area.c,
4147 (hildon_pannable_area_scroll): Added clause to stop movement when
4148 the child of pannable is smaller than one page.
4149 (hildon_pannable_area_scroll_to): Added conditions to avoid
4150 starting the scrolling movement if the child is smaller than one
4151 page, the complete child is in the screen, we do not have to move.
4153 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4155 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4157 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4158 this is managed automatically by the widget when the size of the
4161 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4163 * src/hildon-picker-button.c
4164 (hildon_picker_button_set_done_button_text): Make a copy of the
4165 text, and free the previous value.
4167 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4169 * src/hildon-touch-selector-entry.c:
4170 (hildon_touch_selector_entry_print_func): Return the selected row's
4171 text if the entry is empty.
4173 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4176 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4178 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4180 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4183 * src/hildon-check-button.h
4184 * src/hildon-check-button.c
4185 * examples/hildon-check-button-example.c:
4186 HildonCheckButton is now a new widget. 'toggled' signal added.
4188 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4190 * src/hildon-program-private.h
4191 * src/hildon-program.c (hildon_program_init)
4192 (hildon_program_finalize): Removed unused variables group_leader
4193 and name from HildonProgramPrivate.
4195 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4197 * src/hildon-check-button.c (hildon_check_button_set_active)
4198 (hildon_check_button_get_active, hildon_check_button_new): Use
4199 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4201 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4203 * src/hildon-touch-selector.h
4204 (hildon_touch_selector_set_column_attributes): added deprecation
4205 guard HILDON_DISABLE_DEPRECATED
4206 * src/hildon-time-selector.c
4207 (hildon_time_selector_set_time)
4208 (hildon_time_selector_get_time): Fixed a typo on documentation
4209 * src/hildon-touch-selector.c: update HildonTouchSelector and
4210 HildonTouchSelectorColumn documentation
4211 * src/hildon-touch-selector-entry.c: update "text-column" property
4213 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4214 to be added to the general documentation.
4216 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4218 * examples/hildon-pannable-area-example-4.c,
4220 * examples/hildon-pannable-area-example.c,
4221 (main): Modified the code in order to use the container add, with
4222 viewport treeviews could have problems if they are really big.
4224 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4226 * src/hildon-weekday-picker.c,
4227 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4228 the agreement regarding deprecation in the library.
4230 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4232 * examples/hildon-picker-button-multicolumn-example.c:
4233 (main): Use custom "done" button text.
4235 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4236 (hildon_picker_button_set_property),
4237 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4238 (hildon_picker_button_init),
4239 (+hildon_picker_button_get_done_button_text),
4240 (+hildon_picker_button_set_done_button_text): New methods to customize
4241 the "done" button label in the launched HildonPickerDialog. Also,
4244 * src/hildon-picker-button.h: add the public API.
4246 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4248 * src/hildon-date-selector.h:
4249 * src/hildon-picker-dialog.h:
4250 * src/hildon-time-selector.h:
4251 * src/hildon-touch-selector-column.h:
4252 * src/hildon-touch-selector.h:
4254 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4255 declarations. Fixes gtk-doc warnings.
4257 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4259 * src/hildon-picker-dialog.h
4260 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4261 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4263 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4264 long text is set as label for done button)
4266 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4268 * src/hildon-dialog.c (hildon_dialog_add_button):
4269 Set fixed width to all buttons in the HildonDialog.
4271 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4273 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4275 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4276 Set widget name using class name plus "-finger" or "-thumb".
4278 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4280 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4281 'clicked' when the state of the button is manually changed.
4283 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4285 * src/hildon-app-menu.c (hildon_app_menu_realize)
4286 (hildon_app_menu_unrealize, hildon_app_menu_init)
4287 (hildon_app_menu_class_init, item_visibility_changed):
4288 Change the menu layout when the size of the screen changes.
4289 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4290 Show warning only when changing the number of colums using the
4293 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4295 * debian/compat: Set to 5
4296 * debian/control: Update dependencies.
4297 * debian/libhildon1-dbg.install: Remove.
4298 * debian/libhildon1-dev.install: Update according to cdbs paths.
4299 * debian/libhildon1.install: Update according to cdbs paths.
4300 * debian/rules: Switch to cdbs.
4302 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4304 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4305 'item' variable renamed to 'filter'
4307 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4309 * src/hildon-app-menu.c (hildon_app_menu_insert)
4310 (hildon_app_menu_add_filter, remove_item_from_list)
4311 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4312 Don't leak hidden items when the menu is destroyed.
4314 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4316 * src/hildon-app-menu.c (hildon_app_menu_insert)
4317 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4318 (hildon_app_menu_set_columns, item_visibility_changed)
4319 (filter_visibility_changed, hildon_app_menu_repack_filters)
4320 (hildon_app_menu_repack_items):
4321 Repack items and filters separately.
4323 Don't repack all items, change only the ones that are needed to
4326 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4328 * src/Makefile.am: added hildon-touch-selector-column.h
4330 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4332 * src/hildon-touch-selector.c: added the property "text-column" to the
4333 class HildonTouchSelectorColumn, and related get/set functions
4334 (_default_printf_func): updated to use "text-column" property
4335 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4336 "text-column" in his documentation, as this is now included on
4337 HildonTouchSelectorColumn. The get/set_property can still be used,
4338 working as a wrapper to the concrete column "text-column" property
4339 (_text_column_modified): callback added in order to handle the signal
4340 "notify::text-column" of the concrete HildonTouchSelectorColumn
4341 (hildon_touch_selector_entry_get_text_column)
4342 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4343 modified in order to use the HildonTouchSelectorColumn "text-column"
4345 * src/hildon-time-selector.c:
4346 * src/hildon-date-selector.c:
4347 * examples/hildon-touch-selector-example.c
4348 * examples/hildon-touch-selector-multi-cells-example.c
4349 * examples/hildon-picker-button-multicolumn-example.c
4350 Set the right value to "text-column" property on the creation of a new
4351 column using hildon_touch_selector_append_column()
4353 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4355 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4357 * src/hildon-app-menu.c
4358 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4359 updating the layout of the menu, don't create all widgets again,
4360 just repack the items in their new places.
4362 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4364 * src/hildon-time-selector.c
4365 (hildon_time_selector_get_time)
4366 (hildon_time_selector_set_time)
4367 Added documentation of these public methods
4369 * src/hildon-date-button.h
4370 * src/hildon-touch-selector-column.h
4371 * src/hildon-time-button.h
4372 * src/hildon-picker-dialog.h
4373 * src/hildon-time-selector.h
4374 * src/hildon-picker-button.h
4375 * src/hildon-touch-selector.h
4376 * src/hildon-time-picker.h
4377 * src/hildon-date-selector.h
4378 * src/hildon-touch-selector-entry.h
4379 Modified in order to use hildon-widgets code style
4381 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4383 Added deprecated support to the compilation process using
4384 HILDON_DISABLE_DEPRECATED
4386 * configure.ac: Added the --disable-deprecated to the configure
4389 * src/hildon-weekday-picker.c:
4390 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4391 to use the deprecated support. We will update the other deprecated
4392 widgets status in a new patch.
4394 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4396 * configure.ac: Fixed typo with fatal warnings support, the
4397 variable name was not correct
4399 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4401 * src/hildon-app-menu.c
4402 * src/hildon-program.c: Update documentation.
4404 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4406 * configure.ac: Post-release version bump.
4408 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4413 * configure.ac: Pre-release version bump.
4414 * debian/changelog: Updates.
4416 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4418 * NEWS: Update news for previous releases.
4420 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4422 * examples/hildon-touch-selector-multi-cells-example.c:
4423 (create_selector): Update the example to use
4424 hildon_touch_selector_append_column() with a NULL renderer and set
4425 the renderers later.
4426 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4427 passed a NULL renderer. This is documented behavior now.
4429 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4430 This must be used if the developer wants full control on the layout of
4431 the renderers to be added to the column.
4433 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4435 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4437 * src/hildon-touch-selector.c: Documentation fixes.
4439 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4441 * src/hildon-wizard-dialog-private.h: Remove image and box.
4442 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4443 (hildon_wizard_dialog_set_property), (response): Completely remove
4444 image/icon support, and the containers required for the layout.
4446 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4448 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4450 * src/hildon-app-menu.c: Updated documentation.
4452 * src/hildon-stackable-window.c
4453 (hildon_stackable_window_set_main_menu): Unref the old menu after
4454 ref'ing the new one.
4456 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4458 * src/hildon-stackable-window.c
4459 (hildon_stackable_window_set_main_menu): Unref the previous menu
4460 instead of destroying it.
4462 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4463 floating reference and set has_user_ref_count to FALSE to make
4464 HildonAppMenu act like a normal ref-counted widget and not a
4467 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4470 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4472 * src/hildon-touch-selector-column.h: new file
4473 * src/hildon-touch-selector.h
4474 * src/hildon-touch-selector.c
4475 Implemented GtkCellLayout interface, in order to allow to configure
4476 the cell layout on each individual selector column
4477 (hildon_touch_selector_set_column_attributes): marked as deprecated
4478 * examples/hildon-touch-selector-multi-cells-example.c
4479 Example of how to use the GtkCellLayout interface on the selector
4481 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4483 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4485 * src/hildon-app-menu.h
4486 * src/hildon-app-menu.c
4487 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4488 (hildon_app_menu_append, hildon_app_menu_prepend):
4489 New methods to prepend, insert and move items in the menu.
4491 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4493 * src/hildon-wizard-dialog.c:
4495 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4497 (create_title): Update logical IDs and related code.
4498 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4500 * src/hildon-wizard-dialog.h: Note that
4501 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4502 point, as it is not used anymore.
4504 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4506 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4508 * src/hildon-note.c:
4509 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4510 shown. Do not display an icon in confirmation notes nor information
4512 (hildon_note_set_button_text): Update logical ID for cancel button.
4514 Fixes: NB#88850 (Update HildonNote button strings + signals)
4516 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4518 * src/hildon-stackable-window.c
4519 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4521 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4523 * src/hildon-app-menu-private.h
4524 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4525 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4526 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4527 temporary property 'columns' to change the number of columns.
4529 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4531 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4533 * examples/hildon-note-example.c: (on_information_clicked),
4534 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4535 debugging information.
4536 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4538 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4539 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4540 in order to close: this will be handled by the WM from now on.
4542 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4544 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4546 * src/hildon-app-menu-private.h
4547 * src/hildon-app-menu.c
4548 (hildon_app_menu_append, hildon_app_menu_add_filter)
4549 (button_visibility_changed, hildon_app_menu_apply_style)
4550 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4551 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4552 layout everytime a button (item or filter) is shown or hidden.
4554 * src/hildon-stackable-window.c
4555 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4558 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4560 * src/hildon-touch-selector.c:
4561 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4562 that the treeview inside the touch selector is in fremantle hildon mode
4563 * examples/hildon-date-button-example.c
4564 * examples/hildon-picker-button-multicolumn-example.c
4565 * examples/hildon-touch-selector-entry-example.c
4566 * examples/hildon-touch-selector-example.c
4567 * examples/hildon-time-button-example.c
4568 * examples/hildon-picker-button-example.c:
4569 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4571 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4573 * examples/hildon-text-view-example.c: (main): Remove the
4574 gtkrc bits, now handled by the theme.
4576 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4578 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4581 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4583 * po/Makefile.am: Install properly the mo files.
4584 * po/en_GB.po: Update translation, to ease testing purposes.
4586 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4588 * examples/hildon-picker-button-example.c: (main): Select an item
4589 in the selector before setting it to the button.
4591 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4593 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4594 Update button's value if the selector has an item active.
4596 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4597 'value' with the selector)
4599 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4601 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4602 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4603 (hildon_picker_button_class_init): Plug the finalize method.
4604 (hildon_picker_button_set_selector): If there's a previously set
4605 selector, unref'it before setting a new one.
4607 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4608 HildonTouchSelector)
4610 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4612 * src/hildon-touch-selector-entry.c:
4613 (hildon_touch_selector_entry_changed): Check if there is no text
4614 selected before setting the entry text.
4617 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4619 * src/hildon-touch-selector.h
4620 * src/hildon-touch-selector.c
4621 (hildon_touch_selector_get_active)
4622 (hildon_touch_selector_set_active): New methods to set/get the
4623 index of the selected item.
4625 * src/hildon-picker-button.h
4626 * src/hildon-picker-button.c
4627 (hildon_picker_button_get_active)
4628 (hildon_picker_button_set_active): New methods to set/get the
4629 index of the selected item.
4631 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4633 * configure.ac: post-release version bump.
4635 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4639 * configure.ac: Pre-release version bump.
4640 * debian/changelog: Updates.
4641 * debian/control: Add myself as maintainer and depend on l10n
4644 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4646 * src/hildon-window.c
4647 (hildon_window_set_main_menu)
4648 * src/hildon-stackable-window.c
4649 (hildon_stackable_window_set_main_menu):
4650 Updated documentation.
4652 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4654 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4655 Don't free selector->priv manually.
4658 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4661 (hildon_gtk_window_set_progress_indicator):
4662 * src/hildon-gtk.h: Added the new API
4663 hildon_gtk_window_set_progress_indicator, it changes the state of
4664 the window progress hint.
4666 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4668 * src/hildon-button.c
4669 * src/hildon-stackable-window.c: Minor documentation updates.
4671 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4673 * src/hildon-stackable-window.c: Updated documentation.
4675 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4677 * src/hildon-defines.h: Update margins definitions
4678 to the Fremantle sizes.
4681 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4683 * src/hildon-touch-selector.c,
4684 (_hildon_touch_selector_set_model): Cleaning the code after
4685 review, removed g_print and #if 0 from the code.
4687 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4689 * src/hildon-edit-toolbar.c: Update documentation.
4691 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4693 * src/hildon-check-button.h
4694 * src/hildon-check-button.c
4695 (hildon_check_button_set_label, hildon_check_button_get_label)
4696 * examples/hildon-check-button-example.c
4697 (button_clicked_cb):
4698 Removed deprecated methods.
4700 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4702 * src/hildon-text-view.c:
4703 Add sample code to the documentation.
4705 * src/hildon-entry.h
4706 * src/hildon-text-view.h:
4707 Minor cosmetic changes.
4709 * src/hildon-entry.c:
4710 Add sample code to the documentation.
4711 (hildon_entry_init, hildon_entry_refresh_contents):
4712 Don't allow NULL values in the placeholder.
4714 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4716 * doc/hildon-docs.sgml
4718 * examples/Makefile.am
4719 * examples/hildon-text-view-example.c
4721 * src/hildon-text-view.c
4722 * src/hildon-text-view.h
4724 New HildonTextView widget, with example.
4726 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4728 * po/POTFILES.in: Add missing files with translatable strings.
4729 Partially fixes NB#88287.
4731 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4733 * examples/hildon-pannable-area-example-2.c: (main): No need to
4734 set the cellrenderer height inside hildon touch lists, the theme does
4737 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4739 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4740 they are integrated in the theme.
4742 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4744 * examples/hildon-entry-example.c: Update the example adding
4745 widgets to modify the text and the placeholder of the HildonEntry.
4747 * src/hildon-entry.c: Show the placeholder everytime the widget
4748 is empty and loses the focus.
4750 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4752 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4754 * src/hildon-pannable-area.c,
4755 (hildon_pannable_area_size_request): Fixed bug in height
4756 requisition, avoid increasing size and add border twice.
4758 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4760 * configure.ac: postrelease version bump.
4762 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4766 * configure.ac: Prerelease version bump.
4767 * debian/changelog: update.
4768 * debian/rules: make -dbg package contain useful debugging symbols.
4770 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4772 * src/hildon-dialog.h
4773 * src/hildon-dialog.c
4774 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4775 New methods to add buttons with finger size.
4776 (hildon_dialog_new_with_buttons):
4777 Create buttons with finger size.
4779 * examples/hildon-dialog-example.c (main): Use HildonDialog
4780 methods to add buttons.
4782 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4784 * src/hildon-entry.c: Updated HildonButton documentation.
4786 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4788 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4789 button value label with (FALSE, FALSE) to prevent NB#88126 from
4792 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4794 * examples/hildon-pannable-area-example.c,
4795 (main): Removed examples panning a vbox inside a pannable
4796 area. Check bug NB#87965
4798 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4800 Patch contributed by Kris Rietveld (kris@imendio.com)
4802 * src/hildon-pannable-area.c,
4803 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4804 get_size and get_position, this saves an X server roundtrip.
4806 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4808 * doc/hildon-docs.sgml
4810 * examples/Makefile.am
4811 * examples/hildon-entry-example.c
4813 * src/hildon-entry.c
4814 * src/hildon-entry.h
4816 New HildonEntry widget, with example.
4818 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4820 * src/hildon-button.c (hildon_button_construct_child): Pack the
4821 image with expand == fill == FALSE. This is a workaround for a bug
4824 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4826 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4827 labels for the text column, to make it more look more dynamic.
4829 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4831 * src/hildon-time-selector.c
4832 Define gettext auxiliar macro N_
4833 (_create_minutes_model)
4834 (_create_hours_model)
4835 (_create_ampm_model): use of strftime in order to fill the model
4836 * src/hildon-date-selector.c
4837 (hildon_date_selector_finalize):
4838 (_locales_init): remove the logic related to get the name of the months
4839 using nl_langinfo, as it is not required anymore
4841 (_create_year_model)
4842 (_create_month_model)
4843 (_update_day_model): use of strftime in order to fill the model properly
4846 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4848 * src/hildon-button.h
4849 * src/hildon-button.c (hildon_button_get_image): New method to
4852 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4854 * src/hildon-touch-selector.c:
4855 (hildon_touch_selector_remove_column): Remove from the correct parent
4856 and also remove the list element and free it.
4859 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4861 * src/hildon-time-selector.c
4862 (_create_hours_model): change the range on 12h ampm format in order to use
4863 a 12-11 range instead of previous 01-12 range
4864 (hildon_time_selector_set_time): change the way to select the current time
4865 on 12h ampm format, due the change on the range
4866 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4869 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4871 * src/hildon-touch-selector.c
4872 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4873 in order to allow use this function on multiple row selection mode if
4874 the column is different that the first one
4877 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4879 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4880 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4882 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4884 * src/hildon-date-selector.h: clean some comments, now on the .c
4885 * src/hildon-date-selector.c
4886 (hildon_date_selector_select_month): first implementation
4887 (hildon_date_selector_select_day): added documentation, reimplemented
4888 using hildon_date_selector_select_current_date to avoid repeat code
4891 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4893 Reviewed interaction logic based on device experiences, refactored
4896 * src/hildon-pannable-area.c,
4897 (hildon_pannable_area_class_init): Updated default vmax speed.
4898 (hildon_pannable_area_calculate_velocity): Added this function, it
4899 avoids duplicate valocity calculation. Adjusted calculation to
4900 avoid problems with zero dist events.
4902 (hildon_pannable_area_motion_notify_cb): Now we use the
4903 calculate_velocity function.
4905 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4907 * src/hildon-date-selector.c
4908 (hildon_date_selector_select_current_date): fix the day range check
4909 as it failed using the last day of the current month
4912 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4914 * src/hildon-touch-selector.c
4915 (hildon_touch_selector_get_num_columns): added a parameter validation
4918 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4920 * examples/Makefile.am
4921 * examples/hildon-edit-toolbar-example.c: Example of the
4922 HildonEditToolbar widget.
4924 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4926 * configure.ac: postrelease version bump.
4928 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4932 * configure.ac: prerelease version bump.
4933 * debian/changelog: update.
4935 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4937 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4938 renderer to display stock icons in the touch list. Also, set the sizes
4939 to the recommended in the style guide.
4941 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4942 * src/hildon-touch-selector.h
4943 (hildon_touch_selector_set_active_iter): renamed, now is
4944 hildon_touch_selector_select_iter
4945 (hildon_touch_selector_get_active_iter): renamed, now is
4946 hildon_touch_selector_get_selected
4947 (hildon_touch_selector_unselect_iter): added
4948 * src/hildon-touch-selector.c
4949 Update after API modification (methods renamed)
4950 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4951 order to avoid problems selecting multiple elements on the column
4952 (hildon_touch_selector_unselect_iter): added the implementation
4953 * src/hildon-time-selector.c
4954 * src/hildon-date-selector.c
4955 * src/hildon-touch-selector-entry.c
4956 Update methods calls after hildon-touch-selector.h API modification (methods
4959 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4961 * src/hildon-stackable-window.c
4962 (hildon_stackable_window_finalize): Call the parent class's finalize.
4964 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4966 * examples/hildon-touch-selector-example.c: (create_selector): Use
4967 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4970 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4972 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4973 set a cell background color, to respect theming.
4975 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4977 * doc/hildon-docs.sgml
4980 * src/hildon-edit-toolbar.c
4981 * src/hildon-edit-toolbar.h
4982 * src/hildon.h: New HildonEditToolbar widget.
4984 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4986 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4989 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4990 * src/hildon-touch-selector.c
4991 (_create_new_column): use g_object_set instead of two g_object_set_property
4993 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4994 * src/hildon-touch-selector.c
4995 (_create_new_column): use of hildon_gtk_tree_view_new to create
4996 the treeview, instead of use directly g_object_new
4997 (_create_new_column): update the property name "vindicator-mode" for the
4998 new one "vscrollbar-policy"
4999 * examples/hildon-date-button-example.c
5000 * examples/hildon-picker-button-multicolumn-example.c
5001 * examples/hildon-touch-selector-entry-example.c
5002 * examples/hildon-touch-selector-example.c
5003 * examples/hildon-time-button-example.c
5004 * examples/hildon-picker-button-example.c
5005 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5006 to all the treeviews inside a pannable area.
5008 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5010 * src/hildon-button.h
5011 * src/hildon-button.c (hildon_button_init)
5012 (hildon_button_set_arrangement, hildon_button_set_alignment)
5013 (hildon_button_set_title_alignment)
5014 (hildon_button_set_value_alignment)
5015 (hildon_button_set_image_alignment)
5016 (hildon_button_construct_child): New methods to set the alignment
5017 of the individual components of the button (title, value,
5018 image). Also, new method to alter the xscale and yscale properties
5019 of the GtkAlignment inside the button, so more complex layouts can
5022 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5024 * src/hildon-button.c (hildon_button_style_set)
5025 (hildon_button_class_init, hildon_button_set_arrangement)
5026 (hildon_button_construct_child): Apply style properties
5027 correctly. Use the 'image-spacing' style property too.
5029 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5031 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5032 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5035 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5037 * src/hildon-pannable-area.c,
5038 (hildon_pannable_area_size_request): Fixed problem with
5039 pannable-area size_request.
5041 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5043 Added management for the grab-focus to a child widget, like a
5044 range, we need to fade out the scrollbar when releasing.
5046 * src/hildon-pannable-area.c,
5047 (hildon_pannable_area_init): Connected the grab-focus signal to
5049 (hildon_pannable_area_grab_notify): Added this function in order
5050 to manage the situation when the grab-focus ends. We have to
5051 fade-out the scrollbar.
5053 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5055 * src/hildon-app-menu.c: Minor documentation update.
5057 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5059 * src/hildon-app-menu.c
5060 * examples/hildon-app-menu-example.c (create_menu): Update
5061 examples and documentation to explain how to connect callbacks.
5063 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5065 * examples/hildon-button-example.c
5066 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5067 hildon_stackable_window_new instead of gtk_window_new
5069 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5071 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5072 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5073 (hildon_pannable_area_set_property),
5074 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5075 (hildon_pannable_area_unrealize),
5076 (hildon_pannable_area_size_request),
5077 (hildon_pannable_area_size_allocate),
5078 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5079 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5080 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5081 (hildon_pannable_area_initial_effect),
5082 (hildon_pannable_area_redraw),
5083 (hildon_pannable_area_scroll_indicator_fade),
5084 (hildon_pannable_area_expose_event),
5085 (hildon_pannable_area_get_topmost), (synth_crossing),
5086 (hildon_pannable_area_button_press_cb),
5087 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5088 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5089 (hildon_pannable_area_motion_notify_cb),
5090 (hildon_pannable_area_button_release_cb),
5091 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5092 (hildon_pannable_area_remove),
5093 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5094 chage the code layout to a more GtkWidget like. Review the use of
5097 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5099 * examples/hildon-pannable-area-example-4.c,
5100 (main): Modified the name of the hindicator_mode to
5103 * src/hildon-pannable-area.c,
5104 (hildon_pannable_area_class_init),
5105 (hildon_pannable_area_motion_notify_cb),
5106 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5107 we have reduced the amount of signals and managed reviewed its
5108 rationale. Changed the default decelerate value.
5110 (hildon_pannable_area_add),
5111 (hildon_pannable_area_redraw): Refactored functions.
5113 (hildon_pannable_area_init),
5114 (hildon_pannable_area_get_property),
5115 (hildon_pannable_area_set_property):
5116 (hildon_pannable_draw_vscroll),
5117 (hildon_pannable_draw_hscroll),
5118 (hildon_pannable_area_initial_effect),
5119 (hildon_pannable_area_expose_event),
5120 (hildon_pannable_area_scroll),
5121 (hildon_pannable_area_button_press_cb),
5122 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5123 and vindicator_mode with hscrollbar_policy and
5124 vscrollbar_policy. Replaced hscroll and vscroll with
5125 hscroll_visible and vscroll_visible.
5127 (hildon_pannable_area_refresh): Refactor the function, remove
5128 variables and check the calls to this function, added resize
5129 conditions in case the children change their layout.
5131 (hildon_pannable_area_size_request): Added more detailed
5132 size_request calculation.
5135 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5137 * src/hildon-color-chooser.c
5138 (init_borders): use the correct gtk_border_free instead of g_free, to
5139 avoid a crash when this widget is used (ie: the three color selection
5142 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5144 * src/hildon-check-button.c,
5145 (hildon_check_button_set_active): Fixed problem when setting the
5146 active value, the widget was not redrawn.
5148 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5150 * src/hildon-pannable-area.c,
5151 (hildon_pannable_area_refresh),
5152 (hildon_pannable_area_scroll),
5153 (hildon_pannable_area_motion_notify_cb): Small code style change.
5155 (hildon_pannable_area_class_init): Default initial_hint set to
5156 FALSE, it is not in the specs.
5158 (hildon_pannable_area_initial_effect),
5159 (hildon_pannable_area_expose_event),
5160 (hildon_pannable_area_map),
5161 (hildon_pannable_area_init): Moved the launching point of the
5162 initial effect, it was in map but the sizes where not correct in
5163 that method so we do not know if we have the reproduce it. Now it
5164 is placed in the expose_event method and uses a variable to
5165 reproduce it just once.
5167 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5169 * src/hildon-pannable-area.c,
5170 (hildon_pannable_draw_vscroll),
5171 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5172 position allowed for the scrollbars.
5174 (hildon_pannable_area_size_allocate): Small style change.
5176 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5178 * src/hildon-pannable-area.c,
5179 (hildon_pannable_area_scroll_indicator_fade),
5180 (hildon_pannable_area_button_press_cb),
5181 (hildon_pannable_area_button_release_cb),
5182 (hildon_pannable_area_scroll_cb),
5183 (hildon_pannable_area_expose_event),
5184 (hildon_pannable_area_init): Added the define parameter
5185 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5186 and refactor the fade variable.
5188 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5190 * src/hildon-pannable-area.c,
5191 (hildon_pannable_area_redraw),
5192 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5193 lines, we were reimplemeting the redraw code.
5195 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5197 * src/hildon-pannable-area.c,
5198 (hildon_pannable_area_scroll_cb),
5199 (hildon_pannable_area_realize),
5200 (hildon_pannable_area_class_init): Added scroll_event management
5201 for pannable area, now we can scroll the usual desktop method.
5203 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5204 initialization of the parameters should depend on idle_id.
5206 (hildon_pannable_area_init),
5207 (hildon_pannable_area_map): Small code style modifications
5209 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5211 * src/hildon-pannable-area.c
5212 (hildon_pannable_area_button_press_cb),
5213 (hildon_pannable_area_motion_notify_cb),
5214 (hildon_pannable_area_button_release_cb),
5215 (hildon_pannable_area_size_allocate),
5216 (hildon_pannable_area_scroll_to): Improved the timeouts
5217 management, we avoid creating them each time.
5219 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5221 * src/hildon-pannable-area.c:
5222 (hildon_pannable_area_refresh),
5223 (hildon_pannable_area_motion_notify_cb),
5224 (hildon_pannable_area_class_init):
5225 * src/hildon-pannable-area.h:
5226 * src/hildon-touch-selector.c
5227 (_create_new_column):
5228 * examples/hildon-pannable-area-example-4.c:
5229 (horizontal_movement),
5230 (vertical_movement),
5232 Replaced the names of enums in the HildonPannableArea:
5233 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5234 HILDON_MOVEMENT_MODE_*
5235 - HILDON_PANNABLE_AREA_MOV_* ->
5237 - Removed HildonPannableAreaIndicatorMode, now we
5240 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5242 * examples/hildon-pannable-area-touch-grid-example.c
5243 * examples/hildon-pannable-area-touch-list-example.c: Fix
5244 compilation warnings.
5246 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5248 * src/hildon-gtk.c (hildon_gtk_button_new)
5249 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5250 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5251 images overriding the value of the "gtk-button-images" setting.
5253 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5255 * src/hildon-check-button.c (hildon_check_button_new):
5256 Instead of using a custom container, display the label and the
5257 checkbox using the standard GtkButton API.
5259 * examples/hildon-check-button-example.c (main): Don't use
5260 hildon_check_button_set_label() anymore
5262 * src/hildon-check-button.h
5263 * src/hildon-check-button.c
5264 (hildon_check_button_set_label, hildon_check_button_get_label):
5265 Set as deprecated, now we're using gtk_button_{get,set}_label()
5267 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5269 * src/hildon-pannable-area.c,
5270 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5271 GtkTreeview first line we detected it after the inclusion of the
5272 GtkWindowImpl in gtk+. We now check if the window is visible, not
5273 just if the pointer is over the window.
5274 (hildon_pannable_axis_scroll),
5275 (hildon_pannable_area_expose_event): Small style changes.
5277 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5279 * src/hildon-button.c: Update documentation.
5281 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5283 * examples/hildon-button-example.c: Add a switch to show images in
5286 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5288 * doc/hildon-docs.sgml: Some docs reorganization.
5290 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5292 * examples/hildon-pannable-area-touch-list-example.c
5294 * examples/hildon-pannable-area-touch-grid-example.c
5295 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5296 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5297 Fix memory leak when setting the tree model.
5299 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5303 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5305 * doc/hildon.types: Remove duplicated hildon_window_get_type
5306 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5307 documentation comment.
5309 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5311 * doc/Makefile.am: Complete list of private headers.
5313 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5315 * doc/hildon-docs.sgml
5316 * src/hildon-app-menu.c
5317 * src/hildon-bread-crumb.c
5318 * src/hildon-button.c
5320 * src/hildon-program.c
5321 * src/hildon-stackable-window.c
5322 * src/hildon-window.c: Lots of documentation updates.
5324 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5326 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5328 * configure.ac: Require Gtk+ 2.12.9 at least
5330 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5332 * src/hildon-pannable-area.c
5333 (hildon_pannable_area_scroll_indicator_fade),
5334 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5335 to protect the return of this timeout callbacks, avoiding deadlocks.
5337 2008-08-12 Christian Dywan <christian@imendio.com>
5340 * src/hildon-*.h: Ensure a consistent include order,
5341 include <gtk/gtk.h> instead of particular files and
5342 only include the topmost header in the gtk stack. See NB #39857
5344 2008-08-12 Christian Dywan <christian@imendio.com>
5346 * src/hildon-picker-dialog.c
5347 * src/hildon-touch-selector.c: Fix warnings about unused and
5348 uninitialized variables.
5350 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5352 * examples/Makefile.am
5353 * examples/hildon-check-button-example.c: Example of the hildon
5356 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5358 * src/hildon-window.h
5359 * src/hildon-window.c (hildon_window_class_init)
5360 (hildon_window_unset_program): Don't make
5361 hildon_window_unset_program a virtual function anymore.
5363 * src/hildon-stackable-window.c: Update documentation
5365 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5368 * doc/hildon-docs.sgml
5369 * doc/visual_index.xml
5370 * src/hildon-defines.c
5372 * src/hildon-helper.c
5373 * src/hildon-range-editor.c: Lots of documentation fixes.
5375 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5377 * examples/hildon-picker-button-multicolumn-example.c
5378 (create_touch_selector): Fix compilation warning.
5380 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5382 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5383 (hildon_pannable_area_button_release_cb)
5384 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5386 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5388 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5391 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5393 * src/hildon-bread-crumb-trail.h
5394 * src/hildon-date-editor.c
5395 * src/hildon-date-selector.c
5396 * src/hildon-pannable-area.c
5397 * src/hildon-picker-dialog.c
5398 * src/hildon-time-selector.c
5399 * src/hildon-touch-selector-entry.c
5400 * src/hildon-touch-selector.c
5401 * src/hildon-touch-selector.h: Misc documentation fixes
5403 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5405 * examples/hildon-date-editor-example.c (main): Updated date
5408 * examples/hildon-note-example.c (on_confirmation_clicked):
5409 Updated confirmation note example.
5411 * src/hildon-date-editor.c
5412 * src/hildon-note.c: Updated sample programs in documentation.
5415 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5417 * src/hildon-date-button.h:
5418 * src/hildon-picker-button.h:
5419 * src/hildon-time-button.c:
5420 * src/hildon-time-button.h:
5422 Some declarations changes to allow gtk-doc to document the widgets
5425 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5427 * src/hildon-date-button.c: Document the widget.
5428 * src/hildon-time-button.c: Document the widget.
5430 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5432 * src/hildon-picker-button.c: Document the widget.
5433 * src/hildon-touch-selector-entry.c: Document the widget.
5435 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5437 * doc/hildon-docs.sgml
5440 * src/hildon-check-button.h
5441 * src/hildon-check-button.c: New functions to create the Hildon
5445 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5447 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5449 * src/hildon-button.h
5450 * src/hildon-button.c
5451 (hildon_button_add_title_size_group)
5452 (hildon_button_add_value_size_group)
5453 (hildon_button_add_image_size_group)
5454 (hildon_button_add_size_groups): New functions to set size groups
5455 for the button labels and image.
5456 (hildon_button_new_full): Removed
5458 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5460 * src/hildon-time-selector.c
5461 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5462 in order to avoid a crash if gconf is not available
5464 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5466 * src/hildon-button.c (hildon_button_set_arrangement)
5467 (hildon_button_construct_child): Don't construct the button child
5468 before setting the arrangement.
5470 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5472 * src/hildon-program-private.h
5473 * src/hildon-program.c
5474 * src/hildon-program.h
5475 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5476 (hildon_program_peek_window_stack)
5477 (hildon_program_pop_window_stack)
5478 (hildon_program_go_to_root_window): HildonProgram now has a
5479 separate list for stackable windows. Functions are provided to
5480 manage that list with a stack-like API.
5482 * src/hildon-stackable-window.c: Stackable window management is
5483 now much simpler with the new HildonProgram API. Windows no
5484 longer need to be manually added to the program, they're
5485 automatically pushed to the top of the stack when shown.
5487 * examples/hildon-stackable-window-example.c: Updated example to
5488 reflect the API changes.
5490 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5492 * src/hildon-touch-selector.c: Comment out unimplemented
5493 hildon_touch_selector_insert_column() to avoid a compile warning.
5495 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5497 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5498 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5499 (hildon_touch_selector_set_column_selection_mode),
5500 (_hildon_touch_selector_set_model),
5501 (hildon_touch_selector_set_model):
5503 Complete review of HildonTouchSelector documentation.
5505 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5507 * doc/hildon-docs.sgml
5511 * src/hildon-gtk.c: Convenience functions for standard Gtk
5512 widgets, used to easily perform frequent operations.
5514 * src/hildon-button-helpers.h
5515 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5517 * src/hildon-helper.h
5518 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5519 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5521 * src/hildon-button.h
5522 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5524 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5526 * src/hildon-button.c (hildon_button_init)
5527 (hildon_button_set_arrangement, hildon_button_construct_child):
5528 Pack the image and the labels inside the same GtkAlignment so
5529 gtk_button_set_alignment() can be used
5531 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5533 * src/hildon-button.h
5534 * src/hildon-button.c
5535 (hildon_button_init, hildon_button_set_image)
5536 (hildon_button_set_image_position)
5537 (hildon_button_construct_child): New functions to add an image to
5540 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5542 * src/hildon-date-button.c
5543 * src/hildon-picker-button.c
5544 * src/hildon-time-button.c
5545 * src/hildon-button.c:
5546 (hildon_button_class_init): "size-flags" renamed to "size"
5547 (hildon_button_set_title): Hide the title label if set to NULL.
5549 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5551 HildonButtonFlags split into HildonButtonArrangement (to set the
5552 button layout) and HildonSizeType (which can be used for any
5555 * src/hildon-button.h
5556 * src/hildon-button.c
5557 (hildon_button_class_init)
5558 (hildon_button_set_arrangement)
5559 (hildon_button_set_property): New "size-flags"
5560 property. "arrangement-flags" renamed to "arrangement".
5561 (hildon_button_new, hildon_button_new_with_text)
5562 (hildon_button_new_full): Constructors updated to reflect type changes.
5564 * src/hildon-helper.h
5565 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5566 to set the size of a widget.
5570 * src/hildon-button-helpers.c
5571 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5573 * src/hildon-date-button.c
5574 * src/hildon-date-button.h
5575 * src/hildon-picker-button.c
5576 * src/hildon-picker-button.h
5577 * src/hildon-time-button.c
5578 * src/hildon-time-button.h: Updated widgets to reflect
5579 HildonButton API changes.
5581 * examples/hildon-button-example.c
5582 * examples/hildon-date-button-example.c
5583 * examples/hildon-picker-button-example.c
5584 * examples/hildon-picker-button-multicolumn-example.c
5585 * examples/hildon-time-button-example.c
5586 * examples/hildon-touch-selector-entry-example.c
5587 * examples/hildon-touch-selector-example.c: Updated examples to
5588 reflect HildonButton API changes.
5590 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5592 * doc/hildon-docs.sgml:
5594 * examples/Makefile.am:
5595 * examples/hildon-touch-selector-entry-example.c:
5597 * src/hildon-touch-selector-entry.c:
5598 * src/hildon-touch-selector-entry.h:
5601 Moved HildonTouchSelectorEntry from sandbox. Added its
5602 documentation and examples.
5604 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5606 * src/hildon-touch-selector.h:
5607 * examples/hildon-picker-button-multicolumn-example.c:
5608 (hildon_touch_selector_append_text_column): Add a gboolean
5609 parameter to determine if text must be centered in the column.
5611 * src/hildon-date-selector.c: (hildon_date_selector_init):
5612 * src/hildon-time-selector.c: (hildon_time_selector_init):
5613 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5614 (create_touch_selector): Update widgets and example to reflect
5617 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5619 * src/hildon-touch-selector.c:
5620 (hildon_touch_selector_set_active_iter): Set also the cursor in
5623 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5625 * doc/hildon-docs.sgml
5628 * src/hildon-toggle-button.c
5629 * src/hildon-toggle-button.h
5630 * src/hildon.h: Removed HildonToggleButton widget, a derived
5631 class is not necessary for this.
5633 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5635 * src/hildon-pannable-area.c,
5636 (hildon_pannable_area_realize),
5637 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5640 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5642 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5643 "done" button the default widget for the dialog.
5645 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5647 * src/hildon-touch-selector.c:
5648 (hildon_touch_selector_class_init),
5649 (hildon_touch_selector_get_property),
5650 (_hildon_touch_selector_set_model),
5651 (_hildon_touch_selector_has_multiple_selection),
5652 (hildon_touch_selector_has_multiple_selection):
5653 Add a "has-multiple-selection" property with a virtual
5654 has_multiple_selection() method to allow derived classes to
5655 override the default value for it. See the method and property
5656 documentation for details.
5658 * src/hildon-touch-selector.h: Add the new API.
5660 * src/hildon-picker-dialog.c: (requires_done_button): Call
5661 hildon_touch_selector_has_multiple_selection() instead of
5662 determining the need for a button itself.
5664 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5666 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5667 (_hildon_touch_selector_set_model),
5668 (hildon_touch_selector_set_model): Move working code to
5669 _hildon_touch_selector_set_mode(). Call the class method instead.
5671 * src/hildon-touch-selector.h: Add (*set_model) to
5672 HildonTouchSelectorClass.
5674 Make hildon_touch_selector_set_model() a virtual method, so that
5675 derived classes can extend it and do fancy stuff with the model.
5677 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5679 * configure.ac: Set back the tarname in AC_INIT to hildon.
5681 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5685 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5686 instead of libesd (NB#86876). Volume handling is still an open issue.
5688 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5691 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5693 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5694 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5695 derived class to ease placement of an entry widget in
5696 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5697 end, where the selector columns are packed now.
5699 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5701 * src/hildon-picker-button.c: Removed the simple _text() API.
5702 * src/hildon-picker-button.h: Likewise.
5704 * src/hildon-touch-selector.h:
5705 * src/hildon-touch-selector.c:
5706 (hildon_touch_selector_new_text),
5707 (hildon_touch_selector_append_text),
5708 (hildon_touch_selector_prepend_text),
5709 (hildon_touch_selector_insert_text):
5711 Moved the simple _text() API from HildonPickerButton to
5712 HildonTouchPicker, to provide better escalability and not to tie
5713 that API to HildonPickerButton.
5715 * examples/hildon-picker-button-example.c: (main): Example updated.
5717 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5719 * src/hildon-button.c: Updated documentation.
5721 * examples/hildon-button-example.c: Add the posibility to create
5722 the buttons using horizontal layout for title and value.
5724 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5726 * src/hildon-app-menu-private.h
5727 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5728 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5729 GtkSizeGroup for the filters, use the 'homogeneous' property of
5732 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5734 * examples/hildon-button-example.c: Updated example.
5736 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5738 * doc/hildon-docs.sgml:
5741 Update documentation.
5743 * examples/Makefile.am: Update renamed examples.
5745 * examples/hildon-picker-button-multicolumn-example.c:
5746 (create_touch_selector), (main): Update after the rename.
5748 * examples/hildon-touch-picker-example.c: Removed.
5749 * examples/hildon-touch-selector-example.c: (value_changed),
5750 (create_selector), (get_visible_content), (main): Renamed from
5751 hildon-touch-picker-example.c
5753 * src/Makefile.am: Updated renamed files.
5755 * src/hildon-date-button.c: (hildon_date_button_init),
5756 (hildon_date_button_get_date), (hildon_date_button_set_date):
5757 * src/hildon-date-selector.c: (hildon_date_selector_init),
5758 (_custom_print_func), (_update_day_model),
5759 (_manage_selector_change_cb),
5760 (hildon_date_selector_select_current_date),
5761 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5762 * src/hildon-date-selector.h:
5763 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5764 (hildon_picker_button_set_property),
5765 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5766 (hildon_picker_button_init), (hildon_picker_button_new_text),
5767 (hildon_picker_button_append_text),
5768 (hildon_picker_button_prepend_text),
5769 (hildon_picker_button_insert_text),
5770 (hildon_picker_button_set_selector),
5771 (hildon_picker_button_get_selector):
5772 * src/hildon-picker-button.h:
5773 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5774 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5775 (_update_title_on_selector_changed_cb), (requires_done_button),
5776 (_hildon_picker_dialog_set_selector),
5777 (hildon_picker_dialog_set_selector),
5778 (hildon_picker_dialog_get_selector):
5779 * src/hildon-picker-dialog.h:
5780 * src/hildon-time-button.c: (hildon_time_button_init),
5781 (hildon_time_button_get_time), (hildon_time_button_set_time):
5782 * src/hildon-time-selector.c: (hildon_time_selector_init),
5783 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5784 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5785 * src/hildon-time-selector.h:
5788 Massive code updates after the rename.
5790 * src/hildon-touch-picker.c: Removed.
5791 * src/hildon-touch-picker.h: Removed.
5793 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5794 (hildon_touch_selector_init), (hildon_touch_selector_map),
5795 (hildon_touch_selector_remove), (_default_print_func),
5796 (_selection_changed_cb), (_create_new_column),
5797 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5798 (hildon_touch_selector_append_text_column),
5799 (hildon_touch_selector_remove_column),
5800 (hildon_touch_selector_set_column_attributes),
5801 (hildon_touch_selector_insert_column),
5802 (hildon_touch_selector_get_num_columns),
5803 (hildon_touch_selector_get_column_selection_mode),
5804 (hildon_touch_selector_set_column_selection_mode),
5805 (hildon_touch_selector_set_print_func),
5806 (hildon_touch_selector_get_print_func),
5807 (hildon_touch_selector_get_active_iter),
5808 (hildon_touch_selector_set_active_iter),
5809 (hildon_touch_selector_get_selected_rows),
5810 (hildon_touch_selector_get_model),
5811 (hildon_touch_selector_set_model),
5812 (hildon_touch_selector_get_current_text),
5813 (_hildon_touch_selector_center_on_selected_items):
5814 * src/hildon-touch-selector.h: Renamed from
5815 hildon-touch-picker.[ch]
5817 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5818 references, code examples, and related documentation.
5820 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5822 * doc/hildon-docs.sgml
5825 * src/hildon-toggle-button.c
5826 * src/hildon-toggle-button.h
5827 * src/hildon.h: New HildonToggleButton widget.
5829 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5831 * src/hildon-button.c: Add API documentation.
5832 (hildon_button_set_size_groups): Check input parameters
5834 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5836 * src/hildon-pannable-area.c
5837 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5838 effect after reaching the movement thredshold. This way we start
5839 using the distance after passing the thredshold.
5841 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5843 * src/hildon-button.c: (hildon_button_set_property): Use the
5844 appropriate g_value_get_flags() method.
5846 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5848 * doc/hildon-docs.sgml:
5851 Add the touch pickers, picker dialogs, and picker button widgets
5852 to the documentation.
5854 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5856 * src/hildon-button.c: (hildon_button_set_property),
5857 (hildon_button_class_init): Make "arrangement-flags" a proper
5858 G_TYPE_FLAGS derived property.
5860 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5862 * examples/Makefile.am: Add below examples.
5863 * examples/hildon-date-button-example.c:
5864 * examples/hildon-picker-button-example.c:
5865 * examples/hildon-picker-button-multicolumn-example.c:
5866 * examples/hildon-time-button-example.c:
5867 * examples/hildon-touch-picker-example.c:
5869 Add examples for the recently added touch pickers,
5870 picker dialogs, and picker button widgets.
5872 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5874 * src/hildon-button.c: Add some API documentation
5876 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5878 * src/hildon-button.h
5879 * src/hildon-button.c
5881 (hildon_button_new_with_text): New constructor to create a button
5882 with no text at all.
5883 (hildon_button_init, hildon_button_set_arrangement)
5884 (hildon_button_set_title, hildon_button_set_value)
5885 (hildon_button_set_text)
5886 (hildon_button_construct_child): Hide the value when it's not used
5887 so the rest of the text is properly aligned.
5888 Allow creating buttons with arbitrary widgets inside (not just
5889 title/value labels).
5891 * examples/hildon-button-example.c (vertical_buttons_window)
5892 (horizontal_buttons_window): Update example to use new API.
5894 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5896 * src/Makefile.am: Added HildonTimeButton.
5897 * src/hildon-time-button.c: Added missing LGPL header.
5898 * src/hildon-time-button.h: Added missing LGPL header.
5899 * src/hildon.h: Add hildon-time-button.h
5901 Copied HildonTimeButton from sandbox to trunk. Future work on this
5902 widget must take place in trunk.
5904 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5906 * src/Makefile.am: Added HildonDateButton.
5907 * src/hildon-date-button.c: Update includes.
5908 * src/hildon.h: Add hildon-date-button.h
5910 Copied HildonDateButton from sandbox to trunk. Future work on this
5911 widget must take place in trunk.
5913 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5915 * src/Makefile.am: Added HildonPickerButton.
5916 * src/hildon-picker-button.h: Update includes.
5917 * src/hildon.h: Add hildon-picker-button.h
5919 Copied HildonPickerButton from sandbox to trunk. Future work on
5920 this widget must take place in trunk.
5922 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5924 * src/Makefile.am: Added HildonPickerDialog.
5925 * src/hildon-picker-dialog.c: Update includes.
5926 * src/hildon.h: Add hildon-picker-dialog.h
5928 Copied HildonPickerDialog from sandbox to trunk. Future work
5929 on this widget must take place in trunk.
5931 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5933 * src/Makefile.am: Added HildonTimeSelector.
5934 * src/hildon.h: Add hildon-time-selector.h
5936 Copied HildonTimeSelector widget from sandbox to trunk. Future
5937 work on this widget must happen in trunk.
5939 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5941 * src/Makefile.am: Added HildonDateSelector.
5942 * src/hildon.h: Add hildon-date-selector.h
5944 Copied HildonDateSelector widget from sandbox to trunk. Future
5945 work on this widget must happen in trunk.
5947 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5949 * src/Makefile.am: Added HildonTouchPicker.
5950 * src/hildon-touch-picker.c: Update includes.
5951 * src/hildon.h: Add hildon-touch-picker.h
5953 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5954 on this widget must happen in trunk.
5956 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5958 * src/hildon-pannable-area.c:
5959 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5961 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5963 * examples/hildon-app-menu-example.c (main): Let the window
5966 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5968 * src/hildon-pannable-area.c
5969 (hildon_pannable_area_class_init): Set the min value of the
5970 overshoot properties to zero, which points out that not
5971 overshooting allowed.
5973 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5975 Modified the procedure to get the widget at a point inside the
5976 pannable area when using the movement type signals. Now the user
5977 has to call a function to get the child, that way we just
5978 calculate the child in case the user really want to use it and not
5981 * src/hildon-marshalers.list: Modified the marshallers, now we do
5982 not have the widget as a parameter.
5984 * src/hildon-pannable-area.c
5985 (hildon_pannable_area_motion_notify_cb),
5986 (hildon_pannable_area_class_init),
5987 (hildon_pannable_get_child_widget_at): Removed the widget
5988 parameter from the signal callback. We have also refactored the
5989 emission of the signals.
5991 * src/hildon-pannable-area.h: Added a new method to the API to
5992 calculate a widget at a point inside the pannable area,
5993 hildon_pannable_get_child_widget_at.
5995 * examples/hildon-pannable-area-example-4.c
5996 (horizontal_movement): Modified the example to use the new API,
5997 added condition to control which widget is under the event. This
5998 way we can avoid scrolling laterally over other widgets.
6000 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6002 * src/hildon-pannable-area.c
6003 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6004 modes, we stop getting the pointer events due to returning the
6005 callback without properly calling the get pointer again. Fixed
6006 also an error using the hscroll and vscroll.
6008 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6010 * src/hildon-app-menu-private.h
6011 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6012 (hildon_app_menu_button_release, hildon_app_menu_init)
6013 (hildon_app_menu_class_init): Don't hide the menu on button
6014 release if the user didn't press outside first.
6016 * src/hildon-window.h
6017 * src/hildon-window.c (hildon_window_toggle_menu)
6018 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6019 hildon_window_toggle_menu a virtual function for the stackable
6020 window to override it.
6022 * src/hildon-stackable-window.h
6023 * src/hildon-stackable-window-private.h
6024 * src/hildon-stackable-window.c
6025 (hildon_stackable_window_realize)
6026 (hildon_stackable_window_finalize)
6027 (hildon_stackable_window_class_init)
6028 (hildon_stackable_window_init)
6029 (hildon_stackable_window_set_main_menu): New function to set the
6030 app menu of a HildonStackableWindow.
6032 * examples/hildon-app-menu-example.c: Remove the button to show
6033 the app menu, now it'll be shown when clicking on the title bar
6036 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6038 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6039 set the widget name if the arrangement flags do not specify
6042 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6044 * src/hildon-button.c: (hildon_button_set_property),
6045 (hildon_button_class_init), (hildon_button_new_full),
6046 (hildon_button_set_arrangement): Added "arrangement-flags"
6049 Make the HildonButtonFlags a construction-only property, to allow
6050 subclasses to set them properly.
6052 2008-07-21 Tim Janik <timj@imendio.com>
6054 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6055 insertion position after backspace, so additional digits are appended,
6058 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6060 * src/hildon-pannable-area.c,
6061 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6062 TODO list, it was complete and removed the g_debug and g_print
6065 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6067 Added the movement modes to the hildon-pannable-area, with this
6068 modes the developers can control in which directions the widget
6069 can scroll. They can also connect to signals in order to do
6070 something when that happens, allowing applications scroll. There
6071 is an example uploaded showing how to use it.
6073 * examples/Makefile.am:
6074 * examples/hildon-pannable-area-example-4.c: Added this example of
6075 an application using the modes.
6077 * src/hildon-marshalers.list: Added a new marshaller for the new
6080 * src/hildon-pannable-area.h: Added new enumerations and flags in
6081 order to control the movement modes and the new signals to warn
6082 about the movements in the area.
6084 * src/hildon-pannable-area.c:
6085 (hildon_pannable_axis_scroll),
6086 (hildon_pannable_area_scroll),
6087 (hildon_pannable_area_motion_notify_cb),
6088 (hildon_pannable_area_get_property),
6089 (hildon_pannable_area_set_property),
6090 (hildon_pannable_area_map),
6091 (hildon_pannable_area_class_init),
6092 (hildon_pannable_area_init),
6093 (hildon_pannable_area_jump_to): Added the modes to control the
6094 movement in the widget. We have added properties to control it,
6095 signals to warn about the movements and refactored some code.
6097 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6099 Changes required in order to allow vfast_factor set to zero to
6102 * src/hildon-pannable-area.c:
6103 (hildon_pannable_area_button_press_cb): Changed the condition, it
6104 is required for not allowing click when vfast_factor is zero.
6105 (hildon_pannable_area_timeout): Initialized velocity variables
6106 when we stop moving, it was less than 1 but not zero and we need
6107 to check zero in some situations.
6108 (hildon_pannable_area_class_init): Changed the default value of
6109 the speed factor, now the button_press is just sent in case the
6110 speed is 2 per cent of the max speed.
6111 (hildon_pannable_area_init): Initialization with 0.
6113 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6115 * src/hildon-pannable-area.c,
6116 (hildon_pannable_area_get_topmost): replaced
6117 gdk_window_get_children with gdk_window_peek_children, this way we
6118 do not have to free the list because it is not a copy.
6120 (hildon_pannable_axis_scroll),
6121 (hildon_pannable_area_scroll),
6122 (hildon_pannable_area_timeout),
6123 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6124 two parameters that were only used inside the
6125 hildon_pannable_area_scroll function.
6127 * examples/hildon-pannable-area-example.c,
6128 (get_sawtooth_label): Fixed small memory leak.
6130 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6132 More checks for the case where the overshoot is bigger than the
6135 * src/hildon-pannable-area.c:
6136 (hildon_pannable_draw_vscroll),
6137 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6138 to draw the slider of the scrollbar under the other scrollbar.
6139 (hildon_pannable_area_expose_event): added new checks to control
6140 the drawing of the overshooting area rectangle, in case it is too
6141 big for the area of the widget.
6142 (hildon_pannable_area_size_allocate): add more checks to avoid
6143 setting a position to the child widget outside the area.
6145 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6147 * src/hildon-pannable-area.c
6148 (hildon_pannable_area_size_allocate): Added conditions to control
6149 when overshooting is bigger than the allocated space for the
6150 children, this avoids negative allocations.
6152 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6154 * doc/hildon-docs.sgml
6156 * examples/Makefile.am
6157 * examples/hildon-button-example.c
6159 * src/hildon-button.c
6160 * src/hildon-button.h
6161 * src/hildon.h: Initial version of the new HildonButton widget,
6164 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6166 * src/hildon-pannable-area.c:
6167 (hildon_pannable_area_button_press_cb),
6168 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6169 (hildon_pannable_area_motion_notify_cb),
6170 (hildon_pannable_area_button_release_cb),
6171 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6172 (hildon_pannable_area_jump_to_child):
6174 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6176 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6178 * examples/Makefile.am
6179 * examples/hildon-pannable-area-touch-grid-example.c
6180 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6181 the Hildon Touch List and Hildon Touch Grid using the
6182 HildonPannableArea widget.
6184 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6186 * src/hildon-pannable-area.c,
6187 (hildon_pannable_area_button_press_cb),
6188 (hildon_pannable_area_refresh),
6189 (hildon_pannable_area_scroll),
6190 (hildon_pannable_area_motion_notify_cb),
6191 (hildon_pannable_area_button_release_cb),
6192 (hildon_pannable_area_expose_event),
6193 (hildon_pannable_area_add),
6194 (hildon_pannable_area_remove),
6195 (hildon_pannable_area_realize),
6196 (hildon_pannable_area_size_allocate),
6197 (hildon_pannable_area_class_init),
6198 (hildon_pannable_area_init),
6199 (hildon_pannable_area_scroll_to_child),
6200 (hildon_pannable_area_jump_to_child): Fixed the problem of
6201 removing the child from the GtkBin, we have rearranged the widget
6202 hierarchy, now there is no GtkAlignment which was not doing
6203 anything interesting but breaking some of the assumptions of
6204 GtkContainer. Now developers if they want to add a GtkAlignment
6205 they could, but it is not inside the area.
6207 We had to review the whole allocation/expose process, now it is
6208 improved and we save at least three signals which would be saving
6209 some time when rendering the widget. The allocation of the
6210 scrollbars is now made in the allocate method as usual.
6212 We have also added some conditions in order to control when there
6213 is no child of the pannable area. Maybe we will need more work
6216 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6218 * src/hildon-pannable-area.c,
6219 (hildon_pannable_area_dispose): Released the fade-out timeout when
6220 disposing the widget.
6222 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6224 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6225 zero, we are going to use that property in order to deactivate the
6227 (hildon_pannable_axis_scroll),
6228 (hildon_pannable_area_size_allocate): Added conditions to control
6229 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6230 call, now it is called in all situations and we can remove calls
6231 in the allocate method.
6232 (hildon_pannable_area_map): Control the situation when
6233 overshoot_max is zero, we do not need the timeout.
6234 (hildon_pannable_area_class_init): Added documentation in order to
6235 point out that setting zero to overshoot_max means deactivate
6238 NOTE: removed trailing whitespaces from my previous comments of
6241 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6243 * src/hildon-pannable-area.c
6244 (hildon_pannable_area_get_property),
6245 (hildon_pannable_area_set_property),
6246 (hildon_pannable_area_map),
6247 (hildon_pannable_area_class_init),
6248 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6249 to cause the widget give a hint about its panning abilities upon
6252 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6254 * src/hildon-pannable-area.c: Several documentation improvements.
6256 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6258 * src/hildon-program.c
6259 * src/hildon-stackable-window.c: Update documentation.
6261 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6263 * src/hildon-stackable-window.c (get_previous_window_if_last):
6264 Renamed get_last_window()
6265 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6266 (hildon_stackable_window_unset_program):
6268 (get_previous_window_if_last):
6269 Detect if the window hasn't been added to a HildonProgram.
6271 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6273 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6275 * src/hildon-pannable-area.c
6276 (hildon_pannable_area_button_press_cb),
6277 (hildon_pannable_axis_scroll),
6278 (hildon_pannable_area_scroll),
6279 (hildon_pannable_area_timeout),
6280 (hildon_pannable_calculate_vel_factor),
6281 (hildon_pannable_area_get_property),
6282 (hildon_pannable_area_set_property),
6283 (hildon_pannable_area_class_init),
6284 (hildon_pannable_area_init),
6285 (hildon_pannable_area_scroll_to),
6286 (hildon_pannable_area_jump_to),
6287 (hildon_pannable_area_scroll_to_child),
6288 (hildon_pannable_area_jump_to_child):
6289 * src/hildon-pannable-area.h: Added the new API functions:
6290 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6291 hildon_pannable_area_scroll_to_child,
6292 hildon_pannable_area_jump_to_child
6295 * examples/Makefile.am
6296 * examples/hildon-pannable-area-example-2.c
6297 * examples/hildon-pannable-area-example-3.c: Added these two new
6298 examples in order to test and show how the new APIs work.
6300 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6302 * examples/hildon-stackable-window-example.c (new_window):
6303 * src/Makefile.am (noinst_HEADERS):
6304 * src/hildon-program.c (hildon_program_go_to_root_window):
6305 * src/hildon-program.h:
6306 * src/hildon-stackable-window-private.h:
6307 * src/hildon-stackable-window.c:
6308 * src/hildon-stackable-window.h:
6309 Create hildon-stackable-window-private.h
6310 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6312 * examples/hildon-app-menu-example.c (create_menu):
6313 * examples/hildon-hvolumebar-insensitive-example.c (main):
6314 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6315 * examples/hildon-toolbar-seekbar-example.c (main):
6316 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6317 * src/hildon-banner.c (hildon_banner_set_property):
6318 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6319 Fix compilation warnings
6321 * src/hildon-window.c:
6324 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6326 * src/hildon-stackable-window.c
6327 (hildon_stackable_window_unset_program):
6328 Calculate correctly whether to show the previous window if the
6329 last one is removed from the stack.
6330 (hildon_stackable_window_go_to_root_window):
6331 Send delete events starting from the topmost window.
6332 Stop if one of the windows is not destroyed.
6334 (hildon_stackable_window_delete_event)
6335 (hildon_stackable_window_class_init):
6336 Ignore the delete event if the window is not the topmost one.
6338 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6340 * src/hildon-pannable-area.c
6341 (hildon_pannable_area_expose_event): Fixed a problem when
6342 selecting the background color of the scrollbars.
6344 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6346 * examples/hildon-stackable-window-example.c
6347 * src/hildon-stackable-window.c
6348 * src/hildon-stackable-window.h
6349 hildon_stackable_window_go_home() renamed to
6350 hildon_stackable_window_go_to_root_window()
6351 Send delete events to windows rather than closing them with
6352 gtk_widget_destroy()
6354 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6356 * src/hildon-pannable-area.c
6357 (hildon_pannable_area_button_release_cb): Fix overshooting in
6360 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6362 * src/hildon-pannable-area.c
6363 (hildon_pannable_area_init): Initially show the scroll indicators.
6364 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6366 Add initial effect showing the widget is pannable.
6368 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6370 * src/hildon-pannable-area.c
6371 (hildon_pannable_area_class_init)
6372 (hildon_pannable_area_set_property)
6373 (hildon_pannable_area_get_property)
6374 (hildon_pannable_area_button_press_cb):
6375 New 'velocity_fast_factor' property to decide which velocity is
6378 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6380 * src/hildon-pannable-area.c
6381 (hildon_pannable_draw_hscroll)
6382 (hildon_pannable_draw_vscroll):
6383 Use float variables to calculate the size of the scrollbars to
6384 avoid error propagation and resizing during scrolling.
6386 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6388 * src/hildon-pannable-area.c
6389 (hildon_pannable_draw_vscroll)
6390 (hildon_pannable_draw_hscroll):
6391 Define a minimum size for the scroll bars
6393 * src/hildon-stackable-window.c
6394 (hildon_stackable_window_go_home): Fix compilation warning
6395 (get_last_window): Minor optimizations
6396 (hildon_stackable_window_class_init): Fix initialization of
6399 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6401 * src/hildon-stackable-window.c: Fixed typos in doc
6403 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6405 * src/hildon-pannable-area.c
6406 (hildon_pannable_area_scroll):
6407 Calculate here whether we need to scroll instead of using the booleans
6408 that tell us whether to /draw/ the scrolling bars.
6410 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6412 * src/hildon-app-menu.h
6414 * src/hildon-app-menu.c
6415 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6416 multiple filter groups related code and API. Now we support only
6418 * examples/hildon-app-menu-example.c:
6420 Update to reflect API changes.
6422 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6424 * src/hildon-stackable-window.c
6425 (hildon_stackable_window_class_init):
6426 Add hildon_stackable_window_realize.
6427 (hildon_stackable_window_realize):
6428 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6429 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6430 to apply theming and behavior specific to HildonStackableWindow
6433 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6435 * src/hildon-note.c (hildon_note_button_release):
6436 Close information notes also when tapping on them
6438 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6440 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6441 ELASTICITY, refactor and review, fix some issues with drawing
6444 * src/hildon-pannable-area.c:
6445 (hildon_pannable_area_button_press_cb): removed the conditions to
6446 avoid clicks when overshooting. It is not required
6448 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6449 define. Refatored and reviewed the code, now we do not need to
6450 manage velocity in motion_notify.
6452 (hildon_pannable_area_motion_notify_cb): We have moved the code
6453 that controls the area_scroll to the axis_scroll function and get
6454 rid of duplicated code.
6456 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6458 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6460 (hildon_pannable_draw_vscroll),
6461 (hildon_pannable_draw_hscroll): Fixed the problems with the
6462 scrollbar drawing, now we do not use two surfaces, it is easier
6463 and saves resources.
6465 (hildon_pannable_area_get_property): Style modification.
6467 (hildon_pannable_area_class_init): Changed some default values.
6469 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6471 * src/hildon-stackable-window.c: Fix some typos in the
6474 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6476 * src/hildon-dialog.c:
6477 Change indentation style
6480 (hildon_note_button_release):
6481 Use root coordinates to check if the release event happened
6484 * src/hildon-app-menu.c
6485 (hildon_app_menu_button_release):
6486 Remove unnecessary check
6488 * examples/hildon-app-menu-example.c
6490 Add cast to fix warning
6492 * src/hildon-app-menu.c
6493 (hildon_app_menu_class_init):
6494 New inner-border style property.
6495 Set all default spacings to 16
6496 (hildon_app_menu_init):
6497 Use vertical-spacing to set the space between filter buttons and
6498 regular menu buttons.
6499 Set the default container border using the inner-border value.
6501 * examples/hildon-app-menu-example.c
6503 Don't set the menu border explicitly, now we have the inner-border
6504 style property for that.
6506 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6508 * src/hildon-app-menu.c (hildon_app_menu_init):
6509 Make the window modal
6511 * src/hildon-note.c (hildon_note_map)
6512 * src/hildon-app-menu.c (hildon_app_menu_map):
6513 Destroy the grab window if we're unable to grab the pointer
6515 * src/hildon-app-menu-private.h
6516 * src/hildon-app-menu.c
6517 (hildon_app_menu_init, hildon_app_menu_finalize)
6518 (hildon_app_menu_map, hildon_app_menu_unmap)
6519 (hildon_app_menu_button_release)
6520 (grab_transfer_window_get):
6521 Bring back the grab window
6522 (hildon_app_menu_realize):
6523 Decorate the window, set WM hint for Matchbox
6525 * src/hildon-note.c (hildon_note_realize):
6526 * src/hildon-banner.c (hildon_banner_realize):
6527 Add WM hints for Matchbox
6529 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6531 * src/hildon-app-menu-private.h
6532 * src/hildon-app-menu.c
6533 (hildon_app_menu_init, hildon_app_menu_finalize)
6534 (hildon_app_menu_map, hildon_app_menu_unmap)
6535 (hildon_app_menu_button_release):
6536 Remove the grab window, it's not needed anymore
6538 * src/hildon-program.c
6539 Fixed typo in documentation
6541 * src/hildon-app-menu.h
6542 * src/hildon-app-menu.c
6543 * examples/hildon-app-menu-example.c
6544 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6546 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6549 Added new transfer_window and close_if_pressed_outside private
6551 (hildon_note_rebuild):
6552 Don't add a cancel button to the information note. It will be
6553 closed when tapping outside
6554 Remove the comment about the OK button in the documentation
6555 (hildon_note_realize):
6556 Set the notification type hint
6557 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6558 Grab/ungrab pointer and keyboard if the note has to be closed when
6560 (hildon_note_button_release):
6561 Close the note when tapping outside (if applicable)
6563 * src/hildon-app-menu.c
6564 Grab/ungrab pointer and keyboard on map/unmap
6565 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6566 Close the menu on button release, not button press
6568 * src/hildon-banner.c
6569 (hildon_banner_set_property)
6570 (hildon_banner_check_position):
6571 Make the banner use the full width of the screen
6572 (hildon_banner_show_information)
6573 (hildon_banner_show_information_with_markup):
6574 Don't display an icon by default
6576 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6578 Added fading scrollbars and adapted all the overshooting code to
6579 horizontal scrolling. We have also fixed bugs with overshooting
6580 and current fading implementation.
6582 * src/hildon-pannable-area.c
6583 (hildon_pannable_area_scroll_indicator_fade): Time out function
6584 used to change the transparency of the scrollbars.
6586 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6587 control and fixed a problem with fading, we now remove the fade
6588 timeout before adding a new one.
6590 (hildon_pannable_axis_scroll):
6591 (hildon_pannable_area_scroll):
6592 (hildon_pannable_area_timeout): Added this functions so we can use
6593 the scroll code both for vertical and horizontal.
6595 (hildon_pannable_area_motion_notify_cb):
6596 (hildon_pannable_area_button_release_cb): Added the horizontal
6597 scrolling control, fixed a problem with the overshooting timeout.
6599 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6600 painting of the scrolls.
6602 (hildon_pannable_draw_vscroll):
6603 (hildon_pannable_draw_hscroll):
6604 (hildon_pannable_area_expose_event):
6605 Draw both scrollbars and rectangles in the overshooting area.
6607 (hildon_pannable_area_get_property):
6608 (hildon_pannable_area_set_property):
6609 Modified the overshoot property to overshoot_max
6611 (hildon_pannable_area_map):
6612 Replaced the comments symbols.
6614 (hildon_pannable_area_size_allocate):
6615 (hildon_pannable_area_class_init):
6616 (hildon_pannable_area_init): Added horizontal scroll, fading
6617 effect properties, fixed a problem when overshooting in the bottom
6620 * examples/hildon-pannable-area-example.c:
6621 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6622 looks better in the example.
6624 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6626 * src/hildon-window.c
6627 * src/hildon-window.h
6628 (hildon_window_class_init)
6629 (hildon_window_unset_program)
6630 (hildon_window_unset_program_real):
6631 Make unset_program a virtual function
6633 * src/hildon-stackable-window.c
6634 * src/hildon-stackable-window.h
6635 Added hildon_stackable_window_go_home()
6637 * examples/Makefile.am
6638 * examples/hildon-stackable-window-example.c
6639 HildonStackableWindow example
6641 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6643 * hildon-pannable-area.c: Added the overshoot property and removed
6644 the OVERSHOOT define. Fixed an indent style error.
6645 (hildon_pannable_area_motion_notify_cb):
6646 (hildon_pannable_area_get_property):
6647 (hildon_pannable_area_set_property): Add overshoot property.
6649 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6652 (hildon_pannable_area_class_init): Installed the new property.
6654 * hildon-pannable-area-example.c: Added a sawtooth function, this
6655 way it is easier to check the movement in the pannable.
6656 (get_sawtooth_label): Added this function.
6657 (main): Now we get the labels from the new get_sawtooth_label
6660 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6662 * src/hildon-app-menu.h
6663 * src/hildon-app-menu.c
6664 Renamed API variables for consistency
6666 (hildon_app_menu_popup): Use also the default window size to
6667 decide where to place the menu
6669 (hildon_app_menu_init, hildon_app_menu_class_init): New
6670 external-border style property
6672 2008-05-26 Michael Natterer <mitch@imendio.com>
6674 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6675 widget_class->tap_and_hold_setup signal slot doesn't exist any
6676 longer, stop overriding it.
6678 (hildon_time_editor_init): g_signal_connect() to the
6679 tap-and-hold-setup signal instead.
6681 (hildon_time_editor_entry_keypress): add cast to fix warning.
6683 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6685 * doc/hildon-docs.sgml
6687 * examples/Makefile.am
6688 * examples/hildon-app-menu-example.c
6690 * src/hildon-app-menu-private.h
6691 * src/hildon-app-menu.c
6692 * src/hildon-app-menu.h
6694 New HildonAppMenu widget
6696 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6698 Rearranged the inheritance of the pannable area, now it inherits
6699 from GtkBin. This will allow us to control the event_window and
6700 the allocation process of the widget, required for some effects.
6702 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6703 GtkBin structures. * src/hildon-pannable-area.c: Added the
6704 event_window variable.
6705 (hildon_pannable_area_button_press_cb):
6706 (hildon_pannable_area_button_release_cb):
6707 (hildon_pannable_area_motion_notify_cb):
6708 Changed the signature of the method, now we override the event
6709 callback instead of connecting to the signal.
6711 (hildon_pannable_area_realize):
6712 (hildon_pannable_area_unrealize):
6713 (hildon_pannable_area_map):
6714 (hildon_pannable_area_unmap):
6715 (hildon_pannable_area_size_allocate):
6716 Added functions to control the widget construction. We add a
6717 INPUT_ONLY window and we put it over the widgets inside the
6718 container, this event_window handles the events.
6720 (hildon_pannable_area_class_init):
6721 Replaced the signal connections with overrides of the event
6724 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6726 Bouncing effect added when touching the borders, you can change
6727 the elasticity of the border changing the ELASTICITY define.
6729 * src/hildon-pannable-area.c: Added ELASTICITY define.
6730 (hildon_pannable_area_timeout): Added inverse velocity when
6731 touching the border of the child widget, that causes a bounce.
6733 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6735 Improved performance, we now do not go to the X server in order to
6736 get the list of window children. Apparently the effect is the
6737 same, we have to be careful and check if this breaks something in
6740 * src/hildon-pannable-area.c:
6741 (get_ordered_children): Removed this function.
6742 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6743 the children windows function with gdk_window_get_children.
6745 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6747 * src/hildon-pannable-area.c:
6748 (hildon_pannable_area_dispose): Fixed a crash when closing the
6749 window and kinetics is activated.
6751 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6753 * src/hildon-pannable-area.h
6754 * src/hildon-pannable-area.c
6755 Changed indentation style to meet the one used in Hildon
6757 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6759 Reviewed the interaction of the AUTO mode, now we use the time
6760 attribute of the events and calculate the velocity in the motion,
6761 doing a gimp like calculation. The velocity is calculated in each
6762 motion event using the last velocity and the current one, the
6763 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6765 * src/hildon-pannable-area.c: Replaced the time based algorithm
6767 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6768 timeout for the AUTO mode when we are still moving the cursor. We
6769 added also the velocity calculation in this function.
6770 (hildon_pannable_area_button_release_cb): launch the timeout in
6771 case we are in AUTO mode. There are still some constants here that
6772 come from the old implementation that should be reviewed and
6775 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6777 * doc/hildon-docs.sgml
6780 * src/hildon-stackable-window.c
6781 * src/hildon-stackable-window.h
6783 New HildonStackableWindow widget
6785 * examples/hildon-dialog-example.c
6786 * examples/hildon-pannable-area-example.c
6789 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6791 * src/hildon-dialog.c
6792 (hildon_dialog_new_with_buttons): New constructor.
6794 * examples/hildon-dialog-example.c
6795 (main): Update the example to use the new
6796 hildon_dialog_new_with_buttons().
6798 * examples/hildon-pannable-area-example.c
6799 (main): Update example.
6801 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6803 * doc/hildon-docs.sgml
6805 Added HildonPannableArea to the documentation.
6807 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6809 * doc/visual_index.xml
6810 Fix reference to HildonLoginDialog in documentation
6812 * doc/hildon-docs.sgml
6814 * examples/Makefile.am
6815 * examples/hildon-dialog-example.c
6817 * src/hildon-dialog.c
6818 * src/hildon-dialog.h
6820 New HildonDialog widget.
6822 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6824 * src/hildon-pannable-area.c
6825 Merge latest changes (r4318, r4342) from libmokoui trunk
6827 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6829 * examples/Makefile.am
6830 * examples/hildon-pannable-area-example.c
6832 * src/hildon-pannable-area.c
6833 * src/hildon-pannable-area.h
6835 New HildonPannableArea widget.
6837 2008-04-15 18:05:19 <timj@imendio.com>
6839 * src/hildon-banner.c: revert the recent change, that introduced
6840 gtk_window_present() calls. this reopens:
6841 Bug 78481 - [freetest] information banners are hidden under browser menu
6842 But resolves another variant of:
6843 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6845 2008-04-15 13:21:13 <timj@imendio.com>
6847 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6848 recreated its layout, spotted by Kris. this fixes all remaining
6849 artefacts and stability issues with the banner code. in particular:
6850 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6852 2008-04-14 16:52:59 <timj@imendio.com>
6854 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6855 operating on unrealized widgets, fixes:
6856 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6858 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6860 2008-04-09 Kristian Rietveld <kris@imendio.com>
6862 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6863 makes banner disappear.
6864 Fixes: NB#79182: info banner flickering with certain message lengts.
6866 * src/hildon-banner.c (hildon_banner_constructor),
6867 (hildon_banner_init), (hildon_banner_set_text),
6868 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6869 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6870 FALSE, reset size requests of label and banner,
6871 (force_to_wrap_truncated): when the text is too wide, always enforce
6872 the maximum possible width instead of recalculating it from the
6873 layout; enforce the maximum banner height of 3 lines,
6874 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6875 nicer wrapping and no truncated chars if space gets tight.
6877 * src/hildon-banner-private.h: add has_been_wrapped and
6878 has_been_truncated fields.
6880 2008-04-07 Sven Herzberg <sven@imendio.com>
6882 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6883 local values in hildon_date_editor_size_allocate
6885 * src/hildon-date-editor.c: moved the real allocation code into the
6888 2008-04-07 Sven Herzberg <sven@imendio.com>
6890 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6891 local values in hildon_date_editor_size_allocate
6893 * src/hildon-date-editor.c: merged the two if() branches together
6895 2008-04-07 Sven Herzberg <sven@imendio.com>
6897 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6898 local values in hildon_date_editor_size_allocate
6900 * src/hildon-date-editor.c: changed the arguments of the if()
6903 2008-04-07 Sven Herzberg <sven@imendio.com>
6905 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6906 local values in hildon_date_editor_size_allocate
6908 * src/hildon-date-editor.c: split the calculation of the allocation
6909 from the real allocation
6911 2008-03-27 Michael Natterer <mitch@imendio.com>
6913 Fixes: NB#81696: The passcode is not overwritten even after
6916 * src/hildon-code-dialog.c
6917 (hildon_code_dialog_button_clicked)
6918 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6919 because that doesn't overwrite selected text. Instead, emit the
6920 "commit" signal on the entry's im_context so the entry's normal
6921 insert logic is triggered. Set the cursor to the end of the entry
6922 after each insert operation so that we *only* insert in the middle
6923 of the text if something was selected.
6925 2008-03-27 Michael Natterer <mitch@imendio.com>
6927 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6928 selector cannot be opened
6930 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6931 when the popup color selector is created. Please connect to this
6932 signal in order to set the dialog's help ID.
6934 2008-03-25 Sven Herzberg <sven@imendio.com>
6936 Fixes: MB#1212: Hide info banners (infoprints) on click
6938 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6939 extracted the close event simulation into an extra function
6940 (hildon_banner_button_press_event): simulate a close event and destroy
6941 the widget if the event wasn't handled
6942 (hildon_banner_class_init): added the button_press_event handler
6943 (hildon_banner_init): added button-press events to the widget
6945 2008-03-25 Sven Herzberg <sven@imendio.com>
6947 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6948 Patch from: Mohammad Anwari <mdamt@maemo.org>
6950 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6951 instead of the right in RTL mode
6952 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6953 breadcrumb button list in RTL mode
6954 * src/hildon-caption.c: mirror the appearance of the caption widget in
6956 * src/hildon-date-editor.c: mirror appearance of the date editor in
6958 * src/hildon-time-editor.c: mirror appearance of the time editor in
6960 * src/hildon-window.c: fix the position of the popup in RTL mode
6962 2008-03-25 Sven Herzberg <sven@imendio.com>
6964 Amendment to the fix of NB#22072. Fix compilation.
6966 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6968 2008-03-19 Sven Herzberg <sven@imendio.com>
6970 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6973 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6974 timeout id properly when the timeout will disappear this leaves no
6975 artifacts around in the destroy(); there will only be the timeout
6976 created by hildon_banner_ensure_timeout() and adding a new timeout
6977 will also work if the timeout gets removed because the timeout_handler
6980 2008-03-19 Michael Natterer <mitch@imendio.com>
6982 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6984 * src/hildon-volumebar.c
6985 * src/hildon-vvolumebar.c
6986 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6987 the widget becomes focussable at all.
6989 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6990 set the focus to wither the mute button or the volumebar.
6992 Remove own "can-focus" property and instead listen to
6993 notify::can-focus in order to update the widget's state.
6995 Implement GtkWidget::focus() and make sure we can also *leave* the
6996 widget, not only enter it, depending on volumebar orientation and
6997 requested focus direction.
6999 Clean up set_mute() to cooperate nicely with all the above.
7001 2008-03-04 Michael Natterer <mitch@imendio.com>
7003 Fixes: NB#78481: information banners are hidden under browser menu
7005 * src/hildon-banner.c: call gtk_window_present() on the banners so
7006 they are risen if they are already visible.
7008 2008-03-03 Sven Herzberg <sven@imendio.com>
7010 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7012 * examples/hildon-window-menu-example.c: (main): extended the window
7013 menu example to serve as a testcase for automatically added
7014 accelerator groups, too
7015 * src/hildon-window.c: (hildon_window_add_accel_group),
7016 (hildon_window_set_menu): added patch by Tommi Komulainen
7018 2008-03-03 Sven Herzberg <sven@imendio.com>
7020 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7022 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7023 knowledge about the border allocators used within GTK+
7025 2008-02-26 Sven Herzberg <sven@imendio.com>
7027 Fixes: MB#2981: Build with asserts broken
7029 * src/hildon-date-editor.c,
7030 * src/hildon-number-editor.c,
7031 * src/hildon-time-editor.c,
7032 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7033 the proper GType instance check
7035 2008-02-25 Sven Herzberg <sven@imendio.com>
7037 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7039 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7040 * examples/hildon-window-menu-example.c: (main): explicitly show
7042 * src/hildon-window.c:
7043 (hildon_window_set_main_menu): moved most of the code from set_menu()
7044 to this place; skipped the call to gtk_widget_show_all(); also didn't
7045 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7046 (hildon_window_set_menu): removed most of the code, just keep the
7047 questionable gtk_widget_show_all()
7048 * src/hildon-window.h: added the new function and deprecate the old
7051 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7057 * debian/changelog: Updating.
7059 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7062 * pkgconfig/Makefile.am:
7063 * pkgconfig/hildon.pc.in:
7066 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7067 use newly created API_MAJOR_VERSION.
7069 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7075 * debian/changelog: Updating.
7077 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7079 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7081 Add outer_border style property, we use it but don't define it (!).
7085 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7087 * examples/hildon-bread-crumb-trail-example.c (main):
7091 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7093 Fix logic for the bread crumb trail node removal.
7097 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7103 * debian/changelog: Updating.
7105 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7107 Patch by Alejandro to get/set passwords dialogs accesibility.
7109 * hildon-1/src/hildon-get-password-dialog.c:
7110 * hildon-1/src/hildon-set-password-dialog.c:
7111 Set atk_set_name to the passwd entries in order to allow
7112 accessibility by name on this entries.
7114 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7119 * debian/control: Updating gtk dep.
7121 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7123 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7124 USE_MAEMO_GTK is enabled.
7126 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7128 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7129 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7131 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7137 * debian/changelog: Updating.
7139 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7141 * examples/Makefile.am:
7142 * examples/hildon-logical-color-example.c:
7143 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7144 applied + adding a test case. Fixes: NB#71660.
7146 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7148 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7149 to be visible, fixes warning on map for windows without toolbars.
7151 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7153 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7154 2.11.0, add a check for that besides the MAEMO_GTK check.
7156 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7162 * debian/changelog: Updating.
7164 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7166 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7167 visibility. Fixes: NB#70842 and MB#615.
7169 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7171 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7172 set the separator as no-show-all so it doesn't unintentionally appear when
7173 someone does a show_all.
7175 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7177 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7178 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7179 toplevel item. Fixes: NB#62031
7181 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7183 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7184 fix the name of the function in the docs.
7186 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7192 * debian/changelog: Updating.
7194 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7196 * examples/hildon-banner-long-example.c: Adding a test-case for long
7199 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7201 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7203 * src/hildon-color-chooser-dialog.c:
7204 * src/hildon-color-chooser.c:
7205 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7206 memory leaks in font selector and color selector. Fixes: NB#70499 and
7209 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7211 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7213 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7215 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7216 little bit bigger. Fixes: #NB63694.
7218 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7224 * debian/changelog: Updating.
7226 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7229 * doc/hildon-docs.sgml:
7230 * doc/images/bread-crumb-trail.png:
7231 * doc/images/calendar-popup.png:
7232 * doc/images/caption.png:
7233 * doc/images/code-dialog.png:
7234 * doc/images/color-button.png:
7235 * doc/images/color-chooser-dialog.png:
7236 * doc/images/color-chooser.png:
7237 * doc/images/controlbar.png:
7238 * doc/images/date-editor.png:
7239 * doc/images/font-selection-dialog.png:
7240 * doc/images/get-password-dialog.png:
7241 * doc/images/hvolumebar.png:
7242 * doc/images/login-dialog.png:
7243 * doc/images/note.png:
7244 * doc/images/number-editor.png:
7245 * doc/images/range-editor.png:
7246 * doc/images/seekbar.png:
7247 * doc/images/set-password-dialog.png:
7248 * doc/images/sort-dialog.png:
7249 * doc/images/time-editor.png:
7250 * doc/images/time-picker.png:
7251 * doc/images/vvolumebar.png:
7252 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7253 Adding the bread-crumb-trial and helpers to the documentation.
7255 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7257 * examples/hildon-find-toolbar-example.c:
7258 * src/hildon-find-toolbar.c:
7259 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7260 actually continue firing the other handlers if connected. Adding a new
7262 hildon_find_toolbar_get_last_index that gets the index of the most
7263 recently added (last) item. Fixes: NB#52301.
7265 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7267 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7268 behaviour. Fixes: NB#68610.
7270 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7272 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7275 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7277 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7278 when realizing the banner. Should make the infonbanner effect a bit more
7281 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7283 * src/hildon-volumebar.c:
7284 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7285 hildon_volumebar_set_range_insensitive_message and
7286 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7288 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7290 * src/hildon-window.c: Fixing the border freeing on destroy.
7292 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7294 * src/hildon-code-dialog-private.h:
7295 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7296 kw keyboard support in HildonCodeDialog.
7298 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7304 * debian/changelog: Updating.
7306 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7308 * src/hildon-date-editor.c:
7309 * src/hildon-number-editor.c:
7310 * src/hildon-private.c:
7311 * src/hildon-private.h:
7312 * src/hildon-time-editor.c:
7313 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7314 handling in subclassed composite widgets. Fixes: NB#66628.
7316 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7318 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7319 from destroy_ callback as it introduces problems in async dbus signal
7320 handlers. Fixes NB#66673.
7322 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7324 * examples/hildon-hvolumebar-example.c:
7325 * src/hildon-volumebar.c: Improving the focus handling in the
7326 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7327 set_property accessor so that "mute" property can be actually set. I'm
7328 scared that nobody noticed it's totally broken.
7330 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7332 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7335 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7337 * src/hildon-calendar.c:
7338 * src/hildon-number-editor.c:
7339 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7340 matches the spec of 6 chars per second. Fixes: NB#60489.
7342 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7344 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7345 gtk_style_lookup_color sometime returns FALSE even though color was
7346 found and values were filled properly. Weird. Removing the warning for the
7349 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7351 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7352 expand vertically. Adding some extra space to the find toolbar buttons to
7353 make them thumbable. Fixes NB#66060.
7355 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7357 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7358 popup with "Ok" and "Cancel". Fixes NB#59299.
7360 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7362 * src/hildon-calendar.c: Process all window updates before executing next
7363 timeout. Fixes: NB#54146.
7365 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7371 * debian/changelog: Updating.
7373 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7375 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7376 the client event and ignore it, since we use the delete event to close
7379 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7381 * src/hildon-helper.c: Remove the bogus warning about color not being
7382 found. Fixes NB#58352.
7384 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7386 * examples/Makefile.am:
7387 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7388 HildonSeekbar widget inside a toolbar.
7390 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7392 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7393 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7394 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7395 don't want to be closed by non-temporary windows on map.
7397 Also use G_DEFINE_TYPE instead of manually typed code.
7399 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7406 * debian/rules: Updating.
7408 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7410 * examples/Makefile.am:
7411 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7412 bug NB#61128. Strangely it works.
7414 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7416 * src/hildon-date-editor.c: When the date editor entry has been changed
7417 but the numbers of characters < max, turn off the skip validation flag.
7418 Prevents a situation when we enter first a valid year and later re-write
7419 it with an invalid one. Fixes NB#60154.
7421 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7423 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7424 code dialog. Fixes NB#64355.
7426 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7428 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7429 switching the page. Fixes NB#49374.
7431 * examples/Makefile.am:
7432 * examples/hildon-wizard-dialog-example.c: Adding an example for
7433 HildonWizardDialog that shows how to handle manual sensitivity setting on
7436 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7440 * src/hildon-version.h.in:
7441 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7443 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7445 * src/hildon-volumebar.c: Updating the docs.
7447 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7453 * debian/changelog: Updating.
7455 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7457 * src/hildon-find-toolbar.c:
7458 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7459 selected item: hildon_find_toolbar_set_active,
7460 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7461 hildon_find_toolbar_get_active_iter . They correspond to respective
7462 GtkComboBox functions.
7464 * examples/Makefile.am:
7465 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7468 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7470 * examples/Makefile.am:
7471 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7474 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7475 when font size > 32 and we pack a focusable widget inside. Actually using
7476 the default response would work too, but since we don't show default
7477 response state in any way (no theming) it would not be visible to the
7478 user. Fixes NB#63430.
7480 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7482 * src/hildon-date-editor.c: Adding the missing variable setter in the
7483 set_property handler. Fixes NB#54182.
7485 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7487 * src/hildon-window.h: Changing the long key press time from 1500ms to
7488 800ms as requested in NB#63700. I have a bad feeling about this, let's
7489 see... Fixes NB#63700.
7491 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7493 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7494 hildon_time_picker_map, hildon_time_picker_realize,
7495 hildon_time_picker_style_set): Split the contents of map to more
7496 appropriate functions; set window decorations on realize and update
7497 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7499 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7504 * debian/changelog: Updating.
7506 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7508 * src/Makefile.am: fixed installation of the header files
7510 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7516 * debian/changelog: Updating.
7518 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7520 * configure.ac: Removing some remaining of --enable-xan.
7522 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7524 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7525 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7527 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7528 2.10.12-osso6 because the move-focus signal needs to be available in
7531 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7533 * examples/Makefile.am:
7534 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7535 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7536 fine. Prolly NB#61128 is fixed now.
7538 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7540 * src/hildon-volumebar.c:
7541 * src/hildon-volumebar.h: Adding the
7542 hildon_volumebar_set_range_insensitive_message and
7543 hildon_volumebar_set_range_insensitive_messagef functions to set
7544 insensitive message on the slider of the volumebar. Fixes NB#61129.
7546 * examples/Makefile.am:
7547 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7548 test the new insensitive messsage functionality on HildonVolumebar.
7550 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7552 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7555 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7557 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7558 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7559 button on after clearing the trail.
7561 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7563 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7565 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7567 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7568 by splitting the installed headers in generated and non-generated groups. Use
7569 only the non-generated headers to create the hildon-enum-types.h file.
7571 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7573 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7575 * src/hildon-window.c: Hide the window before performing the destroy.
7576 Should make the app closing a little tiny bit more snappy.
7578 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7580 * src/hildon-seekbar.c: add gtkrange.h header
7581 * src/hildon-caption.c: remove unused variable
7583 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7585 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7588 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7594 * debian/changelog: Updating.
7596 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7598 * src/hildon-window.c (hildon_window_window_state_event,
7599 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7600 escape timeout on focus-out-event rather than notify::is-topmost; the
7601 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7603 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7605 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7606 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7608 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7610 * src/hildon-window: actually, you need to use the macro always, there's
7611 no private pointer in the instance structure. We should have cleaned this up
7612 when we had the chance...
7614 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7616 * src/hildon-window.c: do not get the private date from HildonWindow before
7617 it passes the g_return_if_fail check. Once it's passed the test, there's no
7618 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7619 if you are only going to access the data once. Whitespace cleanups.
7621 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7623 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7624 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7626 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7632 * debian/changelog: Updating.
7634 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7636 * src/hildon-window.c: When destroying the window, remove (if exists) the
7637 escape timeout handler. Fixes #NB59276.
7639 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7641 * src/hildon-banner.c: When realizing the widget, set the window
7642 transiency. Setting the transiency in the gobject constructor is not
7643 good, as the widget is not realized at that point. Fixes: #NB56624.
7645 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7647 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7648 Add padding for future expansions.
7650 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7652 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7653 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7654 will fake an activation on the previous to the last item of the trail, so
7655 the effect can be overrided by the developer as usual.
7656 Also change the callback for the back button to do the same thing, so its
7657 effect can be overrided too. Fixes: NB#58982
7659 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7661 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7662 HildonCaption. Fixes NB#52379.
7664 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7666 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7667 the internal state of the trail after the user has had the chance of executing
7668 his handler for the signal. Specifically, it may happen that the activated button
7669 is removed and the user still lets the default handler run. This would segfault
7672 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7674 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7675 scrollbar to the preview dialog. Fixes NB#54147.
7677 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7679 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7680 max/min year properties can be altered, so the client can modify it
7681 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7683 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7685 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7686 hildonlike by default. Fixing a problem with disappearing arrows when
7687 scrolling through months and years. Fixes NB#54127.
7689 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7691 * examples/hildon-date-editor-example.c: Adding error callback to the date
7694 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7700 * configure.ac: Updating.
7702 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7704 * configure.ac: Adding a special '--enable-xan' configure option that
7705 turns off the -Werror compilation setting. Usefull for development.
7707 * src/hildon-calendar.c:
7708 * src/hildon-number-editor.c:
7709 * src/hildon-time-picker.c: Adding the 5* multiplier to
7712 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7714 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7715 instead of g_object_ref + gtk_object_sink.
7717 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7723 * debian/changelog: Updating.
7725 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7727 * src/hildon-color-chooser-dialog.c:
7728 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7729 straight from Tommi labs.
7731 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7733 * examples/hildon-finger-example.c: Correcting the header file path.
7735 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7736 the changed signal. Fixes a small memory leak.
7738 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7742 * src/hildon-banner.c: Importing several usefull fixes from the
7743 ubuntu-mobile branch.
7745 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7747 * examples/Makefile.am:
7748 * examples/hildon-finger-example.c: Adding a finger-checking code
7751 * src/hildon-font-selection-dialog.c: Do not allocate the color
7752 structure using the g_new. Fixes NB#54061.
7754 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7756 * src/hildon-helper.c: Correcting tabs in file.
7758 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7760 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7761 control the visibility of the children.
7763 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7765 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7771 * debian/changelog: Updating.
7773 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7775 * src/hildon-bread-crumb-trail.c:
7776 (hildon_bread_crumb_trail_size_allocate):
7778 Make the back button always a square.
7780 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7782 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7783 from the .c file as it's a private file.
7785 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7787 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7788 uses slightly bigger height.
7790 * src/hildon-font-selection-dialog.c: Adding some checks before
7791 freeing memory in the font selection dialog.
7793 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7795 * src/hildon-font-selection-dialog.c: Adding a small check when
7798 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7799 buttons sensitivity on page switching.
7801 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7803 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7804 internal details of adding a bread crumb to the trail.
7806 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7812 * debian/changelog: Updating.
7814 * src/hildon-bread-crumb-trail.h:
7815 * src/hildon-bread-crumb.h: Changing the API guard to
7816 HILDON_ENABLE_UNSTABLE_API.
7818 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7826 * src/hildon-helper.h: Updating.
7828 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7836 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7840 * src/hildon-helper.h: Small fix to make the package actually compile.
7842 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7844 * src/hildon-bread-crumb-trail.h:
7845 * src/hildon-bread-crumb.h:
7847 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7848 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7850 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7852 * examples/hildon-bread-crumb-trail-example.c:
7854 * src/hildon-bread-crumb-trail.c:
7855 * src/hildon-bread-crumb-trail.h:
7856 * src/hildon-bread-crumb.c:
7857 * src/hildon-bread-crumb.h:
7858 * src/hildon-marshalers.list:
7859 * src/hildon-bread-crumb-widget.c:
7860 * src/hildon-bread-crumb-widget.h:
7862 Slight change in the widget design. The bread crumb trail API is
7863 unchanged, but HildonBreadCrumb is now an interface. A *private*
7864 implementation, hildon-bread-crumb-widget, is provided and used
7865 internally by the trail for the push_text/push_icon functions.
7867 The generic push API is still available, so anyone can implement
7868 and use its own bread crumb widget.
7870 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7872 * debian/rules: Fixing the shlibs.
7874 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7876 * src/hildon-banner.c: Fixing a problem with timed banners having
7877 their parrent destroyed before they are.
7879 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7881 * src/hildon-bread-crumb.c:
7882 * src/hildon-bread-crumb.h:
7884 Make the get_natural_size function a vfunc.
7886 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7888 * src/hildon-bread-crumb.c:
7889 * src/hildon-bread-crumb-trail.c:
7893 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7900 * debian/changelog: Updating for release.
7902 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7904 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7905 don't leak the pango layout.
7907 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7910 * examples/hildon-bread-crumb-trail-example.c:
7914 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7916 * debian/changelog: Removing the bug-fixed entries that were actually
7917 resolved as WONTFIX.
7919 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7922 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7924 * src/hildon-bread-crumb-trail.c:
7925 * src/hildon-bread-crumb-trail.h:
7926 * src/hildon-bread-crumb.c:
7927 * src/hildon-bread-crumb.h:
7931 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7933 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7934 until it's passed the type check.
7936 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7938 * examples/hildon-bread-crumb-trail-example.c
7942 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7944 * examples/Makefile.am
7945 * examples/hildon-bread-crumb-trail-example.c
7947 * src/hildon-bread-crumb-trail.c
7948 * src/hildon-bread-crumb-trail.h
7949 * src/hildon-bread-crumb.c
7950 * src/hildon-bread-crumb.h
7952 New HildonBreadCrumbTrail widget.
7954 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7956 * src/hildon-range-editor.c (hildon_range_editor_init),
7957 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7958 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7959 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7960 hildon_time_editor_class_init, hildon_time_editor_init),
7961 src/hildon-get-password-dialog.c (invalid_input,
7962 hildon_get_password_set_property, hildon_get_password_get_property,
7963 create_contents, hildon_get_password_dialog_set_max_characters),
7964 src/hildon-set-password-dialog.c (create_contents),
7965 src/hildon-date-editor.c (hildon_date_editor_init),
7966 src/hildon-login-dialog.c (hildon_login_dialog_init),
7967 src/hildon-number-editor.c (hildon_number_editor_init),
7968 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7969 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7970 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7971 configure option and adding the respective checks in the code.
7972 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7973 hildon_calendar_drag_data_received): fixed some build warnings.
7975 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7977 * debian/changelog: A 1.0.0 release notes.