1 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
3 * examples/hildon-remote-texture-example.c
5 Change the include to the hildon-remote-texture in order to compile
6 properly the examples on the installed libhildon1-examples package
8 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
10 * tests/Makefile.am: Add check for HildonPickerButton.
11 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
12 (START_TEST), (create_hildon_picker_button_suite): Add three simple
13 checks for the HildonPickerButton.
14 * tests/check_test.c (configure_tests): Add the test suite.
15 * tests/test_suites.h: likewise.
17 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
19 * hildon/hildon-touch-selector.c
20 (+on_row_changed): Emit HildonTouchSelector:changed when the
21 contents of a selected row change.
22 (_create_new_column), (_hildon_touch_selector_set_model): connect
23 to GtkTreeModel:row-changed on a newly set model.
25 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
27 2009-05-05 Alberto Garcia <agarcia@igalia.com>
29 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
31 * hildon/hildon-banner.c (hildon_banner_destroy)
32 (hildon_banner_show_progress, hildon_banner_set_fraction):
33 Remove the progress bar from HildonBanner and use a progress
36 Fixes: NB#113761 (Update progress banner to use progress
39 2009-05-04 Alberto Garcia <agarcia@igalia.com>
41 * hildon/hildon-banner.c:
42 Calculate size of the banner label using the actual screen width
43 rather than using a fixed value.
45 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
48 2009-05-04 Alejandro G. Castro <alex@igalia.com>
50 * hildon/hildon-pannable-area.c,
51 (hildon_pannable_area_class_init): Fixed signals documentation
54 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
56 * configure.ac: post release version bump
57 * debian/changelog: post release version bump
59 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
64 * configure.ac: Bump version.
65 * debian/changelog: Updates.
67 2009-05-01 Alberto Garcia <agarcia@igalia.com>
69 * hildon/hildon-edit-toolbar.c
70 (hildon_edit_toolbar_init):
71 Don't let buttons in HildonEditToolbar receive focus.
73 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
74 typing on an HW arrows key)
76 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
78 * doc/Makefile.am: Fix build.
80 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
82 * doc/Makefile.am: Do not redefine content_files.
84 2009-04-30 Alberto Garcia <agarcia@igalia.com>
92 Renamed src/ to hildon/
97 Include <hildon/hildon.h> directly in all examples.
99 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
101 * src/hildon-sort-dialog.c
102 (hildon_sort_dialog_add_sort_key_with_sorting)
106 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
108 * src/Makefile.am: Move generated sources to CLEANFILES, so that
109 make distcheck passes.
111 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
113 * Makefile.am: Enable gtk-doc during distcheck.
115 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
117 * Makefile.am: Do not distribute the debian/ directory.
119 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
121 * doc/Makefile.am: Add the extra SGML files to content_files,
122 so that they are distributed properly.
124 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
126 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
129 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
131 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
132 (hildon_note_new_information_with_icon_name): Set the "icon" property
133 to preserve soundness.
135 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
137 * src/hildon-font-selection-dialog.c
138 (hildon_font_selection_dialog_set_property): Fail when the "family"
139 property is set to NULL.
141 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
143 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
146 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
148 * src/hildon-time-selector.h:
149 Added HildonTimeSelectorFormatPolicy
150 * src/hildon-time-selector.c:
151 Added PROP_TIME_FORMAT_POLICY
152 (_check_ampm_format): renamed to check_automatic_ampm_format
153 (update_format_policy), (update_format_dependant_columns): new functions
154 (hildon_time_selector_class_init)
155 (hildon_time_selector_contructor)
156 (hildon_time_selector_init)
157 (hildon_time_selector_get_property)
158 (hildon_time_selector_set_property)
159 (hildon_time_selector_get_time)
160 (hildon_time_selector_set_time)
161 * src/hildon-touch-selector.h: new file
162 * src/hildon-touch-selector.c
163 (hildon_touch_selector_emit_changed)
164 (hildon_touch_selector_block_changed)
165 (hildon_touch_selector_unblock_changed)
166 Added functions to allow to block the emission of the "changed" signal
167 * src/hildon-picker-dialog.c
168 (hildon_picker_dialog_show): call the parent show before the custom code
169 * examples/hildon-time-button-example.c
170 Modified, so now you can configure the time format using the new property
172 Added a new property "time-format-policy" that allow to choose the time
173 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
174 case it uses gconf in order to check if the time selector must use
177 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
180 2009-04-28 Alberto Garcia <agarcia@igalia.com>
182 * src/hildon-note.c (hildon_note_init):
183 Label in HildonNote must be left aligned, not centered. This
184 reverts the last commit in HildonNote.
186 Fixes: NB#112933 (text is not left aligned in confirmation dialog
187 is connectivity dialog)
189 2009-04-27 Alberto Garcia <agarcia@igalia.com>
194 * doc/hildon-sections.txt:
195 Added hildon_gtk_window_set_do_not_disturb()
197 2009-04-27 Alberto Garcia <agarcia@igalia.com>
199 * src/hildon-note.c (hildon_note_init): Center label.
201 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
204 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
209 * configure.ac: Bump version.
210 * debian/changelog: Updates.
212 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
214 * src/hildon-note-private.h: Add button-width to the private data.
215 * src/hildon-note.c (+resize_button),
216 (+hildon_note_orientation_update): methods to repack widgets on orientation
218 (screen_size_changed): Call above method for confirmation notes.
219 (hildon_note_realize): Always connect to the "screen-size" changed signal.
220 (hildon_note_rebuild): Store the original width request from buttons.
222 Fixes: NB#109635 (Confirmation notes do not support portrait)
224 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
226 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
227 when it is a progress note.
229 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
231 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
232 in the note, since there are no horizontally arranged contents.
234 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
236 * src/hildon-gtk.c (+set_flag): new generic method to
237 set/delay a flag setting in a window.
238 (hildon_gtk_window_set_progress_indicator):
239 (hildon_gtk_window_set_do_not_disturb),
240 (hildon_gtk_window_set_portrait_flags): use set_flag() to
241 avoid code redundance.
243 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
245 Based on a patch by Alberto Garcia (agarcia@igalia.com)
247 * src/hildon-gtk.c (set_clear_window_flag),
248 (do_set_progress_indicator), (do_set_do_not_disturb),
249 (do_set_portrait_flags),
250 (hildon_gtk_window_set_progress_indicator),
251 (hildon_gtk_window_set_do_not_disturb),
252 (hildon_gtk_window_set_portrait_flags):
253 Allow setting dnd-flag, progress indicator, and portrait flags
254 when the window is not realized.
256 2009-04-24 Alejandro G. Castro <alex@igalia.com>
258 * src/hildon-pannable-area.c,
259 * src/hildon-pannable-area.h: Add the hildon deprecated define to
260 the size request policy function and defines.
262 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
264 * doc/hildon-sections.txt: Add the new API.
265 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
266 method to set the portrait flags.
267 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
269 Fixes: NB#112328 (Adding helpers for setting portrait properties)
271 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
273 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
274 to allow using this method with other flags.
275 (hildon_gtk_window_set_progress_indicator): Update accordingly.
276 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
278 2009-04-22 Alberto Garcia <agarcia@igalia.com>
280 * src/hildon-touch-selector.c
281 (hildon_touch_selector_append_text_column):
282 Make the cell renderer use the smallest width possible.
284 Fixes: NB#108470 (Selected items in multiple selection are either
285 having a tick that is cut or not visible at all.)
287 2009-04-22 Alberto Garcia <agarcia@igalia.com>
289 * src/hildon-touch-selector.c
290 (hildon_touch_selector_append_text_column):
293 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
295 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
296 Use g_strdup_printf() instead of a fixed size buffer.
298 2009-04-21 Alberto Garcia <agarcia@igalia.com>
300 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
301 Close banners when a HildonAppMenu is popped up.
303 Fixes: NB#111027 (Title menu closed immediately if activated when
304 "Invalid e-mail address" banner is shown)
306 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
311 * configure.ac: Bump version.
312 * debian/changelog: Updates.
314 2009-04-20 Alberto Garcia <agarcia@igalia.com>
316 * src/hildon-banner.c (hildon_banner_realize):
317 Mark HildonBanner as supporting portrait mode.
318 Use GDK to set window properties insetad of direct Xlib calls.
320 Fixes: NB#111830 (HildonBanner should be marked as supporting
323 2009-04-20 Alberto Garcia <agarcia@igalia.com>
325 * src/hildon-note.c (hildon_note_rebuild):
326 Hide action area in information notes. Prevents text from being
327 slightly aligned to the left.
329 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
332 2009-04-20 Alberto Garcia <agarcia@igalia.com>
334 Patch by Mox Soini (ext-mox.soini@nokia.com)
336 * src/hildon-banner.c (hildon_banner_create_animation):
337 Use stylus-sized icons in animation banner.
339 Fixes: NB#111206 (stylus sized icon for animation banner)
341 2009-04-20 Alberto Garcia <agarcia@igalia.com>
345 (+hildon_gtk_window_set_do_not_disturb):
346 New API to set the do-not-disturb flag.
348 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
350 2009-04-20 Alberto Garcia <agarcia@igalia.com>
352 * examples/hildon-progress-indicator-example.c: Fix example
354 * src/hildon-gtk.c (set_clear_window_flag)
355 (hildon_gtk_window_set_progress_indicator):
356 Create a generic function for setting flags to a window.
357 Use GDK instead of direct Xlib calls.
359 2009-04-14 Alberto Garcia <agarcia@igalia.com>
361 * src/hildon-button.c (hildon_button_set_arrangement):
362 Due to NB#88126, if one of the labels is too long it will be
363 painted outside the button. The 'value' label is more likely to be
364 the longest one, so we change its packing options in order to
365 truncate it if necessary. As a side effect, the 'title' label will
366 no longer be truncated.
368 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
370 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
375 * configure.ac: Bump version.
376 * debian/changelog: Updates.
378 2009-04-13 Alejandro G. Castro <alex@igalia.com>
380 Deprecation of the hildon_pannable_area_set_size_request_policy
381 API, the only policy properly supported in gtk+ nowadays is the
384 * src/hildon-pannable-area.c,
385 (hildon_pannable_area_size_request): Added a workaround for the
386 size_request to avoid the problems of huge pixmaps in case someone
387 is still using the function.
388 * src/hildon-pannable-area.h: Deprecated the enum with the
391 Fixes: NB#110244 (Problems with the
392 hildon_pannable_area_set_size_request_policy API)
394 2009-04-08 Alejandro G. Castro <alex@igalia.com>
396 * src/hildon-pannable-area.c,
397 (hildon_pannable_area_init),
398 (hildon_pannable_area_size_request),
399 (hildon_pannable_area_style_set),
400 (hildon_pannable_draw_vscroll),
401 (hildon_pannable_draw_hscroll),
402 (hildon_pannable_area_check_scrollbars): Replaced area_width with
403 indicator_width to clarify the use of the attribute.
405 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
410 * configure.ac: Bump version.
411 * debian/changelog: Updates.
413 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
415 * src/hildon-picker-dialog.c
416 * src/hildon-touch-selector.c
417 Reverting the change that tried to avoid the hardcoded height on
418 the picker dialog, as causes problems on the hildon-touch-selector
421 Fixes: NB#110029 (selectors not scrolling to selected value)
423 2009-04-07 Alberto Garcia <agarcia@igalia.com>
425 * src/hildon-touch-selector.c: Fix typos
427 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
429 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
430 Use the event coordinates instead of gdk_window_get_pointer(). Also,
431 request more motions after using it.
433 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
435 * src/hildon-calendar.c (hildon_calendar_expose),
436 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
437 Remove unused variables.
439 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
441 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
444 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
446 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
447 Check the return value of gtk_tree_selection_get_selected()
450 2009-04-06 Alberto Garcia <agarcia@igalia.com>
452 * src/hildon-animation-actor.c
453 * src/hildon-button.c
455 * src/hildon-pannable-area.c
456 * src/hildon-picker-button.c
457 * src/hildon-program.c
458 * src/hildon-remote-texture.c
459 * src/hildon-text-view.c
460 * src/hildon-touch-selector.c
461 * src/hildon-window-stack.c
462 * src/hildon-window.c:
463 Add missing 'Since: 2.2' tags.
465 * doc/hildon-sections.txt:
466 Add some missing symbols.
468 * doc/hildon-docs.sgml:
469 New 'Other' section for HildonAnimationActor and
472 2009-04-06 Alberto Garcia <agarcia@igalia.com>
474 Patch by Iván Gómez (igomez@igalia.com)
478 * doc/hildon-docs.sgml
479 * doc/hildon-sections.txt
483 New chapters on using the Hildon library.
484 Updated the general structure of the reference manual.
485 Other minor documentation fixes.
487 * src/hildon-calendar-popup.c
488 * src/hildon-calendar.c
489 * src/hildon-controlbar.c
490 * src/hildon-date-editor.c
491 * src/hildon-dialog.c
492 * src/hildon-hvolumebar.c
493 * src/hildon-number-editor.c
494 * src/hildon-range-editor.c
495 * src/hildon-sort-dialog.c
496 * src/hildon-time-editor.c
497 * src/hildon-time-picker.c
498 * src/hildon-volumebar-range.c
499 * src/hildon-volumebar.c
500 * src/hildon-vvolumebar.c
501 * src/hildon-weekday-picker.c:
502 Add deprecation notes
504 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
505 Document 'horizontal-movement' and 'vertical-movement' signals.
507 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
512 * configure.ac: Bump version.
513 * debian/changelog: Updates.
515 2009-04-06 Alejandro G. Castro <alex@igalia.com>
517 * src/hildon-pannable-area.c,
518 (hildon_pannable_area_class_init): increased the minimum velocity.
519 (hildon_pannable_area_button_release_cb): Updated the
520 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
521 setup. Review the code to control that last event.
523 Fixes: NB#109790 (Releasing finger in pannable area easily causes
526 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
528 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
530 * src/hildon-get-password-dialog.c
531 (hildon_get_password_set_property),
532 (hildon_get_password_get_property), (create_contents):
533 * src/hildon-login-dialog-private.h:
534 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
535 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
536 (hildon_login_dialog_get_password):
537 * src/hildon-set-password-dialog-private.h:
538 * src/hildon-set-password-dialog.c
539 (hildon_set_password_set_property),
540 (hildon_set_password_get_property), (create_contents),
541 (hildon_set_password_response_change),
542 (hildon_set_password_response_set), (hildon_checkbox_toggled):
544 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
545 instead and look more Fremantle style.
547 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
549 2009-04-03 Alberto Garcia <agarcia@igalia.com>
551 * doc/hildon-sections.txt
552 * src/hildon-window-stack.h
553 * src/hildon-window-stack.c
554 (+hildon_window_stack_get_windows):
555 New API to obtain the list of windows on a stack.
557 2009-04-02 Alberto Garcia <agarcia@igalia.com>
559 * src/hildon-app-menu.c (hildon_app_menu_popup)
560 (hildon_app_menu_class_init, -hildon_app_menu_show):
561 Remove hildon_app_menu_show() and move all its checks to
562 hildon_app_menu_popup()
564 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
566 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
567 (_hildon_picker_dialog_set_selector): removed call to
568 gtk_widget_set_size_request
569 * src/hildon-touch-selector.c
570 (_create_new_column): change the pannable size request policy
572 Avoid to use a hardcoded height for the hildon picker dialog. In order
573 to get that, we needed to change the hildon pannable size request
575 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
577 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
579 * src/hildon-window.c (hildon_window_map): Check for vbox to be
580 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
583 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
585 * debian/control: Depend on osso-system-lock localization package.
586 * src/hildon-code-dialog.c: Obtain the secu_application_title
587 translation from osso-system-lock.
588 * src/hildon-get-password-dialog.c (create_contents): Do not mark
589 for translation the atk related strings, that's not necessary.
590 * src/hildon-set-password-dialog.c (create_contents): Ditto.
591 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
592 cancel button, it is not required.
594 2009-04-02 Alejandro G. Castro <alex@igalia.com>
596 * src/hildon-pannable-area.c,
597 (hildon_pannable_area_class_init): Modified the default value of
598 the overshooting max speed, we have reduced it.
600 2009-04-02 Alberto Garcia <agarcia@igalia.com>
602 * doc/hildon-sections.txt
603 * src/hildon-window-private.h
604 * src/hildon-window.h
605 * src/hildon-window.c (hildon_window_class_init)
606 (hildon_window_init, hildon_window_finalize)
607 (hildon_window_realize, hildon_window_get_property)
608 (hildon_window_set_property, hildon_window_update_markup)
609 (hildon_window_get_markup, hildon_window_set_markup):
610 New "markup" property and hildon_window_{get,set}_markup() methods.
612 * examples/hildon-stackable-window-example.c (new_window):
613 Update example to use hildon_window_set_markup()
615 Fixes: NB#106375 (Need API to retitle a window with a title
618 2009-04-01 Alejandro G. Castro <alex@igalia.com>
620 * src/hildon-pannable-area.c,
621 (hildon_pannable_area_class_init): Changed the default value of
622 the initial_hint to TRUE.
623 (hildon_pannable_area_initial_effect): Changed the initial effect,
624 not the effect is just the fade-out of the scrollbars.
626 Fixes: NB#107775 (No scrollbars can be seen when several items are
627 available in a dialog)
629 2009-04-01 Alberto Garcia <agarcia@igalia.com>
631 * src/hildon-program.c (hildon_program_update_top_most):
634 Fixes: NB#109179 (Memory leak in Hildon program)
636 2009-04-01 Alberto Garcia <agarcia@igalia.com>
638 * src/hildon-banner.c (-get_current_app_window):
639 Remove unused function.
641 2009-04-01 Alejandro G. Castro <alex@igalia.com>
643 * src/hildon-pannable-area.c: Modified the documentation of the
644 get adjustments functions to explain the problem of using the
646 (hildon_pannable_area_class_init): Improved the explanation about
649 2009-04-01 Alberto Garcia <agarcia@igalia.com>
651 * src/hildon-app-menu-private.h
652 * src/hildon-app-menu.c
653 (hildon_app_menu_class_init):
654 Bring back the 'external-border' style property
655 (hildon_app_menu_class_init, hildon_app_menu_init)
656 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
657 Set a fixed width-request for the menu, independent of the number
660 Fixes: NB#94957 (Smoothly opened application menu)
662 2009-03-30 Alberto Garcia <agarcia@igalia.com>
664 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
666 * src/hildon-banner.c
667 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
669 Make sure that the banner is correctly placed the first time it's
671 (hildon_banner_check_position, -check_fullscreen_state):
672 Show the banner in the same place no matter if the window is in
673 fullscreen mode or not.
675 Fixes: NB#107386 (Odd stacking behaviour for information banners)
677 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
679 * src/hildon-touch-selector.c (_default_print_func): reorder
680 concatenation for clarity.
682 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
684 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
685 for multicolumn selectors.
687 Fixes: NB#109099 (Memory leak in Hildon touch selector)
689 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
694 * configure.ac: Bump version.
695 * debian/changelog: Updates.
697 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
699 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
702 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
704 * configure.ac: removed libcangerra-gtk dependency
705 * debian/control: removed libcanberra-gtk dependency
706 * src/Makefile.am: removed libcanberra gtk related flags
707 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
708 context, and manage a global canberra context instead
710 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
712 2009-03-26 Alberto Garcia <agarcia@igalia.com>
714 Patch by Daniel Borgmann (danielb@openismus.com)
716 * src/hildon-edit-toolbar.c:
717 Adjust the left padding.
718 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
719 Paint background of the edit toolbar.
721 Fixes: NB#107897 (Patch to make editmodetoolbar background
722 themeable and adjust margin)
724 2009-03-25 Alberto Garcia <agarcia@igalia.com>
726 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
728 * src/hildon-program.c (hildon_program_update_top_most):
729 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
731 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
732 change when the user tasks in/out of an application)
734 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
736 * configure.ac: added libcangerra-gtk dependency
737 * debian/control: added libcanberra-gtk dependency
738 * src/Makefile.am: added libcanberra gtk related flags
739 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
742 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
744 2009-03-25 Alberto Garcia <agarcia@igalia.com>
746 * src/hildon-program.c (hildon_program_remove_window)
747 (hildon_program_add_window): Add checks for the window
748 parameter. Don't decrease the window counter if the window is not
751 2009-03-24 Alejandro G. Castro <alex@igalia.com>
753 * src/hildon-pannable-area.c,
754 (hildon_pannable_area_realize): Fixed position of the event_window
755 in the realize method.
757 2009-03-24 Alberto Garcia <agarcia@igalia.com>
759 * src/hildon-app-menu-private.h
760 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
761 (hildon_app_menu_map, hildon_app_menu_hide_idle)
762 (hildon_app_menu_key_press, hildon_app_menu_init)
763 (hildon_app_menu_finalize):
764 Make sure that all idle functions are removed when the widget is
767 Fixes: NB#107583 (Hildon app menu crashes in various applications)
769 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
774 * configure.ac: Bump version.
775 * debian/changelog: Updates.
777 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
780 (+hildon_entry_show_placeholder),
781 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
782 that replace hildon_entry_update_contents().
783 (hildon_entry_set_text),
784 (hildon_entry_set_placeholder),
785 (hildon_entry_focus_in_event),
786 (hildon_entry_focus_out_event): Determine when it is needed
787 either to show or hide the placeholder and call the above methods.
789 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
790 when the placeholder text is already set)
792 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
794 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
795 simple GdkPixbufAnim using the new icons for the banner.
796 (hildon_banner_show_animation): Use the above mentioned method to
797 create the animation widget.
799 Fixes: NB#103564 (Make hildon animation banner use individual
800 image files as the animation)
802 2009-03-24 Alejandro G. Castro <alex@igalia.com>
804 * src/hildon-pannable-area.c,
805 (hildon_pannable_leave_notify_event): Check if the child is NULL
806 to avoid sending the leave.
808 2009-03-24 Alejandro G. Castro <alex@igalia.com>
810 * src/hildon-pannable-area.c,
811 (hildon_pannable_area_class_init),
812 (hildon_pannable_leave_notify_event): Added a handler of the
813 leave-notify-signal to consider when no motion notify before
816 Fixes: NB#107494 (Items stay selected when clicking and moving
817 away when inside pannable area)
819 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
824 * configure.ac: Bump version.
825 * debian/changelog: Updates.
827 2009-03-19 Alejandro G. Castro <alex@igalia.com>
829 Patch by Alberto Garcia (agarcia@igalia.com)
831 * src/hildon-date-button.c,
832 (hildon_date_button_class_init),
833 (hildon_date_button_init): Removed the construct property handling
834 and created a default selector in the init method.
835 * src/hildon-picker-button.c,
836 (hildon_picker_button_class_init): Removed the construct flag of the
839 2009-03-18 Alberto Garcia <agarcia@igalia.com>
841 * src/hildon-main.c (hildon_init):
842 Don't allow hildon_init() to be called more than once.
844 Fixes: NB#106607 (hildon_init should issue error message upon
847 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
849 * examples/hildon-pannable-area-touch-list-example.c
850 * examples/hildon-pannagle-area-touch-grid-example.c
851 * examples/hildon-edit-toolbar-example.c
852 * examples/hildon-touch-selector-multi-cells-example.c
853 Removed the call to gtk_rc_parse_string, as it is not required since
856 2009-03-17 Alejandro G. Castro <alex@igalia.com>
858 * src/hildon-pannable-area.c,
859 (hildon_pannable_area_class_init): Modified the default panning
860 threshold of the widget to 6px.
862 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
863 than the threshold value ) within the button is not sending the
866 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
868 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
869 for the treeview in the new column. This way, the touch list will never
872 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
873 be selected manually for the HW keys to work)
875 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
877 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
878 comparison instead of using strcmp(). Fixes a compiler warning as well.
880 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
882 * doc/hildon-docs.sgml: Do not set the library version in the
883 document title, use the releaseinfo tag for that purpose instead.
885 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
887 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
888 Do not jump to the first item if the text in the entry is removed.
890 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
895 * configure.ac: Bump version.
896 * debian/changelog: Updates.
898 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
900 * src/hildon-entry.c (hildon_entry_refresh_contents):
901 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
902 Use "ReversedSecondaryTextColor" for the placeholder text.
904 2009-03-12 Alberto Garcia <agarcia@igalia.com>
906 * src/hildon-text-view.c: Fix compilation warning.
908 2009-03-12 Alberto Garcia <agarcia@igalia.com>
910 * src/hildon-button.c (hildon_button_class_init): Don't make
911 "title" and "value" construction properties, to prevent them from
912 overwriting labels set from derived classes.
914 * src/hildon-picker-button.c
915 (hildon_picker_button_set_selector): Allow setting a NULL selector.
916 (hildon_picker_button_class_init): Make touch-selector a
917 construction property.
919 * src/hildon-date-button.c (hildon_date_button_class_init)
920 (+hildon_date_button_constructed): Add a default date selector if
923 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
925 * src/hildon-touch-selector.c: Small documentation fixes.
927 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
929 Based on a patch by Daniel Borgmann (danielb@openismus.com)
931 * src/hildon-entry.c (hildon_entry_refresh_contents),
932 (hildon_entry_get_text), (hildon_entry_init): Do not use the
933 widget name, set the logical color directly instead and a boolean
934 showing_placeholder instead.
935 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
936 use the widget name here either.
938 Fixes: NB#105678 (HildonTextView should use logical colours
939 instead of setting widget name)
941 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
943 Patch by Daniel Elster (danielk@openismus.com)
945 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
946 Add user_data parameter.
947 (hildon_touch_selector_set_print_func_full): New function akin
948 hildon_touch_selector_set_print_func() but with support for user
949 data and a destroy callback.
950 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
951 to clean up the print function user data.
952 (hildon_touch_selector_class_init): Install dispose function.
953 (HildonTouchSelectorPrivate::print_user_data),
954 (HildonTouchSelectorPrivate::print_destroy_func): New private
956 (hildon_touch_selector_init): Initialize new private members.
957 (hildon_touch_selector_get_current_text): Pass along user data
958 to the print function.
959 (_default_print_func): Add dummy user_data to parameter list.
960 * hildon-date-selector.c (_custom_print_func): ditto,
961 * hildon-time-selector.c (_custom_print_func): ditto,
962 * hildon-touch-selector-entry.c
963 (hildon_touch_selector_entry_print_func): ditto.
965 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
967 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
969 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
971 2009-03-12 Alejandro G. Castro <alex@igalia.com>
973 * src/hildon-pannable-area.c,
974 (hildon_pannable_area_init),
975 (hildon_pannable_area_button_press_cb),
976 (hildon_pannable_area_motion_notify_cb): We have added code to
977 handle the leave and enter events when using the motion events.
979 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
981 2009-03-11 Alberto Garcia <agarcia@igalia.com>
983 * src/hildon-date-button.c (hildon_date_button_get_date)
984 (hildon_date_button_set_date): Make sure that the button has a
987 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
989 2009-03-11 Alejandro G. Castro <alex@igalia.com>
991 * src/hildon-pannable-area.c,
992 (hildon_pannable_area_class_init),
993 (hildon_pannable_area_calculate_velocity): Modify the use of the
994 force and adapt the value.
996 2009-03-10 Alberto Garcia <agarcia@igalia.com>
998 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
999 (hildon_app_menu_class_init): Hide the menu if it receives a
1000 delete-event, but don't destroy it
1002 Fixes: NB#104485 (Not able to address the call when application
1003 menu is opened at background)
1005 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1007 * src/hildon-app-menu.c
1008 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1009 Remove the "external-border" style property, let the menu take its
1010 natural size (or the one set by the window manager)
1011 (hildon_app_menu_repack_items):
1012 Don't reshow the menu, avoid flickers.
1014 Partially fixes NB#94957 (Smoothly opened application menu)
1016 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1021 * configure.ac: Bump version.
1022 * debian/changelog: Updates.
1024 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1026 * src/hildon-pannable-area.c,
1027 (hildon_pannable_area_motion_notify_cb): We control that the
1028 direction error margin is used just in case the movement is
1029 allowed in the other direction.
1031 Fixes: NB#105012 (buttons inside a pannable area not getting
1032 release event when dragging/releasing)
1034 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1036 * src/hildon-pannable-area.c,
1037 (hildon_pannable_area_class_init),
1038 (hildon_pannable_area_get_property),
1039 (hildon_pannable_area_set_property),
1040 (hildon_pannable_area_initial_effect),
1041 (hildon_pannable_axis_scroll),
1042 (hildon_pannable_area_button_release_cb): Reviewed the
1043 overshooting effect, now it has its own max
1044 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1045 speed when bouncing.
1047 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1052 * configure.ac: Bump version.
1053 * debian/changelog: Updates.
1055 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1057 * src/hildon-pannable-area.c,
1058 (hildon_pannable_area_class_init): Changed the max speed, now
1059 users can launch the widget very fast. Reduced the default force,
1060 that way it is easier to control the launch speed.
1062 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1064 * src/hildon-pannable-area.c,
1065 (hildon_pannable_area_button_release_cb): Removed this check
1066 because it causes problems when the device is overloaded.
1068 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1070 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1071 add a current_text field to store the text entered in the
1072 touch selector entry.
1073 (_clean_current_selection): clean up the current text as well.
1074 (_save_current_selection), (_restore_current_selection):
1075 Save/restore the text in the entry if the selector is a
1076 HildonTouchSelectorEntry.
1078 Fixes: NB#102541 (value entered in the touch selector entry is not
1079 shown when opened for second time)
1081 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1083 * doc/hildon-sections.txt:
1084 * src/hildon-touch-selector-entry.c
1085 (+hildon_touch_selector_entry_get_entry):
1086 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1088 Fixes: NB#104815 (I need accessor to the entry inside
1089 HildonTouchSelectorEntry)
1091 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1093 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1094 (hildon_app_menu_class_init):
1095 New "filter-vertical-spacing" style property.
1097 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1099 * src/hildon-find-toolbar.c
1100 (hildon_find_toolbar_emit_close)
1101 (hildon_find_toolbar_emit_invalid_input)
1102 (hildon_find_toolbar_entry_activate):
1103 Use g_signal_emit() instead of g_signal_emit_by_name()
1105 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1107 Patch by Mox Soini (ext-mox.soini@nokia.com)
1109 * tests/TEST-CASES.txt
1110 * tests/check-hildon-banner.c
1111 * tests/check-hildon-note.c
1112 * src/hildon-banner.c
1113 * src/hildon-code-dialog.c
1114 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1115 * src/hildon-time-editor.c
1116 * examples/hildon-lookup-example.c (main):
1117 Replace obsolete icon names with new ones.
1119 * src/hildon-find-toolbar-private.h:
1120 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1121 (-hildon_find_toolbar_emit_search):
1122 Remove find button and change icon of close button.
1124 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1126 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1128 * src/hildon-time-button.c (hildon_time_button_new_step):
1129 Use the "touch-selector" property to set the selector directly
1130 when creating the object.
1132 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1134 Added a new example application that allows tuning the pannable
1135 area and replaced defines with properties in order to simplify the
1136 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1137 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1138 PROP_DIRECTION_ERROR_MARGIN.
1140 * examples/hildon-pannable-area-tuning-example.c: New example
1142 * src/hildon-pannable-area.c,
1143 (hildon_pannable_area_class_init),
1144 (hildon_pannable_area_init),
1145 (hildon_pannable_area_get_property),
1146 (hildon_pannable_area_set_property),
1147 (hildon_pannable_area_launch_fade_timeout),
1148 (hildon_pannable_area_adjust_value_changed),
1149 (hildon_pannable_axis_scroll),
1150 (hildon_pannable_area_motion_notify_cb),
1151 (hildon_pannable_area_scroll_cb),
1152 (hildon_pannable_area_button_release_cb): We have converted some
1153 of the defines that control the widget to properties to simplify
1156 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1158 * src/hildon-app-menu.c (hildon_app_menu_map)
1159 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1160 so it's closed if a new window appears.
1162 Fixes: NB#104485 (Not able to address the call when application
1163 menu is opened at background)
1165 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1167 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1168 missing 'break' statement in in 'case' construct to avoid
1171 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1173 * src/hildon-touch-selector-entry.c
1174 (hildon_touch_selector_entry_get_property),
1175 (hildon_touch_selector_entry_set_property): Add missing 'break'
1176 statements in in 'case' constructs to avoid incorrect warnings.
1178 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1180 * src/hildon-time-editor.c
1181 (hildon_time_editor_get_time_separators): Do not crash if
1182 the first label is NULL.
1184 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1186 * src/hildon-date-selector.c (_month_days): Check for month to be
1187 strictly less than 12, since otherwise we may overrun the array.
1189 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1191 * src/hildon-date-button.c (+hildon_date_button_new_full)
1192 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1193 (hildon_date_button_init): Set the date selector using a
1194 construction property, to make it happen after HildonButton's
1195 "value" property is set.
1197 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1198 current date by default)
1200 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1202 * doc/hildon-sections.txt
1203 * src/hildon-program.c
1204 * src/hildon-stackable-window.c
1205 * src/hildon-window.c:
1206 Documentation updates
1208 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1210 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1211 (hildon_window_stack_new, +hildon_window_stack_set_property)
1212 (+hildon_window_stack_get_property)
1213 (hildon_window_stack_class_init)
1214 (+hildon_window_stack_set_window_group)
1215 (+hildon_window_stack_get_window_group):
1216 Make the window group a construction property.
1218 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1220 * doc/hildon-sections.txt
1221 * src/hildon-stackable-window-private.h
1222 * src/hildon-stackable-window.h
1223 * src/hildon-stackable-window.c
1224 (-hildon_stackable_window_set_app_menu)
1225 (-hildon_stackable_window_get_app_menu)
1226 (-hildon_stackable_window_toggle_menu)
1227 (-hildon_stackable_window_finalize)
1228 (hildon_stackable_window_class_init)
1229 (hildon_stackable_window_init)
1230 * src/hildon-window-private.h
1231 * src/hildon-window.h
1232 * src/hildon-window.c (hildon_window_init)
1233 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1234 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1235 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1236 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1237 Moved all HildonAppMenu code to HildonWindow. The menu does not
1238 require a HildonStackableWindow anymore.
1240 * src/hildon-app-menu.c
1241 * src/hildon-program.c
1242 * examples/hildon-app-menu-example.c (main):
1243 Update examples and documentation to reflect HildonAppMenu
1246 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1248 * src/hildon-remote-texture.c
1249 * src/hildon-animation-actor.c:
1250 Don't include unused private headers.
1252 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1254 * src/hildon-program-private.h
1255 * src/hildon-program.c
1256 (hildon_program_set_common_menu)
1257 (hildon_program_get_common_menu)
1258 (hildon_program_set_common_app_menu)
1259 (hildon_program_get_common_app_menu):
1260 Change common menu pointers from GtkWidget* to GtkMenu* and
1261 HildonAppMenu* to avoid unnecessary casts.
1263 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1265 * src/hildon-window.c (hildon_window_set_main_menu):
1266 Removed incorrect 'Since:' tag
1268 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1270 * src/hildon-pannable-area.c,
1271 (hildon_pannable_area_calculate_velocity): We use now the
1272 RATIO_TOLERANCE here to check the distance, fixed typo in the
1274 (hildon_pannable_area_motion_notify_cb): We have to set the type
1275 and time even if we are not sending the motion.
1277 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1279 * doc/hildon-sections.txt
1280 * src/hildon-app-menu.h
1281 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1282 (+hildon_app_menu_get_filters): New methods to get the contents of
1285 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1288 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1290 * src/hildon-app-menu.c (hildon_app_menu_popup):
1293 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1295 * src/hildon-window.h
1296 * src/hildon-window.c (+hildon_window_get_main_menu)
1297 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1298 and deprecated hildon_window_get_menu().
1300 * src/hildon-stackable-window.h
1301 * src/hildon-stackable-window.c
1302 (+hildon_stackable_window_set_app_menu)
1303 (+hildon_stackable_window_get_app_menu)
1304 (hildon_stackable_window_set_main_menu): Created
1305 hildon_stackable_window_{get,set}_app_menu() and deprecated
1306 hildon_stackable_window_set_main_menu().
1308 * doc/hildon-sections.txt
1309 * examples/hildon-app-menu-example.c (main)
1310 * src/hildon-app-menu.c
1311 * src/hildon-program.c:
1312 Updated examples and documentation.
1314 Fixes: NB#103758 (No way to obtain a menu from a
1315 HildonStackableWindow)
1317 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1322 * configure.ac: Bump version.
1323 * debian/changelog: Updates.
1325 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1327 * examples/hildon-remote-texture-example.c: Include
1328 hildon-remote-texture.h explicitely.
1329 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1330 applications not defining _XOPEN_SOURCE which don't require this header.
1332 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1334 * doc/hildon-sections.txt
1335 * src/hildon-app-menu.h
1336 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1337 New function to pop up a HildonAppMenu
1339 * src/hildon-stackable-window.c
1340 (hildon_stackable_window_toggle_menu):
1341 Use hildon_app_menu_popup() to show the menu.
1343 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1345 * src/hildon-app-menu.c (hildon_app_menu_show)
1346 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1347 menu if there's another window between it and its parent window.
1349 Fixes: NB#100468 (Application menu window is launched even when a
1350 new secondary-window/dialog is pending to be shown/realized)
1352 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1354 * src/hildon-window-stack.c (hildon_window_stack_push)
1355 (hildon_window_stack_pop_and_push):
1356 Don't forget to push/pop the first window.
1357 Reverse the window list before calling _push_list()
1359 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1361 * src/hildon-picker-button.h
1362 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1363 Remove "value_changed" slot to avoid ABI breakage
1365 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1367 * src/hildon-pannable-area.c,
1368 (hildon_pannable_area_realize),
1369 (hildon_pannable_area_unrealize),
1370 (hildon_pannable_draw_vscroll),
1371 (hildon_pannable_draw_hscroll): Changed the method to handle the
1372 GC used to draw the transparent scrollbar, this way we avoid
1373 creating the GC all the time when drawing the scrollbars.
1375 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1377 * src/hildon-pannable-area.c,
1378 (hildon_pannable_area_init),
1379 (hildon_pannable_area_remove): Removed some unnecessary casts.
1380 (hildon_pannable_area_dispose): Disconnected some signals before
1381 releasing the adjustments.
1383 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1385 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1386 Make sure that all widgets contained in the toolbar are shown.
1388 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1390 * doc/hildon-sections.txt
1391 * src/hildon-picker-button.h
1392 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1393 (_selection_changed, hildon_picker_button_on_dialog_response)
1394 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1395 New hildon_picker_button_value_changed() method.
1398 * src/hildon-picker-button-private.h
1399 * src/hildon-picker-button.c (hildon_picker_button_init)
1400 (+hildon_picker_button_disable_value_changed): Add protected
1401 function for disabling the "value-changed" signal.
1403 * src/hildon-date-button.c (hildon_date_button_set_date):
1404 Don't emit "value-changed" for each one of the three columns.
1406 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1407 before actual change of values)
1409 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1411 * src/hildon-pannable-area.c,
1412 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1413 for the treeview overshooting.
1415 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1417 * src/hildon-banner.c (+hildon_banner_bind_style):
1418 Renamed from hildon_banner_bind_label_style(), now naming the
1419 banner itself as well.
1420 (hildon_banner_show_information),
1421 (hildon_banner_show_information_with_markup),
1422 (hildon_banner_show_animation), (hildon_banner_show_progress):
1423 Name the widgets and labels, based on their type.
1425 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1428 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1430 * src/hildon-note.c (hildon_note_set_property): call
1431 hildon_note_rename() on HildonNote:note-type set.
1432 (hildon_note_rename): Name the note and its label, based on the
1433 HildonNote:note-type property.
1435 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1438 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1440 * src/hildon-pannable-area.c,
1441 (hildon_pannable_area_class_init),
1442 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1443 panning parameters, increased SPS and deceleration factor. Added
1444 also a margin to control fake directions.
1446 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1448 Patch by Sven Herzberg (sven@imendio.com)
1450 * configure.ac: Add missing AM_PROG_CC_C_0
1451 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1453 See NB#101420 (Update unit tests and fix make check)
1455 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1457 This patch was applied before but reverted because it caused
1458 problems, we have changed the main condition and tested the
1459 regressions we detected before and they work ok. We have done a
1460 complete review of the topmost algorithm in order to get a more
1463 * src/hildon-pannable-area.c,
1464 (hildon_pannable_area_get_topmost): Added a new parameter to
1465 filter the the windows that do not include those events.
1466 (hildon_pannable_area_button_press_cb),
1467 (hildon_pannable_area_button_release_cb),
1468 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1469 topmost function, we have added the new parameter.
1471 Fixes: NB#97458 (Pannable area prevents propagation of button
1474 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1476 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1477 if all columns in the selector have an item selected.
1478 (_on_dialog_response): Stop "response" signal emission if there is
1479 any selector column without selected items.
1481 Fixes: NB#101889 (Picker dialog should not close when nothing is
1482 selected in multiple selection list)
1484 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1486 * src/hildon-font-selection-dialog.c
1487 (hildon_font_selection_dialog_class_init),
1488 (hildon_font_selection_dialog_init): Remove the preview
1489 button and dialog, since previewing with default theming is likely
1490 to be overcomplicated. The :preview property has now no effect.
1491 Update documentation blurbs to inform about this.
1493 Fixes: NB#92297 (Preview content is not clearly visible for
1494 default colour text)
1496 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1498 Reviewed the geometry that handles the children size and
1499 scrollbar, now it tries a size and reviews the results depending
1500 on the scrollbars visibility.
1502 * src/hildon-pannable-area.c,
1503 (hildon_pannable_area_realize): Fixed a typo.
1504 (hildon_pannable_area_child_allocate_calculate): Added this
1505 function to calculate the child allocation.
1506 (hildon_pannable_area_size_allocate): Reviewed the allocation
1508 (hildon_pannable_area_check_scrollbars),
1509 (hildon_pannable_area_refresh): Refactored refresh function, this
1510 way we can call the code handling the scrollbars without causing a
1511 size_request, it is interesting in the allocate.
1512 (hildon_pannable_area_init): Replace the callbacks of the
1513 value_changed and changed signals to propertly deal with the
1515 (hildon_pannable_area_grab_notify),
1516 (hildon_pannable_area_initial_effect),
1517 (hildon_pannable_area_launch_fade_timeout),
1518 (hildon_pannable_area_adjust_changed),
1519 (hildon_pannable_area_adjust_value_changed),
1520 (hildon_pannable_area_redraw),
1521 (hildon_pannable_area_button_press_cb),
1522 (hildon_pannable_area_button_release_cb),
1523 (hildon_pannable_area_scroll_cb),
1524 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1525 code and use the new functions adjust_changed and
1526 adjust_value_changed.
1528 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1529 Contact editor dialog)
1531 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1536 * configure.ac: Bump version.
1537 * debian/changelog: Updates.
1539 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1541 * src/hildon-pannable-area.c,
1542 (hildon_pannable_area_get_topmost),
1543 (hildon_pannable_area_button_press_cb),
1544 (hildon_pannable_area_button_release_cb),
1545 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1546 topmost function adding the event mask. We have to try a
1547 differente approach because it is still causing problems (NB#9745,
1550 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1552 * src/hildon-banner.c:
1553 Update the maximum width of timed banners.
1554 (force_to_wrap_truncated): Enforce the maximum text width if the
1557 Fixes: NB#102413 (The text margins (wrapping) in information
1558 banner should be HILDON_MARGIN_TRIPLE)
1560 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1562 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1564 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1565 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1566 bound when calculating the scroll indicator position.
1568 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1569 treat ->lower correctly)
1571 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1573 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1574 expose event handling, since it is not necessary to draw the focus
1577 Fixes: NB#102467 (Do not show highlight on the text in
1580 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1582 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1583 full height of the toolbar for the button and the label.
1585 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1587 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1588 padding before the label and after the button.
1590 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1592 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1594 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1595 Add a GtkVSeparator between the button and the back arrow.
1596 Let the button have automatic size.
1597 Set a name to the widget for theming handling.
1599 Fixes: NB#101793 (Make edit toolbar the same height as window
1600 title bar (use title area theming))
1602 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1604 * src/hildon-helper.c (attach_new_color_element): Fix memory
1607 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1609 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1611 * examples/hildon-button-example.c (common_buttons_window): Don't
1614 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1616 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1617 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1619 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1621 * src/hildon-gtk.c: Check that the window is realized.
1623 Fixes: NB#102225 (Crash setting the progress indicator to a non
1626 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1628 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1629 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1630 instead of modifying the one in the widget style.
1632 Fixes: NB#101043 (Second row of all the command button are
1633 displayed in transparent mode.)
1635 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1637 * src/hildon-date-button.c
1638 * src/hildon-time-button.c: Add gettext macros
1640 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1642 * src/hildon-date-button.c (hildon_date_button_new):
1643 * src/hildon-time-button.c (hildon_time_button_new_step):
1644 Use new logical strings to set the button default title.
1646 Fixes: NB#99915 (Date and Time options are not localised in Date
1649 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1651 * src/hildon-pannable-area.c
1652 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1653 the PANNING_THRESHOLD.
1655 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1657 * src/hildon-pannable-area.c,
1658 (hildon_pannable_area_class_init): Increased the maximum speed.
1659 (hildon_pannable_area_get_property),
1660 (hildon_pannable_area_set_property),
1661 (hildon_pannable_area_timeout): Added a new low friction mode, it
1662 allows the user avoid friction when launching the widget fast
1663 enough. It is interesting to traverse long lists.
1665 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1667 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1668 (+hildon_stackable_window_delete_event): Ignore delete events if
1669 the window is not the topmost one.
1671 Fixes: NB#101698 (Back button long press and delete-event handling)
1673 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1675 * src/hildon-pannable-area.c,
1676 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1677 gtk-dnd-drag-threshold, it was too big. We have defined our own
1678 dnd define and set a smaller value: PANNIG_THRESHOLD.
1680 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1682 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1683 user-defined icons, use always the default one.
1685 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1687 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1689 This patch was applied before but reverted because it caused
1690 problems, we have changed the main condition and tested the
1691 regressions we detected before and they work ok.
1693 * src/hildon-pannable-area.c,
1694 (hildon_pannable_area_get_topmost): Added a new parameter to
1695 filter the the windows that do not include those events. Added
1696 also a condition when finding the window to filter windows that do
1697 not ask for those events.
1698 (hildon_pannable_area_button_press_cb),
1699 (hildon_pannable_area_button_release_cb),
1700 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1701 topmost function, we have added the new parameter.
1703 Fixes: NB#97458 (Pannable area prevents propagation of button
1706 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1708 * tests/check-hildon-color-button.c (START_TEST): do not leak
1711 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1713 * src/hildon-font-selection-dialog.c
1714 (hildon_font_selection_dialog_get_preview_text): Return NULL
1715 instead of FALSE on the g_return_val_if_fail().
1717 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1719 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1720 * src/hildon-date-selector.c
1721 (hildon_date_selector_select_current_date):
1722 Do not compare unsigned integers to be greater than or equal 0,
1723 because it's always TRUE.
1725 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1727 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1728 (hildon_date_selector_constructor): Do not select the current
1729 date until we are handle the "changed" signal, to avoid having bogus
1730 elements in the days model.
1732 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1734 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1735 for num_days, since _month_days() can return a negative value.
1737 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1739 * src/hildon-caption.c (hildon_caption_size_allocate):
1740 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1741 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1743 Initialize allocation variables to 0, to avoid eventually using
1744 unitialized variables.
1746 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1748 * src/hildon-bread-crumb-trail.c
1749 (hildon_bread_crumb_trail_size_allocate):
1750 * src/hildon-calendar.c (hildon_calendar_set_background):
1751 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1752 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1753 * src/hildon-seekbar.c (hildon_seekbar_init):
1754 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1755 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1756 * src/hildon-touch-selector-entry.c
1757 (hildon_touch_selector_get_text_from_model):
1758 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1759 * src/hildon-window.c (hildon_window_finalize):
1761 Remove many unused variables.
1763 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1765 * src/hildon-seekbar.c: (hildon_seekbar_init),
1766 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1768 Remove unnecessary g_assert() calls.
1770 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1772 * src/hildon-caption.c: (hildon_caption_expose),
1773 (hildon_caption_set_property), (hildon_caption_init),
1774 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1775 (hildon_caption_size_request), (hildon_caption_size_allocate),
1776 (hildon_caption_forall), (hildon_caption_set_separator),
1777 (hildon_caption_activate), (hildon_caption_set_child_expand),
1778 (hildon_caption_set_label_text),
1779 (hildon_caption_get_label_alignment):
1781 Remove unnecessary g_assert() calls.
1783 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1785 * src/hildon-banner.c
1786 (hildon_banner_map, hildon_banner_init): Make banner temporary
1787 before mapping it to avoid closing other temporary windows, but
1788 make it non-temporary afterwards to avoid being closed by other
1789 non-temporary windows.
1790 (-hildon_banner_client_event, hildon_banner_init):
1791 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1793 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1796 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1798 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1801 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1803 * src/hildon-remote-texture.c
1804 * src/hildon-remote-texture.h
1805 * src/hildon-remote-texture-private.h
1806 * examples/hildon-remote-texture-example.c:
1807 Updates/fixes to remote-texture and its example.
1809 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1811 Patch by Mox Soini (ext-mox.soini@nokia.com)
1813 * src/hildon-code-dialog.c: Update logical id.
1814 * src/hildon-set-password-dialog.c: Update logical id.
1816 Fixes: NB#100646 (Logical strings is shown for ok in set
1817 password,Password needed dialogs)
1819 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1822 * src/hildon-remote-texture.c
1823 * src/hildon-remote-texture.h
1824 * src/hildon-remote-texture-private.h
1826 Added remote texture widget (for Clutter shared memory textures)
1828 * examples/hildon-remote-texture-example.c
1829 * examples/Makefile.am
1830 Added example file for remote texture usage
1832 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1834 * configure.ac: post release version bump.
1835 * debian/changelog: version bump.
1837 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1842 * configure.ac: Bump version.
1843 * debian/changelog: Updates.
1845 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1847 * src/hildon-date-selector.c (hildon_date_selector_init)
1848 (hildon_date_selector_constructor): Don't connect to the "changed"
1849 signal until the selector is completely constructed.
1851 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1853 * src/hildon-touch-selector.c: (_create_new_column),
1854 (hildon_touch_selector_append_column),
1855 (hildon_touch_selector_set_column_selection_mode),
1856 (hildon_touch_selector_set_active),
1857 (hildon_touch_selector_select_iter):
1858 Emit the HildonTouchSelector::changed signal every time selection
1859 is changed in any of the methods above. This behavior was already
1860 documented but not fully functional.
1862 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1863 selection is programmatically changed)
1865 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1867 * doc/hildon-sections.txt: Remove obsolete icon
1868 sizes from here as well.
1870 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1872 * examples/hildon-stackable-window-example.c (add_window): Remove
1875 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1877 * src/hildon-app-menu.c
1878 (hildon_app_menu_show): Check whether the parent window of a menu
1879 is topmost before popping it up.
1881 Fixes: NB#100468 (Application menu window is launched even when a
1882 new secondary-window/dialog is pending to be shown/realized.)
1884 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1886 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1889 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1891 Patch by Mox Soini (ext-mox.soini@nokia.com)
1893 * src/hildon-banner.c: (hildon_banner_show_animation):
1894 use stylus size instead of obsolete note size.
1895 * src/hildon-defines.h: Update icon sizes.
1897 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1899 * src/hildon-touch-selector-entry.c:
1900 (hildon_touch_selector_entry_init): Disable unsupported
1902 (hildon_touch_selector_entry_get_text_column): Emit a warning
1903 if an unsupported input modes is used and explicitile state
1904 these modes in the documentation.
1906 Fixes: NB#99802 (Hildon touch selector entry not working properly
1907 for some of the input modes)
1909 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1911 * src/hildon-pannable-area.c,
1912 (hildon_pannable_area_init): Added the changed signal handlers of
1915 Fixes: NB#100320 (HildonPannableArea does not listen to
1916 GtkAdjustment "change" signals)
1918 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1920 * doc/hildon-sections.txt
1921 * src/hildon-window-private.h
1922 * src/hildon-window.h
1923 * src/hildon-window.c (hildon_window_init)
1924 (hildon_window_realize, hildon_window_unrealize)
1925 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1926 (hildon_window_size_request, hildon_window_size_allocate)
1927 (hildon_window_forall, hildon_window_show_all)
1928 (hildon_window_destroy, +paint_edit_toolbar)
1929 (+hildon_window_set_edit_toolbar):
1930 New hildon_window_set_edit_toolbar() method, to add a
1931 HildonEditToolbar to a window without having to pack it manually.
1933 Reorganize hildon_window_size_allocate()
1935 * src/hildon-edit-toolbar.c: Update documentation.
1937 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1938 example to use the new API.
1940 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1942 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1944 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1945 Remove from stack before calling parent's hide.
1947 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1949 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1950 window is removed from the middle of the stack, update the
1951 transiency of the previous one.
1953 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1956 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1958 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1959 block/unblock the signal handler if it's not actually being used.
1960 Fixes some critical warnings.
1962 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1964 Based on a patch by Iván Gómez (igomez@igalia.com)
1966 * src/hildon-banner.c
1970 * src/hildon-pannable-area.c
1971 * src/hildon-picker-dialog.c
1972 * src/hildon-wizard-dialog.h
1973 * src/hildon-wizard-dialog.c: Documentation updates.
1975 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1976 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1978 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1980 * configure.ac: post release version bump.
1981 * debian/changelog: version bump.
1983 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1988 * configure.ac: Bump version.
1989 * debian/changelog: Updates.
1991 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1993 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1994 a stock icon nor change the relief of the back arrow.
1996 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1997 graphics from theme)
1999 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2001 * src/hildon-button.c (hildon_button_set_alignment): Use
2002 priv->alignment if the button has no child yet.
2004 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2006 * src/hildon-button.c: (hildon_button_init): Set the
2007 button style during initialization to give it the proper
2010 Fixes: NB#99713 (HildonButton value label color is wrong)
2012 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2014 * src/hildon-touch-selector.c: Document
2015 hildon_touch_selector_center_on_selected()
2017 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2019 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2020 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2021 all menu items, but not the menu itself.
2022 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2023 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2024 items after adding them to the menu so keyboard accelerators work.
2025 (hildon_app_menu_show): Don't show the menu if it contains items
2026 but none of them are visible.
2028 * examples/hildon-app-menu-example.c (create_menu): Use
2029 gtk_widget_show_all() to show all menu items.
2031 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2033 * src/hildon-picker-dialog.c:
2034 (-_update_title_on_selector_changed_cb),
2035 (-_dialog_update_title): Removed.
2036 (_select_on_selector_changed_cb), (_on_dialog_response),
2037 (on_selector_columns_changed): Do not update the dialog title.
2038 (setup_interaction_mode): Do not connect to
2039 HildonTouchSelector::changed signal if there's a "done" button, as
2040 the dialog title doesn't need to be updated.
2042 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2045 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2047 Patch by Kristian Rietveld (kris@imendio.com)
2049 * src/hildon-touch-selector.c: (_create_new_column): Use new
2050 GtkTreeView::hildon-row-tapped signal to react to user interactions
2051 instead of ::changed.
2053 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2054 with some dynamic tree model)
2056 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2058 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2059 (+screen_size_changed, +label_size_request)
2060 (hildon_note_class_init): Make the Hildon information note have a
2061 minimum height, and make its text hvae a maximum width.
2063 Fixes: NB#98614 (Hildon information note (background) should have
2064 minimum height and maximum text width)
2066 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2068 * src/hildon-banner.h
2069 * src/hildon-banner.c (hildon_banner_show_information)
2070 (hildon_banner_show_informationf)
2071 (hildon_banner_show_information_with_markup): Update documentation
2072 to reflect that the icon_name parameter is not used anymore.
2073 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2074 Remove all code from these functions and mark them as deprecated.
2075 (hildon_banner_show_progress): Mark as deprecated.
2077 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2079 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2081 * src/hildon-pannable-area.c,
2082 (hildon_pannable_area_class_init),
2083 (tranparency_color),
2084 (hildon_pannable_draw_vscroll),
2085 (hildon_pannable_draw_hscroll),
2086 (hildon_pannable_area_expose_event): Added a new way to render the
2087 scrollbars of the pannable area avoiding using cairo at all. This
2088 way we improve the performance of the pannable area rendering. The
2089 cairo rendering procedure is still in the code, we can control
2090 which one to use changing the value of the define
2091 USE_CAIRO_SCROLLBARS.
2093 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2095 * configure.ac: post release version bump.
2096 * debian/changelog: version bump.
2098 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2103 * configure.ac: Bump version.
2104 * debian/changelog: Updates.
2106 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2108 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2109 banners instead of destroying them when they receive a button
2112 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2114 Reverted commit 34028, it was causing regressions, probably the
2115 topmost condition is not correct, we have to check it in more
2116 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2117 propagation of button press events)
2119 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2121 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2122 that the selection is not empty before attempting to retrieve the
2123 current ampm selection.
2125 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2127 * src/hildon-picker-button.c:
2128 (hildon_picker_button_on_dialog_response): Directly update the
2129 button contents when required instead of calling _selection_changed.
2131 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2133 * src/hildon-program.c (hildon_program_update_top_most): Update
2134 'is-topmost' property also when wm_hints is not set.
2136 Fixes: NB#98383 (is-topmost signal is not emitted when task
2137 switcher is clicked.)
2139 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2141 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2145 * src/hildon-animation-actor.c,
2146 * src/hildon-animation-actor.h: Added the animation actor class,
2147 this widget represents an animation actor for WM-assisted
2148 animation effects in the Hildon framework.
2150 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2152 * src/hildon-window-stack-private.h
2153 * src/hildon-window-stack.c
2154 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2155 Avoid calling gtk_widget_show() again indirectly from
2156 hildon_stackable_window_show()
2158 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2160 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2163 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2165 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2166 (hildon_time_selector_init): Move the construction of the hours and
2167 ampm columns to the constructor to preserve the order the columns
2170 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2172 * src/hildon-picker-dialog.c:
2173 (hildon_picker_dialog_class_init): Connect a realize method.
2174 (+hildon_picker_dialog_realize): Setup the interaction mode here
2176 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2177 yet, do it during the realize instead.
2178 (_on_dialog_response):
2179 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2180 if the widget is not realized, to avoid the dialog response before it
2183 Avoid premature responses in the HildonPickerDialog that can cause it
2184 to be hidden before it's even shown.
2186 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2188 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2189 (on_selector_columns_changed), (requires_done_button),
2190 (+prepare_action_area), (setup_interaction_mode),
2191 (_hildon_picker_dialog_set_selector):
2193 Split the interaction mode setup into preparation of the
2194 action area (prepare_action_area()) and the connection of
2195 the signals in setup_interaction_mode() and update the code to
2198 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2200 * src/hildon-pannable-area.c,
2201 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2202 per second to 15, we will check if this is ok regarding
2205 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2207 * src/hildon-pannable-area.c,
2208 (hildon_pannable_axis_scroll): Avoid resize if we already have
2209 reached overshoot_max.
2211 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2213 * src/hildon-pannable-area.c,
2214 (hildon_pannable_area_init),
2215 (hildon_pannable_area_realize),
2216 (hildon_pannable_area_size_allocate),
2217 (hildon_pannable_area_map),
2218 (hildon_pannable_area_unmap),
2219 (hildon_pannable_draw_vscroll),
2220 (hildon_pannable_draw_hscroll),
2221 (hildon_pannable_area_expose_event),
2222 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2223 pannable are to avoid the expose events go to the window and
2224 redraw the window. We save this way that part of the stack and the
2225 paint_boxes. We had to change the positions of the elements when
2228 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2230 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2231 * src/hildon-color-chooser-dialog.c:
2232 (hildon_color_chooser_dialog_init):
2233 * src/hildon-font-selection-dialog.c:
2234 (hildon_font_selection_dialog_init),
2235 (hildon_font_selection_dialog_show_preview):
2236 * src/hildon-get-password-dialog.c:
2237 * src/hildon-login-dialog.c:
2238 * src/hildon-set-password-dialog.c:
2239 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2240 * src/hildon-time-picker.c: (hildon_time_picker_init):
2242 Remove obsolete logical string IDs and update to the appropriate ones.
2244 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2246 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2248 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2249 that happens if the window hasn't been realized yet.
2251 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2252 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2254 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2256 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2257 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2260 Fixes: NB#98537 (Device hangs in account settings dialog)
2262 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2264 * configure.ac: post release version bump.
2265 * debian/changelog: version bump
2267 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2272 * configure.ac: Bump version.
2273 * debian/changelog: Updates.
2275 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2277 Added a new function to the HildonTimeButton widget that allows to
2278 change the step of the minutes in the selector associated with the
2279 button: hildon_time_button_new_step
2281 * src/hildon-time-button.c,
2282 (hildon_time_button_init),
2283 (hildon_time_button_new),
2284 (hildon_time_button_new_step):
2285 * src/hildon-time-button.h: Added the new function and refactored
2287 * examples/hildon-time-button-example.c,
2288 (main): We have replaced the function without parameters with the
2289 function with the steps set to 5
2291 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2293 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2295 * src/hildon-time-selector.c,
2296 (hildon_time_selector_class_init),
2297 (hildon_time_selector_constructor),
2298 (hildon_time_selector_get_property),
2299 (hildon_time_selector_set_property),
2300 (_create_minutes_model),
2301 (hildon_time_selector_new_step),
2302 (hildon_time_selector_set_time),
2303 * src/hildon-time-selector.h: Added a new property to the
2304 HildonTimeSelector (minutes-step), we use that property to control
2305 the steps between the minutes in the list of the selector. We have
2306 added a new function to the API to create a widget changing the
2307 step: hildon_time_selector_new_step.
2309 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2311 * src/hildon-time-selector.c,
2312 (hildon_time_selector_class_init),
2313 (hildon_time_selector_constructor),
2314 (hildon_time_selector_init): Overrided the construct function when
2315 creating the time selector object. We have moved the minutes model
2316 handling code from the init to the new construction function:
2317 hildon_time_selector_constructor.
2319 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2321 * examples/hildon-date-button-example.c: (main): Use the new
2322 hildon_date_button_new_with_year_range() method in the example.
2323 * src/hildon-date-button.c:
2324 (+hildon_date_button_new_with_year_range): New public method
2325 to conveniently create a HildonDateButton with a custom year range
2326 in its HildonDateSelector.
2327 * src/hildon-date-button.h: Add the new public method definition.
2329 Fixes: NB#97908 (Not possible to change the year range in
2330 HildonDateSelector/HildonDateButton)
2332 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2334 * src/hildon-date-selector.c:
2335 (+hildon_date_selector_set_property),
2336 (+hildon_date_selector_get_property),
2337 (hildon_date_selector_class_init): Install new properties "min-year"
2338 and "max-year" to define boundaries for the year column.
2339 (_create_year_model): Use the boundary properties to populate the model.
2340 (+hildon_date_selector_new_with_year_range): New public method to
2341 create a HildonDateSelector with a user defined year range.
2342 (hildon_date_selector_select_current_date): Use the new boundaries to
2343 calculate the iterator of current year.
2344 * src/hildon-date-selector.h: Add the new public method definition.
2346 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2348 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2349 Install a constructor method.
2350 (+hildon_date_selector_construct_ui): construct the widget.
2351 (+hildon_date_selector_constructor): new constructor.
2352 (+hildon_date_selector_init): move out widget construction code to
2353 the new constructor.
2355 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2357 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2358 that there's actually a month or year selected before obtaining them.
2359 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2360 of the HildonTouchSelector::changed signal, as it was emitted on every
2361 single item selection.
2363 Fix some warnings and possible crashers due to the selection restoring.
2365 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2367 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2368 the signal handlers only after creating the dialog instead of on every
2371 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2373 * src/hildon-button.c (hildon_button_init)
2374 * src/hildon-check-button.c (hildon_check_button_init)
2375 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2376 focus when clicked by default.
2378 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2380 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2383 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2385 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2386 Alejandro G. Castro (alex@igalia.com)
2388 * src/hildon-picker-dialog.c:
2389 (hildon_picker_dialog_class_init): install new "center-on-show"
2391 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2392 (hildon_picker_dialog_set_property): add setter code for the new
2394 (hildon_picker_dialog_get_property): add getter code for the new
2396 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2397 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2400 Fixes: NB#92849 (Selected item is not always visible when
2401 HildonTouchSelector is shown)
2403 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2405 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2406 Alejandro G. Castro (alex@igalia.com)
2408 * src/hildon-touch-selector.c:
2409 (_create_new_column): Do not connect to the "realize" signal of the
2411 (hildon_touch_selector_append_column): center on the selected items
2412 when a new column is appended.
2413 (hildon_touch_selector_select_iter): Factor out the code to select a
2414 column to hildon_touch_selector_scroll_to().
2415 (+search_nearest_element): Method to retrieve the nearest selected
2416 element to the visible area of the pannable area in a column.
2417 (+on_realize_cb): scroll to the initially selected item.
2418 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2419 the pannable area is realized, otherwise delay this until it is.
2420 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2421 selected items of a given column.
2422 (+hildon_touch_selector_center_on_selected): Public method to center
2423 all columns on the nearest selected item.
2424 * src/hildon-touch-selector.h: Add definition for
2425 hildon_touch_selector_center_on_selected().
2427 Implement public API to ensure visibility of all selected items in
2428 a HildonTouchSelector.
2430 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2432 Fixed a problem in the fading when calling the scroll_to API, and
2433 improve scrollbar fading handling.
2435 * src/hildon-pannable-area.c,
2436 (hildon_pannable_area_grab_notify): avoid the timeout when the
2438 (hildon_pannable_area_button_press_cb),
2439 (hildon_pannable_area_motion_notify_cb): Code style changes.
2440 (hildon_pannable_area_button_release_cb): Review the conditions
2441 when releasing the mouse button to avoid unrequired fading
2443 (hildon_pannable_area_scroll_to): Do not calculate and set the
2444 velocity if the scroll is not required.
2446 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2448 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2449 Don't check whether the new selector is NULL: it cannot be.
2450 Hold a reference to the selector while doing the replacement.
2452 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2454 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2455 unnecessary size_request in a removed widget.
2457 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2459 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2460 an unnecessary reference tracking that was leaking.
2462 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2464 Added delayed motion notify event handling, this way we can
2465 discard redrawing if more than 25 events arrive per second.
2467 * src/hildon-pannable-area.c,
2468 (hildon_pannable_area_init): Initialized the new private atributes
2469 controlling this timeout
2470 (hildon_pannable_area_dispose): Remove the timeout that controls
2471 the motion notify events.
2472 (hildon_pannable_area_scroll): Added a condition to control the
2473 use of the acceleration.
2474 (hildon_pannable_area_motion_event_scroll_timeout),
2475 (hildon_pannable_area_motion_event_scroll): Added this two
2476 functions, they handle the motion notify events inside the
2478 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2479 to the scroll method with the new function.
2480 (hildon_pannable_area_button_release_cb): We have to remove the
2481 timeout handler and move to the last position if the last motion
2482 events were not handled.
2484 Fixes: NB#97028 (Pannable area updates on every motion event)
2486 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2488 * src/hildon-pannable-area.c,
2489 (hildon_pannable_area_get_topmost): Added a new parameter to
2490 filter the the windows that do not include those events. Added
2491 also a condition when finding the window to filter windows that do
2492 not ask for those events.
2493 (hildon_pannable_area_button_press_cb),
2494 (hildon_pannable_area_button_release_cb),
2495 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2496 topmost function, we have added the new parameter.
2498 Fixes: NB#97458 (Pannable area prevents propagation of button
2501 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2503 * src/hildon-pannable-area.c,
2504 (hildon_pannable_area_initial_effect): Added controls before
2505 launching the timeout and the idle functions.
2506 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2507 of the method, in some situations it can return with TRUE and 0 in
2509 (hildon_pannable_area_button_press_cb): We do not need to set
2510 DELAY for fading out here.
2512 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2514 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2516 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2517 post-cleaning if the selection is not NULL.
2519 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2521 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2522 all items before restoring the selection.
2524 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2526 * src/hildon-touch-selector.c:
2527 (+hildon_touch_selector_unselect_all):
2528 * src/hildon-touch-selector.h: New API to unselect all items in a
2529 column of the touch selector.
2531 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2533 * src/hildon-pannable-area.c,
2534 (hildon_pannable_area_redraw): Added a call to the refresh
2535 function inside the redraw because apparently in some cases the
2536 change in the adjustment does not imply a size allocate.
2538 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2539 despite the view not being scrollable)
2541 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2543 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2544 leak. Check for NULL before attempting to set the window title.
2546 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2548 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2549 whether to show or not the 'Done' button each time the dialog is
2550 shown, as it depends on the HildonTouchSelector selection mode.
2552 Fixes: NB#96226 (In multiple selection mode Done button is shown
2553 sometimes in listpicker)
2555 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2557 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2558 for the number of columns in the HildonTouchSelector more than once.
2560 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2562 * src/hildon-touch-selector.c: Minor documentation fixes.
2564 * src/hildon-picker-dialog.c (+_dialog_update_title)
2565 (_select_on_selector_changed_cb)
2566 (_update_title_on_selector_changed_cb)
2567 (on_selector_columns_changed): Update dialog title when there's no
2568 'Done' button and also when the number of columns in the selector
2572 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2573 (+_selection_changed, hildon_picker_button_on_dialog_response)
2574 (hildon_picker_button_selector_selection_changed)
2575 (+hildon_picker_button_selector_columns_changed)
2576 (hildon_picker_button_set_selector): Update button value and emit
2577 'value-changed' when the number of columns in the selector
2581 Fixes: NB#96225 (Dialog titles are not shown according to the
2582 values selected in the list picker)
2584 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2586 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2587 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2588 New "arrow-width" and "arrow-height" style properties to set the
2589 size of the arrow button.
2590 Set name of arrow button ("hildon-edit-toolbar-arrow").
2592 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2593 graphics from theme)
2595 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2597 * src/hildon-picker-button.c:
2598 (hildon_picker_button_selector_selection_changed): Use
2599 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2600 the dialog is present.
2602 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2603 the selection is accepted in the dialog)
2605 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2607 * src/hildon-color-chooser.h
2608 * src/hildon-color-chooser-dialog.h:
2609 Added G_BEGIN_DECLS and G_END_DECLS
2611 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2613 (_clean_current_selection): plug a leak in the list.
2615 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2617 * src/hildon-picker-dialog.c:
2618 (+free_path_list): Method to free a GList of GtkTreePaths.
2619 (_clean_current_selection), (_save_current_selection),
2620 (_restore_current_selection): Save the current selection in
2621 as a list of lists, to support multiple selection properly.
2623 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2625 patch by Claudio Saavedra (csaavedra@igalia.com)
2627 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2628 Store the press position.
2629 (+hildon_text_view_button_release_event): If the release position is
2630 close enough to the press position, move the cursor here. Otherwise,
2632 (hildon_text_view_class_init): Override GtkTextView press, release, and
2633 motion event handlers, disabling this way text selection through
2634 pointer interaction, and allowing the container widget to handle the
2637 Fixes: NB#95828 (HildonTextView functionality)
2639 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2641 Based on a patch by Iván Gómez (igomez@igalia.com)
2643 * src/hildon-button.[ch]
2644 * src/hildon-calendar.c
2645 * src/hildon-check-button.c
2646 * src/hildon-date-editor.c
2647 * src/hildon-date-selector.c
2648 * src/hildon-picker-button.c
2649 * src/hildon-time-editor.c
2650 * src/hildon-time-selector.c
2651 * src/hildon-touch-selector.[ch]:
2652 Documentation updates
2654 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2656 * src/hildon-pannable-area.c,
2657 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2658 threshold, it was required due to X events handling.
2660 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2662 * src/hildon-pannable-area.c,
2663 (hildon_pannable_area_grab_notify),
2664 (hildon_pannable_area_initial_effect),
2665 (hildon_pannable_area_button_press_cb),
2666 (hildon_pannable_area_button_release_cb),
2667 (hildon_pannable_area_scroll_cb),
2668 (hildon_pannable_area_scroll_to): Review the timeout management of
2669 the scrollbar, the frecuency was incorrectly set.
2671 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2673 * src/hildon-picker-button.c:
2674 (+hildon_picker_button_on_dialog_response),
2675 (hildon_picker_button_clicked): Present the dialog instead of
2676 running it with gtk_dialog_run().
2678 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2681 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2683 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2684 (hildon_app_menu_finalize): When a window is hidden it doesn't
2685 emit notify::is-topmost, so make sure than the menu also
2686 disappears in that case.
2687 (parent_window_topmost_notify): Renamed from parent_window_hidden
2689 Fixes: NB#94460 (stackable window's menu is not closed when its
2692 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2694 * src/hildon-touch-selector-entry.c:
2695 (+hildon_touch_selector_entry_set_input_mode),
2696 (+hildon_touch_selector_entry_get_input_mode):
2697 * src/hildon-touch-selector-entry.h: New methods to access the input
2698 mode in the selector's entry.
2700 Fixes: NB#93410 (API required for setting IM mode in
2701 HildonTouchSelectorEntry)
2703 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2705 * configure.ac: post release version bump.
2706 * debian/changelog: version bump
2708 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2713 * configure.ac: Bump version.
2714 * debian/changelog: Updates.
2716 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2718 * src/hildon-touch-selector.c:
2719 (_hildon_touch_selector_has_multiple_selection): No need
2720 to initialize the variables here.
2722 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2724 * src/hildon-note-private.h
2725 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2726 (hildon_note_finalize, hildon_note_rebuild): Close information
2727 notes when they receive a button press.
2729 Fixes: NB#89890 (Information notes does not get disappeared after
2732 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2734 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2735 mark from the wizard title, as it's not really necessary. Also,
2736 do not display the page title if not set.
2738 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2740 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2741 (parent_window_hidden): Use the window's "is-topmost" property to
2742 detect when to hide the menu.
2744 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2746 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2747 (hildon_app_menu_finalize): If the parent window of the menu is
2748 hidden, hide the menu too.
2750 Fixes: NB#94460 (stackable window's menu is not closed when its
2753 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2756 * debian/libhildon1-examples.install
2758 * examples/Makefile.am:
2759 Use dh_install to install all examples.
2760 Use DEB_SRCDIR instead of defining SOURCE_DIR
2762 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2764 * configure.ac: post release version bump.
2765 * debian/changelog: version bump
2767 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2772 * configure.ac: bump version
2773 * debian/changelog: updates
2774 * debian/control: bump gtk+ dependency
2776 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2778 patch by Christian Dywan (christian@imendio.com)
2780 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2781 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2783 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2785 * src/hildon-check-button.c (hildon_check_button_init)
2786 (hildon_check_button_class_init, hildon_check_button_style_set)
2787 (hildon_check_button_apply_style):
2788 New "checkbox-size" style property.
2790 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2791 larger / configurable size)
2793 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2795 * configure.ac: post release version bump.
2796 * debian/changelog: version bump
2798 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2803 * configure.ac: bump version
2804 * debian/changelog: updates
2806 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2808 * doc/hildon-sections.txt
2809 * src/hildon-pannable-area.c
2810 * src/hildon-program.c
2811 * src/hildon-time-editor.c
2812 * src/hildon-touch-selector-entry.c:
2814 More documentation updates.
2816 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2818 * doc/hildon-sections.txt
2819 * src/hildon-caption.c
2820 * src/hildon-code-dialog.c
2821 * src/hildon-color-button.c
2822 * src/hildon-controlbar.c
2823 * src/hildon-date-editor.c
2824 * src/hildon-date-selector.c
2825 * src/hildon-edit-toolbar.c
2826 * src/hildon-find-toolbar.c
2827 * src/hildon-font-selection-dialog.c
2829 * src/hildon-program.c
2830 * src/hildon-range-editor.c
2831 * src/hildon-seekbar.c
2832 * src/hildon-time-editor.c
2833 * src/hildon-time-selector.c
2834 * src/hildon-volumebar-range.c
2835 * src/hildon-volumebar.c
2836 * src/hildon-vvolumebar.c
2837 * src/hildon-weekday-picker.c
2838 * src/hildon-window.c
2839 * src/hildon-wizard-dialog.c:
2841 Lots of documentation fixes.
2843 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2845 Patch contributed by Iván Gómez (igomez@igalia.com)
2847 * src/hildon-check-button.c:
2848 * src/hildon-date-button.c:
2849 * src/hildon-date-selector.c:
2850 * src/hildon-dialog.c:
2851 * src/hildon-edit-toolbar.c:
2852 * src/hildon-entry.c:
2853 * src/hildon-picker-button.c:
2854 * src/hildon-program.c:
2855 * src/hildon-text-view.c:
2856 * src/hildon-time-button.c:
2857 * src/hildon-touch-selector-entry.c:
2858 * src/hildon-window-stack.c:
2860 Add more "since" tags to the new API.
2862 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2864 * doc/hildon-sections.txt: Add below method.
2865 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2866 version for the hildonized scale.
2867 * src/hildon-gtk.h: Add the definition.
2869 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2871 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2873 * doc/hildon-sections.txt: Add missing entries for new methods.
2875 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2877 Added API to pannable are in order to get its adjustments. We
2878 added two properties to manage the values we had in the private
2881 * src/hildon-pannable-area.c:
2882 (hildon_pannable_area_class_init): Added hadjustment and
2883 vadjustment properties in order to expose horizontal and vertical
2885 (hildon_pannable_area_get_property),
2886 (hildon_pannable_area_set_property): Added code to handle the new
2888 (hildon_pannable_area_get_hadjustment),
2889 (hildon_pannable_area_get_vadjustment): API functions to get the
2891 * src/hildon-pannable-area.h:
2892 (hildon_pannable_area_get_hadjustment),
2893 (hildon_pannable_area_get_vadjustment): API functions to get the
2896 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2898 Fixed some leaks, after valgrinding.
2900 * src/hildon-touch-selector.c:
2901 (_default_print_func): Fixed a leak.
2902 (hildon_touch_selector_append_column): Fixed a leak.
2903 * src/hildon-date-button.c:
2904 (hildon_date_button_init): Fixed a leak.
2905 * src/hildon-date-selector.c
2906 (hildon_date_selector_finalize): Fixed a leak.
2908 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2910 Based on a patch by Christian Dywan (christian@imendio.com)
2912 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2914 * src/hildon-gtk.h: Add definition.
2916 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2918 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2920 * src/hildon-picker-button.c: (hildon_picker_button_init),
2921 (hildon_picker_button_new): Set the HildonButton::style property
2922 in the init method, to propagate the value to the derived classes.
2924 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2926 * src/hildon-button.c: (hildon_button_class_init): Do not make
2927 the "style" property a construct property.
2929 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2931 * src/hildon-wizard-dialog.h
2932 * src/hildon-wizard-dialog.c
2933 (hildon_wizard_dialog_set_forward_page_func)
2934 * src/hildon-pannable-area.h
2935 * src/hildon-pannable-area.c
2936 (hildon_pannable_area_set_size_request_policy):
2937 Documentation fixes.
2939 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2941 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2943 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2945 * doc/hildon-sections.txt: Added sections file.
2947 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2950 * src/*.[ch]: Updates.
2952 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2954 * examples/hildon-progress-indicator-example.c: new file
2955 * examples/Makefile.am: include the new example program
2957 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2959 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2961 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2963 * configure.ac: post release version bump
2964 * debian/changelog: version bump
2966 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2971 * configure.ac: bump version
2972 * debian/changelog: updates
2973 * debian/control: bump gtk+ dependency
2975 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2977 * src/hildon-dialog.c: Mark as deprecated.
2978 * src/hildon-dialog.h: Mark as deprecated.
2979 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2980 from HildonDialog and still work, even if
2981 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2982 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2984 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2985 maemo changes) instead)
2987 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2989 * src/hildon-pannable_area.h:
2990 * src/hildon-pannable_area.c:
2991 (hildon_pannable_area_class_init),
2992 (hildon_pannable_area_set_property),
2993 (hildon_pannable_area_get_property),
2994 (hildon_pannable_area_size_request),
2995 (hildon_pannable_area_get_size_request_policy),
2996 (hildon_pannable_area_set_size_request_policy): Added new API
2997 allowing applications to control the request policy. Now they can
2998 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2999 children allocation (HILDON_MOVEMENT_CHILDREN).
3001 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3005 (hildon_gtk_tree_view_set_ui_mode)
3006 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3007 mode of treeviews and iconviews.
3009 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3011 * src/hildon-touch-selector-entry.c:
3012 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3013 of a GtkEntry to get proper theming.
3015 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3016 widget, not GtkEntry)
3018 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3020 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3021 no HildonWizardDialogPageFunc.
3023 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3025 Patch contributed by Iván Gómez (igomez@igalia.com)
3027 * src/hildon-app-menu.c:
3028 * src/hildon-button.c:
3029 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3030 * src/hildon-stackable-window.c:
3031 * src/hildon-time-selector.c:
3032 * src/hildon-touch-selector.c:
3033 * src/hildon-window.c:
3035 Add more "since" tags to the new API in hildon 2.2.
3037 2008-12-05 Tim Janik <timj@imendio.com>
3039 Patch contributed by Christian Dywan (christian@imendio.com)
3041 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3042 HildonSizeType, which are supplied by Gtk+ now.
3044 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3046 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3047 (with maemo changes) instead)
3049 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3051 Patch contributed by Iván Gómez (igomez@igalia.com)
3053 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3056 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3058 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3059 (some_page_func), (main): Update the example to use a
3060 HildonWizardDialogPageFunc function.
3062 * src/hildon-wizard-dialog-private.h: Add private data for
3063 the HildonWizardDialogPageFunc function usage.
3065 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3066 (destroy), (hildon_wizard_dialog_init), (response),
3067 (hildon_wizard_dialog_set_forward_page_func):
3068 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3069 that applications can use to stop a HildonWizardDialog to jump to
3072 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3075 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3077 * src/hildon-program.h
3078 * src/hildon-program-private.h
3079 * src/hildon-program.c (hildon_program_init)
3080 (hildon_program_set_common_app_menu)
3081 (hildon_program_get_common_app_menu):
3082 New API for setting a common HildonAppMenu for all
3083 HildonStackableWindows registered with the HildonProgram.
3085 * src/hildon-stackable-window.c
3086 (hildon_stackable_window_toggle_menu):
3087 Use the common HildonAppMenu if a window doesn't have a specific
3090 * src/hildon-app-menu-private.h
3091 * src/hildon-app-menu.c
3092 (hildon_app_menu_get_parent_window):
3093 Function to obtain the window a HildonAppMenu is attached to.
3094 (hildon_app_menu_set_parent_window):
3095 Hide the menu if the parent window is set to NULL.
3097 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3099 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3100 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3101 search widget to popup.
3103 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3105 * configure.ac: post release version bump
3106 * debian/changelog: version bump
3108 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3113 * configure.ac: bump version
3114 * debian/changelog: updates
3116 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3118 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3120 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3121 (hildon_window_stack_window_realized)
3122 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3123 Set the leader GdkWindow when a window is stacked and realized,
3124 unset it when it's unstacked.
3125 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3127 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3129 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3131 * src/hildon-stackable-window.h
3132 * src/hildon-window-stack.h:
3133 Protect definition of HildonWindowStack using the preprocessor.
3135 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3137 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3138 Fix warning if all menu items are hidden.
3140 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3142 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3144 * src/hildon-controlbar.c:
3145 * src/hildon-hvolumebar.c:
3146 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3147 Multiple scale size defines updates.
3149 Fixes: NB#94322 (Scale Updates)
3151 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3153 * examples/hildon-app-menu-example.c (create_menu)
3154 Show items after adding them to the menu, as in the future the
3155 menu will no longer call gtk_widget_show() on the added items.
3157 * src/hildon-app-menu.c:
3158 Update example as explained above.
3160 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3162 * src/hildon-app-menu.c
3163 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3164 Make sure that all menu items have finger height.
3166 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3168 * src/hildon-picker-dialog.c:
3169 (_on_dialog_response), (_save_current_selection),
3170 (_restore_current_selection), (_clean_current_selection),
3171 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3172 Defined new functions in order to save the current internal selector
3173 selection previous open the dialog, in case that the use cancel the
3174 interaction, so the widget restores the previous selection.
3176 Fixes: NB#92032 (In calendar application, date values in 'new event'
3179 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3181 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3183 * src/hildon-button.c: Add a reference to the button examples in
3184 hildon-button-example.c
3186 * examples/hildon-button-example.c: Added examples of the most
3187 common button layouts.
3189 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3191 * src/hildon-app-menu.c (hildon_app_menu_show)
3192 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3194 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3196 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3198 * src/hildon-picker-dialog.c:
3199 (hildon_picker_dialog_init): Initialize the signal id for
3200 HildonTouchSelector::columns-changed.
3201 (+on_selector_columns_changed): Set up the interaction mode everytime a
3202 column is added or removed from the HildonTouchSelector.
3203 (_hildon_picker_dialog_set_selector): Connect to
3204 HildonTouchSelector::columns-changed and keep track of it.
3206 Make sure to update the interaction mode of the dialog everytime a
3207 column is added or removed in the HildonTouchSelector.
3209 Fixes: NB#93228 (Done button is not shown always in listpicker)
3211 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3213 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3214 a new ::columns-changed signal.
3215 (hildon_touch_selector_append_column): Emit ::columns-changed.
3216 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3218 Add a ::columns-changed signal, emitted when the number of columns in a
3219 HildonTouchSelector changes.
3221 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3223 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3224 (_hildon_picker_dialog_set_selector): Factor out the code
3225 to set up the dialog interaction mode.
3227 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3229 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3230 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3231 to signal_changed_id.
3233 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3235 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3238 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3240 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3241 Updated the logical ids related to ampm format, as now it is required to
3242 show it correctly localized even on languages with no default
3243 abbreviations for am or pm
3244 (_check_am_pm_format): check correctly the 24h format gconf property
3246 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3248 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3250 * src/hildon-button.c: Documentation updates.
3252 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3254 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3255 * src/hildon-caption.c: (hildon_caption_class_init):
3256 * src/hildon-color-button.c: (hildon_color_button_class_init):
3257 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3258 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3259 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3260 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3262 Remove deprecated GTK+ marshalers and replace them with the ones
3263 provided by GLib, for those available, add a marshaler for
3264 BOOLEAN:VOID, which is not available in GLib, and use it.
3266 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3268 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3269 the text from the previous column if there is no
3270 HildonTouchSelectorColumn::text-property set.
3272 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3274 * src/hildon-button.h
3275 * src/hildon-button.c (hildon_button_set_property)
3276 (hildon_button_get_property, hildon_button_class_init)
3277 (hildon_button_set_style, hildon_button_get_style):
3278 New "style" property to change the visual appearance of the
3281 * src/hildon-picker-button.c (hildon_picker_button_new):
3282 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3284 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3285 HildonButton look like PickerButton)
3287 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3289 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3290 column while building the default string.
3292 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3294 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3295 scroll indicator by default.
3297 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3299 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3301 * src/hildon-main.c: Fix the documentation for hildon_init()
3303 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3305 * doc/hildon-docs.sgml
3309 * src/hildon-window-stack-private.h
3310 * src/hildon-window-stack.h
3311 * src/hildon-window-stack.c:
3312 New HildonWindowStack object, that adds support for multiple
3313 stacks of windows per process.
3315 * src/hildon-stackable-window-private.h
3316 * src/hildon-stackable-window.h
3317 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3318 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3319 (hildon_stackable_window_show, hildon_stackable_window_hide)
3320 (hildon_stackable_window_class_init)
3321 (hildon_stackable_window_init):
3322 Use HildonWindowStack for stack management.
3324 * src/hildon-program.c (hildon_program_pop_window_stack)
3325 (hildon_program_peek_window_stack)
3326 (hildon_program_go_to_root_window):
3327 Add a fallback implementation to the deprecated functions using
3330 * examples/hildon-stackable-window-example.c:
3331 Use the new HildonWindowStack API.
3333 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3335 * src/hildon-stackable-window-private.h
3336 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3337 (hildon_stackable_window_hide, hildon_stackable_window_init):
3338 Remove all window stack management.
3340 * src/hildon-program-private.h
3341 * src/hildon-program.h
3342 * src/hildon-program.c (hildon_program_init)
3343 (hildon_program_pop_window_stack)
3344 (hildon_program_peek_window_stack)
3345 (hildon_program_go_to_root_window):
3346 Remove all window stack management and mark functions as
3349 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3351 * src/hildon-app-menu.c (hildon_app_menu_realize):
3352 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3354 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3356 * configure.ac: post release version bump
3357 * debian/changelog: version bump
3359 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3364 * configure.ac: bump version
3365 * debian/changelog: updates
3367 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3369 Based on initial code by Christian Dywan (christian@imendio.com)
3371 * doc/hildon-docs.sgml: Add section for hildon-main.
3372 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3373 * src/Makefile.am: Add new hildon-main.[ch]
3374 * src/hildon-defines.h: Update the icon sizes.
3375 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3376 new library initialization files and register icon sizes.
3377 * src/hildon-main.h: New declarations.
3378 * src/hildon.h: Include hildon-main.h
3380 Add new initialization functions to the library. These methods
3381 will register the hildon specific icon sizes and can be used in the
3382 future for other hildon specific bits.
3384 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3386 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3388 * src/hildon-window.c: (hildon_window_realize),
3389 (hildon_window_notify), (-hildon_window_update_title): Do not set
3390 the application name in the window title.
3392 Fixes: NB#89754 (Applications shouldn't display their names in the
3395 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3397 * src/hildon-note-private.h:
3398 * src/hildon-note.c: (hildon_note_set_property),
3399 (hildon_note_get_property), (hildon_note_class_init),
3400 (hildon_note_init), (hildon_note_finalize),
3401 (hildon_note_new_confirmation_with_icon_name),
3402 (hildon_note_new_information_with_icon_name):
3404 No need to mark as deprecated the actual code. Revert
3405 to avoid missing symbols in widgets using deprecated API.
3407 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3409 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3411 * src/hildon-volumebar.h
3412 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3413 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3415 * src/hildon-helper.h
3416 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3417 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3419 * examples/Makefile.am:
3420 Deprecate hildon-insensitive-example
3422 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3424 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3426 * examples/hildon-pannable-area-buttons-scroll-example.c:
3427 Make all buttons finger height
3429 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3431 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3433 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3434 update the day model only if it is really required, and to avoid the
3435 full-reconstruction aproach. Now it only add or remove the required days.
3437 The purpose of this is avoid superfluous HildonTouchSelector::changed
3440 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3441 with strange parameters)
3443 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3445 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3447 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3448 the WINDOW_TYPE property.
3450 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3452 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3455 Fix dependency to allow parallel compilation with make -jX
3457 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3459 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3460 color frame and some minor tweaks to make it more consistent with
3463 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3464 highlighted but not visible)
3466 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3468 * examples/Makefile.am: Fixed typo in the Makefile.am.
3470 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3472 Reviewed the use of MAEMO_GTK define, now we add the define in the
3473 compilation line, and we also add it to the pc file.
3475 * configure.ac: Added MAEMO_GTK define to the compilation command
3476 and removed it from the config.h.
3478 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3479 do not have to take care about this define if the library was
3483 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3485 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3487 * examples/Makefile.am,
3488 * examples/hildon-pannable-area-buttons-scroll-example.c,
3489 * examples/hildon-pannable-area-gesture-signals-example.c,
3490 * examples/hildon-pannable-area-scroll-jump-example.c,
3491 * examples/hildon-pannable-area-tree-view-example.c:
3492 Renamed the pannable area examples, now they have more meaningful
3495 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3497 * src/hildon-touch-selector.c:
3498 (hildon_touch_selector_set_column_selection_mode): Used of
3499 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3500 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3501 to avoid re-seting the same selection mode.
3503 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3504 breaks HildonPickerDialog)
3506 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3508 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3509 conditional in the Makefile.am
3511 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3513 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3514 Remove unused methods.
3516 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3518 * src/hildon-button.c (hildon_button_init):
3519 Make button images center-aligned by default
3521 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3524 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3525 activated, we have to think about how to deal with both defines
3526 MAEMO_GTK and MAEMO_CHANGES.
3528 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3530 * examples/hildon-app-menu-example.c (create_menu): Make all
3531 buttons finger size.
3533 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3535 Fixed the compilation without maemo gtk adding ifdefs with
3536 MAEMO_GTK define to the code, we have to check this version more
3539 * examples/Makefile.am: Added control to avoid some examples that
3540 just make sense with maemo gtk.
3543 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3544 hildon modes with the define.
3546 * examples/hildon-edit-toolbar-example.c,
3547 (create_icon_view): Create the icon view without hildon-gtk
3548 helpers if we are not using maemo gtk.
3550 * src/hildon-touch-selector.c,
3551 (_create_new_column): Create the treeview without hildon-gtk
3552 helpers if we are not using maemo gtk.
3554 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3556 * src/hildon-pnnable-area.c,
3557 (hildon_pannable_area_dispose),
3558 (hildon_pannable_area_button_press_cb),
3559 (hildon_pannable_area_child_mapped),
3560 (hildon_pannable_area_add),
3561 (hildon_pannable_area_remove): Added code to control the position
3562 of the event_window when adding and removing children from the
3563 pannable. We have to raise the event window when the child is
3566 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3567 selection mode using custom widget inside pannable)
3569 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3571 * configure.ac: post release version bump
3572 * debian/changelog: version bump
3574 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3579 * configure.ac: bump version
3580 * debian/changelog: updates
3582 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3584 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3585 search mode, in order to avoid lose the focus on the treeview when
3586 a hw key (like enter) is pressed.
3588 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3589 in HildonDateSelector dialog)
3591 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3593 * debian/rules: Added --enable-maintainer-mode
3594 * Makefile.am: Added ACLOCAL_AMFLAGS
3596 This allows to properly regenerate the Makefiles if you modify the
3597 configure.ac or any Makefile.am.
3599 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3601 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3602 properties, not needed at all.
3604 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3606 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3608 * src/hildon-note.c: (hildon_note_set_property),
3609 (hildon_note_get_property), (hildon_note_class_init),
3610 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3611 (hildon_note_new_confirmation_add_buttons): Remove icons.
3612 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3613 (hildon_note_new_information_with_icon_name): Deprecate.
3614 (hildon_note_new_confirmation): Act directly, without calling
3615 the deprecated constructor.
3616 (hildon_note_new_information): Act directly, without calling
3617 the deprecated constructor.
3618 * src/hildon-note.h: Mark deprecate methods as such.
3619 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3620 not run tests on the deprecated methods if built with deprecation
3623 Fixes: NB#91688 (Never show icons in information notes/confirmation
3626 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3628 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3629 (hildon_app_menu_key_press): Remove leftover usage of the
3630 private structure in HildonAppMenu struct.
3631 * src/hildon-app-menu.h: Remove leftover private structure
3632 from the HildonAppMenu struct.
3634 Fixes a crasher when using the HildonAppMenu.
3636 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3638 * src/hildon-picker-dialog.c: Use appropriate logical id
3639 for the default "Done" text.
3641 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3643 * configure.ac: post release version bump
3644 * debian/changelog: version bump
3646 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3648 Modified the way to scroll to the current selection just when the touch
3649 selector is shown on the screen, avoiding a g_idle. Added too a property
3650 to configure this behaviour. See hildon_pannable_area_jump_to_child
3651 documentation for more information.
3653 * src/hildon-touch-selector.c
3654 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3655 Added 'initial-scroll' property
3656 (hildon_touch_selector_set_property): Added
3657 (hildon_touch_selector_map): Removed as not required anymore
3658 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3659 only a concrete column, instead of iterate along all the columns
3661 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3666 * configure.ac: bump version
3667 * debian/changelog: updates
3669 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3671 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3672 compilation time warnings.
3674 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3676 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3677 the default value for HildonPannableArea::mov-mode to
3678 HILDON_PANNABLE_AREA_MODE_VERT.
3680 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3682 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3684 Reverting following commit:
3686 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3688 * src/hildon-app-menu-private.h
3689 * src/hildon-app-menu.[ch]
3690 * src/hildon-button.[ch]
3691 * src/hildon-check-button.[ch]
3692 * src/hildon-entry.[ch]
3693 * src/hildon-pannable-area.[ch]
3694 * src/hildon-text-view.[ch]:
3695 Added private field to the object's structure.
3697 because it causes an ABI breakage. We will need to introduce these
3698 changes later at some point. See NB#91636 for an extensive
3699 explanation and status.
3701 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3703 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3705 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3706 remove special cases that are no longer necessary.
3708 Fixes: NB#91016 (Change toolbar sizes, simplification)
3710 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3712 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3713 is shown in the cancel note.
3715 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3717 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3718 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3719 (hildon_seekbar_init): Remove steppers, remove expose event.
3720 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3722 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3724 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3726 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3727 label font to "SmallSystemFont" for vertically arranged buttons.
3729 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3732 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3734 * src/hildon-check-button.c
3735 (hildon_check_button_set_active, hildon_check_button_clicked):
3736 Don't access private parts directly, use getters instead.
3738 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3740 * src/hildon-check-button.c (hildon_check_button_new):
3741 Align the contents of the check button to the left.
3743 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3745 * src/hildon-pannable-area.c,
3746 (hildon_pannable_area_scroll_to),
3747 (hildon_pannable_area_jump_to),
3748 (hildon_pannable_area_scroll_to_child),
3749 (hildon_pannable_area_jump_to_child): Replace the mapped
3750 precondition of these functions with the realized, it is the
3751 correct state of the widget in this case. Changed the
3752 documentation according to this modification.
3754 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3756 Added a new EXTRA_CFLAGS option to add the deprecated define to
3757 the compilation command. This way we can avoid using the define in
3758 the documentation compilation.
3760 * configure.ac: Defined EXTRA_CFLAGS.
3762 * examples/Makefile.am:
3764 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3766 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3768 * src/hildon-picker-dialog.c:
3769 Defined a utility macro with the desired touch selector height
3770 Removed currently unused separator, and title_label variables from
3772 (hildon_picker_dialog_init): Removed code related to the creation
3773 of unused private variables title_label and separator.
3774 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3775 to ensure correct visualization of the touch selector inside the dialog.
3776 * src/hildon-touch-selector.c
3777 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3778 ensure a concrete height of the widget.
3780 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3783 * tests/Makefile.am:
3785 Remove spurious whitespaces.
3787 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3789 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3790 compilation warning after the cancel button removal.
3792 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3794 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3796 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3797 Makefile.am, that way we can choose not to compile some examples
3798 and tests of the deprecated widgets.
3800 * examples/Makefile.am: Divided the sources in deprecated and
3803 * src/Makefile.am: Added undef statement of the deprecated
3804 symbol to the enums file generation process.
3806 * src/hildon-color-chooser-dialog.c
3807 * src/hildon-color-chooser-dialog.h
3808 * src/hildon-color-button.c
3809 * src/hildon-color-button.h
3810 * src/hildon-color-chooser.c
3811 * src/hildon-color-chooser.h
3812 * src/hildon-controlbar.c
3813 * src/hildon-controlbar.h
3814 * src/hildon-date-editor.c
3815 * src/hildon-date-editor.h
3816 * src/hildon-hvolumebar.c
3817 * src/hildon-hvolumebar.h
3818 * src/hildon-private.c
3819 * src/hildon-private.h
3820 * src/hildon-range-editor.c
3821 * src/hildon-range-editor.h
3822 * src/hildon-seekbar.c
3823 * src/hildon-seekbar.h
3824 * src/hildon-time-editor.c
3825 * src/hildon-time-editor.h
3826 * src/hildon-time-picker.c
3827 * src/hildon-time-picker.h
3828 * src/hildon-volumebar.c
3829 * src/hildon-volumebar.h
3830 * src/hildon-vvolumebar.c
3831 * src/hildon-vvolumebar.h
3832 * src/hildon-bread-crumb-trail.h
3833 * src/hildon-bread-crumb-trail.c
3834 * src/hildon-calendar-popup.c
3835 * src/hildon-calendar-popup.h
3836 * src/hildon-weekday-picker.c:
3837 * src/hildon-weekday-picker.h:
3838 * src/hildon-bread-crumb-widget.c:
3839 * src/hildon-bread-crumb-widget.h:
3840 * src/hildon-bread-crumb.c:
3841 * src/hildon-bread-crumb.h:
3842 * src/hildon-calendar.c:
3843 * src/hildon-calendar.h:
3844 * src/hildon-caption.c:
3845 * src/hildon-code-dialog.c:
3846 * src/hildon-code-dialog.h:
3847 * src/hildon-font-selection-dialog.c:
3848 * src/hildon-font-selection-dialog.h:
3849 * src/hildon-get-password-dialog.c:
3850 * src/hildon-get-password-dialog.h:
3851 * src/hildon-login-dialog.c:
3852 * src/hildon-login-dialog.h:
3853 * src/hildon-number-editor.c:
3854 * src/hildon-number-editor.h:
3855 * src/hildon-set-password-dialog.c:
3856 * src/hildon-set-password-dialog.h:
3857 * src/hildon-sort-dialog.c:
3858 * src/hildon-sort-dialog.h: This is the list of deprecated
3861 * src/hildon-touch-selector.c:
3862 * src/hildon-window.c: Added undef statement to avoid compilation
3865 * tests/Makefile.am: Divided the sources in deprecated and
3868 * tests/check_test.c,
3869 (configure_tests): Marked the deprecated code that was adding
3870 suites with deprecated tests.
3872 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3874 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3876 * src/hildon-touch-selector.c: (_default_print_func): Do not
3877 duplicate a string returned by gtk_tree_model_get(), it is already
3880 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3883 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3885 * src/hildon-pannable-area.c
3886 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3887 method, it had problems when adding a widget with viewport the
3888 second time. Now checks if it already has a viewport and uses it.
3890 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3893 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3895 * src/hildon-pannable-area.c,
3896 (hildon_pannable_area_scroll_to),
3897 (hildon_pannable_area_jump_to),
3898 (hildon_pannable_area_scroll_to_child),
3899 (hildon_pannable_area_jump_to_child): Added a precondition to the
3900 scroll and jump to functions: the widget must be mapped before we
3901 can safely call these functions. We have also added documentation
3902 to the functions to explain how to use them in this situation.
3905 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3907 Reviewed the threading handling of the pannable widget, we have
3908 used the gdk_threads_add_timeout function instead of the usual
3909 glib handlers. This avoids some problems with the threads.
3911 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3912 (hildon_pannable_area_initial_effect),
3913 (hildon_pannable_area_scroll_indicator_fade),
3914 (hildon_pannable_area_button_press_cb),
3915 (hildon_pannable_area_timeout),
3916 (hildon_pannable_area_motion_notify_cb),
3917 (hildon_pannable_area_button_release_cb),
3918 (hildon_pannable_area_scroll_cb),
3919 (hildon_pannable_area_scroll_to): Removed the
3920 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3921 gdk_threads_add_timeout.
3923 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3925 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3930 * configure.ac: bump version
3931 * debian/changelog: updates
3933 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3935 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3936 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3937 * src/hildon-color-chooser-dialog.c:
3938 (hildon_color_chooser_dialog_init):
3939 * src/hildon-font-selection-dialog.c:
3940 (hildon_font_selection_dialog_init):
3941 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3943 Remove all cancel/close-like dialogs, as these are not going to be
3946 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3948 * src/hildon-note.c: (hildon_note_rebuild),
3949 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3952 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3954 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3956 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3957 sure all buttons are shown, even the Cancel/Close-like ones.
3959 Fixes: NB#90861 (Custom Confirmation dialogs should be
3960 protected from cancel button removal)
3962 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3964 * debian/control: Change libhildon1-examples dependency from libhildon1
3966 * debian/libhildon1-examples.install
3968 * Makefile.am: Modified the final install directory for the examples on
3969 package libhildon1-examples
3970 * Makefile.static: Update clean target in order to remove all the binary
3973 Changes suggested by Claudio after review new libhildon1-examples package
3975 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3977 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3978 * src/hildon-touch-selector.c: Ditto.
3980 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3982 * debian/control: Added new package libhildon1-examples, in order to pack
3983 the current hildon examples as documentation
3984 * debian/rules: Not to compress .c files, modify some includes on the
3985 examples (as normally are compiled locally, but when installed it will
3986 require to include the installed libhildon1 library), and rename
3988 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3989 install all the example files on the new example package
3990 * examples/Makefile.static: Added static makefile that can be used to
3991 compile the examples, once installed the new example package
3992 * examples: Most of the examples were modified in order to grant that
3993 all use only '#include "hildon.h"', in order to be easy to prepare
3994 it on the example package
3996 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3999 * debian/libhildon1-dev.install
4000 * debian/libhildon1-doc.install:
4001 Move all gtk-doc files to a separate libhildon1-doc package.
4003 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4005 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4007 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4009 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4011 * debian/rules: Fixed a error in order to avoid unnecessary calls
4012 to autogen.sh on package building
4014 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4016 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4018 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4020 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4023 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4025 * src/hildon-picker-button.c
4026 (hildon_picker_button_finalize):
4027 Free priv->done_button_text
4029 * src/hildon-time-button.c
4030 (hildon_time_button_set_time)
4031 * src/hildon-picker-button.c
4032 (hildon_picker_button_clicked)
4033 (hildon_picker_button_selector_selection_changed)
4034 (hildon_picker_button_set_selector)
4035 * src/hildon-date-button.c
4036 (hildon_date_button_set_date):
4037 Free strings returned by hildon_touch_selector_get_current_text()
4039 * src/hildon-button.c (hildon_button_construct_child):
4040 Fix leaks in priv->image and priv->label_box
4042 Fixes: NB#90535 (Memory leak in picker button)
4044 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4046 * src/hildon-button.c: (hildon_button_get_property): Do not access
4047 private elements directly, use getters instead.
4049 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4051 * src/hildon-app-menu-private.h
4052 * src/hildon-app-menu.c
4053 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4054 Store the menu's parent window.
4056 * src/hildon-stackable-window.c
4057 (hildon_stackable_window_toggle_menu)
4058 (hildon_stackable_window_finalize):
4059 Set the menu's parent window when the menu is shown, unset it when
4062 * src/hildon-app-menu.c
4063 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4064 (hildon_app_menu_class_init):
4065 Send unhandled keyboard accelerators to the parent window.
4067 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4069 * src/hildon-stackable-window.c
4070 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4072 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4074 * configure.ac: post release version bump
4076 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4079 * configure.ac: Bump version
4080 * debian/changelog: Updates
4081 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4084 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4086 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4089 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4090 GtkMenu with Hildon style.
4092 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4094 * src/hildon-picker-button.c:
4095 (hildon_picker_button_set_done_button_text): Set the dialog's
4096 done button text here as well.
4098 Fixes: NB#90232 (Picker button does not set the label on done button
4099 for the second time)
4101 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4103 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4106 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4108 * src/hildon-app-menu.c (hildon_app_menu_insert)
4109 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4110 the HildonAppMenu to be activatable using keyboard accelerators
4111 when the menu is not being shown.
4113 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4115 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4117 * src/hildon-stackable-window.c
4118 (hildon_stackable_window_show):
4119 Don't hide old windows automatically when new windows are shown:
4120 this is now a task for the window manager.
4121 (hildon_stackable_window_class_init)
4122 (hildon_stackable_window_hide):
4123 Remove windows from the stack everytime they're hidden.
4124 (hildon_stackable_window_realize):
4125 Don't change the _NET_WM_WINDOW_TYPE property. Use
4126 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4127 it as a stackable window.
4129 * src/hildon-program.c
4130 (hildon_program_pop_window_stack):
4131 Just hide the window to remove it from the stack.
4132 (hildon_program_go_to_root_window):
4133 Don't call gtk_widget_show(), this is now a task for the window
4136 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4138 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4140 * src/hildon-button.c
4141 (hildon_button_construct_child):
4142 Don't pack anything in the button until text or image are
4143 set. This allows adding a custom child after creating the button
4144 with hildon_button_new().
4145 (hildon_button_finalize, hildon_button_class_init)
4146 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4147 alignment and the label box even when they're not packed in the
4150 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4152 * src/hildon-touch-selector.h:
4153 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4154 currently the type definition was using GTK_TYPE_VBOX
4155 * src/hildon-touch-selector.c:
4156 Added some implementation notes in order to clarify that any other widget
4157 added without the column related API will not be included on the
4158 selection logic, and how the widget is freed, as some people ask about
4160 (hildon_touch_selector_remove): Reimplemented in order to free properly
4161 the column related data when you remove the private hbox.
4162 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4163 to get a proper HildonTouchSelectorColumn documentation
4165 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4167 * src/hildon-touch-selector-entry.c:
4168 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4169 text in the GtkEntry and there is no item selected. Fixes a
4172 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4174 * src/hildon-app-menu-private.h
4175 * src/hildon-app-menu.[ch]
4176 * src/hildon-button.[ch]
4177 * src/hildon-check-button.[ch]
4178 * src/hildon-entry.[ch]
4179 * src/hildon-pannable-area.[ch]
4180 * src/hildon-text-view.[ch]:
4181 Added private field to the object's structure.
4183 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4185 * configure.ac: post-release version bump
4187 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4191 * configure.ac: pre-release version bump
4193 * debian/changelog: updates.
4195 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4197 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4198 Disconnect the handler for HildonTouchSelector::changed.
4200 (hildon_picker_button_selector_selection_changed): Update the button
4201 value if the selection change was not triggered by the
4204 (hildon_picker_button_set_selector): connect to
4205 HildonTouchSelector::changed.
4207 Fixes: NB#89650 (Picker button is not updated, when selection in
4208 selector has changed)
4210 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4212 * src/hildon-picker-dialog.c
4213 (hildon_picker_dialog_realize): Removed as not required
4214 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4215 * src/hildon-picker-button.c
4216 (_current_selector_empty): New function, checks if the selector is empty
4217 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4218 if the current selector is empty, in order to avoid to show the dialog
4219 close the dialog in this case (and shows a g_warning).
4221 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4223 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4225 * src/hildon-pannable-area.c,
4226 (hildon_pannable_area_scroll): Added clause to stop movement when
4227 the child of pannable is smaller than one page.
4228 (hildon_pannable_area_scroll_to): Added conditions to avoid
4229 starting the scrolling movement if the child is smaller than one
4230 page, the complete child is in the screen, we do not have to move.
4232 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4234 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4236 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4237 this is managed automatically by the widget when the size of the
4240 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4242 * src/hildon-picker-button.c
4243 (hildon_picker_button_set_done_button_text): Make a copy of the
4244 text, and free the previous value.
4246 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4248 * src/hildon-touch-selector-entry.c:
4249 (hildon_touch_selector_entry_print_func): Return the selected row's
4250 text if the entry is empty.
4252 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4255 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4257 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4259 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4262 * src/hildon-check-button.h
4263 * src/hildon-check-button.c
4264 * examples/hildon-check-button-example.c:
4265 HildonCheckButton is now a new widget. 'toggled' signal added.
4267 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4269 * src/hildon-program-private.h
4270 * src/hildon-program.c (hildon_program_init)
4271 (hildon_program_finalize): Removed unused variables group_leader
4272 and name from HildonProgramPrivate.
4274 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4276 * src/hildon-check-button.c (hildon_check_button_set_active)
4277 (hildon_check_button_get_active, hildon_check_button_new): Use
4278 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4280 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4282 * src/hildon-touch-selector.h
4283 (hildon_touch_selector_set_column_attributes): added deprecation
4284 guard HILDON_DISABLE_DEPRECATED
4285 * src/hildon-time-selector.c
4286 (hildon_time_selector_set_time)
4287 (hildon_time_selector_get_time): Fixed a typo on documentation
4288 * src/hildon-touch-selector.c: update HildonTouchSelector and
4289 HildonTouchSelectorColumn documentation
4290 * src/hildon-touch-selector-entry.c: update "text-column" property
4292 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4293 to be added to the general documentation.
4295 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4297 * examples/hildon-pannable-area-example-4.c,
4299 * examples/hildon-pannable-area-example.c,
4300 (main): Modified the code in order to use the container add, with
4301 viewport treeviews could have problems if they are really big.
4303 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4305 * src/hildon-weekday-picker.c,
4306 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4307 the agreement regarding deprecation in the library.
4309 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4311 * examples/hildon-picker-button-multicolumn-example.c:
4312 (main): Use custom "done" button text.
4314 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4315 (hildon_picker_button_set_property),
4316 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4317 (hildon_picker_button_init),
4318 (+hildon_picker_button_get_done_button_text),
4319 (+hildon_picker_button_set_done_button_text): New methods to customize
4320 the "done" button label in the launched HildonPickerDialog. Also,
4323 * src/hildon-picker-button.h: add the public API.
4325 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4327 * src/hildon-date-selector.h:
4328 * src/hildon-picker-dialog.h:
4329 * src/hildon-time-selector.h:
4330 * src/hildon-touch-selector-column.h:
4331 * src/hildon-touch-selector.h:
4333 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4334 declarations. Fixes gtk-doc warnings.
4336 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4338 * src/hildon-picker-dialog.h
4339 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4340 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4342 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4343 long text is set as label for done button)
4345 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4347 * src/hildon-dialog.c (hildon_dialog_add_button):
4348 Set fixed width to all buttons in the HildonDialog.
4350 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4352 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4354 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4355 Set widget name using class name plus "-finger" or "-thumb".
4357 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4359 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4360 'clicked' when the state of the button is manually changed.
4362 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4364 * src/hildon-app-menu.c (hildon_app_menu_realize)
4365 (hildon_app_menu_unrealize, hildon_app_menu_init)
4366 (hildon_app_menu_class_init, item_visibility_changed):
4367 Change the menu layout when the size of the screen changes.
4368 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4369 Show warning only when changing the number of colums using the
4372 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4374 * debian/compat: Set to 5
4375 * debian/control: Update dependencies.
4376 * debian/libhildon1-dbg.install: Remove.
4377 * debian/libhildon1-dev.install: Update according to cdbs paths.
4378 * debian/libhildon1.install: Update according to cdbs paths.
4379 * debian/rules: Switch to cdbs.
4381 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4383 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4384 'item' variable renamed to 'filter'
4386 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4388 * src/hildon-app-menu.c (hildon_app_menu_insert)
4389 (hildon_app_menu_add_filter, remove_item_from_list)
4390 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4391 Don't leak hidden items when the menu is destroyed.
4393 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4395 * src/hildon-app-menu.c (hildon_app_menu_insert)
4396 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4397 (hildon_app_menu_set_columns, item_visibility_changed)
4398 (filter_visibility_changed, hildon_app_menu_repack_filters)
4399 (hildon_app_menu_repack_items):
4400 Repack items and filters separately.
4402 Don't repack all items, change only the ones that are needed to
4405 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4407 * src/Makefile.am: added hildon-touch-selector-column.h
4409 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4411 * src/hildon-touch-selector.c: added the property "text-column" to the
4412 class HildonTouchSelectorColumn, and related get/set functions
4413 (_default_printf_func): updated to use "text-column" property
4414 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4415 "text-column" in his documentation, as this is now included on
4416 HildonTouchSelectorColumn. The get/set_property can still be used,
4417 working as a wrapper to the concrete column "text-column" property
4418 (_text_column_modified): callback added in order to handle the signal
4419 "notify::text-column" of the concrete HildonTouchSelectorColumn
4420 (hildon_touch_selector_entry_get_text_column)
4421 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4422 modified in order to use the HildonTouchSelectorColumn "text-column"
4424 * src/hildon-time-selector.c:
4425 * src/hildon-date-selector.c:
4426 * examples/hildon-touch-selector-example.c
4427 * examples/hildon-touch-selector-multi-cells-example.c
4428 * examples/hildon-picker-button-multicolumn-example.c
4429 Set the right value to "text-column" property on the creation of a new
4430 column using hildon_touch_selector_append_column()
4432 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4434 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4436 * src/hildon-app-menu.c
4437 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4438 updating the layout of the menu, don't create all widgets again,
4439 just repack the items in their new places.
4441 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4443 * src/hildon-time-selector.c
4444 (hildon_time_selector_get_time)
4445 (hildon_time_selector_set_time)
4446 Added documentation of these public methods
4448 * src/hildon-date-button.h
4449 * src/hildon-touch-selector-column.h
4450 * src/hildon-time-button.h
4451 * src/hildon-picker-dialog.h
4452 * src/hildon-time-selector.h
4453 * src/hildon-picker-button.h
4454 * src/hildon-touch-selector.h
4455 * src/hildon-time-picker.h
4456 * src/hildon-date-selector.h
4457 * src/hildon-touch-selector-entry.h
4458 Modified in order to use hildon-widgets code style
4460 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4462 Added deprecated support to the compilation process using
4463 HILDON_DISABLE_DEPRECATED
4465 * configure.ac: Added the --disable-deprecated to the configure
4468 * src/hildon-weekday-picker.c:
4469 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4470 to use the deprecated support. We will update the other deprecated
4471 widgets status in a new patch.
4473 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4475 * configure.ac: Fixed typo with fatal warnings support, the
4476 variable name was not correct
4478 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4480 * src/hildon-app-menu.c
4481 * src/hildon-program.c: Update documentation.
4483 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4485 * configure.ac: Post-release version bump.
4487 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4492 * configure.ac: Pre-release version bump.
4493 * debian/changelog: Updates.
4495 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4497 * NEWS: Update news for previous releases.
4499 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4501 * examples/hildon-touch-selector-multi-cells-example.c:
4502 (create_selector): Update the example to use
4503 hildon_touch_selector_append_column() with a NULL renderer and set
4504 the renderers later.
4505 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4506 passed a NULL renderer. This is documented behavior now.
4508 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4509 This must be used if the developer wants full control on the layout of
4510 the renderers to be added to the column.
4512 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4514 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4516 * src/hildon-touch-selector.c: Documentation fixes.
4518 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4520 * src/hildon-wizard-dialog-private.h: Remove image and box.
4521 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4522 (hildon_wizard_dialog_set_property), (response): Completely remove
4523 image/icon support, and the containers required for the layout.
4525 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4527 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4529 * src/hildon-app-menu.c: Updated documentation.
4531 * src/hildon-stackable-window.c
4532 (hildon_stackable_window_set_main_menu): Unref the old menu after
4533 ref'ing the new one.
4535 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4537 * src/hildon-stackable-window.c
4538 (hildon_stackable_window_set_main_menu): Unref the previous menu
4539 instead of destroying it.
4541 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4542 floating reference and set has_user_ref_count to FALSE to make
4543 HildonAppMenu act like a normal ref-counted widget and not a
4546 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4549 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4551 * src/hildon-touch-selector-column.h: new file
4552 * src/hildon-touch-selector.h
4553 * src/hildon-touch-selector.c
4554 Implemented GtkCellLayout interface, in order to allow to configure
4555 the cell layout on each individual selector column
4556 (hildon_touch_selector_set_column_attributes): marked as deprecated
4557 * examples/hildon-touch-selector-multi-cells-example.c
4558 Example of how to use the GtkCellLayout interface on the selector
4560 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4562 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4564 * src/hildon-app-menu.h
4565 * src/hildon-app-menu.c
4566 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4567 (hildon_app_menu_append, hildon_app_menu_prepend):
4568 New methods to prepend, insert and move items in the menu.
4570 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4572 * src/hildon-wizard-dialog.c:
4574 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4576 (create_title): Update logical IDs and related code.
4577 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4579 * src/hildon-wizard-dialog.h: Note that
4580 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4581 point, as it is not used anymore.
4583 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4585 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4587 * src/hildon-note.c:
4588 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4589 shown. Do not display an icon in confirmation notes nor information
4591 (hildon_note_set_button_text): Update logical ID for cancel button.
4593 Fixes: NB#88850 (Update HildonNote button strings + signals)
4595 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4597 * src/hildon-stackable-window.c
4598 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4600 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4602 * src/hildon-app-menu-private.h
4603 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4604 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4605 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4606 temporary property 'columns' to change the number of columns.
4608 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4610 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4612 * examples/hildon-note-example.c: (on_information_clicked),
4613 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4614 debugging information.
4615 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4617 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4618 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4619 in order to close: this will be handled by the WM from now on.
4621 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4623 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4625 * src/hildon-app-menu-private.h
4626 * src/hildon-app-menu.c
4627 (hildon_app_menu_append, hildon_app_menu_add_filter)
4628 (button_visibility_changed, hildon_app_menu_apply_style)
4629 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4630 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4631 layout everytime a button (item or filter) is shown or hidden.
4633 * src/hildon-stackable-window.c
4634 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4637 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4639 * src/hildon-touch-selector.c:
4640 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4641 that the treeview inside the touch selector is in fremantle hildon mode
4642 * examples/hildon-date-button-example.c
4643 * examples/hildon-picker-button-multicolumn-example.c
4644 * examples/hildon-touch-selector-entry-example.c
4645 * examples/hildon-touch-selector-example.c
4646 * examples/hildon-time-button-example.c
4647 * examples/hildon-picker-button-example.c:
4648 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4650 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4652 * examples/hildon-text-view-example.c: (main): Remove the
4653 gtkrc bits, now handled by the theme.
4655 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4657 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4660 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4662 * po/Makefile.am: Install properly the mo files.
4663 * po/en_GB.po: Update translation, to ease testing purposes.
4665 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4667 * examples/hildon-picker-button-example.c: (main): Select an item
4668 in the selector before setting it to the button.
4670 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4672 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4673 Update button's value if the selector has an item active.
4675 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4676 'value' with the selector)
4678 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4680 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4681 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4682 (hildon_picker_button_class_init): Plug the finalize method.
4683 (hildon_picker_button_set_selector): If there's a previously set
4684 selector, unref'it before setting a new one.
4686 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4687 HildonTouchSelector)
4689 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4691 * src/hildon-touch-selector-entry.c:
4692 (hildon_touch_selector_entry_changed): Check if there is no text
4693 selected before setting the entry text.
4696 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4698 * src/hildon-touch-selector.h
4699 * src/hildon-touch-selector.c
4700 (hildon_touch_selector_get_active)
4701 (hildon_touch_selector_set_active): New methods to set/get the
4702 index of the selected item.
4704 * src/hildon-picker-button.h
4705 * src/hildon-picker-button.c
4706 (hildon_picker_button_get_active)
4707 (hildon_picker_button_set_active): New methods to set/get the
4708 index of the selected item.
4710 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4712 * configure.ac: post-release version bump.
4714 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4718 * configure.ac: Pre-release version bump.
4719 * debian/changelog: Updates.
4720 * debian/control: Add myself as maintainer and depend on l10n
4723 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4725 * src/hildon-window.c
4726 (hildon_window_set_main_menu)
4727 * src/hildon-stackable-window.c
4728 (hildon_stackable_window_set_main_menu):
4729 Updated documentation.
4731 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4733 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4734 Don't free selector->priv manually.
4737 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4740 (hildon_gtk_window_set_progress_indicator):
4741 * src/hildon-gtk.h: Added the new API
4742 hildon_gtk_window_set_progress_indicator, it changes the state of
4743 the window progress hint.
4745 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4747 * src/hildon-button.c
4748 * src/hildon-stackable-window.c: Minor documentation updates.
4750 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4752 * src/hildon-stackable-window.c: Updated documentation.
4754 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4756 * src/hildon-defines.h: Update margins definitions
4757 to the Fremantle sizes.
4760 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4762 * src/hildon-touch-selector.c,
4763 (_hildon_touch_selector_set_model): Cleaning the code after
4764 review, removed g_print and #if 0 from the code.
4766 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4768 * src/hildon-edit-toolbar.c: Update documentation.
4770 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4772 * src/hildon-check-button.h
4773 * src/hildon-check-button.c
4774 (hildon_check_button_set_label, hildon_check_button_get_label)
4775 * examples/hildon-check-button-example.c
4776 (button_clicked_cb):
4777 Removed deprecated methods.
4779 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4781 * src/hildon-text-view.c:
4782 Add sample code to the documentation.
4784 * src/hildon-entry.h
4785 * src/hildon-text-view.h:
4786 Minor cosmetic changes.
4788 * src/hildon-entry.c:
4789 Add sample code to the documentation.
4790 (hildon_entry_init, hildon_entry_refresh_contents):
4791 Don't allow NULL values in the placeholder.
4793 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4795 * doc/hildon-docs.sgml
4797 * examples/Makefile.am
4798 * examples/hildon-text-view-example.c
4800 * src/hildon-text-view.c
4801 * src/hildon-text-view.h
4803 New HildonTextView widget, with example.
4805 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4807 * po/POTFILES.in: Add missing files with translatable strings.
4808 Partially fixes NB#88287.
4810 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4812 * examples/hildon-pannable-area-example-2.c: (main): No need to
4813 set the cellrenderer height inside hildon touch lists, the theme does
4816 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4818 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4819 they are integrated in the theme.
4821 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4823 * examples/hildon-entry-example.c: Update the example adding
4824 widgets to modify the text and the placeholder of the HildonEntry.
4826 * src/hildon-entry.c: Show the placeholder everytime the widget
4827 is empty and loses the focus.
4829 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4831 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4833 * src/hildon-pannable-area.c,
4834 (hildon_pannable_area_size_request): Fixed bug in height
4835 requisition, avoid increasing size and add border twice.
4837 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4839 * configure.ac: postrelease version bump.
4841 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4845 * configure.ac: Prerelease version bump.
4846 * debian/changelog: update.
4847 * debian/rules: make -dbg package contain useful debugging symbols.
4849 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4851 * src/hildon-dialog.h
4852 * src/hildon-dialog.c
4853 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4854 New methods to add buttons with finger size.
4855 (hildon_dialog_new_with_buttons):
4856 Create buttons with finger size.
4858 * examples/hildon-dialog-example.c (main): Use HildonDialog
4859 methods to add buttons.
4861 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4863 * src/hildon-entry.c: Updated HildonButton documentation.
4865 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4867 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4868 button value label with (FALSE, FALSE) to prevent NB#88126 from
4871 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4873 * examples/hildon-pannable-area-example.c,
4874 (main): Removed examples panning a vbox inside a pannable
4875 area. Check bug NB#87965
4877 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4879 Patch contributed by Kris Rietveld (kris@imendio.com)
4881 * src/hildon-pannable-area.c,
4882 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4883 get_size and get_position, this saves an X server roundtrip.
4885 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4887 * doc/hildon-docs.sgml
4889 * examples/Makefile.am
4890 * examples/hildon-entry-example.c
4892 * src/hildon-entry.c
4893 * src/hildon-entry.h
4895 New HildonEntry widget, with example.
4897 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4899 * src/hildon-button.c (hildon_button_construct_child): Pack the
4900 image with expand == fill == FALSE. This is a workaround for a bug
4903 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4905 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4906 labels for the text column, to make it more look more dynamic.
4908 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4910 * src/hildon-time-selector.c
4911 Define gettext auxiliar macro N_
4912 (_create_minutes_model)
4913 (_create_hours_model)
4914 (_create_ampm_model): use of strftime in order to fill the model
4915 * src/hildon-date-selector.c
4916 (hildon_date_selector_finalize):
4917 (_locales_init): remove the logic related to get the name of the months
4918 using nl_langinfo, as it is not required anymore
4920 (_create_year_model)
4921 (_create_month_model)
4922 (_update_day_model): use of strftime in order to fill the model properly
4925 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4927 * src/hildon-button.h
4928 * src/hildon-button.c (hildon_button_get_image): New method to
4931 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4933 * src/hildon-touch-selector.c:
4934 (hildon_touch_selector_remove_column): Remove from the correct parent
4935 and also remove the list element and free it.
4938 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4940 * src/hildon-time-selector.c
4941 (_create_hours_model): change the range on 12h ampm format in order to use
4942 a 12-11 range instead of previous 01-12 range
4943 (hildon_time_selector_set_time): change the way to select the current time
4944 on 12h ampm format, due the change on the range
4945 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4948 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4950 * src/hildon-touch-selector.c
4951 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4952 in order to allow use this function on multiple row selection mode if
4953 the column is different that the first one
4956 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4958 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4959 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4961 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4963 * src/hildon-date-selector.h: clean some comments, now on the .c
4964 * src/hildon-date-selector.c
4965 (hildon_date_selector_select_month): first implementation
4966 (hildon_date_selector_select_day): added documentation, reimplemented
4967 using hildon_date_selector_select_current_date to avoid repeat code
4970 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4972 Reviewed interaction logic based on device experiences, refactored
4975 * src/hildon-pannable-area.c,
4976 (hildon_pannable_area_class_init): Updated default vmax speed.
4977 (hildon_pannable_area_calculate_velocity): Added this function, it
4978 avoids duplicate valocity calculation. Adjusted calculation to
4979 avoid problems with zero dist events.
4981 (hildon_pannable_area_motion_notify_cb): Now we use the
4982 calculate_velocity function.
4984 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4986 * src/hildon-date-selector.c
4987 (hildon_date_selector_select_current_date): fix the day range check
4988 as it failed using the last day of the current month
4991 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4993 * src/hildon-touch-selector.c
4994 (hildon_touch_selector_get_num_columns): added a parameter validation
4997 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4999 * examples/Makefile.am
5000 * examples/hildon-edit-toolbar-example.c: Example of the
5001 HildonEditToolbar widget.
5003 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5005 * configure.ac: postrelease version bump.
5007 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5011 * configure.ac: prerelease version bump.
5012 * debian/changelog: update.
5014 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5016 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5017 renderer to display stock icons in the touch list. Also, set the sizes
5018 to the recommended in the style guide.
5020 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5021 * src/hildon-touch-selector.h
5022 (hildon_touch_selector_set_active_iter): renamed, now is
5023 hildon_touch_selector_select_iter
5024 (hildon_touch_selector_get_active_iter): renamed, now is
5025 hildon_touch_selector_get_selected
5026 (hildon_touch_selector_unselect_iter): added
5027 * src/hildon-touch-selector.c
5028 Update after API modification (methods renamed)
5029 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5030 order to avoid problems selecting multiple elements on the column
5031 (hildon_touch_selector_unselect_iter): added the implementation
5032 * src/hildon-time-selector.c
5033 * src/hildon-date-selector.c
5034 * src/hildon-touch-selector-entry.c
5035 Update methods calls after hildon-touch-selector.h API modification (methods
5038 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5040 * src/hildon-stackable-window.c
5041 (hildon_stackable_window_finalize): Call the parent class's finalize.
5043 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5045 * examples/hildon-touch-selector-example.c: (create_selector): Use
5046 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5049 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5051 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5052 set a cell background color, to respect theming.
5054 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5056 * doc/hildon-docs.sgml
5059 * src/hildon-edit-toolbar.c
5060 * src/hildon-edit-toolbar.h
5061 * src/hildon.h: New HildonEditToolbar widget.
5063 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5065 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5068 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5069 * src/hildon-touch-selector.c
5070 (_create_new_column): use g_object_set instead of two g_object_set_property
5072 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5073 * src/hildon-touch-selector.c
5074 (_create_new_column): use of hildon_gtk_tree_view_new to create
5075 the treeview, instead of use directly g_object_new
5076 (_create_new_column): update the property name "vindicator-mode" for the
5077 new one "vscrollbar-policy"
5078 * examples/hildon-date-button-example.c
5079 * examples/hildon-picker-button-multicolumn-example.c
5080 * examples/hildon-touch-selector-entry-example.c
5081 * examples/hildon-touch-selector-example.c
5082 * examples/hildon-time-button-example.c
5083 * examples/hildon-picker-button-example.c
5084 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5085 to all the treeviews inside a pannable area.
5087 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5089 * src/hildon-button.h
5090 * src/hildon-button.c (hildon_button_init)
5091 (hildon_button_set_arrangement, hildon_button_set_alignment)
5092 (hildon_button_set_title_alignment)
5093 (hildon_button_set_value_alignment)
5094 (hildon_button_set_image_alignment)
5095 (hildon_button_construct_child): New methods to set the alignment
5096 of the individual components of the button (title, value,
5097 image). Also, new method to alter the xscale and yscale properties
5098 of the GtkAlignment inside the button, so more complex layouts can
5101 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5103 * src/hildon-button.c (hildon_button_style_set)
5104 (hildon_button_class_init, hildon_button_set_arrangement)
5105 (hildon_button_construct_child): Apply style properties
5106 correctly. Use the 'image-spacing' style property too.
5108 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5110 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5111 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5114 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5116 * src/hildon-pannable-area.c,
5117 (hildon_pannable_area_size_request): Fixed problem with
5118 pannable-area size_request.
5120 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5122 Added management for the grab-focus to a child widget, like a
5123 range, we need to fade out the scrollbar when releasing.
5125 * src/hildon-pannable-area.c,
5126 (hildon_pannable_area_init): Connected the grab-focus signal to
5128 (hildon_pannable_area_grab_notify): Added this function in order
5129 to manage the situation when the grab-focus ends. We have to
5130 fade-out the scrollbar.
5132 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5134 * src/hildon-app-menu.c: Minor documentation update.
5136 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5138 * src/hildon-app-menu.c
5139 * examples/hildon-app-menu-example.c (create_menu): Update
5140 examples and documentation to explain how to connect callbacks.
5142 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5144 * examples/hildon-button-example.c
5145 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5146 hildon_stackable_window_new instead of gtk_window_new
5148 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5150 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5151 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5152 (hildon_pannable_area_set_property),
5153 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5154 (hildon_pannable_area_unrealize),
5155 (hildon_pannable_area_size_request),
5156 (hildon_pannable_area_size_allocate),
5157 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5158 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5159 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5160 (hildon_pannable_area_initial_effect),
5161 (hildon_pannable_area_redraw),
5162 (hildon_pannable_area_scroll_indicator_fade),
5163 (hildon_pannable_area_expose_event),
5164 (hildon_pannable_area_get_topmost), (synth_crossing),
5165 (hildon_pannable_area_button_press_cb),
5166 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5167 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5168 (hildon_pannable_area_motion_notify_cb),
5169 (hildon_pannable_area_button_release_cb),
5170 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5171 (hildon_pannable_area_remove),
5172 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5173 chage the code layout to a more GtkWidget like. Review the use of
5176 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5178 * examples/hildon-pannable-area-example-4.c,
5179 (main): Modified the name of the hindicator_mode to
5182 * src/hildon-pannable-area.c,
5183 (hildon_pannable_area_class_init),
5184 (hildon_pannable_area_motion_notify_cb),
5185 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5186 we have reduced the amount of signals and managed reviewed its
5187 rationale. Changed the default decelerate value.
5189 (hildon_pannable_area_add),
5190 (hildon_pannable_area_redraw): Refactored functions.
5192 (hildon_pannable_area_init),
5193 (hildon_pannable_area_get_property),
5194 (hildon_pannable_area_set_property):
5195 (hildon_pannable_draw_vscroll),
5196 (hildon_pannable_draw_hscroll),
5197 (hildon_pannable_area_initial_effect),
5198 (hildon_pannable_area_expose_event),
5199 (hildon_pannable_area_scroll),
5200 (hildon_pannable_area_button_press_cb),
5201 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5202 and vindicator_mode with hscrollbar_policy and
5203 vscrollbar_policy. Replaced hscroll and vscroll with
5204 hscroll_visible and vscroll_visible.
5206 (hildon_pannable_area_refresh): Refactor the function, remove
5207 variables and check the calls to this function, added resize
5208 conditions in case the children change their layout.
5210 (hildon_pannable_area_size_request): Added more detailed
5211 size_request calculation.
5214 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5216 * src/hildon-color-chooser.c
5217 (init_borders): use the correct gtk_border_free instead of g_free, to
5218 avoid a crash when this widget is used (ie: the three color selection
5221 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5223 * src/hildon-check-button.c,
5224 (hildon_check_button_set_active): Fixed problem when setting the
5225 active value, the widget was not redrawn.
5227 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5229 * src/hildon-pannable-area.c,
5230 (hildon_pannable_area_refresh),
5231 (hildon_pannable_area_scroll),
5232 (hildon_pannable_area_motion_notify_cb): Small code style change.
5234 (hildon_pannable_area_class_init): Default initial_hint set to
5235 FALSE, it is not in the specs.
5237 (hildon_pannable_area_initial_effect),
5238 (hildon_pannable_area_expose_event),
5239 (hildon_pannable_area_map),
5240 (hildon_pannable_area_init): Moved the launching point of the
5241 initial effect, it was in map but the sizes where not correct in
5242 that method so we do not know if we have the reproduce it. Now it
5243 is placed in the expose_event method and uses a variable to
5244 reproduce it just once.
5246 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5248 * src/hildon-pannable-area.c,
5249 (hildon_pannable_draw_vscroll),
5250 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5251 position allowed for the scrollbars.
5253 (hildon_pannable_area_size_allocate): Small style change.
5255 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5257 * src/hildon-pannable-area.c,
5258 (hildon_pannable_area_scroll_indicator_fade),
5259 (hildon_pannable_area_button_press_cb),
5260 (hildon_pannable_area_button_release_cb),
5261 (hildon_pannable_area_scroll_cb),
5262 (hildon_pannable_area_expose_event),
5263 (hildon_pannable_area_init): Added the define parameter
5264 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5265 and refactor the fade variable.
5267 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5269 * src/hildon-pannable-area.c,
5270 (hildon_pannable_area_redraw),
5271 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5272 lines, we were reimplemeting the redraw code.
5274 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5276 * src/hildon-pannable-area.c,
5277 (hildon_pannable_area_scroll_cb),
5278 (hildon_pannable_area_realize),
5279 (hildon_pannable_area_class_init): Added scroll_event management
5280 for pannable area, now we can scroll the usual desktop method.
5282 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5283 initialization of the parameters should depend on idle_id.
5285 (hildon_pannable_area_init),
5286 (hildon_pannable_area_map): Small code style modifications
5288 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5290 * src/hildon-pannable-area.c
5291 (hildon_pannable_area_button_press_cb),
5292 (hildon_pannable_area_motion_notify_cb),
5293 (hildon_pannable_area_button_release_cb),
5294 (hildon_pannable_area_size_allocate),
5295 (hildon_pannable_area_scroll_to): Improved the timeouts
5296 management, we avoid creating them each time.
5298 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5300 * src/hildon-pannable-area.c:
5301 (hildon_pannable_area_refresh),
5302 (hildon_pannable_area_motion_notify_cb),
5303 (hildon_pannable_area_class_init):
5304 * src/hildon-pannable-area.h:
5305 * src/hildon-touch-selector.c
5306 (_create_new_column):
5307 * examples/hildon-pannable-area-example-4.c:
5308 (horizontal_movement),
5309 (vertical_movement),
5311 Replaced the names of enums in the HildonPannableArea:
5312 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5313 HILDON_MOVEMENT_MODE_*
5314 - HILDON_PANNABLE_AREA_MOV_* ->
5316 - Removed HildonPannableAreaIndicatorMode, now we
5319 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5321 * examples/hildon-pannable-area-touch-grid-example.c
5322 * examples/hildon-pannable-area-touch-list-example.c: Fix
5323 compilation warnings.
5325 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5327 * src/hildon-gtk.c (hildon_gtk_button_new)
5328 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5329 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5330 images overriding the value of the "gtk-button-images" setting.
5332 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5334 * src/hildon-check-button.c (hildon_check_button_new):
5335 Instead of using a custom container, display the label and the
5336 checkbox using the standard GtkButton API.
5338 * examples/hildon-check-button-example.c (main): Don't use
5339 hildon_check_button_set_label() anymore
5341 * src/hildon-check-button.h
5342 * src/hildon-check-button.c
5343 (hildon_check_button_set_label, hildon_check_button_get_label):
5344 Set as deprecated, now we're using gtk_button_{get,set}_label()
5346 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5348 * src/hildon-pannable-area.c,
5349 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5350 GtkTreeview first line we detected it after the inclusion of the
5351 GtkWindowImpl in gtk+. We now check if the window is visible, not
5352 just if the pointer is over the window.
5353 (hildon_pannable_axis_scroll),
5354 (hildon_pannable_area_expose_event): Small style changes.
5356 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5358 * src/hildon-button.c: Update documentation.
5360 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5362 * examples/hildon-button-example.c: Add a switch to show images in
5365 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5367 * doc/hildon-docs.sgml: Some docs reorganization.
5369 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5371 * examples/hildon-pannable-area-touch-list-example.c
5373 * examples/hildon-pannable-area-touch-grid-example.c
5374 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5375 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5376 Fix memory leak when setting the tree model.
5378 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5382 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5384 * doc/hildon.types: Remove duplicated hildon_window_get_type
5385 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5386 documentation comment.
5388 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5390 * doc/Makefile.am: Complete list of private headers.
5392 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5394 * doc/hildon-docs.sgml
5395 * src/hildon-app-menu.c
5396 * src/hildon-bread-crumb.c
5397 * src/hildon-button.c
5399 * src/hildon-program.c
5400 * src/hildon-stackable-window.c
5401 * src/hildon-window.c: Lots of documentation updates.
5403 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5405 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5407 * configure.ac: Require Gtk+ 2.12.9 at least
5409 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5411 * src/hildon-pannable-area.c
5412 (hildon_pannable_area_scroll_indicator_fade),
5413 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5414 to protect the return of this timeout callbacks, avoiding deadlocks.
5416 2008-08-12 Christian Dywan <christian@imendio.com>
5419 * src/hildon-*.h: Ensure a consistent include order,
5420 include <gtk/gtk.h> instead of particular files and
5421 only include the topmost header in the gtk stack. See NB #39857
5423 2008-08-12 Christian Dywan <christian@imendio.com>
5425 * src/hildon-picker-dialog.c
5426 * src/hildon-touch-selector.c: Fix warnings about unused and
5427 uninitialized variables.
5429 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5431 * examples/Makefile.am
5432 * examples/hildon-check-button-example.c: Example of the hildon
5435 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5437 * src/hildon-window.h
5438 * src/hildon-window.c (hildon_window_class_init)
5439 (hildon_window_unset_program): Don't make
5440 hildon_window_unset_program a virtual function anymore.
5442 * src/hildon-stackable-window.c: Update documentation
5444 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5447 * doc/hildon-docs.sgml
5448 * doc/visual_index.xml
5449 * src/hildon-defines.c
5451 * src/hildon-helper.c
5452 * src/hildon-range-editor.c: Lots of documentation fixes.
5454 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5456 * examples/hildon-picker-button-multicolumn-example.c
5457 (create_touch_selector): Fix compilation warning.
5459 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5461 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5462 (hildon_pannable_area_button_release_cb)
5463 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5465 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5467 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5470 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5472 * src/hildon-bread-crumb-trail.h
5473 * src/hildon-date-editor.c
5474 * src/hildon-date-selector.c
5475 * src/hildon-pannable-area.c
5476 * src/hildon-picker-dialog.c
5477 * src/hildon-time-selector.c
5478 * src/hildon-touch-selector-entry.c
5479 * src/hildon-touch-selector.c
5480 * src/hildon-touch-selector.h: Misc documentation fixes
5482 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5484 * examples/hildon-date-editor-example.c (main): Updated date
5487 * examples/hildon-note-example.c (on_confirmation_clicked):
5488 Updated confirmation note example.
5490 * src/hildon-date-editor.c
5491 * src/hildon-note.c: Updated sample programs in documentation.
5494 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5496 * src/hildon-date-button.h:
5497 * src/hildon-picker-button.h:
5498 * src/hildon-time-button.c:
5499 * src/hildon-time-button.h:
5501 Some declarations changes to allow gtk-doc to document the widgets
5504 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5506 * src/hildon-date-button.c: Document the widget.
5507 * src/hildon-time-button.c: Document the widget.
5509 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5511 * src/hildon-picker-button.c: Document the widget.
5512 * src/hildon-touch-selector-entry.c: Document the widget.
5514 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5516 * doc/hildon-docs.sgml
5519 * src/hildon-check-button.h
5520 * src/hildon-check-button.c: New functions to create the Hildon
5524 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5526 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5528 * src/hildon-button.h
5529 * src/hildon-button.c
5530 (hildon_button_add_title_size_group)
5531 (hildon_button_add_value_size_group)
5532 (hildon_button_add_image_size_group)
5533 (hildon_button_add_size_groups): New functions to set size groups
5534 for the button labels and image.
5535 (hildon_button_new_full): Removed
5537 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5539 * src/hildon-time-selector.c
5540 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5541 in order to avoid a crash if gconf is not available
5543 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5545 * src/hildon-button.c (hildon_button_set_arrangement)
5546 (hildon_button_construct_child): Don't construct the button child
5547 before setting the arrangement.
5549 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5551 * src/hildon-program-private.h
5552 * src/hildon-program.c
5553 * src/hildon-program.h
5554 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5555 (hildon_program_peek_window_stack)
5556 (hildon_program_pop_window_stack)
5557 (hildon_program_go_to_root_window): HildonProgram now has a
5558 separate list for stackable windows. Functions are provided to
5559 manage that list with a stack-like API.
5561 * src/hildon-stackable-window.c: Stackable window management is
5562 now much simpler with the new HildonProgram API. Windows no
5563 longer need to be manually added to the program, they're
5564 automatically pushed to the top of the stack when shown.
5566 * examples/hildon-stackable-window-example.c: Updated example to
5567 reflect the API changes.
5569 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5571 * src/hildon-touch-selector.c: Comment out unimplemented
5572 hildon_touch_selector_insert_column() to avoid a compile warning.
5574 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5576 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5577 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5578 (hildon_touch_selector_set_column_selection_mode),
5579 (_hildon_touch_selector_set_model),
5580 (hildon_touch_selector_set_model):
5582 Complete review of HildonTouchSelector documentation.
5584 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5586 * doc/hildon-docs.sgml
5590 * src/hildon-gtk.c: Convenience functions for standard Gtk
5591 widgets, used to easily perform frequent operations.
5593 * src/hildon-button-helpers.h
5594 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5596 * src/hildon-helper.h
5597 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5598 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5600 * src/hildon-button.h
5601 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5603 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5605 * src/hildon-button.c (hildon_button_init)
5606 (hildon_button_set_arrangement, hildon_button_construct_child):
5607 Pack the image and the labels inside the same GtkAlignment so
5608 gtk_button_set_alignment() can be used
5610 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5612 * src/hildon-button.h
5613 * src/hildon-button.c
5614 (hildon_button_init, hildon_button_set_image)
5615 (hildon_button_set_image_position)
5616 (hildon_button_construct_child): New functions to add an image to
5619 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5621 * src/hildon-date-button.c
5622 * src/hildon-picker-button.c
5623 * src/hildon-time-button.c
5624 * src/hildon-button.c:
5625 (hildon_button_class_init): "size-flags" renamed to "size"
5626 (hildon_button_set_title): Hide the title label if set to NULL.
5628 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5630 HildonButtonFlags split into HildonButtonArrangement (to set the
5631 button layout) and HildonSizeType (which can be used for any
5634 * src/hildon-button.h
5635 * src/hildon-button.c
5636 (hildon_button_class_init)
5637 (hildon_button_set_arrangement)
5638 (hildon_button_set_property): New "size-flags"
5639 property. "arrangement-flags" renamed to "arrangement".
5640 (hildon_button_new, hildon_button_new_with_text)
5641 (hildon_button_new_full): Constructors updated to reflect type changes.
5643 * src/hildon-helper.h
5644 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5645 to set the size of a widget.
5649 * src/hildon-button-helpers.c
5650 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5652 * src/hildon-date-button.c
5653 * src/hildon-date-button.h
5654 * src/hildon-picker-button.c
5655 * src/hildon-picker-button.h
5656 * src/hildon-time-button.c
5657 * src/hildon-time-button.h: Updated widgets to reflect
5658 HildonButton API changes.
5660 * examples/hildon-button-example.c
5661 * examples/hildon-date-button-example.c
5662 * examples/hildon-picker-button-example.c
5663 * examples/hildon-picker-button-multicolumn-example.c
5664 * examples/hildon-time-button-example.c
5665 * examples/hildon-touch-selector-entry-example.c
5666 * examples/hildon-touch-selector-example.c: Updated examples to
5667 reflect HildonButton API changes.
5669 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5671 * doc/hildon-docs.sgml:
5673 * examples/Makefile.am:
5674 * examples/hildon-touch-selector-entry-example.c:
5676 * src/hildon-touch-selector-entry.c:
5677 * src/hildon-touch-selector-entry.h:
5680 Moved HildonTouchSelectorEntry from sandbox. Added its
5681 documentation and examples.
5683 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5685 * src/hildon-touch-selector.h:
5686 * examples/hildon-picker-button-multicolumn-example.c:
5687 (hildon_touch_selector_append_text_column): Add a gboolean
5688 parameter to determine if text must be centered in the column.
5690 * src/hildon-date-selector.c: (hildon_date_selector_init):
5691 * src/hildon-time-selector.c: (hildon_time_selector_init):
5692 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5693 (create_touch_selector): Update widgets and example to reflect
5696 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5698 * src/hildon-touch-selector.c:
5699 (hildon_touch_selector_set_active_iter): Set also the cursor in
5702 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5704 * doc/hildon-docs.sgml
5707 * src/hildon-toggle-button.c
5708 * src/hildon-toggle-button.h
5709 * src/hildon.h: Removed HildonToggleButton widget, a derived
5710 class is not necessary for this.
5712 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5714 * src/hildon-pannable-area.c,
5715 (hildon_pannable_area_realize),
5716 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5719 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5721 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5722 "done" button the default widget for the dialog.
5724 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5726 * src/hildon-touch-selector.c:
5727 (hildon_touch_selector_class_init),
5728 (hildon_touch_selector_get_property),
5729 (_hildon_touch_selector_set_model),
5730 (_hildon_touch_selector_has_multiple_selection),
5731 (hildon_touch_selector_has_multiple_selection):
5732 Add a "has-multiple-selection" property with a virtual
5733 has_multiple_selection() method to allow derived classes to
5734 override the default value for it. See the method and property
5735 documentation for details.
5737 * src/hildon-touch-selector.h: Add the new API.
5739 * src/hildon-picker-dialog.c: (requires_done_button): Call
5740 hildon_touch_selector_has_multiple_selection() instead of
5741 determining the need for a button itself.
5743 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5745 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5746 (_hildon_touch_selector_set_model),
5747 (hildon_touch_selector_set_model): Move working code to
5748 _hildon_touch_selector_set_mode(). Call the class method instead.
5750 * src/hildon-touch-selector.h: Add (*set_model) to
5751 HildonTouchSelectorClass.
5753 Make hildon_touch_selector_set_model() a virtual method, so that
5754 derived classes can extend it and do fancy stuff with the model.
5756 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5758 * configure.ac: Set back the tarname in AC_INIT to hildon.
5760 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5764 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5765 instead of libesd (NB#86876). Volume handling is still an open issue.
5767 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5770 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5772 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5773 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5774 derived class to ease placement of an entry widget in
5775 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5776 end, where the selector columns are packed now.
5778 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5780 * src/hildon-picker-button.c: Removed the simple _text() API.
5781 * src/hildon-picker-button.h: Likewise.
5783 * src/hildon-touch-selector.h:
5784 * src/hildon-touch-selector.c:
5785 (hildon_touch_selector_new_text),
5786 (hildon_touch_selector_append_text),
5787 (hildon_touch_selector_prepend_text),
5788 (hildon_touch_selector_insert_text):
5790 Moved the simple _text() API from HildonPickerButton to
5791 HildonTouchPicker, to provide better escalability and not to tie
5792 that API to HildonPickerButton.
5794 * examples/hildon-picker-button-example.c: (main): Example updated.
5796 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5798 * src/hildon-button.c: Updated documentation.
5800 * examples/hildon-button-example.c: Add the posibility to create
5801 the buttons using horizontal layout for title and value.
5803 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5805 * src/hildon-app-menu-private.h
5806 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5807 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5808 GtkSizeGroup for the filters, use the 'homogeneous' property of
5811 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5813 * examples/hildon-button-example.c: Updated example.
5815 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5817 * doc/hildon-docs.sgml:
5820 Update documentation.
5822 * examples/Makefile.am: Update renamed examples.
5824 * examples/hildon-picker-button-multicolumn-example.c:
5825 (create_touch_selector), (main): Update after the rename.
5827 * examples/hildon-touch-picker-example.c: Removed.
5828 * examples/hildon-touch-selector-example.c: (value_changed),
5829 (create_selector), (get_visible_content), (main): Renamed from
5830 hildon-touch-picker-example.c
5832 * src/Makefile.am: Updated renamed files.
5834 * src/hildon-date-button.c: (hildon_date_button_init),
5835 (hildon_date_button_get_date), (hildon_date_button_set_date):
5836 * src/hildon-date-selector.c: (hildon_date_selector_init),
5837 (_custom_print_func), (_update_day_model),
5838 (_manage_selector_change_cb),
5839 (hildon_date_selector_select_current_date),
5840 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5841 * src/hildon-date-selector.h:
5842 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5843 (hildon_picker_button_set_property),
5844 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5845 (hildon_picker_button_init), (hildon_picker_button_new_text),
5846 (hildon_picker_button_append_text),
5847 (hildon_picker_button_prepend_text),
5848 (hildon_picker_button_insert_text),
5849 (hildon_picker_button_set_selector),
5850 (hildon_picker_button_get_selector):
5851 * src/hildon-picker-button.h:
5852 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5853 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5854 (_update_title_on_selector_changed_cb), (requires_done_button),
5855 (_hildon_picker_dialog_set_selector),
5856 (hildon_picker_dialog_set_selector),
5857 (hildon_picker_dialog_get_selector):
5858 * src/hildon-picker-dialog.h:
5859 * src/hildon-time-button.c: (hildon_time_button_init),
5860 (hildon_time_button_get_time), (hildon_time_button_set_time):
5861 * src/hildon-time-selector.c: (hildon_time_selector_init),
5862 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5863 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5864 * src/hildon-time-selector.h:
5867 Massive code updates after the rename.
5869 * src/hildon-touch-picker.c: Removed.
5870 * src/hildon-touch-picker.h: Removed.
5872 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5873 (hildon_touch_selector_init), (hildon_touch_selector_map),
5874 (hildon_touch_selector_remove), (_default_print_func),
5875 (_selection_changed_cb), (_create_new_column),
5876 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5877 (hildon_touch_selector_append_text_column),
5878 (hildon_touch_selector_remove_column),
5879 (hildon_touch_selector_set_column_attributes),
5880 (hildon_touch_selector_insert_column),
5881 (hildon_touch_selector_get_num_columns),
5882 (hildon_touch_selector_get_column_selection_mode),
5883 (hildon_touch_selector_set_column_selection_mode),
5884 (hildon_touch_selector_set_print_func),
5885 (hildon_touch_selector_get_print_func),
5886 (hildon_touch_selector_get_active_iter),
5887 (hildon_touch_selector_set_active_iter),
5888 (hildon_touch_selector_get_selected_rows),
5889 (hildon_touch_selector_get_model),
5890 (hildon_touch_selector_set_model),
5891 (hildon_touch_selector_get_current_text),
5892 (_hildon_touch_selector_center_on_selected_items):
5893 * src/hildon-touch-selector.h: Renamed from
5894 hildon-touch-picker.[ch]
5896 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5897 references, code examples, and related documentation.
5899 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5901 * doc/hildon-docs.sgml
5904 * src/hildon-toggle-button.c
5905 * src/hildon-toggle-button.h
5906 * src/hildon.h: New HildonToggleButton widget.
5908 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5910 * src/hildon-button.c: Add API documentation.
5911 (hildon_button_set_size_groups): Check input parameters
5913 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5915 * src/hildon-pannable-area.c
5916 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5917 effect after reaching the movement thredshold. This way we start
5918 using the distance after passing the thredshold.
5920 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5922 * src/hildon-button.c: (hildon_button_set_property): Use the
5923 appropriate g_value_get_flags() method.
5925 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5927 * doc/hildon-docs.sgml:
5930 Add the touch pickers, picker dialogs, and picker button widgets
5931 to the documentation.
5933 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5935 * src/hildon-button.c: (hildon_button_set_property),
5936 (hildon_button_class_init): Make "arrangement-flags" a proper
5937 G_TYPE_FLAGS derived property.
5939 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5941 * examples/Makefile.am: Add below examples.
5942 * examples/hildon-date-button-example.c:
5943 * examples/hildon-picker-button-example.c:
5944 * examples/hildon-picker-button-multicolumn-example.c:
5945 * examples/hildon-time-button-example.c:
5946 * examples/hildon-touch-picker-example.c:
5948 Add examples for the recently added touch pickers,
5949 picker dialogs, and picker button widgets.
5951 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5953 * src/hildon-button.c: Add some API documentation
5955 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5957 * src/hildon-button.h
5958 * src/hildon-button.c
5960 (hildon_button_new_with_text): New constructor to create a button
5961 with no text at all.
5962 (hildon_button_init, hildon_button_set_arrangement)
5963 (hildon_button_set_title, hildon_button_set_value)
5964 (hildon_button_set_text)
5965 (hildon_button_construct_child): Hide the value when it's not used
5966 so the rest of the text is properly aligned.
5967 Allow creating buttons with arbitrary widgets inside (not just
5968 title/value labels).
5970 * examples/hildon-button-example.c (vertical_buttons_window)
5971 (horizontal_buttons_window): Update example to use new API.
5973 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5975 * src/Makefile.am: Added HildonTimeButton.
5976 * src/hildon-time-button.c: Added missing LGPL header.
5977 * src/hildon-time-button.h: Added missing LGPL header.
5978 * src/hildon.h: Add hildon-time-button.h
5980 Copied HildonTimeButton from sandbox to trunk. Future work on this
5981 widget must take place in trunk.
5983 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5985 * src/Makefile.am: Added HildonDateButton.
5986 * src/hildon-date-button.c: Update includes.
5987 * src/hildon.h: Add hildon-date-button.h
5989 Copied HildonDateButton from sandbox to trunk. Future work on this
5990 widget must take place in trunk.
5992 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5994 * src/Makefile.am: Added HildonPickerButton.
5995 * src/hildon-picker-button.h: Update includes.
5996 * src/hildon.h: Add hildon-picker-button.h
5998 Copied HildonPickerButton from sandbox to trunk. Future work on
5999 this widget must take place in trunk.
6001 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6003 * src/Makefile.am: Added HildonPickerDialog.
6004 * src/hildon-picker-dialog.c: Update includes.
6005 * src/hildon.h: Add hildon-picker-dialog.h
6007 Copied HildonPickerDialog from sandbox to trunk. Future work
6008 on this widget must take place in trunk.
6010 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6012 * src/Makefile.am: Added HildonTimeSelector.
6013 * src/hildon.h: Add hildon-time-selector.h
6015 Copied HildonTimeSelector widget from sandbox to trunk. Future
6016 work on this widget must happen in trunk.
6018 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6020 * src/Makefile.am: Added HildonDateSelector.
6021 * src/hildon.h: Add hildon-date-selector.h
6023 Copied HildonDateSelector widget from sandbox to trunk. Future
6024 work on this widget must happen in trunk.
6026 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6028 * src/Makefile.am: Added HildonTouchPicker.
6029 * src/hildon-touch-picker.c: Update includes.
6030 * src/hildon.h: Add hildon-touch-picker.h
6032 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6033 on this widget must happen in trunk.
6035 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6037 * src/hildon-pannable-area.c:
6038 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6040 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6042 * examples/hildon-app-menu-example.c (main): Let the window
6045 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6047 * src/hildon-pannable-area.c
6048 (hildon_pannable_area_class_init): Set the min value of the
6049 overshoot properties to zero, which points out that not
6050 overshooting allowed.
6052 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6054 Modified the procedure to get the widget at a point inside the
6055 pannable area when using the movement type signals. Now the user
6056 has to call a function to get the child, that way we just
6057 calculate the child in case the user really want to use it and not
6060 * src/hildon-marshalers.list: Modified the marshallers, now we do
6061 not have the widget as a parameter.
6063 * src/hildon-pannable-area.c
6064 (hildon_pannable_area_motion_notify_cb),
6065 (hildon_pannable_area_class_init),
6066 (hildon_pannable_get_child_widget_at): Removed the widget
6067 parameter from the signal callback. We have also refactored the
6068 emission of the signals.
6070 * src/hildon-pannable-area.h: Added a new method to the API to
6071 calculate a widget at a point inside the pannable area,
6072 hildon_pannable_get_child_widget_at.
6074 * examples/hildon-pannable-area-example-4.c
6075 (horizontal_movement): Modified the example to use the new API,
6076 added condition to control which widget is under the event. This
6077 way we can avoid scrolling laterally over other widgets.
6079 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6081 * src/hildon-pannable-area.c
6082 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6083 modes, we stop getting the pointer events due to returning the
6084 callback without properly calling the get pointer again. Fixed
6085 also an error using the hscroll and vscroll.
6087 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6089 * src/hildon-app-menu-private.h
6090 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6091 (hildon_app_menu_button_release, hildon_app_menu_init)
6092 (hildon_app_menu_class_init): Don't hide the menu on button
6093 release if the user didn't press outside first.
6095 * src/hildon-window.h
6096 * src/hildon-window.c (hildon_window_toggle_menu)
6097 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6098 hildon_window_toggle_menu a virtual function for the stackable
6099 window to override it.
6101 * src/hildon-stackable-window.h
6102 * src/hildon-stackable-window-private.h
6103 * src/hildon-stackable-window.c
6104 (hildon_stackable_window_realize)
6105 (hildon_stackable_window_finalize)
6106 (hildon_stackable_window_class_init)
6107 (hildon_stackable_window_init)
6108 (hildon_stackable_window_set_main_menu): New function to set the
6109 app menu of a HildonStackableWindow.
6111 * examples/hildon-app-menu-example.c: Remove the button to show
6112 the app menu, now it'll be shown when clicking on the title bar
6115 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6117 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6118 set the widget name if the arrangement flags do not specify
6121 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6123 * src/hildon-button.c: (hildon_button_set_property),
6124 (hildon_button_class_init), (hildon_button_new_full),
6125 (hildon_button_set_arrangement): Added "arrangement-flags"
6128 Make the HildonButtonFlags a construction-only property, to allow
6129 subclasses to set them properly.
6131 2008-07-21 Tim Janik <timj@imendio.com>
6133 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6134 insertion position after backspace, so additional digits are appended,
6137 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6139 * src/hildon-pannable-area.c,
6140 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6141 TODO list, it was complete and removed the g_debug and g_print
6144 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6146 Added the movement modes to the hildon-pannable-area, with this
6147 modes the developers can control in which directions the widget
6148 can scroll. They can also connect to signals in order to do
6149 something when that happens, allowing applications scroll. There
6150 is an example uploaded showing how to use it.
6152 * examples/Makefile.am:
6153 * examples/hildon-pannable-area-example-4.c: Added this example of
6154 an application using the modes.
6156 * src/hildon-marshalers.list: Added a new marshaller for the new
6159 * src/hildon-pannable-area.h: Added new enumerations and flags in
6160 order to control the movement modes and the new signals to warn
6161 about the movements in the area.
6163 * src/hildon-pannable-area.c:
6164 (hildon_pannable_axis_scroll),
6165 (hildon_pannable_area_scroll),
6166 (hildon_pannable_area_motion_notify_cb),
6167 (hildon_pannable_area_get_property),
6168 (hildon_pannable_area_set_property),
6169 (hildon_pannable_area_map),
6170 (hildon_pannable_area_class_init),
6171 (hildon_pannable_area_init),
6172 (hildon_pannable_area_jump_to): Added the modes to control the
6173 movement in the widget. We have added properties to control it,
6174 signals to warn about the movements and refactored some code.
6176 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6178 Changes required in order to allow vfast_factor set to zero to
6181 * src/hildon-pannable-area.c:
6182 (hildon_pannable_area_button_press_cb): Changed the condition, it
6183 is required for not allowing click when vfast_factor is zero.
6184 (hildon_pannable_area_timeout): Initialized velocity variables
6185 when we stop moving, it was less than 1 but not zero and we need
6186 to check zero in some situations.
6187 (hildon_pannable_area_class_init): Changed the default value of
6188 the speed factor, now the button_press is just sent in case the
6189 speed is 2 per cent of the max speed.
6190 (hildon_pannable_area_init): Initialization with 0.
6192 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6194 * src/hildon-pannable-area.c,
6195 (hildon_pannable_area_get_topmost): replaced
6196 gdk_window_get_children with gdk_window_peek_children, this way we
6197 do not have to free the list because it is not a copy.
6199 (hildon_pannable_axis_scroll),
6200 (hildon_pannable_area_scroll),
6201 (hildon_pannable_area_timeout),
6202 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6203 two parameters that were only used inside the
6204 hildon_pannable_area_scroll function.
6206 * examples/hildon-pannable-area-example.c,
6207 (get_sawtooth_label): Fixed small memory leak.
6209 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6211 More checks for the case where the overshoot is bigger than the
6214 * src/hildon-pannable-area.c:
6215 (hildon_pannable_draw_vscroll),
6216 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6217 to draw the slider of the scrollbar under the other scrollbar.
6218 (hildon_pannable_area_expose_event): added new checks to control
6219 the drawing of the overshooting area rectangle, in case it is too
6220 big for the area of the widget.
6221 (hildon_pannable_area_size_allocate): add more checks to avoid
6222 setting a position to the child widget outside the area.
6224 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6226 * src/hildon-pannable-area.c
6227 (hildon_pannable_area_size_allocate): Added conditions to control
6228 when overshooting is bigger than the allocated space for the
6229 children, this avoids negative allocations.
6231 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6233 * doc/hildon-docs.sgml
6235 * examples/Makefile.am
6236 * examples/hildon-button-example.c
6238 * src/hildon-button.c
6239 * src/hildon-button.h
6240 * src/hildon.h: Initial version of the new HildonButton widget,
6243 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6245 * src/hildon-pannable-area.c:
6246 (hildon_pannable_area_button_press_cb),
6247 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6248 (hildon_pannable_area_motion_notify_cb),
6249 (hildon_pannable_area_button_release_cb),
6250 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6251 (hildon_pannable_area_jump_to_child):
6253 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6255 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6257 * examples/Makefile.am
6258 * examples/hildon-pannable-area-touch-grid-example.c
6259 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6260 the Hildon Touch List and Hildon Touch Grid using the
6261 HildonPannableArea widget.
6263 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6265 * src/hildon-pannable-area.c,
6266 (hildon_pannable_area_button_press_cb),
6267 (hildon_pannable_area_refresh),
6268 (hildon_pannable_area_scroll),
6269 (hildon_pannable_area_motion_notify_cb),
6270 (hildon_pannable_area_button_release_cb),
6271 (hildon_pannable_area_expose_event),
6272 (hildon_pannable_area_add),
6273 (hildon_pannable_area_remove),
6274 (hildon_pannable_area_realize),
6275 (hildon_pannable_area_size_allocate),
6276 (hildon_pannable_area_class_init),
6277 (hildon_pannable_area_init),
6278 (hildon_pannable_area_scroll_to_child),
6279 (hildon_pannable_area_jump_to_child): Fixed the problem of
6280 removing the child from the GtkBin, we have rearranged the widget
6281 hierarchy, now there is no GtkAlignment which was not doing
6282 anything interesting but breaking some of the assumptions of
6283 GtkContainer. Now developers if they want to add a GtkAlignment
6284 they could, but it is not inside the area.
6286 We had to review the whole allocation/expose process, now it is
6287 improved and we save at least three signals which would be saving
6288 some time when rendering the widget. The allocation of the
6289 scrollbars is now made in the allocate method as usual.
6291 We have also added some conditions in order to control when there
6292 is no child of the pannable area. Maybe we will need more work
6295 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6297 * src/hildon-pannable-area.c,
6298 (hildon_pannable_area_dispose): Released the fade-out timeout when
6299 disposing the widget.
6301 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6303 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6304 zero, we are going to use that property in order to deactivate the
6306 (hildon_pannable_axis_scroll),
6307 (hildon_pannable_area_size_allocate): Added conditions to control
6308 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6309 call, now it is called in all situations and we can remove calls
6310 in the allocate method.
6311 (hildon_pannable_area_map): Control the situation when
6312 overshoot_max is zero, we do not need the timeout.
6313 (hildon_pannable_area_class_init): Added documentation in order to
6314 point out that setting zero to overshoot_max means deactivate
6317 NOTE: removed trailing whitespaces from my previous comments of
6320 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6322 * src/hildon-pannable-area.c
6323 (hildon_pannable_area_get_property),
6324 (hildon_pannable_area_set_property),
6325 (hildon_pannable_area_map),
6326 (hildon_pannable_area_class_init),
6327 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6328 to cause the widget give a hint about its panning abilities upon
6331 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6333 * src/hildon-pannable-area.c: Several documentation improvements.
6335 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6337 * src/hildon-program.c
6338 * src/hildon-stackable-window.c: Update documentation.
6340 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6342 * src/hildon-stackable-window.c (get_previous_window_if_last):
6343 Renamed get_last_window()
6344 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6345 (hildon_stackable_window_unset_program):
6347 (get_previous_window_if_last):
6348 Detect if the window hasn't been added to a HildonProgram.
6350 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6352 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6354 * src/hildon-pannable-area.c
6355 (hildon_pannable_area_button_press_cb),
6356 (hildon_pannable_axis_scroll),
6357 (hildon_pannable_area_scroll),
6358 (hildon_pannable_area_timeout),
6359 (hildon_pannable_calculate_vel_factor),
6360 (hildon_pannable_area_get_property),
6361 (hildon_pannable_area_set_property),
6362 (hildon_pannable_area_class_init),
6363 (hildon_pannable_area_init),
6364 (hildon_pannable_area_scroll_to),
6365 (hildon_pannable_area_jump_to),
6366 (hildon_pannable_area_scroll_to_child),
6367 (hildon_pannable_area_jump_to_child):
6368 * src/hildon-pannable-area.h: Added the new API functions:
6369 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6370 hildon_pannable_area_scroll_to_child,
6371 hildon_pannable_area_jump_to_child
6374 * examples/Makefile.am
6375 * examples/hildon-pannable-area-example-2.c
6376 * examples/hildon-pannable-area-example-3.c: Added these two new
6377 examples in order to test and show how the new APIs work.
6379 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6381 * examples/hildon-stackable-window-example.c (new_window):
6382 * src/Makefile.am (noinst_HEADERS):
6383 * src/hildon-program.c (hildon_program_go_to_root_window):
6384 * src/hildon-program.h:
6385 * src/hildon-stackable-window-private.h:
6386 * src/hildon-stackable-window.c:
6387 * src/hildon-stackable-window.h:
6388 Create hildon-stackable-window-private.h
6389 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6391 * examples/hildon-app-menu-example.c (create_menu):
6392 * examples/hildon-hvolumebar-insensitive-example.c (main):
6393 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6394 * examples/hildon-toolbar-seekbar-example.c (main):
6395 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6396 * src/hildon-banner.c (hildon_banner_set_property):
6397 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6398 Fix compilation warnings
6400 * src/hildon-window.c:
6403 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6405 * src/hildon-stackable-window.c
6406 (hildon_stackable_window_unset_program):
6407 Calculate correctly whether to show the previous window if the
6408 last one is removed from the stack.
6409 (hildon_stackable_window_go_to_root_window):
6410 Send delete events starting from the topmost window.
6411 Stop if one of the windows is not destroyed.
6413 (hildon_stackable_window_delete_event)
6414 (hildon_stackable_window_class_init):
6415 Ignore the delete event if the window is not the topmost one.
6417 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6419 * src/hildon-pannable-area.c
6420 (hildon_pannable_area_expose_event): Fixed a problem when
6421 selecting the background color of the scrollbars.
6423 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6425 * examples/hildon-stackable-window-example.c
6426 * src/hildon-stackable-window.c
6427 * src/hildon-stackable-window.h
6428 hildon_stackable_window_go_home() renamed to
6429 hildon_stackable_window_go_to_root_window()
6430 Send delete events to windows rather than closing them with
6431 gtk_widget_destroy()
6433 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6435 * src/hildon-pannable-area.c
6436 (hildon_pannable_area_button_release_cb): Fix overshooting in
6439 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6441 * src/hildon-pannable-area.c
6442 (hildon_pannable_area_init): Initially show the scroll indicators.
6443 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6445 Add initial effect showing the widget is pannable.
6447 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6449 * src/hildon-pannable-area.c
6450 (hildon_pannable_area_class_init)
6451 (hildon_pannable_area_set_property)
6452 (hildon_pannable_area_get_property)
6453 (hildon_pannable_area_button_press_cb):
6454 New 'velocity_fast_factor' property to decide which velocity is
6457 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6459 * src/hildon-pannable-area.c
6460 (hildon_pannable_draw_hscroll)
6461 (hildon_pannable_draw_vscroll):
6462 Use float variables to calculate the size of the scrollbars to
6463 avoid error propagation and resizing during scrolling.
6465 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6467 * src/hildon-pannable-area.c
6468 (hildon_pannable_draw_vscroll)
6469 (hildon_pannable_draw_hscroll):
6470 Define a minimum size for the scroll bars
6472 * src/hildon-stackable-window.c
6473 (hildon_stackable_window_go_home): Fix compilation warning
6474 (get_last_window): Minor optimizations
6475 (hildon_stackable_window_class_init): Fix initialization of
6478 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6480 * src/hildon-stackable-window.c: Fixed typos in doc
6482 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6484 * src/hildon-pannable-area.c
6485 (hildon_pannable_area_scroll):
6486 Calculate here whether we need to scroll instead of using the booleans
6487 that tell us whether to /draw/ the scrolling bars.
6489 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6491 * src/hildon-app-menu.h
6493 * src/hildon-app-menu.c
6494 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6495 multiple filter groups related code and API. Now we support only
6497 * examples/hildon-app-menu-example.c:
6499 Update to reflect API changes.
6501 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6503 * src/hildon-stackable-window.c
6504 (hildon_stackable_window_class_init):
6505 Add hildon_stackable_window_realize.
6506 (hildon_stackable_window_realize):
6507 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6508 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6509 to apply theming and behavior specific to HildonStackableWindow
6512 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6514 * src/hildon-note.c (hildon_note_button_release):
6515 Close information notes also when tapping on them
6517 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6519 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6520 ELASTICITY, refactor and review, fix some issues with drawing
6523 * src/hildon-pannable-area.c:
6524 (hildon_pannable_area_button_press_cb): removed the conditions to
6525 avoid clicks when overshooting. It is not required
6527 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6528 define. Refatored and reviewed the code, now we do not need to
6529 manage velocity in motion_notify.
6531 (hildon_pannable_area_motion_notify_cb): We have moved the code
6532 that controls the area_scroll to the axis_scroll function and get
6533 rid of duplicated code.
6535 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6537 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6539 (hildon_pannable_draw_vscroll),
6540 (hildon_pannable_draw_hscroll): Fixed the problems with the
6541 scrollbar drawing, now we do not use two surfaces, it is easier
6542 and saves resources.
6544 (hildon_pannable_area_get_property): Style modification.
6546 (hildon_pannable_area_class_init): Changed some default values.
6548 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6550 * src/hildon-stackable-window.c: Fix some typos in the
6553 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6555 * src/hildon-dialog.c:
6556 Change indentation style
6559 (hildon_note_button_release):
6560 Use root coordinates to check if the release event happened
6563 * src/hildon-app-menu.c
6564 (hildon_app_menu_button_release):
6565 Remove unnecessary check
6567 * examples/hildon-app-menu-example.c
6569 Add cast to fix warning
6571 * src/hildon-app-menu.c
6572 (hildon_app_menu_class_init):
6573 New inner-border style property.
6574 Set all default spacings to 16
6575 (hildon_app_menu_init):
6576 Use vertical-spacing to set the space between filter buttons and
6577 regular menu buttons.
6578 Set the default container border using the inner-border value.
6580 * examples/hildon-app-menu-example.c
6582 Don't set the menu border explicitly, now we have the inner-border
6583 style property for that.
6585 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6587 * src/hildon-app-menu.c (hildon_app_menu_init):
6588 Make the window modal
6590 * src/hildon-note.c (hildon_note_map)
6591 * src/hildon-app-menu.c (hildon_app_menu_map):
6592 Destroy the grab window if we're unable to grab the pointer
6594 * src/hildon-app-menu-private.h
6595 * src/hildon-app-menu.c
6596 (hildon_app_menu_init, hildon_app_menu_finalize)
6597 (hildon_app_menu_map, hildon_app_menu_unmap)
6598 (hildon_app_menu_button_release)
6599 (grab_transfer_window_get):
6600 Bring back the grab window
6601 (hildon_app_menu_realize):
6602 Decorate the window, set WM hint for Matchbox
6604 * src/hildon-note.c (hildon_note_realize):
6605 * src/hildon-banner.c (hildon_banner_realize):
6606 Add WM hints for Matchbox
6608 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6610 * src/hildon-app-menu-private.h
6611 * src/hildon-app-menu.c
6612 (hildon_app_menu_init, hildon_app_menu_finalize)
6613 (hildon_app_menu_map, hildon_app_menu_unmap)
6614 (hildon_app_menu_button_release):
6615 Remove the grab window, it's not needed anymore
6617 * src/hildon-program.c
6618 Fixed typo in documentation
6620 * src/hildon-app-menu.h
6621 * src/hildon-app-menu.c
6622 * examples/hildon-app-menu-example.c
6623 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6625 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6628 Added new transfer_window and close_if_pressed_outside private
6630 (hildon_note_rebuild):
6631 Don't add a cancel button to the information note. It will be
6632 closed when tapping outside
6633 Remove the comment about the OK button in the documentation
6634 (hildon_note_realize):
6635 Set the notification type hint
6636 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6637 Grab/ungrab pointer and keyboard if the note has to be closed when
6639 (hildon_note_button_release):
6640 Close the note when tapping outside (if applicable)
6642 * src/hildon-app-menu.c
6643 Grab/ungrab pointer and keyboard on map/unmap
6644 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6645 Close the menu on button release, not button press
6647 * src/hildon-banner.c
6648 (hildon_banner_set_property)
6649 (hildon_banner_check_position):
6650 Make the banner use the full width of the screen
6651 (hildon_banner_show_information)
6652 (hildon_banner_show_information_with_markup):
6653 Don't display an icon by default
6655 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6657 Added fading scrollbars and adapted all the overshooting code to
6658 horizontal scrolling. We have also fixed bugs with overshooting
6659 and current fading implementation.
6661 * src/hildon-pannable-area.c
6662 (hildon_pannable_area_scroll_indicator_fade): Time out function
6663 used to change the transparency of the scrollbars.
6665 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6666 control and fixed a problem with fading, we now remove the fade
6667 timeout before adding a new one.
6669 (hildon_pannable_axis_scroll):
6670 (hildon_pannable_area_scroll):
6671 (hildon_pannable_area_timeout): Added this functions so we can use
6672 the scroll code both for vertical and horizontal.
6674 (hildon_pannable_area_motion_notify_cb):
6675 (hildon_pannable_area_button_release_cb): Added the horizontal
6676 scrolling control, fixed a problem with the overshooting timeout.
6678 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6679 painting of the scrolls.
6681 (hildon_pannable_draw_vscroll):
6682 (hildon_pannable_draw_hscroll):
6683 (hildon_pannable_area_expose_event):
6684 Draw both scrollbars and rectangles in the overshooting area.
6686 (hildon_pannable_area_get_property):
6687 (hildon_pannable_area_set_property):
6688 Modified the overshoot property to overshoot_max
6690 (hildon_pannable_area_map):
6691 Replaced the comments symbols.
6693 (hildon_pannable_area_size_allocate):
6694 (hildon_pannable_area_class_init):
6695 (hildon_pannable_area_init): Added horizontal scroll, fading
6696 effect properties, fixed a problem when overshooting in the bottom
6699 * examples/hildon-pannable-area-example.c:
6700 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6701 looks better in the example.
6703 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6705 * src/hildon-window.c
6706 * src/hildon-window.h
6707 (hildon_window_class_init)
6708 (hildon_window_unset_program)
6709 (hildon_window_unset_program_real):
6710 Make unset_program a virtual function
6712 * src/hildon-stackable-window.c
6713 * src/hildon-stackable-window.h
6714 Added hildon_stackable_window_go_home()
6716 * examples/Makefile.am
6717 * examples/hildon-stackable-window-example.c
6718 HildonStackableWindow example
6720 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6722 * hildon-pannable-area.c: Added the overshoot property and removed
6723 the OVERSHOOT define. Fixed an indent style error.
6724 (hildon_pannable_area_motion_notify_cb):
6725 (hildon_pannable_area_get_property):
6726 (hildon_pannable_area_set_property): Add overshoot property.
6728 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6731 (hildon_pannable_area_class_init): Installed the new property.
6733 * hildon-pannable-area-example.c: Added a sawtooth function, this
6734 way it is easier to check the movement in the pannable.
6735 (get_sawtooth_label): Added this function.
6736 (main): Now we get the labels from the new get_sawtooth_label
6739 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6741 * src/hildon-app-menu.h
6742 * src/hildon-app-menu.c
6743 Renamed API variables for consistency
6745 (hildon_app_menu_popup): Use also the default window size to
6746 decide where to place the menu
6748 (hildon_app_menu_init, hildon_app_menu_class_init): New
6749 external-border style property
6751 2008-05-26 Michael Natterer <mitch@imendio.com>
6753 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6754 widget_class->tap_and_hold_setup signal slot doesn't exist any
6755 longer, stop overriding it.
6757 (hildon_time_editor_init): g_signal_connect() to the
6758 tap-and-hold-setup signal instead.
6760 (hildon_time_editor_entry_keypress): add cast to fix warning.
6762 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6764 * doc/hildon-docs.sgml
6766 * examples/Makefile.am
6767 * examples/hildon-app-menu-example.c
6769 * src/hildon-app-menu-private.h
6770 * src/hildon-app-menu.c
6771 * src/hildon-app-menu.h
6773 New HildonAppMenu widget
6775 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6777 Rearranged the inheritance of the pannable area, now it inherits
6778 from GtkBin. This will allow us to control the event_window and
6779 the allocation process of the widget, required for some effects.
6781 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6782 GtkBin structures. * src/hildon-pannable-area.c: Added the
6783 event_window variable.
6784 (hildon_pannable_area_button_press_cb):
6785 (hildon_pannable_area_button_release_cb):
6786 (hildon_pannable_area_motion_notify_cb):
6787 Changed the signature of the method, now we override the event
6788 callback instead of connecting to the signal.
6790 (hildon_pannable_area_realize):
6791 (hildon_pannable_area_unrealize):
6792 (hildon_pannable_area_map):
6793 (hildon_pannable_area_unmap):
6794 (hildon_pannable_area_size_allocate):
6795 Added functions to control the widget construction. We add a
6796 INPUT_ONLY window and we put it over the widgets inside the
6797 container, this event_window handles the events.
6799 (hildon_pannable_area_class_init):
6800 Replaced the signal connections with overrides of the event
6803 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6805 Bouncing effect added when touching the borders, you can change
6806 the elasticity of the border changing the ELASTICITY define.
6808 * src/hildon-pannable-area.c: Added ELASTICITY define.
6809 (hildon_pannable_area_timeout): Added inverse velocity when
6810 touching the border of the child widget, that causes a bounce.
6812 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6814 Improved performance, we now do not go to the X server in order to
6815 get the list of window children. Apparently the effect is the
6816 same, we have to be careful and check if this breaks something in
6819 * src/hildon-pannable-area.c:
6820 (get_ordered_children): Removed this function.
6821 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6822 the children windows function with gdk_window_get_children.
6824 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6826 * src/hildon-pannable-area.c:
6827 (hildon_pannable_area_dispose): Fixed a crash when closing the
6828 window and kinetics is activated.
6830 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6832 * src/hildon-pannable-area.h
6833 * src/hildon-pannable-area.c
6834 Changed indentation style to meet the one used in Hildon
6836 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6838 Reviewed the interaction of the AUTO mode, now we use the time
6839 attribute of the events and calculate the velocity in the motion,
6840 doing a gimp like calculation. The velocity is calculated in each
6841 motion event using the last velocity and the current one, the
6842 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6844 * src/hildon-pannable-area.c: Replaced the time based algorithm
6846 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6847 timeout for the AUTO mode when we are still moving the cursor. We
6848 added also the velocity calculation in this function.
6849 (hildon_pannable_area_button_release_cb): launch the timeout in
6850 case we are in AUTO mode. There are still some constants here that
6851 come from the old implementation that should be reviewed and
6854 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6856 * doc/hildon-docs.sgml
6859 * src/hildon-stackable-window.c
6860 * src/hildon-stackable-window.h
6862 New HildonStackableWindow widget
6864 * examples/hildon-dialog-example.c
6865 * examples/hildon-pannable-area-example.c
6868 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6870 * src/hildon-dialog.c
6871 (hildon_dialog_new_with_buttons): New constructor.
6873 * examples/hildon-dialog-example.c
6874 (main): Update the example to use the new
6875 hildon_dialog_new_with_buttons().
6877 * examples/hildon-pannable-area-example.c
6878 (main): Update example.
6880 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6882 * doc/hildon-docs.sgml
6884 Added HildonPannableArea to the documentation.
6886 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6888 * doc/visual_index.xml
6889 Fix reference to HildonLoginDialog in documentation
6891 * doc/hildon-docs.sgml
6893 * examples/Makefile.am
6894 * examples/hildon-dialog-example.c
6896 * src/hildon-dialog.c
6897 * src/hildon-dialog.h
6899 New HildonDialog widget.
6901 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6903 * src/hildon-pannable-area.c
6904 Merge latest changes (r4318, r4342) from libmokoui trunk
6906 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6908 * examples/Makefile.am
6909 * examples/hildon-pannable-area-example.c
6911 * src/hildon-pannable-area.c
6912 * src/hildon-pannable-area.h
6914 New HildonPannableArea widget.
6916 2008-04-15 18:05:19 <timj@imendio.com>
6918 * src/hildon-banner.c: revert the recent change, that introduced
6919 gtk_window_present() calls. this reopens:
6920 Bug 78481 - [freetest] information banners are hidden under browser menu
6921 But resolves another variant of:
6922 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6924 2008-04-15 13:21:13 <timj@imendio.com>
6926 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6927 recreated its layout, spotted by Kris. this fixes all remaining
6928 artefacts and stability issues with the banner code. in particular:
6929 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6931 2008-04-14 16:52:59 <timj@imendio.com>
6933 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6934 operating on unrealized widgets, fixes:
6935 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6937 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6939 2008-04-09 Kristian Rietveld <kris@imendio.com>
6941 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6942 makes banner disappear.
6943 Fixes: NB#79182: info banner flickering with certain message lengts.
6945 * src/hildon-banner.c (hildon_banner_constructor),
6946 (hildon_banner_init), (hildon_banner_set_text),
6947 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6948 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6949 FALSE, reset size requests of label and banner,
6950 (force_to_wrap_truncated): when the text is too wide, always enforce
6951 the maximum possible width instead of recalculating it from the
6952 layout; enforce the maximum banner height of 3 lines,
6953 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6954 nicer wrapping and no truncated chars if space gets tight.
6956 * src/hildon-banner-private.h: add has_been_wrapped and
6957 has_been_truncated fields.
6959 2008-04-07 Sven Herzberg <sven@imendio.com>
6961 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6962 local values in hildon_date_editor_size_allocate
6964 * src/hildon-date-editor.c: moved the real allocation code into the
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: merged the two if() branches together
6974 2008-04-07 Sven Herzberg <sven@imendio.com>
6976 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6977 local values in hildon_date_editor_size_allocate
6979 * src/hildon-date-editor.c: changed the arguments of the if()
6982 2008-04-07 Sven Herzberg <sven@imendio.com>
6984 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6985 local values in hildon_date_editor_size_allocate
6987 * src/hildon-date-editor.c: split the calculation of the allocation
6988 from the real allocation
6990 2008-03-27 Michael Natterer <mitch@imendio.com>
6992 Fixes: NB#81696: The passcode is not overwritten even after
6995 * src/hildon-code-dialog.c
6996 (hildon_code_dialog_button_clicked)
6997 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6998 because that doesn't overwrite selected text. Instead, emit the
6999 "commit" signal on the entry's im_context so the entry's normal
7000 insert logic is triggered. Set the cursor to the end of the entry
7001 after each insert operation so that we *only* insert in the middle
7002 of the text if something was selected.
7004 2008-03-27 Michael Natterer <mitch@imendio.com>
7006 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7007 selector cannot be opened
7009 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7010 when the popup color selector is created. Please connect to this
7011 signal in order to set the dialog's help ID.
7013 2008-03-25 Sven Herzberg <sven@imendio.com>
7015 Fixes: MB#1212: Hide info banners (infoprints) on click
7017 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7018 extracted the close event simulation into an extra function
7019 (hildon_banner_button_press_event): simulate a close event and destroy
7020 the widget if the event wasn't handled
7021 (hildon_banner_class_init): added the button_press_event handler
7022 (hildon_banner_init): added button-press events to the widget
7024 2008-03-25 Sven Herzberg <sven@imendio.com>
7026 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7027 Patch from: Mohammad Anwari <mdamt@maemo.org>
7029 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7030 instead of the right in RTL mode
7031 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7032 breadcrumb button list in RTL mode
7033 * src/hildon-caption.c: mirror the appearance of the caption widget in
7035 * src/hildon-date-editor.c: mirror appearance of the date editor in
7037 * src/hildon-time-editor.c: mirror appearance of the time editor in
7039 * src/hildon-window.c: fix the position of the popup in RTL mode
7041 2008-03-25 Sven Herzberg <sven@imendio.com>
7043 Amendment to the fix of NB#22072. Fix compilation.
7045 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7047 2008-03-19 Sven Herzberg <sven@imendio.com>
7049 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7052 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7053 timeout id properly when the timeout will disappear this leaves no
7054 artifacts around in the destroy(); there will only be the timeout
7055 created by hildon_banner_ensure_timeout() and adding a new timeout
7056 will also work if the timeout gets removed because the timeout_handler
7059 2008-03-19 Michael Natterer <mitch@imendio.com>
7061 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7063 * src/hildon-volumebar.c
7064 * src/hildon-vvolumebar.c
7065 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7066 the widget becomes focussable at all.
7068 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7069 set the focus to wither the mute button or the volumebar.
7071 Remove own "can-focus" property and instead listen to
7072 notify::can-focus in order to update the widget's state.
7074 Implement GtkWidget::focus() and make sure we can also *leave* the
7075 widget, not only enter it, depending on volumebar orientation and
7076 requested focus direction.
7078 Clean up set_mute() to cooperate nicely with all the above.
7080 2008-03-04 Michael Natterer <mitch@imendio.com>
7082 Fixes: NB#78481: information banners are hidden under browser menu
7084 * src/hildon-banner.c: call gtk_window_present() on the banners so
7085 they are risen if they are already visible.
7087 2008-03-03 Sven Herzberg <sven@imendio.com>
7089 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7091 * examples/hildon-window-menu-example.c: (main): extended the window
7092 menu example to serve as a testcase for automatically added
7093 accelerator groups, too
7094 * src/hildon-window.c: (hildon_window_add_accel_group),
7095 (hildon_window_set_menu): added patch by Tommi Komulainen
7097 2008-03-03 Sven Herzberg <sven@imendio.com>
7099 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7101 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7102 knowledge about the border allocators used within GTK+
7104 2008-02-26 Sven Herzberg <sven@imendio.com>
7106 Fixes: MB#2981: Build with asserts broken
7108 * src/hildon-date-editor.c,
7109 * src/hildon-number-editor.c,
7110 * src/hildon-time-editor.c,
7111 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7112 the proper GType instance check
7114 2008-02-25 Sven Herzberg <sven@imendio.com>
7116 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7118 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7119 * examples/hildon-window-menu-example.c: (main): explicitly show
7121 * src/hildon-window.c:
7122 (hildon_window_set_main_menu): moved most of the code from set_menu()
7123 to this place; skipped the call to gtk_widget_show_all(); also didn't
7124 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7125 (hildon_window_set_menu): removed most of the code, just keep the
7126 questionable gtk_widget_show_all()
7127 * src/hildon-window.h: added the new function and deprecate the old
7130 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7136 * debian/changelog: Updating.
7138 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7141 * pkgconfig/Makefile.am:
7142 * pkgconfig/hildon.pc.in:
7145 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7146 use newly created API_MAJOR_VERSION.
7148 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7154 * debian/changelog: Updating.
7156 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7158 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7160 Add outer_border style property, we use it but don't define it (!).
7164 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7166 * examples/hildon-bread-crumb-trail-example.c (main):
7170 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7172 Fix logic for the bread crumb trail node removal.
7176 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7182 * debian/changelog: Updating.
7184 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7186 Patch by Alejandro to get/set passwords dialogs accesibility.
7188 * hildon-1/src/hildon-get-password-dialog.c:
7189 * hildon-1/src/hildon-set-password-dialog.c:
7190 Set atk_set_name to the passwd entries in order to allow
7191 accessibility by name on this entries.
7193 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7198 * debian/control: Updating gtk dep.
7200 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7202 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7203 USE_MAEMO_GTK is enabled.
7205 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7207 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7208 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7210 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7216 * debian/changelog: Updating.
7218 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7220 * examples/Makefile.am:
7221 * examples/hildon-logical-color-example.c:
7222 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7223 applied + adding a test case. Fixes: NB#71660.
7225 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7227 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7228 to be visible, fixes warning on map for windows without toolbars.
7230 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7232 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7233 2.11.0, add a check for that besides the MAEMO_GTK check.
7235 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7241 * debian/changelog: Updating.
7243 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7245 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7246 visibility. Fixes: NB#70842 and MB#615.
7248 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7250 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7251 set the separator as no-show-all so it doesn't unintentionally appear when
7252 someone does a show_all.
7254 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7256 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7257 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7258 toplevel item. Fixes: NB#62031
7260 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7262 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7263 fix the name of the function in the docs.
7265 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7271 * debian/changelog: Updating.
7273 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7275 * examples/hildon-banner-long-example.c: Adding a test-case for long
7278 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7280 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7282 * src/hildon-color-chooser-dialog.c:
7283 * src/hildon-color-chooser.c:
7284 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7285 memory leaks in font selector and color selector. Fixes: NB#70499 and
7288 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7290 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7292 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7294 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7295 little bit bigger. Fixes: #NB63694.
7297 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7303 * debian/changelog: Updating.
7305 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7308 * doc/hildon-docs.sgml:
7309 * doc/images/bread-crumb-trail.png:
7310 * doc/images/calendar-popup.png:
7311 * doc/images/caption.png:
7312 * doc/images/code-dialog.png:
7313 * doc/images/color-button.png:
7314 * doc/images/color-chooser-dialog.png:
7315 * doc/images/color-chooser.png:
7316 * doc/images/controlbar.png:
7317 * doc/images/date-editor.png:
7318 * doc/images/font-selection-dialog.png:
7319 * doc/images/get-password-dialog.png:
7320 * doc/images/hvolumebar.png:
7321 * doc/images/login-dialog.png:
7322 * doc/images/note.png:
7323 * doc/images/number-editor.png:
7324 * doc/images/range-editor.png:
7325 * doc/images/seekbar.png:
7326 * doc/images/set-password-dialog.png:
7327 * doc/images/sort-dialog.png:
7328 * doc/images/time-editor.png:
7329 * doc/images/time-picker.png:
7330 * doc/images/vvolumebar.png:
7331 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7332 Adding the bread-crumb-trial and helpers to the documentation.
7334 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7336 * examples/hildon-find-toolbar-example.c:
7337 * src/hildon-find-toolbar.c:
7338 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7339 actually continue firing the other handlers if connected. Adding a new
7341 hildon_find_toolbar_get_last_index that gets the index of the most
7342 recently added (last) item. Fixes: NB#52301.
7344 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7346 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7347 behaviour. Fixes: NB#68610.
7349 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7351 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7354 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7356 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7357 when realizing the banner. Should make the infonbanner effect a bit more
7360 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7362 * src/hildon-volumebar.c:
7363 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7364 hildon_volumebar_set_range_insensitive_message and
7365 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7367 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7369 * src/hildon-window.c: Fixing the border freeing on destroy.
7371 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7373 * src/hildon-code-dialog-private.h:
7374 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7375 kw keyboard support in HildonCodeDialog.
7377 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7383 * debian/changelog: Updating.
7385 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7387 * src/hildon-date-editor.c:
7388 * src/hildon-number-editor.c:
7389 * src/hildon-private.c:
7390 * src/hildon-private.h:
7391 * src/hildon-time-editor.c:
7392 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7393 handling in subclassed composite widgets. Fixes: NB#66628.
7395 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7397 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7398 from destroy_ callback as it introduces problems in async dbus signal
7399 handlers. Fixes NB#66673.
7401 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7403 * examples/hildon-hvolumebar-example.c:
7404 * src/hildon-volumebar.c: Improving the focus handling in the
7405 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7406 set_property accessor so that "mute" property can be actually set. I'm
7407 scared that nobody noticed it's totally broken.
7409 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7411 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7414 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7416 * src/hildon-calendar.c:
7417 * src/hildon-number-editor.c:
7418 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7419 matches the spec of 6 chars per second. Fixes: NB#60489.
7421 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7423 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7424 gtk_style_lookup_color sometime returns FALSE even though color was
7425 found and values were filled properly. Weird. Removing the warning for the
7428 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7430 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7431 expand vertically. Adding some extra space to the find toolbar buttons to
7432 make them thumbable. Fixes NB#66060.
7434 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7436 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7437 popup with "Ok" and "Cancel". Fixes NB#59299.
7439 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7441 * src/hildon-calendar.c: Process all window updates before executing next
7442 timeout. Fixes: NB#54146.
7444 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7450 * debian/changelog: Updating.
7452 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7454 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7455 the client event and ignore it, since we use the delete event to close
7458 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7460 * src/hildon-helper.c: Remove the bogus warning about color not being
7461 found. Fixes NB#58352.
7463 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7465 * examples/Makefile.am:
7466 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7467 HildonSeekbar widget inside a toolbar.
7469 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7471 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7472 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7473 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7474 don't want to be closed by non-temporary windows on map.
7476 Also use G_DEFINE_TYPE instead of manually typed code.
7478 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7485 * debian/rules: Updating.
7487 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7489 * examples/Makefile.am:
7490 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7491 bug NB#61128. Strangely it works.
7493 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7495 * src/hildon-date-editor.c: When the date editor entry has been changed
7496 but the numbers of characters < max, turn off the skip validation flag.
7497 Prevents a situation when we enter first a valid year and later re-write
7498 it with an invalid one. Fixes NB#60154.
7500 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7502 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7503 code dialog. Fixes NB#64355.
7505 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7507 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7508 switching the page. Fixes NB#49374.
7510 * examples/Makefile.am:
7511 * examples/hildon-wizard-dialog-example.c: Adding an example for
7512 HildonWizardDialog that shows how to handle manual sensitivity setting on
7515 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7519 * src/hildon-version.h.in:
7520 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7522 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7524 * src/hildon-volumebar.c: Updating the docs.
7526 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7532 * debian/changelog: Updating.
7534 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7536 * src/hildon-find-toolbar.c:
7537 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7538 selected item: hildon_find_toolbar_set_active,
7539 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7540 hildon_find_toolbar_get_active_iter . They correspond to respective
7541 GtkComboBox functions.
7543 * examples/Makefile.am:
7544 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7547 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7549 * examples/Makefile.am:
7550 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7553 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7554 when font size > 32 and we pack a focusable widget inside. Actually using
7555 the default response would work too, but since we don't show default
7556 response state in any way (no theming) it would not be visible to the
7557 user. Fixes NB#63430.
7559 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7561 * src/hildon-date-editor.c: Adding the missing variable setter in the
7562 set_property handler. Fixes NB#54182.
7564 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7566 * src/hildon-window.h: Changing the long key press time from 1500ms to
7567 800ms as requested in NB#63700. I have a bad feeling about this, let's
7568 see... Fixes NB#63700.
7570 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7572 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7573 hildon_time_picker_map, hildon_time_picker_realize,
7574 hildon_time_picker_style_set): Split the contents of map to more
7575 appropriate functions; set window decorations on realize and update
7576 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7578 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7583 * debian/changelog: Updating.
7585 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7587 * src/Makefile.am: fixed installation of the header files
7589 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7595 * debian/changelog: Updating.
7597 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7599 * configure.ac: Removing some remaining of --enable-xan.
7601 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7603 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7604 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7606 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7607 2.10.12-osso6 because the move-focus signal needs to be available in
7610 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7612 * examples/Makefile.am:
7613 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7614 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7615 fine. Prolly NB#61128 is fixed now.
7617 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7619 * src/hildon-volumebar.c:
7620 * src/hildon-volumebar.h: Adding the
7621 hildon_volumebar_set_range_insensitive_message and
7622 hildon_volumebar_set_range_insensitive_messagef functions to set
7623 insensitive message on the slider of the volumebar. Fixes NB#61129.
7625 * examples/Makefile.am:
7626 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7627 test the new insensitive messsage functionality on HildonVolumebar.
7629 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7631 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7634 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7636 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7637 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7638 button on after clearing the trail.
7640 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7642 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7644 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7646 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7647 by splitting the installed headers in generated and non-generated groups. Use
7648 only the non-generated headers to create the hildon-enum-types.h file.
7650 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7652 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7654 * src/hildon-window.c: Hide the window before performing the destroy.
7655 Should make the app closing a little tiny bit more snappy.
7657 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7659 * src/hildon-seekbar.c: add gtkrange.h header
7660 * src/hildon-caption.c: remove unused variable
7662 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7664 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7667 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7673 * debian/changelog: Updating.
7675 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7677 * src/hildon-window.c (hildon_window_window_state_event,
7678 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7679 escape timeout on focus-out-event rather than notify::is-topmost; the
7680 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7682 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7684 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7685 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7687 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7689 * src/hildon-window: actually, you need to use the macro always, there's
7690 no private pointer in the instance structure. We should have cleaned this up
7691 when we had the chance...
7693 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7695 * src/hildon-window.c: do not get the private date from HildonWindow before
7696 it passes the g_return_if_fail check. Once it's passed the test, there's no
7697 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7698 if you are only going to access the data once. Whitespace cleanups.
7700 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7702 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7703 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7705 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7711 * debian/changelog: Updating.
7713 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7715 * src/hildon-window.c: When destroying the window, remove (if exists) the
7716 escape timeout handler. Fixes #NB59276.
7718 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7720 * src/hildon-banner.c: When realizing the widget, set the window
7721 transiency. Setting the transiency in the gobject constructor is not
7722 good, as the widget is not realized at that point. Fixes: #NB56624.
7724 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7726 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7727 Add padding for future expansions.
7729 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7731 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7732 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7733 will fake an activation on the previous to the last item of the trail, so
7734 the effect can be overrided by the developer as usual.
7735 Also change the callback for the back button to do the same thing, so its
7736 effect can be overrided too. Fixes: NB#58982
7738 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7740 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7741 HildonCaption. Fixes NB#52379.
7743 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7745 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7746 the internal state of the trail after the user has had the chance of executing
7747 his handler for the signal. Specifically, it may happen that the activated button
7748 is removed and the user still lets the default handler run. This would segfault
7751 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7753 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7754 scrollbar to the preview dialog. Fixes NB#54147.
7756 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7758 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7759 max/min year properties can be altered, so the client can modify it
7760 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7762 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7764 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7765 hildonlike by default. Fixing a problem with disappearing arrows when
7766 scrolling through months and years. Fixes NB#54127.
7768 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7770 * examples/hildon-date-editor-example.c: Adding error callback to the date
7773 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7779 * configure.ac: Updating.
7781 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7783 * configure.ac: Adding a special '--enable-xan' configure option that
7784 turns off the -Werror compilation setting. Usefull for development.
7786 * src/hildon-calendar.c:
7787 * src/hildon-number-editor.c:
7788 * src/hildon-time-picker.c: Adding the 5* multiplier to
7791 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7793 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7794 instead of g_object_ref + gtk_object_sink.
7796 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7802 * debian/changelog: Updating.
7804 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7806 * src/hildon-color-chooser-dialog.c:
7807 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7808 straight from Tommi labs.
7810 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7812 * examples/hildon-finger-example.c: Correcting the header file path.
7814 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7815 the changed signal. Fixes a small memory leak.
7817 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7821 * src/hildon-banner.c: Importing several usefull fixes from the
7822 ubuntu-mobile branch.
7824 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7826 * examples/Makefile.am:
7827 * examples/hildon-finger-example.c: Adding a finger-checking code
7830 * src/hildon-font-selection-dialog.c: Do not allocate the color
7831 structure using the g_new. Fixes NB#54061.
7833 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7835 * src/hildon-helper.c: Correcting tabs in file.
7837 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7839 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7840 control the visibility of the children.
7842 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7844 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7850 * debian/changelog: Updating.
7852 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7854 * src/hildon-bread-crumb-trail.c:
7855 (hildon_bread_crumb_trail_size_allocate):
7857 Make the back button always a square.
7859 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7861 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7862 from the .c file as it's a private file.
7864 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7866 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7867 uses slightly bigger height.
7869 * src/hildon-font-selection-dialog.c: Adding some checks before
7870 freeing memory in the font selection dialog.
7872 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7874 * src/hildon-font-selection-dialog.c: Adding a small check when
7877 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7878 buttons sensitivity on page switching.
7880 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7882 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7883 internal details of adding a bread crumb to the trail.
7885 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7891 * debian/changelog: Updating.
7893 * src/hildon-bread-crumb-trail.h:
7894 * src/hildon-bread-crumb.h: Changing the API guard to
7895 HILDON_ENABLE_UNSTABLE_API.
7897 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7905 * src/hildon-helper.h: Updating.
7907 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7915 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7919 * src/hildon-helper.h: Small fix to make the package actually compile.
7921 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7923 * src/hildon-bread-crumb-trail.h:
7924 * src/hildon-bread-crumb.h:
7926 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7927 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7929 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7931 * examples/hildon-bread-crumb-trail-example.c:
7933 * src/hildon-bread-crumb-trail.c:
7934 * src/hildon-bread-crumb-trail.h:
7935 * src/hildon-bread-crumb.c:
7936 * src/hildon-bread-crumb.h:
7937 * src/hildon-marshalers.list:
7938 * src/hildon-bread-crumb-widget.c:
7939 * src/hildon-bread-crumb-widget.h:
7941 Slight change in the widget design. The bread crumb trail API is
7942 unchanged, but HildonBreadCrumb is now an interface. A *private*
7943 implementation, hildon-bread-crumb-widget, is provided and used
7944 internally by the trail for the push_text/push_icon functions.
7946 The generic push API is still available, so anyone can implement
7947 and use its own bread crumb widget.
7949 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7951 * debian/rules: Fixing the shlibs.
7953 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7955 * src/hildon-banner.c: Fixing a problem with timed banners having
7956 their parrent destroyed before they are.
7958 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7960 * src/hildon-bread-crumb.c:
7961 * src/hildon-bread-crumb.h:
7963 Make the get_natural_size function a vfunc.
7965 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7967 * src/hildon-bread-crumb.c:
7968 * src/hildon-bread-crumb-trail.c:
7972 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7979 * debian/changelog: Updating for release.
7981 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7983 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7984 don't leak the pango layout.
7986 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7989 * examples/hildon-bread-crumb-trail-example.c:
7993 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7995 * debian/changelog: Removing the bug-fixed entries that were actually
7996 resolved as WONTFIX.
7998 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8001 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8003 * src/hildon-bread-crumb-trail.c:
8004 * src/hildon-bread-crumb-trail.h:
8005 * src/hildon-bread-crumb.c:
8006 * src/hildon-bread-crumb.h:
8010 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8012 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8013 until it's passed the type check.
8015 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8017 * examples/hildon-bread-crumb-trail-example.c
8021 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8023 * examples/Makefile.am
8024 * examples/hildon-bread-crumb-trail-example.c
8026 * src/hildon-bread-crumb-trail.c
8027 * src/hildon-bread-crumb-trail.h
8028 * src/hildon-bread-crumb.c
8029 * src/hildon-bread-crumb.h
8031 New HildonBreadCrumbTrail widget.
8033 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8035 * src/hildon-range-editor.c (hildon_range_editor_init),
8036 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8037 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8038 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8039 hildon_time_editor_class_init, hildon_time_editor_init),
8040 src/hildon-get-password-dialog.c (invalid_input,
8041 hildon_get_password_set_property, hildon_get_password_get_property,
8042 create_contents, hildon_get_password_dialog_set_max_characters),
8043 src/hildon-set-password-dialog.c (create_contents),
8044 src/hildon-date-editor.c (hildon_date_editor_init),
8045 src/hildon-login-dialog.c (hildon_login_dialog_init),
8046 src/hildon-number-editor.c (hildon_number_editor_init),
8047 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8048 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8049 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8050 configure option and adding the respective checks in the code.
8051 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8052 hildon_calendar_drag_data_received): fixed some build warnings.
8054 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8056 * debian/changelog: A 1.0.0 release notes.