1 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
4 "dialog-information" role for the sound being played.
6 2009-05-06 Alberto Garcia <agarcia@igalia.com>
8 * hildon/hildon-app-menu.c (hildon_app_menu_init):
9 Don't make the menu a modal window, it causes strange interactions
10 with the pointer grab and it's not really needed.
12 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
14 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
16 * hildon/hildon-touch-selector.[ch]
17 (hildon_touch_selector_optimal_size_request): function added to get a
18 optimal size request from the touch selector, when you want a dialog to
19 show as much of the selector
20 * hildon/hildon-picker-dialog.c:
21 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
22 (hildon_app_menu_class_init):
23 New "max-height-landscape" and "max-height-portrait" style properties
24 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
25 (hildon_picker_dialog_get_max_height): returns the maximum height using
26 the style properties defined and checking the current portrait/landscape
28 (_hildon_picker_dialog_set_selector): removed the set_size_request
30 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
32 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
34 * hildon/hildon-bread-crumb-trail.c:
35 * hildon/hildon-bread-crumb.c:
36 * hildon/hildon-seekbar.c:
37 Add reference to replacements for these deprecated widgets.
39 Fixes: MB#4461 (Documentation: All deprecations should mention
42 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
44 * examples/hildon-remote-texture-example.c
46 Change the include to the hildon-remote-texture in order to compile
47 properly the examples on the installed libhildon1-examples package
49 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
51 * tests/Makefile.am: Add check for HildonPickerButton.
52 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
53 (START_TEST), (create_hildon_picker_button_suite): Add three simple
54 checks for the HildonPickerButton.
55 * tests/check_test.c (configure_tests): Add the test suite.
56 * tests/test_suites.h: likewise.
58 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
60 * hildon/hildon-touch-selector.c
61 (+on_row_changed): Emit HildonTouchSelector:changed when the
62 contents of a selected row change.
63 (_create_new_column), (_hildon_touch_selector_set_model): connect
64 to GtkTreeModel:row-changed on a newly set model.
66 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
68 2009-05-05 Alberto Garcia <agarcia@igalia.com>
70 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
72 * hildon/hildon-banner.c (hildon_banner_destroy)
73 (hildon_banner_show_progress, hildon_banner_set_fraction):
74 Remove the progress bar from HildonBanner and use a progress
77 Fixes: NB#113761 (Update progress banner to use progress
80 2009-05-04 Alberto Garcia <agarcia@igalia.com>
82 * hildon/hildon-banner.c:
83 Calculate size of the banner label using the actual screen width
84 rather than using a fixed value.
86 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
89 2009-05-04 Alejandro G. Castro <alex@igalia.com>
91 * hildon/hildon-pannable-area.c,
92 (hildon_pannable_area_class_init): Fixed signals documentation
95 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
97 * configure.ac: post release version bump
98 * debian/changelog: post release version bump
100 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
105 * configure.ac: Bump version.
106 * debian/changelog: Updates.
108 2009-05-01 Alberto Garcia <agarcia@igalia.com>
110 * hildon/hildon-edit-toolbar.c
111 (hildon_edit_toolbar_init):
112 Don't let buttons in HildonEditToolbar receive focus.
114 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
115 typing on an HW arrows key)
117 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
119 * doc/Makefile.am: Fix build.
121 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
123 * doc/Makefile.am: Do not redefine content_files.
125 2009-04-30 Alberto Garcia <agarcia@igalia.com>
133 Renamed src/ to hildon/
138 Include <hildon/hildon.h> directly in all examples.
140 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
142 * src/hildon-sort-dialog.c
143 (hildon_sort_dialog_add_sort_key_with_sorting)
147 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
149 * src/Makefile.am: Move generated sources to CLEANFILES, so that
150 make distcheck passes.
152 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
154 * Makefile.am: Enable gtk-doc during distcheck.
156 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
158 * Makefile.am: Do not distribute the debian/ directory.
160 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
162 * doc/Makefile.am: Add the extra SGML files to content_files,
163 so that they are distributed properly.
165 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
167 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
170 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
172 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
173 (hildon_note_new_information_with_icon_name): Set the "icon" property
174 to preserve soundness.
176 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
178 * src/hildon-font-selection-dialog.c
179 (hildon_font_selection_dialog_set_property): Fail when the "family"
180 property is set to NULL.
182 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
184 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
187 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
189 * src/hildon-time-selector.h:
190 Added HildonTimeSelectorFormatPolicy
191 * src/hildon-time-selector.c:
192 Added PROP_TIME_FORMAT_POLICY
193 (_check_ampm_format): renamed to check_automatic_ampm_format
194 (update_format_policy), (update_format_dependant_columns): new functions
195 (hildon_time_selector_class_init)
196 (hildon_time_selector_contructor)
197 (hildon_time_selector_init)
198 (hildon_time_selector_get_property)
199 (hildon_time_selector_set_property)
200 (hildon_time_selector_get_time)
201 (hildon_time_selector_set_time)
202 * src/hildon-touch-selector.h: new file
203 * src/hildon-touch-selector.c
204 (hildon_touch_selector_emit_changed)
205 (hildon_touch_selector_block_changed)
206 (hildon_touch_selector_unblock_changed)
207 Added functions to allow to block the emission of the "changed" signal
208 * src/hildon-picker-dialog.c
209 (hildon_picker_dialog_show): call the parent show before the custom code
210 * examples/hildon-time-button-example.c
211 Modified, so now you can configure the time format using the new property
213 Added a new property "time-format-policy" that allow to choose the time
214 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
215 case it uses gconf in order to check if the time selector must use
218 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
221 2009-04-28 Alberto Garcia <agarcia@igalia.com>
223 * src/hildon-note.c (hildon_note_init):
224 Label in HildonNote must be left aligned, not centered. This
225 reverts the last commit in HildonNote.
227 Fixes: NB#112933 (text is not left aligned in confirmation dialog
228 is connectivity dialog)
230 2009-04-27 Alberto Garcia <agarcia@igalia.com>
235 * doc/hildon-sections.txt:
236 Added hildon_gtk_window_set_do_not_disturb()
238 2009-04-27 Alberto Garcia <agarcia@igalia.com>
240 * src/hildon-note.c (hildon_note_init): Center label.
242 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
245 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
250 * configure.ac: Bump version.
251 * debian/changelog: Updates.
253 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
255 * src/hildon-note-private.h: Add button-width to the private data.
256 * src/hildon-note.c (+resize_button),
257 (+hildon_note_orientation_update): methods to repack widgets on orientation
259 (screen_size_changed): Call above method for confirmation notes.
260 (hildon_note_realize): Always connect to the "screen-size" changed signal.
261 (hildon_note_rebuild): Store the original width request from buttons.
263 Fixes: NB#109635 (Confirmation notes do not support portrait)
265 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
267 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
268 when it is a progress note.
270 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
272 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
273 in the note, since there are no horizontally arranged contents.
275 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
277 * src/hildon-gtk.c (+set_flag): new generic method to
278 set/delay a flag setting in a window.
279 (hildon_gtk_window_set_progress_indicator):
280 (hildon_gtk_window_set_do_not_disturb),
281 (hildon_gtk_window_set_portrait_flags): use set_flag() to
282 avoid code redundance.
284 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
286 Based on a patch by Alberto Garcia (agarcia@igalia.com)
288 * src/hildon-gtk.c (set_clear_window_flag),
289 (do_set_progress_indicator), (do_set_do_not_disturb),
290 (do_set_portrait_flags),
291 (hildon_gtk_window_set_progress_indicator),
292 (hildon_gtk_window_set_do_not_disturb),
293 (hildon_gtk_window_set_portrait_flags):
294 Allow setting dnd-flag, progress indicator, and portrait flags
295 when the window is not realized.
297 2009-04-24 Alejandro G. Castro <alex@igalia.com>
299 * src/hildon-pannable-area.c,
300 * src/hildon-pannable-area.h: Add the hildon deprecated define to
301 the size request policy function and defines.
303 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
305 * doc/hildon-sections.txt: Add the new API.
306 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
307 method to set the portrait flags.
308 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
310 Fixes: NB#112328 (Adding helpers for setting portrait properties)
312 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
314 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
315 to allow using this method with other flags.
316 (hildon_gtk_window_set_progress_indicator): Update accordingly.
317 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
319 2009-04-22 Alberto Garcia <agarcia@igalia.com>
321 * src/hildon-touch-selector.c
322 (hildon_touch_selector_append_text_column):
323 Make the cell renderer use the smallest width possible.
325 Fixes: NB#108470 (Selected items in multiple selection are either
326 having a tick that is cut or not visible at all.)
328 2009-04-22 Alberto Garcia <agarcia@igalia.com>
330 * src/hildon-touch-selector.c
331 (hildon_touch_selector_append_text_column):
334 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
336 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
337 Use g_strdup_printf() instead of a fixed size buffer.
339 2009-04-21 Alberto Garcia <agarcia@igalia.com>
341 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
342 Close banners when a HildonAppMenu is popped up.
344 Fixes: NB#111027 (Title menu closed immediately if activated when
345 "Invalid e-mail address" banner is shown)
347 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
352 * configure.ac: Bump version.
353 * debian/changelog: Updates.
355 2009-04-20 Alberto Garcia <agarcia@igalia.com>
357 * src/hildon-banner.c (hildon_banner_realize):
358 Mark HildonBanner as supporting portrait mode.
359 Use GDK to set window properties insetad of direct Xlib calls.
361 Fixes: NB#111830 (HildonBanner should be marked as supporting
364 2009-04-20 Alberto Garcia <agarcia@igalia.com>
366 * src/hildon-note.c (hildon_note_rebuild):
367 Hide action area in information notes. Prevents text from being
368 slightly aligned to the left.
370 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
373 2009-04-20 Alberto Garcia <agarcia@igalia.com>
375 Patch by Mox Soini (ext-mox.soini@nokia.com)
377 * src/hildon-banner.c (hildon_banner_create_animation):
378 Use stylus-sized icons in animation banner.
380 Fixes: NB#111206 (stylus sized icon for animation banner)
382 2009-04-20 Alberto Garcia <agarcia@igalia.com>
386 (+hildon_gtk_window_set_do_not_disturb):
387 New API to set the do-not-disturb flag.
389 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
391 2009-04-20 Alberto Garcia <agarcia@igalia.com>
393 * examples/hildon-progress-indicator-example.c: Fix example
395 * src/hildon-gtk.c (set_clear_window_flag)
396 (hildon_gtk_window_set_progress_indicator):
397 Create a generic function for setting flags to a window.
398 Use GDK instead of direct Xlib calls.
400 2009-04-14 Alberto Garcia <agarcia@igalia.com>
402 * src/hildon-button.c (hildon_button_set_arrangement):
403 Due to NB#88126, if one of the labels is too long it will be
404 painted outside the button. The 'value' label is more likely to be
405 the longest one, so we change its packing options in order to
406 truncate it if necessary. As a side effect, the 'title' label will
407 no longer be truncated.
409 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
411 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
416 * configure.ac: Bump version.
417 * debian/changelog: Updates.
419 2009-04-13 Alejandro G. Castro <alex@igalia.com>
421 Deprecation of the hildon_pannable_area_set_size_request_policy
422 API, the only policy properly supported in gtk+ nowadays is the
425 * src/hildon-pannable-area.c,
426 (hildon_pannable_area_size_request): Added a workaround for the
427 size_request to avoid the problems of huge pixmaps in case someone
428 is still using the function.
429 * src/hildon-pannable-area.h: Deprecated the enum with the
432 Fixes: NB#110244 (Problems with the
433 hildon_pannable_area_set_size_request_policy API)
435 2009-04-08 Alejandro G. Castro <alex@igalia.com>
437 * src/hildon-pannable-area.c,
438 (hildon_pannable_area_init),
439 (hildon_pannable_area_size_request),
440 (hildon_pannable_area_style_set),
441 (hildon_pannable_draw_vscroll),
442 (hildon_pannable_draw_hscroll),
443 (hildon_pannable_area_check_scrollbars): Replaced area_width with
444 indicator_width to clarify the use of the attribute.
446 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
451 * configure.ac: Bump version.
452 * debian/changelog: Updates.
454 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
456 * src/hildon-picker-dialog.c
457 * src/hildon-touch-selector.c
458 Reverting the change that tried to avoid the hardcoded height on
459 the picker dialog, as causes problems on the hildon-touch-selector
462 Fixes: NB#110029 (selectors not scrolling to selected value)
464 2009-04-07 Alberto Garcia <agarcia@igalia.com>
466 * src/hildon-touch-selector.c: Fix typos
468 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
470 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
471 Use the event coordinates instead of gdk_window_get_pointer(). Also,
472 request more motions after using it.
474 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
476 * src/hildon-calendar.c (hildon_calendar_expose),
477 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
478 Remove unused variables.
480 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
482 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
485 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
487 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
488 Check the return value of gtk_tree_selection_get_selected()
491 2009-04-06 Alberto Garcia <agarcia@igalia.com>
493 * src/hildon-animation-actor.c
494 * src/hildon-button.c
496 * src/hildon-pannable-area.c
497 * src/hildon-picker-button.c
498 * src/hildon-program.c
499 * src/hildon-remote-texture.c
500 * src/hildon-text-view.c
501 * src/hildon-touch-selector.c
502 * src/hildon-window-stack.c
503 * src/hildon-window.c:
504 Add missing 'Since: 2.2' tags.
506 * doc/hildon-sections.txt:
507 Add some missing symbols.
509 * doc/hildon-docs.sgml:
510 New 'Other' section for HildonAnimationActor and
513 2009-04-06 Alberto Garcia <agarcia@igalia.com>
515 Patch by Iván Gómez (igomez@igalia.com)
519 * doc/hildon-docs.sgml
520 * doc/hildon-sections.txt
524 New chapters on using the Hildon library.
525 Updated the general structure of the reference manual.
526 Other minor documentation fixes.
528 * src/hildon-calendar-popup.c
529 * src/hildon-calendar.c
530 * src/hildon-controlbar.c
531 * src/hildon-date-editor.c
532 * src/hildon-dialog.c
533 * src/hildon-hvolumebar.c
534 * src/hildon-number-editor.c
535 * src/hildon-range-editor.c
536 * src/hildon-sort-dialog.c
537 * src/hildon-time-editor.c
538 * src/hildon-time-picker.c
539 * src/hildon-volumebar-range.c
540 * src/hildon-volumebar.c
541 * src/hildon-vvolumebar.c
542 * src/hildon-weekday-picker.c:
543 Add deprecation notes
545 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
546 Document 'horizontal-movement' and 'vertical-movement' signals.
548 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
553 * configure.ac: Bump version.
554 * debian/changelog: Updates.
556 2009-04-06 Alejandro G. Castro <alex@igalia.com>
558 * src/hildon-pannable-area.c,
559 (hildon_pannable_area_class_init): increased the minimum velocity.
560 (hildon_pannable_area_button_release_cb): Updated the
561 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
562 setup. Review the code to control that last event.
564 Fixes: NB#109790 (Releasing finger in pannable area easily causes
567 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
569 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
571 * src/hildon-get-password-dialog.c
572 (hildon_get_password_set_property),
573 (hildon_get_password_get_property), (create_contents):
574 * src/hildon-login-dialog-private.h:
575 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
576 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
577 (hildon_login_dialog_get_password):
578 * src/hildon-set-password-dialog-private.h:
579 * src/hildon-set-password-dialog.c
580 (hildon_set_password_set_property),
581 (hildon_set_password_get_property), (create_contents),
582 (hildon_set_password_response_change),
583 (hildon_set_password_response_set), (hildon_checkbox_toggled):
585 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
586 instead and look more Fremantle style.
588 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
590 2009-04-03 Alberto Garcia <agarcia@igalia.com>
592 * doc/hildon-sections.txt
593 * src/hildon-window-stack.h
594 * src/hildon-window-stack.c
595 (+hildon_window_stack_get_windows):
596 New API to obtain the list of windows on a stack.
598 2009-04-02 Alberto Garcia <agarcia@igalia.com>
600 * src/hildon-app-menu.c (hildon_app_menu_popup)
601 (hildon_app_menu_class_init, -hildon_app_menu_show):
602 Remove hildon_app_menu_show() and move all its checks to
603 hildon_app_menu_popup()
605 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
607 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
608 (_hildon_picker_dialog_set_selector): removed call to
609 gtk_widget_set_size_request
610 * src/hildon-touch-selector.c
611 (_create_new_column): change the pannable size request policy
613 Avoid to use a hardcoded height for the hildon picker dialog. In order
614 to get that, we needed to change the hildon pannable size request
616 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
618 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
620 * src/hildon-window.c (hildon_window_map): Check for vbox to be
621 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
624 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
626 * debian/control: Depend on osso-system-lock localization package.
627 * src/hildon-code-dialog.c: Obtain the secu_application_title
628 translation from osso-system-lock.
629 * src/hildon-get-password-dialog.c (create_contents): Do not mark
630 for translation the atk related strings, that's not necessary.
631 * src/hildon-set-password-dialog.c (create_contents): Ditto.
632 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
633 cancel button, it is not required.
635 2009-04-02 Alejandro G. Castro <alex@igalia.com>
637 * src/hildon-pannable-area.c,
638 (hildon_pannable_area_class_init): Modified the default value of
639 the overshooting max speed, we have reduced it.
641 2009-04-02 Alberto Garcia <agarcia@igalia.com>
643 * doc/hildon-sections.txt
644 * src/hildon-window-private.h
645 * src/hildon-window.h
646 * src/hildon-window.c (hildon_window_class_init)
647 (hildon_window_init, hildon_window_finalize)
648 (hildon_window_realize, hildon_window_get_property)
649 (hildon_window_set_property, hildon_window_update_markup)
650 (hildon_window_get_markup, hildon_window_set_markup):
651 New "markup" property and hildon_window_{get,set}_markup() methods.
653 * examples/hildon-stackable-window-example.c (new_window):
654 Update example to use hildon_window_set_markup()
656 Fixes: NB#106375 (Need API to retitle a window with a title
659 2009-04-01 Alejandro G. Castro <alex@igalia.com>
661 * src/hildon-pannable-area.c,
662 (hildon_pannable_area_class_init): Changed the default value of
663 the initial_hint to TRUE.
664 (hildon_pannable_area_initial_effect): Changed the initial effect,
665 not the effect is just the fade-out of the scrollbars.
667 Fixes: NB#107775 (No scrollbars can be seen when several items are
668 available in a dialog)
670 2009-04-01 Alberto Garcia <agarcia@igalia.com>
672 * src/hildon-program.c (hildon_program_update_top_most):
675 Fixes: NB#109179 (Memory leak in Hildon program)
677 2009-04-01 Alberto Garcia <agarcia@igalia.com>
679 * src/hildon-banner.c (-get_current_app_window):
680 Remove unused function.
682 2009-04-01 Alejandro G. Castro <alex@igalia.com>
684 * src/hildon-pannable-area.c: Modified the documentation of the
685 get adjustments functions to explain the problem of using the
687 (hildon_pannable_area_class_init): Improved the explanation about
690 2009-04-01 Alberto Garcia <agarcia@igalia.com>
692 * src/hildon-app-menu-private.h
693 * src/hildon-app-menu.c
694 (hildon_app_menu_class_init):
695 Bring back the 'external-border' style property
696 (hildon_app_menu_class_init, hildon_app_menu_init)
697 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
698 Set a fixed width-request for the menu, independent of the number
701 Fixes: NB#94957 (Smoothly opened application menu)
703 2009-03-30 Alberto Garcia <agarcia@igalia.com>
705 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
707 * src/hildon-banner.c
708 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
710 Make sure that the banner is correctly placed the first time it's
712 (hildon_banner_check_position, -check_fullscreen_state):
713 Show the banner in the same place no matter if the window is in
714 fullscreen mode or not.
716 Fixes: NB#107386 (Odd stacking behaviour for information banners)
718 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
720 * src/hildon-touch-selector.c (_default_print_func): reorder
721 concatenation for clarity.
723 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
725 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
726 for multicolumn selectors.
728 Fixes: NB#109099 (Memory leak in Hildon touch selector)
730 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
735 * configure.ac: Bump version.
736 * debian/changelog: Updates.
738 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
740 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
743 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
745 * configure.ac: removed libcangerra-gtk dependency
746 * debian/control: removed libcanberra-gtk dependency
747 * src/Makefile.am: removed libcanberra gtk related flags
748 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
749 context, and manage a global canberra context instead
751 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
753 2009-03-26 Alberto Garcia <agarcia@igalia.com>
755 Patch by Daniel Borgmann (danielb@openismus.com)
757 * src/hildon-edit-toolbar.c:
758 Adjust the left padding.
759 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
760 Paint background of the edit toolbar.
762 Fixes: NB#107897 (Patch to make editmodetoolbar background
763 themeable and adjust margin)
765 2009-03-25 Alberto Garcia <agarcia@igalia.com>
767 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
769 * src/hildon-program.c (hildon_program_update_top_most):
770 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
772 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
773 change when the user tasks in/out of an application)
775 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
777 * configure.ac: added libcangerra-gtk dependency
778 * debian/control: added libcanberra-gtk dependency
779 * src/Makefile.am: added libcanberra gtk related flags
780 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
783 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
785 2009-03-25 Alberto Garcia <agarcia@igalia.com>
787 * src/hildon-program.c (hildon_program_remove_window)
788 (hildon_program_add_window): Add checks for the window
789 parameter. Don't decrease the window counter if the window is not
792 2009-03-24 Alejandro G. Castro <alex@igalia.com>
794 * src/hildon-pannable-area.c,
795 (hildon_pannable_area_realize): Fixed position of the event_window
796 in the realize method.
798 2009-03-24 Alberto Garcia <agarcia@igalia.com>
800 * src/hildon-app-menu-private.h
801 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
802 (hildon_app_menu_map, hildon_app_menu_hide_idle)
803 (hildon_app_menu_key_press, hildon_app_menu_init)
804 (hildon_app_menu_finalize):
805 Make sure that all idle functions are removed when the widget is
808 Fixes: NB#107583 (Hildon app menu crashes in various applications)
810 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
815 * configure.ac: Bump version.
816 * debian/changelog: Updates.
818 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
821 (+hildon_entry_show_placeholder),
822 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
823 that replace hildon_entry_update_contents().
824 (hildon_entry_set_text),
825 (hildon_entry_set_placeholder),
826 (hildon_entry_focus_in_event),
827 (hildon_entry_focus_out_event): Determine when it is needed
828 either to show or hide the placeholder and call the above methods.
830 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
831 when the placeholder text is already set)
833 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
835 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
836 simple GdkPixbufAnim using the new icons for the banner.
837 (hildon_banner_show_animation): Use the above mentioned method to
838 create the animation widget.
840 Fixes: NB#103564 (Make hildon animation banner use individual
841 image files as the animation)
843 2009-03-24 Alejandro G. Castro <alex@igalia.com>
845 * src/hildon-pannable-area.c,
846 (hildon_pannable_leave_notify_event): Check if the child is NULL
847 to avoid sending the leave.
849 2009-03-24 Alejandro G. Castro <alex@igalia.com>
851 * src/hildon-pannable-area.c,
852 (hildon_pannable_area_class_init),
853 (hildon_pannable_leave_notify_event): Added a handler of the
854 leave-notify-signal to consider when no motion notify before
857 Fixes: NB#107494 (Items stay selected when clicking and moving
858 away when inside pannable area)
860 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
865 * configure.ac: Bump version.
866 * debian/changelog: Updates.
868 2009-03-19 Alejandro G. Castro <alex@igalia.com>
870 Patch by Alberto Garcia (agarcia@igalia.com)
872 * src/hildon-date-button.c,
873 (hildon_date_button_class_init),
874 (hildon_date_button_init): Removed the construct property handling
875 and created a default selector in the init method.
876 * src/hildon-picker-button.c,
877 (hildon_picker_button_class_init): Removed the construct flag of the
880 2009-03-18 Alberto Garcia <agarcia@igalia.com>
882 * src/hildon-main.c (hildon_init):
883 Don't allow hildon_init() to be called more than once.
885 Fixes: NB#106607 (hildon_init should issue error message upon
888 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
890 * examples/hildon-pannable-area-touch-list-example.c
891 * examples/hildon-pannagle-area-touch-grid-example.c
892 * examples/hildon-edit-toolbar-example.c
893 * examples/hildon-touch-selector-multi-cells-example.c
894 Removed the call to gtk_rc_parse_string, as it is not required since
897 2009-03-17 Alejandro G. Castro <alex@igalia.com>
899 * src/hildon-pannable-area.c,
900 (hildon_pannable_area_class_init): Modified the default panning
901 threshold of the widget to 6px.
903 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
904 than the threshold value ) within the button is not sending the
907 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
909 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
910 for the treeview in the new column. This way, the touch list will never
913 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
914 be selected manually for the HW keys to work)
916 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
918 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
919 comparison instead of using strcmp(). Fixes a compiler warning as well.
921 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
923 * doc/hildon-docs.sgml: Do not set the library version in the
924 document title, use the releaseinfo tag for that purpose instead.
926 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
928 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
929 Do not jump to the first item if the text in the entry is removed.
931 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
936 * configure.ac: Bump version.
937 * debian/changelog: Updates.
939 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
941 * src/hildon-entry.c (hildon_entry_refresh_contents):
942 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
943 Use "ReversedSecondaryTextColor" for the placeholder text.
945 2009-03-12 Alberto Garcia <agarcia@igalia.com>
947 * src/hildon-text-view.c: Fix compilation warning.
949 2009-03-12 Alberto Garcia <agarcia@igalia.com>
951 * src/hildon-button.c (hildon_button_class_init): Don't make
952 "title" and "value" construction properties, to prevent them from
953 overwriting labels set from derived classes.
955 * src/hildon-picker-button.c
956 (hildon_picker_button_set_selector): Allow setting a NULL selector.
957 (hildon_picker_button_class_init): Make touch-selector a
958 construction property.
960 * src/hildon-date-button.c (hildon_date_button_class_init)
961 (+hildon_date_button_constructed): Add a default date selector if
964 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
966 * src/hildon-touch-selector.c: Small documentation fixes.
968 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
970 Based on a patch by Daniel Borgmann (danielb@openismus.com)
972 * src/hildon-entry.c (hildon_entry_refresh_contents),
973 (hildon_entry_get_text), (hildon_entry_init): Do not use the
974 widget name, set the logical color directly instead and a boolean
975 showing_placeholder instead.
976 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
977 use the widget name here either.
979 Fixes: NB#105678 (HildonTextView should use logical colours
980 instead of setting widget name)
982 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
984 Patch by Daniel Elster (danielk@openismus.com)
986 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
987 Add user_data parameter.
988 (hildon_touch_selector_set_print_func_full): New function akin
989 hildon_touch_selector_set_print_func() but with support for user
990 data and a destroy callback.
991 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
992 to clean up the print function user data.
993 (hildon_touch_selector_class_init): Install dispose function.
994 (HildonTouchSelectorPrivate::print_user_data),
995 (HildonTouchSelectorPrivate::print_destroy_func): New private
997 (hildon_touch_selector_init): Initialize new private members.
998 (hildon_touch_selector_get_current_text): Pass along user data
999 to the print function.
1000 (_default_print_func): Add dummy user_data to parameter list.
1001 * hildon-date-selector.c (_custom_print_func): ditto,
1002 * hildon-time-selector.c (_custom_print_func): ditto,
1003 * hildon-touch-selector-entry.c
1004 (hildon_touch_selector_entry_print_func): ditto.
1006 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1008 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1010 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1012 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1014 * src/hildon-pannable-area.c,
1015 (hildon_pannable_area_init),
1016 (hildon_pannable_area_button_press_cb),
1017 (hildon_pannable_area_motion_notify_cb): We have added code to
1018 handle the leave and enter events when using the motion events.
1020 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1022 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1024 * src/hildon-date-button.c (hildon_date_button_get_date)
1025 (hildon_date_button_set_date): Make sure that the button has a
1028 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1030 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1032 * src/hildon-pannable-area.c,
1033 (hildon_pannable_area_class_init),
1034 (hildon_pannable_area_calculate_velocity): Modify the use of the
1035 force and adapt the value.
1037 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1039 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1040 (hildon_app_menu_class_init): Hide the menu if it receives a
1041 delete-event, but don't destroy it
1043 Fixes: NB#104485 (Not able to address the call when application
1044 menu is opened at background)
1046 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1048 * src/hildon-app-menu.c
1049 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1050 Remove the "external-border" style property, let the menu take its
1051 natural size (or the one set by the window manager)
1052 (hildon_app_menu_repack_items):
1053 Don't reshow the menu, avoid flickers.
1055 Partially fixes NB#94957 (Smoothly opened application menu)
1057 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1062 * configure.ac: Bump version.
1063 * debian/changelog: Updates.
1065 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1067 * src/hildon-pannable-area.c,
1068 (hildon_pannable_area_motion_notify_cb): We control that the
1069 direction error margin is used just in case the movement is
1070 allowed in the other direction.
1072 Fixes: NB#105012 (buttons inside a pannable area not getting
1073 release event when dragging/releasing)
1075 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1077 * src/hildon-pannable-area.c,
1078 (hildon_pannable_area_class_init),
1079 (hildon_pannable_area_get_property),
1080 (hildon_pannable_area_set_property),
1081 (hildon_pannable_area_initial_effect),
1082 (hildon_pannable_axis_scroll),
1083 (hildon_pannable_area_button_release_cb): Reviewed the
1084 overshooting effect, now it has its own max
1085 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1086 speed when bouncing.
1088 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1093 * configure.ac: Bump version.
1094 * debian/changelog: Updates.
1096 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1098 * src/hildon-pannable-area.c,
1099 (hildon_pannable_area_class_init): Changed the max speed, now
1100 users can launch the widget very fast. Reduced the default force,
1101 that way it is easier to control the launch speed.
1103 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1105 * src/hildon-pannable-area.c,
1106 (hildon_pannable_area_button_release_cb): Removed this check
1107 because it causes problems when the device is overloaded.
1109 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1111 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1112 add a current_text field to store the text entered in the
1113 touch selector entry.
1114 (_clean_current_selection): clean up the current text as well.
1115 (_save_current_selection), (_restore_current_selection):
1116 Save/restore the text in the entry if the selector is a
1117 HildonTouchSelectorEntry.
1119 Fixes: NB#102541 (value entered in the touch selector entry is not
1120 shown when opened for second time)
1122 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1124 * doc/hildon-sections.txt:
1125 * src/hildon-touch-selector-entry.c
1126 (+hildon_touch_selector_entry_get_entry):
1127 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1129 Fixes: NB#104815 (I need accessor to the entry inside
1130 HildonTouchSelectorEntry)
1132 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1134 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1135 (hildon_app_menu_class_init):
1136 New "filter-vertical-spacing" style property.
1138 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1140 * src/hildon-find-toolbar.c
1141 (hildon_find_toolbar_emit_close)
1142 (hildon_find_toolbar_emit_invalid_input)
1143 (hildon_find_toolbar_entry_activate):
1144 Use g_signal_emit() instead of g_signal_emit_by_name()
1146 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1148 Patch by Mox Soini (ext-mox.soini@nokia.com)
1150 * tests/TEST-CASES.txt
1151 * tests/check-hildon-banner.c
1152 * tests/check-hildon-note.c
1153 * src/hildon-banner.c
1154 * src/hildon-code-dialog.c
1155 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1156 * src/hildon-time-editor.c
1157 * examples/hildon-lookup-example.c (main):
1158 Replace obsolete icon names with new ones.
1160 * src/hildon-find-toolbar-private.h:
1161 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1162 (-hildon_find_toolbar_emit_search):
1163 Remove find button and change icon of close button.
1165 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1167 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1169 * src/hildon-time-button.c (hildon_time_button_new_step):
1170 Use the "touch-selector" property to set the selector directly
1171 when creating the object.
1173 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1175 Added a new example application that allows tuning the pannable
1176 area and replaced defines with properties in order to simplify the
1177 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1178 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1179 PROP_DIRECTION_ERROR_MARGIN.
1181 * examples/hildon-pannable-area-tuning-example.c: New example
1183 * src/hildon-pannable-area.c,
1184 (hildon_pannable_area_class_init),
1185 (hildon_pannable_area_init),
1186 (hildon_pannable_area_get_property),
1187 (hildon_pannable_area_set_property),
1188 (hildon_pannable_area_launch_fade_timeout),
1189 (hildon_pannable_area_adjust_value_changed),
1190 (hildon_pannable_axis_scroll),
1191 (hildon_pannable_area_motion_notify_cb),
1192 (hildon_pannable_area_scroll_cb),
1193 (hildon_pannable_area_button_release_cb): We have converted some
1194 of the defines that control the widget to properties to simplify
1197 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1199 * src/hildon-app-menu.c (hildon_app_menu_map)
1200 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1201 so it's closed if a new window appears.
1203 Fixes: NB#104485 (Not able to address the call when application
1204 menu is opened at background)
1206 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1208 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1209 missing 'break' statement in in 'case' construct to avoid
1212 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1214 * src/hildon-touch-selector-entry.c
1215 (hildon_touch_selector_entry_get_property),
1216 (hildon_touch_selector_entry_set_property): Add missing 'break'
1217 statements in in 'case' constructs to avoid incorrect warnings.
1219 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1221 * src/hildon-time-editor.c
1222 (hildon_time_editor_get_time_separators): Do not crash if
1223 the first label is NULL.
1225 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1227 * src/hildon-date-selector.c (_month_days): Check for month to be
1228 strictly less than 12, since otherwise we may overrun the array.
1230 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1232 * src/hildon-date-button.c (+hildon_date_button_new_full)
1233 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1234 (hildon_date_button_init): Set the date selector using a
1235 construction property, to make it happen after HildonButton's
1236 "value" property is set.
1238 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1239 current date by default)
1241 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1243 * doc/hildon-sections.txt
1244 * src/hildon-program.c
1245 * src/hildon-stackable-window.c
1246 * src/hildon-window.c:
1247 Documentation updates
1249 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1251 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1252 (hildon_window_stack_new, +hildon_window_stack_set_property)
1253 (+hildon_window_stack_get_property)
1254 (hildon_window_stack_class_init)
1255 (+hildon_window_stack_set_window_group)
1256 (+hildon_window_stack_get_window_group):
1257 Make the window group a construction property.
1259 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1261 * doc/hildon-sections.txt
1262 * src/hildon-stackable-window-private.h
1263 * src/hildon-stackable-window.h
1264 * src/hildon-stackable-window.c
1265 (-hildon_stackable_window_set_app_menu)
1266 (-hildon_stackable_window_get_app_menu)
1267 (-hildon_stackable_window_toggle_menu)
1268 (-hildon_stackable_window_finalize)
1269 (hildon_stackable_window_class_init)
1270 (hildon_stackable_window_init)
1271 * src/hildon-window-private.h
1272 * src/hildon-window.h
1273 * src/hildon-window.c (hildon_window_init)
1274 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1275 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1276 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1277 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1278 Moved all HildonAppMenu code to HildonWindow. The menu does not
1279 require a HildonStackableWindow anymore.
1281 * src/hildon-app-menu.c
1282 * src/hildon-program.c
1283 * examples/hildon-app-menu-example.c (main):
1284 Update examples and documentation to reflect HildonAppMenu
1287 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1289 * src/hildon-remote-texture.c
1290 * src/hildon-animation-actor.c:
1291 Don't include unused private headers.
1293 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1295 * src/hildon-program-private.h
1296 * src/hildon-program.c
1297 (hildon_program_set_common_menu)
1298 (hildon_program_get_common_menu)
1299 (hildon_program_set_common_app_menu)
1300 (hildon_program_get_common_app_menu):
1301 Change common menu pointers from GtkWidget* to GtkMenu* and
1302 HildonAppMenu* to avoid unnecessary casts.
1304 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1306 * src/hildon-window.c (hildon_window_set_main_menu):
1307 Removed incorrect 'Since:' tag
1309 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1311 * src/hildon-pannable-area.c,
1312 (hildon_pannable_area_calculate_velocity): We use now the
1313 RATIO_TOLERANCE here to check the distance, fixed typo in the
1315 (hildon_pannable_area_motion_notify_cb): We have to set the type
1316 and time even if we are not sending the motion.
1318 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1320 * doc/hildon-sections.txt
1321 * src/hildon-app-menu.h
1322 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1323 (+hildon_app_menu_get_filters): New methods to get the contents of
1326 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1329 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1331 * src/hildon-app-menu.c (hildon_app_menu_popup):
1334 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1336 * src/hildon-window.h
1337 * src/hildon-window.c (+hildon_window_get_main_menu)
1338 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1339 and deprecated hildon_window_get_menu().
1341 * src/hildon-stackable-window.h
1342 * src/hildon-stackable-window.c
1343 (+hildon_stackable_window_set_app_menu)
1344 (+hildon_stackable_window_get_app_menu)
1345 (hildon_stackable_window_set_main_menu): Created
1346 hildon_stackable_window_{get,set}_app_menu() and deprecated
1347 hildon_stackable_window_set_main_menu().
1349 * doc/hildon-sections.txt
1350 * examples/hildon-app-menu-example.c (main)
1351 * src/hildon-app-menu.c
1352 * src/hildon-program.c:
1353 Updated examples and documentation.
1355 Fixes: NB#103758 (No way to obtain a menu from a
1356 HildonStackableWindow)
1358 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1363 * configure.ac: Bump version.
1364 * debian/changelog: Updates.
1366 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1368 * examples/hildon-remote-texture-example.c: Include
1369 hildon-remote-texture.h explicitely.
1370 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1371 applications not defining _XOPEN_SOURCE which don't require this header.
1373 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1375 * doc/hildon-sections.txt
1376 * src/hildon-app-menu.h
1377 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1378 New function to pop up a HildonAppMenu
1380 * src/hildon-stackable-window.c
1381 (hildon_stackable_window_toggle_menu):
1382 Use hildon_app_menu_popup() to show the menu.
1384 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1386 * src/hildon-app-menu.c (hildon_app_menu_show)
1387 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1388 menu if there's another window between it and its parent window.
1390 Fixes: NB#100468 (Application menu window is launched even when a
1391 new secondary-window/dialog is pending to be shown/realized)
1393 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1395 * src/hildon-window-stack.c (hildon_window_stack_push)
1396 (hildon_window_stack_pop_and_push):
1397 Don't forget to push/pop the first window.
1398 Reverse the window list before calling _push_list()
1400 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1402 * src/hildon-picker-button.h
1403 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1404 Remove "value_changed" slot to avoid ABI breakage
1406 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1408 * src/hildon-pannable-area.c,
1409 (hildon_pannable_area_realize),
1410 (hildon_pannable_area_unrealize),
1411 (hildon_pannable_draw_vscroll),
1412 (hildon_pannable_draw_hscroll): Changed the method to handle the
1413 GC used to draw the transparent scrollbar, this way we avoid
1414 creating the GC all the time when drawing the scrollbars.
1416 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1418 * src/hildon-pannable-area.c,
1419 (hildon_pannable_area_init),
1420 (hildon_pannable_area_remove): Removed some unnecessary casts.
1421 (hildon_pannable_area_dispose): Disconnected some signals before
1422 releasing the adjustments.
1424 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1426 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1427 Make sure that all widgets contained in the toolbar are shown.
1429 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1431 * doc/hildon-sections.txt
1432 * src/hildon-picker-button.h
1433 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1434 (_selection_changed, hildon_picker_button_on_dialog_response)
1435 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1436 New hildon_picker_button_value_changed() method.
1439 * src/hildon-picker-button-private.h
1440 * src/hildon-picker-button.c (hildon_picker_button_init)
1441 (+hildon_picker_button_disable_value_changed): Add protected
1442 function for disabling the "value-changed" signal.
1444 * src/hildon-date-button.c (hildon_date_button_set_date):
1445 Don't emit "value-changed" for each one of the three columns.
1447 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1448 before actual change of values)
1450 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1452 * src/hildon-pannable-area.c,
1453 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1454 for the treeview overshooting.
1456 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1458 * src/hildon-banner.c (+hildon_banner_bind_style):
1459 Renamed from hildon_banner_bind_label_style(), now naming the
1460 banner itself as well.
1461 (hildon_banner_show_information),
1462 (hildon_banner_show_information_with_markup),
1463 (hildon_banner_show_animation), (hildon_banner_show_progress):
1464 Name the widgets and labels, based on their type.
1466 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1469 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1471 * src/hildon-note.c (hildon_note_set_property): call
1472 hildon_note_rename() on HildonNote:note-type set.
1473 (hildon_note_rename): Name the note and its label, based on the
1474 HildonNote:note-type property.
1476 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1479 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1481 * src/hildon-pannable-area.c,
1482 (hildon_pannable_area_class_init),
1483 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1484 panning parameters, increased SPS and deceleration factor. Added
1485 also a margin to control fake directions.
1487 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1489 Patch by Sven Herzberg (sven@imendio.com)
1491 * configure.ac: Add missing AM_PROG_CC_C_0
1492 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1494 See NB#101420 (Update unit tests and fix make check)
1496 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1498 This patch was applied before but reverted because it caused
1499 problems, we have changed the main condition and tested the
1500 regressions we detected before and they work ok. We have done a
1501 complete review of the topmost algorithm in order to get a more
1504 * src/hildon-pannable-area.c,
1505 (hildon_pannable_area_get_topmost): Added a new parameter to
1506 filter the the windows that do not include those events.
1507 (hildon_pannable_area_button_press_cb),
1508 (hildon_pannable_area_button_release_cb),
1509 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1510 topmost function, we have added the new parameter.
1512 Fixes: NB#97458 (Pannable area prevents propagation of button
1515 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1517 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1518 if all columns in the selector have an item selected.
1519 (_on_dialog_response): Stop "response" signal emission if there is
1520 any selector column without selected items.
1522 Fixes: NB#101889 (Picker dialog should not close when nothing is
1523 selected in multiple selection list)
1525 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1527 * src/hildon-font-selection-dialog.c
1528 (hildon_font_selection_dialog_class_init),
1529 (hildon_font_selection_dialog_init): Remove the preview
1530 button and dialog, since previewing with default theming is likely
1531 to be overcomplicated. The :preview property has now no effect.
1532 Update documentation blurbs to inform about this.
1534 Fixes: NB#92297 (Preview content is not clearly visible for
1535 default colour text)
1537 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1539 Reviewed the geometry that handles the children size and
1540 scrollbar, now it tries a size and reviews the results depending
1541 on the scrollbars visibility.
1543 * src/hildon-pannable-area.c,
1544 (hildon_pannable_area_realize): Fixed a typo.
1545 (hildon_pannable_area_child_allocate_calculate): Added this
1546 function to calculate the child allocation.
1547 (hildon_pannable_area_size_allocate): Reviewed the allocation
1549 (hildon_pannable_area_check_scrollbars),
1550 (hildon_pannable_area_refresh): Refactored refresh function, this
1551 way we can call the code handling the scrollbars without causing a
1552 size_request, it is interesting in the allocate.
1553 (hildon_pannable_area_init): Replace the callbacks of the
1554 value_changed and changed signals to propertly deal with the
1556 (hildon_pannable_area_grab_notify),
1557 (hildon_pannable_area_initial_effect),
1558 (hildon_pannable_area_launch_fade_timeout),
1559 (hildon_pannable_area_adjust_changed),
1560 (hildon_pannable_area_adjust_value_changed),
1561 (hildon_pannable_area_redraw),
1562 (hildon_pannable_area_button_press_cb),
1563 (hildon_pannable_area_button_release_cb),
1564 (hildon_pannable_area_scroll_cb),
1565 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1566 code and use the new functions adjust_changed and
1567 adjust_value_changed.
1569 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1570 Contact editor dialog)
1572 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1577 * configure.ac: Bump version.
1578 * debian/changelog: Updates.
1580 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1582 * src/hildon-pannable-area.c,
1583 (hildon_pannable_area_get_topmost),
1584 (hildon_pannable_area_button_press_cb),
1585 (hildon_pannable_area_button_release_cb),
1586 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1587 topmost function adding the event mask. We have to try a
1588 differente approach because it is still causing problems (NB#9745,
1591 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1593 * src/hildon-banner.c:
1594 Update the maximum width of timed banners.
1595 (force_to_wrap_truncated): Enforce the maximum text width if the
1598 Fixes: NB#102413 (The text margins (wrapping) in information
1599 banner should be HILDON_MARGIN_TRIPLE)
1601 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1603 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1605 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1606 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1607 bound when calculating the scroll indicator position.
1609 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1610 treat ->lower correctly)
1612 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1614 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1615 expose event handling, since it is not necessary to draw the focus
1618 Fixes: NB#102467 (Do not show highlight on the text in
1621 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1623 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1624 full height of the toolbar for the button and the label.
1626 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1628 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1629 padding before the label and after the button.
1631 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1633 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1635 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1636 Add a GtkVSeparator between the button and the back arrow.
1637 Let the button have automatic size.
1638 Set a name to the widget for theming handling.
1640 Fixes: NB#101793 (Make edit toolbar the same height as window
1641 title bar (use title area theming))
1643 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1645 * src/hildon-helper.c (attach_new_color_element): Fix memory
1648 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1650 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1652 * examples/hildon-button-example.c (common_buttons_window): Don't
1655 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1657 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1658 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1660 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1662 * src/hildon-gtk.c: Check that the window is realized.
1664 Fixes: NB#102225 (Crash setting the progress indicator to a non
1667 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1669 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1670 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1671 instead of modifying the one in the widget style.
1673 Fixes: NB#101043 (Second row of all the command button are
1674 displayed in transparent mode.)
1676 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1678 * src/hildon-date-button.c
1679 * src/hildon-time-button.c: Add gettext macros
1681 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1683 * src/hildon-date-button.c (hildon_date_button_new):
1684 * src/hildon-time-button.c (hildon_time_button_new_step):
1685 Use new logical strings to set the button default title.
1687 Fixes: NB#99915 (Date and Time options are not localised in Date
1690 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1692 * src/hildon-pannable-area.c
1693 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1694 the PANNING_THRESHOLD.
1696 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1698 * src/hildon-pannable-area.c,
1699 (hildon_pannable_area_class_init): Increased the maximum speed.
1700 (hildon_pannable_area_get_property),
1701 (hildon_pannable_area_set_property),
1702 (hildon_pannable_area_timeout): Added a new low friction mode, it
1703 allows the user avoid friction when launching the widget fast
1704 enough. It is interesting to traverse long lists.
1706 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1708 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1709 (+hildon_stackable_window_delete_event): Ignore delete events if
1710 the window is not the topmost one.
1712 Fixes: NB#101698 (Back button long press and delete-event handling)
1714 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1716 * src/hildon-pannable-area.c,
1717 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1718 gtk-dnd-drag-threshold, it was too big. We have defined our own
1719 dnd define and set a smaller value: PANNIG_THRESHOLD.
1721 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1723 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1724 user-defined icons, use always the default one.
1726 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1728 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1730 This patch was applied before but reverted because it caused
1731 problems, we have changed the main condition and tested the
1732 regressions we detected before and they work ok.
1734 * src/hildon-pannable-area.c,
1735 (hildon_pannable_area_get_topmost): Added a new parameter to
1736 filter the the windows that do not include those events. Added
1737 also a condition when finding the window to filter windows that do
1738 not ask for those events.
1739 (hildon_pannable_area_button_press_cb),
1740 (hildon_pannable_area_button_release_cb),
1741 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1742 topmost function, we have added the new parameter.
1744 Fixes: NB#97458 (Pannable area prevents propagation of button
1747 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1749 * tests/check-hildon-color-button.c (START_TEST): do not leak
1752 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1754 * src/hildon-font-selection-dialog.c
1755 (hildon_font_selection_dialog_get_preview_text): Return NULL
1756 instead of FALSE on the g_return_val_if_fail().
1758 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1760 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1761 * src/hildon-date-selector.c
1762 (hildon_date_selector_select_current_date):
1763 Do not compare unsigned integers to be greater than or equal 0,
1764 because it's always TRUE.
1766 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1768 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1769 (hildon_date_selector_constructor): Do not select the current
1770 date until we are handle the "changed" signal, to avoid having bogus
1771 elements in the days model.
1773 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1775 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1776 for num_days, since _month_days() can return a negative value.
1778 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1780 * src/hildon-caption.c (hildon_caption_size_allocate):
1781 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1782 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1784 Initialize allocation variables to 0, to avoid eventually using
1785 unitialized variables.
1787 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1789 * src/hildon-bread-crumb-trail.c
1790 (hildon_bread_crumb_trail_size_allocate):
1791 * src/hildon-calendar.c (hildon_calendar_set_background):
1792 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1793 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1794 * src/hildon-seekbar.c (hildon_seekbar_init):
1795 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1796 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1797 * src/hildon-touch-selector-entry.c
1798 (hildon_touch_selector_get_text_from_model):
1799 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1800 * src/hildon-window.c (hildon_window_finalize):
1802 Remove many unused variables.
1804 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1806 * src/hildon-seekbar.c: (hildon_seekbar_init),
1807 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1809 Remove unnecessary g_assert() calls.
1811 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1813 * src/hildon-caption.c: (hildon_caption_expose),
1814 (hildon_caption_set_property), (hildon_caption_init),
1815 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1816 (hildon_caption_size_request), (hildon_caption_size_allocate),
1817 (hildon_caption_forall), (hildon_caption_set_separator),
1818 (hildon_caption_activate), (hildon_caption_set_child_expand),
1819 (hildon_caption_set_label_text),
1820 (hildon_caption_get_label_alignment):
1822 Remove unnecessary g_assert() calls.
1824 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1826 * src/hildon-banner.c
1827 (hildon_banner_map, hildon_banner_init): Make banner temporary
1828 before mapping it to avoid closing other temporary windows, but
1829 make it non-temporary afterwards to avoid being closed by other
1830 non-temporary windows.
1831 (-hildon_banner_client_event, hildon_banner_init):
1832 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1834 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1837 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1839 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1842 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1844 * src/hildon-remote-texture.c
1845 * src/hildon-remote-texture.h
1846 * src/hildon-remote-texture-private.h
1847 * examples/hildon-remote-texture-example.c:
1848 Updates/fixes to remote-texture and its example.
1850 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1852 Patch by Mox Soini (ext-mox.soini@nokia.com)
1854 * src/hildon-code-dialog.c: Update logical id.
1855 * src/hildon-set-password-dialog.c: Update logical id.
1857 Fixes: NB#100646 (Logical strings is shown for ok in set
1858 password,Password needed dialogs)
1860 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1863 * src/hildon-remote-texture.c
1864 * src/hildon-remote-texture.h
1865 * src/hildon-remote-texture-private.h
1867 Added remote texture widget (for Clutter shared memory textures)
1869 * examples/hildon-remote-texture-example.c
1870 * examples/Makefile.am
1871 Added example file for remote texture usage
1873 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1875 * configure.ac: post release version bump.
1876 * debian/changelog: version bump.
1878 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1883 * configure.ac: Bump version.
1884 * debian/changelog: Updates.
1886 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1888 * src/hildon-date-selector.c (hildon_date_selector_init)
1889 (hildon_date_selector_constructor): Don't connect to the "changed"
1890 signal until the selector is completely constructed.
1892 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1894 * src/hildon-touch-selector.c: (_create_new_column),
1895 (hildon_touch_selector_append_column),
1896 (hildon_touch_selector_set_column_selection_mode),
1897 (hildon_touch_selector_set_active),
1898 (hildon_touch_selector_select_iter):
1899 Emit the HildonTouchSelector::changed signal every time selection
1900 is changed in any of the methods above. This behavior was already
1901 documented but not fully functional.
1903 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1904 selection is programmatically changed)
1906 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1908 * doc/hildon-sections.txt: Remove obsolete icon
1909 sizes from here as well.
1911 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1913 * examples/hildon-stackable-window-example.c (add_window): Remove
1916 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1918 * src/hildon-app-menu.c
1919 (hildon_app_menu_show): Check whether the parent window of a menu
1920 is topmost before popping it up.
1922 Fixes: NB#100468 (Application menu window is launched even when a
1923 new secondary-window/dialog is pending to be shown/realized.)
1925 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1927 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1930 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1932 Patch by Mox Soini (ext-mox.soini@nokia.com)
1934 * src/hildon-banner.c: (hildon_banner_show_animation):
1935 use stylus size instead of obsolete note size.
1936 * src/hildon-defines.h: Update icon sizes.
1938 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1940 * src/hildon-touch-selector-entry.c:
1941 (hildon_touch_selector_entry_init): Disable unsupported
1943 (hildon_touch_selector_entry_get_text_column): Emit a warning
1944 if an unsupported input modes is used and explicitile state
1945 these modes in the documentation.
1947 Fixes: NB#99802 (Hildon touch selector entry not working properly
1948 for some of the input modes)
1950 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1952 * src/hildon-pannable-area.c,
1953 (hildon_pannable_area_init): Added the changed signal handlers of
1956 Fixes: NB#100320 (HildonPannableArea does not listen to
1957 GtkAdjustment "change" signals)
1959 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1961 * doc/hildon-sections.txt
1962 * src/hildon-window-private.h
1963 * src/hildon-window.h
1964 * src/hildon-window.c (hildon_window_init)
1965 (hildon_window_realize, hildon_window_unrealize)
1966 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1967 (hildon_window_size_request, hildon_window_size_allocate)
1968 (hildon_window_forall, hildon_window_show_all)
1969 (hildon_window_destroy, +paint_edit_toolbar)
1970 (+hildon_window_set_edit_toolbar):
1971 New hildon_window_set_edit_toolbar() method, to add a
1972 HildonEditToolbar to a window without having to pack it manually.
1974 Reorganize hildon_window_size_allocate()
1976 * src/hildon-edit-toolbar.c: Update documentation.
1978 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1979 example to use the new API.
1981 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1983 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1985 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1986 Remove from stack before calling parent's hide.
1988 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1990 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1991 window is removed from the middle of the stack, update the
1992 transiency of the previous one.
1994 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1997 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1999 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2000 block/unblock the signal handler if it's not actually being used.
2001 Fixes some critical warnings.
2003 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2005 Based on a patch by Iván Gómez (igomez@igalia.com)
2007 * src/hildon-banner.c
2011 * src/hildon-pannable-area.c
2012 * src/hildon-picker-dialog.c
2013 * src/hildon-wizard-dialog.h
2014 * src/hildon-wizard-dialog.c: Documentation updates.
2016 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2017 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2019 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2021 * configure.ac: post release version bump.
2022 * debian/changelog: version bump.
2024 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2029 * configure.ac: Bump version.
2030 * debian/changelog: Updates.
2032 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2034 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2035 a stock icon nor change the relief of the back arrow.
2037 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2038 graphics from theme)
2040 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2042 * src/hildon-button.c (hildon_button_set_alignment): Use
2043 priv->alignment if the button has no child yet.
2045 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2047 * src/hildon-button.c: (hildon_button_init): Set the
2048 button style during initialization to give it the proper
2051 Fixes: NB#99713 (HildonButton value label color is wrong)
2053 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2055 * src/hildon-touch-selector.c: Document
2056 hildon_touch_selector_center_on_selected()
2058 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2060 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2061 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2062 all menu items, but not the menu itself.
2063 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2064 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2065 items after adding them to the menu so keyboard accelerators work.
2066 (hildon_app_menu_show): Don't show the menu if it contains items
2067 but none of them are visible.
2069 * examples/hildon-app-menu-example.c (create_menu): Use
2070 gtk_widget_show_all() to show all menu items.
2072 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2074 * src/hildon-picker-dialog.c:
2075 (-_update_title_on_selector_changed_cb),
2076 (-_dialog_update_title): Removed.
2077 (_select_on_selector_changed_cb), (_on_dialog_response),
2078 (on_selector_columns_changed): Do not update the dialog title.
2079 (setup_interaction_mode): Do not connect to
2080 HildonTouchSelector::changed signal if there's a "done" button, as
2081 the dialog title doesn't need to be updated.
2083 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2086 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2088 Patch by Kristian Rietveld (kris@imendio.com)
2090 * src/hildon-touch-selector.c: (_create_new_column): Use new
2091 GtkTreeView::hildon-row-tapped signal to react to user interactions
2092 instead of ::changed.
2094 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2095 with some dynamic tree model)
2097 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2099 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2100 (+screen_size_changed, +label_size_request)
2101 (hildon_note_class_init): Make the Hildon information note have a
2102 minimum height, and make its text hvae a maximum width.
2104 Fixes: NB#98614 (Hildon information note (background) should have
2105 minimum height and maximum text width)
2107 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2109 * src/hildon-banner.h
2110 * src/hildon-banner.c (hildon_banner_show_information)
2111 (hildon_banner_show_informationf)
2112 (hildon_banner_show_information_with_markup): Update documentation
2113 to reflect that the icon_name parameter is not used anymore.
2114 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2115 Remove all code from these functions and mark them as deprecated.
2116 (hildon_banner_show_progress): Mark as deprecated.
2118 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2120 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2122 * src/hildon-pannable-area.c,
2123 (hildon_pannable_area_class_init),
2124 (tranparency_color),
2125 (hildon_pannable_draw_vscroll),
2126 (hildon_pannable_draw_hscroll),
2127 (hildon_pannable_area_expose_event): Added a new way to render the
2128 scrollbars of the pannable area avoiding using cairo at all. This
2129 way we improve the performance of the pannable area rendering. The
2130 cairo rendering procedure is still in the code, we can control
2131 which one to use changing the value of the define
2132 USE_CAIRO_SCROLLBARS.
2134 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2136 * configure.ac: post release version bump.
2137 * debian/changelog: version bump.
2139 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2144 * configure.ac: Bump version.
2145 * debian/changelog: Updates.
2147 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2149 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2150 banners instead of destroying them when they receive a button
2153 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2155 Reverted commit 34028, it was causing regressions, probably the
2156 topmost condition is not correct, we have to check it in more
2157 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2158 propagation of button press events)
2160 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2162 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2163 that the selection is not empty before attempting to retrieve the
2164 current ampm selection.
2166 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2168 * src/hildon-picker-button.c:
2169 (hildon_picker_button_on_dialog_response): Directly update the
2170 button contents when required instead of calling _selection_changed.
2172 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2174 * src/hildon-program.c (hildon_program_update_top_most): Update
2175 'is-topmost' property also when wm_hints is not set.
2177 Fixes: NB#98383 (is-topmost signal is not emitted when task
2178 switcher is clicked.)
2180 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2182 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2186 * src/hildon-animation-actor.c,
2187 * src/hildon-animation-actor.h: Added the animation actor class,
2188 this widget represents an animation actor for WM-assisted
2189 animation effects in the Hildon framework.
2191 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2193 * src/hildon-window-stack-private.h
2194 * src/hildon-window-stack.c
2195 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2196 Avoid calling gtk_widget_show() again indirectly from
2197 hildon_stackable_window_show()
2199 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2201 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2204 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2206 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2207 (hildon_time_selector_init): Move the construction of the hours and
2208 ampm columns to the constructor to preserve the order the columns
2211 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2213 * src/hildon-picker-dialog.c:
2214 (hildon_picker_dialog_class_init): Connect a realize method.
2215 (+hildon_picker_dialog_realize): Setup the interaction mode here
2217 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2218 yet, do it during the realize instead.
2219 (_on_dialog_response):
2220 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2221 if the widget is not realized, to avoid the dialog response before it
2224 Avoid premature responses in the HildonPickerDialog that can cause it
2225 to be hidden before it's even shown.
2227 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2229 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2230 (on_selector_columns_changed), (requires_done_button),
2231 (+prepare_action_area), (setup_interaction_mode),
2232 (_hildon_picker_dialog_set_selector):
2234 Split the interaction mode setup into preparation of the
2235 action area (prepare_action_area()) and the connection of
2236 the signals in setup_interaction_mode() and update the code to
2239 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2241 * src/hildon-pannable-area.c,
2242 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2243 per second to 15, we will check if this is ok regarding
2246 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2248 * src/hildon-pannable-area.c,
2249 (hildon_pannable_axis_scroll): Avoid resize if we already have
2250 reached overshoot_max.
2252 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2254 * src/hildon-pannable-area.c,
2255 (hildon_pannable_area_init),
2256 (hildon_pannable_area_realize),
2257 (hildon_pannable_area_size_allocate),
2258 (hildon_pannable_area_map),
2259 (hildon_pannable_area_unmap),
2260 (hildon_pannable_draw_vscroll),
2261 (hildon_pannable_draw_hscroll),
2262 (hildon_pannable_area_expose_event),
2263 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2264 pannable are to avoid the expose events go to the window and
2265 redraw the window. We save this way that part of the stack and the
2266 paint_boxes. We had to change the positions of the elements when
2269 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2271 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2272 * src/hildon-color-chooser-dialog.c:
2273 (hildon_color_chooser_dialog_init):
2274 * src/hildon-font-selection-dialog.c:
2275 (hildon_font_selection_dialog_init),
2276 (hildon_font_selection_dialog_show_preview):
2277 * src/hildon-get-password-dialog.c:
2278 * src/hildon-login-dialog.c:
2279 * src/hildon-set-password-dialog.c:
2280 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2281 * src/hildon-time-picker.c: (hildon_time_picker_init):
2283 Remove obsolete logical string IDs and update to the appropriate ones.
2285 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2287 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2289 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2290 that happens if the window hasn't been realized yet.
2292 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2293 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2295 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2297 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2298 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2301 Fixes: NB#98537 (Device hangs in account settings dialog)
2303 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2305 * configure.ac: post release version bump.
2306 * debian/changelog: version bump
2308 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2313 * configure.ac: Bump version.
2314 * debian/changelog: Updates.
2316 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2318 Added a new function to the HildonTimeButton widget that allows to
2319 change the step of the minutes in the selector associated with the
2320 button: hildon_time_button_new_step
2322 * src/hildon-time-button.c,
2323 (hildon_time_button_init),
2324 (hildon_time_button_new),
2325 (hildon_time_button_new_step):
2326 * src/hildon-time-button.h: Added the new function and refactored
2328 * examples/hildon-time-button-example.c,
2329 (main): We have replaced the function without parameters with the
2330 function with the steps set to 5
2332 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2334 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2336 * src/hildon-time-selector.c,
2337 (hildon_time_selector_class_init),
2338 (hildon_time_selector_constructor),
2339 (hildon_time_selector_get_property),
2340 (hildon_time_selector_set_property),
2341 (_create_minutes_model),
2342 (hildon_time_selector_new_step),
2343 (hildon_time_selector_set_time),
2344 * src/hildon-time-selector.h: Added a new property to the
2345 HildonTimeSelector (minutes-step), we use that property to control
2346 the steps between the minutes in the list of the selector. We have
2347 added a new function to the API to create a widget changing the
2348 step: hildon_time_selector_new_step.
2350 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2352 * src/hildon-time-selector.c,
2353 (hildon_time_selector_class_init),
2354 (hildon_time_selector_constructor),
2355 (hildon_time_selector_init): Overrided the construct function when
2356 creating the time selector object. We have moved the minutes model
2357 handling code from the init to the new construction function:
2358 hildon_time_selector_constructor.
2360 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2362 * examples/hildon-date-button-example.c: (main): Use the new
2363 hildon_date_button_new_with_year_range() method in the example.
2364 * src/hildon-date-button.c:
2365 (+hildon_date_button_new_with_year_range): New public method
2366 to conveniently create a HildonDateButton with a custom year range
2367 in its HildonDateSelector.
2368 * src/hildon-date-button.h: Add the new public method definition.
2370 Fixes: NB#97908 (Not possible to change the year range in
2371 HildonDateSelector/HildonDateButton)
2373 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2375 * src/hildon-date-selector.c:
2376 (+hildon_date_selector_set_property),
2377 (+hildon_date_selector_get_property),
2378 (hildon_date_selector_class_init): Install new properties "min-year"
2379 and "max-year" to define boundaries for the year column.
2380 (_create_year_model): Use the boundary properties to populate the model.
2381 (+hildon_date_selector_new_with_year_range): New public method to
2382 create a HildonDateSelector with a user defined year range.
2383 (hildon_date_selector_select_current_date): Use the new boundaries to
2384 calculate the iterator of current year.
2385 * src/hildon-date-selector.h: Add the new public method definition.
2387 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2389 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2390 Install a constructor method.
2391 (+hildon_date_selector_construct_ui): construct the widget.
2392 (+hildon_date_selector_constructor): new constructor.
2393 (+hildon_date_selector_init): move out widget construction code to
2394 the new constructor.
2396 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2398 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2399 that there's actually a month or year selected before obtaining them.
2400 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2401 of the HildonTouchSelector::changed signal, as it was emitted on every
2402 single item selection.
2404 Fix some warnings and possible crashers due to the selection restoring.
2406 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2408 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2409 the signal handlers only after creating the dialog instead of on every
2412 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2414 * src/hildon-button.c (hildon_button_init)
2415 * src/hildon-check-button.c (hildon_check_button_init)
2416 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2417 focus when clicked by default.
2419 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2421 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2424 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2426 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2427 Alejandro G. Castro (alex@igalia.com)
2429 * src/hildon-picker-dialog.c:
2430 (hildon_picker_dialog_class_init): install new "center-on-show"
2432 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2433 (hildon_picker_dialog_set_property): add setter code for the new
2435 (hildon_picker_dialog_get_property): add getter code for the new
2437 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2438 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2441 Fixes: NB#92849 (Selected item is not always visible when
2442 HildonTouchSelector is shown)
2444 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2446 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2447 Alejandro G. Castro (alex@igalia.com)
2449 * src/hildon-touch-selector.c:
2450 (_create_new_column): Do not connect to the "realize" signal of the
2452 (hildon_touch_selector_append_column): center on the selected items
2453 when a new column is appended.
2454 (hildon_touch_selector_select_iter): Factor out the code to select a
2455 column to hildon_touch_selector_scroll_to().
2456 (+search_nearest_element): Method to retrieve the nearest selected
2457 element to the visible area of the pannable area in a column.
2458 (+on_realize_cb): scroll to the initially selected item.
2459 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2460 the pannable area is realized, otherwise delay this until it is.
2461 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2462 selected items of a given column.
2463 (+hildon_touch_selector_center_on_selected): Public method to center
2464 all columns on the nearest selected item.
2465 * src/hildon-touch-selector.h: Add definition for
2466 hildon_touch_selector_center_on_selected().
2468 Implement public API to ensure visibility of all selected items in
2469 a HildonTouchSelector.
2471 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2473 Fixed a problem in the fading when calling the scroll_to API, and
2474 improve scrollbar fading handling.
2476 * src/hildon-pannable-area.c,
2477 (hildon_pannable_area_grab_notify): avoid the timeout when the
2479 (hildon_pannable_area_button_press_cb),
2480 (hildon_pannable_area_motion_notify_cb): Code style changes.
2481 (hildon_pannable_area_button_release_cb): Review the conditions
2482 when releasing the mouse button to avoid unrequired fading
2484 (hildon_pannable_area_scroll_to): Do not calculate and set the
2485 velocity if the scroll is not required.
2487 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2489 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2490 Don't check whether the new selector is NULL: it cannot be.
2491 Hold a reference to the selector while doing the replacement.
2493 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2495 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2496 unnecessary size_request in a removed widget.
2498 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2500 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2501 an unnecessary reference tracking that was leaking.
2503 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2505 Added delayed motion notify event handling, this way we can
2506 discard redrawing if more than 25 events arrive per second.
2508 * src/hildon-pannable-area.c,
2509 (hildon_pannable_area_init): Initialized the new private atributes
2510 controlling this timeout
2511 (hildon_pannable_area_dispose): Remove the timeout that controls
2512 the motion notify events.
2513 (hildon_pannable_area_scroll): Added a condition to control the
2514 use of the acceleration.
2515 (hildon_pannable_area_motion_event_scroll_timeout),
2516 (hildon_pannable_area_motion_event_scroll): Added this two
2517 functions, they handle the motion notify events inside the
2519 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2520 to the scroll method with the new function.
2521 (hildon_pannable_area_button_release_cb): We have to remove the
2522 timeout handler and move to the last position if the last motion
2523 events were not handled.
2525 Fixes: NB#97028 (Pannable area updates on every motion event)
2527 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2529 * src/hildon-pannable-area.c,
2530 (hildon_pannable_area_get_topmost): Added a new parameter to
2531 filter the the windows that do not include those events. Added
2532 also a condition when finding the window to filter windows that do
2533 not ask for those events.
2534 (hildon_pannable_area_button_press_cb),
2535 (hildon_pannable_area_button_release_cb),
2536 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2537 topmost function, we have added the new parameter.
2539 Fixes: NB#97458 (Pannable area prevents propagation of button
2542 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2544 * src/hildon-pannable-area.c,
2545 (hildon_pannable_area_initial_effect): Added controls before
2546 launching the timeout and the idle functions.
2547 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2548 of the method, in some situations it can return with TRUE and 0 in
2550 (hildon_pannable_area_button_press_cb): We do not need to set
2551 DELAY for fading out here.
2553 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2555 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2557 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2558 post-cleaning if the selection is not NULL.
2560 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2562 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2563 all items before restoring the selection.
2565 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2567 * src/hildon-touch-selector.c:
2568 (+hildon_touch_selector_unselect_all):
2569 * src/hildon-touch-selector.h: New API to unselect all items in a
2570 column of the touch selector.
2572 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2574 * src/hildon-pannable-area.c,
2575 (hildon_pannable_area_redraw): Added a call to the refresh
2576 function inside the redraw because apparently in some cases the
2577 change in the adjustment does not imply a size allocate.
2579 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2580 despite the view not being scrollable)
2582 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2584 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2585 leak. Check for NULL before attempting to set the window title.
2587 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2589 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2590 whether to show or not the 'Done' button each time the dialog is
2591 shown, as it depends on the HildonTouchSelector selection mode.
2593 Fixes: NB#96226 (In multiple selection mode Done button is shown
2594 sometimes in listpicker)
2596 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2598 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2599 for the number of columns in the HildonTouchSelector more than once.
2601 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2603 * src/hildon-touch-selector.c: Minor documentation fixes.
2605 * src/hildon-picker-dialog.c (+_dialog_update_title)
2606 (_select_on_selector_changed_cb)
2607 (_update_title_on_selector_changed_cb)
2608 (on_selector_columns_changed): Update dialog title when there's no
2609 'Done' button and also when the number of columns in the selector
2613 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2614 (+_selection_changed, hildon_picker_button_on_dialog_response)
2615 (hildon_picker_button_selector_selection_changed)
2616 (+hildon_picker_button_selector_columns_changed)
2617 (hildon_picker_button_set_selector): Update button value and emit
2618 'value-changed' when the number of columns in the selector
2622 Fixes: NB#96225 (Dialog titles are not shown according to the
2623 values selected in the list picker)
2625 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2627 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2628 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2629 New "arrow-width" and "arrow-height" style properties to set the
2630 size of the arrow button.
2631 Set name of arrow button ("hildon-edit-toolbar-arrow").
2633 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2634 graphics from theme)
2636 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2638 * src/hildon-picker-button.c:
2639 (hildon_picker_button_selector_selection_changed): Use
2640 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2641 the dialog is present.
2643 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2644 the selection is accepted in the dialog)
2646 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2648 * src/hildon-color-chooser.h
2649 * src/hildon-color-chooser-dialog.h:
2650 Added G_BEGIN_DECLS and G_END_DECLS
2652 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2654 (_clean_current_selection): plug a leak in the list.
2656 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2658 * src/hildon-picker-dialog.c:
2659 (+free_path_list): Method to free a GList of GtkTreePaths.
2660 (_clean_current_selection), (_save_current_selection),
2661 (_restore_current_selection): Save the current selection in
2662 as a list of lists, to support multiple selection properly.
2664 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2666 patch by Claudio Saavedra (csaavedra@igalia.com)
2668 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2669 Store the press position.
2670 (+hildon_text_view_button_release_event): If the release position is
2671 close enough to the press position, move the cursor here. Otherwise,
2673 (hildon_text_view_class_init): Override GtkTextView press, release, and
2674 motion event handlers, disabling this way text selection through
2675 pointer interaction, and allowing the container widget to handle the
2678 Fixes: NB#95828 (HildonTextView functionality)
2680 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2682 Based on a patch by Iván Gómez (igomez@igalia.com)
2684 * src/hildon-button.[ch]
2685 * src/hildon-calendar.c
2686 * src/hildon-check-button.c
2687 * src/hildon-date-editor.c
2688 * src/hildon-date-selector.c
2689 * src/hildon-picker-button.c
2690 * src/hildon-time-editor.c
2691 * src/hildon-time-selector.c
2692 * src/hildon-touch-selector.[ch]:
2693 Documentation updates
2695 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2697 * src/hildon-pannable-area.c,
2698 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2699 threshold, it was required due to X events handling.
2701 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2703 * src/hildon-pannable-area.c,
2704 (hildon_pannable_area_grab_notify),
2705 (hildon_pannable_area_initial_effect),
2706 (hildon_pannable_area_button_press_cb),
2707 (hildon_pannable_area_button_release_cb),
2708 (hildon_pannable_area_scroll_cb),
2709 (hildon_pannable_area_scroll_to): Review the timeout management of
2710 the scrollbar, the frecuency was incorrectly set.
2712 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2714 * src/hildon-picker-button.c:
2715 (+hildon_picker_button_on_dialog_response),
2716 (hildon_picker_button_clicked): Present the dialog instead of
2717 running it with gtk_dialog_run().
2719 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2722 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2724 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2725 (hildon_app_menu_finalize): When a window is hidden it doesn't
2726 emit notify::is-topmost, so make sure than the menu also
2727 disappears in that case.
2728 (parent_window_topmost_notify): Renamed from parent_window_hidden
2730 Fixes: NB#94460 (stackable window's menu is not closed when its
2733 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2735 * src/hildon-touch-selector-entry.c:
2736 (+hildon_touch_selector_entry_set_input_mode),
2737 (+hildon_touch_selector_entry_get_input_mode):
2738 * src/hildon-touch-selector-entry.h: New methods to access the input
2739 mode in the selector's entry.
2741 Fixes: NB#93410 (API required for setting IM mode in
2742 HildonTouchSelectorEntry)
2744 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2746 * configure.ac: post release version bump.
2747 * debian/changelog: version bump
2749 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2754 * configure.ac: Bump version.
2755 * debian/changelog: Updates.
2757 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2759 * src/hildon-touch-selector.c:
2760 (_hildon_touch_selector_has_multiple_selection): No need
2761 to initialize the variables here.
2763 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2765 * src/hildon-note-private.h
2766 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2767 (hildon_note_finalize, hildon_note_rebuild): Close information
2768 notes when they receive a button press.
2770 Fixes: NB#89890 (Information notes does not get disappeared after
2773 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2775 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2776 mark from the wizard title, as it's not really necessary. Also,
2777 do not display the page title if not set.
2779 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2781 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2782 (parent_window_hidden): Use the window's "is-topmost" property to
2783 detect when to hide the menu.
2785 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2787 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2788 (hildon_app_menu_finalize): If the parent window of the menu is
2789 hidden, hide the menu too.
2791 Fixes: NB#94460 (stackable window's menu is not closed when its
2794 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2797 * debian/libhildon1-examples.install
2799 * examples/Makefile.am:
2800 Use dh_install to install all examples.
2801 Use DEB_SRCDIR instead of defining SOURCE_DIR
2803 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2805 * configure.ac: post release version bump.
2806 * debian/changelog: version bump
2808 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2813 * configure.ac: bump version
2814 * debian/changelog: updates
2815 * debian/control: bump gtk+ dependency
2817 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2819 patch by Christian Dywan (christian@imendio.com)
2821 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2822 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2824 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2826 * src/hildon-check-button.c (hildon_check_button_init)
2827 (hildon_check_button_class_init, hildon_check_button_style_set)
2828 (hildon_check_button_apply_style):
2829 New "checkbox-size" style property.
2831 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2832 larger / configurable size)
2834 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2836 * configure.ac: post release version bump.
2837 * debian/changelog: version bump
2839 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2844 * configure.ac: bump version
2845 * debian/changelog: updates
2847 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2849 * doc/hildon-sections.txt
2850 * src/hildon-pannable-area.c
2851 * src/hildon-program.c
2852 * src/hildon-time-editor.c
2853 * src/hildon-touch-selector-entry.c:
2855 More documentation updates.
2857 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2859 * doc/hildon-sections.txt
2860 * src/hildon-caption.c
2861 * src/hildon-code-dialog.c
2862 * src/hildon-color-button.c
2863 * src/hildon-controlbar.c
2864 * src/hildon-date-editor.c
2865 * src/hildon-date-selector.c
2866 * src/hildon-edit-toolbar.c
2867 * src/hildon-find-toolbar.c
2868 * src/hildon-font-selection-dialog.c
2870 * src/hildon-program.c
2871 * src/hildon-range-editor.c
2872 * src/hildon-seekbar.c
2873 * src/hildon-time-editor.c
2874 * src/hildon-time-selector.c
2875 * src/hildon-volumebar-range.c
2876 * src/hildon-volumebar.c
2877 * src/hildon-vvolumebar.c
2878 * src/hildon-weekday-picker.c
2879 * src/hildon-window.c
2880 * src/hildon-wizard-dialog.c:
2882 Lots of documentation fixes.
2884 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2886 Patch contributed by Iván Gómez (igomez@igalia.com)
2888 * src/hildon-check-button.c:
2889 * src/hildon-date-button.c:
2890 * src/hildon-date-selector.c:
2891 * src/hildon-dialog.c:
2892 * src/hildon-edit-toolbar.c:
2893 * src/hildon-entry.c:
2894 * src/hildon-picker-button.c:
2895 * src/hildon-program.c:
2896 * src/hildon-text-view.c:
2897 * src/hildon-time-button.c:
2898 * src/hildon-touch-selector-entry.c:
2899 * src/hildon-window-stack.c:
2901 Add more "since" tags to the new API.
2903 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2905 * doc/hildon-sections.txt: Add below method.
2906 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2907 version for the hildonized scale.
2908 * src/hildon-gtk.h: Add the definition.
2910 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2912 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2914 * doc/hildon-sections.txt: Add missing entries for new methods.
2916 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2918 Added API to pannable are in order to get its adjustments. We
2919 added two properties to manage the values we had in the private
2922 * src/hildon-pannable-area.c:
2923 (hildon_pannable_area_class_init): Added hadjustment and
2924 vadjustment properties in order to expose horizontal and vertical
2926 (hildon_pannable_area_get_property),
2927 (hildon_pannable_area_set_property): Added code to handle the new
2929 (hildon_pannable_area_get_hadjustment),
2930 (hildon_pannable_area_get_vadjustment): API functions to get the
2932 * src/hildon-pannable-area.h:
2933 (hildon_pannable_area_get_hadjustment),
2934 (hildon_pannable_area_get_vadjustment): API functions to get the
2937 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2939 Fixed some leaks, after valgrinding.
2941 * src/hildon-touch-selector.c:
2942 (_default_print_func): Fixed a leak.
2943 (hildon_touch_selector_append_column): Fixed a leak.
2944 * src/hildon-date-button.c:
2945 (hildon_date_button_init): Fixed a leak.
2946 * src/hildon-date-selector.c
2947 (hildon_date_selector_finalize): Fixed a leak.
2949 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2951 Based on a patch by Christian Dywan (christian@imendio.com)
2953 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2955 * src/hildon-gtk.h: Add definition.
2957 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2959 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2961 * src/hildon-picker-button.c: (hildon_picker_button_init),
2962 (hildon_picker_button_new): Set the HildonButton::style property
2963 in the init method, to propagate the value to the derived classes.
2965 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2967 * src/hildon-button.c: (hildon_button_class_init): Do not make
2968 the "style" property a construct property.
2970 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2972 * src/hildon-wizard-dialog.h
2973 * src/hildon-wizard-dialog.c
2974 (hildon_wizard_dialog_set_forward_page_func)
2975 * src/hildon-pannable-area.h
2976 * src/hildon-pannable-area.c
2977 (hildon_pannable_area_set_size_request_policy):
2978 Documentation fixes.
2980 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2982 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2984 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2986 * doc/hildon-sections.txt: Added sections file.
2988 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2991 * src/*.[ch]: Updates.
2993 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2995 * examples/hildon-progress-indicator-example.c: new file
2996 * examples/Makefile.am: include the new example program
2998 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3000 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3002 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3004 * configure.ac: post release version bump
3005 * debian/changelog: version bump
3007 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3012 * configure.ac: bump version
3013 * debian/changelog: updates
3014 * debian/control: bump gtk+ dependency
3016 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3018 * src/hildon-dialog.c: Mark as deprecated.
3019 * src/hildon-dialog.h: Mark as deprecated.
3020 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3021 from HildonDialog and still work, even if
3022 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3023 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3025 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3026 maemo changes) instead)
3028 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3030 * src/hildon-pannable_area.h:
3031 * src/hildon-pannable_area.c:
3032 (hildon_pannable_area_class_init),
3033 (hildon_pannable_area_set_property),
3034 (hildon_pannable_area_get_property),
3035 (hildon_pannable_area_size_request),
3036 (hildon_pannable_area_get_size_request_policy),
3037 (hildon_pannable_area_set_size_request_policy): Added new API
3038 allowing applications to control the request policy. Now they can
3039 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3040 children allocation (HILDON_MOVEMENT_CHILDREN).
3042 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3046 (hildon_gtk_tree_view_set_ui_mode)
3047 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3048 mode of treeviews and iconviews.
3050 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3052 * src/hildon-touch-selector-entry.c:
3053 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3054 of a GtkEntry to get proper theming.
3056 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3057 widget, not GtkEntry)
3059 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3061 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3062 no HildonWizardDialogPageFunc.
3064 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3066 Patch contributed by Iván Gómez (igomez@igalia.com)
3068 * src/hildon-app-menu.c:
3069 * src/hildon-button.c:
3070 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3071 * src/hildon-stackable-window.c:
3072 * src/hildon-time-selector.c:
3073 * src/hildon-touch-selector.c:
3074 * src/hildon-window.c:
3076 Add more "since" tags to the new API in hildon 2.2.
3078 2008-12-05 Tim Janik <timj@imendio.com>
3080 Patch contributed by Christian Dywan (christian@imendio.com)
3082 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3083 HildonSizeType, which are supplied by Gtk+ now.
3085 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3087 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3088 (with maemo changes) instead)
3090 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3092 Patch contributed by Iván Gómez (igomez@igalia.com)
3094 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3097 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3099 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3100 (some_page_func), (main): Update the example to use a
3101 HildonWizardDialogPageFunc function.
3103 * src/hildon-wizard-dialog-private.h: Add private data for
3104 the HildonWizardDialogPageFunc function usage.
3106 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3107 (destroy), (hildon_wizard_dialog_init), (response),
3108 (hildon_wizard_dialog_set_forward_page_func):
3109 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3110 that applications can use to stop a HildonWizardDialog to jump to
3113 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3116 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3118 * src/hildon-program.h
3119 * src/hildon-program-private.h
3120 * src/hildon-program.c (hildon_program_init)
3121 (hildon_program_set_common_app_menu)
3122 (hildon_program_get_common_app_menu):
3123 New API for setting a common HildonAppMenu for all
3124 HildonStackableWindows registered with the HildonProgram.
3126 * src/hildon-stackable-window.c
3127 (hildon_stackable_window_toggle_menu):
3128 Use the common HildonAppMenu if a window doesn't have a specific
3131 * src/hildon-app-menu-private.h
3132 * src/hildon-app-menu.c
3133 (hildon_app_menu_get_parent_window):
3134 Function to obtain the window a HildonAppMenu is attached to.
3135 (hildon_app_menu_set_parent_window):
3136 Hide the menu if the parent window is set to NULL.
3138 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3140 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3141 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3142 search widget to popup.
3144 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3146 * configure.ac: post release version bump
3147 * debian/changelog: version bump
3149 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3154 * configure.ac: bump version
3155 * debian/changelog: updates
3157 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3159 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3161 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3162 (hildon_window_stack_window_realized)
3163 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3164 Set the leader GdkWindow when a window is stacked and realized,
3165 unset it when it's unstacked.
3166 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3168 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3170 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3172 * src/hildon-stackable-window.h
3173 * src/hildon-window-stack.h:
3174 Protect definition of HildonWindowStack using the preprocessor.
3176 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3178 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3179 Fix warning if all menu items are hidden.
3181 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3183 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3185 * src/hildon-controlbar.c:
3186 * src/hildon-hvolumebar.c:
3187 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3188 Multiple scale size defines updates.
3190 Fixes: NB#94322 (Scale Updates)
3192 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3194 * examples/hildon-app-menu-example.c (create_menu)
3195 Show items after adding them to the menu, as in the future the
3196 menu will no longer call gtk_widget_show() on the added items.
3198 * src/hildon-app-menu.c:
3199 Update example as explained above.
3201 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3203 * src/hildon-app-menu.c
3204 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3205 Make sure that all menu items have finger height.
3207 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3209 * src/hildon-picker-dialog.c:
3210 (_on_dialog_response), (_save_current_selection),
3211 (_restore_current_selection), (_clean_current_selection),
3212 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3213 Defined new functions in order to save the current internal selector
3214 selection previous open the dialog, in case that the use cancel the
3215 interaction, so the widget restores the previous selection.
3217 Fixes: NB#92032 (In calendar application, date values in 'new event'
3220 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3222 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3224 * src/hildon-button.c: Add a reference to the button examples in
3225 hildon-button-example.c
3227 * examples/hildon-button-example.c: Added examples of the most
3228 common button layouts.
3230 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3232 * src/hildon-app-menu.c (hildon_app_menu_show)
3233 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3235 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3237 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3239 * src/hildon-picker-dialog.c:
3240 (hildon_picker_dialog_init): Initialize the signal id for
3241 HildonTouchSelector::columns-changed.
3242 (+on_selector_columns_changed): Set up the interaction mode everytime a
3243 column is added or removed from the HildonTouchSelector.
3244 (_hildon_picker_dialog_set_selector): Connect to
3245 HildonTouchSelector::columns-changed and keep track of it.
3247 Make sure to update the interaction mode of the dialog everytime a
3248 column is added or removed in the HildonTouchSelector.
3250 Fixes: NB#93228 (Done button is not shown always in listpicker)
3252 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3254 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3255 a new ::columns-changed signal.
3256 (hildon_touch_selector_append_column): Emit ::columns-changed.
3257 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3259 Add a ::columns-changed signal, emitted when the number of columns in a
3260 HildonTouchSelector changes.
3262 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3264 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3265 (_hildon_picker_dialog_set_selector): Factor out the code
3266 to set up the dialog interaction mode.
3268 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3270 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3271 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3272 to signal_changed_id.
3274 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3276 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3279 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3281 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3282 Updated the logical ids related to ampm format, as now it is required to
3283 show it correctly localized even on languages with no default
3284 abbreviations for am or pm
3285 (_check_am_pm_format): check correctly the 24h format gconf property
3287 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3289 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3291 * src/hildon-button.c: Documentation updates.
3293 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3295 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3296 * src/hildon-caption.c: (hildon_caption_class_init):
3297 * src/hildon-color-button.c: (hildon_color_button_class_init):
3298 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3299 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3300 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3301 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3303 Remove deprecated GTK+ marshalers and replace them with the ones
3304 provided by GLib, for those available, add a marshaler for
3305 BOOLEAN:VOID, which is not available in GLib, and use it.
3307 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3309 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3310 the text from the previous column if there is no
3311 HildonTouchSelectorColumn::text-property set.
3313 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3315 * src/hildon-button.h
3316 * src/hildon-button.c (hildon_button_set_property)
3317 (hildon_button_get_property, hildon_button_class_init)
3318 (hildon_button_set_style, hildon_button_get_style):
3319 New "style" property to change the visual appearance of the
3322 * src/hildon-picker-button.c (hildon_picker_button_new):
3323 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3325 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3326 HildonButton look like PickerButton)
3328 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3330 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3331 column while building the default string.
3333 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3335 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3336 scroll indicator by default.
3338 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3340 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3342 * src/hildon-main.c: Fix the documentation for hildon_init()
3344 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3346 * doc/hildon-docs.sgml
3350 * src/hildon-window-stack-private.h
3351 * src/hildon-window-stack.h
3352 * src/hildon-window-stack.c:
3353 New HildonWindowStack object, that adds support for multiple
3354 stacks of windows per process.
3356 * src/hildon-stackable-window-private.h
3357 * src/hildon-stackable-window.h
3358 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3359 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3360 (hildon_stackable_window_show, hildon_stackable_window_hide)
3361 (hildon_stackable_window_class_init)
3362 (hildon_stackable_window_init):
3363 Use HildonWindowStack for stack management.
3365 * src/hildon-program.c (hildon_program_pop_window_stack)
3366 (hildon_program_peek_window_stack)
3367 (hildon_program_go_to_root_window):
3368 Add a fallback implementation to the deprecated functions using
3371 * examples/hildon-stackable-window-example.c:
3372 Use the new HildonWindowStack API.
3374 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3376 * src/hildon-stackable-window-private.h
3377 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3378 (hildon_stackable_window_hide, hildon_stackable_window_init):
3379 Remove all window stack management.
3381 * src/hildon-program-private.h
3382 * src/hildon-program.h
3383 * src/hildon-program.c (hildon_program_init)
3384 (hildon_program_pop_window_stack)
3385 (hildon_program_peek_window_stack)
3386 (hildon_program_go_to_root_window):
3387 Remove all window stack management and mark functions as
3390 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3392 * src/hildon-app-menu.c (hildon_app_menu_realize):
3393 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3395 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3397 * configure.ac: post release version bump
3398 * debian/changelog: version bump
3400 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3405 * configure.ac: bump version
3406 * debian/changelog: updates
3408 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3410 Based on initial code by Christian Dywan (christian@imendio.com)
3412 * doc/hildon-docs.sgml: Add section for hildon-main.
3413 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3414 * src/Makefile.am: Add new hildon-main.[ch]
3415 * src/hildon-defines.h: Update the icon sizes.
3416 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3417 new library initialization files and register icon sizes.
3418 * src/hildon-main.h: New declarations.
3419 * src/hildon.h: Include hildon-main.h
3421 Add new initialization functions to the library. These methods
3422 will register the hildon specific icon sizes and can be used in the
3423 future for other hildon specific bits.
3425 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3427 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3429 * src/hildon-window.c: (hildon_window_realize),
3430 (hildon_window_notify), (-hildon_window_update_title): Do not set
3431 the application name in the window title.
3433 Fixes: NB#89754 (Applications shouldn't display their names in the
3436 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3438 * src/hildon-note-private.h:
3439 * src/hildon-note.c: (hildon_note_set_property),
3440 (hildon_note_get_property), (hildon_note_class_init),
3441 (hildon_note_init), (hildon_note_finalize),
3442 (hildon_note_new_confirmation_with_icon_name),
3443 (hildon_note_new_information_with_icon_name):
3445 No need to mark as deprecated the actual code. Revert
3446 to avoid missing symbols in widgets using deprecated API.
3448 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3450 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3452 * src/hildon-volumebar.h
3453 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3454 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3456 * src/hildon-helper.h
3457 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3458 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3460 * examples/Makefile.am:
3461 Deprecate hildon-insensitive-example
3463 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3465 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3467 * examples/hildon-pannable-area-buttons-scroll-example.c:
3468 Make all buttons finger height
3470 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3472 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3474 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3475 update the day model only if it is really required, and to avoid the
3476 full-reconstruction aproach. Now it only add or remove the required days.
3478 The purpose of this is avoid superfluous HildonTouchSelector::changed
3481 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3482 with strange parameters)
3484 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3486 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3488 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3489 the WINDOW_TYPE property.
3491 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3493 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3496 Fix dependency to allow parallel compilation with make -jX
3498 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3500 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3501 color frame and some minor tweaks to make it more consistent with
3504 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3505 highlighted but not visible)
3507 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3509 * examples/Makefile.am: Fixed typo in the Makefile.am.
3511 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3513 Reviewed the use of MAEMO_GTK define, now we add the define in the
3514 compilation line, and we also add it to the pc file.
3516 * configure.ac: Added MAEMO_GTK define to the compilation command
3517 and removed it from the config.h.
3519 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3520 do not have to take care about this define if the library was
3524 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3526 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3528 * examples/Makefile.am,
3529 * examples/hildon-pannable-area-buttons-scroll-example.c,
3530 * examples/hildon-pannable-area-gesture-signals-example.c,
3531 * examples/hildon-pannable-area-scroll-jump-example.c,
3532 * examples/hildon-pannable-area-tree-view-example.c:
3533 Renamed the pannable area examples, now they have more meaningful
3536 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3538 * src/hildon-touch-selector.c:
3539 (hildon_touch_selector_set_column_selection_mode): Used of
3540 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3541 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3542 to avoid re-seting the same selection mode.
3544 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3545 breaks HildonPickerDialog)
3547 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3549 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3550 conditional in the Makefile.am
3552 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3554 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3555 Remove unused methods.
3557 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3559 * src/hildon-button.c (hildon_button_init):
3560 Make button images center-aligned by default
3562 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3565 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3566 activated, we have to think about how to deal with both defines
3567 MAEMO_GTK and MAEMO_CHANGES.
3569 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3571 * examples/hildon-app-menu-example.c (create_menu): Make all
3572 buttons finger size.
3574 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3576 Fixed the compilation without maemo gtk adding ifdefs with
3577 MAEMO_GTK define to the code, we have to check this version more
3580 * examples/Makefile.am: Added control to avoid some examples that
3581 just make sense with maemo gtk.
3584 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3585 hildon modes with the define.
3587 * examples/hildon-edit-toolbar-example.c,
3588 (create_icon_view): Create the icon view without hildon-gtk
3589 helpers if we are not using maemo gtk.
3591 * src/hildon-touch-selector.c,
3592 (_create_new_column): Create the treeview without hildon-gtk
3593 helpers if we are not using maemo gtk.
3595 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3597 * src/hildon-pnnable-area.c,
3598 (hildon_pannable_area_dispose),
3599 (hildon_pannable_area_button_press_cb),
3600 (hildon_pannable_area_child_mapped),
3601 (hildon_pannable_area_add),
3602 (hildon_pannable_area_remove): Added code to control the position
3603 of the event_window when adding and removing children from the
3604 pannable. We have to raise the event window when the child is
3607 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3608 selection mode using custom widget inside pannable)
3610 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3612 * configure.ac: post release version bump
3613 * debian/changelog: version bump
3615 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3620 * configure.ac: bump version
3621 * debian/changelog: updates
3623 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3625 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3626 search mode, in order to avoid lose the focus on the treeview when
3627 a hw key (like enter) is pressed.
3629 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3630 in HildonDateSelector dialog)
3632 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3634 * debian/rules: Added --enable-maintainer-mode
3635 * Makefile.am: Added ACLOCAL_AMFLAGS
3637 This allows to properly regenerate the Makefiles if you modify the
3638 configure.ac or any Makefile.am.
3640 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3642 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3643 properties, not needed at all.
3645 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3647 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3649 * src/hildon-note.c: (hildon_note_set_property),
3650 (hildon_note_get_property), (hildon_note_class_init),
3651 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3652 (hildon_note_new_confirmation_add_buttons): Remove icons.
3653 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3654 (hildon_note_new_information_with_icon_name): Deprecate.
3655 (hildon_note_new_confirmation): Act directly, without calling
3656 the deprecated constructor.
3657 (hildon_note_new_information): Act directly, without calling
3658 the deprecated constructor.
3659 * src/hildon-note.h: Mark deprecate methods as such.
3660 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3661 not run tests on the deprecated methods if built with deprecation
3664 Fixes: NB#91688 (Never show icons in information notes/confirmation
3667 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3669 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3670 (hildon_app_menu_key_press): Remove leftover usage of the
3671 private structure in HildonAppMenu struct.
3672 * src/hildon-app-menu.h: Remove leftover private structure
3673 from the HildonAppMenu struct.
3675 Fixes a crasher when using the HildonAppMenu.
3677 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3679 * src/hildon-picker-dialog.c: Use appropriate logical id
3680 for the default "Done" text.
3682 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3684 * configure.ac: post release version bump
3685 * debian/changelog: version bump
3687 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3689 Modified the way to scroll to the current selection just when the touch
3690 selector is shown on the screen, avoiding a g_idle. Added too a property
3691 to configure this behaviour. See hildon_pannable_area_jump_to_child
3692 documentation for more information.
3694 * src/hildon-touch-selector.c
3695 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3696 Added 'initial-scroll' property
3697 (hildon_touch_selector_set_property): Added
3698 (hildon_touch_selector_map): Removed as not required anymore
3699 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3700 only a concrete column, instead of iterate along all the columns
3702 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3707 * configure.ac: bump version
3708 * debian/changelog: updates
3710 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3712 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3713 compilation time warnings.
3715 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3717 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3718 the default value for HildonPannableArea::mov-mode to
3719 HILDON_PANNABLE_AREA_MODE_VERT.
3721 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3723 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3725 Reverting following commit:
3727 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3729 * src/hildon-app-menu-private.h
3730 * src/hildon-app-menu.[ch]
3731 * src/hildon-button.[ch]
3732 * src/hildon-check-button.[ch]
3733 * src/hildon-entry.[ch]
3734 * src/hildon-pannable-area.[ch]
3735 * src/hildon-text-view.[ch]:
3736 Added private field to the object's structure.
3738 because it causes an ABI breakage. We will need to introduce these
3739 changes later at some point. See NB#91636 for an extensive
3740 explanation and status.
3742 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3744 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3746 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3747 remove special cases that are no longer necessary.
3749 Fixes: NB#91016 (Change toolbar sizes, simplification)
3751 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3753 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3754 is shown in the cancel note.
3756 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3758 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3759 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3760 (hildon_seekbar_init): Remove steppers, remove expose event.
3761 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3763 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3765 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3767 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3768 label font to "SmallSystemFont" for vertically arranged buttons.
3770 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3773 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3775 * src/hildon-check-button.c
3776 (hildon_check_button_set_active, hildon_check_button_clicked):
3777 Don't access private parts directly, use getters instead.
3779 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3781 * src/hildon-check-button.c (hildon_check_button_new):
3782 Align the contents of the check button to the left.
3784 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3786 * src/hildon-pannable-area.c,
3787 (hildon_pannable_area_scroll_to),
3788 (hildon_pannable_area_jump_to),
3789 (hildon_pannable_area_scroll_to_child),
3790 (hildon_pannable_area_jump_to_child): Replace the mapped
3791 precondition of these functions with the realized, it is the
3792 correct state of the widget in this case. Changed the
3793 documentation according to this modification.
3795 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3797 Added a new EXTRA_CFLAGS option to add the deprecated define to
3798 the compilation command. This way we can avoid using the define in
3799 the documentation compilation.
3801 * configure.ac: Defined EXTRA_CFLAGS.
3803 * examples/Makefile.am:
3805 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3807 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3809 * src/hildon-picker-dialog.c:
3810 Defined a utility macro with the desired touch selector height
3811 Removed currently unused separator, and title_label variables from
3813 (hildon_picker_dialog_init): Removed code related to the creation
3814 of unused private variables title_label and separator.
3815 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3816 to ensure correct visualization of the touch selector inside the dialog.
3817 * src/hildon-touch-selector.c
3818 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3819 ensure a concrete height of the widget.
3821 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3824 * tests/Makefile.am:
3826 Remove spurious whitespaces.
3828 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3830 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3831 compilation warning after the cancel button removal.
3833 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3835 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3837 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3838 Makefile.am, that way we can choose not to compile some examples
3839 and tests of the deprecated widgets.
3841 * examples/Makefile.am: Divided the sources in deprecated and
3844 * src/Makefile.am: Added undef statement of the deprecated
3845 symbol to the enums file generation process.
3847 * src/hildon-color-chooser-dialog.c
3848 * src/hildon-color-chooser-dialog.h
3849 * src/hildon-color-button.c
3850 * src/hildon-color-button.h
3851 * src/hildon-color-chooser.c
3852 * src/hildon-color-chooser.h
3853 * src/hildon-controlbar.c
3854 * src/hildon-controlbar.h
3855 * src/hildon-date-editor.c
3856 * src/hildon-date-editor.h
3857 * src/hildon-hvolumebar.c
3858 * src/hildon-hvolumebar.h
3859 * src/hildon-private.c
3860 * src/hildon-private.h
3861 * src/hildon-range-editor.c
3862 * src/hildon-range-editor.h
3863 * src/hildon-seekbar.c
3864 * src/hildon-seekbar.h
3865 * src/hildon-time-editor.c
3866 * src/hildon-time-editor.h
3867 * src/hildon-time-picker.c
3868 * src/hildon-time-picker.h
3869 * src/hildon-volumebar.c
3870 * src/hildon-volumebar.h
3871 * src/hildon-vvolumebar.c
3872 * src/hildon-vvolumebar.h
3873 * src/hildon-bread-crumb-trail.h
3874 * src/hildon-bread-crumb-trail.c
3875 * src/hildon-calendar-popup.c
3876 * src/hildon-calendar-popup.h
3877 * src/hildon-weekday-picker.c:
3878 * src/hildon-weekday-picker.h:
3879 * src/hildon-bread-crumb-widget.c:
3880 * src/hildon-bread-crumb-widget.h:
3881 * src/hildon-bread-crumb.c:
3882 * src/hildon-bread-crumb.h:
3883 * src/hildon-calendar.c:
3884 * src/hildon-calendar.h:
3885 * src/hildon-caption.c:
3886 * src/hildon-code-dialog.c:
3887 * src/hildon-code-dialog.h:
3888 * src/hildon-font-selection-dialog.c:
3889 * src/hildon-font-selection-dialog.h:
3890 * src/hildon-get-password-dialog.c:
3891 * src/hildon-get-password-dialog.h:
3892 * src/hildon-login-dialog.c:
3893 * src/hildon-login-dialog.h:
3894 * src/hildon-number-editor.c:
3895 * src/hildon-number-editor.h:
3896 * src/hildon-set-password-dialog.c:
3897 * src/hildon-set-password-dialog.h:
3898 * src/hildon-sort-dialog.c:
3899 * src/hildon-sort-dialog.h: This is the list of deprecated
3902 * src/hildon-touch-selector.c:
3903 * src/hildon-window.c: Added undef statement to avoid compilation
3906 * tests/Makefile.am: Divided the sources in deprecated and
3909 * tests/check_test.c,
3910 (configure_tests): Marked the deprecated code that was adding
3911 suites with deprecated tests.
3913 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3915 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3917 * src/hildon-touch-selector.c: (_default_print_func): Do not
3918 duplicate a string returned by gtk_tree_model_get(), it is already
3921 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3924 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3926 * src/hildon-pannable-area.c
3927 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3928 method, it had problems when adding a widget with viewport the
3929 second time. Now checks if it already has a viewport and uses it.
3931 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3934 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3936 * src/hildon-pannable-area.c,
3937 (hildon_pannable_area_scroll_to),
3938 (hildon_pannable_area_jump_to),
3939 (hildon_pannable_area_scroll_to_child),
3940 (hildon_pannable_area_jump_to_child): Added a precondition to the
3941 scroll and jump to functions: the widget must be mapped before we
3942 can safely call these functions. We have also added documentation
3943 to the functions to explain how to use them in this situation.
3946 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3948 Reviewed the threading handling of the pannable widget, we have
3949 used the gdk_threads_add_timeout function instead of the usual
3950 glib handlers. This avoids some problems with the threads.
3952 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3953 (hildon_pannable_area_initial_effect),
3954 (hildon_pannable_area_scroll_indicator_fade),
3955 (hildon_pannable_area_button_press_cb),
3956 (hildon_pannable_area_timeout),
3957 (hildon_pannable_area_motion_notify_cb),
3958 (hildon_pannable_area_button_release_cb),
3959 (hildon_pannable_area_scroll_cb),
3960 (hildon_pannable_area_scroll_to): Removed the
3961 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3962 gdk_threads_add_timeout.
3964 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3966 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3971 * configure.ac: bump version
3972 * debian/changelog: updates
3974 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3976 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3977 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3978 * src/hildon-color-chooser-dialog.c:
3979 (hildon_color_chooser_dialog_init):
3980 * src/hildon-font-selection-dialog.c:
3981 (hildon_font_selection_dialog_init):
3982 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3984 Remove all cancel/close-like dialogs, as these are not going to be
3987 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3989 * src/hildon-note.c: (hildon_note_rebuild),
3990 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3993 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3995 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3997 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3998 sure all buttons are shown, even the Cancel/Close-like ones.
4000 Fixes: NB#90861 (Custom Confirmation dialogs should be
4001 protected from cancel button removal)
4003 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4005 * debian/control: Change libhildon1-examples dependency from libhildon1
4007 * debian/libhildon1-examples.install
4009 * Makefile.am: Modified the final install directory for the examples on
4010 package libhildon1-examples
4011 * Makefile.static: Update clean target in order to remove all the binary
4014 Changes suggested by Claudio after review new libhildon1-examples package
4016 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4018 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4019 * src/hildon-touch-selector.c: Ditto.
4021 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4023 * debian/control: Added new package libhildon1-examples, in order to pack
4024 the current hildon examples as documentation
4025 * debian/rules: Not to compress .c files, modify some includes on the
4026 examples (as normally are compiled locally, but when installed it will
4027 require to include the installed libhildon1 library), and rename
4029 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4030 install all the example files on the new example package
4031 * examples/Makefile.static: Added static makefile that can be used to
4032 compile the examples, once installed the new example package
4033 * examples: Most of the examples were modified in order to grant that
4034 all use only '#include "hildon.h"', in order to be easy to prepare
4035 it on the example package
4037 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4040 * debian/libhildon1-dev.install
4041 * debian/libhildon1-doc.install:
4042 Move all gtk-doc files to a separate libhildon1-doc package.
4044 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4046 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4048 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4050 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4052 * debian/rules: Fixed a error in order to avoid unnecessary calls
4053 to autogen.sh on package building
4055 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4057 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4059 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4061 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4064 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4066 * src/hildon-picker-button.c
4067 (hildon_picker_button_finalize):
4068 Free priv->done_button_text
4070 * src/hildon-time-button.c
4071 (hildon_time_button_set_time)
4072 * src/hildon-picker-button.c
4073 (hildon_picker_button_clicked)
4074 (hildon_picker_button_selector_selection_changed)
4075 (hildon_picker_button_set_selector)
4076 * src/hildon-date-button.c
4077 (hildon_date_button_set_date):
4078 Free strings returned by hildon_touch_selector_get_current_text()
4080 * src/hildon-button.c (hildon_button_construct_child):
4081 Fix leaks in priv->image and priv->label_box
4083 Fixes: NB#90535 (Memory leak in picker button)
4085 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4087 * src/hildon-button.c: (hildon_button_get_property): Do not access
4088 private elements directly, use getters instead.
4090 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4092 * src/hildon-app-menu-private.h
4093 * src/hildon-app-menu.c
4094 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4095 Store the menu's parent window.
4097 * src/hildon-stackable-window.c
4098 (hildon_stackable_window_toggle_menu)
4099 (hildon_stackable_window_finalize):
4100 Set the menu's parent window when the menu is shown, unset it when
4103 * src/hildon-app-menu.c
4104 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4105 (hildon_app_menu_class_init):
4106 Send unhandled keyboard accelerators to the parent window.
4108 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4110 * src/hildon-stackable-window.c
4111 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4113 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4115 * configure.ac: post release version bump
4117 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4120 * configure.ac: Bump version
4121 * debian/changelog: Updates
4122 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4125 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4127 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4130 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4131 GtkMenu with Hildon style.
4133 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4135 * src/hildon-picker-button.c:
4136 (hildon_picker_button_set_done_button_text): Set the dialog's
4137 done button text here as well.
4139 Fixes: NB#90232 (Picker button does not set the label on done button
4140 for the second time)
4142 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4144 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4147 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4149 * src/hildon-app-menu.c (hildon_app_menu_insert)
4150 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4151 the HildonAppMenu to be activatable using keyboard accelerators
4152 when the menu is not being shown.
4154 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4156 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4158 * src/hildon-stackable-window.c
4159 (hildon_stackable_window_show):
4160 Don't hide old windows automatically when new windows are shown:
4161 this is now a task for the window manager.
4162 (hildon_stackable_window_class_init)
4163 (hildon_stackable_window_hide):
4164 Remove windows from the stack everytime they're hidden.
4165 (hildon_stackable_window_realize):
4166 Don't change the _NET_WM_WINDOW_TYPE property. Use
4167 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4168 it as a stackable window.
4170 * src/hildon-program.c
4171 (hildon_program_pop_window_stack):
4172 Just hide the window to remove it from the stack.
4173 (hildon_program_go_to_root_window):
4174 Don't call gtk_widget_show(), this is now a task for the window
4177 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4179 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4181 * src/hildon-button.c
4182 (hildon_button_construct_child):
4183 Don't pack anything in the button until text or image are
4184 set. This allows adding a custom child after creating the button
4185 with hildon_button_new().
4186 (hildon_button_finalize, hildon_button_class_init)
4187 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4188 alignment and the label box even when they're not packed in the
4191 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4193 * src/hildon-touch-selector.h:
4194 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4195 currently the type definition was using GTK_TYPE_VBOX
4196 * src/hildon-touch-selector.c:
4197 Added some implementation notes in order to clarify that any other widget
4198 added without the column related API will not be included on the
4199 selection logic, and how the widget is freed, as some people ask about
4201 (hildon_touch_selector_remove): Reimplemented in order to free properly
4202 the column related data when you remove the private hbox.
4203 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4204 to get a proper HildonTouchSelectorColumn documentation
4206 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4208 * src/hildon-touch-selector-entry.c:
4209 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4210 text in the GtkEntry and there is no item selected. Fixes a
4213 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4215 * src/hildon-app-menu-private.h
4216 * src/hildon-app-menu.[ch]
4217 * src/hildon-button.[ch]
4218 * src/hildon-check-button.[ch]
4219 * src/hildon-entry.[ch]
4220 * src/hildon-pannable-area.[ch]
4221 * src/hildon-text-view.[ch]:
4222 Added private field to the object's structure.
4224 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4226 * configure.ac: post-release version bump
4228 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4232 * configure.ac: pre-release version bump
4234 * debian/changelog: updates.
4236 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4238 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4239 Disconnect the handler for HildonTouchSelector::changed.
4241 (hildon_picker_button_selector_selection_changed): Update the button
4242 value if the selection change was not triggered by the
4245 (hildon_picker_button_set_selector): connect to
4246 HildonTouchSelector::changed.
4248 Fixes: NB#89650 (Picker button is not updated, when selection in
4249 selector has changed)
4251 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4253 * src/hildon-picker-dialog.c
4254 (hildon_picker_dialog_realize): Removed as not required
4255 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4256 * src/hildon-picker-button.c
4257 (_current_selector_empty): New function, checks if the selector is empty
4258 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4259 if the current selector is empty, in order to avoid to show the dialog
4260 close the dialog in this case (and shows a g_warning).
4262 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4264 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4266 * src/hildon-pannable-area.c,
4267 (hildon_pannable_area_scroll): Added clause to stop movement when
4268 the child of pannable is smaller than one page.
4269 (hildon_pannable_area_scroll_to): Added conditions to avoid
4270 starting the scrolling movement if the child is smaller than one
4271 page, the complete child is in the screen, we do not have to move.
4273 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4275 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4277 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4278 this is managed automatically by the widget when the size of the
4281 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4283 * src/hildon-picker-button.c
4284 (hildon_picker_button_set_done_button_text): Make a copy of the
4285 text, and free the previous value.
4287 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4289 * src/hildon-touch-selector-entry.c:
4290 (hildon_touch_selector_entry_print_func): Return the selected row's
4291 text if the entry is empty.
4293 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4296 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4298 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4300 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4303 * src/hildon-check-button.h
4304 * src/hildon-check-button.c
4305 * examples/hildon-check-button-example.c:
4306 HildonCheckButton is now a new widget. 'toggled' signal added.
4308 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4310 * src/hildon-program-private.h
4311 * src/hildon-program.c (hildon_program_init)
4312 (hildon_program_finalize): Removed unused variables group_leader
4313 and name from HildonProgramPrivate.
4315 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4317 * src/hildon-check-button.c (hildon_check_button_set_active)
4318 (hildon_check_button_get_active, hildon_check_button_new): Use
4319 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4321 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4323 * src/hildon-touch-selector.h
4324 (hildon_touch_selector_set_column_attributes): added deprecation
4325 guard HILDON_DISABLE_DEPRECATED
4326 * src/hildon-time-selector.c
4327 (hildon_time_selector_set_time)
4328 (hildon_time_selector_get_time): Fixed a typo on documentation
4329 * src/hildon-touch-selector.c: update HildonTouchSelector and
4330 HildonTouchSelectorColumn documentation
4331 * src/hildon-touch-selector-entry.c: update "text-column" property
4333 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4334 to be added to the general documentation.
4336 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4338 * examples/hildon-pannable-area-example-4.c,
4340 * examples/hildon-pannable-area-example.c,
4341 (main): Modified the code in order to use the container add, with
4342 viewport treeviews could have problems if they are really big.
4344 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4346 * src/hildon-weekday-picker.c,
4347 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4348 the agreement regarding deprecation in the library.
4350 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4352 * examples/hildon-picker-button-multicolumn-example.c:
4353 (main): Use custom "done" button text.
4355 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4356 (hildon_picker_button_set_property),
4357 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4358 (hildon_picker_button_init),
4359 (+hildon_picker_button_get_done_button_text),
4360 (+hildon_picker_button_set_done_button_text): New methods to customize
4361 the "done" button label in the launched HildonPickerDialog. Also,
4364 * src/hildon-picker-button.h: add the public API.
4366 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4368 * src/hildon-date-selector.h:
4369 * src/hildon-picker-dialog.h:
4370 * src/hildon-time-selector.h:
4371 * src/hildon-touch-selector-column.h:
4372 * src/hildon-touch-selector.h:
4374 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4375 declarations. Fixes gtk-doc warnings.
4377 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4379 * src/hildon-picker-dialog.h
4380 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4381 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4383 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4384 long text is set as label for done button)
4386 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4388 * src/hildon-dialog.c (hildon_dialog_add_button):
4389 Set fixed width to all buttons in the HildonDialog.
4391 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4393 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4395 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4396 Set widget name using class name plus "-finger" or "-thumb".
4398 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4400 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4401 'clicked' when the state of the button is manually changed.
4403 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4405 * src/hildon-app-menu.c (hildon_app_menu_realize)
4406 (hildon_app_menu_unrealize, hildon_app_menu_init)
4407 (hildon_app_menu_class_init, item_visibility_changed):
4408 Change the menu layout when the size of the screen changes.
4409 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4410 Show warning only when changing the number of colums using the
4413 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4415 * debian/compat: Set to 5
4416 * debian/control: Update dependencies.
4417 * debian/libhildon1-dbg.install: Remove.
4418 * debian/libhildon1-dev.install: Update according to cdbs paths.
4419 * debian/libhildon1.install: Update according to cdbs paths.
4420 * debian/rules: Switch to cdbs.
4422 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4424 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4425 'item' variable renamed to 'filter'
4427 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4429 * src/hildon-app-menu.c (hildon_app_menu_insert)
4430 (hildon_app_menu_add_filter, remove_item_from_list)
4431 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4432 Don't leak hidden items when the menu is destroyed.
4434 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4436 * src/hildon-app-menu.c (hildon_app_menu_insert)
4437 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4438 (hildon_app_menu_set_columns, item_visibility_changed)
4439 (filter_visibility_changed, hildon_app_menu_repack_filters)
4440 (hildon_app_menu_repack_items):
4441 Repack items and filters separately.
4443 Don't repack all items, change only the ones that are needed to
4446 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4448 * src/Makefile.am: added hildon-touch-selector-column.h
4450 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4452 * src/hildon-touch-selector.c: added the property "text-column" to the
4453 class HildonTouchSelectorColumn, and related get/set functions
4454 (_default_printf_func): updated to use "text-column" property
4455 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4456 "text-column" in his documentation, as this is now included on
4457 HildonTouchSelectorColumn. The get/set_property can still be used,
4458 working as a wrapper to the concrete column "text-column" property
4459 (_text_column_modified): callback added in order to handle the signal
4460 "notify::text-column" of the concrete HildonTouchSelectorColumn
4461 (hildon_touch_selector_entry_get_text_column)
4462 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4463 modified in order to use the HildonTouchSelectorColumn "text-column"
4465 * src/hildon-time-selector.c:
4466 * src/hildon-date-selector.c:
4467 * examples/hildon-touch-selector-example.c
4468 * examples/hildon-touch-selector-multi-cells-example.c
4469 * examples/hildon-picker-button-multicolumn-example.c
4470 Set the right value to "text-column" property on the creation of a new
4471 column using hildon_touch_selector_append_column()
4473 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4475 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4477 * src/hildon-app-menu.c
4478 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4479 updating the layout of the menu, don't create all widgets again,
4480 just repack the items in their new places.
4482 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4484 * src/hildon-time-selector.c
4485 (hildon_time_selector_get_time)
4486 (hildon_time_selector_set_time)
4487 Added documentation of these public methods
4489 * src/hildon-date-button.h
4490 * src/hildon-touch-selector-column.h
4491 * src/hildon-time-button.h
4492 * src/hildon-picker-dialog.h
4493 * src/hildon-time-selector.h
4494 * src/hildon-picker-button.h
4495 * src/hildon-touch-selector.h
4496 * src/hildon-time-picker.h
4497 * src/hildon-date-selector.h
4498 * src/hildon-touch-selector-entry.h
4499 Modified in order to use hildon-widgets code style
4501 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4503 Added deprecated support to the compilation process using
4504 HILDON_DISABLE_DEPRECATED
4506 * configure.ac: Added the --disable-deprecated to the configure
4509 * src/hildon-weekday-picker.c:
4510 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4511 to use the deprecated support. We will update the other deprecated
4512 widgets status in a new patch.
4514 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4516 * configure.ac: Fixed typo with fatal warnings support, the
4517 variable name was not correct
4519 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4521 * src/hildon-app-menu.c
4522 * src/hildon-program.c: Update documentation.
4524 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4526 * configure.ac: Post-release version bump.
4528 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4533 * configure.ac: Pre-release version bump.
4534 * debian/changelog: Updates.
4536 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4538 * NEWS: Update news for previous releases.
4540 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4542 * examples/hildon-touch-selector-multi-cells-example.c:
4543 (create_selector): Update the example to use
4544 hildon_touch_selector_append_column() with a NULL renderer and set
4545 the renderers later.
4546 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4547 passed a NULL renderer. This is documented behavior now.
4549 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4550 This must be used if the developer wants full control on the layout of
4551 the renderers to be added to the column.
4553 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4555 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4557 * src/hildon-touch-selector.c: Documentation fixes.
4559 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4561 * src/hildon-wizard-dialog-private.h: Remove image and box.
4562 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4563 (hildon_wizard_dialog_set_property), (response): Completely remove
4564 image/icon support, and the containers required for the layout.
4566 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4568 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4570 * src/hildon-app-menu.c: Updated documentation.
4572 * src/hildon-stackable-window.c
4573 (hildon_stackable_window_set_main_menu): Unref the old menu after
4574 ref'ing the new one.
4576 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4578 * src/hildon-stackable-window.c
4579 (hildon_stackable_window_set_main_menu): Unref the previous menu
4580 instead of destroying it.
4582 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4583 floating reference and set has_user_ref_count to FALSE to make
4584 HildonAppMenu act like a normal ref-counted widget and not a
4587 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4590 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4592 * src/hildon-touch-selector-column.h: new file
4593 * src/hildon-touch-selector.h
4594 * src/hildon-touch-selector.c
4595 Implemented GtkCellLayout interface, in order to allow to configure
4596 the cell layout on each individual selector column
4597 (hildon_touch_selector_set_column_attributes): marked as deprecated
4598 * examples/hildon-touch-selector-multi-cells-example.c
4599 Example of how to use the GtkCellLayout interface on the selector
4601 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4603 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4605 * src/hildon-app-menu.h
4606 * src/hildon-app-menu.c
4607 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4608 (hildon_app_menu_append, hildon_app_menu_prepend):
4609 New methods to prepend, insert and move items in the menu.
4611 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4613 * src/hildon-wizard-dialog.c:
4615 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4617 (create_title): Update logical IDs and related code.
4618 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4620 * src/hildon-wizard-dialog.h: Note that
4621 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4622 point, as it is not used anymore.
4624 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4626 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4628 * src/hildon-note.c:
4629 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4630 shown. Do not display an icon in confirmation notes nor information
4632 (hildon_note_set_button_text): Update logical ID for cancel button.
4634 Fixes: NB#88850 (Update HildonNote button strings + signals)
4636 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4638 * src/hildon-stackable-window.c
4639 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4641 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4643 * src/hildon-app-menu-private.h
4644 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4645 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4646 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4647 temporary property 'columns' to change the number of columns.
4649 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4651 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4653 * examples/hildon-note-example.c: (on_information_clicked),
4654 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4655 debugging information.
4656 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4658 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4659 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4660 in order to close: this will be handled by the WM from now on.
4662 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4664 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4666 * src/hildon-app-menu-private.h
4667 * src/hildon-app-menu.c
4668 (hildon_app_menu_append, hildon_app_menu_add_filter)
4669 (button_visibility_changed, hildon_app_menu_apply_style)
4670 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4671 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4672 layout everytime a button (item or filter) is shown or hidden.
4674 * src/hildon-stackable-window.c
4675 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4678 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4680 * src/hildon-touch-selector.c:
4681 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4682 that the treeview inside the touch selector is in fremantle hildon mode
4683 * examples/hildon-date-button-example.c
4684 * examples/hildon-picker-button-multicolumn-example.c
4685 * examples/hildon-touch-selector-entry-example.c
4686 * examples/hildon-touch-selector-example.c
4687 * examples/hildon-time-button-example.c
4688 * examples/hildon-picker-button-example.c:
4689 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4691 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4693 * examples/hildon-text-view-example.c: (main): Remove the
4694 gtkrc bits, now handled by the theme.
4696 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4698 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4701 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4703 * po/Makefile.am: Install properly the mo files.
4704 * po/en_GB.po: Update translation, to ease testing purposes.
4706 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4708 * examples/hildon-picker-button-example.c: (main): Select an item
4709 in the selector before setting it to the button.
4711 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4713 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4714 Update button's value if the selector has an item active.
4716 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4717 'value' with the selector)
4719 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4721 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4722 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4723 (hildon_picker_button_class_init): Plug the finalize method.
4724 (hildon_picker_button_set_selector): If there's a previously set
4725 selector, unref'it before setting a new one.
4727 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4728 HildonTouchSelector)
4730 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4732 * src/hildon-touch-selector-entry.c:
4733 (hildon_touch_selector_entry_changed): Check if there is no text
4734 selected before setting the entry text.
4737 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4739 * src/hildon-touch-selector.h
4740 * src/hildon-touch-selector.c
4741 (hildon_touch_selector_get_active)
4742 (hildon_touch_selector_set_active): New methods to set/get the
4743 index of the selected item.
4745 * src/hildon-picker-button.h
4746 * src/hildon-picker-button.c
4747 (hildon_picker_button_get_active)
4748 (hildon_picker_button_set_active): New methods to set/get the
4749 index of the selected item.
4751 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4753 * configure.ac: post-release version bump.
4755 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4759 * configure.ac: Pre-release version bump.
4760 * debian/changelog: Updates.
4761 * debian/control: Add myself as maintainer and depend on l10n
4764 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4766 * src/hildon-window.c
4767 (hildon_window_set_main_menu)
4768 * src/hildon-stackable-window.c
4769 (hildon_stackable_window_set_main_menu):
4770 Updated documentation.
4772 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4774 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4775 Don't free selector->priv manually.
4778 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4781 (hildon_gtk_window_set_progress_indicator):
4782 * src/hildon-gtk.h: Added the new API
4783 hildon_gtk_window_set_progress_indicator, it changes the state of
4784 the window progress hint.
4786 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4788 * src/hildon-button.c
4789 * src/hildon-stackable-window.c: Minor documentation updates.
4791 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4793 * src/hildon-stackable-window.c: Updated documentation.
4795 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4797 * src/hildon-defines.h: Update margins definitions
4798 to the Fremantle sizes.
4801 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4803 * src/hildon-touch-selector.c,
4804 (_hildon_touch_selector_set_model): Cleaning the code after
4805 review, removed g_print and #if 0 from the code.
4807 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4809 * src/hildon-edit-toolbar.c: Update documentation.
4811 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4813 * src/hildon-check-button.h
4814 * src/hildon-check-button.c
4815 (hildon_check_button_set_label, hildon_check_button_get_label)
4816 * examples/hildon-check-button-example.c
4817 (button_clicked_cb):
4818 Removed deprecated methods.
4820 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4822 * src/hildon-text-view.c:
4823 Add sample code to the documentation.
4825 * src/hildon-entry.h
4826 * src/hildon-text-view.h:
4827 Minor cosmetic changes.
4829 * src/hildon-entry.c:
4830 Add sample code to the documentation.
4831 (hildon_entry_init, hildon_entry_refresh_contents):
4832 Don't allow NULL values in the placeholder.
4834 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4836 * doc/hildon-docs.sgml
4838 * examples/Makefile.am
4839 * examples/hildon-text-view-example.c
4841 * src/hildon-text-view.c
4842 * src/hildon-text-view.h
4844 New HildonTextView widget, with example.
4846 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4848 * po/POTFILES.in: Add missing files with translatable strings.
4849 Partially fixes NB#88287.
4851 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4853 * examples/hildon-pannable-area-example-2.c: (main): No need to
4854 set the cellrenderer height inside hildon touch lists, the theme does
4857 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4859 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4860 they are integrated in the theme.
4862 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4864 * examples/hildon-entry-example.c: Update the example adding
4865 widgets to modify the text and the placeholder of the HildonEntry.
4867 * src/hildon-entry.c: Show the placeholder everytime the widget
4868 is empty and loses the focus.
4870 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4872 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4874 * src/hildon-pannable-area.c,
4875 (hildon_pannable_area_size_request): Fixed bug in height
4876 requisition, avoid increasing size and add border twice.
4878 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4880 * configure.ac: postrelease version bump.
4882 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4886 * configure.ac: Prerelease version bump.
4887 * debian/changelog: update.
4888 * debian/rules: make -dbg package contain useful debugging symbols.
4890 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4892 * src/hildon-dialog.h
4893 * src/hildon-dialog.c
4894 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4895 New methods to add buttons with finger size.
4896 (hildon_dialog_new_with_buttons):
4897 Create buttons with finger size.
4899 * examples/hildon-dialog-example.c (main): Use HildonDialog
4900 methods to add buttons.
4902 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4904 * src/hildon-entry.c: Updated HildonButton documentation.
4906 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4908 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4909 button value label with (FALSE, FALSE) to prevent NB#88126 from
4912 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4914 * examples/hildon-pannable-area-example.c,
4915 (main): Removed examples panning a vbox inside a pannable
4916 area. Check bug NB#87965
4918 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4920 Patch contributed by Kris Rietveld (kris@imendio.com)
4922 * src/hildon-pannable-area.c,
4923 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4924 get_size and get_position, this saves an X server roundtrip.
4926 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4928 * doc/hildon-docs.sgml
4930 * examples/Makefile.am
4931 * examples/hildon-entry-example.c
4933 * src/hildon-entry.c
4934 * src/hildon-entry.h
4936 New HildonEntry widget, with example.
4938 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4940 * src/hildon-button.c (hildon_button_construct_child): Pack the
4941 image with expand == fill == FALSE. This is a workaround for a bug
4944 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4946 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4947 labels for the text column, to make it more look more dynamic.
4949 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4951 * src/hildon-time-selector.c
4952 Define gettext auxiliar macro N_
4953 (_create_minutes_model)
4954 (_create_hours_model)
4955 (_create_ampm_model): use of strftime in order to fill the model
4956 * src/hildon-date-selector.c
4957 (hildon_date_selector_finalize):
4958 (_locales_init): remove the logic related to get the name of the months
4959 using nl_langinfo, as it is not required anymore
4961 (_create_year_model)
4962 (_create_month_model)
4963 (_update_day_model): use of strftime in order to fill the model properly
4966 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4968 * src/hildon-button.h
4969 * src/hildon-button.c (hildon_button_get_image): New method to
4972 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4974 * src/hildon-touch-selector.c:
4975 (hildon_touch_selector_remove_column): Remove from the correct parent
4976 and also remove the list element and free it.
4979 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4981 * src/hildon-time-selector.c
4982 (_create_hours_model): change the range on 12h ampm format in order to use
4983 a 12-11 range instead of previous 01-12 range
4984 (hildon_time_selector_set_time): change the way to select the current time
4985 on 12h ampm format, due the change on the range
4986 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4989 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4991 * src/hildon-touch-selector.c
4992 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4993 in order to allow use this function on multiple row selection mode if
4994 the column is different that the first one
4997 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4999 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5000 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5002 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5004 * src/hildon-date-selector.h: clean some comments, now on the .c
5005 * src/hildon-date-selector.c
5006 (hildon_date_selector_select_month): first implementation
5007 (hildon_date_selector_select_day): added documentation, reimplemented
5008 using hildon_date_selector_select_current_date to avoid repeat code
5011 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5013 Reviewed interaction logic based on device experiences, refactored
5016 * src/hildon-pannable-area.c,
5017 (hildon_pannable_area_class_init): Updated default vmax speed.
5018 (hildon_pannable_area_calculate_velocity): Added this function, it
5019 avoids duplicate valocity calculation. Adjusted calculation to
5020 avoid problems with zero dist events.
5022 (hildon_pannable_area_motion_notify_cb): Now we use the
5023 calculate_velocity function.
5025 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5027 * src/hildon-date-selector.c
5028 (hildon_date_selector_select_current_date): fix the day range check
5029 as it failed using the last day of the current month
5032 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5034 * src/hildon-touch-selector.c
5035 (hildon_touch_selector_get_num_columns): added a parameter validation
5038 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5040 * examples/Makefile.am
5041 * examples/hildon-edit-toolbar-example.c: Example of the
5042 HildonEditToolbar widget.
5044 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5046 * configure.ac: postrelease version bump.
5048 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5052 * configure.ac: prerelease version bump.
5053 * debian/changelog: update.
5055 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5057 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5058 renderer to display stock icons in the touch list. Also, set the sizes
5059 to the recommended in the style guide.
5061 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5062 * src/hildon-touch-selector.h
5063 (hildon_touch_selector_set_active_iter): renamed, now is
5064 hildon_touch_selector_select_iter
5065 (hildon_touch_selector_get_active_iter): renamed, now is
5066 hildon_touch_selector_get_selected
5067 (hildon_touch_selector_unselect_iter): added
5068 * src/hildon-touch-selector.c
5069 Update after API modification (methods renamed)
5070 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5071 order to avoid problems selecting multiple elements on the column
5072 (hildon_touch_selector_unselect_iter): added the implementation
5073 * src/hildon-time-selector.c
5074 * src/hildon-date-selector.c
5075 * src/hildon-touch-selector-entry.c
5076 Update methods calls after hildon-touch-selector.h API modification (methods
5079 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5081 * src/hildon-stackable-window.c
5082 (hildon_stackable_window_finalize): Call the parent class's finalize.
5084 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5086 * examples/hildon-touch-selector-example.c: (create_selector): Use
5087 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5090 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5092 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5093 set a cell background color, to respect theming.
5095 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5097 * doc/hildon-docs.sgml
5100 * src/hildon-edit-toolbar.c
5101 * src/hildon-edit-toolbar.h
5102 * src/hildon.h: New HildonEditToolbar widget.
5104 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5106 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5109 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5110 * src/hildon-touch-selector.c
5111 (_create_new_column): use g_object_set instead of two g_object_set_property
5113 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5114 * src/hildon-touch-selector.c
5115 (_create_new_column): use of hildon_gtk_tree_view_new to create
5116 the treeview, instead of use directly g_object_new
5117 (_create_new_column): update the property name "vindicator-mode" for the
5118 new one "vscrollbar-policy"
5119 * examples/hildon-date-button-example.c
5120 * examples/hildon-picker-button-multicolumn-example.c
5121 * examples/hildon-touch-selector-entry-example.c
5122 * examples/hildon-touch-selector-example.c
5123 * examples/hildon-time-button-example.c
5124 * examples/hildon-picker-button-example.c
5125 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5126 to all the treeviews inside a pannable area.
5128 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5130 * src/hildon-button.h
5131 * src/hildon-button.c (hildon_button_init)
5132 (hildon_button_set_arrangement, hildon_button_set_alignment)
5133 (hildon_button_set_title_alignment)
5134 (hildon_button_set_value_alignment)
5135 (hildon_button_set_image_alignment)
5136 (hildon_button_construct_child): New methods to set the alignment
5137 of the individual components of the button (title, value,
5138 image). Also, new method to alter the xscale and yscale properties
5139 of the GtkAlignment inside the button, so more complex layouts can
5142 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5144 * src/hildon-button.c (hildon_button_style_set)
5145 (hildon_button_class_init, hildon_button_set_arrangement)
5146 (hildon_button_construct_child): Apply style properties
5147 correctly. Use the 'image-spacing' style property too.
5149 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5151 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5152 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5155 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5157 * src/hildon-pannable-area.c,
5158 (hildon_pannable_area_size_request): Fixed problem with
5159 pannable-area size_request.
5161 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5163 Added management for the grab-focus to a child widget, like a
5164 range, we need to fade out the scrollbar when releasing.
5166 * src/hildon-pannable-area.c,
5167 (hildon_pannable_area_init): Connected the grab-focus signal to
5169 (hildon_pannable_area_grab_notify): Added this function in order
5170 to manage the situation when the grab-focus ends. We have to
5171 fade-out the scrollbar.
5173 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5175 * src/hildon-app-menu.c: Minor documentation update.
5177 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5179 * src/hildon-app-menu.c
5180 * examples/hildon-app-menu-example.c (create_menu): Update
5181 examples and documentation to explain how to connect callbacks.
5183 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5185 * examples/hildon-button-example.c
5186 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5187 hildon_stackable_window_new instead of gtk_window_new
5189 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5191 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5192 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5193 (hildon_pannable_area_set_property),
5194 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5195 (hildon_pannable_area_unrealize),
5196 (hildon_pannable_area_size_request),
5197 (hildon_pannable_area_size_allocate),
5198 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5199 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5200 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5201 (hildon_pannable_area_initial_effect),
5202 (hildon_pannable_area_redraw),
5203 (hildon_pannable_area_scroll_indicator_fade),
5204 (hildon_pannable_area_expose_event),
5205 (hildon_pannable_area_get_topmost), (synth_crossing),
5206 (hildon_pannable_area_button_press_cb),
5207 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5208 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5209 (hildon_pannable_area_motion_notify_cb),
5210 (hildon_pannable_area_button_release_cb),
5211 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5212 (hildon_pannable_area_remove),
5213 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5214 chage the code layout to a more GtkWidget like. Review the use of
5217 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5219 * examples/hildon-pannable-area-example-4.c,
5220 (main): Modified the name of the hindicator_mode to
5223 * src/hildon-pannable-area.c,
5224 (hildon_pannable_area_class_init),
5225 (hildon_pannable_area_motion_notify_cb),
5226 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5227 we have reduced the amount of signals and managed reviewed its
5228 rationale. Changed the default decelerate value.
5230 (hildon_pannable_area_add),
5231 (hildon_pannable_area_redraw): Refactored functions.
5233 (hildon_pannable_area_init),
5234 (hildon_pannable_area_get_property),
5235 (hildon_pannable_area_set_property):
5236 (hildon_pannable_draw_vscroll),
5237 (hildon_pannable_draw_hscroll),
5238 (hildon_pannable_area_initial_effect),
5239 (hildon_pannable_area_expose_event),
5240 (hildon_pannable_area_scroll),
5241 (hildon_pannable_area_button_press_cb),
5242 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5243 and vindicator_mode with hscrollbar_policy and
5244 vscrollbar_policy. Replaced hscroll and vscroll with
5245 hscroll_visible and vscroll_visible.
5247 (hildon_pannable_area_refresh): Refactor the function, remove
5248 variables and check the calls to this function, added resize
5249 conditions in case the children change their layout.
5251 (hildon_pannable_area_size_request): Added more detailed
5252 size_request calculation.
5255 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5257 * src/hildon-color-chooser.c
5258 (init_borders): use the correct gtk_border_free instead of g_free, to
5259 avoid a crash when this widget is used (ie: the three color selection
5262 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5264 * src/hildon-check-button.c,
5265 (hildon_check_button_set_active): Fixed problem when setting the
5266 active value, the widget was not redrawn.
5268 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5270 * src/hildon-pannable-area.c,
5271 (hildon_pannable_area_refresh),
5272 (hildon_pannable_area_scroll),
5273 (hildon_pannable_area_motion_notify_cb): Small code style change.
5275 (hildon_pannable_area_class_init): Default initial_hint set to
5276 FALSE, it is not in the specs.
5278 (hildon_pannable_area_initial_effect),
5279 (hildon_pannable_area_expose_event),
5280 (hildon_pannable_area_map),
5281 (hildon_pannable_area_init): Moved the launching point of the
5282 initial effect, it was in map but the sizes where not correct in
5283 that method so we do not know if we have the reproduce it. Now it
5284 is placed in the expose_event method and uses a variable to
5285 reproduce it just once.
5287 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5289 * src/hildon-pannable-area.c,
5290 (hildon_pannable_draw_vscroll),
5291 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5292 position allowed for the scrollbars.
5294 (hildon_pannable_area_size_allocate): Small style change.
5296 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5298 * src/hildon-pannable-area.c,
5299 (hildon_pannable_area_scroll_indicator_fade),
5300 (hildon_pannable_area_button_press_cb),
5301 (hildon_pannable_area_button_release_cb),
5302 (hildon_pannable_area_scroll_cb),
5303 (hildon_pannable_area_expose_event),
5304 (hildon_pannable_area_init): Added the define parameter
5305 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5306 and refactor the fade variable.
5308 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5310 * src/hildon-pannable-area.c,
5311 (hildon_pannable_area_redraw),
5312 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5313 lines, we were reimplemeting the redraw code.
5315 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5317 * src/hildon-pannable-area.c,
5318 (hildon_pannable_area_scroll_cb),
5319 (hildon_pannable_area_realize),
5320 (hildon_pannable_area_class_init): Added scroll_event management
5321 for pannable area, now we can scroll the usual desktop method.
5323 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5324 initialization of the parameters should depend on idle_id.
5326 (hildon_pannable_area_init),
5327 (hildon_pannable_area_map): Small code style modifications
5329 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5331 * src/hildon-pannable-area.c
5332 (hildon_pannable_area_button_press_cb),
5333 (hildon_pannable_area_motion_notify_cb),
5334 (hildon_pannable_area_button_release_cb),
5335 (hildon_pannable_area_size_allocate),
5336 (hildon_pannable_area_scroll_to): Improved the timeouts
5337 management, we avoid creating them each time.
5339 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5341 * src/hildon-pannable-area.c:
5342 (hildon_pannable_area_refresh),
5343 (hildon_pannable_area_motion_notify_cb),
5344 (hildon_pannable_area_class_init):
5345 * src/hildon-pannable-area.h:
5346 * src/hildon-touch-selector.c
5347 (_create_new_column):
5348 * examples/hildon-pannable-area-example-4.c:
5349 (horizontal_movement),
5350 (vertical_movement),
5352 Replaced the names of enums in the HildonPannableArea:
5353 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5354 HILDON_MOVEMENT_MODE_*
5355 - HILDON_PANNABLE_AREA_MOV_* ->
5357 - Removed HildonPannableAreaIndicatorMode, now we
5360 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5362 * examples/hildon-pannable-area-touch-grid-example.c
5363 * examples/hildon-pannable-area-touch-list-example.c: Fix
5364 compilation warnings.
5366 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5368 * src/hildon-gtk.c (hildon_gtk_button_new)
5369 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5370 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5371 images overriding the value of the "gtk-button-images" setting.
5373 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5375 * src/hildon-check-button.c (hildon_check_button_new):
5376 Instead of using a custom container, display the label and the
5377 checkbox using the standard GtkButton API.
5379 * examples/hildon-check-button-example.c (main): Don't use
5380 hildon_check_button_set_label() anymore
5382 * src/hildon-check-button.h
5383 * src/hildon-check-button.c
5384 (hildon_check_button_set_label, hildon_check_button_get_label):
5385 Set as deprecated, now we're using gtk_button_{get,set}_label()
5387 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5389 * src/hildon-pannable-area.c,
5390 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5391 GtkTreeview first line we detected it after the inclusion of the
5392 GtkWindowImpl in gtk+. We now check if the window is visible, not
5393 just if the pointer is over the window.
5394 (hildon_pannable_axis_scroll),
5395 (hildon_pannable_area_expose_event): Small style changes.
5397 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5399 * src/hildon-button.c: Update documentation.
5401 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5403 * examples/hildon-button-example.c: Add a switch to show images in
5406 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5408 * doc/hildon-docs.sgml: Some docs reorganization.
5410 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5412 * examples/hildon-pannable-area-touch-list-example.c
5414 * examples/hildon-pannable-area-touch-grid-example.c
5415 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5416 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5417 Fix memory leak when setting the tree model.
5419 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5423 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5425 * doc/hildon.types: Remove duplicated hildon_window_get_type
5426 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5427 documentation comment.
5429 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5431 * doc/Makefile.am: Complete list of private headers.
5433 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5435 * doc/hildon-docs.sgml
5436 * src/hildon-app-menu.c
5437 * src/hildon-bread-crumb.c
5438 * src/hildon-button.c
5440 * src/hildon-program.c
5441 * src/hildon-stackable-window.c
5442 * src/hildon-window.c: Lots of documentation updates.
5444 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5446 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5448 * configure.ac: Require Gtk+ 2.12.9 at least
5450 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5452 * src/hildon-pannable-area.c
5453 (hildon_pannable_area_scroll_indicator_fade),
5454 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5455 to protect the return of this timeout callbacks, avoiding deadlocks.
5457 2008-08-12 Christian Dywan <christian@imendio.com>
5460 * src/hildon-*.h: Ensure a consistent include order,
5461 include <gtk/gtk.h> instead of particular files and
5462 only include the topmost header in the gtk stack. See NB #39857
5464 2008-08-12 Christian Dywan <christian@imendio.com>
5466 * src/hildon-picker-dialog.c
5467 * src/hildon-touch-selector.c: Fix warnings about unused and
5468 uninitialized variables.
5470 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5472 * examples/Makefile.am
5473 * examples/hildon-check-button-example.c: Example of the hildon
5476 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5478 * src/hildon-window.h
5479 * src/hildon-window.c (hildon_window_class_init)
5480 (hildon_window_unset_program): Don't make
5481 hildon_window_unset_program a virtual function anymore.
5483 * src/hildon-stackable-window.c: Update documentation
5485 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5488 * doc/hildon-docs.sgml
5489 * doc/visual_index.xml
5490 * src/hildon-defines.c
5492 * src/hildon-helper.c
5493 * src/hildon-range-editor.c: Lots of documentation fixes.
5495 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5497 * examples/hildon-picker-button-multicolumn-example.c
5498 (create_touch_selector): Fix compilation warning.
5500 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5502 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5503 (hildon_pannable_area_button_release_cb)
5504 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5506 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5508 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5511 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5513 * src/hildon-bread-crumb-trail.h
5514 * src/hildon-date-editor.c
5515 * src/hildon-date-selector.c
5516 * src/hildon-pannable-area.c
5517 * src/hildon-picker-dialog.c
5518 * src/hildon-time-selector.c
5519 * src/hildon-touch-selector-entry.c
5520 * src/hildon-touch-selector.c
5521 * src/hildon-touch-selector.h: Misc documentation fixes
5523 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5525 * examples/hildon-date-editor-example.c (main): Updated date
5528 * examples/hildon-note-example.c (on_confirmation_clicked):
5529 Updated confirmation note example.
5531 * src/hildon-date-editor.c
5532 * src/hildon-note.c: Updated sample programs in documentation.
5535 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5537 * src/hildon-date-button.h:
5538 * src/hildon-picker-button.h:
5539 * src/hildon-time-button.c:
5540 * src/hildon-time-button.h:
5542 Some declarations changes to allow gtk-doc to document the widgets
5545 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5547 * src/hildon-date-button.c: Document the widget.
5548 * src/hildon-time-button.c: Document the widget.
5550 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5552 * src/hildon-picker-button.c: Document the widget.
5553 * src/hildon-touch-selector-entry.c: Document the widget.
5555 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5557 * doc/hildon-docs.sgml
5560 * src/hildon-check-button.h
5561 * src/hildon-check-button.c: New functions to create the Hildon
5565 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5567 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5569 * src/hildon-button.h
5570 * src/hildon-button.c
5571 (hildon_button_add_title_size_group)
5572 (hildon_button_add_value_size_group)
5573 (hildon_button_add_image_size_group)
5574 (hildon_button_add_size_groups): New functions to set size groups
5575 for the button labels and image.
5576 (hildon_button_new_full): Removed
5578 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5580 * src/hildon-time-selector.c
5581 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5582 in order to avoid a crash if gconf is not available
5584 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5586 * src/hildon-button.c (hildon_button_set_arrangement)
5587 (hildon_button_construct_child): Don't construct the button child
5588 before setting the arrangement.
5590 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5592 * src/hildon-program-private.h
5593 * src/hildon-program.c
5594 * src/hildon-program.h
5595 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5596 (hildon_program_peek_window_stack)
5597 (hildon_program_pop_window_stack)
5598 (hildon_program_go_to_root_window): HildonProgram now has a
5599 separate list for stackable windows. Functions are provided to
5600 manage that list with a stack-like API.
5602 * src/hildon-stackable-window.c: Stackable window management is
5603 now much simpler with the new HildonProgram API. Windows no
5604 longer need to be manually added to the program, they're
5605 automatically pushed to the top of the stack when shown.
5607 * examples/hildon-stackable-window-example.c: Updated example to
5608 reflect the API changes.
5610 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5612 * src/hildon-touch-selector.c: Comment out unimplemented
5613 hildon_touch_selector_insert_column() to avoid a compile warning.
5615 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5617 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5618 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5619 (hildon_touch_selector_set_column_selection_mode),
5620 (_hildon_touch_selector_set_model),
5621 (hildon_touch_selector_set_model):
5623 Complete review of HildonTouchSelector documentation.
5625 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5627 * doc/hildon-docs.sgml
5631 * src/hildon-gtk.c: Convenience functions for standard Gtk
5632 widgets, used to easily perform frequent operations.
5634 * src/hildon-button-helpers.h
5635 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5637 * src/hildon-helper.h
5638 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5639 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5641 * src/hildon-button.h
5642 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5644 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5646 * src/hildon-button.c (hildon_button_init)
5647 (hildon_button_set_arrangement, hildon_button_construct_child):
5648 Pack the image and the labels inside the same GtkAlignment so
5649 gtk_button_set_alignment() can be used
5651 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5653 * src/hildon-button.h
5654 * src/hildon-button.c
5655 (hildon_button_init, hildon_button_set_image)
5656 (hildon_button_set_image_position)
5657 (hildon_button_construct_child): New functions to add an image to
5660 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5662 * src/hildon-date-button.c
5663 * src/hildon-picker-button.c
5664 * src/hildon-time-button.c
5665 * src/hildon-button.c:
5666 (hildon_button_class_init): "size-flags" renamed to "size"
5667 (hildon_button_set_title): Hide the title label if set to NULL.
5669 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5671 HildonButtonFlags split into HildonButtonArrangement (to set the
5672 button layout) and HildonSizeType (which can be used for any
5675 * src/hildon-button.h
5676 * src/hildon-button.c
5677 (hildon_button_class_init)
5678 (hildon_button_set_arrangement)
5679 (hildon_button_set_property): New "size-flags"
5680 property. "arrangement-flags" renamed to "arrangement".
5681 (hildon_button_new, hildon_button_new_with_text)
5682 (hildon_button_new_full): Constructors updated to reflect type changes.
5684 * src/hildon-helper.h
5685 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5686 to set the size of a widget.
5690 * src/hildon-button-helpers.c
5691 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5693 * src/hildon-date-button.c
5694 * src/hildon-date-button.h
5695 * src/hildon-picker-button.c
5696 * src/hildon-picker-button.h
5697 * src/hildon-time-button.c
5698 * src/hildon-time-button.h: Updated widgets to reflect
5699 HildonButton API changes.
5701 * examples/hildon-button-example.c
5702 * examples/hildon-date-button-example.c
5703 * examples/hildon-picker-button-example.c
5704 * examples/hildon-picker-button-multicolumn-example.c
5705 * examples/hildon-time-button-example.c
5706 * examples/hildon-touch-selector-entry-example.c
5707 * examples/hildon-touch-selector-example.c: Updated examples to
5708 reflect HildonButton API changes.
5710 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5712 * doc/hildon-docs.sgml:
5714 * examples/Makefile.am:
5715 * examples/hildon-touch-selector-entry-example.c:
5717 * src/hildon-touch-selector-entry.c:
5718 * src/hildon-touch-selector-entry.h:
5721 Moved HildonTouchSelectorEntry from sandbox. Added its
5722 documentation and examples.
5724 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5726 * src/hildon-touch-selector.h:
5727 * examples/hildon-picker-button-multicolumn-example.c:
5728 (hildon_touch_selector_append_text_column): Add a gboolean
5729 parameter to determine if text must be centered in the column.
5731 * src/hildon-date-selector.c: (hildon_date_selector_init):
5732 * src/hildon-time-selector.c: (hildon_time_selector_init):
5733 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5734 (create_touch_selector): Update widgets and example to reflect
5737 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5739 * src/hildon-touch-selector.c:
5740 (hildon_touch_selector_set_active_iter): Set also the cursor in
5743 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5745 * doc/hildon-docs.sgml
5748 * src/hildon-toggle-button.c
5749 * src/hildon-toggle-button.h
5750 * src/hildon.h: Removed HildonToggleButton widget, a derived
5751 class is not necessary for this.
5753 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5755 * src/hildon-pannable-area.c,
5756 (hildon_pannable_area_realize),
5757 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5760 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5762 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5763 "done" button the default widget for the dialog.
5765 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5767 * src/hildon-touch-selector.c:
5768 (hildon_touch_selector_class_init),
5769 (hildon_touch_selector_get_property),
5770 (_hildon_touch_selector_set_model),
5771 (_hildon_touch_selector_has_multiple_selection),
5772 (hildon_touch_selector_has_multiple_selection):
5773 Add a "has-multiple-selection" property with a virtual
5774 has_multiple_selection() method to allow derived classes to
5775 override the default value for it. See the method and property
5776 documentation for details.
5778 * src/hildon-touch-selector.h: Add the new API.
5780 * src/hildon-picker-dialog.c: (requires_done_button): Call
5781 hildon_touch_selector_has_multiple_selection() instead of
5782 determining the need for a button itself.
5784 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5786 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5787 (_hildon_touch_selector_set_model),
5788 (hildon_touch_selector_set_model): Move working code to
5789 _hildon_touch_selector_set_mode(). Call the class method instead.
5791 * src/hildon-touch-selector.h: Add (*set_model) to
5792 HildonTouchSelectorClass.
5794 Make hildon_touch_selector_set_model() a virtual method, so that
5795 derived classes can extend it and do fancy stuff with the model.
5797 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5799 * configure.ac: Set back the tarname in AC_INIT to hildon.
5801 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5805 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5806 instead of libesd (NB#86876). Volume handling is still an open issue.
5808 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5811 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5813 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5814 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5815 derived class to ease placement of an entry widget in
5816 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5817 end, where the selector columns are packed now.
5819 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5821 * src/hildon-picker-button.c: Removed the simple _text() API.
5822 * src/hildon-picker-button.h: Likewise.
5824 * src/hildon-touch-selector.h:
5825 * src/hildon-touch-selector.c:
5826 (hildon_touch_selector_new_text),
5827 (hildon_touch_selector_append_text),
5828 (hildon_touch_selector_prepend_text),
5829 (hildon_touch_selector_insert_text):
5831 Moved the simple _text() API from HildonPickerButton to
5832 HildonTouchPicker, to provide better escalability and not to tie
5833 that API to HildonPickerButton.
5835 * examples/hildon-picker-button-example.c: (main): Example updated.
5837 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5839 * src/hildon-button.c: Updated documentation.
5841 * examples/hildon-button-example.c: Add the posibility to create
5842 the buttons using horizontal layout for title and value.
5844 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5846 * src/hildon-app-menu-private.h
5847 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5848 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5849 GtkSizeGroup for the filters, use the 'homogeneous' property of
5852 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5854 * examples/hildon-button-example.c: Updated example.
5856 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5858 * doc/hildon-docs.sgml:
5861 Update documentation.
5863 * examples/Makefile.am: Update renamed examples.
5865 * examples/hildon-picker-button-multicolumn-example.c:
5866 (create_touch_selector), (main): Update after the rename.
5868 * examples/hildon-touch-picker-example.c: Removed.
5869 * examples/hildon-touch-selector-example.c: (value_changed),
5870 (create_selector), (get_visible_content), (main): Renamed from
5871 hildon-touch-picker-example.c
5873 * src/Makefile.am: Updated renamed files.
5875 * src/hildon-date-button.c: (hildon_date_button_init),
5876 (hildon_date_button_get_date), (hildon_date_button_set_date):
5877 * src/hildon-date-selector.c: (hildon_date_selector_init),
5878 (_custom_print_func), (_update_day_model),
5879 (_manage_selector_change_cb),
5880 (hildon_date_selector_select_current_date),
5881 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5882 * src/hildon-date-selector.h:
5883 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5884 (hildon_picker_button_set_property),
5885 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5886 (hildon_picker_button_init), (hildon_picker_button_new_text),
5887 (hildon_picker_button_append_text),
5888 (hildon_picker_button_prepend_text),
5889 (hildon_picker_button_insert_text),
5890 (hildon_picker_button_set_selector),
5891 (hildon_picker_button_get_selector):
5892 * src/hildon-picker-button.h:
5893 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5894 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5895 (_update_title_on_selector_changed_cb), (requires_done_button),
5896 (_hildon_picker_dialog_set_selector),
5897 (hildon_picker_dialog_set_selector),
5898 (hildon_picker_dialog_get_selector):
5899 * src/hildon-picker-dialog.h:
5900 * src/hildon-time-button.c: (hildon_time_button_init),
5901 (hildon_time_button_get_time), (hildon_time_button_set_time):
5902 * src/hildon-time-selector.c: (hildon_time_selector_init),
5903 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5904 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5905 * src/hildon-time-selector.h:
5908 Massive code updates after the rename.
5910 * src/hildon-touch-picker.c: Removed.
5911 * src/hildon-touch-picker.h: Removed.
5913 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5914 (hildon_touch_selector_init), (hildon_touch_selector_map),
5915 (hildon_touch_selector_remove), (_default_print_func),
5916 (_selection_changed_cb), (_create_new_column),
5917 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5918 (hildon_touch_selector_append_text_column),
5919 (hildon_touch_selector_remove_column),
5920 (hildon_touch_selector_set_column_attributes),
5921 (hildon_touch_selector_insert_column),
5922 (hildon_touch_selector_get_num_columns),
5923 (hildon_touch_selector_get_column_selection_mode),
5924 (hildon_touch_selector_set_column_selection_mode),
5925 (hildon_touch_selector_set_print_func),
5926 (hildon_touch_selector_get_print_func),
5927 (hildon_touch_selector_get_active_iter),
5928 (hildon_touch_selector_set_active_iter),
5929 (hildon_touch_selector_get_selected_rows),
5930 (hildon_touch_selector_get_model),
5931 (hildon_touch_selector_set_model),
5932 (hildon_touch_selector_get_current_text),
5933 (_hildon_touch_selector_center_on_selected_items):
5934 * src/hildon-touch-selector.h: Renamed from
5935 hildon-touch-picker.[ch]
5937 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5938 references, code examples, and related documentation.
5940 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5942 * doc/hildon-docs.sgml
5945 * src/hildon-toggle-button.c
5946 * src/hildon-toggle-button.h
5947 * src/hildon.h: New HildonToggleButton widget.
5949 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5951 * src/hildon-button.c: Add API documentation.
5952 (hildon_button_set_size_groups): Check input parameters
5954 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5956 * src/hildon-pannable-area.c
5957 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5958 effect after reaching the movement thredshold. This way we start
5959 using the distance after passing the thredshold.
5961 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5963 * src/hildon-button.c: (hildon_button_set_property): Use the
5964 appropriate g_value_get_flags() method.
5966 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5968 * doc/hildon-docs.sgml:
5971 Add the touch pickers, picker dialogs, and picker button widgets
5972 to the documentation.
5974 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5976 * src/hildon-button.c: (hildon_button_set_property),
5977 (hildon_button_class_init): Make "arrangement-flags" a proper
5978 G_TYPE_FLAGS derived property.
5980 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5982 * examples/Makefile.am: Add below examples.
5983 * examples/hildon-date-button-example.c:
5984 * examples/hildon-picker-button-example.c:
5985 * examples/hildon-picker-button-multicolumn-example.c:
5986 * examples/hildon-time-button-example.c:
5987 * examples/hildon-touch-picker-example.c:
5989 Add examples for the recently added touch pickers,
5990 picker dialogs, and picker button widgets.
5992 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5994 * src/hildon-button.c: Add some API documentation
5996 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5998 * src/hildon-button.h
5999 * src/hildon-button.c
6001 (hildon_button_new_with_text): New constructor to create a button
6002 with no text at all.
6003 (hildon_button_init, hildon_button_set_arrangement)
6004 (hildon_button_set_title, hildon_button_set_value)
6005 (hildon_button_set_text)
6006 (hildon_button_construct_child): Hide the value when it's not used
6007 so the rest of the text is properly aligned.
6008 Allow creating buttons with arbitrary widgets inside (not just
6009 title/value labels).
6011 * examples/hildon-button-example.c (vertical_buttons_window)
6012 (horizontal_buttons_window): Update example to use new API.
6014 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6016 * src/Makefile.am: Added HildonTimeButton.
6017 * src/hildon-time-button.c: Added missing LGPL header.
6018 * src/hildon-time-button.h: Added missing LGPL header.
6019 * src/hildon.h: Add hildon-time-button.h
6021 Copied HildonTimeButton from sandbox to trunk. Future work on this
6022 widget must take place in trunk.
6024 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6026 * src/Makefile.am: Added HildonDateButton.
6027 * src/hildon-date-button.c: Update includes.
6028 * src/hildon.h: Add hildon-date-button.h
6030 Copied HildonDateButton from sandbox to trunk. Future work on this
6031 widget must take place in trunk.
6033 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6035 * src/Makefile.am: Added HildonPickerButton.
6036 * src/hildon-picker-button.h: Update includes.
6037 * src/hildon.h: Add hildon-picker-button.h
6039 Copied HildonPickerButton from sandbox to trunk. Future work on
6040 this widget must take place in trunk.
6042 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6044 * src/Makefile.am: Added HildonPickerDialog.
6045 * src/hildon-picker-dialog.c: Update includes.
6046 * src/hildon.h: Add hildon-picker-dialog.h
6048 Copied HildonPickerDialog from sandbox to trunk. Future work
6049 on this widget must take place in trunk.
6051 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6053 * src/Makefile.am: Added HildonTimeSelector.
6054 * src/hildon.h: Add hildon-time-selector.h
6056 Copied HildonTimeSelector widget from sandbox to trunk. Future
6057 work on this widget must happen in trunk.
6059 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6061 * src/Makefile.am: Added HildonDateSelector.
6062 * src/hildon.h: Add hildon-date-selector.h
6064 Copied HildonDateSelector widget from sandbox to trunk. Future
6065 work on this widget must happen in trunk.
6067 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6069 * src/Makefile.am: Added HildonTouchPicker.
6070 * src/hildon-touch-picker.c: Update includes.
6071 * src/hildon.h: Add hildon-touch-picker.h
6073 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6074 on this widget must happen in trunk.
6076 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6078 * src/hildon-pannable-area.c:
6079 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6081 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6083 * examples/hildon-app-menu-example.c (main): Let the window
6086 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6088 * src/hildon-pannable-area.c
6089 (hildon_pannable_area_class_init): Set the min value of the
6090 overshoot properties to zero, which points out that not
6091 overshooting allowed.
6093 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6095 Modified the procedure to get the widget at a point inside the
6096 pannable area when using the movement type signals. Now the user
6097 has to call a function to get the child, that way we just
6098 calculate the child in case the user really want to use it and not
6101 * src/hildon-marshalers.list: Modified the marshallers, now we do
6102 not have the widget as a parameter.
6104 * src/hildon-pannable-area.c
6105 (hildon_pannable_area_motion_notify_cb),
6106 (hildon_pannable_area_class_init),
6107 (hildon_pannable_get_child_widget_at): Removed the widget
6108 parameter from the signal callback. We have also refactored the
6109 emission of the signals.
6111 * src/hildon-pannable-area.h: Added a new method to the API to
6112 calculate a widget at a point inside the pannable area,
6113 hildon_pannable_get_child_widget_at.
6115 * examples/hildon-pannable-area-example-4.c
6116 (horizontal_movement): Modified the example to use the new API,
6117 added condition to control which widget is under the event. This
6118 way we can avoid scrolling laterally over other widgets.
6120 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6122 * src/hildon-pannable-area.c
6123 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6124 modes, we stop getting the pointer events due to returning the
6125 callback without properly calling the get pointer again. Fixed
6126 also an error using the hscroll and vscroll.
6128 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6130 * src/hildon-app-menu-private.h
6131 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6132 (hildon_app_menu_button_release, hildon_app_menu_init)
6133 (hildon_app_menu_class_init): Don't hide the menu on button
6134 release if the user didn't press outside first.
6136 * src/hildon-window.h
6137 * src/hildon-window.c (hildon_window_toggle_menu)
6138 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6139 hildon_window_toggle_menu a virtual function for the stackable
6140 window to override it.
6142 * src/hildon-stackable-window.h
6143 * src/hildon-stackable-window-private.h
6144 * src/hildon-stackable-window.c
6145 (hildon_stackable_window_realize)
6146 (hildon_stackable_window_finalize)
6147 (hildon_stackable_window_class_init)
6148 (hildon_stackable_window_init)
6149 (hildon_stackable_window_set_main_menu): New function to set the
6150 app menu of a HildonStackableWindow.
6152 * examples/hildon-app-menu-example.c: Remove the button to show
6153 the app menu, now it'll be shown when clicking on the title bar
6156 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6158 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6159 set the widget name if the arrangement flags do not specify
6162 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6164 * src/hildon-button.c: (hildon_button_set_property),
6165 (hildon_button_class_init), (hildon_button_new_full),
6166 (hildon_button_set_arrangement): Added "arrangement-flags"
6169 Make the HildonButtonFlags a construction-only property, to allow
6170 subclasses to set them properly.
6172 2008-07-21 Tim Janik <timj@imendio.com>
6174 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6175 insertion position after backspace, so additional digits are appended,
6178 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6180 * src/hildon-pannable-area.c,
6181 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6182 TODO list, it was complete and removed the g_debug and g_print
6185 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6187 Added the movement modes to the hildon-pannable-area, with this
6188 modes the developers can control in which directions the widget
6189 can scroll. They can also connect to signals in order to do
6190 something when that happens, allowing applications scroll. There
6191 is an example uploaded showing how to use it.
6193 * examples/Makefile.am:
6194 * examples/hildon-pannable-area-example-4.c: Added this example of
6195 an application using the modes.
6197 * src/hildon-marshalers.list: Added a new marshaller for the new
6200 * src/hildon-pannable-area.h: Added new enumerations and flags in
6201 order to control the movement modes and the new signals to warn
6202 about the movements in the area.
6204 * src/hildon-pannable-area.c:
6205 (hildon_pannable_axis_scroll),
6206 (hildon_pannable_area_scroll),
6207 (hildon_pannable_area_motion_notify_cb),
6208 (hildon_pannable_area_get_property),
6209 (hildon_pannable_area_set_property),
6210 (hildon_pannable_area_map),
6211 (hildon_pannable_area_class_init),
6212 (hildon_pannable_area_init),
6213 (hildon_pannable_area_jump_to): Added the modes to control the
6214 movement in the widget. We have added properties to control it,
6215 signals to warn about the movements and refactored some code.
6217 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6219 Changes required in order to allow vfast_factor set to zero to
6222 * src/hildon-pannable-area.c:
6223 (hildon_pannable_area_button_press_cb): Changed the condition, it
6224 is required for not allowing click when vfast_factor is zero.
6225 (hildon_pannable_area_timeout): Initialized velocity variables
6226 when we stop moving, it was less than 1 but not zero and we need
6227 to check zero in some situations.
6228 (hildon_pannable_area_class_init): Changed the default value of
6229 the speed factor, now the button_press is just sent in case the
6230 speed is 2 per cent of the max speed.
6231 (hildon_pannable_area_init): Initialization with 0.
6233 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6235 * src/hildon-pannable-area.c,
6236 (hildon_pannable_area_get_topmost): replaced
6237 gdk_window_get_children with gdk_window_peek_children, this way we
6238 do not have to free the list because it is not a copy.
6240 (hildon_pannable_axis_scroll),
6241 (hildon_pannable_area_scroll),
6242 (hildon_pannable_area_timeout),
6243 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6244 two parameters that were only used inside the
6245 hildon_pannable_area_scroll function.
6247 * examples/hildon-pannable-area-example.c,
6248 (get_sawtooth_label): Fixed small memory leak.
6250 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6252 More checks for the case where the overshoot is bigger than the
6255 * src/hildon-pannable-area.c:
6256 (hildon_pannable_draw_vscroll),
6257 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6258 to draw the slider of the scrollbar under the other scrollbar.
6259 (hildon_pannable_area_expose_event): added new checks to control
6260 the drawing of the overshooting area rectangle, in case it is too
6261 big for the area of the widget.
6262 (hildon_pannable_area_size_allocate): add more checks to avoid
6263 setting a position to the child widget outside the area.
6265 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6267 * src/hildon-pannable-area.c
6268 (hildon_pannable_area_size_allocate): Added conditions to control
6269 when overshooting is bigger than the allocated space for the
6270 children, this avoids negative allocations.
6272 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6274 * doc/hildon-docs.sgml
6276 * examples/Makefile.am
6277 * examples/hildon-button-example.c
6279 * src/hildon-button.c
6280 * src/hildon-button.h
6281 * src/hildon.h: Initial version of the new HildonButton widget,
6284 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6286 * src/hildon-pannable-area.c:
6287 (hildon_pannable_area_button_press_cb),
6288 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6289 (hildon_pannable_area_motion_notify_cb),
6290 (hildon_pannable_area_button_release_cb),
6291 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6292 (hildon_pannable_area_jump_to_child):
6294 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6296 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6298 * examples/Makefile.am
6299 * examples/hildon-pannable-area-touch-grid-example.c
6300 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6301 the Hildon Touch List and Hildon Touch Grid using the
6302 HildonPannableArea widget.
6304 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6306 * src/hildon-pannable-area.c,
6307 (hildon_pannable_area_button_press_cb),
6308 (hildon_pannable_area_refresh),
6309 (hildon_pannable_area_scroll),
6310 (hildon_pannable_area_motion_notify_cb),
6311 (hildon_pannable_area_button_release_cb),
6312 (hildon_pannable_area_expose_event),
6313 (hildon_pannable_area_add),
6314 (hildon_pannable_area_remove),
6315 (hildon_pannable_area_realize),
6316 (hildon_pannable_area_size_allocate),
6317 (hildon_pannable_area_class_init),
6318 (hildon_pannable_area_init),
6319 (hildon_pannable_area_scroll_to_child),
6320 (hildon_pannable_area_jump_to_child): Fixed the problem of
6321 removing the child from the GtkBin, we have rearranged the widget
6322 hierarchy, now there is no GtkAlignment which was not doing
6323 anything interesting but breaking some of the assumptions of
6324 GtkContainer. Now developers if they want to add a GtkAlignment
6325 they could, but it is not inside the area.
6327 We had to review the whole allocation/expose process, now it is
6328 improved and we save at least three signals which would be saving
6329 some time when rendering the widget. The allocation of the
6330 scrollbars is now made in the allocate method as usual.
6332 We have also added some conditions in order to control when there
6333 is no child of the pannable area. Maybe we will need more work
6336 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6338 * src/hildon-pannable-area.c,
6339 (hildon_pannable_area_dispose): Released the fade-out timeout when
6340 disposing the widget.
6342 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6344 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6345 zero, we are going to use that property in order to deactivate the
6347 (hildon_pannable_axis_scroll),
6348 (hildon_pannable_area_size_allocate): Added conditions to control
6349 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6350 call, now it is called in all situations and we can remove calls
6351 in the allocate method.
6352 (hildon_pannable_area_map): Control the situation when
6353 overshoot_max is zero, we do not need the timeout.
6354 (hildon_pannable_area_class_init): Added documentation in order to
6355 point out that setting zero to overshoot_max means deactivate
6358 NOTE: removed trailing whitespaces from my previous comments of
6361 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6363 * src/hildon-pannable-area.c
6364 (hildon_pannable_area_get_property),
6365 (hildon_pannable_area_set_property),
6366 (hildon_pannable_area_map),
6367 (hildon_pannable_area_class_init),
6368 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6369 to cause the widget give a hint about its panning abilities upon
6372 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6374 * src/hildon-pannable-area.c: Several documentation improvements.
6376 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6378 * src/hildon-program.c
6379 * src/hildon-stackable-window.c: Update documentation.
6381 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6383 * src/hildon-stackable-window.c (get_previous_window_if_last):
6384 Renamed get_last_window()
6385 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6386 (hildon_stackable_window_unset_program):
6388 (get_previous_window_if_last):
6389 Detect if the window hasn't been added to a HildonProgram.
6391 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6393 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6395 * src/hildon-pannable-area.c
6396 (hildon_pannable_area_button_press_cb),
6397 (hildon_pannable_axis_scroll),
6398 (hildon_pannable_area_scroll),
6399 (hildon_pannable_area_timeout),
6400 (hildon_pannable_calculate_vel_factor),
6401 (hildon_pannable_area_get_property),
6402 (hildon_pannable_area_set_property),
6403 (hildon_pannable_area_class_init),
6404 (hildon_pannable_area_init),
6405 (hildon_pannable_area_scroll_to),
6406 (hildon_pannable_area_jump_to),
6407 (hildon_pannable_area_scroll_to_child),
6408 (hildon_pannable_area_jump_to_child):
6409 * src/hildon-pannable-area.h: Added the new API functions:
6410 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6411 hildon_pannable_area_scroll_to_child,
6412 hildon_pannable_area_jump_to_child
6415 * examples/Makefile.am
6416 * examples/hildon-pannable-area-example-2.c
6417 * examples/hildon-pannable-area-example-3.c: Added these two new
6418 examples in order to test and show how the new APIs work.
6420 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6422 * examples/hildon-stackable-window-example.c (new_window):
6423 * src/Makefile.am (noinst_HEADERS):
6424 * src/hildon-program.c (hildon_program_go_to_root_window):
6425 * src/hildon-program.h:
6426 * src/hildon-stackable-window-private.h:
6427 * src/hildon-stackable-window.c:
6428 * src/hildon-stackable-window.h:
6429 Create hildon-stackable-window-private.h
6430 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6432 * examples/hildon-app-menu-example.c (create_menu):
6433 * examples/hildon-hvolumebar-insensitive-example.c (main):
6434 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6435 * examples/hildon-toolbar-seekbar-example.c (main):
6436 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6437 * src/hildon-banner.c (hildon_banner_set_property):
6438 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6439 Fix compilation warnings
6441 * src/hildon-window.c:
6444 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6446 * src/hildon-stackable-window.c
6447 (hildon_stackable_window_unset_program):
6448 Calculate correctly whether to show the previous window if the
6449 last one is removed from the stack.
6450 (hildon_stackable_window_go_to_root_window):
6451 Send delete events starting from the topmost window.
6452 Stop if one of the windows is not destroyed.
6454 (hildon_stackable_window_delete_event)
6455 (hildon_stackable_window_class_init):
6456 Ignore the delete event if the window is not the topmost one.
6458 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6460 * src/hildon-pannable-area.c
6461 (hildon_pannable_area_expose_event): Fixed a problem when
6462 selecting the background color of the scrollbars.
6464 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6466 * examples/hildon-stackable-window-example.c
6467 * src/hildon-stackable-window.c
6468 * src/hildon-stackable-window.h
6469 hildon_stackable_window_go_home() renamed to
6470 hildon_stackable_window_go_to_root_window()
6471 Send delete events to windows rather than closing them with
6472 gtk_widget_destroy()
6474 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6476 * src/hildon-pannable-area.c
6477 (hildon_pannable_area_button_release_cb): Fix overshooting in
6480 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6482 * src/hildon-pannable-area.c
6483 (hildon_pannable_area_init): Initially show the scroll indicators.
6484 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6486 Add initial effect showing the widget is pannable.
6488 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6490 * src/hildon-pannable-area.c
6491 (hildon_pannable_area_class_init)
6492 (hildon_pannable_area_set_property)
6493 (hildon_pannable_area_get_property)
6494 (hildon_pannable_area_button_press_cb):
6495 New 'velocity_fast_factor' property to decide which velocity is
6498 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6500 * src/hildon-pannable-area.c
6501 (hildon_pannable_draw_hscroll)
6502 (hildon_pannable_draw_vscroll):
6503 Use float variables to calculate the size of the scrollbars to
6504 avoid error propagation and resizing during scrolling.
6506 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6508 * src/hildon-pannable-area.c
6509 (hildon_pannable_draw_vscroll)
6510 (hildon_pannable_draw_hscroll):
6511 Define a minimum size for the scroll bars
6513 * src/hildon-stackable-window.c
6514 (hildon_stackable_window_go_home): Fix compilation warning
6515 (get_last_window): Minor optimizations
6516 (hildon_stackable_window_class_init): Fix initialization of
6519 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6521 * src/hildon-stackable-window.c: Fixed typos in doc
6523 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6525 * src/hildon-pannable-area.c
6526 (hildon_pannable_area_scroll):
6527 Calculate here whether we need to scroll instead of using the booleans
6528 that tell us whether to /draw/ the scrolling bars.
6530 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6532 * src/hildon-app-menu.h
6534 * src/hildon-app-menu.c
6535 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6536 multiple filter groups related code and API. Now we support only
6538 * examples/hildon-app-menu-example.c:
6540 Update to reflect API changes.
6542 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6544 * src/hildon-stackable-window.c
6545 (hildon_stackable_window_class_init):
6546 Add hildon_stackable_window_realize.
6547 (hildon_stackable_window_realize):
6548 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6549 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6550 to apply theming and behavior specific to HildonStackableWindow
6553 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6555 * src/hildon-note.c (hildon_note_button_release):
6556 Close information notes also when tapping on them
6558 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6560 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6561 ELASTICITY, refactor and review, fix some issues with drawing
6564 * src/hildon-pannable-area.c:
6565 (hildon_pannable_area_button_press_cb): removed the conditions to
6566 avoid clicks when overshooting. It is not required
6568 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6569 define. Refatored and reviewed the code, now we do not need to
6570 manage velocity in motion_notify.
6572 (hildon_pannable_area_motion_notify_cb): We have moved the code
6573 that controls the area_scroll to the axis_scroll function and get
6574 rid of duplicated code.
6576 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6578 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6580 (hildon_pannable_draw_vscroll),
6581 (hildon_pannable_draw_hscroll): Fixed the problems with the
6582 scrollbar drawing, now we do not use two surfaces, it is easier
6583 and saves resources.
6585 (hildon_pannable_area_get_property): Style modification.
6587 (hildon_pannable_area_class_init): Changed some default values.
6589 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6591 * src/hildon-stackable-window.c: Fix some typos in the
6594 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6596 * src/hildon-dialog.c:
6597 Change indentation style
6600 (hildon_note_button_release):
6601 Use root coordinates to check if the release event happened
6604 * src/hildon-app-menu.c
6605 (hildon_app_menu_button_release):
6606 Remove unnecessary check
6608 * examples/hildon-app-menu-example.c
6610 Add cast to fix warning
6612 * src/hildon-app-menu.c
6613 (hildon_app_menu_class_init):
6614 New inner-border style property.
6615 Set all default spacings to 16
6616 (hildon_app_menu_init):
6617 Use vertical-spacing to set the space between filter buttons and
6618 regular menu buttons.
6619 Set the default container border using the inner-border value.
6621 * examples/hildon-app-menu-example.c
6623 Don't set the menu border explicitly, now we have the inner-border
6624 style property for that.
6626 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6628 * src/hildon-app-menu.c (hildon_app_menu_init):
6629 Make the window modal
6631 * src/hildon-note.c (hildon_note_map)
6632 * src/hildon-app-menu.c (hildon_app_menu_map):
6633 Destroy the grab window if we're unable to grab the pointer
6635 * src/hildon-app-menu-private.h
6636 * src/hildon-app-menu.c
6637 (hildon_app_menu_init, hildon_app_menu_finalize)
6638 (hildon_app_menu_map, hildon_app_menu_unmap)
6639 (hildon_app_menu_button_release)
6640 (grab_transfer_window_get):
6641 Bring back the grab window
6642 (hildon_app_menu_realize):
6643 Decorate the window, set WM hint for Matchbox
6645 * src/hildon-note.c (hildon_note_realize):
6646 * src/hildon-banner.c (hildon_banner_realize):
6647 Add WM hints for Matchbox
6649 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6651 * src/hildon-app-menu-private.h
6652 * src/hildon-app-menu.c
6653 (hildon_app_menu_init, hildon_app_menu_finalize)
6654 (hildon_app_menu_map, hildon_app_menu_unmap)
6655 (hildon_app_menu_button_release):
6656 Remove the grab window, it's not needed anymore
6658 * src/hildon-program.c
6659 Fixed typo in documentation
6661 * src/hildon-app-menu.h
6662 * src/hildon-app-menu.c
6663 * examples/hildon-app-menu-example.c
6664 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6666 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6669 Added new transfer_window and close_if_pressed_outside private
6671 (hildon_note_rebuild):
6672 Don't add a cancel button to the information note. It will be
6673 closed when tapping outside
6674 Remove the comment about the OK button in the documentation
6675 (hildon_note_realize):
6676 Set the notification type hint
6677 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6678 Grab/ungrab pointer and keyboard if the note has to be closed when
6680 (hildon_note_button_release):
6681 Close the note when tapping outside (if applicable)
6683 * src/hildon-app-menu.c
6684 Grab/ungrab pointer and keyboard on map/unmap
6685 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6686 Close the menu on button release, not button press
6688 * src/hildon-banner.c
6689 (hildon_banner_set_property)
6690 (hildon_banner_check_position):
6691 Make the banner use the full width of the screen
6692 (hildon_banner_show_information)
6693 (hildon_banner_show_information_with_markup):
6694 Don't display an icon by default
6696 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6698 Added fading scrollbars and adapted all the overshooting code to
6699 horizontal scrolling. We have also fixed bugs with overshooting
6700 and current fading implementation.
6702 * src/hildon-pannable-area.c
6703 (hildon_pannable_area_scroll_indicator_fade): Time out function
6704 used to change the transparency of the scrollbars.
6706 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6707 control and fixed a problem with fading, we now remove the fade
6708 timeout before adding a new one.
6710 (hildon_pannable_axis_scroll):
6711 (hildon_pannable_area_scroll):
6712 (hildon_pannable_area_timeout): Added this functions so we can use
6713 the scroll code both for vertical and horizontal.
6715 (hildon_pannable_area_motion_notify_cb):
6716 (hildon_pannable_area_button_release_cb): Added the horizontal
6717 scrolling control, fixed a problem with the overshooting timeout.
6719 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6720 painting of the scrolls.
6722 (hildon_pannable_draw_vscroll):
6723 (hildon_pannable_draw_hscroll):
6724 (hildon_pannable_area_expose_event):
6725 Draw both scrollbars and rectangles in the overshooting area.
6727 (hildon_pannable_area_get_property):
6728 (hildon_pannable_area_set_property):
6729 Modified the overshoot property to overshoot_max
6731 (hildon_pannable_area_map):
6732 Replaced the comments symbols.
6734 (hildon_pannable_area_size_allocate):
6735 (hildon_pannable_area_class_init):
6736 (hildon_pannable_area_init): Added horizontal scroll, fading
6737 effect properties, fixed a problem when overshooting in the bottom
6740 * examples/hildon-pannable-area-example.c:
6741 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6742 looks better in the example.
6744 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6746 * src/hildon-window.c
6747 * src/hildon-window.h
6748 (hildon_window_class_init)
6749 (hildon_window_unset_program)
6750 (hildon_window_unset_program_real):
6751 Make unset_program a virtual function
6753 * src/hildon-stackable-window.c
6754 * src/hildon-stackable-window.h
6755 Added hildon_stackable_window_go_home()
6757 * examples/Makefile.am
6758 * examples/hildon-stackable-window-example.c
6759 HildonStackableWindow example
6761 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6763 * hildon-pannable-area.c: Added the overshoot property and removed
6764 the OVERSHOOT define. Fixed an indent style error.
6765 (hildon_pannable_area_motion_notify_cb):
6766 (hildon_pannable_area_get_property):
6767 (hildon_pannable_area_set_property): Add overshoot property.
6769 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6772 (hildon_pannable_area_class_init): Installed the new property.
6774 * hildon-pannable-area-example.c: Added a sawtooth function, this
6775 way it is easier to check the movement in the pannable.
6776 (get_sawtooth_label): Added this function.
6777 (main): Now we get the labels from the new get_sawtooth_label
6780 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6782 * src/hildon-app-menu.h
6783 * src/hildon-app-menu.c
6784 Renamed API variables for consistency
6786 (hildon_app_menu_popup): Use also the default window size to
6787 decide where to place the menu
6789 (hildon_app_menu_init, hildon_app_menu_class_init): New
6790 external-border style property
6792 2008-05-26 Michael Natterer <mitch@imendio.com>
6794 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6795 widget_class->tap_and_hold_setup signal slot doesn't exist any
6796 longer, stop overriding it.
6798 (hildon_time_editor_init): g_signal_connect() to the
6799 tap-and-hold-setup signal instead.
6801 (hildon_time_editor_entry_keypress): add cast to fix warning.
6803 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6805 * doc/hildon-docs.sgml
6807 * examples/Makefile.am
6808 * examples/hildon-app-menu-example.c
6810 * src/hildon-app-menu-private.h
6811 * src/hildon-app-menu.c
6812 * src/hildon-app-menu.h
6814 New HildonAppMenu widget
6816 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6818 Rearranged the inheritance of the pannable area, now it inherits
6819 from GtkBin. This will allow us to control the event_window and
6820 the allocation process of the widget, required for some effects.
6822 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6823 GtkBin structures. * src/hildon-pannable-area.c: Added the
6824 event_window variable.
6825 (hildon_pannable_area_button_press_cb):
6826 (hildon_pannable_area_button_release_cb):
6827 (hildon_pannable_area_motion_notify_cb):
6828 Changed the signature of the method, now we override the event
6829 callback instead of connecting to the signal.
6831 (hildon_pannable_area_realize):
6832 (hildon_pannable_area_unrealize):
6833 (hildon_pannable_area_map):
6834 (hildon_pannable_area_unmap):
6835 (hildon_pannable_area_size_allocate):
6836 Added functions to control the widget construction. We add a
6837 INPUT_ONLY window and we put it over the widgets inside the
6838 container, this event_window handles the events.
6840 (hildon_pannable_area_class_init):
6841 Replaced the signal connections with overrides of the event
6844 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6846 Bouncing effect added when touching the borders, you can change
6847 the elasticity of the border changing the ELASTICITY define.
6849 * src/hildon-pannable-area.c: Added ELASTICITY define.
6850 (hildon_pannable_area_timeout): Added inverse velocity when
6851 touching the border of the child widget, that causes a bounce.
6853 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6855 Improved performance, we now do not go to the X server in order to
6856 get the list of window children. Apparently the effect is the
6857 same, we have to be careful and check if this breaks something in
6860 * src/hildon-pannable-area.c:
6861 (get_ordered_children): Removed this function.
6862 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6863 the children windows function with gdk_window_get_children.
6865 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6867 * src/hildon-pannable-area.c:
6868 (hildon_pannable_area_dispose): Fixed a crash when closing the
6869 window and kinetics is activated.
6871 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6873 * src/hildon-pannable-area.h
6874 * src/hildon-pannable-area.c
6875 Changed indentation style to meet the one used in Hildon
6877 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6879 Reviewed the interaction of the AUTO mode, now we use the time
6880 attribute of the events and calculate the velocity in the motion,
6881 doing a gimp like calculation. The velocity is calculated in each
6882 motion event using the last velocity and the current one, the
6883 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6885 * src/hildon-pannable-area.c: Replaced the time based algorithm
6887 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6888 timeout for the AUTO mode when we are still moving the cursor. We
6889 added also the velocity calculation in this function.
6890 (hildon_pannable_area_button_release_cb): launch the timeout in
6891 case we are in AUTO mode. There are still some constants here that
6892 come from the old implementation that should be reviewed and
6895 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6897 * doc/hildon-docs.sgml
6900 * src/hildon-stackable-window.c
6901 * src/hildon-stackable-window.h
6903 New HildonStackableWindow widget
6905 * examples/hildon-dialog-example.c
6906 * examples/hildon-pannable-area-example.c
6909 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6911 * src/hildon-dialog.c
6912 (hildon_dialog_new_with_buttons): New constructor.
6914 * examples/hildon-dialog-example.c
6915 (main): Update the example to use the new
6916 hildon_dialog_new_with_buttons().
6918 * examples/hildon-pannable-area-example.c
6919 (main): Update example.
6921 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6923 * doc/hildon-docs.sgml
6925 Added HildonPannableArea to the documentation.
6927 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6929 * doc/visual_index.xml
6930 Fix reference to HildonLoginDialog in documentation
6932 * doc/hildon-docs.sgml
6934 * examples/Makefile.am
6935 * examples/hildon-dialog-example.c
6937 * src/hildon-dialog.c
6938 * src/hildon-dialog.h
6940 New HildonDialog widget.
6942 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6944 * src/hildon-pannable-area.c
6945 Merge latest changes (r4318, r4342) from libmokoui trunk
6947 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6949 * examples/Makefile.am
6950 * examples/hildon-pannable-area-example.c
6952 * src/hildon-pannable-area.c
6953 * src/hildon-pannable-area.h
6955 New HildonPannableArea widget.
6957 2008-04-15 18:05:19 <timj@imendio.com>
6959 * src/hildon-banner.c: revert the recent change, that introduced
6960 gtk_window_present() calls. this reopens:
6961 Bug 78481 - [freetest] information banners are hidden under browser menu
6962 But resolves another variant of:
6963 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6965 2008-04-15 13:21:13 <timj@imendio.com>
6967 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6968 recreated its layout, spotted by Kris. this fixes all remaining
6969 artefacts and stability issues with the banner code. in particular:
6970 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6972 2008-04-14 16:52:59 <timj@imendio.com>
6974 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6975 operating on unrealized widgets, fixes:
6976 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6978 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6980 2008-04-09 Kristian Rietveld <kris@imendio.com>
6982 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6983 makes banner disappear.
6984 Fixes: NB#79182: info banner flickering with certain message lengts.
6986 * src/hildon-banner.c (hildon_banner_constructor),
6987 (hildon_banner_init), (hildon_banner_set_text),
6988 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6989 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6990 FALSE, reset size requests of label and banner,
6991 (force_to_wrap_truncated): when the text is too wide, always enforce
6992 the maximum possible width instead of recalculating it from the
6993 layout; enforce the maximum banner height of 3 lines,
6994 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6995 nicer wrapping and no truncated chars if space gets tight.
6997 * src/hildon-banner-private.h: add has_been_wrapped and
6998 has_been_truncated fields.
7000 2008-04-07 Sven Herzberg <sven@imendio.com>
7002 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7003 local values in hildon_date_editor_size_allocate
7005 * src/hildon-date-editor.c: moved the real allocation code into the
7008 2008-04-07 Sven Herzberg <sven@imendio.com>
7010 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7011 local values in hildon_date_editor_size_allocate
7013 * src/hildon-date-editor.c: merged the two if() branches together
7015 2008-04-07 Sven Herzberg <sven@imendio.com>
7017 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7018 local values in hildon_date_editor_size_allocate
7020 * src/hildon-date-editor.c: changed the arguments of the if()
7023 2008-04-07 Sven Herzberg <sven@imendio.com>
7025 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7026 local values in hildon_date_editor_size_allocate
7028 * src/hildon-date-editor.c: split the calculation of the allocation
7029 from the real allocation
7031 2008-03-27 Michael Natterer <mitch@imendio.com>
7033 Fixes: NB#81696: The passcode is not overwritten even after
7036 * src/hildon-code-dialog.c
7037 (hildon_code_dialog_button_clicked)
7038 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7039 because that doesn't overwrite selected text. Instead, emit the
7040 "commit" signal on the entry's im_context so the entry's normal
7041 insert logic is triggered. Set the cursor to the end of the entry
7042 after each insert operation so that we *only* insert in the middle
7043 of the text if something was selected.
7045 2008-03-27 Michael Natterer <mitch@imendio.com>
7047 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7048 selector cannot be opened
7050 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7051 when the popup color selector is created. Please connect to this
7052 signal in order to set the dialog's help ID.
7054 2008-03-25 Sven Herzberg <sven@imendio.com>
7056 Fixes: MB#1212: Hide info banners (infoprints) on click
7058 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7059 extracted the close event simulation into an extra function
7060 (hildon_banner_button_press_event): simulate a close event and destroy
7061 the widget if the event wasn't handled
7062 (hildon_banner_class_init): added the button_press_event handler
7063 (hildon_banner_init): added button-press events to the widget
7065 2008-03-25 Sven Herzberg <sven@imendio.com>
7067 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7068 Patch from: Mohammad Anwari <mdamt@maemo.org>
7070 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7071 instead of the right in RTL mode
7072 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7073 breadcrumb button list in RTL mode
7074 * src/hildon-caption.c: mirror the appearance of the caption widget in
7076 * src/hildon-date-editor.c: mirror appearance of the date editor in
7078 * src/hildon-time-editor.c: mirror appearance of the time editor in
7080 * src/hildon-window.c: fix the position of the popup in RTL mode
7082 2008-03-25 Sven Herzberg <sven@imendio.com>
7084 Amendment to the fix of NB#22072. Fix compilation.
7086 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7088 2008-03-19 Sven Herzberg <sven@imendio.com>
7090 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7093 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7094 timeout id properly when the timeout will disappear this leaves no
7095 artifacts around in the destroy(); there will only be the timeout
7096 created by hildon_banner_ensure_timeout() and adding a new timeout
7097 will also work if the timeout gets removed because the timeout_handler
7100 2008-03-19 Michael Natterer <mitch@imendio.com>
7102 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7104 * src/hildon-volumebar.c
7105 * src/hildon-vvolumebar.c
7106 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7107 the widget becomes focussable at all.
7109 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7110 set the focus to wither the mute button or the volumebar.
7112 Remove own "can-focus" property and instead listen to
7113 notify::can-focus in order to update the widget's state.
7115 Implement GtkWidget::focus() and make sure we can also *leave* the
7116 widget, not only enter it, depending on volumebar orientation and
7117 requested focus direction.
7119 Clean up set_mute() to cooperate nicely with all the above.
7121 2008-03-04 Michael Natterer <mitch@imendio.com>
7123 Fixes: NB#78481: information banners are hidden under browser menu
7125 * src/hildon-banner.c: call gtk_window_present() on the banners so
7126 they are risen if they are already visible.
7128 2008-03-03 Sven Herzberg <sven@imendio.com>
7130 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7132 * examples/hildon-window-menu-example.c: (main): extended the window
7133 menu example to serve as a testcase for automatically added
7134 accelerator groups, too
7135 * src/hildon-window.c: (hildon_window_add_accel_group),
7136 (hildon_window_set_menu): added patch by Tommi Komulainen
7138 2008-03-03 Sven Herzberg <sven@imendio.com>
7140 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7142 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7143 knowledge about the border allocators used within GTK+
7145 2008-02-26 Sven Herzberg <sven@imendio.com>
7147 Fixes: MB#2981: Build with asserts broken
7149 * src/hildon-date-editor.c,
7150 * src/hildon-number-editor.c,
7151 * src/hildon-time-editor.c,
7152 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7153 the proper GType instance check
7155 2008-02-25 Sven Herzberg <sven@imendio.com>
7157 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7159 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7160 * examples/hildon-window-menu-example.c: (main): explicitly show
7162 * src/hildon-window.c:
7163 (hildon_window_set_main_menu): moved most of the code from set_menu()
7164 to this place; skipped the call to gtk_widget_show_all(); also didn't
7165 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7166 (hildon_window_set_menu): removed most of the code, just keep the
7167 questionable gtk_widget_show_all()
7168 * src/hildon-window.h: added the new function and deprecate the old
7171 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7177 * debian/changelog: Updating.
7179 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7182 * pkgconfig/Makefile.am:
7183 * pkgconfig/hildon.pc.in:
7186 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7187 use newly created API_MAJOR_VERSION.
7189 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7195 * debian/changelog: Updating.
7197 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7199 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7201 Add outer_border style property, we use it but don't define it (!).
7205 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7207 * examples/hildon-bread-crumb-trail-example.c (main):
7211 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7213 Fix logic for the bread crumb trail node removal.
7217 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7223 * debian/changelog: Updating.
7225 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7227 Patch by Alejandro to get/set passwords dialogs accesibility.
7229 * hildon-1/src/hildon-get-password-dialog.c:
7230 * hildon-1/src/hildon-set-password-dialog.c:
7231 Set atk_set_name to the passwd entries in order to allow
7232 accessibility by name on this entries.
7234 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7239 * debian/control: Updating gtk dep.
7241 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7243 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7244 USE_MAEMO_GTK is enabled.
7246 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7248 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7249 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7251 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7257 * debian/changelog: Updating.
7259 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7261 * examples/Makefile.am:
7262 * examples/hildon-logical-color-example.c:
7263 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7264 applied + adding a test case. Fixes: NB#71660.
7266 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7268 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7269 to be visible, fixes warning on map for windows without toolbars.
7271 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7273 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7274 2.11.0, add a check for that besides the MAEMO_GTK check.
7276 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7282 * debian/changelog: Updating.
7284 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7286 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7287 visibility. Fixes: NB#70842 and MB#615.
7289 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7291 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7292 set the separator as no-show-all so it doesn't unintentionally appear when
7293 someone does a show_all.
7295 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7297 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7298 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7299 toplevel item. Fixes: NB#62031
7301 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7303 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7304 fix the name of the function in the docs.
7306 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7312 * debian/changelog: Updating.
7314 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7316 * examples/hildon-banner-long-example.c: Adding a test-case for long
7319 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7321 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7323 * src/hildon-color-chooser-dialog.c:
7324 * src/hildon-color-chooser.c:
7325 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7326 memory leaks in font selector and color selector. Fixes: NB#70499 and
7329 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7331 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7333 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7335 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7336 little bit bigger. Fixes: #NB63694.
7338 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7344 * debian/changelog: Updating.
7346 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7349 * doc/hildon-docs.sgml:
7350 * doc/images/bread-crumb-trail.png:
7351 * doc/images/calendar-popup.png:
7352 * doc/images/caption.png:
7353 * doc/images/code-dialog.png:
7354 * doc/images/color-button.png:
7355 * doc/images/color-chooser-dialog.png:
7356 * doc/images/color-chooser.png:
7357 * doc/images/controlbar.png:
7358 * doc/images/date-editor.png:
7359 * doc/images/font-selection-dialog.png:
7360 * doc/images/get-password-dialog.png:
7361 * doc/images/hvolumebar.png:
7362 * doc/images/login-dialog.png:
7363 * doc/images/note.png:
7364 * doc/images/number-editor.png:
7365 * doc/images/range-editor.png:
7366 * doc/images/seekbar.png:
7367 * doc/images/set-password-dialog.png:
7368 * doc/images/sort-dialog.png:
7369 * doc/images/time-editor.png:
7370 * doc/images/time-picker.png:
7371 * doc/images/vvolumebar.png:
7372 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7373 Adding the bread-crumb-trial and helpers to the documentation.
7375 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7377 * examples/hildon-find-toolbar-example.c:
7378 * src/hildon-find-toolbar.c:
7379 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7380 actually continue firing the other handlers if connected. Adding a new
7382 hildon_find_toolbar_get_last_index that gets the index of the most
7383 recently added (last) item. Fixes: NB#52301.
7385 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7387 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7388 behaviour. Fixes: NB#68610.
7390 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7392 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7395 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7397 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7398 when realizing the banner. Should make the infonbanner effect a bit more
7401 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7403 * src/hildon-volumebar.c:
7404 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7405 hildon_volumebar_set_range_insensitive_message and
7406 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7408 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7410 * src/hildon-window.c: Fixing the border freeing on destroy.
7412 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7414 * src/hildon-code-dialog-private.h:
7415 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7416 kw keyboard support in HildonCodeDialog.
7418 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7424 * debian/changelog: Updating.
7426 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7428 * src/hildon-date-editor.c:
7429 * src/hildon-number-editor.c:
7430 * src/hildon-private.c:
7431 * src/hildon-private.h:
7432 * src/hildon-time-editor.c:
7433 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7434 handling in subclassed composite widgets. Fixes: NB#66628.
7436 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7438 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7439 from destroy_ callback as it introduces problems in async dbus signal
7440 handlers. Fixes NB#66673.
7442 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7444 * examples/hildon-hvolumebar-example.c:
7445 * src/hildon-volumebar.c: Improving the focus handling in the
7446 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7447 set_property accessor so that "mute" property can be actually set. I'm
7448 scared that nobody noticed it's totally broken.
7450 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7452 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7455 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7457 * src/hildon-calendar.c:
7458 * src/hildon-number-editor.c:
7459 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7460 matches the spec of 6 chars per second. Fixes: NB#60489.
7462 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7464 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7465 gtk_style_lookup_color sometime returns FALSE even though color was
7466 found and values were filled properly. Weird. Removing the warning for the
7469 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7471 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7472 expand vertically. Adding some extra space to the find toolbar buttons to
7473 make them thumbable. Fixes NB#66060.
7475 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7477 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7478 popup with "Ok" and "Cancel". Fixes NB#59299.
7480 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7482 * src/hildon-calendar.c: Process all window updates before executing next
7483 timeout. Fixes: NB#54146.
7485 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7491 * debian/changelog: Updating.
7493 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7495 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7496 the client event and ignore it, since we use the delete event to close
7499 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7501 * src/hildon-helper.c: Remove the bogus warning about color not being
7502 found. Fixes NB#58352.
7504 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7506 * examples/Makefile.am:
7507 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7508 HildonSeekbar widget inside a toolbar.
7510 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7512 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7513 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7514 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7515 don't want to be closed by non-temporary windows on map.
7517 Also use G_DEFINE_TYPE instead of manually typed code.
7519 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7526 * debian/rules: Updating.
7528 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7530 * examples/Makefile.am:
7531 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7532 bug NB#61128. Strangely it works.
7534 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7536 * src/hildon-date-editor.c: When the date editor entry has been changed
7537 but the numbers of characters < max, turn off the skip validation flag.
7538 Prevents a situation when we enter first a valid year and later re-write
7539 it with an invalid one. Fixes NB#60154.
7541 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7543 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7544 code dialog. Fixes NB#64355.
7546 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7548 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7549 switching the page. Fixes NB#49374.
7551 * examples/Makefile.am:
7552 * examples/hildon-wizard-dialog-example.c: Adding an example for
7553 HildonWizardDialog that shows how to handle manual sensitivity setting on
7556 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7560 * src/hildon-version.h.in:
7561 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7563 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7565 * src/hildon-volumebar.c: Updating the docs.
7567 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7573 * debian/changelog: Updating.
7575 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7577 * src/hildon-find-toolbar.c:
7578 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7579 selected item: hildon_find_toolbar_set_active,
7580 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7581 hildon_find_toolbar_get_active_iter . They correspond to respective
7582 GtkComboBox functions.
7584 * examples/Makefile.am:
7585 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7588 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7590 * examples/Makefile.am:
7591 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7594 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7595 when font size > 32 and we pack a focusable widget inside. Actually using
7596 the default response would work too, but since we don't show default
7597 response state in any way (no theming) it would not be visible to the
7598 user. Fixes NB#63430.
7600 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7602 * src/hildon-date-editor.c: Adding the missing variable setter in the
7603 set_property handler. Fixes NB#54182.
7605 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7607 * src/hildon-window.h: Changing the long key press time from 1500ms to
7608 800ms as requested in NB#63700. I have a bad feeling about this, let's
7609 see... Fixes NB#63700.
7611 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7613 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7614 hildon_time_picker_map, hildon_time_picker_realize,
7615 hildon_time_picker_style_set): Split the contents of map to more
7616 appropriate functions; set window decorations on realize and update
7617 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7619 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7624 * debian/changelog: Updating.
7626 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7628 * src/Makefile.am: fixed installation of the header files
7630 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7636 * debian/changelog: Updating.
7638 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7640 * configure.ac: Removing some remaining of --enable-xan.
7642 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7644 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7645 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7647 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7648 2.10.12-osso6 because the move-focus signal needs to be available in
7651 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7653 * examples/Makefile.am:
7654 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7655 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7656 fine. Prolly NB#61128 is fixed now.
7658 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7660 * src/hildon-volumebar.c:
7661 * src/hildon-volumebar.h: Adding the
7662 hildon_volumebar_set_range_insensitive_message and
7663 hildon_volumebar_set_range_insensitive_messagef functions to set
7664 insensitive message on the slider of the volumebar. Fixes NB#61129.
7666 * examples/Makefile.am:
7667 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7668 test the new insensitive messsage functionality on HildonVolumebar.
7670 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7672 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7675 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7677 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7678 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7679 button on after clearing the trail.
7681 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7683 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7685 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7687 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7688 by splitting the installed headers in generated and non-generated groups. Use
7689 only the non-generated headers to create the hildon-enum-types.h file.
7691 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7693 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7695 * src/hildon-window.c: Hide the window before performing the destroy.
7696 Should make the app closing a little tiny bit more snappy.
7698 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7700 * src/hildon-seekbar.c: add gtkrange.h header
7701 * src/hildon-caption.c: remove unused variable
7703 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7705 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7708 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7714 * debian/changelog: Updating.
7716 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7718 * src/hildon-window.c (hildon_window_window_state_event,
7719 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7720 escape timeout on focus-out-event rather than notify::is-topmost; the
7721 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7723 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7725 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7726 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7728 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7730 * src/hildon-window: actually, you need to use the macro always, there's
7731 no private pointer in the instance structure. We should have cleaned this up
7732 when we had the chance...
7734 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7736 * src/hildon-window.c: do not get the private date from HildonWindow before
7737 it passes the g_return_if_fail check. Once it's passed the test, there's no
7738 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7739 if you are only going to access the data once. Whitespace cleanups.
7741 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7743 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7744 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7746 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7752 * debian/changelog: Updating.
7754 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7756 * src/hildon-window.c: When destroying the window, remove (if exists) the
7757 escape timeout handler. Fixes #NB59276.
7759 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7761 * src/hildon-banner.c: When realizing the widget, set the window
7762 transiency. Setting the transiency in the gobject constructor is not
7763 good, as the widget is not realized at that point. Fixes: #NB56624.
7765 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7767 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7768 Add padding for future expansions.
7770 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7772 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7773 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7774 will fake an activation on the previous to the last item of the trail, so
7775 the effect can be overrided by the developer as usual.
7776 Also change the callback for the back button to do the same thing, so its
7777 effect can be overrided too. Fixes: NB#58982
7779 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7781 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7782 HildonCaption. Fixes NB#52379.
7784 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7786 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7787 the internal state of the trail after the user has had the chance of executing
7788 his handler for the signal. Specifically, it may happen that the activated button
7789 is removed and the user still lets the default handler run. This would segfault
7792 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7794 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7795 scrollbar to the preview dialog. Fixes NB#54147.
7797 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7799 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7800 max/min year properties can be altered, so the client can modify it
7801 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7803 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7805 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7806 hildonlike by default. Fixing a problem with disappearing arrows when
7807 scrolling through months and years. Fixes NB#54127.
7809 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7811 * examples/hildon-date-editor-example.c: Adding error callback to the date
7814 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7820 * configure.ac: Updating.
7822 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7824 * configure.ac: Adding a special '--enable-xan' configure option that
7825 turns off the -Werror compilation setting. Usefull for development.
7827 * src/hildon-calendar.c:
7828 * src/hildon-number-editor.c:
7829 * src/hildon-time-picker.c: Adding the 5* multiplier to
7832 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7834 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7835 instead of g_object_ref + gtk_object_sink.
7837 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7843 * debian/changelog: Updating.
7845 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7847 * src/hildon-color-chooser-dialog.c:
7848 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7849 straight from Tommi labs.
7851 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7853 * examples/hildon-finger-example.c: Correcting the header file path.
7855 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7856 the changed signal. Fixes a small memory leak.
7858 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7862 * src/hildon-banner.c: Importing several usefull fixes from the
7863 ubuntu-mobile branch.
7865 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7867 * examples/Makefile.am:
7868 * examples/hildon-finger-example.c: Adding a finger-checking code
7871 * src/hildon-font-selection-dialog.c: Do not allocate the color
7872 structure using the g_new. Fixes NB#54061.
7874 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7876 * src/hildon-helper.c: Correcting tabs in file.
7878 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7880 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7881 control the visibility of the children.
7883 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7885 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7891 * debian/changelog: Updating.
7893 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7895 * src/hildon-bread-crumb-trail.c:
7896 (hildon_bread_crumb_trail_size_allocate):
7898 Make the back button always a square.
7900 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7902 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7903 from the .c file as it's a private file.
7905 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7907 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7908 uses slightly bigger height.
7910 * src/hildon-font-selection-dialog.c: Adding some checks before
7911 freeing memory in the font selection dialog.
7913 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7915 * src/hildon-font-selection-dialog.c: Adding a small check when
7918 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7919 buttons sensitivity on page switching.
7921 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7923 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7924 internal details of adding a bread crumb to the trail.
7926 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7932 * debian/changelog: Updating.
7934 * src/hildon-bread-crumb-trail.h:
7935 * src/hildon-bread-crumb.h: Changing the API guard to
7936 HILDON_ENABLE_UNSTABLE_API.
7938 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7946 * src/hildon-helper.h: Updating.
7948 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7956 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7960 * src/hildon-helper.h: Small fix to make the package actually compile.
7962 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7964 * src/hildon-bread-crumb-trail.h:
7965 * src/hildon-bread-crumb.h:
7967 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7968 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7970 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7972 * examples/hildon-bread-crumb-trail-example.c:
7974 * src/hildon-bread-crumb-trail.c:
7975 * src/hildon-bread-crumb-trail.h:
7976 * src/hildon-bread-crumb.c:
7977 * src/hildon-bread-crumb.h:
7978 * src/hildon-marshalers.list:
7979 * src/hildon-bread-crumb-widget.c:
7980 * src/hildon-bread-crumb-widget.h:
7982 Slight change in the widget design. The bread crumb trail API is
7983 unchanged, but HildonBreadCrumb is now an interface. A *private*
7984 implementation, hildon-bread-crumb-widget, is provided and used
7985 internally by the trail for the push_text/push_icon functions.
7987 The generic push API is still available, so anyone can implement
7988 and use its own bread crumb widget.
7990 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7992 * debian/rules: Fixing the shlibs.
7994 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7996 * src/hildon-banner.c: Fixing a problem with timed banners having
7997 their parrent destroyed before they are.
7999 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8001 * src/hildon-bread-crumb.c:
8002 * src/hildon-bread-crumb.h:
8004 Make the get_natural_size function a vfunc.
8006 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8008 * src/hildon-bread-crumb.c:
8009 * src/hildon-bread-crumb-trail.c:
8013 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8020 * debian/changelog: Updating for release.
8022 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8024 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8025 don't leak the pango layout.
8027 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8030 * examples/hildon-bread-crumb-trail-example.c:
8034 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8036 * debian/changelog: Removing the bug-fixed entries that were actually
8037 resolved as WONTFIX.
8039 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8042 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8044 * src/hildon-bread-crumb-trail.c:
8045 * src/hildon-bread-crumb-trail.h:
8046 * src/hildon-bread-crumb.c:
8047 * src/hildon-bread-crumb.h:
8051 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8053 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8054 until it's passed the type check.
8056 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8058 * examples/hildon-bread-crumb-trail-example.c
8062 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8064 * examples/Makefile.am
8065 * examples/hildon-bread-crumb-trail-example.c
8067 * src/hildon-bread-crumb-trail.c
8068 * src/hildon-bread-crumb-trail.h
8069 * src/hildon-bread-crumb.c
8070 * src/hildon-bread-crumb.h
8072 New HildonBreadCrumbTrail widget.
8074 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8076 * src/hildon-range-editor.c (hildon_range_editor_init),
8077 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8078 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8079 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8080 hildon_time_editor_class_init, hildon_time_editor_init),
8081 src/hildon-get-password-dialog.c (invalid_input,
8082 hildon_get_password_set_property, hildon_get_password_get_property,
8083 create_contents, hildon_get_password_dialog_set_max_characters),
8084 src/hildon-set-password-dialog.c (create_contents),
8085 src/hildon-date-editor.c (hildon_date_editor_init),
8086 src/hildon-login-dialog.c (hildon_login_dialog_init),
8087 src/hildon-number-editor.c (hildon_number_editor_init),
8088 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8089 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8090 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8091 configure option and adding the respective checks in the code.
8092 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8093 hildon_calendar_drag_data_received): fixed some build warnings.
8095 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8097 * debian/changelog: A 1.0.0 release notes.