1 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
3 * tests/Makefile.am: Add check for HildonPickerButton.
4 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
5 (START_TEST), (create_hildon_picker_button_suite): Add three simple
6 checks for the HildonPickerButton.
7 * tests/check_test.c (configure_tests): Add the test suite.
8 * tests/test_suites.h: likewise.
10 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
12 * hildon/hildon-touch-selector.c
13 (+on_row_changed): Emit HildonTouchSelector:changed when the
14 contents of a selected row change.
15 (_create_new_column), (_hildon_touch_selector_set_model): connect
16 to GtkTreeModel:row-changed on a newly set model.
18 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
20 2009-05-05 Alberto Garcia <agarcia@igalia.com>
22 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
24 * hildon/hildon-banner.c (hildon_banner_destroy)
25 (hildon_banner_show_progress, hildon_banner_set_fraction):
26 Remove the progress bar from HildonBanner and use a progress
29 Fixes: NB#113761 (Update progress banner to use progress
32 2009-05-04 Alberto Garcia <agarcia@igalia.com>
34 * hildon/hildon-banner.c:
35 Calculate size of the banner label using the actual screen width
36 rather than using a fixed value.
38 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
41 2009-05-04 Alejandro G. Castro <alex@igalia.com>
43 * hildon/hildon-pannable-area.c,
44 (hildon_pannable_area_class_init): Fixed signals documentation
47 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
49 * configure.ac: post release version bump
50 * debian/changelog: post release version bump
52 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
57 * configure.ac: Bump version.
58 * debian/changelog: Updates.
60 2009-05-01 Alberto Garcia <agarcia@igalia.com>
62 * hildon/hildon-edit-toolbar.c
63 (hildon_edit_toolbar_init):
64 Don't let buttons in HildonEditToolbar receive focus.
66 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
67 typing on an HW arrows key)
69 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
71 * doc/Makefile.am: Fix build.
73 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
75 * doc/Makefile.am: Do not redefine content_files.
77 2009-04-30 Alberto Garcia <agarcia@igalia.com>
85 Renamed src/ to hildon/
90 Include <hildon/hildon.h> directly in all examples.
92 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
94 * src/hildon-sort-dialog.c
95 (hildon_sort_dialog_add_sort_key_with_sorting)
99 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
101 * src/Makefile.am: Move generated sources to CLEANFILES, so that
102 make distcheck passes.
104 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
106 * Makefile.am: Enable gtk-doc during distcheck.
108 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
110 * Makefile.am: Do not distribute the debian/ directory.
112 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
114 * doc/Makefile.am: Add the extra SGML files to content_files,
115 so that they are distributed properly.
117 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
119 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
122 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
124 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
125 (hildon_note_new_information_with_icon_name): Set the "icon" property
126 to preserve soundness.
128 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
130 * src/hildon-font-selection-dialog.c
131 (hildon_font_selection_dialog_set_property): Fail when the "family"
132 property is set to NULL.
134 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
136 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
139 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
141 * src/hildon-time-selector.h:
142 Added HildonTimeSelectorFormatPolicy
143 * src/hildon-time-selector.c:
144 Added PROP_TIME_FORMAT_POLICY
145 (_check_ampm_format): renamed to check_automatic_ampm_format
146 (update_format_policy), (update_format_dependant_columns): new functions
147 (hildon_time_selector_class_init)
148 (hildon_time_selector_contructor)
149 (hildon_time_selector_init)
150 (hildon_time_selector_get_property)
151 (hildon_time_selector_set_property)
152 (hildon_time_selector_get_time)
153 (hildon_time_selector_set_time)
154 * src/hildon-touch-selector.h: new file
155 * src/hildon-touch-selector.c
156 (hildon_touch_selector_emit_changed)
157 (hildon_touch_selector_block_changed)
158 (hildon_touch_selector_unblock_changed)
159 Added functions to allow to block the emission of the "changed" signal
160 * src/hildon-picker-dialog.c
161 (hildon_picker_dialog_show): call the parent show before the custom code
162 * examples/hildon-time-button-example.c
163 Modified, so now you can configure the time format using the new property
165 Added a new property "time-format-policy" that allow to choose the time
166 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
167 case it uses gconf in order to check if the time selector must use
170 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
173 2009-04-28 Alberto Garcia <agarcia@igalia.com>
175 * src/hildon-note.c (hildon_note_init):
176 Label in HildonNote must be left aligned, not centered. This
177 reverts the last commit in HildonNote.
179 Fixes: NB#112933 (text is not left aligned in confirmation dialog
180 is connectivity dialog)
182 2009-04-27 Alberto Garcia <agarcia@igalia.com>
187 * doc/hildon-sections.txt:
188 Added hildon_gtk_window_set_do_not_disturb()
190 2009-04-27 Alberto Garcia <agarcia@igalia.com>
192 * src/hildon-note.c (hildon_note_init): Center label.
194 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
197 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
202 * configure.ac: Bump version.
203 * debian/changelog: Updates.
205 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
207 * src/hildon-note-private.h: Add button-width to the private data.
208 * src/hildon-note.c (+resize_button),
209 (+hildon_note_orientation_update): methods to repack widgets on orientation
211 (screen_size_changed): Call above method for confirmation notes.
212 (hildon_note_realize): Always connect to the "screen-size" changed signal.
213 (hildon_note_rebuild): Store the original width request from buttons.
215 Fixes: NB#109635 (Confirmation notes do not support portrait)
217 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
219 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
220 when it is a progress note.
222 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
224 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
225 in the note, since there are no horizontally arranged contents.
227 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
229 * src/hildon-gtk.c (+set_flag): new generic method to
230 set/delay a flag setting in a window.
231 (hildon_gtk_window_set_progress_indicator):
232 (hildon_gtk_window_set_do_not_disturb),
233 (hildon_gtk_window_set_portrait_flags): use set_flag() to
234 avoid code redundance.
236 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
238 Based on a patch by Alberto Garcia (agarcia@igalia.com)
240 * src/hildon-gtk.c (set_clear_window_flag),
241 (do_set_progress_indicator), (do_set_do_not_disturb),
242 (do_set_portrait_flags),
243 (hildon_gtk_window_set_progress_indicator),
244 (hildon_gtk_window_set_do_not_disturb),
245 (hildon_gtk_window_set_portrait_flags):
246 Allow setting dnd-flag, progress indicator, and portrait flags
247 when the window is not realized.
249 2009-04-24 Alejandro G. Castro <alex@igalia.com>
251 * src/hildon-pannable-area.c,
252 * src/hildon-pannable-area.h: Add the hildon deprecated define to
253 the size request policy function and defines.
255 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
257 * doc/hildon-sections.txt: Add the new API.
258 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
259 method to set the portrait flags.
260 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
262 Fixes: NB#112328 (Adding helpers for setting portrait properties)
264 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
266 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
267 to allow using this method with other flags.
268 (hildon_gtk_window_set_progress_indicator): Update accordingly.
269 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
271 2009-04-22 Alberto Garcia <agarcia@igalia.com>
273 * src/hildon-touch-selector.c
274 (hildon_touch_selector_append_text_column):
275 Make the cell renderer use the smallest width possible.
277 Fixes: NB#108470 (Selected items in multiple selection are either
278 having a tick that is cut or not visible at all.)
280 2009-04-22 Alberto Garcia <agarcia@igalia.com>
282 * src/hildon-touch-selector.c
283 (hildon_touch_selector_append_text_column):
286 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
288 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
289 Use g_strdup_printf() instead of a fixed size buffer.
291 2009-04-21 Alberto Garcia <agarcia@igalia.com>
293 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
294 Close banners when a HildonAppMenu is popped up.
296 Fixes: NB#111027 (Title menu closed immediately if activated when
297 "Invalid e-mail address" banner is shown)
299 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
304 * configure.ac: Bump version.
305 * debian/changelog: Updates.
307 2009-04-20 Alberto Garcia <agarcia@igalia.com>
309 * src/hildon-banner.c (hildon_banner_realize):
310 Mark HildonBanner as supporting portrait mode.
311 Use GDK to set window properties insetad of direct Xlib calls.
313 Fixes: NB#111830 (HildonBanner should be marked as supporting
316 2009-04-20 Alberto Garcia <agarcia@igalia.com>
318 * src/hildon-note.c (hildon_note_rebuild):
319 Hide action area in information notes. Prevents text from being
320 slightly aligned to the left.
322 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
325 2009-04-20 Alberto Garcia <agarcia@igalia.com>
327 Patch by Mox Soini (ext-mox.soini@nokia.com)
329 * src/hildon-banner.c (hildon_banner_create_animation):
330 Use stylus-sized icons in animation banner.
332 Fixes: NB#111206 (stylus sized icon for animation banner)
334 2009-04-20 Alberto Garcia <agarcia@igalia.com>
338 (+hildon_gtk_window_set_do_not_disturb):
339 New API to set the do-not-disturb flag.
341 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
343 2009-04-20 Alberto Garcia <agarcia@igalia.com>
345 * examples/hildon-progress-indicator-example.c: Fix example
347 * src/hildon-gtk.c (set_clear_window_flag)
348 (hildon_gtk_window_set_progress_indicator):
349 Create a generic function for setting flags to a window.
350 Use GDK instead of direct Xlib calls.
352 2009-04-14 Alberto Garcia <agarcia@igalia.com>
354 * src/hildon-button.c (hildon_button_set_arrangement):
355 Due to NB#88126, if one of the labels is too long it will be
356 painted outside the button. The 'value' label is more likely to be
357 the longest one, so we change its packing options in order to
358 truncate it if necessary. As a side effect, the 'title' label will
359 no longer be truncated.
361 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
363 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
368 * configure.ac: Bump version.
369 * debian/changelog: Updates.
371 2009-04-13 Alejandro G. Castro <alex@igalia.com>
373 Deprecation of the hildon_pannable_area_set_size_request_policy
374 API, the only policy properly supported in gtk+ nowadays is the
377 * src/hildon-pannable-area.c,
378 (hildon_pannable_area_size_request): Added a workaround for the
379 size_request to avoid the problems of huge pixmaps in case someone
380 is still using the function.
381 * src/hildon-pannable-area.h: Deprecated the enum with the
384 Fixes: NB#110244 (Problems with the
385 hildon_pannable_area_set_size_request_policy API)
387 2009-04-08 Alejandro G. Castro <alex@igalia.com>
389 * src/hildon-pannable-area.c,
390 (hildon_pannable_area_init),
391 (hildon_pannable_area_size_request),
392 (hildon_pannable_area_style_set),
393 (hildon_pannable_draw_vscroll),
394 (hildon_pannable_draw_hscroll),
395 (hildon_pannable_area_check_scrollbars): Replaced area_width with
396 indicator_width to clarify the use of the attribute.
398 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
403 * configure.ac: Bump version.
404 * debian/changelog: Updates.
406 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
408 * src/hildon-picker-dialog.c
409 * src/hildon-touch-selector.c
410 Reverting the change that tried to avoid the hardcoded height on
411 the picker dialog, as causes problems on the hildon-touch-selector
414 Fixes: NB#110029 (selectors not scrolling to selected value)
416 2009-04-07 Alberto Garcia <agarcia@igalia.com>
418 * src/hildon-touch-selector.c: Fix typos
420 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
422 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
423 Use the event coordinates instead of gdk_window_get_pointer(). Also,
424 request more motions after using it.
426 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
428 * src/hildon-calendar.c (hildon_calendar_expose),
429 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
430 Remove unused variables.
432 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
434 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
437 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
439 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
440 Check the return value of gtk_tree_selection_get_selected()
443 2009-04-06 Alberto Garcia <agarcia@igalia.com>
445 * src/hildon-animation-actor.c
446 * src/hildon-button.c
448 * src/hildon-pannable-area.c
449 * src/hildon-picker-button.c
450 * src/hildon-program.c
451 * src/hildon-remote-texture.c
452 * src/hildon-text-view.c
453 * src/hildon-touch-selector.c
454 * src/hildon-window-stack.c
455 * src/hildon-window.c:
456 Add missing 'Since: 2.2' tags.
458 * doc/hildon-sections.txt:
459 Add some missing symbols.
461 * doc/hildon-docs.sgml:
462 New 'Other' section for HildonAnimationActor and
465 2009-04-06 Alberto Garcia <agarcia@igalia.com>
467 Patch by Iván Gómez (igomez@igalia.com)
471 * doc/hildon-docs.sgml
472 * doc/hildon-sections.txt
476 New chapters on using the Hildon library.
477 Updated the general structure of the reference manual.
478 Other minor documentation fixes.
480 * src/hildon-calendar-popup.c
481 * src/hildon-calendar.c
482 * src/hildon-controlbar.c
483 * src/hildon-date-editor.c
484 * src/hildon-dialog.c
485 * src/hildon-hvolumebar.c
486 * src/hildon-number-editor.c
487 * src/hildon-range-editor.c
488 * src/hildon-sort-dialog.c
489 * src/hildon-time-editor.c
490 * src/hildon-time-picker.c
491 * src/hildon-volumebar-range.c
492 * src/hildon-volumebar.c
493 * src/hildon-vvolumebar.c
494 * src/hildon-weekday-picker.c:
495 Add deprecation notes
497 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
498 Document 'horizontal-movement' and 'vertical-movement' signals.
500 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
505 * configure.ac: Bump version.
506 * debian/changelog: Updates.
508 2009-04-06 Alejandro G. Castro <alex@igalia.com>
510 * src/hildon-pannable-area.c,
511 (hildon_pannable_area_class_init): increased the minimum velocity.
512 (hildon_pannable_area_button_release_cb): Updated the
513 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
514 setup. Review the code to control that last event.
516 Fixes: NB#109790 (Releasing finger in pannable area easily causes
519 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
521 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
523 * src/hildon-get-password-dialog.c
524 (hildon_get_password_set_property),
525 (hildon_get_password_get_property), (create_contents):
526 * src/hildon-login-dialog-private.h:
527 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
528 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
529 (hildon_login_dialog_get_password):
530 * src/hildon-set-password-dialog-private.h:
531 * src/hildon-set-password-dialog.c
532 (hildon_set_password_set_property),
533 (hildon_set_password_get_property), (create_contents),
534 (hildon_set_password_response_change),
535 (hildon_set_password_response_set), (hildon_checkbox_toggled):
537 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
538 instead and look more Fremantle style.
540 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
542 2009-04-03 Alberto Garcia <agarcia@igalia.com>
544 * doc/hildon-sections.txt
545 * src/hildon-window-stack.h
546 * src/hildon-window-stack.c
547 (+hildon_window_stack_get_windows):
548 New API to obtain the list of windows on a stack.
550 2009-04-02 Alberto Garcia <agarcia@igalia.com>
552 * src/hildon-app-menu.c (hildon_app_menu_popup)
553 (hildon_app_menu_class_init, -hildon_app_menu_show):
554 Remove hildon_app_menu_show() and move all its checks to
555 hildon_app_menu_popup()
557 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
559 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
560 (_hildon_picker_dialog_set_selector): removed call to
561 gtk_widget_set_size_request
562 * src/hildon-touch-selector.c
563 (_create_new_column): change the pannable size request policy
565 Avoid to use a hardcoded height for the hildon picker dialog. In order
566 to get that, we needed to change the hildon pannable size request
568 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
570 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
572 * src/hildon-window.c (hildon_window_map): Check for vbox to be
573 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
576 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
578 * debian/control: Depend on osso-system-lock localization package.
579 * src/hildon-code-dialog.c: Obtain the secu_application_title
580 translation from osso-system-lock.
581 * src/hildon-get-password-dialog.c (create_contents): Do not mark
582 for translation the atk related strings, that's not necessary.
583 * src/hildon-set-password-dialog.c (create_contents): Ditto.
584 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
585 cancel button, it is not required.
587 2009-04-02 Alejandro G. Castro <alex@igalia.com>
589 * src/hildon-pannable-area.c,
590 (hildon_pannable_area_class_init): Modified the default value of
591 the overshooting max speed, we have reduced it.
593 2009-04-02 Alberto Garcia <agarcia@igalia.com>
595 * doc/hildon-sections.txt
596 * src/hildon-window-private.h
597 * src/hildon-window.h
598 * src/hildon-window.c (hildon_window_class_init)
599 (hildon_window_init, hildon_window_finalize)
600 (hildon_window_realize, hildon_window_get_property)
601 (hildon_window_set_property, hildon_window_update_markup)
602 (hildon_window_get_markup, hildon_window_set_markup):
603 New "markup" property and hildon_window_{get,set}_markup() methods.
605 * examples/hildon-stackable-window-example.c (new_window):
606 Update example to use hildon_window_set_markup()
608 Fixes: NB#106375 (Need API to retitle a window with a title
611 2009-04-01 Alejandro G. Castro <alex@igalia.com>
613 * src/hildon-pannable-area.c,
614 (hildon_pannable_area_class_init): Changed the default value of
615 the initial_hint to TRUE.
616 (hildon_pannable_area_initial_effect): Changed the initial effect,
617 not the effect is just the fade-out of the scrollbars.
619 Fixes: NB#107775 (No scrollbars can be seen when several items are
620 available in a dialog)
622 2009-04-01 Alberto Garcia <agarcia@igalia.com>
624 * src/hildon-program.c (hildon_program_update_top_most):
627 Fixes: NB#109179 (Memory leak in Hildon program)
629 2009-04-01 Alberto Garcia <agarcia@igalia.com>
631 * src/hildon-banner.c (-get_current_app_window):
632 Remove unused function.
634 2009-04-01 Alejandro G. Castro <alex@igalia.com>
636 * src/hildon-pannable-area.c: Modified the documentation of the
637 get adjustments functions to explain the problem of using the
639 (hildon_pannable_area_class_init): Improved the explanation about
642 2009-04-01 Alberto Garcia <agarcia@igalia.com>
644 * src/hildon-app-menu-private.h
645 * src/hildon-app-menu.c
646 (hildon_app_menu_class_init):
647 Bring back the 'external-border' style property
648 (hildon_app_menu_class_init, hildon_app_menu_init)
649 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
650 Set a fixed width-request for the menu, independent of the number
653 Fixes: NB#94957 (Smoothly opened application menu)
655 2009-03-30 Alberto Garcia <agarcia@igalia.com>
657 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
659 * src/hildon-banner.c
660 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
662 Make sure that the banner is correctly placed the first time it's
664 (hildon_banner_check_position, -check_fullscreen_state):
665 Show the banner in the same place no matter if the window is in
666 fullscreen mode or not.
668 Fixes: NB#107386 (Odd stacking behaviour for information banners)
670 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
672 * src/hildon-touch-selector.c (_default_print_func): reorder
673 concatenation for clarity.
675 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
677 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
678 for multicolumn selectors.
680 Fixes: NB#109099 (Memory leak in Hildon touch selector)
682 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
687 * configure.ac: Bump version.
688 * debian/changelog: Updates.
690 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
692 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
695 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
697 * configure.ac: removed libcangerra-gtk dependency
698 * debian/control: removed libcanberra-gtk dependency
699 * src/Makefile.am: removed libcanberra gtk related flags
700 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
701 context, and manage a global canberra context instead
703 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
705 2009-03-26 Alberto Garcia <agarcia@igalia.com>
707 Patch by Daniel Borgmann (danielb@openismus.com)
709 * src/hildon-edit-toolbar.c:
710 Adjust the left padding.
711 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
712 Paint background of the edit toolbar.
714 Fixes: NB#107897 (Patch to make editmodetoolbar background
715 themeable and adjust margin)
717 2009-03-25 Alberto Garcia <agarcia@igalia.com>
719 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
721 * src/hildon-program.c (hildon_program_update_top_most):
722 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
724 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
725 change when the user tasks in/out of an application)
727 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
729 * configure.ac: added libcangerra-gtk dependency
730 * debian/control: added libcanberra-gtk dependency
731 * src/Makefile.am: added libcanberra gtk related flags
732 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
735 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
737 2009-03-25 Alberto Garcia <agarcia@igalia.com>
739 * src/hildon-program.c (hildon_program_remove_window)
740 (hildon_program_add_window): Add checks for the window
741 parameter. Don't decrease the window counter if the window is not
744 2009-03-24 Alejandro G. Castro <alex@igalia.com>
746 * src/hildon-pannable-area.c,
747 (hildon_pannable_area_realize): Fixed position of the event_window
748 in the realize method.
750 2009-03-24 Alberto Garcia <agarcia@igalia.com>
752 * src/hildon-app-menu-private.h
753 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
754 (hildon_app_menu_map, hildon_app_menu_hide_idle)
755 (hildon_app_menu_key_press, hildon_app_menu_init)
756 (hildon_app_menu_finalize):
757 Make sure that all idle functions are removed when the widget is
760 Fixes: NB#107583 (Hildon app menu crashes in various applications)
762 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
767 * configure.ac: Bump version.
768 * debian/changelog: Updates.
770 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
773 (+hildon_entry_show_placeholder),
774 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
775 that replace hildon_entry_update_contents().
776 (hildon_entry_set_text),
777 (hildon_entry_set_placeholder),
778 (hildon_entry_focus_in_event),
779 (hildon_entry_focus_out_event): Determine when it is needed
780 either to show or hide the placeholder and call the above methods.
782 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
783 when the placeholder text is already set)
785 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
787 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
788 simple GdkPixbufAnim using the new icons for the banner.
789 (hildon_banner_show_animation): Use the above mentioned method to
790 create the animation widget.
792 Fixes: NB#103564 (Make hildon animation banner use individual
793 image files as the animation)
795 2009-03-24 Alejandro G. Castro <alex@igalia.com>
797 * src/hildon-pannable-area.c,
798 (hildon_pannable_leave_notify_event): Check if the child is NULL
799 to avoid sending the leave.
801 2009-03-24 Alejandro G. Castro <alex@igalia.com>
803 * src/hildon-pannable-area.c,
804 (hildon_pannable_area_class_init),
805 (hildon_pannable_leave_notify_event): Added a handler of the
806 leave-notify-signal to consider when no motion notify before
809 Fixes: NB#107494 (Items stay selected when clicking and moving
810 away when inside pannable area)
812 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
817 * configure.ac: Bump version.
818 * debian/changelog: Updates.
820 2009-03-19 Alejandro G. Castro <alex@igalia.com>
822 Patch by Alberto Garcia (agarcia@igalia.com)
824 * src/hildon-date-button.c,
825 (hildon_date_button_class_init),
826 (hildon_date_button_init): Removed the construct property handling
827 and created a default selector in the init method.
828 * src/hildon-picker-button.c,
829 (hildon_picker_button_class_init): Removed the construct flag of the
832 2009-03-18 Alberto Garcia <agarcia@igalia.com>
834 * src/hildon-main.c (hildon_init):
835 Don't allow hildon_init() to be called more than once.
837 Fixes: NB#106607 (hildon_init should issue error message upon
840 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
842 * examples/hildon-pannable-area-touch-list-example.c
843 * examples/hildon-pannagle-area-touch-grid-example.c
844 * examples/hildon-edit-toolbar-example.c
845 * examples/hildon-touch-selector-multi-cells-example.c
846 Removed the call to gtk_rc_parse_string, as it is not required since
849 2009-03-17 Alejandro G. Castro <alex@igalia.com>
851 * src/hildon-pannable-area.c,
852 (hildon_pannable_area_class_init): Modified the default panning
853 threshold of the widget to 6px.
855 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
856 than the threshold value ) within the button is not sending the
859 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
861 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
862 for the treeview in the new column. This way, the touch list will never
865 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
866 be selected manually for the HW keys to work)
868 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
870 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
871 comparison instead of using strcmp(). Fixes a compiler warning as well.
873 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
875 * doc/hildon-docs.sgml: Do not set the library version in the
876 document title, use the releaseinfo tag for that purpose instead.
878 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
880 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
881 Do not jump to the first item if the text in the entry is removed.
883 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
888 * configure.ac: Bump version.
889 * debian/changelog: Updates.
891 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
893 * src/hildon-entry.c (hildon_entry_refresh_contents):
894 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
895 Use "ReversedSecondaryTextColor" for the placeholder text.
897 2009-03-12 Alberto Garcia <agarcia@igalia.com>
899 * src/hildon-text-view.c: Fix compilation warning.
901 2009-03-12 Alberto Garcia <agarcia@igalia.com>
903 * src/hildon-button.c (hildon_button_class_init): Don't make
904 "title" and "value" construction properties, to prevent them from
905 overwriting labels set from derived classes.
907 * src/hildon-picker-button.c
908 (hildon_picker_button_set_selector): Allow setting a NULL selector.
909 (hildon_picker_button_class_init): Make touch-selector a
910 construction property.
912 * src/hildon-date-button.c (hildon_date_button_class_init)
913 (+hildon_date_button_constructed): Add a default date selector if
916 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
918 * src/hildon-touch-selector.c: Small documentation fixes.
920 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
922 Based on a patch by Daniel Borgmann (danielb@openismus.com)
924 * src/hildon-entry.c (hildon_entry_refresh_contents),
925 (hildon_entry_get_text), (hildon_entry_init): Do not use the
926 widget name, set the logical color directly instead and a boolean
927 showing_placeholder instead.
928 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
929 use the widget name here either.
931 Fixes: NB#105678 (HildonTextView should use logical colours
932 instead of setting widget name)
934 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
936 Patch by Daniel Elster (danielk@openismus.com)
938 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
939 Add user_data parameter.
940 (hildon_touch_selector_set_print_func_full): New function akin
941 hildon_touch_selector_set_print_func() but with support for user
942 data and a destroy callback.
943 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
944 to clean up the print function user data.
945 (hildon_touch_selector_class_init): Install dispose function.
946 (HildonTouchSelectorPrivate::print_user_data),
947 (HildonTouchSelectorPrivate::print_destroy_func): New private
949 (hildon_touch_selector_init): Initialize new private members.
950 (hildon_touch_selector_get_current_text): Pass along user data
951 to the print function.
952 (_default_print_func): Add dummy user_data to parameter list.
953 * hildon-date-selector.c (_custom_print_func): ditto,
954 * hildon-time-selector.c (_custom_print_func): ditto,
955 * hildon-touch-selector-entry.c
956 (hildon_touch_selector_entry_print_func): ditto.
958 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
960 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
962 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
964 2009-03-12 Alejandro G. Castro <alex@igalia.com>
966 * src/hildon-pannable-area.c,
967 (hildon_pannable_area_init),
968 (hildon_pannable_area_button_press_cb),
969 (hildon_pannable_area_motion_notify_cb): We have added code to
970 handle the leave and enter events when using the motion events.
972 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
974 2009-03-11 Alberto Garcia <agarcia@igalia.com>
976 * src/hildon-date-button.c (hildon_date_button_get_date)
977 (hildon_date_button_set_date): Make sure that the button has a
980 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
982 2009-03-11 Alejandro G. Castro <alex@igalia.com>
984 * src/hildon-pannable-area.c,
985 (hildon_pannable_area_class_init),
986 (hildon_pannable_area_calculate_velocity): Modify the use of the
987 force and adapt the value.
989 2009-03-10 Alberto Garcia <agarcia@igalia.com>
991 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
992 (hildon_app_menu_class_init): Hide the menu if it receives a
993 delete-event, but don't destroy it
995 Fixes: NB#104485 (Not able to address the call when application
996 menu is opened at background)
998 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1000 * src/hildon-app-menu.c
1001 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1002 Remove the "external-border" style property, let the menu take its
1003 natural size (or the one set by the window manager)
1004 (hildon_app_menu_repack_items):
1005 Don't reshow the menu, avoid flickers.
1007 Partially fixes NB#94957 (Smoothly opened application menu)
1009 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1014 * configure.ac: Bump version.
1015 * debian/changelog: Updates.
1017 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1019 * src/hildon-pannable-area.c,
1020 (hildon_pannable_area_motion_notify_cb): We control that the
1021 direction error margin is used just in case the movement is
1022 allowed in the other direction.
1024 Fixes: NB#105012 (buttons inside a pannable area not getting
1025 release event when dragging/releasing)
1027 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1029 * src/hildon-pannable-area.c,
1030 (hildon_pannable_area_class_init),
1031 (hildon_pannable_area_get_property),
1032 (hildon_pannable_area_set_property),
1033 (hildon_pannable_area_initial_effect),
1034 (hildon_pannable_axis_scroll),
1035 (hildon_pannable_area_button_release_cb): Reviewed the
1036 overshooting effect, now it has its own max
1037 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1038 speed when bouncing.
1040 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1045 * configure.ac: Bump version.
1046 * debian/changelog: Updates.
1048 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1050 * src/hildon-pannable-area.c,
1051 (hildon_pannable_area_class_init): Changed the max speed, now
1052 users can launch the widget very fast. Reduced the default force,
1053 that way it is easier to control the launch speed.
1055 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1057 * src/hildon-pannable-area.c,
1058 (hildon_pannable_area_button_release_cb): Removed this check
1059 because it causes problems when the device is overloaded.
1061 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1063 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1064 add a current_text field to store the text entered in the
1065 touch selector entry.
1066 (_clean_current_selection): clean up the current text as well.
1067 (_save_current_selection), (_restore_current_selection):
1068 Save/restore the text in the entry if the selector is a
1069 HildonTouchSelectorEntry.
1071 Fixes: NB#102541 (value entered in the touch selector entry is not
1072 shown when opened for second time)
1074 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1076 * doc/hildon-sections.txt:
1077 * src/hildon-touch-selector-entry.c
1078 (+hildon_touch_selector_entry_get_entry):
1079 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1081 Fixes: NB#104815 (I need accessor to the entry inside
1082 HildonTouchSelectorEntry)
1084 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1086 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1087 (hildon_app_menu_class_init):
1088 New "filter-vertical-spacing" style property.
1090 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1092 * src/hildon-find-toolbar.c
1093 (hildon_find_toolbar_emit_close)
1094 (hildon_find_toolbar_emit_invalid_input)
1095 (hildon_find_toolbar_entry_activate):
1096 Use g_signal_emit() instead of g_signal_emit_by_name()
1098 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1100 Patch by Mox Soini (ext-mox.soini@nokia.com)
1102 * tests/TEST-CASES.txt
1103 * tests/check-hildon-banner.c
1104 * tests/check-hildon-note.c
1105 * src/hildon-banner.c
1106 * src/hildon-code-dialog.c
1107 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1108 * src/hildon-time-editor.c
1109 * examples/hildon-lookup-example.c (main):
1110 Replace obsolete icon names with new ones.
1112 * src/hildon-find-toolbar-private.h:
1113 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1114 (-hildon_find_toolbar_emit_search):
1115 Remove find button and change icon of close button.
1117 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1119 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1121 * src/hildon-time-button.c (hildon_time_button_new_step):
1122 Use the "touch-selector" property to set the selector directly
1123 when creating the object.
1125 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1127 Added a new example application that allows tuning the pannable
1128 area and replaced defines with properties in order to simplify the
1129 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1130 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1131 PROP_DIRECTION_ERROR_MARGIN.
1133 * examples/hildon-pannable-area-tuning-example.c: New example
1135 * src/hildon-pannable-area.c,
1136 (hildon_pannable_area_class_init),
1137 (hildon_pannable_area_init),
1138 (hildon_pannable_area_get_property),
1139 (hildon_pannable_area_set_property),
1140 (hildon_pannable_area_launch_fade_timeout),
1141 (hildon_pannable_area_adjust_value_changed),
1142 (hildon_pannable_axis_scroll),
1143 (hildon_pannable_area_motion_notify_cb),
1144 (hildon_pannable_area_scroll_cb),
1145 (hildon_pannable_area_button_release_cb): We have converted some
1146 of the defines that control the widget to properties to simplify
1149 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1151 * src/hildon-app-menu.c (hildon_app_menu_map)
1152 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1153 so it's closed if a new window appears.
1155 Fixes: NB#104485 (Not able to address the call when application
1156 menu is opened at background)
1158 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1160 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1161 missing 'break' statement in in 'case' construct to avoid
1164 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1166 * src/hildon-touch-selector-entry.c
1167 (hildon_touch_selector_entry_get_property),
1168 (hildon_touch_selector_entry_set_property): Add missing 'break'
1169 statements in in 'case' constructs to avoid incorrect warnings.
1171 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1173 * src/hildon-time-editor.c
1174 (hildon_time_editor_get_time_separators): Do not crash if
1175 the first label is NULL.
1177 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1179 * src/hildon-date-selector.c (_month_days): Check for month to be
1180 strictly less than 12, since otherwise we may overrun the array.
1182 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1184 * src/hildon-date-button.c (+hildon_date_button_new_full)
1185 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1186 (hildon_date_button_init): Set the date selector using a
1187 construction property, to make it happen after HildonButton's
1188 "value" property is set.
1190 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1191 current date by default)
1193 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1195 * doc/hildon-sections.txt
1196 * src/hildon-program.c
1197 * src/hildon-stackable-window.c
1198 * src/hildon-window.c:
1199 Documentation updates
1201 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1203 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1204 (hildon_window_stack_new, +hildon_window_stack_set_property)
1205 (+hildon_window_stack_get_property)
1206 (hildon_window_stack_class_init)
1207 (+hildon_window_stack_set_window_group)
1208 (+hildon_window_stack_get_window_group):
1209 Make the window group a construction property.
1211 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1213 * doc/hildon-sections.txt
1214 * src/hildon-stackable-window-private.h
1215 * src/hildon-stackable-window.h
1216 * src/hildon-stackable-window.c
1217 (-hildon_stackable_window_set_app_menu)
1218 (-hildon_stackable_window_get_app_menu)
1219 (-hildon_stackable_window_toggle_menu)
1220 (-hildon_stackable_window_finalize)
1221 (hildon_stackable_window_class_init)
1222 (hildon_stackable_window_init)
1223 * src/hildon-window-private.h
1224 * src/hildon-window.h
1225 * src/hildon-window.c (hildon_window_init)
1226 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1227 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1228 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1229 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1230 Moved all HildonAppMenu code to HildonWindow. The menu does not
1231 require a HildonStackableWindow anymore.
1233 * src/hildon-app-menu.c
1234 * src/hildon-program.c
1235 * examples/hildon-app-menu-example.c (main):
1236 Update examples and documentation to reflect HildonAppMenu
1239 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1241 * src/hildon-remote-texture.c
1242 * src/hildon-animation-actor.c:
1243 Don't include unused private headers.
1245 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1247 * src/hildon-program-private.h
1248 * src/hildon-program.c
1249 (hildon_program_set_common_menu)
1250 (hildon_program_get_common_menu)
1251 (hildon_program_set_common_app_menu)
1252 (hildon_program_get_common_app_menu):
1253 Change common menu pointers from GtkWidget* to GtkMenu* and
1254 HildonAppMenu* to avoid unnecessary casts.
1256 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1258 * src/hildon-window.c (hildon_window_set_main_menu):
1259 Removed incorrect 'Since:' tag
1261 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1263 * src/hildon-pannable-area.c,
1264 (hildon_pannable_area_calculate_velocity): We use now the
1265 RATIO_TOLERANCE here to check the distance, fixed typo in the
1267 (hildon_pannable_area_motion_notify_cb): We have to set the type
1268 and time even if we are not sending the motion.
1270 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1272 * doc/hildon-sections.txt
1273 * src/hildon-app-menu.h
1274 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1275 (+hildon_app_menu_get_filters): New methods to get the contents of
1278 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1281 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1283 * src/hildon-app-menu.c (hildon_app_menu_popup):
1286 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1288 * src/hildon-window.h
1289 * src/hildon-window.c (+hildon_window_get_main_menu)
1290 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1291 and deprecated hildon_window_get_menu().
1293 * src/hildon-stackable-window.h
1294 * src/hildon-stackable-window.c
1295 (+hildon_stackable_window_set_app_menu)
1296 (+hildon_stackable_window_get_app_menu)
1297 (hildon_stackable_window_set_main_menu): Created
1298 hildon_stackable_window_{get,set}_app_menu() and deprecated
1299 hildon_stackable_window_set_main_menu().
1301 * doc/hildon-sections.txt
1302 * examples/hildon-app-menu-example.c (main)
1303 * src/hildon-app-menu.c
1304 * src/hildon-program.c:
1305 Updated examples and documentation.
1307 Fixes: NB#103758 (No way to obtain a menu from a
1308 HildonStackableWindow)
1310 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1315 * configure.ac: Bump version.
1316 * debian/changelog: Updates.
1318 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1320 * examples/hildon-remote-texture-example.c: Include
1321 hildon-remote-texture.h explicitely.
1322 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1323 applications not defining _XOPEN_SOURCE which don't require this header.
1325 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1327 * doc/hildon-sections.txt
1328 * src/hildon-app-menu.h
1329 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1330 New function to pop up a HildonAppMenu
1332 * src/hildon-stackable-window.c
1333 (hildon_stackable_window_toggle_menu):
1334 Use hildon_app_menu_popup() to show the menu.
1336 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1338 * src/hildon-app-menu.c (hildon_app_menu_show)
1339 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1340 menu if there's another window between it and its parent window.
1342 Fixes: NB#100468 (Application menu window is launched even when a
1343 new secondary-window/dialog is pending to be shown/realized)
1345 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1347 * src/hildon-window-stack.c (hildon_window_stack_push)
1348 (hildon_window_stack_pop_and_push):
1349 Don't forget to push/pop the first window.
1350 Reverse the window list before calling _push_list()
1352 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1354 * src/hildon-picker-button.h
1355 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1356 Remove "value_changed" slot to avoid ABI breakage
1358 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1360 * src/hildon-pannable-area.c,
1361 (hildon_pannable_area_realize),
1362 (hildon_pannable_area_unrealize),
1363 (hildon_pannable_draw_vscroll),
1364 (hildon_pannable_draw_hscroll): Changed the method to handle the
1365 GC used to draw the transparent scrollbar, this way we avoid
1366 creating the GC all the time when drawing the scrollbars.
1368 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1370 * src/hildon-pannable-area.c,
1371 (hildon_pannable_area_init),
1372 (hildon_pannable_area_remove): Removed some unnecessary casts.
1373 (hildon_pannable_area_dispose): Disconnected some signals before
1374 releasing the adjustments.
1376 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1378 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1379 Make sure that all widgets contained in the toolbar are shown.
1381 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1383 * doc/hildon-sections.txt
1384 * src/hildon-picker-button.h
1385 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1386 (_selection_changed, hildon_picker_button_on_dialog_response)
1387 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1388 New hildon_picker_button_value_changed() method.
1391 * src/hildon-picker-button-private.h
1392 * src/hildon-picker-button.c (hildon_picker_button_init)
1393 (+hildon_picker_button_disable_value_changed): Add protected
1394 function for disabling the "value-changed" signal.
1396 * src/hildon-date-button.c (hildon_date_button_set_date):
1397 Don't emit "value-changed" for each one of the three columns.
1399 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1400 before actual change of values)
1402 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1404 * src/hildon-pannable-area.c,
1405 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1406 for the treeview overshooting.
1408 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1410 * src/hildon-banner.c (+hildon_banner_bind_style):
1411 Renamed from hildon_banner_bind_label_style(), now naming the
1412 banner itself as well.
1413 (hildon_banner_show_information),
1414 (hildon_banner_show_information_with_markup),
1415 (hildon_banner_show_animation), (hildon_banner_show_progress):
1416 Name the widgets and labels, based on their type.
1418 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1421 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1423 * src/hildon-note.c (hildon_note_set_property): call
1424 hildon_note_rename() on HildonNote:note-type set.
1425 (hildon_note_rename): Name the note and its label, based on the
1426 HildonNote:note-type property.
1428 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1431 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1433 * src/hildon-pannable-area.c,
1434 (hildon_pannable_area_class_init),
1435 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1436 panning parameters, increased SPS and deceleration factor. Added
1437 also a margin to control fake directions.
1439 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1441 Patch by Sven Herzberg (sven@imendio.com)
1443 * configure.ac: Add missing AM_PROG_CC_C_0
1444 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1446 See NB#101420 (Update unit tests and fix make check)
1448 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1450 This patch was applied before but reverted because it caused
1451 problems, we have changed the main condition and tested the
1452 regressions we detected before and they work ok. We have done a
1453 complete review of the topmost algorithm in order to get a more
1456 * src/hildon-pannable-area.c,
1457 (hildon_pannable_area_get_topmost): Added a new parameter to
1458 filter the the windows that do not include those events.
1459 (hildon_pannable_area_button_press_cb),
1460 (hildon_pannable_area_button_release_cb),
1461 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1462 topmost function, we have added the new parameter.
1464 Fixes: NB#97458 (Pannable area prevents propagation of button
1467 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1469 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1470 if all columns in the selector have an item selected.
1471 (_on_dialog_response): Stop "response" signal emission if there is
1472 any selector column without selected items.
1474 Fixes: NB#101889 (Picker dialog should not close when nothing is
1475 selected in multiple selection list)
1477 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1479 * src/hildon-font-selection-dialog.c
1480 (hildon_font_selection_dialog_class_init),
1481 (hildon_font_selection_dialog_init): Remove the preview
1482 button and dialog, since previewing with default theming is likely
1483 to be overcomplicated. The :preview property has now no effect.
1484 Update documentation blurbs to inform about this.
1486 Fixes: NB#92297 (Preview content is not clearly visible for
1487 default colour text)
1489 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1491 Reviewed the geometry that handles the children size and
1492 scrollbar, now it tries a size and reviews the results depending
1493 on the scrollbars visibility.
1495 * src/hildon-pannable-area.c,
1496 (hildon_pannable_area_realize): Fixed a typo.
1497 (hildon_pannable_area_child_allocate_calculate): Added this
1498 function to calculate the child allocation.
1499 (hildon_pannable_area_size_allocate): Reviewed the allocation
1501 (hildon_pannable_area_check_scrollbars),
1502 (hildon_pannable_area_refresh): Refactored refresh function, this
1503 way we can call the code handling the scrollbars without causing a
1504 size_request, it is interesting in the allocate.
1505 (hildon_pannable_area_init): Replace the callbacks of the
1506 value_changed and changed signals to propertly deal with the
1508 (hildon_pannable_area_grab_notify),
1509 (hildon_pannable_area_initial_effect),
1510 (hildon_pannable_area_launch_fade_timeout),
1511 (hildon_pannable_area_adjust_changed),
1512 (hildon_pannable_area_adjust_value_changed),
1513 (hildon_pannable_area_redraw),
1514 (hildon_pannable_area_button_press_cb),
1515 (hildon_pannable_area_button_release_cb),
1516 (hildon_pannable_area_scroll_cb),
1517 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1518 code and use the new functions adjust_changed and
1519 adjust_value_changed.
1521 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1522 Contact editor dialog)
1524 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1529 * configure.ac: Bump version.
1530 * debian/changelog: Updates.
1532 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1534 * src/hildon-pannable-area.c,
1535 (hildon_pannable_area_get_topmost),
1536 (hildon_pannable_area_button_press_cb),
1537 (hildon_pannable_area_button_release_cb),
1538 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1539 topmost function adding the event mask. We have to try a
1540 differente approach because it is still causing problems (NB#9745,
1543 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1545 * src/hildon-banner.c:
1546 Update the maximum width of timed banners.
1547 (force_to_wrap_truncated): Enforce the maximum text width if the
1550 Fixes: NB#102413 (The text margins (wrapping) in information
1551 banner should be HILDON_MARGIN_TRIPLE)
1553 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1555 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1557 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1558 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1559 bound when calculating the scroll indicator position.
1561 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1562 treat ->lower correctly)
1564 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1566 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1567 expose event handling, since it is not necessary to draw the focus
1570 Fixes: NB#102467 (Do not show highlight on the text in
1573 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1575 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1576 full height of the toolbar for the button and the label.
1578 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1580 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1581 padding before the label and after the button.
1583 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1585 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1587 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1588 Add a GtkVSeparator between the button and the back arrow.
1589 Let the button have automatic size.
1590 Set a name to the widget for theming handling.
1592 Fixes: NB#101793 (Make edit toolbar the same height as window
1593 title bar (use title area theming))
1595 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1597 * src/hildon-helper.c (attach_new_color_element): Fix memory
1600 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1602 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1604 * examples/hildon-button-example.c (common_buttons_window): Don't
1607 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1609 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1610 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1612 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1614 * src/hildon-gtk.c: Check that the window is realized.
1616 Fixes: NB#102225 (Crash setting the progress indicator to a non
1619 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1621 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1622 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1623 instead of modifying the one in the widget style.
1625 Fixes: NB#101043 (Second row of all the command button are
1626 displayed in transparent mode.)
1628 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1630 * src/hildon-date-button.c
1631 * src/hildon-time-button.c: Add gettext macros
1633 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1635 * src/hildon-date-button.c (hildon_date_button_new):
1636 * src/hildon-time-button.c (hildon_time_button_new_step):
1637 Use new logical strings to set the button default title.
1639 Fixes: NB#99915 (Date and Time options are not localised in Date
1642 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1644 * src/hildon-pannable-area.c
1645 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1646 the PANNING_THRESHOLD.
1648 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1650 * src/hildon-pannable-area.c,
1651 (hildon_pannable_area_class_init): Increased the maximum speed.
1652 (hildon_pannable_area_get_property),
1653 (hildon_pannable_area_set_property),
1654 (hildon_pannable_area_timeout): Added a new low friction mode, it
1655 allows the user avoid friction when launching the widget fast
1656 enough. It is interesting to traverse long lists.
1658 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1660 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1661 (+hildon_stackable_window_delete_event): Ignore delete events if
1662 the window is not the topmost one.
1664 Fixes: NB#101698 (Back button long press and delete-event handling)
1666 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1668 * src/hildon-pannable-area.c,
1669 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1670 gtk-dnd-drag-threshold, it was too big. We have defined our own
1671 dnd define and set a smaller value: PANNIG_THRESHOLD.
1673 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1675 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1676 user-defined icons, use always the default one.
1678 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1680 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1682 This patch was applied before but reverted because it caused
1683 problems, we have changed the main condition and tested the
1684 regressions we detected before and they work ok.
1686 * src/hildon-pannable-area.c,
1687 (hildon_pannable_area_get_topmost): Added a new parameter to
1688 filter the the windows that do not include those events. Added
1689 also a condition when finding the window to filter windows that do
1690 not ask for those events.
1691 (hildon_pannable_area_button_press_cb),
1692 (hildon_pannable_area_button_release_cb),
1693 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1694 topmost function, we have added the new parameter.
1696 Fixes: NB#97458 (Pannable area prevents propagation of button
1699 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1701 * tests/check-hildon-color-button.c (START_TEST): do not leak
1704 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1706 * src/hildon-font-selection-dialog.c
1707 (hildon_font_selection_dialog_get_preview_text): Return NULL
1708 instead of FALSE on the g_return_val_if_fail().
1710 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1712 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1713 * src/hildon-date-selector.c
1714 (hildon_date_selector_select_current_date):
1715 Do not compare unsigned integers to be greater than or equal 0,
1716 because it's always TRUE.
1718 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1720 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1721 (hildon_date_selector_constructor): Do not select the current
1722 date until we are handle the "changed" signal, to avoid having bogus
1723 elements in the days model.
1725 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1727 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1728 for num_days, since _month_days() can return a negative value.
1730 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1732 * src/hildon-caption.c (hildon_caption_size_allocate):
1733 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1734 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1736 Initialize allocation variables to 0, to avoid eventually using
1737 unitialized variables.
1739 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1741 * src/hildon-bread-crumb-trail.c
1742 (hildon_bread_crumb_trail_size_allocate):
1743 * src/hildon-calendar.c (hildon_calendar_set_background):
1744 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1745 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1746 * src/hildon-seekbar.c (hildon_seekbar_init):
1747 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1748 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1749 * src/hildon-touch-selector-entry.c
1750 (hildon_touch_selector_get_text_from_model):
1751 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1752 * src/hildon-window.c (hildon_window_finalize):
1754 Remove many unused variables.
1756 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1758 * src/hildon-seekbar.c: (hildon_seekbar_init),
1759 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1761 Remove unnecessary g_assert() calls.
1763 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1765 * src/hildon-caption.c: (hildon_caption_expose),
1766 (hildon_caption_set_property), (hildon_caption_init),
1767 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1768 (hildon_caption_size_request), (hildon_caption_size_allocate),
1769 (hildon_caption_forall), (hildon_caption_set_separator),
1770 (hildon_caption_activate), (hildon_caption_set_child_expand),
1771 (hildon_caption_set_label_text),
1772 (hildon_caption_get_label_alignment):
1774 Remove unnecessary g_assert() calls.
1776 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1778 * src/hildon-banner.c
1779 (hildon_banner_map, hildon_banner_init): Make banner temporary
1780 before mapping it to avoid closing other temporary windows, but
1781 make it non-temporary afterwards to avoid being closed by other
1782 non-temporary windows.
1783 (-hildon_banner_client_event, hildon_banner_init):
1784 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1786 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1789 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1791 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1794 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1796 * src/hildon-remote-texture.c
1797 * src/hildon-remote-texture.h
1798 * src/hildon-remote-texture-private.h
1799 * examples/hildon-remote-texture-example.c:
1800 Updates/fixes to remote-texture and its example.
1802 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1804 Patch by Mox Soini (ext-mox.soini@nokia.com)
1806 * src/hildon-code-dialog.c: Update logical id.
1807 * src/hildon-set-password-dialog.c: Update logical id.
1809 Fixes: NB#100646 (Logical strings is shown for ok in set
1810 password,Password needed dialogs)
1812 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1815 * src/hildon-remote-texture.c
1816 * src/hildon-remote-texture.h
1817 * src/hildon-remote-texture-private.h
1819 Added remote texture widget (for Clutter shared memory textures)
1821 * examples/hildon-remote-texture-example.c
1822 * examples/Makefile.am
1823 Added example file for remote texture usage
1825 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1827 * configure.ac: post release version bump.
1828 * debian/changelog: version bump.
1830 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1835 * configure.ac: Bump version.
1836 * debian/changelog: Updates.
1838 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1840 * src/hildon-date-selector.c (hildon_date_selector_init)
1841 (hildon_date_selector_constructor): Don't connect to the "changed"
1842 signal until the selector is completely constructed.
1844 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1846 * src/hildon-touch-selector.c: (_create_new_column),
1847 (hildon_touch_selector_append_column),
1848 (hildon_touch_selector_set_column_selection_mode),
1849 (hildon_touch_selector_set_active),
1850 (hildon_touch_selector_select_iter):
1851 Emit the HildonTouchSelector::changed signal every time selection
1852 is changed in any of the methods above. This behavior was already
1853 documented but not fully functional.
1855 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1856 selection is programmatically changed)
1858 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1860 * doc/hildon-sections.txt: Remove obsolete icon
1861 sizes from here as well.
1863 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1865 * examples/hildon-stackable-window-example.c (add_window): Remove
1868 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1870 * src/hildon-app-menu.c
1871 (hildon_app_menu_show): Check whether the parent window of a menu
1872 is topmost before popping it up.
1874 Fixes: NB#100468 (Application menu window is launched even when a
1875 new secondary-window/dialog is pending to be shown/realized.)
1877 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1879 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1882 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1884 Patch by Mox Soini (ext-mox.soini@nokia.com)
1886 * src/hildon-banner.c: (hildon_banner_show_animation):
1887 use stylus size instead of obsolete note size.
1888 * src/hildon-defines.h: Update icon sizes.
1890 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1892 * src/hildon-touch-selector-entry.c:
1893 (hildon_touch_selector_entry_init): Disable unsupported
1895 (hildon_touch_selector_entry_get_text_column): Emit a warning
1896 if an unsupported input modes is used and explicitile state
1897 these modes in the documentation.
1899 Fixes: NB#99802 (Hildon touch selector entry not working properly
1900 for some of the input modes)
1902 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1904 * src/hildon-pannable-area.c,
1905 (hildon_pannable_area_init): Added the changed signal handlers of
1908 Fixes: NB#100320 (HildonPannableArea does not listen to
1909 GtkAdjustment "change" signals)
1911 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1913 * doc/hildon-sections.txt
1914 * src/hildon-window-private.h
1915 * src/hildon-window.h
1916 * src/hildon-window.c (hildon_window_init)
1917 (hildon_window_realize, hildon_window_unrealize)
1918 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1919 (hildon_window_size_request, hildon_window_size_allocate)
1920 (hildon_window_forall, hildon_window_show_all)
1921 (hildon_window_destroy, +paint_edit_toolbar)
1922 (+hildon_window_set_edit_toolbar):
1923 New hildon_window_set_edit_toolbar() method, to add a
1924 HildonEditToolbar to a window without having to pack it manually.
1926 Reorganize hildon_window_size_allocate()
1928 * src/hildon-edit-toolbar.c: Update documentation.
1930 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1931 example to use the new API.
1933 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1935 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1937 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1938 Remove from stack before calling parent's hide.
1940 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1942 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1943 window is removed from the middle of the stack, update the
1944 transiency of the previous one.
1946 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1949 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1951 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1952 block/unblock the signal handler if it's not actually being used.
1953 Fixes some critical warnings.
1955 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1957 Based on a patch by Iván Gómez (igomez@igalia.com)
1959 * src/hildon-banner.c
1963 * src/hildon-pannable-area.c
1964 * src/hildon-picker-dialog.c
1965 * src/hildon-wizard-dialog.h
1966 * src/hildon-wizard-dialog.c: Documentation updates.
1968 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1969 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1971 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1973 * configure.ac: post release version bump.
1974 * debian/changelog: version bump.
1976 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1981 * configure.ac: Bump version.
1982 * debian/changelog: Updates.
1984 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1986 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1987 a stock icon nor change the relief of the back arrow.
1989 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1990 graphics from theme)
1992 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1994 * src/hildon-button.c (hildon_button_set_alignment): Use
1995 priv->alignment if the button has no child yet.
1997 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1999 * src/hildon-button.c: (hildon_button_init): Set the
2000 button style during initialization to give it the proper
2003 Fixes: NB#99713 (HildonButton value label color is wrong)
2005 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2007 * src/hildon-touch-selector.c: Document
2008 hildon_touch_selector_center_on_selected()
2010 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2012 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2013 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2014 all menu items, but not the menu itself.
2015 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2016 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2017 items after adding them to the menu so keyboard accelerators work.
2018 (hildon_app_menu_show): Don't show the menu if it contains items
2019 but none of them are visible.
2021 * examples/hildon-app-menu-example.c (create_menu): Use
2022 gtk_widget_show_all() to show all menu items.
2024 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2026 * src/hildon-picker-dialog.c:
2027 (-_update_title_on_selector_changed_cb),
2028 (-_dialog_update_title): Removed.
2029 (_select_on_selector_changed_cb), (_on_dialog_response),
2030 (on_selector_columns_changed): Do not update the dialog title.
2031 (setup_interaction_mode): Do not connect to
2032 HildonTouchSelector::changed signal if there's a "done" button, as
2033 the dialog title doesn't need to be updated.
2035 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2038 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2040 Patch by Kristian Rietveld (kris@imendio.com)
2042 * src/hildon-touch-selector.c: (_create_new_column): Use new
2043 GtkTreeView::hildon-row-tapped signal to react to user interactions
2044 instead of ::changed.
2046 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2047 with some dynamic tree model)
2049 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2051 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2052 (+screen_size_changed, +label_size_request)
2053 (hildon_note_class_init): Make the Hildon information note have a
2054 minimum height, and make its text hvae a maximum width.
2056 Fixes: NB#98614 (Hildon information note (background) should have
2057 minimum height and maximum text width)
2059 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2061 * src/hildon-banner.h
2062 * src/hildon-banner.c (hildon_banner_show_information)
2063 (hildon_banner_show_informationf)
2064 (hildon_banner_show_information_with_markup): Update documentation
2065 to reflect that the icon_name parameter is not used anymore.
2066 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2067 Remove all code from these functions and mark them as deprecated.
2068 (hildon_banner_show_progress): Mark as deprecated.
2070 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2072 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2074 * src/hildon-pannable-area.c,
2075 (hildon_pannable_area_class_init),
2076 (tranparency_color),
2077 (hildon_pannable_draw_vscroll),
2078 (hildon_pannable_draw_hscroll),
2079 (hildon_pannable_area_expose_event): Added a new way to render the
2080 scrollbars of the pannable area avoiding using cairo at all. This
2081 way we improve the performance of the pannable area rendering. The
2082 cairo rendering procedure is still in the code, we can control
2083 which one to use changing the value of the define
2084 USE_CAIRO_SCROLLBARS.
2086 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2088 * configure.ac: post release version bump.
2089 * debian/changelog: version bump.
2091 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2096 * configure.ac: Bump version.
2097 * debian/changelog: Updates.
2099 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2101 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2102 banners instead of destroying them when they receive a button
2105 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2107 Reverted commit 34028, it was causing regressions, probably the
2108 topmost condition is not correct, we have to check it in more
2109 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2110 propagation of button press events)
2112 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2114 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2115 that the selection is not empty before attempting to retrieve the
2116 current ampm selection.
2118 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2120 * src/hildon-picker-button.c:
2121 (hildon_picker_button_on_dialog_response): Directly update the
2122 button contents when required instead of calling _selection_changed.
2124 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2126 * src/hildon-program.c (hildon_program_update_top_most): Update
2127 'is-topmost' property also when wm_hints is not set.
2129 Fixes: NB#98383 (is-topmost signal is not emitted when task
2130 switcher is clicked.)
2132 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2134 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2138 * src/hildon-animation-actor.c,
2139 * src/hildon-animation-actor.h: Added the animation actor class,
2140 this widget represents an animation actor for WM-assisted
2141 animation effects in the Hildon framework.
2143 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2145 * src/hildon-window-stack-private.h
2146 * src/hildon-window-stack.c
2147 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2148 Avoid calling gtk_widget_show() again indirectly from
2149 hildon_stackable_window_show()
2151 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2153 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2156 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2158 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2159 (hildon_time_selector_init): Move the construction of the hours and
2160 ampm columns to the constructor to preserve the order the columns
2163 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2165 * src/hildon-picker-dialog.c:
2166 (hildon_picker_dialog_class_init): Connect a realize method.
2167 (+hildon_picker_dialog_realize): Setup the interaction mode here
2169 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2170 yet, do it during the realize instead.
2171 (_on_dialog_response):
2172 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2173 if the widget is not realized, to avoid the dialog response before it
2176 Avoid premature responses in the HildonPickerDialog that can cause it
2177 to be hidden before it's even shown.
2179 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2181 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2182 (on_selector_columns_changed), (requires_done_button),
2183 (+prepare_action_area), (setup_interaction_mode),
2184 (_hildon_picker_dialog_set_selector):
2186 Split the interaction mode setup into preparation of the
2187 action area (prepare_action_area()) and the connection of
2188 the signals in setup_interaction_mode() and update the code to
2191 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2193 * src/hildon-pannable-area.c,
2194 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2195 per second to 15, we will check if this is ok regarding
2198 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2200 * src/hildon-pannable-area.c,
2201 (hildon_pannable_axis_scroll): Avoid resize if we already have
2202 reached overshoot_max.
2204 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2206 * src/hildon-pannable-area.c,
2207 (hildon_pannable_area_init),
2208 (hildon_pannable_area_realize),
2209 (hildon_pannable_area_size_allocate),
2210 (hildon_pannable_area_map),
2211 (hildon_pannable_area_unmap),
2212 (hildon_pannable_draw_vscroll),
2213 (hildon_pannable_draw_hscroll),
2214 (hildon_pannable_area_expose_event),
2215 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2216 pannable are to avoid the expose events go to the window and
2217 redraw the window. We save this way that part of the stack and the
2218 paint_boxes. We had to change the positions of the elements when
2221 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2223 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2224 * src/hildon-color-chooser-dialog.c:
2225 (hildon_color_chooser_dialog_init):
2226 * src/hildon-font-selection-dialog.c:
2227 (hildon_font_selection_dialog_init),
2228 (hildon_font_selection_dialog_show_preview):
2229 * src/hildon-get-password-dialog.c:
2230 * src/hildon-login-dialog.c:
2231 * src/hildon-set-password-dialog.c:
2232 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2233 * src/hildon-time-picker.c: (hildon_time_picker_init):
2235 Remove obsolete logical string IDs and update to the appropriate ones.
2237 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2239 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2241 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2242 that happens if the window hasn't been realized yet.
2244 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2245 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2247 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2249 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2250 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2253 Fixes: NB#98537 (Device hangs in account settings dialog)
2255 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2257 * configure.ac: post release version bump.
2258 * debian/changelog: version bump
2260 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2265 * configure.ac: Bump version.
2266 * debian/changelog: Updates.
2268 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2270 Added a new function to the HildonTimeButton widget that allows to
2271 change the step of the minutes in the selector associated with the
2272 button: hildon_time_button_new_step
2274 * src/hildon-time-button.c,
2275 (hildon_time_button_init),
2276 (hildon_time_button_new),
2277 (hildon_time_button_new_step):
2278 * src/hildon-time-button.h: Added the new function and refactored
2280 * examples/hildon-time-button-example.c,
2281 (main): We have replaced the function without parameters with the
2282 function with the steps set to 5
2284 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2286 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2288 * src/hildon-time-selector.c,
2289 (hildon_time_selector_class_init),
2290 (hildon_time_selector_constructor),
2291 (hildon_time_selector_get_property),
2292 (hildon_time_selector_set_property),
2293 (_create_minutes_model),
2294 (hildon_time_selector_new_step),
2295 (hildon_time_selector_set_time),
2296 * src/hildon-time-selector.h: Added a new property to the
2297 HildonTimeSelector (minutes-step), we use that property to control
2298 the steps between the minutes in the list of the selector. We have
2299 added a new function to the API to create a widget changing the
2300 step: hildon_time_selector_new_step.
2302 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2304 * src/hildon-time-selector.c,
2305 (hildon_time_selector_class_init),
2306 (hildon_time_selector_constructor),
2307 (hildon_time_selector_init): Overrided the construct function when
2308 creating the time selector object. We have moved the minutes model
2309 handling code from the init to the new construction function:
2310 hildon_time_selector_constructor.
2312 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2314 * examples/hildon-date-button-example.c: (main): Use the new
2315 hildon_date_button_new_with_year_range() method in the example.
2316 * src/hildon-date-button.c:
2317 (+hildon_date_button_new_with_year_range): New public method
2318 to conveniently create a HildonDateButton with a custom year range
2319 in its HildonDateSelector.
2320 * src/hildon-date-button.h: Add the new public method definition.
2322 Fixes: NB#97908 (Not possible to change the year range in
2323 HildonDateSelector/HildonDateButton)
2325 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2327 * src/hildon-date-selector.c:
2328 (+hildon_date_selector_set_property),
2329 (+hildon_date_selector_get_property),
2330 (hildon_date_selector_class_init): Install new properties "min-year"
2331 and "max-year" to define boundaries for the year column.
2332 (_create_year_model): Use the boundary properties to populate the model.
2333 (+hildon_date_selector_new_with_year_range): New public method to
2334 create a HildonDateSelector with a user defined year range.
2335 (hildon_date_selector_select_current_date): Use the new boundaries to
2336 calculate the iterator of current year.
2337 * src/hildon-date-selector.h: Add the new public method definition.
2339 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2341 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2342 Install a constructor method.
2343 (+hildon_date_selector_construct_ui): construct the widget.
2344 (+hildon_date_selector_constructor): new constructor.
2345 (+hildon_date_selector_init): move out widget construction code to
2346 the new constructor.
2348 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2350 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2351 that there's actually a month or year selected before obtaining them.
2352 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2353 of the HildonTouchSelector::changed signal, as it was emitted on every
2354 single item selection.
2356 Fix some warnings and possible crashers due to the selection restoring.
2358 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2360 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2361 the signal handlers only after creating the dialog instead of on every
2364 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2366 * src/hildon-button.c (hildon_button_init)
2367 * src/hildon-check-button.c (hildon_check_button_init)
2368 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2369 focus when clicked by default.
2371 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2373 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2376 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2378 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2379 Alejandro G. Castro (alex@igalia.com)
2381 * src/hildon-picker-dialog.c:
2382 (hildon_picker_dialog_class_init): install new "center-on-show"
2384 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2385 (hildon_picker_dialog_set_property): add setter code for the new
2387 (hildon_picker_dialog_get_property): add getter code for the new
2389 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2390 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2393 Fixes: NB#92849 (Selected item is not always visible when
2394 HildonTouchSelector is shown)
2396 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2398 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2399 Alejandro G. Castro (alex@igalia.com)
2401 * src/hildon-touch-selector.c:
2402 (_create_new_column): Do not connect to the "realize" signal of the
2404 (hildon_touch_selector_append_column): center on the selected items
2405 when a new column is appended.
2406 (hildon_touch_selector_select_iter): Factor out the code to select a
2407 column to hildon_touch_selector_scroll_to().
2408 (+search_nearest_element): Method to retrieve the nearest selected
2409 element to the visible area of the pannable area in a column.
2410 (+on_realize_cb): scroll to the initially selected item.
2411 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2412 the pannable area is realized, otherwise delay this until it is.
2413 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2414 selected items of a given column.
2415 (+hildon_touch_selector_center_on_selected): Public method to center
2416 all columns on the nearest selected item.
2417 * src/hildon-touch-selector.h: Add definition for
2418 hildon_touch_selector_center_on_selected().
2420 Implement public API to ensure visibility of all selected items in
2421 a HildonTouchSelector.
2423 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2425 Fixed a problem in the fading when calling the scroll_to API, and
2426 improve scrollbar fading handling.
2428 * src/hildon-pannable-area.c,
2429 (hildon_pannable_area_grab_notify): avoid the timeout when the
2431 (hildon_pannable_area_button_press_cb),
2432 (hildon_pannable_area_motion_notify_cb): Code style changes.
2433 (hildon_pannable_area_button_release_cb): Review the conditions
2434 when releasing the mouse button to avoid unrequired fading
2436 (hildon_pannable_area_scroll_to): Do not calculate and set the
2437 velocity if the scroll is not required.
2439 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2441 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2442 Don't check whether the new selector is NULL: it cannot be.
2443 Hold a reference to the selector while doing the replacement.
2445 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2447 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2448 unnecessary size_request in a removed widget.
2450 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2452 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2453 an unnecessary reference tracking that was leaking.
2455 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2457 Added delayed motion notify event handling, this way we can
2458 discard redrawing if more than 25 events arrive per second.
2460 * src/hildon-pannable-area.c,
2461 (hildon_pannable_area_init): Initialized the new private atributes
2462 controlling this timeout
2463 (hildon_pannable_area_dispose): Remove the timeout that controls
2464 the motion notify events.
2465 (hildon_pannable_area_scroll): Added a condition to control the
2466 use of the acceleration.
2467 (hildon_pannable_area_motion_event_scroll_timeout),
2468 (hildon_pannable_area_motion_event_scroll): Added this two
2469 functions, they handle the motion notify events inside the
2471 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2472 to the scroll method with the new function.
2473 (hildon_pannable_area_button_release_cb): We have to remove the
2474 timeout handler and move to the last position if the last motion
2475 events were not handled.
2477 Fixes: NB#97028 (Pannable area updates on every motion event)
2479 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2481 * src/hildon-pannable-area.c,
2482 (hildon_pannable_area_get_topmost): Added a new parameter to
2483 filter the the windows that do not include those events. Added
2484 also a condition when finding the window to filter windows that do
2485 not ask for those events.
2486 (hildon_pannable_area_button_press_cb),
2487 (hildon_pannable_area_button_release_cb),
2488 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2489 topmost function, we have added the new parameter.
2491 Fixes: NB#97458 (Pannable area prevents propagation of button
2494 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2496 * src/hildon-pannable-area.c,
2497 (hildon_pannable_area_initial_effect): Added controls before
2498 launching the timeout and the idle functions.
2499 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2500 of the method, in some situations it can return with TRUE and 0 in
2502 (hildon_pannable_area_button_press_cb): We do not need to set
2503 DELAY for fading out here.
2505 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2507 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2509 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2510 post-cleaning if the selection is not NULL.
2512 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2514 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2515 all items before restoring the selection.
2517 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2519 * src/hildon-touch-selector.c:
2520 (+hildon_touch_selector_unselect_all):
2521 * src/hildon-touch-selector.h: New API to unselect all items in a
2522 column of the touch selector.
2524 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2526 * src/hildon-pannable-area.c,
2527 (hildon_pannable_area_redraw): Added a call to the refresh
2528 function inside the redraw because apparently in some cases the
2529 change in the adjustment does not imply a size allocate.
2531 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2532 despite the view not being scrollable)
2534 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2536 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2537 leak. Check for NULL before attempting to set the window title.
2539 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2541 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2542 whether to show or not the 'Done' button each time the dialog is
2543 shown, as it depends on the HildonTouchSelector selection mode.
2545 Fixes: NB#96226 (In multiple selection mode Done button is shown
2546 sometimes in listpicker)
2548 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2550 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2551 for the number of columns in the HildonTouchSelector more than once.
2553 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2555 * src/hildon-touch-selector.c: Minor documentation fixes.
2557 * src/hildon-picker-dialog.c (+_dialog_update_title)
2558 (_select_on_selector_changed_cb)
2559 (_update_title_on_selector_changed_cb)
2560 (on_selector_columns_changed): Update dialog title when there's no
2561 'Done' button and also when the number of columns in the selector
2565 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2566 (+_selection_changed, hildon_picker_button_on_dialog_response)
2567 (hildon_picker_button_selector_selection_changed)
2568 (+hildon_picker_button_selector_columns_changed)
2569 (hildon_picker_button_set_selector): Update button value and emit
2570 'value-changed' when the number of columns in the selector
2574 Fixes: NB#96225 (Dialog titles are not shown according to the
2575 values selected in the list picker)
2577 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2579 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2580 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2581 New "arrow-width" and "arrow-height" style properties to set the
2582 size of the arrow button.
2583 Set name of arrow button ("hildon-edit-toolbar-arrow").
2585 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2586 graphics from theme)
2588 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2590 * src/hildon-picker-button.c:
2591 (hildon_picker_button_selector_selection_changed): Use
2592 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2593 the dialog is present.
2595 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2596 the selection is accepted in the dialog)
2598 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2600 * src/hildon-color-chooser.h
2601 * src/hildon-color-chooser-dialog.h:
2602 Added G_BEGIN_DECLS and G_END_DECLS
2604 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2606 (_clean_current_selection): plug a leak in the list.
2608 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2610 * src/hildon-picker-dialog.c:
2611 (+free_path_list): Method to free a GList of GtkTreePaths.
2612 (_clean_current_selection), (_save_current_selection),
2613 (_restore_current_selection): Save the current selection in
2614 as a list of lists, to support multiple selection properly.
2616 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2618 patch by Claudio Saavedra (csaavedra@igalia.com)
2620 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2621 Store the press position.
2622 (+hildon_text_view_button_release_event): If the release position is
2623 close enough to the press position, move the cursor here. Otherwise,
2625 (hildon_text_view_class_init): Override GtkTextView press, release, and
2626 motion event handlers, disabling this way text selection through
2627 pointer interaction, and allowing the container widget to handle the
2630 Fixes: NB#95828 (HildonTextView functionality)
2632 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2634 Based on a patch by Iván Gómez (igomez@igalia.com)
2636 * src/hildon-button.[ch]
2637 * src/hildon-calendar.c
2638 * src/hildon-check-button.c
2639 * src/hildon-date-editor.c
2640 * src/hildon-date-selector.c
2641 * src/hildon-picker-button.c
2642 * src/hildon-time-editor.c
2643 * src/hildon-time-selector.c
2644 * src/hildon-touch-selector.[ch]:
2645 Documentation updates
2647 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2649 * src/hildon-pannable-area.c,
2650 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2651 threshold, it was required due to X events handling.
2653 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2655 * src/hildon-pannable-area.c,
2656 (hildon_pannable_area_grab_notify),
2657 (hildon_pannable_area_initial_effect),
2658 (hildon_pannable_area_button_press_cb),
2659 (hildon_pannable_area_button_release_cb),
2660 (hildon_pannable_area_scroll_cb),
2661 (hildon_pannable_area_scroll_to): Review the timeout management of
2662 the scrollbar, the frecuency was incorrectly set.
2664 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2666 * src/hildon-picker-button.c:
2667 (+hildon_picker_button_on_dialog_response),
2668 (hildon_picker_button_clicked): Present the dialog instead of
2669 running it with gtk_dialog_run().
2671 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2674 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2676 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2677 (hildon_app_menu_finalize): When a window is hidden it doesn't
2678 emit notify::is-topmost, so make sure than the menu also
2679 disappears in that case.
2680 (parent_window_topmost_notify): Renamed from parent_window_hidden
2682 Fixes: NB#94460 (stackable window's menu is not closed when its
2685 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2687 * src/hildon-touch-selector-entry.c:
2688 (+hildon_touch_selector_entry_set_input_mode),
2689 (+hildon_touch_selector_entry_get_input_mode):
2690 * src/hildon-touch-selector-entry.h: New methods to access the input
2691 mode in the selector's entry.
2693 Fixes: NB#93410 (API required for setting IM mode in
2694 HildonTouchSelectorEntry)
2696 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2698 * configure.ac: post release version bump.
2699 * debian/changelog: version bump
2701 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2706 * configure.ac: Bump version.
2707 * debian/changelog: Updates.
2709 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2711 * src/hildon-touch-selector.c:
2712 (_hildon_touch_selector_has_multiple_selection): No need
2713 to initialize the variables here.
2715 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2717 * src/hildon-note-private.h
2718 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2719 (hildon_note_finalize, hildon_note_rebuild): Close information
2720 notes when they receive a button press.
2722 Fixes: NB#89890 (Information notes does not get disappeared after
2725 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2727 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2728 mark from the wizard title, as it's not really necessary. Also,
2729 do not display the page title if not set.
2731 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2733 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2734 (parent_window_hidden): Use the window's "is-topmost" property to
2735 detect when to hide the menu.
2737 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2739 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2740 (hildon_app_menu_finalize): If the parent window of the menu is
2741 hidden, hide the menu too.
2743 Fixes: NB#94460 (stackable window's menu is not closed when its
2746 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2749 * debian/libhildon1-examples.install
2751 * examples/Makefile.am:
2752 Use dh_install to install all examples.
2753 Use DEB_SRCDIR instead of defining SOURCE_DIR
2755 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2757 * configure.ac: post release version bump.
2758 * debian/changelog: version bump
2760 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2765 * configure.ac: bump version
2766 * debian/changelog: updates
2767 * debian/control: bump gtk+ dependency
2769 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2771 patch by Christian Dywan (christian@imendio.com)
2773 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2774 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2776 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2778 * src/hildon-check-button.c (hildon_check_button_init)
2779 (hildon_check_button_class_init, hildon_check_button_style_set)
2780 (hildon_check_button_apply_style):
2781 New "checkbox-size" style property.
2783 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2784 larger / configurable size)
2786 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2788 * configure.ac: post release version bump.
2789 * debian/changelog: version bump
2791 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2796 * configure.ac: bump version
2797 * debian/changelog: updates
2799 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2801 * doc/hildon-sections.txt
2802 * src/hildon-pannable-area.c
2803 * src/hildon-program.c
2804 * src/hildon-time-editor.c
2805 * src/hildon-touch-selector-entry.c:
2807 More documentation updates.
2809 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2811 * doc/hildon-sections.txt
2812 * src/hildon-caption.c
2813 * src/hildon-code-dialog.c
2814 * src/hildon-color-button.c
2815 * src/hildon-controlbar.c
2816 * src/hildon-date-editor.c
2817 * src/hildon-date-selector.c
2818 * src/hildon-edit-toolbar.c
2819 * src/hildon-find-toolbar.c
2820 * src/hildon-font-selection-dialog.c
2822 * src/hildon-program.c
2823 * src/hildon-range-editor.c
2824 * src/hildon-seekbar.c
2825 * src/hildon-time-editor.c
2826 * src/hildon-time-selector.c
2827 * src/hildon-volumebar-range.c
2828 * src/hildon-volumebar.c
2829 * src/hildon-vvolumebar.c
2830 * src/hildon-weekday-picker.c
2831 * src/hildon-window.c
2832 * src/hildon-wizard-dialog.c:
2834 Lots of documentation fixes.
2836 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2838 Patch contributed by Iván Gómez (igomez@igalia.com)
2840 * src/hildon-check-button.c:
2841 * src/hildon-date-button.c:
2842 * src/hildon-date-selector.c:
2843 * src/hildon-dialog.c:
2844 * src/hildon-edit-toolbar.c:
2845 * src/hildon-entry.c:
2846 * src/hildon-picker-button.c:
2847 * src/hildon-program.c:
2848 * src/hildon-text-view.c:
2849 * src/hildon-time-button.c:
2850 * src/hildon-touch-selector-entry.c:
2851 * src/hildon-window-stack.c:
2853 Add more "since" tags to the new API.
2855 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2857 * doc/hildon-sections.txt: Add below method.
2858 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2859 version for the hildonized scale.
2860 * src/hildon-gtk.h: Add the definition.
2862 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2864 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2866 * doc/hildon-sections.txt: Add missing entries for new methods.
2868 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2870 Added API to pannable are in order to get its adjustments. We
2871 added two properties to manage the values we had in the private
2874 * src/hildon-pannable-area.c:
2875 (hildon_pannable_area_class_init): Added hadjustment and
2876 vadjustment properties in order to expose horizontal and vertical
2878 (hildon_pannable_area_get_property),
2879 (hildon_pannable_area_set_property): Added code to handle the new
2881 (hildon_pannable_area_get_hadjustment),
2882 (hildon_pannable_area_get_vadjustment): API functions to get the
2884 * src/hildon-pannable-area.h:
2885 (hildon_pannable_area_get_hadjustment),
2886 (hildon_pannable_area_get_vadjustment): API functions to get the
2889 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2891 Fixed some leaks, after valgrinding.
2893 * src/hildon-touch-selector.c:
2894 (_default_print_func): Fixed a leak.
2895 (hildon_touch_selector_append_column): Fixed a leak.
2896 * src/hildon-date-button.c:
2897 (hildon_date_button_init): Fixed a leak.
2898 * src/hildon-date-selector.c
2899 (hildon_date_selector_finalize): Fixed a leak.
2901 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2903 Based on a patch by Christian Dywan (christian@imendio.com)
2905 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2907 * src/hildon-gtk.h: Add definition.
2909 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2911 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2913 * src/hildon-picker-button.c: (hildon_picker_button_init),
2914 (hildon_picker_button_new): Set the HildonButton::style property
2915 in the init method, to propagate the value to the derived classes.
2917 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2919 * src/hildon-button.c: (hildon_button_class_init): Do not make
2920 the "style" property a construct property.
2922 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2924 * src/hildon-wizard-dialog.h
2925 * src/hildon-wizard-dialog.c
2926 (hildon_wizard_dialog_set_forward_page_func)
2927 * src/hildon-pannable-area.h
2928 * src/hildon-pannable-area.c
2929 (hildon_pannable_area_set_size_request_policy):
2930 Documentation fixes.
2932 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2934 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2936 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2938 * doc/hildon-sections.txt: Added sections file.
2940 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2943 * src/*.[ch]: Updates.
2945 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2947 * examples/hildon-progress-indicator-example.c: new file
2948 * examples/Makefile.am: include the new example program
2950 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2952 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2954 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2956 * configure.ac: post release version bump
2957 * debian/changelog: version bump
2959 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2964 * configure.ac: bump version
2965 * debian/changelog: updates
2966 * debian/control: bump gtk+ dependency
2968 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2970 * src/hildon-dialog.c: Mark as deprecated.
2971 * src/hildon-dialog.h: Mark as deprecated.
2972 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2973 from HildonDialog and still work, even if
2974 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2975 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2977 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2978 maemo changes) instead)
2980 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2982 * src/hildon-pannable_area.h:
2983 * src/hildon-pannable_area.c:
2984 (hildon_pannable_area_class_init),
2985 (hildon_pannable_area_set_property),
2986 (hildon_pannable_area_get_property),
2987 (hildon_pannable_area_size_request),
2988 (hildon_pannable_area_get_size_request_policy),
2989 (hildon_pannable_area_set_size_request_policy): Added new API
2990 allowing applications to control the request policy. Now they can
2991 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2992 children allocation (HILDON_MOVEMENT_CHILDREN).
2994 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2998 (hildon_gtk_tree_view_set_ui_mode)
2999 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3000 mode of treeviews and iconviews.
3002 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3004 * src/hildon-touch-selector-entry.c:
3005 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3006 of a GtkEntry to get proper theming.
3008 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3009 widget, not GtkEntry)
3011 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3013 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3014 no HildonWizardDialogPageFunc.
3016 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3018 Patch contributed by Iván Gómez (igomez@igalia.com)
3020 * src/hildon-app-menu.c:
3021 * src/hildon-button.c:
3022 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3023 * src/hildon-stackable-window.c:
3024 * src/hildon-time-selector.c:
3025 * src/hildon-touch-selector.c:
3026 * src/hildon-window.c:
3028 Add more "since" tags to the new API in hildon 2.2.
3030 2008-12-05 Tim Janik <timj@imendio.com>
3032 Patch contributed by Christian Dywan (christian@imendio.com)
3034 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3035 HildonSizeType, which are supplied by Gtk+ now.
3037 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3039 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3040 (with maemo changes) instead)
3042 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3044 Patch contributed by Iván Gómez (igomez@igalia.com)
3046 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3049 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3051 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3052 (some_page_func), (main): Update the example to use a
3053 HildonWizardDialogPageFunc function.
3055 * src/hildon-wizard-dialog-private.h: Add private data for
3056 the HildonWizardDialogPageFunc function usage.
3058 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3059 (destroy), (hildon_wizard_dialog_init), (response),
3060 (hildon_wizard_dialog_set_forward_page_func):
3061 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3062 that applications can use to stop a HildonWizardDialog to jump to
3065 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3068 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3070 * src/hildon-program.h
3071 * src/hildon-program-private.h
3072 * src/hildon-program.c (hildon_program_init)
3073 (hildon_program_set_common_app_menu)
3074 (hildon_program_get_common_app_menu):
3075 New API for setting a common HildonAppMenu for all
3076 HildonStackableWindows registered with the HildonProgram.
3078 * src/hildon-stackable-window.c
3079 (hildon_stackable_window_toggle_menu):
3080 Use the common HildonAppMenu if a window doesn't have a specific
3083 * src/hildon-app-menu-private.h
3084 * src/hildon-app-menu.c
3085 (hildon_app_menu_get_parent_window):
3086 Function to obtain the window a HildonAppMenu is attached to.
3087 (hildon_app_menu_set_parent_window):
3088 Hide the menu if the parent window is set to NULL.
3090 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3092 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3093 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3094 search widget to popup.
3096 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3098 * configure.ac: post release version bump
3099 * debian/changelog: version bump
3101 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3106 * configure.ac: bump version
3107 * debian/changelog: updates
3109 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3111 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3113 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3114 (hildon_window_stack_window_realized)
3115 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3116 Set the leader GdkWindow when a window is stacked and realized,
3117 unset it when it's unstacked.
3118 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3120 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3122 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3124 * src/hildon-stackable-window.h
3125 * src/hildon-window-stack.h:
3126 Protect definition of HildonWindowStack using the preprocessor.
3128 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3130 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3131 Fix warning if all menu items are hidden.
3133 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3135 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3137 * src/hildon-controlbar.c:
3138 * src/hildon-hvolumebar.c:
3139 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3140 Multiple scale size defines updates.
3142 Fixes: NB#94322 (Scale Updates)
3144 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3146 * examples/hildon-app-menu-example.c (create_menu)
3147 Show items after adding them to the menu, as in the future the
3148 menu will no longer call gtk_widget_show() on the added items.
3150 * src/hildon-app-menu.c:
3151 Update example as explained above.
3153 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3155 * src/hildon-app-menu.c
3156 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3157 Make sure that all menu items have finger height.
3159 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3161 * src/hildon-picker-dialog.c:
3162 (_on_dialog_response), (_save_current_selection),
3163 (_restore_current_selection), (_clean_current_selection),
3164 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3165 Defined new functions in order to save the current internal selector
3166 selection previous open the dialog, in case that the use cancel the
3167 interaction, so the widget restores the previous selection.
3169 Fixes: NB#92032 (In calendar application, date values in 'new event'
3172 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3174 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3176 * src/hildon-button.c: Add a reference to the button examples in
3177 hildon-button-example.c
3179 * examples/hildon-button-example.c: Added examples of the most
3180 common button layouts.
3182 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3184 * src/hildon-app-menu.c (hildon_app_menu_show)
3185 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3187 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3189 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3191 * src/hildon-picker-dialog.c:
3192 (hildon_picker_dialog_init): Initialize the signal id for
3193 HildonTouchSelector::columns-changed.
3194 (+on_selector_columns_changed): Set up the interaction mode everytime a
3195 column is added or removed from the HildonTouchSelector.
3196 (_hildon_picker_dialog_set_selector): Connect to
3197 HildonTouchSelector::columns-changed and keep track of it.
3199 Make sure to update the interaction mode of the dialog everytime a
3200 column is added or removed in the HildonTouchSelector.
3202 Fixes: NB#93228 (Done button is not shown always in listpicker)
3204 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3206 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3207 a new ::columns-changed signal.
3208 (hildon_touch_selector_append_column): Emit ::columns-changed.
3209 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3211 Add a ::columns-changed signal, emitted when the number of columns in a
3212 HildonTouchSelector changes.
3214 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3216 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3217 (_hildon_picker_dialog_set_selector): Factor out the code
3218 to set up the dialog interaction mode.
3220 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3222 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3223 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3224 to signal_changed_id.
3226 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3228 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3231 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3233 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3234 Updated the logical ids related to ampm format, as now it is required to
3235 show it correctly localized even on languages with no default
3236 abbreviations for am or pm
3237 (_check_am_pm_format): check correctly the 24h format gconf property
3239 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3241 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3243 * src/hildon-button.c: Documentation updates.
3245 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3247 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3248 * src/hildon-caption.c: (hildon_caption_class_init):
3249 * src/hildon-color-button.c: (hildon_color_button_class_init):
3250 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3251 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3252 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3253 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3255 Remove deprecated GTK+ marshalers and replace them with the ones
3256 provided by GLib, for those available, add a marshaler for
3257 BOOLEAN:VOID, which is not available in GLib, and use it.
3259 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3261 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3262 the text from the previous column if there is no
3263 HildonTouchSelectorColumn::text-property set.
3265 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3267 * src/hildon-button.h
3268 * src/hildon-button.c (hildon_button_set_property)
3269 (hildon_button_get_property, hildon_button_class_init)
3270 (hildon_button_set_style, hildon_button_get_style):
3271 New "style" property to change the visual appearance of the
3274 * src/hildon-picker-button.c (hildon_picker_button_new):
3275 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3277 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3278 HildonButton look like PickerButton)
3280 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3282 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3283 column while building the default string.
3285 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3287 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3288 scroll indicator by default.
3290 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3292 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3294 * src/hildon-main.c: Fix the documentation for hildon_init()
3296 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3298 * doc/hildon-docs.sgml
3302 * src/hildon-window-stack-private.h
3303 * src/hildon-window-stack.h
3304 * src/hildon-window-stack.c:
3305 New HildonWindowStack object, that adds support for multiple
3306 stacks of windows per process.
3308 * src/hildon-stackable-window-private.h
3309 * src/hildon-stackable-window.h
3310 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3311 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3312 (hildon_stackable_window_show, hildon_stackable_window_hide)
3313 (hildon_stackable_window_class_init)
3314 (hildon_stackable_window_init):
3315 Use HildonWindowStack for stack management.
3317 * src/hildon-program.c (hildon_program_pop_window_stack)
3318 (hildon_program_peek_window_stack)
3319 (hildon_program_go_to_root_window):
3320 Add a fallback implementation to the deprecated functions using
3323 * examples/hildon-stackable-window-example.c:
3324 Use the new HildonWindowStack API.
3326 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3328 * src/hildon-stackable-window-private.h
3329 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3330 (hildon_stackable_window_hide, hildon_stackable_window_init):
3331 Remove all window stack management.
3333 * src/hildon-program-private.h
3334 * src/hildon-program.h
3335 * src/hildon-program.c (hildon_program_init)
3336 (hildon_program_pop_window_stack)
3337 (hildon_program_peek_window_stack)
3338 (hildon_program_go_to_root_window):
3339 Remove all window stack management and mark functions as
3342 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3344 * src/hildon-app-menu.c (hildon_app_menu_realize):
3345 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3347 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3349 * configure.ac: post release version bump
3350 * debian/changelog: version bump
3352 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3357 * configure.ac: bump version
3358 * debian/changelog: updates
3360 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3362 Based on initial code by Christian Dywan (christian@imendio.com)
3364 * doc/hildon-docs.sgml: Add section for hildon-main.
3365 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3366 * src/Makefile.am: Add new hildon-main.[ch]
3367 * src/hildon-defines.h: Update the icon sizes.
3368 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3369 new library initialization files and register icon sizes.
3370 * src/hildon-main.h: New declarations.
3371 * src/hildon.h: Include hildon-main.h
3373 Add new initialization functions to the library. These methods
3374 will register the hildon specific icon sizes and can be used in the
3375 future for other hildon specific bits.
3377 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3379 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3381 * src/hildon-window.c: (hildon_window_realize),
3382 (hildon_window_notify), (-hildon_window_update_title): Do not set
3383 the application name in the window title.
3385 Fixes: NB#89754 (Applications shouldn't display their names in the
3388 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3390 * src/hildon-note-private.h:
3391 * src/hildon-note.c: (hildon_note_set_property),
3392 (hildon_note_get_property), (hildon_note_class_init),
3393 (hildon_note_init), (hildon_note_finalize),
3394 (hildon_note_new_confirmation_with_icon_name),
3395 (hildon_note_new_information_with_icon_name):
3397 No need to mark as deprecated the actual code. Revert
3398 to avoid missing symbols in widgets using deprecated API.
3400 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3402 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3404 * src/hildon-volumebar.h
3405 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3406 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3408 * src/hildon-helper.h
3409 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3410 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3412 * examples/Makefile.am:
3413 Deprecate hildon-insensitive-example
3415 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3417 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3419 * examples/hildon-pannable-area-buttons-scroll-example.c:
3420 Make all buttons finger height
3422 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3424 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3426 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3427 update the day model only if it is really required, and to avoid the
3428 full-reconstruction aproach. Now it only add or remove the required days.
3430 The purpose of this is avoid superfluous HildonTouchSelector::changed
3433 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3434 with strange parameters)
3436 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3438 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3440 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3441 the WINDOW_TYPE property.
3443 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3445 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3448 Fix dependency to allow parallel compilation with make -jX
3450 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3452 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3453 color frame and some minor tweaks to make it more consistent with
3456 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3457 highlighted but not visible)
3459 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3461 * examples/Makefile.am: Fixed typo in the Makefile.am.
3463 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3465 Reviewed the use of MAEMO_GTK define, now we add the define in the
3466 compilation line, and we also add it to the pc file.
3468 * configure.ac: Added MAEMO_GTK define to the compilation command
3469 and removed it from the config.h.
3471 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3472 do not have to take care about this define if the library was
3476 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3478 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3480 * examples/Makefile.am,
3481 * examples/hildon-pannable-area-buttons-scroll-example.c,
3482 * examples/hildon-pannable-area-gesture-signals-example.c,
3483 * examples/hildon-pannable-area-scroll-jump-example.c,
3484 * examples/hildon-pannable-area-tree-view-example.c:
3485 Renamed the pannable area examples, now they have more meaningful
3488 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3490 * src/hildon-touch-selector.c:
3491 (hildon_touch_selector_set_column_selection_mode): Used of
3492 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3493 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3494 to avoid re-seting the same selection mode.
3496 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3497 breaks HildonPickerDialog)
3499 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3501 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3502 conditional in the Makefile.am
3504 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3506 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3507 Remove unused methods.
3509 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3511 * src/hildon-button.c (hildon_button_init):
3512 Make button images center-aligned by default
3514 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3517 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3518 activated, we have to think about how to deal with both defines
3519 MAEMO_GTK and MAEMO_CHANGES.
3521 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3523 * examples/hildon-app-menu-example.c (create_menu): Make all
3524 buttons finger size.
3526 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3528 Fixed the compilation without maemo gtk adding ifdefs with
3529 MAEMO_GTK define to the code, we have to check this version more
3532 * examples/Makefile.am: Added control to avoid some examples that
3533 just make sense with maemo gtk.
3536 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3537 hildon modes with the define.
3539 * examples/hildon-edit-toolbar-example.c,
3540 (create_icon_view): Create the icon view without hildon-gtk
3541 helpers if we are not using maemo gtk.
3543 * src/hildon-touch-selector.c,
3544 (_create_new_column): Create the treeview without hildon-gtk
3545 helpers if we are not using maemo gtk.
3547 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3549 * src/hildon-pnnable-area.c,
3550 (hildon_pannable_area_dispose),
3551 (hildon_pannable_area_button_press_cb),
3552 (hildon_pannable_area_child_mapped),
3553 (hildon_pannable_area_add),
3554 (hildon_pannable_area_remove): Added code to control the position
3555 of the event_window when adding and removing children from the
3556 pannable. We have to raise the event window when the child is
3559 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3560 selection mode using custom widget inside pannable)
3562 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3564 * configure.ac: post release version bump
3565 * debian/changelog: version bump
3567 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3572 * configure.ac: bump version
3573 * debian/changelog: updates
3575 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3577 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3578 search mode, in order to avoid lose the focus on the treeview when
3579 a hw key (like enter) is pressed.
3581 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3582 in HildonDateSelector dialog)
3584 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3586 * debian/rules: Added --enable-maintainer-mode
3587 * Makefile.am: Added ACLOCAL_AMFLAGS
3589 This allows to properly regenerate the Makefiles if you modify the
3590 configure.ac or any Makefile.am.
3592 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3594 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3595 properties, not needed at all.
3597 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3599 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3601 * src/hildon-note.c: (hildon_note_set_property),
3602 (hildon_note_get_property), (hildon_note_class_init),
3603 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3604 (hildon_note_new_confirmation_add_buttons): Remove icons.
3605 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3606 (hildon_note_new_information_with_icon_name): Deprecate.
3607 (hildon_note_new_confirmation): Act directly, without calling
3608 the deprecated constructor.
3609 (hildon_note_new_information): Act directly, without calling
3610 the deprecated constructor.
3611 * src/hildon-note.h: Mark deprecate methods as such.
3612 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3613 not run tests on the deprecated methods if built with deprecation
3616 Fixes: NB#91688 (Never show icons in information notes/confirmation
3619 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3621 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3622 (hildon_app_menu_key_press): Remove leftover usage of the
3623 private structure in HildonAppMenu struct.
3624 * src/hildon-app-menu.h: Remove leftover private structure
3625 from the HildonAppMenu struct.
3627 Fixes a crasher when using the HildonAppMenu.
3629 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3631 * src/hildon-picker-dialog.c: Use appropriate logical id
3632 for the default "Done" text.
3634 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3636 * configure.ac: post release version bump
3637 * debian/changelog: version bump
3639 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3641 Modified the way to scroll to the current selection just when the touch
3642 selector is shown on the screen, avoiding a g_idle. Added too a property
3643 to configure this behaviour. See hildon_pannable_area_jump_to_child
3644 documentation for more information.
3646 * src/hildon-touch-selector.c
3647 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3648 Added 'initial-scroll' property
3649 (hildon_touch_selector_set_property): Added
3650 (hildon_touch_selector_map): Removed as not required anymore
3651 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3652 only a concrete column, instead of iterate along all the columns
3654 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3659 * configure.ac: bump version
3660 * debian/changelog: updates
3662 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3664 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3665 compilation time warnings.
3667 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3669 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3670 the default value for HildonPannableArea::mov-mode to
3671 HILDON_PANNABLE_AREA_MODE_VERT.
3673 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3675 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3677 Reverting following commit:
3679 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3681 * src/hildon-app-menu-private.h
3682 * src/hildon-app-menu.[ch]
3683 * src/hildon-button.[ch]
3684 * src/hildon-check-button.[ch]
3685 * src/hildon-entry.[ch]
3686 * src/hildon-pannable-area.[ch]
3687 * src/hildon-text-view.[ch]:
3688 Added private field to the object's structure.
3690 because it causes an ABI breakage. We will need to introduce these
3691 changes later at some point. See NB#91636 for an extensive
3692 explanation and status.
3694 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3696 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3698 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3699 remove special cases that are no longer necessary.
3701 Fixes: NB#91016 (Change toolbar sizes, simplification)
3703 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3705 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3706 is shown in the cancel note.
3708 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3710 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3711 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3712 (hildon_seekbar_init): Remove steppers, remove expose event.
3713 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3715 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3717 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3719 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3720 label font to "SmallSystemFont" for vertically arranged buttons.
3722 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3725 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3727 * src/hildon-check-button.c
3728 (hildon_check_button_set_active, hildon_check_button_clicked):
3729 Don't access private parts directly, use getters instead.
3731 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3733 * src/hildon-check-button.c (hildon_check_button_new):
3734 Align the contents of the check button to the left.
3736 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3738 * src/hildon-pannable-area.c,
3739 (hildon_pannable_area_scroll_to),
3740 (hildon_pannable_area_jump_to),
3741 (hildon_pannable_area_scroll_to_child),
3742 (hildon_pannable_area_jump_to_child): Replace the mapped
3743 precondition of these functions with the realized, it is the
3744 correct state of the widget in this case. Changed the
3745 documentation according to this modification.
3747 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3749 Added a new EXTRA_CFLAGS option to add the deprecated define to
3750 the compilation command. This way we can avoid using the define in
3751 the documentation compilation.
3753 * configure.ac: Defined EXTRA_CFLAGS.
3755 * examples/Makefile.am:
3757 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3759 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3761 * src/hildon-picker-dialog.c:
3762 Defined a utility macro with the desired touch selector height
3763 Removed currently unused separator, and title_label variables from
3765 (hildon_picker_dialog_init): Removed code related to the creation
3766 of unused private variables title_label and separator.
3767 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3768 to ensure correct visualization of the touch selector inside the dialog.
3769 * src/hildon-touch-selector.c
3770 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3771 ensure a concrete height of the widget.
3773 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3776 * tests/Makefile.am:
3778 Remove spurious whitespaces.
3780 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3782 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3783 compilation warning after the cancel button removal.
3785 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3787 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3789 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3790 Makefile.am, that way we can choose not to compile some examples
3791 and tests of the deprecated widgets.
3793 * examples/Makefile.am: Divided the sources in deprecated and
3796 * src/Makefile.am: Added undef statement of the deprecated
3797 symbol to the enums file generation process.
3799 * src/hildon-color-chooser-dialog.c
3800 * src/hildon-color-chooser-dialog.h
3801 * src/hildon-color-button.c
3802 * src/hildon-color-button.h
3803 * src/hildon-color-chooser.c
3804 * src/hildon-color-chooser.h
3805 * src/hildon-controlbar.c
3806 * src/hildon-controlbar.h
3807 * src/hildon-date-editor.c
3808 * src/hildon-date-editor.h
3809 * src/hildon-hvolumebar.c
3810 * src/hildon-hvolumebar.h
3811 * src/hildon-private.c
3812 * src/hildon-private.h
3813 * src/hildon-range-editor.c
3814 * src/hildon-range-editor.h
3815 * src/hildon-seekbar.c
3816 * src/hildon-seekbar.h
3817 * src/hildon-time-editor.c
3818 * src/hildon-time-editor.h
3819 * src/hildon-time-picker.c
3820 * src/hildon-time-picker.h
3821 * src/hildon-volumebar.c
3822 * src/hildon-volumebar.h
3823 * src/hildon-vvolumebar.c
3824 * src/hildon-vvolumebar.h
3825 * src/hildon-bread-crumb-trail.h
3826 * src/hildon-bread-crumb-trail.c
3827 * src/hildon-calendar-popup.c
3828 * src/hildon-calendar-popup.h
3829 * src/hildon-weekday-picker.c:
3830 * src/hildon-weekday-picker.h:
3831 * src/hildon-bread-crumb-widget.c:
3832 * src/hildon-bread-crumb-widget.h:
3833 * src/hildon-bread-crumb.c:
3834 * src/hildon-bread-crumb.h:
3835 * src/hildon-calendar.c:
3836 * src/hildon-calendar.h:
3837 * src/hildon-caption.c:
3838 * src/hildon-code-dialog.c:
3839 * src/hildon-code-dialog.h:
3840 * src/hildon-font-selection-dialog.c:
3841 * src/hildon-font-selection-dialog.h:
3842 * src/hildon-get-password-dialog.c:
3843 * src/hildon-get-password-dialog.h:
3844 * src/hildon-login-dialog.c:
3845 * src/hildon-login-dialog.h:
3846 * src/hildon-number-editor.c:
3847 * src/hildon-number-editor.h:
3848 * src/hildon-set-password-dialog.c:
3849 * src/hildon-set-password-dialog.h:
3850 * src/hildon-sort-dialog.c:
3851 * src/hildon-sort-dialog.h: This is the list of deprecated
3854 * src/hildon-touch-selector.c:
3855 * src/hildon-window.c: Added undef statement to avoid compilation
3858 * tests/Makefile.am: Divided the sources in deprecated and
3861 * tests/check_test.c,
3862 (configure_tests): Marked the deprecated code that was adding
3863 suites with deprecated tests.
3865 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3867 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3869 * src/hildon-touch-selector.c: (_default_print_func): Do not
3870 duplicate a string returned by gtk_tree_model_get(), it is already
3873 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3876 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3878 * src/hildon-pannable-area.c
3879 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3880 method, it had problems when adding a widget with viewport the
3881 second time. Now checks if it already has a viewport and uses it.
3883 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3886 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3888 * src/hildon-pannable-area.c,
3889 (hildon_pannable_area_scroll_to),
3890 (hildon_pannable_area_jump_to),
3891 (hildon_pannable_area_scroll_to_child),
3892 (hildon_pannable_area_jump_to_child): Added a precondition to the
3893 scroll and jump to functions: the widget must be mapped before we
3894 can safely call these functions. We have also added documentation
3895 to the functions to explain how to use them in this situation.
3898 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3900 Reviewed the threading handling of the pannable widget, we have
3901 used the gdk_threads_add_timeout function instead of the usual
3902 glib handlers. This avoids some problems with the threads.
3904 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3905 (hildon_pannable_area_initial_effect),
3906 (hildon_pannable_area_scroll_indicator_fade),
3907 (hildon_pannable_area_button_press_cb),
3908 (hildon_pannable_area_timeout),
3909 (hildon_pannable_area_motion_notify_cb),
3910 (hildon_pannable_area_button_release_cb),
3911 (hildon_pannable_area_scroll_cb),
3912 (hildon_pannable_area_scroll_to): Removed the
3913 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3914 gdk_threads_add_timeout.
3916 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3918 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3923 * configure.ac: bump version
3924 * debian/changelog: updates
3926 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3928 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3929 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3930 * src/hildon-color-chooser-dialog.c:
3931 (hildon_color_chooser_dialog_init):
3932 * src/hildon-font-selection-dialog.c:
3933 (hildon_font_selection_dialog_init):
3934 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3936 Remove all cancel/close-like dialogs, as these are not going to be
3939 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3941 * src/hildon-note.c: (hildon_note_rebuild),
3942 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3945 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3947 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3949 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3950 sure all buttons are shown, even the Cancel/Close-like ones.
3952 Fixes: NB#90861 (Custom Confirmation dialogs should be
3953 protected from cancel button removal)
3955 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3957 * debian/control: Change libhildon1-examples dependency from libhildon1
3959 * debian/libhildon1-examples.install
3961 * Makefile.am: Modified the final install directory for the examples on
3962 package libhildon1-examples
3963 * Makefile.static: Update clean target in order to remove all the binary
3966 Changes suggested by Claudio after review new libhildon1-examples package
3968 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3970 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3971 * src/hildon-touch-selector.c: Ditto.
3973 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3975 * debian/control: Added new package libhildon1-examples, in order to pack
3976 the current hildon examples as documentation
3977 * debian/rules: Not to compress .c files, modify some includes on the
3978 examples (as normally are compiled locally, but when installed it will
3979 require to include the installed libhildon1 library), and rename
3981 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3982 install all the example files on the new example package
3983 * examples/Makefile.static: Added static makefile that can be used to
3984 compile the examples, once installed the new example package
3985 * examples: Most of the examples were modified in order to grant that
3986 all use only '#include "hildon.h"', in order to be easy to prepare
3987 it on the example package
3989 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3992 * debian/libhildon1-dev.install
3993 * debian/libhildon1-doc.install:
3994 Move all gtk-doc files to a separate libhildon1-doc package.
3996 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3998 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4000 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4002 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4004 * debian/rules: Fixed a error in order to avoid unnecessary calls
4005 to autogen.sh on package building
4007 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4009 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4011 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4013 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4016 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4018 * src/hildon-picker-button.c
4019 (hildon_picker_button_finalize):
4020 Free priv->done_button_text
4022 * src/hildon-time-button.c
4023 (hildon_time_button_set_time)
4024 * src/hildon-picker-button.c
4025 (hildon_picker_button_clicked)
4026 (hildon_picker_button_selector_selection_changed)
4027 (hildon_picker_button_set_selector)
4028 * src/hildon-date-button.c
4029 (hildon_date_button_set_date):
4030 Free strings returned by hildon_touch_selector_get_current_text()
4032 * src/hildon-button.c (hildon_button_construct_child):
4033 Fix leaks in priv->image and priv->label_box
4035 Fixes: NB#90535 (Memory leak in picker button)
4037 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4039 * src/hildon-button.c: (hildon_button_get_property): Do not access
4040 private elements directly, use getters instead.
4042 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4044 * src/hildon-app-menu-private.h
4045 * src/hildon-app-menu.c
4046 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4047 Store the menu's parent window.
4049 * src/hildon-stackable-window.c
4050 (hildon_stackable_window_toggle_menu)
4051 (hildon_stackable_window_finalize):
4052 Set the menu's parent window when the menu is shown, unset it when
4055 * src/hildon-app-menu.c
4056 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4057 (hildon_app_menu_class_init):
4058 Send unhandled keyboard accelerators to the parent window.
4060 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4062 * src/hildon-stackable-window.c
4063 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4065 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4067 * configure.ac: post release version bump
4069 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4072 * configure.ac: Bump version
4073 * debian/changelog: Updates
4074 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4077 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4079 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4082 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4083 GtkMenu with Hildon style.
4085 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4087 * src/hildon-picker-button.c:
4088 (hildon_picker_button_set_done_button_text): Set the dialog's
4089 done button text here as well.
4091 Fixes: NB#90232 (Picker button does not set the label on done button
4092 for the second time)
4094 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4096 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4099 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4101 * src/hildon-app-menu.c (hildon_app_menu_insert)
4102 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4103 the HildonAppMenu to be activatable using keyboard accelerators
4104 when the menu is not being shown.
4106 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4108 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4110 * src/hildon-stackable-window.c
4111 (hildon_stackable_window_show):
4112 Don't hide old windows automatically when new windows are shown:
4113 this is now a task for the window manager.
4114 (hildon_stackable_window_class_init)
4115 (hildon_stackable_window_hide):
4116 Remove windows from the stack everytime they're hidden.
4117 (hildon_stackable_window_realize):
4118 Don't change the _NET_WM_WINDOW_TYPE property. Use
4119 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4120 it as a stackable window.
4122 * src/hildon-program.c
4123 (hildon_program_pop_window_stack):
4124 Just hide the window to remove it from the stack.
4125 (hildon_program_go_to_root_window):
4126 Don't call gtk_widget_show(), this is now a task for the window
4129 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4131 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4133 * src/hildon-button.c
4134 (hildon_button_construct_child):
4135 Don't pack anything in the button until text or image are
4136 set. This allows adding a custom child after creating the button
4137 with hildon_button_new().
4138 (hildon_button_finalize, hildon_button_class_init)
4139 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4140 alignment and the label box even when they're not packed in the
4143 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4145 * src/hildon-touch-selector.h:
4146 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4147 currently the type definition was using GTK_TYPE_VBOX
4148 * src/hildon-touch-selector.c:
4149 Added some implementation notes in order to clarify that any other widget
4150 added without the column related API will not be included on the
4151 selection logic, and how the widget is freed, as some people ask about
4153 (hildon_touch_selector_remove): Reimplemented in order to free properly
4154 the column related data when you remove the private hbox.
4155 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4156 to get a proper HildonTouchSelectorColumn documentation
4158 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4160 * src/hildon-touch-selector-entry.c:
4161 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4162 text in the GtkEntry and there is no item selected. Fixes a
4165 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4167 * src/hildon-app-menu-private.h
4168 * src/hildon-app-menu.[ch]
4169 * src/hildon-button.[ch]
4170 * src/hildon-check-button.[ch]
4171 * src/hildon-entry.[ch]
4172 * src/hildon-pannable-area.[ch]
4173 * src/hildon-text-view.[ch]:
4174 Added private field to the object's structure.
4176 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4178 * configure.ac: post-release version bump
4180 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4184 * configure.ac: pre-release version bump
4186 * debian/changelog: updates.
4188 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4190 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4191 Disconnect the handler for HildonTouchSelector::changed.
4193 (hildon_picker_button_selector_selection_changed): Update the button
4194 value if the selection change was not triggered by the
4197 (hildon_picker_button_set_selector): connect to
4198 HildonTouchSelector::changed.
4200 Fixes: NB#89650 (Picker button is not updated, when selection in
4201 selector has changed)
4203 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4205 * src/hildon-picker-dialog.c
4206 (hildon_picker_dialog_realize): Removed as not required
4207 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4208 * src/hildon-picker-button.c
4209 (_current_selector_empty): New function, checks if the selector is empty
4210 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4211 if the current selector is empty, in order to avoid to show the dialog
4212 close the dialog in this case (and shows a g_warning).
4214 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4216 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4218 * src/hildon-pannable-area.c,
4219 (hildon_pannable_area_scroll): Added clause to stop movement when
4220 the child of pannable is smaller than one page.
4221 (hildon_pannable_area_scroll_to): Added conditions to avoid
4222 starting the scrolling movement if the child is smaller than one
4223 page, the complete child is in the screen, we do not have to move.
4225 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4227 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4229 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4230 this is managed automatically by the widget when the size of the
4233 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4235 * src/hildon-picker-button.c
4236 (hildon_picker_button_set_done_button_text): Make a copy of the
4237 text, and free the previous value.
4239 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4241 * src/hildon-touch-selector-entry.c:
4242 (hildon_touch_selector_entry_print_func): Return the selected row's
4243 text if the entry is empty.
4245 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4248 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4250 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4252 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4255 * src/hildon-check-button.h
4256 * src/hildon-check-button.c
4257 * examples/hildon-check-button-example.c:
4258 HildonCheckButton is now a new widget. 'toggled' signal added.
4260 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4262 * src/hildon-program-private.h
4263 * src/hildon-program.c (hildon_program_init)
4264 (hildon_program_finalize): Removed unused variables group_leader
4265 and name from HildonProgramPrivate.
4267 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4269 * src/hildon-check-button.c (hildon_check_button_set_active)
4270 (hildon_check_button_get_active, hildon_check_button_new): Use
4271 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4273 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4275 * src/hildon-touch-selector.h
4276 (hildon_touch_selector_set_column_attributes): added deprecation
4277 guard HILDON_DISABLE_DEPRECATED
4278 * src/hildon-time-selector.c
4279 (hildon_time_selector_set_time)
4280 (hildon_time_selector_get_time): Fixed a typo on documentation
4281 * src/hildon-touch-selector.c: update HildonTouchSelector and
4282 HildonTouchSelectorColumn documentation
4283 * src/hildon-touch-selector-entry.c: update "text-column" property
4285 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4286 to be added to the general documentation.
4288 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4290 * examples/hildon-pannable-area-example-4.c,
4292 * examples/hildon-pannable-area-example.c,
4293 (main): Modified the code in order to use the container add, with
4294 viewport treeviews could have problems if they are really big.
4296 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4298 * src/hildon-weekday-picker.c,
4299 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4300 the agreement regarding deprecation in the library.
4302 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4304 * examples/hildon-picker-button-multicolumn-example.c:
4305 (main): Use custom "done" button text.
4307 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4308 (hildon_picker_button_set_property),
4309 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4310 (hildon_picker_button_init),
4311 (+hildon_picker_button_get_done_button_text),
4312 (+hildon_picker_button_set_done_button_text): New methods to customize
4313 the "done" button label in the launched HildonPickerDialog. Also,
4316 * src/hildon-picker-button.h: add the public API.
4318 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4320 * src/hildon-date-selector.h:
4321 * src/hildon-picker-dialog.h:
4322 * src/hildon-time-selector.h:
4323 * src/hildon-touch-selector-column.h:
4324 * src/hildon-touch-selector.h:
4326 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4327 declarations. Fixes gtk-doc warnings.
4329 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4331 * src/hildon-picker-dialog.h
4332 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4333 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4335 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4336 long text is set as label for done button)
4338 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4340 * src/hildon-dialog.c (hildon_dialog_add_button):
4341 Set fixed width to all buttons in the HildonDialog.
4343 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4345 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4347 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4348 Set widget name using class name plus "-finger" or "-thumb".
4350 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4352 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4353 'clicked' when the state of the button is manually changed.
4355 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4357 * src/hildon-app-menu.c (hildon_app_menu_realize)
4358 (hildon_app_menu_unrealize, hildon_app_menu_init)
4359 (hildon_app_menu_class_init, item_visibility_changed):
4360 Change the menu layout when the size of the screen changes.
4361 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4362 Show warning only when changing the number of colums using the
4365 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4367 * debian/compat: Set to 5
4368 * debian/control: Update dependencies.
4369 * debian/libhildon1-dbg.install: Remove.
4370 * debian/libhildon1-dev.install: Update according to cdbs paths.
4371 * debian/libhildon1.install: Update according to cdbs paths.
4372 * debian/rules: Switch to cdbs.
4374 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4376 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4377 'item' variable renamed to 'filter'
4379 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4381 * src/hildon-app-menu.c (hildon_app_menu_insert)
4382 (hildon_app_menu_add_filter, remove_item_from_list)
4383 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4384 Don't leak hidden items when the menu is destroyed.
4386 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4388 * src/hildon-app-menu.c (hildon_app_menu_insert)
4389 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4390 (hildon_app_menu_set_columns, item_visibility_changed)
4391 (filter_visibility_changed, hildon_app_menu_repack_filters)
4392 (hildon_app_menu_repack_items):
4393 Repack items and filters separately.
4395 Don't repack all items, change only the ones that are needed to
4398 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4400 * src/Makefile.am: added hildon-touch-selector-column.h
4402 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4404 * src/hildon-touch-selector.c: added the property "text-column" to the
4405 class HildonTouchSelectorColumn, and related get/set functions
4406 (_default_printf_func): updated to use "text-column" property
4407 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4408 "text-column" in his documentation, as this is now included on
4409 HildonTouchSelectorColumn. The get/set_property can still be used,
4410 working as a wrapper to the concrete column "text-column" property
4411 (_text_column_modified): callback added in order to handle the signal
4412 "notify::text-column" of the concrete HildonTouchSelectorColumn
4413 (hildon_touch_selector_entry_get_text_column)
4414 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4415 modified in order to use the HildonTouchSelectorColumn "text-column"
4417 * src/hildon-time-selector.c:
4418 * src/hildon-date-selector.c:
4419 * examples/hildon-touch-selector-example.c
4420 * examples/hildon-touch-selector-multi-cells-example.c
4421 * examples/hildon-picker-button-multicolumn-example.c
4422 Set the right value to "text-column" property on the creation of a new
4423 column using hildon_touch_selector_append_column()
4425 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4427 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4429 * src/hildon-app-menu.c
4430 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4431 updating the layout of the menu, don't create all widgets again,
4432 just repack the items in their new places.
4434 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4436 * src/hildon-time-selector.c
4437 (hildon_time_selector_get_time)
4438 (hildon_time_selector_set_time)
4439 Added documentation of these public methods
4441 * src/hildon-date-button.h
4442 * src/hildon-touch-selector-column.h
4443 * src/hildon-time-button.h
4444 * src/hildon-picker-dialog.h
4445 * src/hildon-time-selector.h
4446 * src/hildon-picker-button.h
4447 * src/hildon-touch-selector.h
4448 * src/hildon-time-picker.h
4449 * src/hildon-date-selector.h
4450 * src/hildon-touch-selector-entry.h
4451 Modified in order to use hildon-widgets code style
4453 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4455 Added deprecated support to the compilation process using
4456 HILDON_DISABLE_DEPRECATED
4458 * configure.ac: Added the --disable-deprecated to the configure
4461 * src/hildon-weekday-picker.c:
4462 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4463 to use the deprecated support. We will update the other deprecated
4464 widgets status in a new patch.
4466 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4468 * configure.ac: Fixed typo with fatal warnings support, the
4469 variable name was not correct
4471 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4473 * src/hildon-app-menu.c
4474 * src/hildon-program.c: Update documentation.
4476 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4478 * configure.ac: Post-release version bump.
4480 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4485 * configure.ac: Pre-release version bump.
4486 * debian/changelog: Updates.
4488 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4490 * NEWS: Update news for previous releases.
4492 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4494 * examples/hildon-touch-selector-multi-cells-example.c:
4495 (create_selector): Update the example to use
4496 hildon_touch_selector_append_column() with a NULL renderer and set
4497 the renderers later.
4498 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4499 passed a NULL renderer. This is documented behavior now.
4501 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4502 This must be used if the developer wants full control on the layout of
4503 the renderers to be added to the column.
4505 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4507 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4509 * src/hildon-touch-selector.c: Documentation fixes.
4511 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4513 * src/hildon-wizard-dialog-private.h: Remove image and box.
4514 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4515 (hildon_wizard_dialog_set_property), (response): Completely remove
4516 image/icon support, and the containers required for the layout.
4518 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4520 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4522 * src/hildon-app-menu.c: Updated documentation.
4524 * src/hildon-stackable-window.c
4525 (hildon_stackable_window_set_main_menu): Unref the old menu after
4526 ref'ing the new one.
4528 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4530 * src/hildon-stackable-window.c
4531 (hildon_stackable_window_set_main_menu): Unref the previous menu
4532 instead of destroying it.
4534 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4535 floating reference and set has_user_ref_count to FALSE to make
4536 HildonAppMenu act like a normal ref-counted widget and not a
4539 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4542 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4544 * src/hildon-touch-selector-column.h: new file
4545 * src/hildon-touch-selector.h
4546 * src/hildon-touch-selector.c
4547 Implemented GtkCellLayout interface, in order to allow to configure
4548 the cell layout on each individual selector column
4549 (hildon_touch_selector_set_column_attributes): marked as deprecated
4550 * examples/hildon-touch-selector-multi-cells-example.c
4551 Example of how to use the GtkCellLayout interface on the selector
4553 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4555 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4557 * src/hildon-app-menu.h
4558 * src/hildon-app-menu.c
4559 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4560 (hildon_app_menu_append, hildon_app_menu_prepend):
4561 New methods to prepend, insert and move items in the menu.
4563 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4565 * src/hildon-wizard-dialog.c:
4567 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4569 (create_title): Update logical IDs and related code.
4570 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4572 * src/hildon-wizard-dialog.h: Note that
4573 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4574 point, as it is not used anymore.
4576 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4578 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4580 * src/hildon-note.c:
4581 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4582 shown. Do not display an icon in confirmation notes nor information
4584 (hildon_note_set_button_text): Update logical ID for cancel button.
4586 Fixes: NB#88850 (Update HildonNote button strings + signals)
4588 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4590 * src/hildon-stackable-window.c
4591 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4593 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4595 * src/hildon-app-menu-private.h
4596 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4597 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4598 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4599 temporary property 'columns' to change the number of columns.
4601 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4603 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4605 * examples/hildon-note-example.c: (on_information_clicked),
4606 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4607 debugging information.
4608 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4610 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4611 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4612 in order to close: this will be handled by the WM from now on.
4614 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4616 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4618 * src/hildon-app-menu-private.h
4619 * src/hildon-app-menu.c
4620 (hildon_app_menu_append, hildon_app_menu_add_filter)
4621 (button_visibility_changed, hildon_app_menu_apply_style)
4622 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4623 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4624 layout everytime a button (item or filter) is shown or hidden.
4626 * src/hildon-stackable-window.c
4627 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4630 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4632 * src/hildon-touch-selector.c:
4633 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4634 that the treeview inside the touch selector is in fremantle hildon mode
4635 * examples/hildon-date-button-example.c
4636 * examples/hildon-picker-button-multicolumn-example.c
4637 * examples/hildon-touch-selector-entry-example.c
4638 * examples/hildon-touch-selector-example.c
4639 * examples/hildon-time-button-example.c
4640 * examples/hildon-picker-button-example.c:
4641 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4643 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4645 * examples/hildon-text-view-example.c: (main): Remove the
4646 gtkrc bits, now handled by the theme.
4648 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4650 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4653 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4655 * po/Makefile.am: Install properly the mo files.
4656 * po/en_GB.po: Update translation, to ease testing purposes.
4658 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4660 * examples/hildon-picker-button-example.c: (main): Select an item
4661 in the selector before setting it to the button.
4663 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4665 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4666 Update button's value if the selector has an item active.
4668 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4669 'value' with the selector)
4671 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4673 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4674 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4675 (hildon_picker_button_class_init): Plug the finalize method.
4676 (hildon_picker_button_set_selector): If there's a previously set
4677 selector, unref'it before setting a new one.
4679 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4680 HildonTouchSelector)
4682 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4684 * src/hildon-touch-selector-entry.c:
4685 (hildon_touch_selector_entry_changed): Check if there is no text
4686 selected before setting the entry text.
4689 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4691 * src/hildon-touch-selector.h
4692 * src/hildon-touch-selector.c
4693 (hildon_touch_selector_get_active)
4694 (hildon_touch_selector_set_active): New methods to set/get the
4695 index of the selected item.
4697 * src/hildon-picker-button.h
4698 * src/hildon-picker-button.c
4699 (hildon_picker_button_get_active)
4700 (hildon_picker_button_set_active): New methods to set/get the
4701 index of the selected item.
4703 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4705 * configure.ac: post-release version bump.
4707 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4711 * configure.ac: Pre-release version bump.
4712 * debian/changelog: Updates.
4713 * debian/control: Add myself as maintainer and depend on l10n
4716 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4718 * src/hildon-window.c
4719 (hildon_window_set_main_menu)
4720 * src/hildon-stackable-window.c
4721 (hildon_stackable_window_set_main_menu):
4722 Updated documentation.
4724 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4726 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4727 Don't free selector->priv manually.
4730 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4733 (hildon_gtk_window_set_progress_indicator):
4734 * src/hildon-gtk.h: Added the new API
4735 hildon_gtk_window_set_progress_indicator, it changes the state of
4736 the window progress hint.
4738 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4740 * src/hildon-button.c
4741 * src/hildon-stackable-window.c: Minor documentation updates.
4743 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4745 * src/hildon-stackable-window.c: Updated documentation.
4747 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4749 * src/hildon-defines.h: Update margins definitions
4750 to the Fremantle sizes.
4753 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4755 * src/hildon-touch-selector.c,
4756 (_hildon_touch_selector_set_model): Cleaning the code after
4757 review, removed g_print and #if 0 from the code.
4759 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4761 * src/hildon-edit-toolbar.c: Update documentation.
4763 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4765 * src/hildon-check-button.h
4766 * src/hildon-check-button.c
4767 (hildon_check_button_set_label, hildon_check_button_get_label)
4768 * examples/hildon-check-button-example.c
4769 (button_clicked_cb):
4770 Removed deprecated methods.
4772 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4774 * src/hildon-text-view.c:
4775 Add sample code to the documentation.
4777 * src/hildon-entry.h
4778 * src/hildon-text-view.h:
4779 Minor cosmetic changes.
4781 * src/hildon-entry.c:
4782 Add sample code to the documentation.
4783 (hildon_entry_init, hildon_entry_refresh_contents):
4784 Don't allow NULL values in the placeholder.
4786 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4788 * doc/hildon-docs.sgml
4790 * examples/Makefile.am
4791 * examples/hildon-text-view-example.c
4793 * src/hildon-text-view.c
4794 * src/hildon-text-view.h
4796 New HildonTextView widget, with example.
4798 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4800 * po/POTFILES.in: Add missing files with translatable strings.
4801 Partially fixes NB#88287.
4803 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4805 * examples/hildon-pannable-area-example-2.c: (main): No need to
4806 set the cellrenderer height inside hildon touch lists, the theme does
4809 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4811 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4812 they are integrated in the theme.
4814 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4816 * examples/hildon-entry-example.c: Update the example adding
4817 widgets to modify the text and the placeholder of the HildonEntry.
4819 * src/hildon-entry.c: Show the placeholder everytime the widget
4820 is empty and loses the focus.
4822 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4824 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4826 * src/hildon-pannable-area.c,
4827 (hildon_pannable_area_size_request): Fixed bug in height
4828 requisition, avoid increasing size and add border twice.
4830 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4832 * configure.ac: postrelease version bump.
4834 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4838 * configure.ac: Prerelease version bump.
4839 * debian/changelog: update.
4840 * debian/rules: make -dbg package contain useful debugging symbols.
4842 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4844 * src/hildon-dialog.h
4845 * src/hildon-dialog.c
4846 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4847 New methods to add buttons with finger size.
4848 (hildon_dialog_new_with_buttons):
4849 Create buttons with finger size.
4851 * examples/hildon-dialog-example.c (main): Use HildonDialog
4852 methods to add buttons.
4854 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4856 * src/hildon-entry.c: Updated HildonButton documentation.
4858 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4860 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4861 button value label with (FALSE, FALSE) to prevent NB#88126 from
4864 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4866 * examples/hildon-pannable-area-example.c,
4867 (main): Removed examples panning a vbox inside a pannable
4868 area. Check bug NB#87965
4870 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4872 Patch contributed by Kris Rietveld (kris@imendio.com)
4874 * src/hildon-pannable-area.c,
4875 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4876 get_size and get_position, this saves an X server roundtrip.
4878 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4880 * doc/hildon-docs.sgml
4882 * examples/Makefile.am
4883 * examples/hildon-entry-example.c
4885 * src/hildon-entry.c
4886 * src/hildon-entry.h
4888 New HildonEntry widget, with example.
4890 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4892 * src/hildon-button.c (hildon_button_construct_child): Pack the
4893 image with expand == fill == FALSE. This is a workaround for a bug
4896 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4898 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4899 labels for the text column, to make it more look more dynamic.
4901 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4903 * src/hildon-time-selector.c
4904 Define gettext auxiliar macro N_
4905 (_create_minutes_model)
4906 (_create_hours_model)
4907 (_create_ampm_model): use of strftime in order to fill the model
4908 * src/hildon-date-selector.c
4909 (hildon_date_selector_finalize):
4910 (_locales_init): remove the logic related to get the name of the months
4911 using nl_langinfo, as it is not required anymore
4913 (_create_year_model)
4914 (_create_month_model)
4915 (_update_day_model): use of strftime in order to fill the model properly
4918 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4920 * src/hildon-button.h
4921 * src/hildon-button.c (hildon_button_get_image): New method to
4924 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4926 * src/hildon-touch-selector.c:
4927 (hildon_touch_selector_remove_column): Remove from the correct parent
4928 and also remove the list element and free it.
4931 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4933 * src/hildon-time-selector.c
4934 (_create_hours_model): change the range on 12h ampm format in order to use
4935 a 12-11 range instead of previous 01-12 range
4936 (hildon_time_selector_set_time): change the way to select the current time
4937 on 12h ampm format, due the change on the range
4938 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4941 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4943 * src/hildon-touch-selector.c
4944 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4945 in order to allow use this function on multiple row selection mode if
4946 the column is different that the first one
4949 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4951 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4952 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4954 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4956 * src/hildon-date-selector.h: clean some comments, now on the .c
4957 * src/hildon-date-selector.c
4958 (hildon_date_selector_select_month): first implementation
4959 (hildon_date_selector_select_day): added documentation, reimplemented
4960 using hildon_date_selector_select_current_date to avoid repeat code
4963 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4965 Reviewed interaction logic based on device experiences, refactored
4968 * src/hildon-pannable-area.c,
4969 (hildon_pannable_area_class_init): Updated default vmax speed.
4970 (hildon_pannable_area_calculate_velocity): Added this function, it
4971 avoids duplicate valocity calculation. Adjusted calculation to
4972 avoid problems with zero dist events.
4974 (hildon_pannable_area_motion_notify_cb): Now we use the
4975 calculate_velocity function.
4977 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4979 * src/hildon-date-selector.c
4980 (hildon_date_selector_select_current_date): fix the day range check
4981 as it failed using the last day of the current month
4984 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4986 * src/hildon-touch-selector.c
4987 (hildon_touch_selector_get_num_columns): added a parameter validation
4990 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4992 * examples/Makefile.am
4993 * examples/hildon-edit-toolbar-example.c: Example of the
4994 HildonEditToolbar widget.
4996 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4998 * configure.ac: postrelease version bump.
5000 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5004 * configure.ac: prerelease version bump.
5005 * debian/changelog: update.
5007 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5009 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5010 renderer to display stock icons in the touch list. Also, set the sizes
5011 to the recommended in the style guide.
5013 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5014 * src/hildon-touch-selector.h
5015 (hildon_touch_selector_set_active_iter): renamed, now is
5016 hildon_touch_selector_select_iter
5017 (hildon_touch_selector_get_active_iter): renamed, now is
5018 hildon_touch_selector_get_selected
5019 (hildon_touch_selector_unselect_iter): added
5020 * src/hildon-touch-selector.c
5021 Update after API modification (methods renamed)
5022 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5023 order to avoid problems selecting multiple elements on the column
5024 (hildon_touch_selector_unselect_iter): added the implementation
5025 * src/hildon-time-selector.c
5026 * src/hildon-date-selector.c
5027 * src/hildon-touch-selector-entry.c
5028 Update methods calls after hildon-touch-selector.h API modification (methods
5031 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5033 * src/hildon-stackable-window.c
5034 (hildon_stackable_window_finalize): Call the parent class's finalize.
5036 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5038 * examples/hildon-touch-selector-example.c: (create_selector): Use
5039 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5042 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5044 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5045 set a cell background color, to respect theming.
5047 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5049 * doc/hildon-docs.sgml
5052 * src/hildon-edit-toolbar.c
5053 * src/hildon-edit-toolbar.h
5054 * src/hildon.h: New HildonEditToolbar widget.
5056 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5058 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5061 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5062 * src/hildon-touch-selector.c
5063 (_create_new_column): use g_object_set instead of two g_object_set_property
5065 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5066 * src/hildon-touch-selector.c
5067 (_create_new_column): use of hildon_gtk_tree_view_new to create
5068 the treeview, instead of use directly g_object_new
5069 (_create_new_column): update the property name "vindicator-mode" for the
5070 new one "vscrollbar-policy"
5071 * examples/hildon-date-button-example.c
5072 * examples/hildon-picker-button-multicolumn-example.c
5073 * examples/hildon-touch-selector-entry-example.c
5074 * examples/hildon-touch-selector-example.c
5075 * examples/hildon-time-button-example.c
5076 * examples/hildon-picker-button-example.c
5077 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5078 to all the treeviews inside a pannable area.
5080 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5082 * src/hildon-button.h
5083 * src/hildon-button.c (hildon_button_init)
5084 (hildon_button_set_arrangement, hildon_button_set_alignment)
5085 (hildon_button_set_title_alignment)
5086 (hildon_button_set_value_alignment)
5087 (hildon_button_set_image_alignment)
5088 (hildon_button_construct_child): New methods to set the alignment
5089 of the individual components of the button (title, value,
5090 image). Also, new method to alter the xscale and yscale properties
5091 of the GtkAlignment inside the button, so more complex layouts can
5094 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5096 * src/hildon-button.c (hildon_button_style_set)
5097 (hildon_button_class_init, hildon_button_set_arrangement)
5098 (hildon_button_construct_child): Apply style properties
5099 correctly. Use the 'image-spacing' style property too.
5101 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5103 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5104 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5107 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5109 * src/hildon-pannable-area.c,
5110 (hildon_pannable_area_size_request): Fixed problem with
5111 pannable-area size_request.
5113 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5115 Added management for the grab-focus to a child widget, like a
5116 range, we need to fade out the scrollbar when releasing.
5118 * src/hildon-pannable-area.c,
5119 (hildon_pannable_area_init): Connected the grab-focus signal to
5121 (hildon_pannable_area_grab_notify): Added this function in order
5122 to manage the situation when the grab-focus ends. We have to
5123 fade-out the scrollbar.
5125 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5127 * src/hildon-app-menu.c: Minor documentation update.
5129 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5131 * src/hildon-app-menu.c
5132 * examples/hildon-app-menu-example.c (create_menu): Update
5133 examples and documentation to explain how to connect callbacks.
5135 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5137 * examples/hildon-button-example.c
5138 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5139 hildon_stackable_window_new instead of gtk_window_new
5141 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5143 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5144 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5145 (hildon_pannable_area_set_property),
5146 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5147 (hildon_pannable_area_unrealize),
5148 (hildon_pannable_area_size_request),
5149 (hildon_pannable_area_size_allocate),
5150 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5151 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5152 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5153 (hildon_pannable_area_initial_effect),
5154 (hildon_pannable_area_redraw),
5155 (hildon_pannable_area_scroll_indicator_fade),
5156 (hildon_pannable_area_expose_event),
5157 (hildon_pannable_area_get_topmost), (synth_crossing),
5158 (hildon_pannable_area_button_press_cb),
5159 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5160 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5161 (hildon_pannable_area_motion_notify_cb),
5162 (hildon_pannable_area_button_release_cb),
5163 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5164 (hildon_pannable_area_remove),
5165 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5166 chage the code layout to a more GtkWidget like. Review the use of
5169 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5171 * examples/hildon-pannable-area-example-4.c,
5172 (main): Modified the name of the hindicator_mode to
5175 * src/hildon-pannable-area.c,
5176 (hildon_pannable_area_class_init),
5177 (hildon_pannable_area_motion_notify_cb),
5178 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5179 we have reduced the amount of signals and managed reviewed its
5180 rationale. Changed the default decelerate value.
5182 (hildon_pannable_area_add),
5183 (hildon_pannable_area_redraw): Refactored functions.
5185 (hildon_pannable_area_init),
5186 (hildon_pannable_area_get_property),
5187 (hildon_pannable_area_set_property):
5188 (hildon_pannable_draw_vscroll),
5189 (hildon_pannable_draw_hscroll),
5190 (hildon_pannable_area_initial_effect),
5191 (hildon_pannable_area_expose_event),
5192 (hildon_pannable_area_scroll),
5193 (hildon_pannable_area_button_press_cb),
5194 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5195 and vindicator_mode with hscrollbar_policy and
5196 vscrollbar_policy. Replaced hscroll and vscroll with
5197 hscroll_visible and vscroll_visible.
5199 (hildon_pannable_area_refresh): Refactor the function, remove
5200 variables and check the calls to this function, added resize
5201 conditions in case the children change their layout.
5203 (hildon_pannable_area_size_request): Added more detailed
5204 size_request calculation.
5207 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5209 * src/hildon-color-chooser.c
5210 (init_borders): use the correct gtk_border_free instead of g_free, to
5211 avoid a crash when this widget is used (ie: the three color selection
5214 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5216 * src/hildon-check-button.c,
5217 (hildon_check_button_set_active): Fixed problem when setting the
5218 active value, the widget was not redrawn.
5220 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5222 * src/hildon-pannable-area.c,
5223 (hildon_pannable_area_refresh),
5224 (hildon_pannable_area_scroll),
5225 (hildon_pannable_area_motion_notify_cb): Small code style change.
5227 (hildon_pannable_area_class_init): Default initial_hint set to
5228 FALSE, it is not in the specs.
5230 (hildon_pannable_area_initial_effect),
5231 (hildon_pannable_area_expose_event),
5232 (hildon_pannable_area_map),
5233 (hildon_pannable_area_init): Moved the launching point of the
5234 initial effect, it was in map but the sizes where not correct in
5235 that method so we do not know if we have the reproduce it. Now it
5236 is placed in the expose_event method and uses a variable to
5237 reproduce it just once.
5239 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5241 * src/hildon-pannable-area.c,
5242 (hildon_pannable_draw_vscroll),
5243 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5244 position allowed for the scrollbars.
5246 (hildon_pannable_area_size_allocate): Small style change.
5248 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5250 * src/hildon-pannable-area.c,
5251 (hildon_pannable_area_scroll_indicator_fade),
5252 (hildon_pannable_area_button_press_cb),
5253 (hildon_pannable_area_button_release_cb),
5254 (hildon_pannable_area_scroll_cb),
5255 (hildon_pannable_area_expose_event),
5256 (hildon_pannable_area_init): Added the define parameter
5257 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5258 and refactor the fade variable.
5260 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5262 * src/hildon-pannable-area.c,
5263 (hildon_pannable_area_redraw),
5264 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5265 lines, we were reimplemeting the redraw code.
5267 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5269 * src/hildon-pannable-area.c,
5270 (hildon_pannable_area_scroll_cb),
5271 (hildon_pannable_area_realize),
5272 (hildon_pannable_area_class_init): Added scroll_event management
5273 for pannable area, now we can scroll the usual desktop method.
5275 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5276 initialization of the parameters should depend on idle_id.
5278 (hildon_pannable_area_init),
5279 (hildon_pannable_area_map): Small code style modifications
5281 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5283 * src/hildon-pannable-area.c
5284 (hildon_pannable_area_button_press_cb),
5285 (hildon_pannable_area_motion_notify_cb),
5286 (hildon_pannable_area_button_release_cb),
5287 (hildon_pannable_area_size_allocate),
5288 (hildon_pannable_area_scroll_to): Improved the timeouts
5289 management, we avoid creating them each time.
5291 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5293 * src/hildon-pannable-area.c:
5294 (hildon_pannable_area_refresh),
5295 (hildon_pannable_area_motion_notify_cb),
5296 (hildon_pannable_area_class_init):
5297 * src/hildon-pannable-area.h:
5298 * src/hildon-touch-selector.c
5299 (_create_new_column):
5300 * examples/hildon-pannable-area-example-4.c:
5301 (horizontal_movement),
5302 (vertical_movement),
5304 Replaced the names of enums in the HildonPannableArea:
5305 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5306 HILDON_MOVEMENT_MODE_*
5307 - HILDON_PANNABLE_AREA_MOV_* ->
5309 - Removed HildonPannableAreaIndicatorMode, now we
5312 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5314 * examples/hildon-pannable-area-touch-grid-example.c
5315 * examples/hildon-pannable-area-touch-list-example.c: Fix
5316 compilation warnings.
5318 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5320 * src/hildon-gtk.c (hildon_gtk_button_new)
5321 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5322 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5323 images overriding the value of the "gtk-button-images" setting.
5325 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5327 * src/hildon-check-button.c (hildon_check_button_new):
5328 Instead of using a custom container, display the label and the
5329 checkbox using the standard GtkButton API.
5331 * examples/hildon-check-button-example.c (main): Don't use
5332 hildon_check_button_set_label() anymore
5334 * src/hildon-check-button.h
5335 * src/hildon-check-button.c
5336 (hildon_check_button_set_label, hildon_check_button_get_label):
5337 Set as deprecated, now we're using gtk_button_{get,set}_label()
5339 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5341 * src/hildon-pannable-area.c,
5342 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5343 GtkTreeview first line we detected it after the inclusion of the
5344 GtkWindowImpl in gtk+. We now check if the window is visible, not
5345 just if the pointer is over the window.
5346 (hildon_pannable_axis_scroll),
5347 (hildon_pannable_area_expose_event): Small style changes.
5349 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5351 * src/hildon-button.c: Update documentation.
5353 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5355 * examples/hildon-button-example.c: Add a switch to show images in
5358 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5360 * doc/hildon-docs.sgml: Some docs reorganization.
5362 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5364 * examples/hildon-pannable-area-touch-list-example.c
5366 * examples/hildon-pannable-area-touch-grid-example.c
5367 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5368 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5369 Fix memory leak when setting the tree model.
5371 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5375 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5377 * doc/hildon.types: Remove duplicated hildon_window_get_type
5378 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5379 documentation comment.
5381 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5383 * doc/Makefile.am: Complete list of private headers.
5385 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5387 * doc/hildon-docs.sgml
5388 * src/hildon-app-menu.c
5389 * src/hildon-bread-crumb.c
5390 * src/hildon-button.c
5392 * src/hildon-program.c
5393 * src/hildon-stackable-window.c
5394 * src/hildon-window.c: Lots of documentation updates.
5396 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5398 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5400 * configure.ac: Require Gtk+ 2.12.9 at least
5402 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5404 * src/hildon-pannable-area.c
5405 (hildon_pannable_area_scroll_indicator_fade),
5406 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5407 to protect the return of this timeout callbacks, avoiding deadlocks.
5409 2008-08-12 Christian Dywan <christian@imendio.com>
5412 * src/hildon-*.h: Ensure a consistent include order,
5413 include <gtk/gtk.h> instead of particular files and
5414 only include the topmost header in the gtk stack. See NB #39857
5416 2008-08-12 Christian Dywan <christian@imendio.com>
5418 * src/hildon-picker-dialog.c
5419 * src/hildon-touch-selector.c: Fix warnings about unused and
5420 uninitialized variables.
5422 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5424 * examples/Makefile.am
5425 * examples/hildon-check-button-example.c: Example of the hildon
5428 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5430 * src/hildon-window.h
5431 * src/hildon-window.c (hildon_window_class_init)
5432 (hildon_window_unset_program): Don't make
5433 hildon_window_unset_program a virtual function anymore.
5435 * src/hildon-stackable-window.c: Update documentation
5437 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5440 * doc/hildon-docs.sgml
5441 * doc/visual_index.xml
5442 * src/hildon-defines.c
5444 * src/hildon-helper.c
5445 * src/hildon-range-editor.c: Lots of documentation fixes.
5447 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5449 * examples/hildon-picker-button-multicolumn-example.c
5450 (create_touch_selector): Fix compilation warning.
5452 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5454 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5455 (hildon_pannable_area_button_release_cb)
5456 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5458 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5460 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5463 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5465 * src/hildon-bread-crumb-trail.h
5466 * src/hildon-date-editor.c
5467 * src/hildon-date-selector.c
5468 * src/hildon-pannable-area.c
5469 * src/hildon-picker-dialog.c
5470 * src/hildon-time-selector.c
5471 * src/hildon-touch-selector-entry.c
5472 * src/hildon-touch-selector.c
5473 * src/hildon-touch-selector.h: Misc documentation fixes
5475 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5477 * examples/hildon-date-editor-example.c (main): Updated date
5480 * examples/hildon-note-example.c (on_confirmation_clicked):
5481 Updated confirmation note example.
5483 * src/hildon-date-editor.c
5484 * src/hildon-note.c: Updated sample programs in documentation.
5487 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5489 * src/hildon-date-button.h:
5490 * src/hildon-picker-button.h:
5491 * src/hildon-time-button.c:
5492 * src/hildon-time-button.h:
5494 Some declarations changes to allow gtk-doc to document the widgets
5497 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5499 * src/hildon-date-button.c: Document the widget.
5500 * src/hildon-time-button.c: Document the widget.
5502 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5504 * src/hildon-picker-button.c: Document the widget.
5505 * src/hildon-touch-selector-entry.c: Document the widget.
5507 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5509 * doc/hildon-docs.sgml
5512 * src/hildon-check-button.h
5513 * src/hildon-check-button.c: New functions to create the Hildon
5517 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5519 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5521 * src/hildon-button.h
5522 * src/hildon-button.c
5523 (hildon_button_add_title_size_group)
5524 (hildon_button_add_value_size_group)
5525 (hildon_button_add_image_size_group)
5526 (hildon_button_add_size_groups): New functions to set size groups
5527 for the button labels and image.
5528 (hildon_button_new_full): Removed
5530 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5532 * src/hildon-time-selector.c
5533 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5534 in order to avoid a crash if gconf is not available
5536 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5538 * src/hildon-button.c (hildon_button_set_arrangement)
5539 (hildon_button_construct_child): Don't construct the button child
5540 before setting the arrangement.
5542 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5544 * src/hildon-program-private.h
5545 * src/hildon-program.c
5546 * src/hildon-program.h
5547 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5548 (hildon_program_peek_window_stack)
5549 (hildon_program_pop_window_stack)
5550 (hildon_program_go_to_root_window): HildonProgram now has a
5551 separate list for stackable windows. Functions are provided to
5552 manage that list with a stack-like API.
5554 * src/hildon-stackable-window.c: Stackable window management is
5555 now much simpler with the new HildonProgram API. Windows no
5556 longer need to be manually added to the program, they're
5557 automatically pushed to the top of the stack when shown.
5559 * examples/hildon-stackable-window-example.c: Updated example to
5560 reflect the API changes.
5562 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5564 * src/hildon-touch-selector.c: Comment out unimplemented
5565 hildon_touch_selector_insert_column() to avoid a compile warning.
5567 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5569 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5570 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5571 (hildon_touch_selector_set_column_selection_mode),
5572 (_hildon_touch_selector_set_model),
5573 (hildon_touch_selector_set_model):
5575 Complete review of HildonTouchSelector documentation.
5577 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5579 * doc/hildon-docs.sgml
5583 * src/hildon-gtk.c: Convenience functions for standard Gtk
5584 widgets, used to easily perform frequent operations.
5586 * src/hildon-button-helpers.h
5587 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5589 * src/hildon-helper.h
5590 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5591 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5593 * src/hildon-button.h
5594 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5596 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5598 * src/hildon-button.c (hildon_button_init)
5599 (hildon_button_set_arrangement, hildon_button_construct_child):
5600 Pack the image and the labels inside the same GtkAlignment so
5601 gtk_button_set_alignment() can be used
5603 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5605 * src/hildon-button.h
5606 * src/hildon-button.c
5607 (hildon_button_init, hildon_button_set_image)
5608 (hildon_button_set_image_position)
5609 (hildon_button_construct_child): New functions to add an image to
5612 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5614 * src/hildon-date-button.c
5615 * src/hildon-picker-button.c
5616 * src/hildon-time-button.c
5617 * src/hildon-button.c:
5618 (hildon_button_class_init): "size-flags" renamed to "size"
5619 (hildon_button_set_title): Hide the title label if set to NULL.
5621 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5623 HildonButtonFlags split into HildonButtonArrangement (to set the
5624 button layout) and HildonSizeType (which can be used for any
5627 * src/hildon-button.h
5628 * src/hildon-button.c
5629 (hildon_button_class_init)
5630 (hildon_button_set_arrangement)
5631 (hildon_button_set_property): New "size-flags"
5632 property. "arrangement-flags" renamed to "arrangement".
5633 (hildon_button_new, hildon_button_new_with_text)
5634 (hildon_button_new_full): Constructors updated to reflect type changes.
5636 * src/hildon-helper.h
5637 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5638 to set the size of a widget.
5642 * src/hildon-button-helpers.c
5643 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5645 * src/hildon-date-button.c
5646 * src/hildon-date-button.h
5647 * src/hildon-picker-button.c
5648 * src/hildon-picker-button.h
5649 * src/hildon-time-button.c
5650 * src/hildon-time-button.h: Updated widgets to reflect
5651 HildonButton API changes.
5653 * examples/hildon-button-example.c
5654 * examples/hildon-date-button-example.c
5655 * examples/hildon-picker-button-example.c
5656 * examples/hildon-picker-button-multicolumn-example.c
5657 * examples/hildon-time-button-example.c
5658 * examples/hildon-touch-selector-entry-example.c
5659 * examples/hildon-touch-selector-example.c: Updated examples to
5660 reflect HildonButton API changes.
5662 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5664 * doc/hildon-docs.sgml:
5666 * examples/Makefile.am:
5667 * examples/hildon-touch-selector-entry-example.c:
5669 * src/hildon-touch-selector-entry.c:
5670 * src/hildon-touch-selector-entry.h:
5673 Moved HildonTouchSelectorEntry from sandbox. Added its
5674 documentation and examples.
5676 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5678 * src/hildon-touch-selector.h:
5679 * examples/hildon-picker-button-multicolumn-example.c:
5680 (hildon_touch_selector_append_text_column): Add a gboolean
5681 parameter to determine if text must be centered in the column.
5683 * src/hildon-date-selector.c: (hildon_date_selector_init):
5684 * src/hildon-time-selector.c: (hildon_time_selector_init):
5685 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5686 (create_touch_selector): Update widgets and example to reflect
5689 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5691 * src/hildon-touch-selector.c:
5692 (hildon_touch_selector_set_active_iter): Set also the cursor in
5695 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5697 * doc/hildon-docs.sgml
5700 * src/hildon-toggle-button.c
5701 * src/hildon-toggle-button.h
5702 * src/hildon.h: Removed HildonToggleButton widget, a derived
5703 class is not necessary for this.
5705 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5707 * src/hildon-pannable-area.c,
5708 (hildon_pannable_area_realize),
5709 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5712 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5714 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5715 "done" button the default widget for the dialog.
5717 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5719 * src/hildon-touch-selector.c:
5720 (hildon_touch_selector_class_init),
5721 (hildon_touch_selector_get_property),
5722 (_hildon_touch_selector_set_model),
5723 (_hildon_touch_selector_has_multiple_selection),
5724 (hildon_touch_selector_has_multiple_selection):
5725 Add a "has-multiple-selection" property with a virtual
5726 has_multiple_selection() method to allow derived classes to
5727 override the default value for it. See the method and property
5728 documentation for details.
5730 * src/hildon-touch-selector.h: Add the new API.
5732 * src/hildon-picker-dialog.c: (requires_done_button): Call
5733 hildon_touch_selector_has_multiple_selection() instead of
5734 determining the need for a button itself.
5736 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5738 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5739 (_hildon_touch_selector_set_model),
5740 (hildon_touch_selector_set_model): Move working code to
5741 _hildon_touch_selector_set_mode(). Call the class method instead.
5743 * src/hildon-touch-selector.h: Add (*set_model) to
5744 HildonTouchSelectorClass.
5746 Make hildon_touch_selector_set_model() a virtual method, so that
5747 derived classes can extend it and do fancy stuff with the model.
5749 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5751 * configure.ac: Set back the tarname in AC_INIT to hildon.
5753 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5757 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5758 instead of libesd (NB#86876). Volume handling is still an open issue.
5760 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5763 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5765 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5766 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5767 derived class to ease placement of an entry widget in
5768 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5769 end, where the selector columns are packed now.
5771 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5773 * src/hildon-picker-button.c: Removed the simple _text() API.
5774 * src/hildon-picker-button.h: Likewise.
5776 * src/hildon-touch-selector.h:
5777 * src/hildon-touch-selector.c:
5778 (hildon_touch_selector_new_text),
5779 (hildon_touch_selector_append_text),
5780 (hildon_touch_selector_prepend_text),
5781 (hildon_touch_selector_insert_text):
5783 Moved the simple _text() API from HildonPickerButton to
5784 HildonTouchPicker, to provide better escalability and not to tie
5785 that API to HildonPickerButton.
5787 * examples/hildon-picker-button-example.c: (main): Example updated.
5789 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5791 * src/hildon-button.c: Updated documentation.
5793 * examples/hildon-button-example.c: Add the posibility to create
5794 the buttons using horizontal layout for title and value.
5796 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5798 * src/hildon-app-menu-private.h
5799 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5800 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5801 GtkSizeGroup for the filters, use the 'homogeneous' property of
5804 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5806 * examples/hildon-button-example.c: Updated example.
5808 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5810 * doc/hildon-docs.sgml:
5813 Update documentation.
5815 * examples/Makefile.am: Update renamed examples.
5817 * examples/hildon-picker-button-multicolumn-example.c:
5818 (create_touch_selector), (main): Update after the rename.
5820 * examples/hildon-touch-picker-example.c: Removed.
5821 * examples/hildon-touch-selector-example.c: (value_changed),
5822 (create_selector), (get_visible_content), (main): Renamed from
5823 hildon-touch-picker-example.c
5825 * src/Makefile.am: Updated renamed files.
5827 * src/hildon-date-button.c: (hildon_date_button_init),
5828 (hildon_date_button_get_date), (hildon_date_button_set_date):
5829 * src/hildon-date-selector.c: (hildon_date_selector_init),
5830 (_custom_print_func), (_update_day_model),
5831 (_manage_selector_change_cb),
5832 (hildon_date_selector_select_current_date),
5833 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5834 * src/hildon-date-selector.h:
5835 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5836 (hildon_picker_button_set_property),
5837 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5838 (hildon_picker_button_init), (hildon_picker_button_new_text),
5839 (hildon_picker_button_append_text),
5840 (hildon_picker_button_prepend_text),
5841 (hildon_picker_button_insert_text),
5842 (hildon_picker_button_set_selector),
5843 (hildon_picker_button_get_selector):
5844 * src/hildon-picker-button.h:
5845 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5846 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5847 (_update_title_on_selector_changed_cb), (requires_done_button),
5848 (_hildon_picker_dialog_set_selector),
5849 (hildon_picker_dialog_set_selector),
5850 (hildon_picker_dialog_get_selector):
5851 * src/hildon-picker-dialog.h:
5852 * src/hildon-time-button.c: (hildon_time_button_init),
5853 (hildon_time_button_get_time), (hildon_time_button_set_time):
5854 * src/hildon-time-selector.c: (hildon_time_selector_init),
5855 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5856 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5857 * src/hildon-time-selector.h:
5860 Massive code updates after the rename.
5862 * src/hildon-touch-picker.c: Removed.
5863 * src/hildon-touch-picker.h: Removed.
5865 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5866 (hildon_touch_selector_init), (hildon_touch_selector_map),
5867 (hildon_touch_selector_remove), (_default_print_func),
5868 (_selection_changed_cb), (_create_new_column),
5869 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5870 (hildon_touch_selector_append_text_column),
5871 (hildon_touch_selector_remove_column),
5872 (hildon_touch_selector_set_column_attributes),
5873 (hildon_touch_selector_insert_column),
5874 (hildon_touch_selector_get_num_columns),
5875 (hildon_touch_selector_get_column_selection_mode),
5876 (hildon_touch_selector_set_column_selection_mode),
5877 (hildon_touch_selector_set_print_func),
5878 (hildon_touch_selector_get_print_func),
5879 (hildon_touch_selector_get_active_iter),
5880 (hildon_touch_selector_set_active_iter),
5881 (hildon_touch_selector_get_selected_rows),
5882 (hildon_touch_selector_get_model),
5883 (hildon_touch_selector_set_model),
5884 (hildon_touch_selector_get_current_text),
5885 (_hildon_touch_selector_center_on_selected_items):
5886 * src/hildon-touch-selector.h: Renamed from
5887 hildon-touch-picker.[ch]
5889 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5890 references, code examples, and related documentation.
5892 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5894 * doc/hildon-docs.sgml
5897 * src/hildon-toggle-button.c
5898 * src/hildon-toggle-button.h
5899 * src/hildon.h: New HildonToggleButton widget.
5901 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5903 * src/hildon-button.c: Add API documentation.
5904 (hildon_button_set_size_groups): Check input parameters
5906 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5908 * src/hildon-pannable-area.c
5909 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5910 effect after reaching the movement thredshold. This way we start
5911 using the distance after passing the thredshold.
5913 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5915 * src/hildon-button.c: (hildon_button_set_property): Use the
5916 appropriate g_value_get_flags() method.
5918 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5920 * doc/hildon-docs.sgml:
5923 Add the touch pickers, picker dialogs, and picker button widgets
5924 to the documentation.
5926 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5928 * src/hildon-button.c: (hildon_button_set_property),
5929 (hildon_button_class_init): Make "arrangement-flags" a proper
5930 G_TYPE_FLAGS derived property.
5932 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5934 * examples/Makefile.am: Add below examples.
5935 * examples/hildon-date-button-example.c:
5936 * examples/hildon-picker-button-example.c:
5937 * examples/hildon-picker-button-multicolumn-example.c:
5938 * examples/hildon-time-button-example.c:
5939 * examples/hildon-touch-picker-example.c:
5941 Add examples for the recently added touch pickers,
5942 picker dialogs, and picker button widgets.
5944 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5946 * src/hildon-button.c: Add some API documentation
5948 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5950 * src/hildon-button.h
5951 * src/hildon-button.c
5953 (hildon_button_new_with_text): New constructor to create a button
5954 with no text at all.
5955 (hildon_button_init, hildon_button_set_arrangement)
5956 (hildon_button_set_title, hildon_button_set_value)
5957 (hildon_button_set_text)
5958 (hildon_button_construct_child): Hide the value when it's not used
5959 so the rest of the text is properly aligned.
5960 Allow creating buttons with arbitrary widgets inside (not just
5961 title/value labels).
5963 * examples/hildon-button-example.c (vertical_buttons_window)
5964 (horizontal_buttons_window): Update example to use new API.
5966 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5968 * src/Makefile.am: Added HildonTimeButton.
5969 * src/hildon-time-button.c: Added missing LGPL header.
5970 * src/hildon-time-button.h: Added missing LGPL header.
5971 * src/hildon.h: Add hildon-time-button.h
5973 Copied HildonTimeButton from sandbox to trunk. Future work on this
5974 widget must take place in trunk.
5976 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5978 * src/Makefile.am: Added HildonDateButton.
5979 * src/hildon-date-button.c: Update includes.
5980 * src/hildon.h: Add hildon-date-button.h
5982 Copied HildonDateButton from sandbox to trunk. Future work on this
5983 widget must take place in trunk.
5985 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5987 * src/Makefile.am: Added HildonPickerButton.
5988 * src/hildon-picker-button.h: Update includes.
5989 * src/hildon.h: Add hildon-picker-button.h
5991 Copied HildonPickerButton from sandbox to trunk. Future work on
5992 this widget must take place in trunk.
5994 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5996 * src/Makefile.am: Added HildonPickerDialog.
5997 * src/hildon-picker-dialog.c: Update includes.
5998 * src/hildon.h: Add hildon-picker-dialog.h
6000 Copied HildonPickerDialog from sandbox to trunk. Future work
6001 on this widget must take place in trunk.
6003 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6005 * src/Makefile.am: Added HildonTimeSelector.
6006 * src/hildon.h: Add hildon-time-selector.h
6008 Copied HildonTimeSelector widget from sandbox to trunk. Future
6009 work on this widget must happen in trunk.
6011 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6013 * src/Makefile.am: Added HildonDateSelector.
6014 * src/hildon.h: Add hildon-date-selector.h
6016 Copied HildonDateSelector widget from sandbox to trunk. Future
6017 work on this widget must happen in trunk.
6019 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6021 * src/Makefile.am: Added HildonTouchPicker.
6022 * src/hildon-touch-picker.c: Update includes.
6023 * src/hildon.h: Add hildon-touch-picker.h
6025 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6026 on this widget must happen in trunk.
6028 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6030 * src/hildon-pannable-area.c:
6031 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6033 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6035 * examples/hildon-app-menu-example.c (main): Let the window
6038 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6040 * src/hildon-pannable-area.c
6041 (hildon_pannable_area_class_init): Set the min value of the
6042 overshoot properties to zero, which points out that not
6043 overshooting allowed.
6045 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6047 Modified the procedure to get the widget at a point inside the
6048 pannable area when using the movement type signals. Now the user
6049 has to call a function to get the child, that way we just
6050 calculate the child in case the user really want to use it and not
6053 * src/hildon-marshalers.list: Modified the marshallers, now we do
6054 not have the widget as a parameter.
6056 * src/hildon-pannable-area.c
6057 (hildon_pannable_area_motion_notify_cb),
6058 (hildon_pannable_area_class_init),
6059 (hildon_pannable_get_child_widget_at): Removed the widget
6060 parameter from the signal callback. We have also refactored the
6061 emission of the signals.
6063 * src/hildon-pannable-area.h: Added a new method to the API to
6064 calculate a widget at a point inside the pannable area,
6065 hildon_pannable_get_child_widget_at.
6067 * examples/hildon-pannable-area-example-4.c
6068 (horizontal_movement): Modified the example to use the new API,
6069 added condition to control which widget is under the event. This
6070 way we can avoid scrolling laterally over other widgets.
6072 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6074 * src/hildon-pannable-area.c
6075 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6076 modes, we stop getting the pointer events due to returning the
6077 callback without properly calling the get pointer again. Fixed
6078 also an error using the hscroll and vscroll.
6080 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6082 * src/hildon-app-menu-private.h
6083 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6084 (hildon_app_menu_button_release, hildon_app_menu_init)
6085 (hildon_app_menu_class_init): Don't hide the menu on button
6086 release if the user didn't press outside first.
6088 * src/hildon-window.h
6089 * src/hildon-window.c (hildon_window_toggle_menu)
6090 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6091 hildon_window_toggle_menu a virtual function for the stackable
6092 window to override it.
6094 * src/hildon-stackable-window.h
6095 * src/hildon-stackable-window-private.h
6096 * src/hildon-stackable-window.c
6097 (hildon_stackable_window_realize)
6098 (hildon_stackable_window_finalize)
6099 (hildon_stackable_window_class_init)
6100 (hildon_stackable_window_init)
6101 (hildon_stackable_window_set_main_menu): New function to set the
6102 app menu of a HildonStackableWindow.
6104 * examples/hildon-app-menu-example.c: Remove the button to show
6105 the app menu, now it'll be shown when clicking on the title bar
6108 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6110 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6111 set the widget name if the arrangement flags do not specify
6114 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6116 * src/hildon-button.c: (hildon_button_set_property),
6117 (hildon_button_class_init), (hildon_button_new_full),
6118 (hildon_button_set_arrangement): Added "arrangement-flags"
6121 Make the HildonButtonFlags a construction-only property, to allow
6122 subclasses to set them properly.
6124 2008-07-21 Tim Janik <timj@imendio.com>
6126 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6127 insertion position after backspace, so additional digits are appended,
6130 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6132 * src/hildon-pannable-area.c,
6133 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6134 TODO list, it was complete and removed the g_debug and g_print
6137 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6139 Added the movement modes to the hildon-pannable-area, with this
6140 modes the developers can control in which directions the widget
6141 can scroll. They can also connect to signals in order to do
6142 something when that happens, allowing applications scroll. There
6143 is an example uploaded showing how to use it.
6145 * examples/Makefile.am:
6146 * examples/hildon-pannable-area-example-4.c: Added this example of
6147 an application using the modes.
6149 * src/hildon-marshalers.list: Added a new marshaller for the new
6152 * src/hildon-pannable-area.h: Added new enumerations and flags in
6153 order to control the movement modes and the new signals to warn
6154 about the movements in the area.
6156 * src/hildon-pannable-area.c:
6157 (hildon_pannable_axis_scroll),
6158 (hildon_pannable_area_scroll),
6159 (hildon_pannable_area_motion_notify_cb),
6160 (hildon_pannable_area_get_property),
6161 (hildon_pannable_area_set_property),
6162 (hildon_pannable_area_map),
6163 (hildon_pannable_area_class_init),
6164 (hildon_pannable_area_init),
6165 (hildon_pannable_area_jump_to): Added the modes to control the
6166 movement in the widget. We have added properties to control it,
6167 signals to warn about the movements and refactored some code.
6169 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6171 Changes required in order to allow vfast_factor set to zero to
6174 * src/hildon-pannable-area.c:
6175 (hildon_pannable_area_button_press_cb): Changed the condition, it
6176 is required for not allowing click when vfast_factor is zero.
6177 (hildon_pannable_area_timeout): Initialized velocity variables
6178 when we stop moving, it was less than 1 but not zero and we need
6179 to check zero in some situations.
6180 (hildon_pannable_area_class_init): Changed the default value of
6181 the speed factor, now the button_press is just sent in case the
6182 speed is 2 per cent of the max speed.
6183 (hildon_pannable_area_init): Initialization with 0.
6185 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6187 * src/hildon-pannable-area.c,
6188 (hildon_pannable_area_get_topmost): replaced
6189 gdk_window_get_children with gdk_window_peek_children, this way we
6190 do not have to free the list because it is not a copy.
6192 (hildon_pannable_axis_scroll),
6193 (hildon_pannable_area_scroll),
6194 (hildon_pannable_area_timeout),
6195 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6196 two parameters that were only used inside the
6197 hildon_pannable_area_scroll function.
6199 * examples/hildon-pannable-area-example.c,
6200 (get_sawtooth_label): Fixed small memory leak.
6202 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6204 More checks for the case where the overshoot is bigger than the
6207 * src/hildon-pannable-area.c:
6208 (hildon_pannable_draw_vscroll),
6209 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6210 to draw the slider of the scrollbar under the other scrollbar.
6211 (hildon_pannable_area_expose_event): added new checks to control
6212 the drawing of the overshooting area rectangle, in case it is too
6213 big for the area of the widget.
6214 (hildon_pannable_area_size_allocate): add more checks to avoid
6215 setting a position to the child widget outside the area.
6217 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6219 * src/hildon-pannable-area.c
6220 (hildon_pannable_area_size_allocate): Added conditions to control
6221 when overshooting is bigger than the allocated space for the
6222 children, this avoids negative allocations.
6224 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6226 * doc/hildon-docs.sgml
6228 * examples/Makefile.am
6229 * examples/hildon-button-example.c
6231 * src/hildon-button.c
6232 * src/hildon-button.h
6233 * src/hildon.h: Initial version of the new HildonButton widget,
6236 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6238 * src/hildon-pannable-area.c:
6239 (hildon_pannable_area_button_press_cb),
6240 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6241 (hildon_pannable_area_motion_notify_cb),
6242 (hildon_pannable_area_button_release_cb),
6243 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6244 (hildon_pannable_area_jump_to_child):
6246 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6248 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6250 * examples/Makefile.am
6251 * examples/hildon-pannable-area-touch-grid-example.c
6252 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6253 the Hildon Touch List and Hildon Touch Grid using the
6254 HildonPannableArea widget.
6256 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6258 * src/hildon-pannable-area.c,
6259 (hildon_pannable_area_button_press_cb),
6260 (hildon_pannable_area_refresh),
6261 (hildon_pannable_area_scroll),
6262 (hildon_pannable_area_motion_notify_cb),
6263 (hildon_pannable_area_button_release_cb),
6264 (hildon_pannable_area_expose_event),
6265 (hildon_pannable_area_add),
6266 (hildon_pannable_area_remove),
6267 (hildon_pannable_area_realize),
6268 (hildon_pannable_area_size_allocate),
6269 (hildon_pannable_area_class_init),
6270 (hildon_pannable_area_init),
6271 (hildon_pannable_area_scroll_to_child),
6272 (hildon_pannable_area_jump_to_child): Fixed the problem of
6273 removing the child from the GtkBin, we have rearranged the widget
6274 hierarchy, now there is no GtkAlignment which was not doing
6275 anything interesting but breaking some of the assumptions of
6276 GtkContainer. Now developers if they want to add a GtkAlignment
6277 they could, but it is not inside the area.
6279 We had to review the whole allocation/expose process, now it is
6280 improved and we save at least three signals which would be saving
6281 some time when rendering the widget. The allocation of the
6282 scrollbars is now made in the allocate method as usual.
6284 We have also added some conditions in order to control when there
6285 is no child of the pannable area. Maybe we will need more work
6288 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6290 * src/hildon-pannable-area.c,
6291 (hildon_pannable_area_dispose): Released the fade-out timeout when
6292 disposing the widget.
6294 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6296 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6297 zero, we are going to use that property in order to deactivate the
6299 (hildon_pannable_axis_scroll),
6300 (hildon_pannable_area_size_allocate): Added conditions to control
6301 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6302 call, now it is called in all situations and we can remove calls
6303 in the allocate method.
6304 (hildon_pannable_area_map): Control the situation when
6305 overshoot_max is zero, we do not need the timeout.
6306 (hildon_pannable_area_class_init): Added documentation in order to
6307 point out that setting zero to overshoot_max means deactivate
6310 NOTE: removed trailing whitespaces from my previous comments of
6313 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6315 * src/hildon-pannable-area.c
6316 (hildon_pannable_area_get_property),
6317 (hildon_pannable_area_set_property),
6318 (hildon_pannable_area_map),
6319 (hildon_pannable_area_class_init),
6320 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6321 to cause the widget give a hint about its panning abilities upon
6324 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6326 * src/hildon-pannable-area.c: Several documentation improvements.
6328 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6330 * src/hildon-program.c
6331 * src/hildon-stackable-window.c: Update documentation.
6333 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6335 * src/hildon-stackable-window.c (get_previous_window_if_last):
6336 Renamed get_last_window()
6337 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6338 (hildon_stackable_window_unset_program):
6340 (get_previous_window_if_last):
6341 Detect if the window hasn't been added to a HildonProgram.
6343 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6345 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6347 * src/hildon-pannable-area.c
6348 (hildon_pannable_area_button_press_cb),
6349 (hildon_pannable_axis_scroll),
6350 (hildon_pannable_area_scroll),
6351 (hildon_pannable_area_timeout),
6352 (hildon_pannable_calculate_vel_factor),
6353 (hildon_pannable_area_get_property),
6354 (hildon_pannable_area_set_property),
6355 (hildon_pannable_area_class_init),
6356 (hildon_pannable_area_init),
6357 (hildon_pannable_area_scroll_to),
6358 (hildon_pannable_area_jump_to),
6359 (hildon_pannable_area_scroll_to_child),
6360 (hildon_pannable_area_jump_to_child):
6361 * src/hildon-pannable-area.h: Added the new API functions:
6362 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6363 hildon_pannable_area_scroll_to_child,
6364 hildon_pannable_area_jump_to_child
6367 * examples/Makefile.am
6368 * examples/hildon-pannable-area-example-2.c
6369 * examples/hildon-pannable-area-example-3.c: Added these two new
6370 examples in order to test and show how the new APIs work.
6372 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6374 * examples/hildon-stackable-window-example.c (new_window):
6375 * src/Makefile.am (noinst_HEADERS):
6376 * src/hildon-program.c (hildon_program_go_to_root_window):
6377 * src/hildon-program.h:
6378 * src/hildon-stackable-window-private.h:
6379 * src/hildon-stackable-window.c:
6380 * src/hildon-stackable-window.h:
6381 Create hildon-stackable-window-private.h
6382 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6384 * examples/hildon-app-menu-example.c (create_menu):
6385 * examples/hildon-hvolumebar-insensitive-example.c (main):
6386 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6387 * examples/hildon-toolbar-seekbar-example.c (main):
6388 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6389 * src/hildon-banner.c (hildon_banner_set_property):
6390 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6391 Fix compilation warnings
6393 * src/hildon-window.c:
6396 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6398 * src/hildon-stackable-window.c
6399 (hildon_stackable_window_unset_program):
6400 Calculate correctly whether to show the previous window if the
6401 last one is removed from the stack.
6402 (hildon_stackable_window_go_to_root_window):
6403 Send delete events starting from the topmost window.
6404 Stop if one of the windows is not destroyed.
6406 (hildon_stackable_window_delete_event)
6407 (hildon_stackable_window_class_init):
6408 Ignore the delete event if the window is not the topmost one.
6410 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6412 * src/hildon-pannable-area.c
6413 (hildon_pannable_area_expose_event): Fixed a problem when
6414 selecting the background color of the scrollbars.
6416 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6418 * examples/hildon-stackable-window-example.c
6419 * src/hildon-stackable-window.c
6420 * src/hildon-stackable-window.h
6421 hildon_stackable_window_go_home() renamed to
6422 hildon_stackable_window_go_to_root_window()
6423 Send delete events to windows rather than closing them with
6424 gtk_widget_destroy()
6426 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6428 * src/hildon-pannable-area.c
6429 (hildon_pannable_area_button_release_cb): Fix overshooting in
6432 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6434 * src/hildon-pannable-area.c
6435 (hildon_pannable_area_init): Initially show the scroll indicators.
6436 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6438 Add initial effect showing the widget is pannable.
6440 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6442 * src/hildon-pannable-area.c
6443 (hildon_pannable_area_class_init)
6444 (hildon_pannable_area_set_property)
6445 (hildon_pannable_area_get_property)
6446 (hildon_pannable_area_button_press_cb):
6447 New 'velocity_fast_factor' property to decide which velocity is
6450 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6452 * src/hildon-pannable-area.c
6453 (hildon_pannable_draw_hscroll)
6454 (hildon_pannable_draw_vscroll):
6455 Use float variables to calculate the size of the scrollbars to
6456 avoid error propagation and resizing during scrolling.
6458 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6460 * src/hildon-pannable-area.c
6461 (hildon_pannable_draw_vscroll)
6462 (hildon_pannable_draw_hscroll):
6463 Define a minimum size for the scroll bars
6465 * src/hildon-stackable-window.c
6466 (hildon_stackable_window_go_home): Fix compilation warning
6467 (get_last_window): Minor optimizations
6468 (hildon_stackable_window_class_init): Fix initialization of
6471 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6473 * src/hildon-stackable-window.c: Fixed typos in doc
6475 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6477 * src/hildon-pannable-area.c
6478 (hildon_pannable_area_scroll):
6479 Calculate here whether we need to scroll instead of using the booleans
6480 that tell us whether to /draw/ the scrolling bars.
6482 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6484 * src/hildon-app-menu.h
6486 * src/hildon-app-menu.c
6487 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6488 multiple filter groups related code and API. Now we support only
6490 * examples/hildon-app-menu-example.c:
6492 Update to reflect API changes.
6494 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6496 * src/hildon-stackable-window.c
6497 (hildon_stackable_window_class_init):
6498 Add hildon_stackable_window_realize.
6499 (hildon_stackable_window_realize):
6500 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6501 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6502 to apply theming and behavior specific to HildonStackableWindow
6505 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6507 * src/hildon-note.c (hildon_note_button_release):
6508 Close information notes also when tapping on them
6510 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6512 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6513 ELASTICITY, refactor and review, fix some issues with drawing
6516 * src/hildon-pannable-area.c:
6517 (hildon_pannable_area_button_press_cb): removed the conditions to
6518 avoid clicks when overshooting. It is not required
6520 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6521 define. Refatored and reviewed the code, now we do not need to
6522 manage velocity in motion_notify.
6524 (hildon_pannable_area_motion_notify_cb): We have moved the code
6525 that controls the area_scroll to the axis_scroll function and get
6526 rid of duplicated code.
6528 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6530 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6532 (hildon_pannable_draw_vscroll),
6533 (hildon_pannable_draw_hscroll): Fixed the problems with the
6534 scrollbar drawing, now we do not use two surfaces, it is easier
6535 and saves resources.
6537 (hildon_pannable_area_get_property): Style modification.
6539 (hildon_pannable_area_class_init): Changed some default values.
6541 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6543 * src/hildon-stackable-window.c: Fix some typos in the
6546 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6548 * src/hildon-dialog.c:
6549 Change indentation style
6552 (hildon_note_button_release):
6553 Use root coordinates to check if the release event happened
6556 * src/hildon-app-menu.c
6557 (hildon_app_menu_button_release):
6558 Remove unnecessary check
6560 * examples/hildon-app-menu-example.c
6562 Add cast to fix warning
6564 * src/hildon-app-menu.c
6565 (hildon_app_menu_class_init):
6566 New inner-border style property.
6567 Set all default spacings to 16
6568 (hildon_app_menu_init):
6569 Use vertical-spacing to set the space between filter buttons and
6570 regular menu buttons.
6571 Set the default container border using the inner-border value.
6573 * examples/hildon-app-menu-example.c
6575 Don't set the menu border explicitly, now we have the inner-border
6576 style property for that.
6578 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6580 * src/hildon-app-menu.c (hildon_app_menu_init):
6581 Make the window modal
6583 * src/hildon-note.c (hildon_note_map)
6584 * src/hildon-app-menu.c (hildon_app_menu_map):
6585 Destroy the grab window if we're unable to grab the pointer
6587 * src/hildon-app-menu-private.h
6588 * src/hildon-app-menu.c
6589 (hildon_app_menu_init, hildon_app_menu_finalize)
6590 (hildon_app_menu_map, hildon_app_menu_unmap)
6591 (hildon_app_menu_button_release)
6592 (grab_transfer_window_get):
6593 Bring back the grab window
6594 (hildon_app_menu_realize):
6595 Decorate the window, set WM hint for Matchbox
6597 * src/hildon-note.c (hildon_note_realize):
6598 * src/hildon-banner.c (hildon_banner_realize):
6599 Add WM hints for Matchbox
6601 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6603 * src/hildon-app-menu-private.h
6604 * src/hildon-app-menu.c
6605 (hildon_app_menu_init, hildon_app_menu_finalize)
6606 (hildon_app_menu_map, hildon_app_menu_unmap)
6607 (hildon_app_menu_button_release):
6608 Remove the grab window, it's not needed anymore
6610 * src/hildon-program.c
6611 Fixed typo in documentation
6613 * src/hildon-app-menu.h
6614 * src/hildon-app-menu.c
6615 * examples/hildon-app-menu-example.c
6616 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6618 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6621 Added new transfer_window and close_if_pressed_outside private
6623 (hildon_note_rebuild):
6624 Don't add a cancel button to the information note. It will be
6625 closed when tapping outside
6626 Remove the comment about the OK button in the documentation
6627 (hildon_note_realize):
6628 Set the notification type hint
6629 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6630 Grab/ungrab pointer and keyboard if the note has to be closed when
6632 (hildon_note_button_release):
6633 Close the note when tapping outside (if applicable)
6635 * src/hildon-app-menu.c
6636 Grab/ungrab pointer and keyboard on map/unmap
6637 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6638 Close the menu on button release, not button press
6640 * src/hildon-banner.c
6641 (hildon_banner_set_property)
6642 (hildon_banner_check_position):
6643 Make the banner use the full width of the screen
6644 (hildon_banner_show_information)
6645 (hildon_banner_show_information_with_markup):
6646 Don't display an icon by default
6648 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6650 Added fading scrollbars and adapted all the overshooting code to
6651 horizontal scrolling. We have also fixed bugs with overshooting
6652 and current fading implementation.
6654 * src/hildon-pannable-area.c
6655 (hildon_pannable_area_scroll_indicator_fade): Time out function
6656 used to change the transparency of the scrollbars.
6658 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6659 control and fixed a problem with fading, we now remove the fade
6660 timeout before adding a new one.
6662 (hildon_pannable_axis_scroll):
6663 (hildon_pannable_area_scroll):
6664 (hildon_pannable_area_timeout): Added this functions so we can use
6665 the scroll code both for vertical and horizontal.
6667 (hildon_pannable_area_motion_notify_cb):
6668 (hildon_pannable_area_button_release_cb): Added the horizontal
6669 scrolling control, fixed a problem with the overshooting timeout.
6671 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6672 painting of the scrolls.
6674 (hildon_pannable_draw_vscroll):
6675 (hildon_pannable_draw_hscroll):
6676 (hildon_pannable_area_expose_event):
6677 Draw both scrollbars and rectangles in the overshooting area.
6679 (hildon_pannable_area_get_property):
6680 (hildon_pannable_area_set_property):
6681 Modified the overshoot property to overshoot_max
6683 (hildon_pannable_area_map):
6684 Replaced the comments symbols.
6686 (hildon_pannable_area_size_allocate):
6687 (hildon_pannable_area_class_init):
6688 (hildon_pannable_area_init): Added horizontal scroll, fading
6689 effect properties, fixed a problem when overshooting in the bottom
6692 * examples/hildon-pannable-area-example.c:
6693 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6694 looks better in the example.
6696 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6698 * src/hildon-window.c
6699 * src/hildon-window.h
6700 (hildon_window_class_init)
6701 (hildon_window_unset_program)
6702 (hildon_window_unset_program_real):
6703 Make unset_program a virtual function
6705 * src/hildon-stackable-window.c
6706 * src/hildon-stackable-window.h
6707 Added hildon_stackable_window_go_home()
6709 * examples/Makefile.am
6710 * examples/hildon-stackable-window-example.c
6711 HildonStackableWindow example
6713 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6715 * hildon-pannable-area.c: Added the overshoot property and removed
6716 the OVERSHOOT define. Fixed an indent style error.
6717 (hildon_pannable_area_motion_notify_cb):
6718 (hildon_pannable_area_get_property):
6719 (hildon_pannable_area_set_property): Add overshoot property.
6721 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6724 (hildon_pannable_area_class_init): Installed the new property.
6726 * hildon-pannable-area-example.c: Added a sawtooth function, this
6727 way it is easier to check the movement in the pannable.
6728 (get_sawtooth_label): Added this function.
6729 (main): Now we get the labels from the new get_sawtooth_label
6732 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6734 * src/hildon-app-menu.h
6735 * src/hildon-app-menu.c
6736 Renamed API variables for consistency
6738 (hildon_app_menu_popup): Use also the default window size to
6739 decide where to place the menu
6741 (hildon_app_menu_init, hildon_app_menu_class_init): New
6742 external-border style property
6744 2008-05-26 Michael Natterer <mitch@imendio.com>
6746 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6747 widget_class->tap_and_hold_setup signal slot doesn't exist any
6748 longer, stop overriding it.
6750 (hildon_time_editor_init): g_signal_connect() to the
6751 tap-and-hold-setup signal instead.
6753 (hildon_time_editor_entry_keypress): add cast to fix warning.
6755 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6757 * doc/hildon-docs.sgml
6759 * examples/Makefile.am
6760 * examples/hildon-app-menu-example.c
6762 * src/hildon-app-menu-private.h
6763 * src/hildon-app-menu.c
6764 * src/hildon-app-menu.h
6766 New HildonAppMenu widget
6768 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6770 Rearranged the inheritance of the pannable area, now it inherits
6771 from GtkBin. This will allow us to control the event_window and
6772 the allocation process of the widget, required for some effects.
6774 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6775 GtkBin structures. * src/hildon-pannable-area.c: Added the
6776 event_window variable.
6777 (hildon_pannable_area_button_press_cb):
6778 (hildon_pannable_area_button_release_cb):
6779 (hildon_pannable_area_motion_notify_cb):
6780 Changed the signature of the method, now we override the event
6781 callback instead of connecting to the signal.
6783 (hildon_pannable_area_realize):
6784 (hildon_pannable_area_unrealize):
6785 (hildon_pannable_area_map):
6786 (hildon_pannable_area_unmap):
6787 (hildon_pannable_area_size_allocate):
6788 Added functions to control the widget construction. We add a
6789 INPUT_ONLY window and we put it over the widgets inside the
6790 container, this event_window handles the events.
6792 (hildon_pannable_area_class_init):
6793 Replaced the signal connections with overrides of the event
6796 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6798 Bouncing effect added when touching the borders, you can change
6799 the elasticity of the border changing the ELASTICITY define.
6801 * src/hildon-pannable-area.c: Added ELASTICITY define.
6802 (hildon_pannable_area_timeout): Added inverse velocity when
6803 touching the border of the child widget, that causes a bounce.
6805 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6807 Improved performance, we now do not go to the X server in order to
6808 get the list of window children. Apparently the effect is the
6809 same, we have to be careful and check if this breaks something in
6812 * src/hildon-pannable-area.c:
6813 (get_ordered_children): Removed this function.
6814 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6815 the children windows function with gdk_window_get_children.
6817 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6819 * src/hildon-pannable-area.c:
6820 (hildon_pannable_area_dispose): Fixed a crash when closing the
6821 window and kinetics is activated.
6823 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6825 * src/hildon-pannable-area.h
6826 * src/hildon-pannable-area.c
6827 Changed indentation style to meet the one used in Hildon
6829 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6831 Reviewed the interaction of the AUTO mode, now we use the time
6832 attribute of the events and calculate the velocity in the motion,
6833 doing a gimp like calculation. The velocity is calculated in each
6834 motion event using the last velocity and the current one, the
6835 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6837 * src/hildon-pannable-area.c: Replaced the time based algorithm
6839 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6840 timeout for the AUTO mode when we are still moving the cursor. We
6841 added also the velocity calculation in this function.
6842 (hildon_pannable_area_button_release_cb): launch the timeout in
6843 case we are in AUTO mode. There are still some constants here that
6844 come from the old implementation that should be reviewed and
6847 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6849 * doc/hildon-docs.sgml
6852 * src/hildon-stackable-window.c
6853 * src/hildon-stackable-window.h
6855 New HildonStackableWindow widget
6857 * examples/hildon-dialog-example.c
6858 * examples/hildon-pannable-area-example.c
6861 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6863 * src/hildon-dialog.c
6864 (hildon_dialog_new_with_buttons): New constructor.
6866 * examples/hildon-dialog-example.c
6867 (main): Update the example to use the new
6868 hildon_dialog_new_with_buttons().
6870 * examples/hildon-pannable-area-example.c
6871 (main): Update example.
6873 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6875 * doc/hildon-docs.sgml
6877 Added HildonPannableArea to the documentation.
6879 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6881 * doc/visual_index.xml
6882 Fix reference to HildonLoginDialog in documentation
6884 * doc/hildon-docs.sgml
6886 * examples/Makefile.am
6887 * examples/hildon-dialog-example.c
6889 * src/hildon-dialog.c
6890 * src/hildon-dialog.h
6892 New HildonDialog widget.
6894 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6896 * src/hildon-pannable-area.c
6897 Merge latest changes (r4318, r4342) from libmokoui trunk
6899 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6901 * examples/Makefile.am
6902 * examples/hildon-pannable-area-example.c
6904 * src/hildon-pannable-area.c
6905 * src/hildon-pannable-area.h
6907 New HildonPannableArea widget.
6909 2008-04-15 18:05:19 <timj@imendio.com>
6911 * src/hildon-banner.c: revert the recent change, that introduced
6912 gtk_window_present() calls. this reopens:
6913 Bug 78481 - [freetest] information banners are hidden under browser menu
6914 But resolves another variant of:
6915 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6917 2008-04-15 13:21:13 <timj@imendio.com>
6919 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6920 recreated its layout, spotted by Kris. this fixes all remaining
6921 artefacts and stability issues with the banner code. in particular:
6922 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6924 2008-04-14 16:52:59 <timj@imendio.com>
6926 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6927 operating on unrealized widgets, fixes:
6928 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6930 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6932 2008-04-09 Kristian Rietveld <kris@imendio.com>
6934 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6935 makes banner disappear.
6936 Fixes: NB#79182: info banner flickering with certain message lengts.
6938 * src/hildon-banner.c (hildon_banner_constructor),
6939 (hildon_banner_init), (hildon_banner_set_text),
6940 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6941 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6942 FALSE, reset size requests of label and banner,
6943 (force_to_wrap_truncated): when the text is too wide, always enforce
6944 the maximum possible width instead of recalculating it from the
6945 layout; enforce the maximum banner height of 3 lines,
6946 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6947 nicer wrapping and no truncated chars if space gets tight.
6949 * src/hildon-banner-private.h: add has_been_wrapped and
6950 has_been_truncated fields.
6952 2008-04-07 Sven Herzberg <sven@imendio.com>
6954 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6955 local values in hildon_date_editor_size_allocate
6957 * src/hildon-date-editor.c: moved the real allocation code into the
6960 2008-04-07 Sven Herzberg <sven@imendio.com>
6962 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6963 local values in hildon_date_editor_size_allocate
6965 * src/hildon-date-editor.c: merged the two if() branches together
6967 2008-04-07 Sven Herzberg <sven@imendio.com>
6969 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6970 local values in hildon_date_editor_size_allocate
6972 * src/hildon-date-editor.c: changed the arguments of the if()
6975 2008-04-07 Sven Herzberg <sven@imendio.com>
6977 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6978 local values in hildon_date_editor_size_allocate
6980 * src/hildon-date-editor.c: split the calculation of the allocation
6981 from the real allocation
6983 2008-03-27 Michael Natterer <mitch@imendio.com>
6985 Fixes: NB#81696: The passcode is not overwritten even after
6988 * src/hildon-code-dialog.c
6989 (hildon_code_dialog_button_clicked)
6990 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6991 because that doesn't overwrite selected text. Instead, emit the
6992 "commit" signal on the entry's im_context so the entry's normal
6993 insert logic is triggered. Set the cursor to the end of the entry
6994 after each insert operation so that we *only* insert in the middle
6995 of the text if something was selected.
6997 2008-03-27 Michael Natterer <mitch@imendio.com>
6999 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7000 selector cannot be opened
7002 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7003 when the popup color selector is created. Please connect to this
7004 signal in order to set the dialog's help ID.
7006 2008-03-25 Sven Herzberg <sven@imendio.com>
7008 Fixes: MB#1212: Hide info banners (infoprints) on click
7010 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7011 extracted the close event simulation into an extra function
7012 (hildon_banner_button_press_event): simulate a close event and destroy
7013 the widget if the event wasn't handled
7014 (hildon_banner_class_init): added the button_press_event handler
7015 (hildon_banner_init): added button-press events to the widget
7017 2008-03-25 Sven Herzberg <sven@imendio.com>
7019 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7020 Patch from: Mohammad Anwari <mdamt@maemo.org>
7022 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7023 instead of the right in RTL mode
7024 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7025 breadcrumb button list in RTL mode
7026 * src/hildon-caption.c: mirror the appearance of the caption widget in
7028 * src/hildon-date-editor.c: mirror appearance of the date editor in
7030 * src/hildon-time-editor.c: mirror appearance of the time editor in
7032 * src/hildon-window.c: fix the position of the popup in RTL mode
7034 2008-03-25 Sven Herzberg <sven@imendio.com>
7036 Amendment to the fix of NB#22072. Fix compilation.
7038 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7040 2008-03-19 Sven Herzberg <sven@imendio.com>
7042 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7045 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7046 timeout id properly when the timeout will disappear this leaves no
7047 artifacts around in the destroy(); there will only be the timeout
7048 created by hildon_banner_ensure_timeout() and adding a new timeout
7049 will also work if the timeout gets removed because the timeout_handler
7052 2008-03-19 Michael Natterer <mitch@imendio.com>
7054 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7056 * src/hildon-volumebar.c
7057 * src/hildon-vvolumebar.c
7058 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7059 the widget becomes focussable at all.
7061 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7062 set the focus to wither the mute button or the volumebar.
7064 Remove own "can-focus" property and instead listen to
7065 notify::can-focus in order to update the widget's state.
7067 Implement GtkWidget::focus() and make sure we can also *leave* the
7068 widget, not only enter it, depending on volumebar orientation and
7069 requested focus direction.
7071 Clean up set_mute() to cooperate nicely with all the above.
7073 2008-03-04 Michael Natterer <mitch@imendio.com>
7075 Fixes: NB#78481: information banners are hidden under browser menu
7077 * src/hildon-banner.c: call gtk_window_present() on the banners so
7078 they are risen if they are already visible.
7080 2008-03-03 Sven Herzberg <sven@imendio.com>
7082 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7084 * examples/hildon-window-menu-example.c: (main): extended the window
7085 menu example to serve as a testcase for automatically added
7086 accelerator groups, too
7087 * src/hildon-window.c: (hildon_window_add_accel_group),
7088 (hildon_window_set_menu): added patch by Tommi Komulainen
7090 2008-03-03 Sven Herzberg <sven@imendio.com>
7092 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7094 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7095 knowledge about the border allocators used within GTK+
7097 2008-02-26 Sven Herzberg <sven@imendio.com>
7099 Fixes: MB#2981: Build with asserts broken
7101 * src/hildon-date-editor.c,
7102 * src/hildon-number-editor.c,
7103 * src/hildon-time-editor.c,
7104 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7105 the proper GType instance check
7107 2008-02-25 Sven Herzberg <sven@imendio.com>
7109 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7111 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7112 * examples/hildon-window-menu-example.c: (main): explicitly show
7114 * src/hildon-window.c:
7115 (hildon_window_set_main_menu): moved most of the code from set_menu()
7116 to this place; skipped the call to gtk_widget_show_all(); also didn't
7117 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7118 (hildon_window_set_menu): removed most of the code, just keep the
7119 questionable gtk_widget_show_all()
7120 * src/hildon-window.h: added the new function and deprecate the old
7123 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7129 * debian/changelog: Updating.
7131 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7134 * pkgconfig/Makefile.am:
7135 * pkgconfig/hildon.pc.in:
7138 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7139 use newly created API_MAJOR_VERSION.
7141 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7147 * debian/changelog: Updating.
7149 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7151 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7153 Add outer_border style property, we use it but don't define it (!).
7157 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7159 * examples/hildon-bread-crumb-trail-example.c (main):
7163 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7165 Fix logic for the bread crumb trail node removal.
7169 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7175 * debian/changelog: Updating.
7177 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7179 Patch by Alejandro to get/set passwords dialogs accesibility.
7181 * hildon-1/src/hildon-get-password-dialog.c:
7182 * hildon-1/src/hildon-set-password-dialog.c:
7183 Set atk_set_name to the passwd entries in order to allow
7184 accessibility by name on this entries.
7186 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7191 * debian/control: Updating gtk dep.
7193 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7195 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7196 USE_MAEMO_GTK is enabled.
7198 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7200 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7201 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7203 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7209 * debian/changelog: Updating.
7211 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7213 * examples/Makefile.am:
7214 * examples/hildon-logical-color-example.c:
7215 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7216 applied + adding a test case. Fixes: NB#71660.
7218 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7220 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7221 to be visible, fixes warning on map for windows without toolbars.
7223 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7225 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7226 2.11.0, add a check for that besides the MAEMO_GTK check.
7228 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7234 * debian/changelog: Updating.
7236 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7238 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7239 visibility. Fixes: NB#70842 and MB#615.
7241 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7243 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7244 set the separator as no-show-all so it doesn't unintentionally appear when
7245 someone does a show_all.
7247 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7249 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7250 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7251 toplevel item. Fixes: NB#62031
7253 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7255 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7256 fix the name of the function in the docs.
7258 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7264 * debian/changelog: Updating.
7266 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7268 * examples/hildon-banner-long-example.c: Adding a test-case for long
7271 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7273 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7275 * src/hildon-color-chooser-dialog.c:
7276 * src/hildon-color-chooser.c:
7277 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7278 memory leaks in font selector and color selector. Fixes: NB#70499 and
7281 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7283 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7285 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7287 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7288 little bit bigger. Fixes: #NB63694.
7290 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7296 * debian/changelog: Updating.
7298 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7301 * doc/hildon-docs.sgml:
7302 * doc/images/bread-crumb-trail.png:
7303 * doc/images/calendar-popup.png:
7304 * doc/images/caption.png:
7305 * doc/images/code-dialog.png:
7306 * doc/images/color-button.png:
7307 * doc/images/color-chooser-dialog.png:
7308 * doc/images/color-chooser.png:
7309 * doc/images/controlbar.png:
7310 * doc/images/date-editor.png:
7311 * doc/images/font-selection-dialog.png:
7312 * doc/images/get-password-dialog.png:
7313 * doc/images/hvolumebar.png:
7314 * doc/images/login-dialog.png:
7315 * doc/images/note.png:
7316 * doc/images/number-editor.png:
7317 * doc/images/range-editor.png:
7318 * doc/images/seekbar.png:
7319 * doc/images/set-password-dialog.png:
7320 * doc/images/sort-dialog.png:
7321 * doc/images/time-editor.png:
7322 * doc/images/time-picker.png:
7323 * doc/images/vvolumebar.png:
7324 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7325 Adding the bread-crumb-trial and helpers to the documentation.
7327 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7329 * examples/hildon-find-toolbar-example.c:
7330 * src/hildon-find-toolbar.c:
7331 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7332 actually continue firing the other handlers if connected. Adding a new
7334 hildon_find_toolbar_get_last_index that gets the index of the most
7335 recently added (last) item. Fixes: NB#52301.
7337 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7339 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7340 behaviour. Fixes: NB#68610.
7342 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7344 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7347 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7349 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7350 when realizing the banner. Should make the infonbanner effect a bit more
7353 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7355 * src/hildon-volumebar.c:
7356 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7357 hildon_volumebar_set_range_insensitive_message and
7358 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7360 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7362 * src/hildon-window.c: Fixing the border freeing on destroy.
7364 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7366 * src/hildon-code-dialog-private.h:
7367 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7368 kw keyboard support in HildonCodeDialog.
7370 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7376 * debian/changelog: Updating.
7378 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7380 * src/hildon-date-editor.c:
7381 * src/hildon-number-editor.c:
7382 * src/hildon-private.c:
7383 * src/hildon-private.h:
7384 * src/hildon-time-editor.c:
7385 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7386 handling in subclassed composite widgets. Fixes: NB#66628.
7388 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7390 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7391 from destroy_ callback as it introduces problems in async dbus signal
7392 handlers. Fixes NB#66673.
7394 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7396 * examples/hildon-hvolumebar-example.c:
7397 * src/hildon-volumebar.c: Improving the focus handling in the
7398 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7399 set_property accessor so that "mute" property can be actually set. I'm
7400 scared that nobody noticed it's totally broken.
7402 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7404 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7407 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7409 * src/hildon-calendar.c:
7410 * src/hildon-number-editor.c:
7411 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7412 matches the spec of 6 chars per second. Fixes: NB#60489.
7414 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7416 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7417 gtk_style_lookup_color sometime returns FALSE even though color was
7418 found and values were filled properly. Weird. Removing the warning for the
7421 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7423 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7424 expand vertically. Adding some extra space to the find toolbar buttons to
7425 make them thumbable. Fixes NB#66060.
7427 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7429 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7430 popup with "Ok" and "Cancel". Fixes NB#59299.
7432 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7434 * src/hildon-calendar.c: Process all window updates before executing next
7435 timeout. Fixes: NB#54146.
7437 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7443 * debian/changelog: Updating.
7445 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7447 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7448 the client event and ignore it, since we use the delete event to close
7451 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7453 * src/hildon-helper.c: Remove the bogus warning about color not being
7454 found. Fixes NB#58352.
7456 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7458 * examples/Makefile.am:
7459 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7460 HildonSeekbar widget inside a toolbar.
7462 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7464 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7465 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7466 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7467 don't want to be closed by non-temporary windows on map.
7469 Also use G_DEFINE_TYPE instead of manually typed code.
7471 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7478 * debian/rules: Updating.
7480 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7482 * examples/Makefile.am:
7483 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7484 bug NB#61128. Strangely it works.
7486 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7488 * src/hildon-date-editor.c: When the date editor entry has been changed
7489 but the numbers of characters < max, turn off the skip validation flag.
7490 Prevents a situation when we enter first a valid year and later re-write
7491 it with an invalid one. Fixes NB#60154.
7493 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7495 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7496 code dialog. Fixes NB#64355.
7498 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7500 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7501 switching the page. Fixes NB#49374.
7503 * examples/Makefile.am:
7504 * examples/hildon-wizard-dialog-example.c: Adding an example for
7505 HildonWizardDialog that shows how to handle manual sensitivity setting on
7508 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7512 * src/hildon-version.h.in:
7513 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7515 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7517 * src/hildon-volumebar.c: Updating the docs.
7519 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7525 * debian/changelog: Updating.
7527 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7529 * src/hildon-find-toolbar.c:
7530 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7531 selected item: hildon_find_toolbar_set_active,
7532 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7533 hildon_find_toolbar_get_active_iter . They correspond to respective
7534 GtkComboBox functions.
7536 * examples/Makefile.am:
7537 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7540 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7542 * examples/Makefile.am:
7543 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7546 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7547 when font size > 32 and we pack a focusable widget inside. Actually using
7548 the default response would work too, but since we don't show default
7549 response state in any way (no theming) it would not be visible to the
7550 user. Fixes NB#63430.
7552 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7554 * src/hildon-date-editor.c: Adding the missing variable setter in the
7555 set_property handler. Fixes NB#54182.
7557 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7559 * src/hildon-window.h: Changing the long key press time from 1500ms to
7560 800ms as requested in NB#63700. I have a bad feeling about this, let's
7561 see... Fixes NB#63700.
7563 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7565 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7566 hildon_time_picker_map, hildon_time_picker_realize,
7567 hildon_time_picker_style_set): Split the contents of map to more
7568 appropriate functions; set window decorations on realize and update
7569 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7571 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7576 * debian/changelog: Updating.
7578 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7580 * src/Makefile.am: fixed installation of the header files
7582 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7588 * debian/changelog: Updating.
7590 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7592 * configure.ac: Removing some remaining of --enable-xan.
7594 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7596 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7597 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7599 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7600 2.10.12-osso6 because the move-focus signal needs to be available in
7603 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7605 * examples/Makefile.am:
7606 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7607 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7608 fine. Prolly NB#61128 is fixed now.
7610 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7612 * src/hildon-volumebar.c:
7613 * src/hildon-volumebar.h: Adding the
7614 hildon_volumebar_set_range_insensitive_message and
7615 hildon_volumebar_set_range_insensitive_messagef functions to set
7616 insensitive message on the slider of the volumebar. Fixes NB#61129.
7618 * examples/Makefile.am:
7619 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7620 test the new insensitive messsage functionality on HildonVolumebar.
7622 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7624 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7627 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7629 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7630 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7631 button on after clearing the trail.
7633 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7635 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7637 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7639 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7640 by splitting the installed headers in generated and non-generated groups. Use
7641 only the non-generated headers to create the hildon-enum-types.h file.
7643 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7645 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7647 * src/hildon-window.c: Hide the window before performing the destroy.
7648 Should make the app closing a little tiny bit more snappy.
7650 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7652 * src/hildon-seekbar.c: add gtkrange.h header
7653 * src/hildon-caption.c: remove unused variable
7655 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7657 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7660 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7666 * debian/changelog: Updating.
7668 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7670 * src/hildon-window.c (hildon_window_window_state_event,
7671 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7672 escape timeout on focus-out-event rather than notify::is-topmost; the
7673 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7675 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7677 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7678 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7680 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7682 * src/hildon-window: actually, you need to use the macro always, there's
7683 no private pointer in the instance structure. We should have cleaned this up
7684 when we had the chance...
7686 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7688 * src/hildon-window.c: do not get the private date from HildonWindow before
7689 it passes the g_return_if_fail check. Once it's passed the test, there's no
7690 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7691 if you are only going to access the data once. Whitespace cleanups.
7693 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7695 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7696 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7698 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7704 * debian/changelog: Updating.
7706 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7708 * src/hildon-window.c: When destroying the window, remove (if exists) the
7709 escape timeout handler. Fixes #NB59276.
7711 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7713 * src/hildon-banner.c: When realizing the widget, set the window
7714 transiency. Setting the transiency in the gobject constructor is not
7715 good, as the widget is not realized at that point. Fixes: #NB56624.
7717 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7719 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7720 Add padding for future expansions.
7722 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7724 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7725 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7726 will fake an activation on the previous to the last item of the trail, so
7727 the effect can be overrided by the developer as usual.
7728 Also change the callback for the back button to do the same thing, so its
7729 effect can be overrided too. Fixes: NB#58982
7731 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7733 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7734 HildonCaption. Fixes NB#52379.
7736 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7738 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7739 the internal state of the trail after the user has had the chance of executing
7740 his handler for the signal. Specifically, it may happen that the activated button
7741 is removed and the user still lets the default handler run. This would segfault
7744 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7746 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7747 scrollbar to the preview dialog. Fixes NB#54147.
7749 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7751 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7752 max/min year properties can be altered, so the client can modify it
7753 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7755 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7757 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7758 hildonlike by default. Fixing a problem with disappearing arrows when
7759 scrolling through months and years. Fixes NB#54127.
7761 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7763 * examples/hildon-date-editor-example.c: Adding error callback to the date
7766 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7772 * configure.ac: Updating.
7774 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7776 * configure.ac: Adding a special '--enable-xan' configure option that
7777 turns off the -Werror compilation setting. Usefull for development.
7779 * src/hildon-calendar.c:
7780 * src/hildon-number-editor.c:
7781 * src/hildon-time-picker.c: Adding the 5* multiplier to
7784 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7786 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7787 instead of g_object_ref + gtk_object_sink.
7789 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7795 * debian/changelog: Updating.
7797 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7799 * src/hildon-color-chooser-dialog.c:
7800 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7801 straight from Tommi labs.
7803 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7805 * examples/hildon-finger-example.c: Correcting the header file path.
7807 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7808 the changed signal. Fixes a small memory leak.
7810 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7814 * src/hildon-banner.c: Importing several usefull fixes from the
7815 ubuntu-mobile branch.
7817 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7819 * examples/Makefile.am:
7820 * examples/hildon-finger-example.c: Adding a finger-checking code
7823 * src/hildon-font-selection-dialog.c: Do not allocate the color
7824 structure using the g_new. Fixes NB#54061.
7826 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7828 * src/hildon-helper.c: Correcting tabs in file.
7830 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7832 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7833 control the visibility of the children.
7835 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7837 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7843 * debian/changelog: Updating.
7845 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7847 * src/hildon-bread-crumb-trail.c:
7848 (hildon_bread_crumb_trail_size_allocate):
7850 Make the back button always a square.
7852 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7854 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7855 from the .c file as it's a private file.
7857 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7859 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7860 uses slightly bigger height.
7862 * src/hildon-font-selection-dialog.c: Adding some checks before
7863 freeing memory in the font selection dialog.
7865 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7867 * src/hildon-font-selection-dialog.c: Adding a small check when
7870 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7871 buttons sensitivity on page switching.
7873 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7875 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7876 internal details of adding a bread crumb to the trail.
7878 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7884 * debian/changelog: Updating.
7886 * src/hildon-bread-crumb-trail.h:
7887 * src/hildon-bread-crumb.h: Changing the API guard to
7888 HILDON_ENABLE_UNSTABLE_API.
7890 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7898 * src/hildon-helper.h: Updating.
7900 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7908 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7912 * src/hildon-helper.h: Small fix to make the package actually compile.
7914 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7916 * src/hildon-bread-crumb-trail.h:
7917 * src/hildon-bread-crumb.h:
7919 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7920 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7922 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7924 * examples/hildon-bread-crumb-trail-example.c:
7926 * src/hildon-bread-crumb-trail.c:
7927 * src/hildon-bread-crumb-trail.h:
7928 * src/hildon-bread-crumb.c:
7929 * src/hildon-bread-crumb.h:
7930 * src/hildon-marshalers.list:
7931 * src/hildon-bread-crumb-widget.c:
7932 * src/hildon-bread-crumb-widget.h:
7934 Slight change in the widget design. The bread crumb trail API is
7935 unchanged, but HildonBreadCrumb is now an interface. A *private*
7936 implementation, hildon-bread-crumb-widget, is provided and used
7937 internally by the trail for the push_text/push_icon functions.
7939 The generic push API is still available, so anyone can implement
7940 and use its own bread crumb widget.
7942 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7944 * debian/rules: Fixing the shlibs.
7946 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7948 * src/hildon-banner.c: Fixing a problem with timed banners having
7949 their parrent destroyed before they are.
7951 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7953 * src/hildon-bread-crumb.c:
7954 * src/hildon-bread-crumb.h:
7956 Make the get_natural_size function a vfunc.
7958 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7960 * src/hildon-bread-crumb.c:
7961 * src/hildon-bread-crumb-trail.c:
7965 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7972 * debian/changelog: Updating for release.
7974 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7976 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7977 don't leak the pango layout.
7979 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7982 * examples/hildon-bread-crumb-trail-example.c:
7986 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7988 * debian/changelog: Removing the bug-fixed entries that were actually
7989 resolved as WONTFIX.
7991 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7994 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7996 * src/hildon-bread-crumb-trail.c:
7997 * src/hildon-bread-crumb-trail.h:
7998 * src/hildon-bread-crumb.c:
7999 * src/hildon-bread-crumb.h:
8003 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8005 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8006 until it's passed the type check.
8008 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8010 * examples/hildon-bread-crumb-trail-example.c
8014 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8016 * examples/Makefile.am
8017 * examples/hildon-bread-crumb-trail-example.c
8019 * src/hildon-bread-crumb-trail.c
8020 * src/hildon-bread-crumb-trail.h
8021 * src/hildon-bread-crumb.c
8022 * src/hildon-bread-crumb.h
8024 New HildonBreadCrumbTrail widget.
8026 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8028 * src/hildon-range-editor.c (hildon_range_editor_init),
8029 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8030 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8031 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8032 hildon_time_editor_class_init, hildon_time_editor_init),
8033 src/hildon-get-password-dialog.c (invalid_input,
8034 hildon_get_password_set_property, hildon_get_password_get_property,
8035 create_contents, hildon_get_password_dialog_set_max_characters),
8036 src/hildon-set-password-dialog.c (create_contents),
8037 src/hildon-date-editor.c (hildon_date_editor_init),
8038 src/hildon-login-dialog.c (hildon_login_dialog_init),
8039 src/hildon-number-editor.c (hildon_number_editor_init),
8040 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8041 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8042 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8043 configure option and adding the respective checks in the code.
8044 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8045 hildon_calendar_drag_data_received): fixed some build warnings.
8047 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8049 * debian/changelog: A 1.0.0 release notes.