1 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
3 * hildon/hildon-note-private.h: Removed sound_signal_handler
5 (on_show_cb): new callback on note "show" event, this simply adds
6 a idle, with the function sound_handling
7 (sound_handling): removed the sound_signal_handler management
8 (hildon_note_init): connect note "show" event to on_show_cb
9 (hildon_note_realize): remove the connection to "expose-event"
11 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
12 device?' confirmation note)
14 2009-05-08 Alberto Garcia <agarcia@igalia.com>
16 * hildon/hildon-note.c
17 (hildon_note_new_information_with_icon_name)
18 (hildon_note_new_confirmation_with_icon_name):
19 Terminate the list of parameters in g_object_set() calls
21 Fixes: NB#115166 (Formatting memory card is not taking place)
23 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
25 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
26 "dialog-information" role for the sound being played.
28 2009-05-06 Alberto Garcia <agarcia@igalia.com>
30 * hildon/hildon-app-menu.c (hildon_app_menu_init):
31 Don't make the menu a modal window, it causes strange interactions
32 with the pointer grab and it's not really needed.
34 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
36 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
38 * hildon/hildon-touch-selector.[ch]
39 (hildon_touch_selector_optimal_size_request): function added to get a
40 optimal size request from the touch selector, when you want a dialog to
41 show as much of the selector
42 * hildon/hildon-picker-dialog.c:
43 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
44 (hildon_app_menu_class_init):
45 New "max-height-landscape" and "max-height-portrait" style properties
46 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
47 (hildon_picker_dialog_get_max_height): returns the maximum height using
48 the style properties defined and checking the current portrait/landscape
50 (_hildon_picker_dialog_set_selector): removed the set_size_request
52 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
54 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
56 * hildon/hildon-bread-crumb-trail.c:
57 * hildon/hildon-bread-crumb.c:
58 * hildon/hildon-seekbar.c:
59 Add reference to replacements for these deprecated widgets.
61 Fixes: MB#4461 (Documentation: All deprecations should mention
64 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
66 * examples/hildon-remote-texture-example.c
68 Change the include to the hildon-remote-texture in order to compile
69 properly the examples on the installed libhildon1-examples package
71 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
73 * tests/Makefile.am: Add check for HildonPickerButton.
74 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
75 (START_TEST), (create_hildon_picker_button_suite): Add three simple
76 checks for the HildonPickerButton.
77 * tests/check_test.c (configure_tests): Add the test suite.
78 * tests/test_suites.h: likewise.
80 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
82 * hildon/hildon-touch-selector.c
83 (+on_row_changed): Emit HildonTouchSelector:changed when the
84 contents of a selected row change.
85 (_create_new_column), (_hildon_touch_selector_set_model): connect
86 to GtkTreeModel:row-changed on a newly set model.
88 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
90 2009-05-05 Alberto Garcia <agarcia@igalia.com>
92 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
94 * hildon/hildon-banner.c (hildon_banner_destroy)
95 (hildon_banner_show_progress, hildon_banner_set_fraction):
96 Remove the progress bar from HildonBanner and use a progress
99 Fixes: NB#113761 (Update progress banner to use progress
102 2009-05-04 Alberto Garcia <agarcia@igalia.com>
104 * hildon/hildon-banner.c:
105 Calculate size of the banner label using the actual screen width
106 rather than using a fixed value.
108 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
111 2009-05-04 Alejandro G. Castro <alex@igalia.com>
113 * hildon/hildon-pannable-area.c,
114 (hildon_pannable_area_class_init): Fixed signals documentation
117 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
119 * configure.ac: post release version bump
120 * debian/changelog: post release version bump
122 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
127 * configure.ac: Bump version.
128 * debian/changelog: Updates.
130 2009-05-01 Alberto Garcia <agarcia@igalia.com>
132 * hildon/hildon-edit-toolbar.c
133 (hildon_edit_toolbar_init):
134 Don't let buttons in HildonEditToolbar receive focus.
136 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
137 typing on an HW arrows key)
139 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
141 * doc/Makefile.am: Fix build.
143 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
145 * doc/Makefile.am: Do not redefine content_files.
147 2009-04-30 Alberto Garcia <agarcia@igalia.com>
155 Renamed src/ to hildon/
160 Include <hildon/hildon.h> directly in all examples.
162 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
164 * src/hildon-sort-dialog.c
165 (hildon_sort_dialog_add_sort_key_with_sorting)
169 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
171 * src/Makefile.am: Move generated sources to CLEANFILES, so that
172 make distcheck passes.
174 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
176 * Makefile.am: Enable gtk-doc during distcheck.
178 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
180 * Makefile.am: Do not distribute the debian/ directory.
182 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
184 * doc/Makefile.am: Add the extra SGML files to content_files,
185 so that they are distributed properly.
187 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
189 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
192 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
194 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
195 (hildon_note_new_information_with_icon_name): Set the "icon" property
196 to preserve soundness.
198 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
200 * src/hildon-font-selection-dialog.c
201 (hildon_font_selection_dialog_set_property): Fail when the "family"
202 property is set to NULL.
204 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
206 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
209 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
211 * src/hildon-time-selector.h:
212 Added HildonTimeSelectorFormatPolicy
213 * src/hildon-time-selector.c:
214 Added PROP_TIME_FORMAT_POLICY
215 (_check_ampm_format): renamed to check_automatic_ampm_format
216 (update_format_policy), (update_format_dependant_columns): new functions
217 (hildon_time_selector_class_init)
218 (hildon_time_selector_contructor)
219 (hildon_time_selector_init)
220 (hildon_time_selector_get_property)
221 (hildon_time_selector_set_property)
222 (hildon_time_selector_get_time)
223 (hildon_time_selector_set_time)
224 * src/hildon-touch-selector.h: new file
225 * src/hildon-touch-selector.c
226 (hildon_touch_selector_emit_changed)
227 (hildon_touch_selector_block_changed)
228 (hildon_touch_selector_unblock_changed)
229 Added functions to allow to block the emission of the "changed" signal
230 * src/hildon-picker-dialog.c
231 (hildon_picker_dialog_show): call the parent show before the custom code
232 * examples/hildon-time-button-example.c
233 Modified, so now you can configure the time format using the new property
235 Added a new property "time-format-policy" that allow to choose the time
236 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
237 case it uses gconf in order to check if the time selector must use
240 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
243 2009-04-28 Alberto Garcia <agarcia@igalia.com>
245 * src/hildon-note.c (hildon_note_init):
246 Label in HildonNote must be left aligned, not centered. This
247 reverts the last commit in HildonNote.
249 Fixes: NB#112933 (text is not left aligned in confirmation dialog
250 is connectivity dialog)
252 2009-04-27 Alberto Garcia <agarcia@igalia.com>
257 * doc/hildon-sections.txt:
258 Added hildon_gtk_window_set_do_not_disturb()
260 2009-04-27 Alberto Garcia <agarcia@igalia.com>
262 * src/hildon-note.c (hildon_note_init): Center label.
264 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
267 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
272 * configure.ac: Bump version.
273 * debian/changelog: Updates.
275 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
277 * src/hildon-note-private.h: Add button-width to the private data.
278 * src/hildon-note.c (+resize_button),
279 (+hildon_note_orientation_update): methods to repack widgets on orientation
281 (screen_size_changed): Call above method for confirmation notes.
282 (hildon_note_realize): Always connect to the "screen-size" changed signal.
283 (hildon_note_rebuild): Store the original width request from buttons.
285 Fixes: NB#109635 (Confirmation notes do not support portrait)
287 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
289 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
290 when it is a progress note.
292 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
294 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
295 in the note, since there are no horizontally arranged contents.
297 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
299 * src/hildon-gtk.c (+set_flag): new generic method to
300 set/delay a flag setting in a window.
301 (hildon_gtk_window_set_progress_indicator):
302 (hildon_gtk_window_set_do_not_disturb),
303 (hildon_gtk_window_set_portrait_flags): use set_flag() to
304 avoid code redundance.
306 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
308 Based on a patch by Alberto Garcia (agarcia@igalia.com)
310 * src/hildon-gtk.c (set_clear_window_flag),
311 (do_set_progress_indicator), (do_set_do_not_disturb),
312 (do_set_portrait_flags),
313 (hildon_gtk_window_set_progress_indicator),
314 (hildon_gtk_window_set_do_not_disturb),
315 (hildon_gtk_window_set_portrait_flags):
316 Allow setting dnd-flag, progress indicator, and portrait flags
317 when the window is not realized.
319 2009-04-24 Alejandro G. Castro <alex@igalia.com>
321 * src/hildon-pannable-area.c,
322 * src/hildon-pannable-area.h: Add the hildon deprecated define to
323 the size request policy function and defines.
325 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
327 * doc/hildon-sections.txt: Add the new API.
328 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
329 method to set the portrait flags.
330 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
332 Fixes: NB#112328 (Adding helpers for setting portrait properties)
334 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
336 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
337 to allow using this method with other flags.
338 (hildon_gtk_window_set_progress_indicator): Update accordingly.
339 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
341 2009-04-22 Alberto Garcia <agarcia@igalia.com>
343 * src/hildon-touch-selector.c
344 (hildon_touch_selector_append_text_column):
345 Make the cell renderer use the smallest width possible.
347 Fixes: NB#108470 (Selected items in multiple selection are either
348 having a tick that is cut or not visible at all.)
350 2009-04-22 Alberto Garcia <agarcia@igalia.com>
352 * src/hildon-touch-selector.c
353 (hildon_touch_selector_append_text_column):
356 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
358 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
359 Use g_strdup_printf() instead of a fixed size buffer.
361 2009-04-21 Alberto Garcia <agarcia@igalia.com>
363 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
364 Close banners when a HildonAppMenu is popped up.
366 Fixes: NB#111027 (Title menu closed immediately if activated when
367 "Invalid e-mail address" banner is shown)
369 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
374 * configure.ac: Bump version.
375 * debian/changelog: Updates.
377 2009-04-20 Alberto Garcia <agarcia@igalia.com>
379 * src/hildon-banner.c (hildon_banner_realize):
380 Mark HildonBanner as supporting portrait mode.
381 Use GDK to set window properties insetad of direct Xlib calls.
383 Fixes: NB#111830 (HildonBanner should be marked as supporting
386 2009-04-20 Alberto Garcia <agarcia@igalia.com>
388 * src/hildon-note.c (hildon_note_rebuild):
389 Hide action area in information notes. Prevents text from being
390 slightly aligned to the left.
392 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
395 2009-04-20 Alberto Garcia <agarcia@igalia.com>
397 Patch by Mox Soini (ext-mox.soini@nokia.com)
399 * src/hildon-banner.c (hildon_banner_create_animation):
400 Use stylus-sized icons in animation banner.
402 Fixes: NB#111206 (stylus sized icon for animation banner)
404 2009-04-20 Alberto Garcia <agarcia@igalia.com>
408 (+hildon_gtk_window_set_do_not_disturb):
409 New API to set the do-not-disturb flag.
411 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
413 2009-04-20 Alberto Garcia <agarcia@igalia.com>
415 * examples/hildon-progress-indicator-example.c: Fix example
417 * src/hildon-gtk.c (set_clear_window_flag)
418 (hildon_gtk_window_set_progress_indicator):
419 Create a generic function for setting flags to a window.
420 Use GDK instead of direct Xlib calls.
422 2009-04-14 Alberto Garcia <agarcia@igalia.com>
424 * src/hildon-button.c (hildon_button_set_arrangement):
425 Due to NB#88126, if one of the labels is too long it will be
426 painted outside the button. The 'value' label is more likely to be
427 the longest one, so we change its packing options in order to
428 truncate it if necessary. As a side effect, the 'title' label will
429 no longer be truncated.
431 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
433 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
438 * configure.ac: Bump version.
439 * debian/changelog: Updates.
441 2009-04-13 Alejandro G. Castro <alex@igalia.com>
443 Deprecation of the hildon_pannable_area_set_size_request_policy
444 API, the only policy properly supported in gtk+ nowadays is the
447 * src/hildon-pannable-area.c,
448 (hildon_pannable_area_size_request): Added a workaround for the
449 size_request to avoid the problems of huge pixmaps in case someone
450 is still using the function.
451 * src/hildon-pannable-area.h: Deprecated the enum with the
454 Fixes: NB#110244 (Problems with the
455 hildon_pannable_area_set_size_request_policy API)
457 2009-04-08 Alejandro G. Castro <alex@igalia.com>
459 * src/hildon-pannable-area.c,
460 (hildon_pannable_area_init),
461 (hildon_pannable_area_size_request),
462 (hildon_pannable_area_style_set),
463 (hildon_pannable_draw_vscroll),
464 (hildon_pannable_draw_hscroll),
465 (hildon_pannable_area_check_scrollbars): Replaced area_width with
466 indicator_width to clarify the use of the attribute.
468 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
473 * configure.ac: Bump version.
474 * debian/changelog: Updates.
476 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
478 * src/hildon-picker-dialog.c
479 * src/hildon-touch-selector.c
480 Reverting the change that tried to avoid the hardcoded height on
481 the picker dialog, as causes problems on the hildon-touch-selector
484 Fixes: NB#110029 (selectors not scrolling to selected value)
486 2009-04-07 Alberto Garcia <agarcia@igalia.com>
488 * src/hildon-touch-selector.c: Fix typos
490 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
492 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
493 Use the event coordinates instead of gdk_window_get_pointer(). Also,
494 request more motions after using it.
496 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
498 * src/hildon-calendar.c (hildon_calendar_expose),
499 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
500 Remove unused variables.
502 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
504 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
507 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
509 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
510 Check the return value of gtk_tree_selection_get_selected()
513 2009-04-06 Alberto Garcia <agarcia@igalia.com>
515 * src/hildon-animation-actor.c
516 * src/hildon-button.c
518 * src/hildon-pannable-area.c
519 * src/hildon-picker-button.c
520 * src/hildon-program.c
521 * src/hildon-remote-texture.c
522 * src/hildon-text-view.c
523 * src/hildon-touch-selector.c
524 * src/hildon-window-stack.c
525 * src/hildon-window.c:
526 Add missing 'Since: 2.2' tags.
528 * doc/hildon-sections.txt:
529 Add some missing symbols.
531 * doc/hildon-docs.sgml:
532 New 'Other' section for HildonAnimationActor and
535 2009-04-06 Alberto Garcia <agarcia@igalia.com>
537 Patch by Iván Gómez (igomez@igalia.com)
541 * doc/hildon-docs.sgml
542 * doc/hildon-sections.txt
546 New chapters on using the Hildon library.
547 Updated the general structure of the reference manual.
548 Other minor documentation fixes.
550 * src/hildon-calendar-popup.c
551 * src/hildon-calendar.c
552 * src/hildon-controlbar.c
553 * src/hildon-date-editor.c
554 * src/hildon-dialog.c
555 * src/hildon-hvolumebar.c
556 * src/hildon-number-editor.c
557 * src/hildon-range-editor.c
558 * src/hildon-sort-dialog.c
559 * src/hildon-time-editor.c
560 * src/hildon-time-picker.c
561 * src/hildon-volumebar-range.c
562 * src/hildon-volumebar.c
563 * src/hildon-vvolumebar.c
564 * src/hildon-weekday-picker.c:
565 Add deprecation notes
567 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
568 Document 'horizontal-movement' and 'vertical-movement' signals.
570 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
575 * configure.ac: Bump version.
576 * debian/changelog: Updates.
578 2009-04-06 Alejandro G. Castro <alex@igalia.com>
580 * src/hildon-pannable-area.c,
581 (hildon_pannable_area_class_init): increased the minimum velocity.
582 (hildon_pannable_area_button_release_cb): Updated the
583 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
584 setup. Review the code to control that last event.
586 Fixes: NB#109790 (Releasing finger in pannable area easily causes
589 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
591 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
593 * src/hildon-get-password-dialog.c
594 (hildon_get_password_set_property),
595 (hildon_get_password_get_property), (create_contents):
596 * src/hildon-login-dialog-private.h:
597 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
598 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
599 (hildon_login_dialog_get_password):
600 * src/hildon-set-password-dialog-private.h:
601 * src/hildon-set-password-dialog.c
602 (hildon_set_password_set_property),
603 (hildon_set_password_get_property), (create_contents),
604 (hildon_set_password_response_change),
605 (hildon_set_password_response_set), (hildon_checkbox_toggled):
607 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
608 instead and look more Fremantle style.
610 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
612 2009-04-03 Alberto Garcia <agarcia@igalia.com>
614 * doc/hildon-sections.txt
615 * src/hildon-window-stack.h
616 * src/hildon-window-stack.c
617 (+hildon_window_stack_get_windows):
618 New API to obtain the list of windows on a stack.
620 2009-04-02 Alberto Garcia <agarcia@igalia.com>
622 * src/hildon-app-menu.c (hildon_app_menu_popup)
623 (hildon_app_menu_class_init, -hildon_app_menu_show):
624 Remove hildon_app_menu_show() and move all its checks to
625 hildon_app_menu_popup()
627 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
629 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
630 (_hildon_picker_dialog_set_selector): removed call to
631 gtk_widget_set_size_request
632 * src/hildon-touch-selector.c
633 (_create_new_column): change the pannable size request policy
635 Avoid to use a hardcoded height for the hildon picker dialog. In order
636 to get that, we needed to change the hildon pannable size request
638 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
640 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
642 * src/hildon-window.c (hildon_window_map): Check for vbox to be
643 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
646 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
648 * debian/control: Depend on osso-system-lock localization package.
649 * src/hildon-code-dialog.c: Obtain the secu_application_title
650 translation from osso-system-lock.
651 * src/hildon-get-password-dialog.c (create_contents): Do not mark
652 for translation the atk related strings, that's not necessary.
653 * src/hildon-set-password-dialog.c (create_contents): Ditto.
654 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
655 cancel button, it is not required.
657 2009-04-02 Alejandro G. Castro <alex@igalia.com>
659 * src/hildon-pannable-area.c,
660 (hildon_pannable_area_class_init): Modified the default value of
661 the overshooting max speed, we have reduced it.
663 2009-04-02 Alberto Garcia <agarcia@igalia.com>
665 * doc/hildon-sections.txt
666 * src/hildon-window-private.h
667 * src/hildon-window.h
668 * src/hildon-window.c (hildon_window_class_init)
669 (hildon_window_init, hildon_window_finalize)
670 (hildon_window_realize, hildon_window_get_property)
671 (hildon_window_set_property, hildon_window_update_markup)
672 (hildon_window_get_markup, hildon_window_set_markup):
673 New "markup" property and hildon_window_{get,set}_markup() methods.
675 * examples/hildon-stackable-window-example.c (new_window):
676 Update example to use hildon_window_set_markup()
678 Fixes: NB#106375 (Need API to retitle a window with a title
681 2009-04-01 Alejandro G. Castro <alex@igalia.com>
683 * src/hildon-pannable-area.c,
684 (hildon_pannable_area_class_init): Changed the default value of
685 the initial_hint to TRUE.
686 (hildon_pannable_area_initial_effect): Changed the initial effect,
687 not the effect is just the fade-out of the scrollbars.
689 Fixes: NB#107775 (No scrollbars can be seen when several items are
690 available in a dialog)
692 2009-04-01 Alberto Garcia <agarcia@igalia.com>
694 * src/hildon-program.c (hildon_program_update_top_most):
697 Fixes: NB#109179 (Memory leak in Hildon program)
699 2009-04-01 Alberto Garcia <agarcia@igalia.com>
701 * src/hildon-banner.c (-get_current_app_window):
702 Remove unused function.
704 2009-04-01 Alejandro G. Castro <alex@igalia.com>
706 * src/hildon-pannable-area.c: Modified the documentation of the
707 get adjustments functions to explain the problem of using the
709 (hildon_pannable_area_class_init): Improved the explanation about
712 2009-04-01 Alberto Garcia <agarcia@igalia.com>
714 * src/hildon-app-menu-private.h
715 * src/hildon-app-menu.c
716 (hildon_app_menu_class_init):
717 Bring back the 'external-border' style property
718 (hildon_app_menu_class_init, hildon_app_menu_init)
719 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
720 Set a fixed width-request for the menu, independent of the number
723 Fixes: NB#94957 (Smoothly opened application menu)
725 2009-03-30 Alberto Garcia <agarcia@igalia.com>
727 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
729 * src/hildon-banner.c
730 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
732 Make sure that the banner is correctly placed the first time it's
734 (hildon_banner_check_position, -check_fullscreen_state):
735 Show the banner in the same place no matter if the window is in
736 fullscreen mode or not.
738 Fixes: NB#107386 (Odd stacking behaviour for information banners)
740 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
742 * src/hildon-touch-selector.c (_default_print_func): reorder
743 concatenation for clarity.
745 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
747 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
748 for multicolumn selectors.
750 Fixes: NB#109099 (Memory leak in Hildon touch selector)
752 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
757 * configure.ac: Bump version.
758 * debian/changelog: Updates.
760 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
762 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
765 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
767 * configure.ac: removed libcangerra-gtk dependency
768 * debian/control: removed libcanberra-gtk dependency
769 * src/Makefile.am: removed libcanberra gtk related flags
770 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
771 context, and manage a global canberra context instead
773 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
775 2009-03-26 Alberto Garcia <agarcia@igalia.com>
777 Patch by Daniel Borgmann (danielb@openismus.com)
779 * src/hildon-edit-toolbar.c:
780 Adjust the left padding.
781 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
782 Paint background of the edit toolbar.
784 Fixes: NB#107897 (Patch to make editmodetoolbar background
785 themeable and adjust margin)
787 2009-03-25 Alberto Garcia <agarcia@igalia.com>
789 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
791 * src/hildon-program.c (hildon_program_update_top_most):
792 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
794 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
795 change when the user tasks in/out of an application)
797 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
799 * configure.ac: added libcangerra-gtk dependency
800 * debian/control: added libcanberra-gtk dependency
801 * src/Makefile.am: added libcanberra gtk related flags
802 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
805 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
807 2009-03-25 Alberto Garcia <agarcia@igalia.com>
809 * src/hildon-program.c (hildon_program_remove_window)
810 (hildon_program_add_window): Add checks for the window
811 parameter. Don't decrease the window counter if the window is not
814 2009-03-24 Alejandro G. Castro <alex@igalia.com>
816 * src/hildon-pannable-area.c,
817 (hildon_pannable_area_realize): Fixed position of the event_window
818 in the realize method.
820 2009-03-24 Alberto Garcia <agarcia@igalia.com>
822 * src/hildon-app-menu-private.h
823 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
824 (hildon_app_menu_map, hildon_app_menu_hide_idle)
825 (hildon_app_menu_key_press, hildon_app_menu_init)
826 (hildon_app_menu_finalize):
827 Make sure that all idle functions are removed when the widget is
830 Fixes: NB#107583 (Hildon app menu crashes in various applications)
832 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
837 * configure.ac: Bump version.
838 * debian/changelog: Updates.
840 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
843 (+hildon_entry_show_placeholder),
844 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
845 that replace hildon_entry_update_contents().
846 (hildon_entry_set_text),
847 (hildon_entry_set_placeholder),
848 (hildon_entry_focus_in_event),
849 (hildon_entry_focus_out_event): Determine when it is needed
850 either to show or hide the placeholder and call the above methods.
852 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
853 when the placeholder text is already set)
855 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
857 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
858 simple GdkPixbufAnim using the new icons for the banner.
859 (hildon_banner_show_animation): Use the above mentioned method to
860 create the animation widget.
862 Fixes: NB#103564 (Make hildon animation banner use individual
863 image files as the animation)
865 2009-03-24 Alejandro G. Castro <alex@igalia.com>
867 * src/hildon-pannable-area.c,
868 (hildon_pannable_leave_notify_event): Check if the child is NULL
869 to avoid sending the leave.
871 2009-03-24 Alejandro G. Castro <alex@igalia.com>
873 * src/hildon-pannable-area.c,
874 (hildon_pannable_area_class_init),
875 (hildon_pannable_leave_notify_event): Added a handler of the
876 leave-notify-signal to consider when no motion notify before
879 Fixes: NB#107494 (Items stay selected when clicking and moving
880 away when inside pannable area)
882 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
887 * configure.ac: Bump version.
888 * debian/changelog: Updates.
890 2009-03-19 Alejandro G. Castro <alex@igalia.com>
892 Patch by Alberto Garcia (agarcia@igalia.com)
894 * src/hildon-date-button.c,
895 (hildon_date_button_class_init),
896 (hildon_date_button_init): Removed the construct property handling
897 and created a default selector in the init method.
898 * src/hildon-picker-button.c,
899 (hildon_picker_button_class_init): Removed the construct flag of the
902 2009-03-18 Alberto Garcia <agarcia@igalia.com>
904 * src/hildon-main.c (hildon_init):
905 Don't allow hildon_init() to be called more than once.
907 Fixes: NB#106607 (hildon_init should issue error message upon
910 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
912 * examples/hildon-pannable-area-touch-list-example.c
913 * examples/hildon-pannagle-area-touch-grid-example.c
914 * examples/hildon-edit-toolbar-example.c
915 * examples/hildon-touch-selector-multi-cells-example.c
916 Removed the call to gtk_rc_parse_string, as it is not required since
919 2009-03-17 Alejandro G. Castro <alex@igalia.com>
921 * src/hildon-pannable-area.c,
922 (hildon_pannable_area_class_init): Modified the default panning
923 threshold of the widget to 6px.
925 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
926 than the threshold value ) within the button is not sending the
929 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
931 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
932 for the treeview in the new column. This way, the touch list will never
935 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
936 be selected manually for the HW keys to work)
938 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
940 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
941 comparison instead of using strcmp(). Fixes a compiler warning as well.
943 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
945 * doc/hildon-docs.sgml: Do not set the library version in the
946 document title, use the releaseinfo tag for that purpose instead.
948 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
950 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
951 Do not jump to the first item if the text in the entry is removed.
953 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
958 * configure.ac: Bump version.
959 * debian/changelog: Updates.
961 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
963 * src/hildon-entry.c (hildon_entry_refresh_contents):
964 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
965 Use "ReversedSecondaryTextColor" for the placeholder text.
967 2009-03-12 Alberto Garcia <agarcia@igalia.com>
969 * src/hildon-text-view.c: Fix compilation warning.
971 2009-03-12 Alberto Garcia <agarcia@igalia.com>
973 * src/hildon-button.c (hildon_button_class_init): Don't make
974 "title" and "value" construction properties, to prevent them from
975 overwriting labels set from derived classes.
977 * src/hildon-picker-button.c
978 (hildon_picker_button_set_selector): Allow setting a NULL selector.
979 (hildon_picker_button_class_init): Make touch-selector a
980 construction property.
982 * src/hildon-date-button.c (hildon_date_button_class_init)
983 (+hildon_date_button_constructed): Add a default date selector if
986 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
988 * src/hildon-touch-selector.c: Small documentation fixes.
990 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
992 Based on a patch by Daniel Borgmann (danielb@openismus.com)
994 * src/hildon-entry.c (hildon_entry_refresh_contents),
995 (hildon_entry_get_text), (hildon_entry_init): Do not use the
996 widget name, set the logical color directly instead and a boolean
997 showing_placeholder instead.
998 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
999 use the widget name here either.
1001 Fixes: NB#105678 (HildonTextView should use logical colours
1002 instead of setting widget name)
1004 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1006 Patch by Daniel Elster (danielk@openismus.com)
1008 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1009 Add user_data parameter.
1010 (hildon_touch_selector_set_print_func_full): New function akin
1011 hildon_touch_selector_set_print_func() but with support for user
1012 data and a destroy callback.
1013 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1014 to clean up the print function user data.
1015 (hildon_touch_selector_class_init): Install dispose function.
1016 (HildonTouchSelectorPrivate::print_user_data),
1017 (HildonTouchSelectorPrivate::print_destroy_func): New private
1019 (hildon_touch_selector_init): Initialize new private members.
1020 (hildon_touch_selector_get_current_text): Pass along user data
1021 to the print function.
1022 (_default_print_func): Add dummy user_data to parameter list.
1023 * hildon-date-selector.c (_custom_print_func): ditto,
1024 * hildon-time-selector.c (_custom_print_func): ditto,
1025 * hildon-touch-selector-entry.c
1026 (hildon_touch_selector_entry_print_func): ditto.
1028 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1030 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1032 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1034 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1036 * src/hildon-pannable-area.c,
1037 (hildon_pannable_area_init),
1038 (hildon_pannable_area_button_press_cb),
1039 (hildon_pannable_area_motion_notify_cb): We have added code to
1040 handle the leave and enter events when using the motion events.
1042 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1044 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1046 * src/hildon-date-button.c (hildon_date_button_get_date)
1047 (hildon_date_button_set_date): Make sure that the button has a
1050 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1052 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1054 * src/hildon-pannable-area.c,
1055 (hildon_pannable_area_class_init),
1056 (hildon_pannable_area_calculate_velocity): Modify the use of the
1057 force and adapt the value.
1059 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1061 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1062 (hildon_app_menu_class_init): Hide the menu if it receives a
1063 delete-event, but don't destroy it
1065 Fixes: NB#104485 (Not able to address the call when application
1066 menu is opened at background)
1068 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1070 * src/hildon-app-menu.c
1071 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1072 Remove the "external-border" style property, let the menu take its
1073 natural size (or the one set by the window manager)
1074 (hildon_app_menu_repack_items):
1075 Don't reshow the menu, avoid flickers.
1077 Partially fixes NB#94957 (Smoothly opened application menu)
1079 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1084 * configure.ac: Bump version.
1085 * debian/changelog: Updates.
1087 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1089 * src/hildon-pannable-area.c,
1090 (hildon_pannable_area_motion_notify_cb): We control that the
1091 direction error margin is used just in case the movement is
1092 allowed in the other direction.
1094 Fixes: NB#105012 (buttons inside a pannable area not getting
1095 release event when dragging/releasing)
1097 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1099 * src/hildon-pannable-area.c,
1100 (hildon_pannable_area_class_init),
1101 (hildon_pannable_area_get_property),
1102 (hildon_pannable_area_set_property),
1103 (hildon_pannable_area_initial_effect),
1104 (hildon_pannable_axis_scroll),
1105 (hildon_pannable_area_button_release_cb): Reviewed the
1106 overshooting effect, now it has its own max
1107 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1108 speed when bouncing.
1110 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1115 * configure.ac: Bump version.
1116 * debian/changelog: Updates.
1118 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1120 * src/hildon-pannable-area.c,
1121 (hildon_pannable_area_class_init): Changed the max speed, now
1122 users can launch the widget very fast. Reduced the default force,
1123 that way it is easier to control the launch speed.
1125 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1127 * src/hildon-pannable-area.c,
1128 (hildon_pannable_area_button_release_cb): Removed this check
1129 because it causes problems when the device is overloaded.
1131 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1133 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1134 add a current_text field to store the text entered in the
1135 touch selector entry.
1136 (_clean_current_selection): clean up the current text as well.
1137 (_save_current_selection), (_restore_current_selection):
1138 Save/restore the text in the entry if the selector is a
1139 HildonTouchSelectorEntry.
1141 Fixes: NB#102541 (value entered in the touch selector entry is not
1142 shown when opened for second time)
1144 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1146 * doc/hildon-sections.txt:
1147 * src/hildon-touch-selector-entry.c
1148 (+hildon_touch_selector_entry_get_entry):
1149 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1151 Fixes: NB#104815 (I need accessor to the entry inside
1152 HildonTouchSelectorEntry)
1154 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1156 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1157 (hildon_app_menu_class_init):
1158 New "filter-vertical-spacing" style property.
1160 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1162 * src/hildon-find-toolbar.c
1163 (hildon_find_toolbar_emit_close)
1164 (hildon_find_toolbar_emit_invalid_input)
1165 (hildon_find_toolbar_entry_activate):
1166 Use g_signal_emit() instead of g_signal_emit_by_name()
1168 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1170 Patch by Mox Soini (ext-mox.soini@nokia.com)
1172 * tests/TEST-CASES.txt
1173 * tests/check-hildon-banner.c
1174 * tests/check-hildon-note.c
1175 * src/hildon-banner.c
1176 * src/hildon-code-dialog.c
1177 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1178 * src/hildon-time-editor.c
1179 * examples/hildon-lookup-example.c (main):
1180 Replace obsolete icon names with new ones.
1182 * src/hildon-find-toolbar-private.h:
1183 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1184 (-hildon_find_toolbar_emit_search):
1185 Remove find button and change icon of close button.
1187 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1189 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1191 * src/hildon-time-button.c (hildon_time_button_new_step):
1192 Use the "touch-selector" property to set the selector directly
1193 when creating the object.
1195 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1197 Added a new example application that allows tuning the pannable
1198 area and replaced defines with properties in order to simplify the
1199 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1200 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1201 PROP_DIRECTION_ERROR_MARGIN.
1203 * examples/hildon-pannable-area-tuning-example.c: New example
1205 * src/hildon-pannable-area.c,
1206 (hildon_pannable_area_class_init),
1207 (hildon_pannable_area_init),
1208 (hildon_pannable_area_get_property),
1209 (hildon_pannable_area_set_property),
1210 (hildon_pannable_area_launch_fade_timeout),
1211 (hildon_pannable_area_adjust_value_changed),
1212 (hildon_pannable_axis_scroll),
1213 (hildon_pannable_area_motion_notify_cb),
1214 (hildon_pannable_area_scroll_cb),
1215 (hildon_pannable_area_button_release_cb): We have converted some
1216 of the defines that control the widget to properties to simplify
1219 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1221 * src/hildon-app-menu.c (hildon_app_menu_map)
1222 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1223 so it's closed if a new window appears.
1225 Fixes: NB#104485 (Not able to address the call when application
1226 menu is opened at background)
1228 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1230 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1231 missing 'break' statement in in 'case' construct to avoid
1234 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1236 * src/hildon-touch-selector-entry.c
1237 (hildon_touch_selector_entry_get_property),
1238 (hildon_touch_selector_entry_set_property): Add missing 'break'
1239 statements in in 'case' constructs to avoid incorrect warnings.
1241 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1243 * src/hildon-time-editor.c
1244 (hildon_time_editor_get_time_separators): Do not crash if
1245 the first label is NULL.
1247 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1249 * src/hildon-date-selector.c (_month_days): Check for month to be
1250 strictly less than 12, since otherwise we may overrun the array.
1252 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1254 * src/hildon-date-button.c (+hildon_date_button_new_full)
1255 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1256 (hildon_date_button_init): Set the date selector using a
1257 construction property, to make it happen after HildonButton's
1258 "value" property is set.
1260 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1261 current date by default)
1263 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1265 * doc/hildon-sections.txt
1266 * src/hildon-program.c
1267 * src/hildon-stackable-window.c
1268 * src/hildon-window.c:
1269 Documentation updates
1271 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1273 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1274 (hildon_window_stack_new, +hildon_window_stack_set_property)
1275 (+hildon_window_stack_get_property)
1276 (hildon_window_stack_class_init)
1277 (+hildon_window_stack_set_window_group)
1278 (+hildon_window_stack_get_window_group):
1279 Make the window group a construction property.
1281 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1283 * doc/hildon-sections.txt
1284 * src/hildon-stackable-window-private.h
1285 * src/hildon-stackable-window.h
1286 * src/hildon-stackable-window.c
1287 (-hildon_stackable_window_set_app_menu)
1288 (-hildon_stackable_window_get_app_menu)
1289 (-hildon_stackable_window_toggle_menu)
1290 (-hildon_stackable_window_finalize)
1291 (hildon_stackable_window_class_init)
1292 (hildon_stackable_window_init)
1293 * src/hildon-window-private.h
1294 * src/hildon-window.h
1295 * src/hildon-window.c (hildon_window_init)
1296 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1297 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1298 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1299 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1300 Moved all HildonAppMenu code to HildonWindow. The menu does not
1301 require a HildonStackableWindow anymore.
1303 * src/hildon-app-menu.c
1304 * src/hildon-program.c
1305 * examples/hildon-app-menu-example.c (main):
1306 Update examples and documentation to reflect HildonAppMenu
1309 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1311 * src/hildon-remote-texture.c
1312 * src/hildon-animation-actor.c:
1313 Don't include unused private headers.
1315 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1317 * src/hildon-program-private.h
1318 * src/hildon-program.c
1319 (hildon_program_set_common_menu)
1320 (hildon_program_get_common_menu)
1321 (hildon_program_set_common_app_menu)
1322 (hildon_program_get_common_app_menu):
1323 Change common menu pointers from GtkWidget* to GtkMenu* and
1324 HildonAppMenu* to avoid unnecessary casts.
1326 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1328 * src/hildon-window.c (hildon_window_set_main_menu):
1329 Removed incorrect 'Since:' tag
1331 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1333 * src/hildon-pannable-area.c,
1334 (hildon_pannable_area_calculate_velocity): We use now the
1335 RATIO_TOLERANCE here to check the distance, fixed typo in the
1337 (hildon_pannable_area_motion_notify_cb): We have to set the type
1338 and time even if we are not sending the motion.
1340 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1342 * doc/hildon-sections.txt
1343 * src/hildon-app-menu.h
1344 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1345 (+hildon_app_menu_get_filters): New methods to get the contents of
1348 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1351 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1353 * src/hildon-app-menu.c (hildon_app_menu_popup):
1356 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1358 * src/hildon-window.h
1359 * src/hildon-window.c (+hildon_window_get_main_menu)
1360 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1361 and deprecated hildon_window_get_menu().
1363 * src/hildon-stackable-window.h
1364 * src/hildon-stackable-window.c
1365 (+hildon_stackable_window_set_app_menu)
1366 (+hildon_stackable_window_get_app_menu)
1367 (hildon_stackable_window_set_main_menu): Created
1368 hildon_stackable_window_{get,set}_app_menu() and deprecated
1369 hildon_stackable_window_set_main_menu().
1371 * doc/hildon-sections.txt
1372 * examples/hildon-app-menu-example.c (main)
1373 * src/hildon-app-menu.c
1374 * src/hildon-program.c:
1375 Updated examples and documentation.
1377 Fixes: NB#103758 (No way to obtain a menu from a
1378 HildonStackableWindow)
1380 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1385 * configure.ac: Bump version.
1386 * debian/changelog: Updates.
1388 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1390 * examples/hildon-remote-texture-example.c: Include
1391 hildon-remote-texture.h explicitely.
1392 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1393 applications not defining _XOPEN_SOURCE which don't require this header.
1395 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1397 * doc/hildon-sections.txt
1398 * src/hildon-app-menu.h
1399 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1400 New function to pop up a HildonAppMenu
1402 * src/hildon-stackable-window.c
1403 (hildon_stackable_window_toggle_menu):
1404 Use hildon_app_menu_popup() to show the menu.
1406 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1408 * src/hildon-app-menu.c (hildon_app_menu_show)
1409 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1410 menu if there's another window between it and its parent window.
1412 Fixes: NB#100468 (Application menu window is launched even when a
1413 new secondary-window/dialog is pending to be shown/realized)
1415 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1417 * src/hildon-window-stack.c (hildon_window_stack_push)
1418 (hildon_window_stack_pop_and_push):
1419 Don't forget to push/pop the first window.
1420 Reverse the window list before calling _push_list()
1422 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1424 * src/hildon-picker-button.h
1425 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1426 Remove "value_changed" slot to avoid ABI breakage
1428 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1430 * src/hildon-pannable-area.c,
1431 (hildon_pannable_area_realize),
1432 (hildon_pannable_area_unrealize),
1433 (hildon_pannable_draw_vscroll),
1434 (hildon_pannable_draw_hscroll): Changed the method to handle the
1435 GC used to draw the transparent scrollbar, this way we avoid
1436 creating the GC all the time when drawing the scrollbars.
1438 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1440 * src/hildon-pannable-area.c,
1441 (hildon_pannable_area_init),
1442 (hildon_pannable_area_remove): Removed some unnecessary casts.
1443 (hildon_pannable_area_dispose): Disconnected some signals before
1444 releasing the adjustments.
1446 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1448 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1449 Make sure that all widgets contained in the toolbar are shown.
1451 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1453 * doc/hildon-sections.txt
1454 * src/hildon-picker-button.h
1455 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1456 (_selection_changed, hildon_picker_button_on_dialog_response)
1457 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1458 New hildon_picker_button_value_changed() method.
1461 * src/hildon-picker-button-private.h
1462 * src/hildon-picker-button.c (hildon_picker_button_init)
1463 (+hildon_picker_button_disable_value_changed): Add protected
1464 function for disabling the "value-changed" signal.
1466 * src/hildon-date-button.c (hildon_date_button_set_date):
1467 Don't emit "value-changed" for each one of the three columns.
1469 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1470 before actual change of values)
1472 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1474 * src/hildon-pannable-area.c,
1475 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1476 for the treeview overshooting.
1478 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1480 * src/hildon-banner.c (+hildon_banner_bind_style):
1481 Renamed from hildon_banner_bind_label_style(), now naming the
1482 banner itself as well.
1483 (hildon_banner_show_information),
1484 (hildon_banner_show_information_with_markup),
1485 (hildon_banner_show_animation), (hildon_banner_show_progress):
1486 Name the widgets and labels, based on their type.
1488 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1491 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1493 * src/hildon-note.c (hildon_note_set_property): call
1494 hildon_note_rename() on HildonNote:note-type set.
1495 (hildon_note_rename): Name the note and its label, based on the
1496 HildonNote:note-type property.
1498 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1501 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1503 * src/hildon-pannable-area.c,
1504 (hildon_pannable_area_class_init),
1505 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1506 panning parameters, increased SPS and deceleration factor. Added
1507 also a margin to control fake directions.
1509 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1511 Patch by Sven Herzberg (sven@imendio.com)
1513 * configure.ac: Add missing AM_PROG_CC_C_0
1514 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1516 See NB#101420 (Update unit tests and fix make check)
1518 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1520 This patch was applied before but reverted because it caused
1521 problems, we have changed the main condition and tested the
1522 regressions we detected before and they work ok. We have done a
1523 complete review of the topmost algorithm in order to get a more
1526 * src/hildon-pannable-area.c,
1527 (hildon_pannable_area_get_topmost): Added a new parameter to
1528 filter the the windows that do not include those events.
1529 (hildon_pannable_area_button_press_cb),
1530 (hildon_pannable_area_button_release_cb),
1531 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1532 topmost function, we have added the new parameter.
1534 Fixes: NB#97458 (Pannable area prevents propagation of button
1537 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1539 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1540 if all columns in the selector have an item selected.
1541 (_on_dialog_response): Stop "response" signal emission if there is
1542 any selector column without selected items.
1544 Fixes: NB#101889 (Picker dialog should not close when nothing is
1545 selected in multiple selection list)
1547 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1549 * src/hildon-font-selection-dialog.c
1550 (hildon_font_selection_dialog_class_init),
1551 (hildon_font_selection_dialog_init): Remove the preview
1552 button and dialog, since previewing with default theming is likely
1553 to be overcomplicated. The :preview property has now no effect.
1554 Update documentation blurbs to inform about this.
1556 Fixes: NB#92297 (Preview content is not clearly visible for
1557 default colour text)
1559 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1561 Reviewed the geometry that handles the children size and
1562 scrollbar, now it tries a size and reviews the results depending
1563 on the scrollbars visibility.
1565 * src/hildon-pannable-area.c,
1566 (hildon_pannable_area_realize): Fixed a typo.
1567 (hildon_pannable_area_child_allocate_calculate): Added this
1568 function to calculate the child allocation.
1569 (hildon_pannable_area_size_allocate): Reviewed the allocation
1571 (hildon_pannable_area_check_scrollbars),
1572 (hildon_pannable_area_refresh): Refactored refresh function, this
1573 way we can call the code handling the scrollbars without causing a
1574 size_request, it is interesting in the allocate.
1575 (hildon_pannable_area_init): Replace the callbacks of the
1576 value_changed and changed signals to propertly deal with the
1578 (hildon_pannable_area_grab_notify),
1579 (hildon_pannable_area_initial_effect),
1580 (hildon_pannable_area_launch_fade_timeout),
1581 (hildon_pannable_area_adjust_changed),
1582 (hildon_pannable_area_adjust_value_changed),
1583 (hildon_pannable_area_redraw),
1584 (hildon_pannable_area_button_press_cb),
1585 (hildon_pannable_area_button_release_cb),
1586 (hildon_pannable_area_scroll_cb),
1587 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1588 code and use the new functions adjust_changed and
1589 adjust_value_changed.
1591 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1592 Contact editor dialog)
1594 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1599 * configure.ac: Bump version.
1600 * debian/changelog: Updates.
1602 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1604 * src/hildon-pannable-area.c,
1605 (hildon_pannable_area_get_topmost),
1606 (hildon_pannable_area_button_press_cb),
1607 (hildon_pannable_area_button_release_cb),
1608 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1609 topmost function adding the event mask. We have to try a
1610 differente approach because it is still causing problems (NB#9745,
1613 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1615 * src/hildon-banner.c:
1616 Update the maximum width of timed banners.
1617 (force_to_wrap_truncated): Enforce the maximum text width if the
1620 Fixes: NB#102413 (The text margins (wrapping) in information
1621 banner should be HILDON_MARGIN_TRIPLE)
1623 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1625 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1627 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1628 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1629 bound when calculating the scroll indicator position.
1631 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1632 treat ->lower correctly)
1634 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1636 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1637 expose event handling, since it is not necessary to draw the focus
1640 Fixes: NB#102467 (Do not show highlight on the text in
1643 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1645 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1646 full height of the toolbar for the button and the label.
1648 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1650 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1651 padding before the label and after the button.
1653 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1655 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1657 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1658 Add a GtkVSeparator between the button and the back arrow.
1659 Let the button have automatic size.
1660 Set a name to the widget for theming handling.
1662 Fixes: NB#101793 (Make edit toolbar the same height as window
1663 title bar (use title area theming))
1665 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1667 * src/hildon-helper.c (attach_new_color_element): Fix memory
1670 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1672 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1674 * examples/hildon-button-example.c (common_buttons_window): Don't
1677 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1679 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1680 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1682 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1684 * src/hildon-gtk.c: Check that the window is realized.
1686 Fixes: NB#102225 (Crash setting the progress indicator to a non
1689 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1691 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1692 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1693 instead of modifying the one in the widget style.
1695 Fixes: NB#101043 (Second row of all the command button are
1696 displayed in transparent mode.)
1698 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1700 * src/hildon-date-button.c
1701 * src/hildon-time-button.c: Add gettext macros
1703 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1705 * src/hildon-date-button.c (hildon_date_button_new):
1706 * src/hildon-time-button.c (hildon_time_button_new_step):
1707 Use new logical strings to set the button default title.
1709 Fixes: NB#99915 (Date and Time options are not localised in Date
1712 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1714 * src/hildon-pannable-area.c
1715 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1716 the PANNING_THRESHOLD.
1718 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1720 * src/hildon-pannable-area.c,
1721 (hildon_pannable_area_class_init): Increased the maximum speed.
1722 (hildon_pannable_area_get_property),
1723 (hildon_pannable_area_set_property),
1724 (hildon_pannable_area_timeout): Added a new low friction mode, it
1725 allows the user avoid friction when launching the widget fast
1726 enough. It is interesting to traverse long lists.
1728 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1730 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1731 (+hildon_stackable_window_delete_event): Ignore delete events if
1732 the window is not the topmost one.
1734 Fixes: NB#101698 (Back button long press and delete-event handling)
1736 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1738 * src/hildon-pannable-area.c,
1739 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1740 gtk-dnd-drag-threshold, it was too big. We have defined our own
1741 dnd define and set a smaller value: PANNIG_THRESHOLD.
1743 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1745 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1746 user-defined icons, use always the default one.
1748 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1750 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1752 This patch was applied before but reverted because it caused
1753 problems, we have changed the main condition and tested the
1754 regressions we detected before and they work ok.
1756 * src/hildon-pannable-area.c,
1757 (hildon_pannable_area_get_topmost): Added a new parameter to
1758 filter the the windows that do not include those events. Added
1759 also a condition when finding the window to filter windows that do
1760 not ask for those events.
1761 (hildon_pannable_area_button_press_cb),
1762 (hildon_pannable_area_button_release_cb),
1763 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1764 topmost function, we have added the new parameter.
1766 Fixes: NB#97458 (Pannable area prevents propagation of button
1769 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1771 * tests/check-hildon-color-button.c (START_TEST): do not leak
1774 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1776 * src/hildon-font-selection-dialog.c
1777 (hildon_font_selection_dialog_get_preview_text): Return NULL
1778 instead of FALSE on the g_return_val_if_fail().
1780 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1782 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1783 * src/hildon-date-selector.c
1784 (hildon_date_selector_select_current_date):
1785 Do not compare unsigned integers to be greater than or equal 0,
1786 because it's always TRUE.
1788 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1790 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1791 (hildon_date_selector_constructor): Do not select the current
1792 date until we are handle the "changed" signal, to avoid having bogus
1793 elements in the days model.
1795 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1797 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1798 for num_days, since _month_days() can return a negative value.
1800 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1802 * src/hildon-caption.c (hildon_caption_size_allocate):
1803 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1804 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1806 Initialize allocation variables to 0, to avoid eventually using
1807 unitialized variables.
1809 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1811 * src/hildon-bread-crumb-trail.c
1812 (hildon_bread_crumb_trail_size_allocate):
1813 * src/hildon-calendar.c (hildon_calendar_set_background):
1814 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1815 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1816 * src/hildon-seekbar.c (hildon_seekbar_init):
1817 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1818 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1819 * src/hildon-touch-selector-entry.c
1820 (hildon_touch_selector_get_text_from_model):
1821 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1822 * src/hildon-window.c (hildon_window_finalize):
1824 Remove many unused variables.
1826 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1828 * src/hildon-seekbar.c: (hildon_seekbar_init),
1829 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1831 Remove unnecessary g_assert() calls.
1833 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1835 * src/hildon-caption.c: (hildon_caption_expose),
1836 (hildon_caption_set_property), (hildon_caption_init),
1837 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1838 (hildon_caption_size_request), (hildon_caption_size_allocate),
1839 (hildon_caption_forall), (hildon_caption_set_separator),
1840 (hildon_caption_activate), (hildon_caption_set_child_expand),
1841 (hildon_caption_set_label_text),
1842 (hildon_caption_get_label_alignment):
1844 Remove unnecessary g_assert() calls.
1846 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1848 * src/hildon-banner.c
1849 (hildon_banner_map, hildon_banner_init): Make banner temporary
1850 before mapping it to avoid closing other temporary windows, but
1851 make it non-temporary afterwards to avoid being closed by other
1852 non-temporary windows.
1853 (-hildon_banner_client_event, hildon_banner_init):
1854 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1856 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1859 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1861 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1864 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1866 * src/hildon-remote-texture.c
1867 * src/hildon-remote-texture.h
1868 * src/hildon-remote-texture-private.h
1869 * examples/hildon-remote-texture-example.c:
1870 Updates/fixes to remote-texture and its example.
1872 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1874 Patch by Mox Soini (ext-mox.soini@nokia.com)
1876 * src/hildon-code-dialog.c: Update logical id.
1877 * src/hildon-set-password-dialog.c: Update logical id.
1879 Fixes: NB#100646 (Logical strings is shown for ok in set
1880 password,Password needed dialogs)
1882 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1885 * src/hildon-remote-texture.c
1886 * src/hildon-remote-texture.h
1887 * src/hildon-remote-texture-private.h
1889 Added remote texture widget (for Clutter shared memory textures)
1891 * examples/hildon-remote-texture-example.c
1892 * examples/Makefile.am
1893 Added example file for remote texture usage
1895 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1897 * configure.ac: post release version bump.
1898 * debian/changelog: version bump.
1900 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1905 * configure.ac: Bump version.
1906 * debian/changelog: Updates.
1908 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1910 * src/hildon-date-selector.c (hildon_date_selector_init)
1911 (hildon_date_selector_constructor): Don't connect to the "changed"
1912 signal until the selector is completely constructed.
1914 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1916 * src/hildon-touch-selector.c: (_create_new_column),
1917 (hildon_touch_selector_append_column),
1918 (hildon_touch_selector_set_column_selection_mode),
1919 (hildon_touch_selector_set_active),
1920 (hildon_touch_selector_select_iter):
1921 Emit the HildonTouchSelector::changed signal every time selection
1922 is changed in any of the methods above. This behavior was already
1923 documented but not fully functional.
1925 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1926 selection is programmatically changed)
1928 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1930 * doc/hildon-sections.txt: Remove obsolete icon
1931 sizes from here as well.
1933 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1935 * examples/hildon-stackable-window-example.c (add_window): Remove
1938 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1940 * src/hildon-app-menu.c
1941 (hildon_app_menu_show): Check whether the parent window of a menu
1942 is topmost before popping it up.
1944 Fixes: NB#100468 (Application menu window is launched even when a
1945 new secondary-window/dialog is pending to be shown/realized.)
1947 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1949 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1952 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1954 Patch by Mox Soini (ext-mox.soini@nokia.com)
1956 * src/hildon-banner.c: (hildon_banner_show_animation):
1957 use stylus size instead of obsolete note size.
1958 * src/hildon-defines.h: Update icon sizes.
1960 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1962 * src/hildon-touch-selector-entry.c:
1963 (hildon_touch_selector_entry_init): Disable unsupported
1965 (hildon_touch_selector_entry_get_text_column): Emit a warning
1966 if an unsupported input modes is used and explicitile state
1967 these modes in the documentation.
1969 Fixes: NB#99802 (Hildon touch selector entry not working properly
1970 for some of the input modes)
1972 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1974 * src/hildon-pannable-area.c,
1975 (hildon_pannable_area_init): Added the changed signal handlers of
1978 Fixes: NB#100320 (HildonPannableArea does not listen to
1979 GtkAdjustment "change" signals)
1981 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1983 * doc/hildon-sections.txt
1984 * src/hildon-window-private.h
1985 * src/hildon-window.h
1986 * src/hildon-window.c (hildon_window_init)
1987 (hildon_window_realize, hildon_window_unrealize)
1988 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1989 (hildon_window_size_request, hildon_window_size_allocate)
1990 (hildon_window_forall, hildon_window_show_all)
1991 (hildon_window_destroy, +paint_edit_toolbar)
1992 (+hildon_window_set_edit_toolbar):
1993 New hildon_window_set_edit_toolbar() method, to add a
1994 HildonEditToolbar to a window without having to pack it manually.
1996 Reorganize hildon_window_size_allocate()
1998 * src/hildon-edit-toolbar.c: Update documentation.
2000 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2001 example to use the new API.
2003 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2005 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2007 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2008 Remove from stack before calling parent's hide.
2010 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2012 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2013 window is removed from the middle of the stack, update the
2014 transiency of the previous one.
2016 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2019 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2021 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2022 block/unblock the signal handler if it's not actually being used.
2023 Fixes some critical warnings.
2025 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2027 Based on a patch by Iván Gómez (igomez@igalia.com)
2029 * src/hildon-banner.c
2033 * src/hildon-pannable-area.c
2034 * src/hildon-picker-dialog.c
2035 * src/hildon-wizard-dialog.h
2036 * src/hildon-wizard-dialog.c: Documentation updates.
2038 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2039 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2041 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2043 * configure.ac: post release version bump.
2044 * debian/changelog: version bump.
2046 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2051 * configure.ac: Bump version.
2052 * debian/changelog: Updates.
2054 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2056 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2057 a stock icon nor change the relief of the back arrow.
2059 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2060 graphics from theme)
2062 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2064 * src/hildon-button.c (hildon_button_set_alignment): Use
2065 priv->alignment if the button has no child yet.
2067 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2069 * src/hildon-button.c: (hildon_button_init): Set the
2070 button style during initialization to give it the proper
2073 Fixes: NB#99713 (HildonButton value label color is wrong)
2075 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2077 * src/hildon-touch-selector.c: Document
2078 hildon_touch_selector_center_on_selected()
2080 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2082 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2083 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2084 all menu items, but not the menu itself.
2085 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2086 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2087 items after adding them to the menu so keyboard accelerators work.
2088 (hildon_app_menu_show): Don't show the menu if it contains items
2089 but none of them are visible.
2091 * examples/hildon-app-menu-example.c (create_menu): Use
2092 gtk_widget_show_all() to show all menu items.
2094 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2096 * src/hildon-picker-dialog.c:
2097 (-_update_title_on_selector_changed_cb),
2098 (-_dialog_update_title): Removed.
2099 (_select_on_selector_changed_cb), (_on_dialog_response),
2100 (on_selector_columns_changed): Do not update the dialog title.
2101 (setup_interaction_mode): Do not connect to
2102 HildonTouchSelector::changed signal if there's a "done" button, as
2103 the dialog title doesn't need to be updated.
2105 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2108 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2110 Patch by Kristian Rietveld (kris@imendio.com)
2112 * src/hildon-touch-selector.c: (_create_new_column): Use new
2113 GtkTreeView::hildon-row-tapped signal to react to user interactions
2114 instead of ::changed.
2116 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2117 with some dynamic tree model)
2119 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2121 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2122 (+screen_size_changed, +label_size_request)
2123 (hildon_note_class_init): Make the Hildon information note have a
2124 minimum height, and make its text hvae a maximum width.
2126 Fixes: NB#98614 (Hildon information note (background) should have
2127 minimum height and maximum text width)
2129 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2131 * src/hildon-banner.h
2132 * src/hildon-banner.c (hildon_banner_show_information)
2133 (hildon_banner_show_informationf)
2134 (hildon_banner_show_information_with_markup): Update documentation
2135 to reflect that the icon_name parameter is not used anymore.
2136 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2137 Remove all code from these functions and mark them as deprecated.
2138 (hildon_banner_show_progress): Mark as deprecated.
2140 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2142 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2144 * src/hildon-pannable-area.c,
2145 (hildon_pannable_area_class_init),
2146 (tranparency_color),
2147 (hildon_pannable_draw_vscroll),
2148 (hildon_pannable_draw_hscroll),
2149 (hildon_pannable_area_expose_event): Added a new way to render the
2150 scrollbars of the pannable area avoiding using cairo at all. This
2151 way we improve the performance of the pannable area rendering. The
2152 cairo rendering procedure is still in the code, we can control
2153 which one to use changing the value of the define
2154 USE_CAIRO_SCROLLBARS.
2156 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2158 * configure.ac: post release version bump.
2159 * debian/changelog: version bump.
2161 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2166 * configure.ac: Bump version.
2167 * debian/changelog: Updates.
2169 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2171 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2172 banners instead of destroying them when they receive a button
2175 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2177 Reverted commit 34028, it was causing regressions, probably the
2178 topmost condition is not correct, we have to check it in more
2179 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2180 propagation of button press events)
2182 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2184 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2185 that the selection is not empty before attempting to retrieve the
2186 current ampm selection.
2188 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2190 * src/hildon-picker-button.c:
2191 (hildon_picker_button_on_dialog_response): Directly update the
2192 button contents when required instead of calling _selection_changed.
2194 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2196 * src/hildon-program.c (hildon_program_update_top_most): Update
2197 'is-topmost' property also when wm_hints is not set.
2199 Fixes: NB#98383 (is-topmost signal is not emitted when task
2200 switcher is clicked.)
2202 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2204 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2208 * src/hildon-animation-actor.c,
2209 * src/hildon-animation-actor.h: Added the animation actor class,
2210 this widget represents an animation actor for WM-assisted
2211 animation effects in the Hildon framework.
2213 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2215 * src/hildon-window-stack-private.h
2216 * src/hildon-window-stack.c
2217 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2218 Avoid calling gtk_widget_show() again indirectly from
2219 hildon_stackable_window_show()
2221 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2223 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2226 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2228 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2229 (hildon_time_selector_init): Move the construction of the hours and
2230 ampm columns to the constructor to preserve the order the columns
2233 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2235 * src/hildon-picker-dialog.c:
2236 (hildon_picker_dialog_class_init): Connect a realize method.
2237 (+hildon_picker_dialog_realize): Setup the interaction mode here
2239 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2240 yet, do it during the realize instead.
2241 (_on_dialog_response):
2242 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2243 if the widget is not realized, to avoid the dialog response before it
2246 Avoid premature responses in the HildonPickerDialog that can cause it
2247 to be hidden before it's even shown.
2249 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2251 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2252 (on_selector_columns_changed), (requires_done_button),
2253 (+prepare_action_area), (setup_interaction_mode),
2254 (_hildon_picker_dialog_set_selector):
2256 Split the interaction mode setup into preparation of the
2257 action area (prepare_action_area()) and the connection of
2258 the signals in setup_interaction_mode() and update the code to
2261 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2263 * src/hildon-pannable-area.c,
2264 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2265 per second to 15, we will check if this is ok regarding
2268 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2270 * src/hildon-pannable-area.c,
2271 (hildon_pannable_axis_scroll): Avoid resize if we already have
2272 reached overshoot_max.
2274 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2276 * src/hildon-pannable-area.c,
2277 (hildon_pannable_area_init),
2278 (hildon_pannable_area_realize),
2279 (hildon_pannable_area_size_allocate),
2280 (hildon_pannable_area_map),
2281 (hildon_pannable_area_unmap),
2282 (hildon_pannable_draw_vscroll),
2283 (hildon_pannable_draw_hscroll),
2284 (hildon_pannable_area_expose_event),
2285 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2286 pannable are to avoid the expose events go to the window and
2287 redraw the window. We save this way that part of the stack and the
2288 paint_boxes. We had to change the positions of the elements when
2291 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2293 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2294 * src/hildon-color-chooser-dialog.c:
2295 (hildon_color_chooser_dialog_init):
2296 * src/hildon-font-selection-dialog.c:
2297 (hildon_font_selection_dialog_init),
2298 (hildon_font_selection_dialog_show_preview):
2299 * src/hildon-get-password-dialog.c:
2300 * src/hildon-login-dialog.c:
2301 * src/hildon-set-password-dialog.c:
2302 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2303 * src/hildon-time-picker.c: (hildon_time_picker_init):
2305 Remove obsolete logical string IDs and update to the appropriate ones.
2307 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2309 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2311 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2312 that happens if the window hasn't been realized yet.
2314 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2315 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2317 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2319 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2320 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2323 Fixes: NB#98537 (Device hangs in account settings dialog)
2325 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2327 * configure.ac: post release version bump.
2328 * debian/changelog: version bump
2330 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2335 * configure.ac: Bump version.
2336 * debian/changelog: Updates.
2338 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2340 Added a new function to the HildonTimeButton widget that allows to
2341 change the step of the minutes in the selector associated with the
2342 button: hildon_time_button_new_step
2344 * src/hildon-time-button.c,
2345 (hildon_time_button_init),
2346 (hildon_time_button_new),
2347 (hildon_time_button_new_step):
2348 * src/hildon-time-button.h: Added the new function and refactored
2350 * examples/hildon-time-button-example.c,
2351 (main): We have replaced the function without parameters with the
2352 function with the steps set to 5
2354 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2356 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2358 * src/hildon-time-selector.c,
2359 (hildon_time_selector_class_init),
2360 (hildon_time_selector_constructor),
2361 (hildon_time_selector_get_property),
2362 (hildon_time_selector_set_property),
2363 (_create_minutes_model),
2364 (hildon_time_selector_new_step),
2365 (hildon_time_selector_set_time),
2366 * src/hildon-time-selector.h: Added a new property to the
2367 HildonTimeSelector (minutes-step), we use that property to control
2368 the steps between the minutes in the list of the selector. We have
2369 added a new function to the API to create a widget changing the
2370 step: hildon_time_selector_new_step.
2372 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2374 * src/hildon-time-selector.c,
2375 (hildon_time_selector_class_init),
2376 (hildon_time_selector_constructor),
2377 (hildon_time_selector_init): Overrided the construct function when
2378 creating the time selector object. We have moved the minutes model
2379 handling code from the init to the new construction function:
2380 hildon_time_selector_constructor.
2382 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2384 * examples/hildon-date-button-example.c: (main): Use the new
2385 hildon_date_button_new_with_year_range() method in the example.
2386 * src/hildon-date-button.c:
2387 (+hildon_date_button_new_with_year_range): New public method
2388 to conveniently create a HildonDateButton with a custom year range
2389 in its HildonDateSelector.
2390 * src/hildon-date-button.h: Add the new public method definition.
2392 Fixes: NB#97908 (Not possible to change the year range in
2393 HildonDateSelector/HildonDateButton)
2395 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2397 * src/hildon-date-selector.c:
2398 (+hildon_date_selector_set_property),
2399 (+hildon_date_selector_get_property),
2400 (hildon_date_selector_class_init): Install new properties "min-year"
2401 and "max-year" to define boundaries for the year column.
2402 (_create_year_model): Use the boundary properties to populate the model.
2403 (+hildon_date_selector_new_with_year_range): New public method to
2404 create a HildonDateSelector with a user defined year range.
2405 (hildon_date_selector_select_current_date): Use the new boundaries to
2406 calculate the iterator of current year.
2407 * src/hildon-date-selector.h: Add the new public method definition.
2409 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2411 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2412 Install a constructor method.
2413 (+hildon_date_selector_construct_ui): construct the widget.
2414 (+hildon_date_selector_constructor): new constructor.
2415 (+hildon_date_selector_init): move out widget construction code to
2416 the new constructor.
2418 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2420 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2421 that there's actually a month or year selected before obtaining them.
2422 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2423 of the HildonTouchSelector::changed signal, as it was emitted on every
2424 single item selection.
2426 Fix some warnings and possible crashers due to the selection restoring.
2428 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2430 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2431 the signal handlers only after creating the dialog instead of on every
2434 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2436 * src/hildon-button.c (hildon_button_init)
2437 * src/hildon-check-button.c (hildon_check_button_init)
2438 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2439 focus when clicked by default.
2441 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2443 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2446 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2448 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2449 Alejandro G. Castro (alex@igalia.com)
2451 * src/hildon-picker-dialog.c:
2452 (hildon_picker_dialog_class_init): install new "center-on-show"
2454 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2455 (hildon_picker_dialog_set_property): add setter code for the new
2457 (hildon_picker_dialog_get_property): add getter code for the new
2459 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2460 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2463 Fixes: NB#92849 (Selected item is not always visible when
2464 HildonTouchSelector is shown)
2466 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2468 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2469 Alejandro G. Castro (alex@igalia.com)
2471 * src/hildon-touch-selector.c:
2472 (_create_new_column): Do not connect to the "realize" signal of the
2474 (hildon_touch_selector_append_column): center on the selected items
2475 when a new column is appended.
2476 (hildon_touch_selector_select_iter): Factor out the code to select a
2477 column to hildon_touch_selector_scroll_to().
2478 (+search_nearest_element): Method to retrieve the nearest selected
2479 element to the visible area of the pannable area in a column.
2480 (+on_realize_cb): scroll to the initially selected item.
2481 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2482 the pannable area is realized, otherwise delay this until it is.
2483 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2484 selected items of a given column.
2485 (+hildon_touch_selector_center_on_selected): Public method to center
2486 all columns on the nearest selected item.
2487 * src/hildon-touch-selector.h: Add definition for
2488 hildon_touch_selector_center_on_selected().
2490 Implement public API to ensure visibility of all selected items in
2491 a HildonTouchSelector.
2493 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2495 Fixed a problem in the fading when calling the scroll_to API, and
2496 improve scrollbar fading handling.
2498 * src/hildon-pannable-area.c,
2499 (hildon_pannable_area_grab_notify): avoid the timeout when the
2501 (hildon_pannable_area_button_press_cb),
2502 (hildon_pannable_area_motion_notify_cb): Code style changes.
2503 (hildon_pannable_area_button_release_cb): Review the conditions
2504 when releasing the mouse button to avoid unrequired fading
2506 (hildon_pannable_area_scroll_to): Do not calculate and set the
2507 velocity if the scroll is not required.
2509 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2511 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2512 Don't check whether the new selector is NULL: it cannot be.
2513 Hold a reference to the selector while doing the replacement.
2515 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2517 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2518 unnecessary size_request in a removed widget.
2520 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2522 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2523 an unnecessary reference tracking that was leaking.
2525 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2527 Added delayed motion notify event handling, this way we can
2528 discard redrawing if more than 25 events arrive per second.
2530 * src/hildon-pannable-area.c,
2531 (hildon_pannable_area_init): Initialized the new private atributes
2532 controlling this timeout
2533 (hildon_pannable_area_dispose): Remove the timeout that controls
2534 the motion notify events.
2535 (hildon_pannable_area_scroll): Added a condition to control the
2536 use of the acceleration.
2537 (hildon_pannable_area_motion_event_scroll_timeout),
2538 (hildon_pannable_area_motion_event_scroll): Added this two
2539 functions, they handle the motion notify events inside the
2541 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2542 to the scroll method with the new function.
2543 (hildon_pannable_area_button_release_cb): We have to remove the
2544 timeout handler and move to the last position if the last motion
2545 events were not handled.
2547 Fixes: NB#97028 (Pannable area updates on every motion event)
2549 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2551 * src/hildon-pannable-area.c,
2552 (hildon_pannable_area_get_topmost): Added a new parameter to
2553 filter the the windows that do not include those events. Added
2554 also a condition when finding the window to filter windows that do
2555 not ask for those events.
2556 (hildon_pannable_area_button_press_cb),
2557 (hildon_pannable_area_button_release_cb),
2558 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2559 topmost function, we have added the new parameter.
2561 Fixes: NB#97458 (Pannable area prevents propagation of button
2564 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2566 * src/hildon-pannable-area.c,
2567 (hildon_pannable_area_initial_effect): Added controls before
2568 launching the timeout and the idle functions.
2569 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2570 of the method, in some situations it can return with TRUE and 0 in
2572 (hildon_pannable_area_button_press_cb): We do not need to set
2573 DELAY for fading out here.
2575 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2577 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2579 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2580 post-cleaning if the selection is not NULL.
2582 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2584 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2585 all items before restoring the selection.
2587 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2589 * src/hildon-touch-selector.c:
2590 (+hildon_touch_selector_unselect_all):
2591 * src/hildon-touch-selector.h: New API to unselect all items in a
2592 column of the touch selector.
2594 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2596 * src/hildon-pannable-area.c,
2597 (hildon_pannable_area_redraw): Added a call to the refresh
2598 function inside the redraw because apparently in some cases the
2599 change in the adjustment does not imply a size allocate.
2601 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2602 despite the view not being scrollable)
2604 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2606 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2607 leak. Check for NULL before attempting to set the window title.
2609 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2611 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2612 whether to show or not the 'Done' button each time the dialog is
2613 shown, as it depends on the HildonTouchSelector selection mode.
2615 Fixes: NB#96226 (In multiple selection mode Done button is shown
2616 sometimes in listpicker)
2618 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2620 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2621 for the number of columns in the HildonTouchSelector more than once.
2623 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2625 * src/hildon-touch-selector.c: Minor documentation fixes.
2627 * src/hildon-picker-dialog.c (+_dialog_update_title)
2628 (_select_on_selector_changed_cb)
2629 (_update_title_on_selector_changed_cb)
2630 (on_selector_columns_changed): Update dialog title when there's no
2631 'Done' button and also when the number of columns in the selector
2635 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2636 (+_selection_changed, hildon_picker_button_on_dialog_response)
2637 (hildon_picker_button_selector_selection_changed)
2638 (+hildon_picker_button_selector_columns_changed)
2639 (hildon_picker_button_set_selector): Update button value and emit
2640 'value-changed' when the number of columns in the selector
2644 Fixes: NB#96225 (Dialog titles are not shown according to the
2645 values selected in the list picker)
2647 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2649 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2650 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2651 New "arrow-width" and "arrow-height" style properties to set the
2652 size of the arrow button.
2653 Set name of arrow button ("hildon-edit-toolbar-arrow").
2655 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2656 graphics from theme)
2658 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2660 * src/hildon-picker-button.c:
2661 (hildon_picker_button_selector_selection_changed): Use
2662 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2663 the dialog is present.
2665 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2666 the selection is accepted in the dialog)
2668 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2670 * src/hildon-color-chooser.h
2671 * src/hildon-color-chooser-dialog.h:
2672 Added G_BEGIN_DECLS and G_END_DECLS
2674 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2676 (_clean_current_selection): plug a leak in the list.
2678 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2680 * src/hildon-picker-dialog.c:
2681 (+free_path_list): Method to free a GList of GtkTreePaths.
2682 (_clean_current_selection), (_save_current_selection),
2683 (_restore_current_selection): Save the current selection in
2684 as a list of lists, to support multiple selection properly.
2686 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2688 patch by Claudio Saavedra (csaavedra@igalia.com)
2690 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2691 Store the press position.
2692 (+hildon_text_view_button_release_event): If the release position is
2693 close enough to the press position, move the cursor here. Otherwise,
2695 (hildon_text_view_class_init): Override GtkTextView press, release, and
2696 motion event handlers, disabling this way text selection through
2697 pointer interaction, and allowing the container widget to handle the
2700 Fixes: NB#95828 (HildonTextView functionality)
2702 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2704 Based on a patch by Iván Gómez (igomez@igalia.com)
2706 * src/hildon-button.[ch]
2707 * src/hildon-calendar.c
2708 * src/hildon-check-button.c
2709 * src/hildon-date-editor.c
2710 * src/hildon-date-selector.c
2711 * src/hildon-picker-button.c
2712 * src/hildon-time-editor.c
2713 * src/hildon-time-selector.c
2714 * src/hildon-touch-selector.[ch]:
2715 Documentation updates
2717 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2719 * src/hildon-pannable-area.c,
2720 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2721 threshold, it was required due to X events handling.
2723 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2725 * src/hildon-pannable-area.c,
2726 (hildon_pannable_area_grab_notify),
2727 (hildon_pannable_area_initial_effect),
2728 (hildon_pannable_area_button_press_cb),
2729 (hildon_pannable_area_button_release_cb),
2730 (hildon_pannable_area_scroll_cb),
2731 (hildon_pannable_area_scroll_to): Review the timeout management of
2732 the scrollbar, the frecuency was incorrectly set.
2734 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2736 * src/hildon-picker-button.c:
2737 (+hildon_picker_button_on_dialog_response),
2738 (hildon_picker_button_clicked): Present the dialog instead of
2739 running it with gtk_dialog_run().
2741 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2744 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2746 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2747 (hildon_app_menu_finalize): When a window is hidden it doesn't
2748 emit notify::is-topmost, so make sure than the menu also
2749 disappears in that case.
2750 (parent_window_topmost_notify): Renamed from parent_window_hidden
2752 Fixes: NB#94460 (stackable window's menu is not closed when its
2755 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2757 * src/hildon-touch-selector-entry.c:
2758 (+hildon_touch_selector_entry_set_input_mode),
2759 (+hildon_touch_selector_entry_get_input_mode):
2760 * src/hildon-touch-selector-entry.h: New methods to access the input
2761 mode in the selector's entry.
2763 Fixes: NB#93410 (API required for setting IM mode in
2764 HildonTouchSelectorEntry)
2766 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2768 * configure.ac: post release version bump.
2769 * debian/changelog: version bump
2771 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2776 * configure.ac: Bump version.
2777 * debian/changelog: Updates.
2779 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2781 * src/hildon-touch-selector.c:
2782 (_hildon_touch_selector_has_multiple_selection): No need
2783 to initialize the variables here.
2785 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2787 * src/hildon-note-private.h
2788 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2789 (hildon_note_finalize, hildon_note_rebuild): Close information
2790 notes when they receive a button press.
2792 Fixes: NB#89890 (Information notes does not get disappeared after
2795 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2797 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2798 mark from the wizard title, as it's not really necessary. Also,
2799 do not display the page title if not set.
2801 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2803 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2804 (parent_window_hidden): Use the window's "is-topmost" property to
2805 detect when to hide the menu.
2807 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2809 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2810 (hildon_app_menu_finalize): If the parent window of the menu is
2811 hidden, hide the menu too.
2813 Fixes: NB#94460 (stackable window's menu is not closed when its
2816 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2819 * debian/libhildon1-examples.install
2821 * examples/Makefile.am:
2822 Use dh_install to install all examples.
2823 Use DEB_SRCDIR instead of defining SOURCE_DIR
2825 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2827 * configure.ac: post release version bump.
2828 * debian/changelog: version bump
2830 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2835 * configure.ac: bump version
2836 * debian/changelog: updates
2837 * debian/control: bump gtk+ dependency
2839 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2841 patch by Christian Dywan (christian@imendio.com)
2843 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2844 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2846 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2848 * src/hildon-check-button.c (hildon_check_button_init)
2849 (hildon_check_button_class_init, hildon_check_button_style_set)
2850 (hildon_check_button_apply_style):
2851 New "checkbox-size" style property.
2853 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2854 larger / configurable size)
2856 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2858 * configure.ac: post release version bump.
2859 * debian/changelog: version bump
2861 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2866 * configure.ac: bump version
2867 * debian/changelog: updates
2869 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2871 * doc/hildon-sections.txt
2872 * src/hildon-pannable-area.c
2873 * src/hildon-program.c
2874 * src/hildon-time-editor.c
2875 * src/hildon-touch-selector-entry.c:
2877 More documentation updates.
2879 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2881 * doc/hildon-sections.txt
2882 * src/hildon-caption.c
2883 * src/hildon-code-dialog.c
2884 * src/hildon-color-button.c
2885 * src/hildon-controlbar.c
2886 * src/hildon-date-editor.c
2887 * src/hildon-date-selector.c
2888 * src/hildon-edit-toolbar.c
2889 * src/hildon-find-toolbar.c
2890 * src/hildon-font-selection-dialog.c
2892 * src/hildon-program.c
2893 * src/hildon-range-editor.c
2894 * src/hildon-seekbar.c
2895 * src/hildon-time-editor.c
2896 * src/hildon-time-selector.c
2897 * src/hildon-volumebar-range.c
2898 * src/hildon-volumebar.c
2899 * src/hildon-vvolumebar.c
2900 * src/hildon-weekday-picker.c
2901 * src/hildon-window.c
2902 * src/hildon-wizard-dialog.c:
2904 Lots of documentation fixes.
2906 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2908 Patch contributed by Iván Gómez (igomez@igalia.com)
2910 * src/hildon-check-button.c:
2911 * src/hildon-date-button.c:
2912 * src/hildon-date-selector.c:
2913 * src/hildon-dialog.c:
2914 * src/hildon-edit-toolbar.c:
2915 * src/hildon-entry.c:
2916 * src/hildon-picker-button.c:
2917 * src/hildon-program.c:
2918 * src/hildon-text-view.c:
2919 * src/hildon-time-button.c:
2920 * src/hildon-touch-selector-entry.c:
2921 * src/hildon-window-stack.c:
2923 Add more "since" tags to the new API.
2925 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2927 * doc/hildon-sections.txt: Add below method.
2928 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2929 version for the hildonized scale.
2930 * src/hildon-gtk.h: Add the definition.
2932 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2934 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2936 * doc/hildon-sections.txt: Add missing entries for new methods.
2938 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2940 Added API to pannable are in order to get its adjustments. We
2941 added two properties to manage the values we had in the private
2944 * src/hildon-pannable-area.c:
2945 (hildon_pannable_area_class_init): Added hadjustment and
2946 vadjustment properties in order to expose horizontal and vertical
2948 (hildon_pannable_area_get_property),
2949 (hildon_pannable_area_set_property): Added code to handle the new
2951 (hildon_pannable_area_get_hadjustment),
2952 (hildon_pannable_area_get_vadjustment): API functions to get the
2954 * src/hildon-pannable-area.h:
2955 (hildon_pannable_area_get_hadjustment),
2956 (hildon_pannable_area_get_vadjustment): API functions to get the
2959 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2961 Fixed some leaks, after valgrinding.
2963 * src/hildon-touch-selector.c:
2964 (_default_print_func): Fixed a leak.
2965 (hildon_touch_selector_append_column): Fixed a leak.
2966 * src/hildon-date-button.c:
2967 (hildon_date_button_init): Fixed a leak.
2968 * src/hildon-date-selector.c
2969 (hildon_date_selector_finalize): Fixed a leak.
2971 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2973 Based on a patch by Christian Dywan (christian@imendio.com)
2975 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2977 * src/hildon-gtk.h: Add definition.
2979 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2981 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2983 * src/hildon-picker-button.c: (hildon_picker_button_init),
2984 (hildon_picker_button_new): Set the HildonButton::style property
2985 in the init method, to propagate the value to the derived classes.
2987 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2989 * src/hildon-button.c: (hildon_button_class_init): Do not make
2990 the "style" property a construct property.
2992 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2994 * src/hildon-wizard-dialog.h
2995 * src/hildon-wizard-dialog.c
2996 (hildon_wizard_dialog_set_forward_page_func)
2997 * src/hildon-pannable-area.h
2998 * src/hildon-pannable-area.c
2999 (hildon_pannable_area_set_size_request_policy):
3000 Documentation fixes.
3002 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3004 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3006 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3008 * doc/hildon-sections.txt: Added sections file.
3010 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3013 * src/*.[ch]: Updates.
3015 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3017 * examples/hildon-progress-indicator-example.c: new file
3018 * examples/Makefile.am: include the new example program
3020 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3022 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3024 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3026 * configure.ac: post release version bump
3027 * debian/changelog: version bump
3029 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3034 * configure.ac: bump version
3035 * debian/changelog: updates
3036 * debian/control: bump gtk+ dependency
3038 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3040 * src/hildon-dialog.c: Mark as deprecated.
3041 * src/hildon-dialog.h: Mark as deprecated.
3042 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3043 from HildonDialog and still work, even if
3044 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3045 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3047 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3048 maemo changes) instead)
3050 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3052 * src/hildon-pannable_area.h:
3053 * src/hildon-pannable_area.c:
3054 (hildon_pannable_area_class_init),
3055 (hildon_pannable_area_set_property),
3056 (hildon_pannable_area_get_property),
3057 (hildon_pannable_area_size_request),
3058 (hildon_pannable_area_get_size_request_policy),
3059 (hildon_pannable_area_set_size_request_policy): Added new API
3060 allowing applications to control the request policy. Now they can
3061 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3062 children allocation (HILDON_MOVEMENT_CHILDREN).
3064 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3068 (hildon_gtk_tree_view_set_ui_mode)
3069 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3070 mode of treeviews and iconviews.
3072 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3074 * src/hildon-touch-selector-entry.c:
3075 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3076 of a GtkEntry to get proper theming.
3078 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3079 widget, not GtkEntry)
3081 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3083 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3084 no HildonWizardDialogPageFunc.
3086 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3088 Patch contributed by Iván Gómez (igomez@igalia.com)
3090 * src/hildon-app-menu.c:
3091 * src/hildon-button.c:
3092 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3093 * src/hildon-stackable-window.c:
3094 * src/hildon-time-selector.c:
3095 * src/hildon-touch-selector.c:
3096 * src/hildon-window.c:
3098 Add more "since" tags to the new API in hildon 2.2.
3100 2008-12-05 Tim Janik <timj@imendio.com>
3102 Patch contributed by Christian Dywan (christian@imendio.com)
3104 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3105 HildonSizeType, which are supplied by Gtk+ now.
3107 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3109 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3110 (with maemo changes) instead)
3112 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3114 Patch contributed by Iván Gómez (igomez@igalia.com)
3116 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3119 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3121 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3122 (some_page_func), (main): Update the example to use a
3123 HildonWizardDialogPageFunc function.
3125 * src/hildon-wizard-dialog-private.h: Add private data for
3126 the HildonWizardDialogPageFunc function usage.
3128 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3129 (destroy), (hildon_wizard_dialog_init), (response),
3130 (hildon_wizard_dialog_set_forward_page_func):
3131 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3132 that applications can use to stop a HildonWizardDialog to jump to
3135 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3138 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3140 * src/hildon-program.h
3141 * src/hildon-program-private.h
3142 * src/hildon-program.c (hildon_program_init)
3143 (hildon_program_set_common_app_menu)
3144 (hildon_program_get_common_app_menu):
3145 New API for setting a common HildonAppMenu for all
3146 HildonStackableWindows registered with the HildonProgram.
3148 * src/hildon-stackable-window.c
3149 (hildon_stackable_window_toggle_menu):
3150 Use the common HildonAppMenu if a window doesn't have a specific
3153 * src/hildon-app-menu-private.h
3154 * src/hildon-app-menu.c
3155 (hildon_app_menu_get_parent_window):
3156 Function to obtain the window a HildonAppMenu is attached to.
3157 (hildon_app_menu_set_parent_window):
3158 Hide the menu if the parent window is set to NULL.
3160 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3162 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3163 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3164 search widget to popup.
3166 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3168 * configure.ac: post release version bump
3169 * debian/changelog: version bump
3171 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3176 * configure.ac: bump version
3177 * debian/changelog: updates
3179 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3181 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3183 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3184 (hildon_window_stack_window_realized)
3185 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3186 Set the leader GdkWindow when a window is stacked and realized,
3187 unset it when it's unstacked.
3188 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3190 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3192 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3194 * src/hildon-stackable-window.h
3195 * src/hildon-window-stack.h:
3196 Protect definition of HildonWindowStack using the preprocessor.
3198 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3200 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3201 Fix warning if all menu items are hidden.
3203 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3205 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3207 * src/hildon-controlbar.c:
3208 * src/hildon-hvolumebar.c:
3209 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3210 Multiple scale size defines updates.
3212 Fixes: NB#94322 (Scale Updates)
3214 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3216 * examples/hildon-app-menu-example.c (create_menu)
3217 Show items after adding them to the menu, as in the future the
3218 menu will no longer call gtk_widget_show() on the added items.
3220 * src/hildon-app-menu.c:
3221 Update example as explained above.
3223 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3225 * src/hildon-app-menu.c
3226 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3227 Make sure that all menu items have finger height.
3229 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3231 * src/hildon-picker-dialog.c:
3232 (_on_dialog_response), (_save_current_selection),
3233 (_restore_current_selection), (_clean_current_selection),
3234 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3235 Defined new functions in order to save the current internal selector
3236 selection previous open the dialog, in case that the use cancel the
3237 interaction, so the widget restores the previous selection.
3239 Fixes: NB#92032 (In calendar application, date values in 'new event'
3242 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3244 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3246 * src/hildon-button.c: Add a reference to the button examples in
3247 hildon-button-example.c
3249 * examples/hildon-button-example.c: Added examples of the most
3250 common button layouts.
3252 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3254 * src/hildon-app-menu.c (hildon_app_menu_show)
3255 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3257 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3259 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3261 * src/hildon-picker-dialog.c:
3262 (hildon_picker_dialog_init): Initialize the signal id for
3263 HildonTouchSelector::columns-changed.
3264 (+on_selector_columns_changed): Set up the interaction mode everytime a
3265 column is added or removed from the HildonTouchSelector.
3266 (_hildon_picker_dialog_set_selector): Connect to
3267 HildonTouchSelector::columns-changed and keep track of it.
3269 Make sure to update the interaction mode of the dialog everytime a
3270 column is added or removed in the HildonTouchSelector.
3272 Fixes: NB#93228 (Done button is not shown always in listpicker)
3274 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3276 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3277 a new ::columns-changed signal.
3278 (hildon_touch_selector_append_column): Emit ::columns-changed.
3279 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3281 Add a ::columns-changed signal, emitted when the number of columns in a
3282 HildonTouchSelector changes.
3284 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3286 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3287 (_hildon_picker_dialog_set_selector): Factor out the code
3288 to set up the dialog interaction mode.
3290 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3292 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3293 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3294 to signal_changed_id.
3296 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3298 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3301 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3303 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3304 Updated the logical ids related to ampm format, as now it is required to
3305 show it correctly localized even on languages with no default
3306 abbreviations for am or pm
3307 (_check_am_pm_format): check correctly the 24h format gconf property
3309 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3311 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3313 * src/hildon-button.c: Documentation updates.
3315 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3317 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3318 * src/hildon-caption.c: (hildon_caption_class_init):
3319 * src/hildon-color-button.c: (hildon_color_button_class_init):
3320 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3321 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3322 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3323 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3325 Remove deprecated GTK+ marshalers and replace them with the ones
3326 provided by GLib, for those available, add a marshaler for
3327 BOOLEAN:VOID, which is not available in GLib, and use it.
3329 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3331 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3332 the text from the previous column if there is no
3333 HildonTouchSelectorColumn::text-property set.
3335 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3337 * src/hildon-button.h
3338 * src/hildon-button.c (hildon_button_set_property)
3339 (hildon_button_get_property, hildon_button_class_init)
3340 (hildon_button_set_style, hildon_button_get_style):
3341 New "style" property to change the visual appearance of the
3344 * src/hildon-picker-button.c (hildon_picker_button_new):
3345 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3347 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3348 HildonButton look like PickerButton)
3350 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3352 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3353 column while building the default string.
3355 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3357 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3358 scroll indicator by default.
3360 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3362 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3364 * src/hildon-main.c: Fix the documentation for hildon_init()
3366 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3368 * doc/hildon-docs.sgml
3372 * src/hildon-window-stack-private.h
3373 * src/hildon-window-stack.h
3374 * src/hildon-window-stack.c:
3375 New HildonWindowStack object, that adds support for multiple
3376 stacks of windows per process.
3378 * src/hildon-stackable-window-private.h
3379 * src/hildon-stackable-window.h
3380 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3381 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3382 (hildon_stackable_window_show, hildon_stackable_window_hide)
3383 (hildon_stackable_window_class_init)
3384 (hildon_stackable_window_init):
3385 Use HildonWindowStack for stack management.
3387 * src/hildon-program.c (hildon_program_pop_window_stack)
3388 (hildon_program_peek_window_stack)
3389 (hildon_program_go_to_root_window):
3390 Add a fallback implementation to the deprecated functions using
3393 * examples/hildon-stackable-window-example.c:
3394 Use the new HildonWindowStack API.
3396 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3398 * src/hildon-stackable-window-private.h
3399 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3400 (hildon_stackable_window_hide, hildon_stackable_window_init):
3401 Remove all window stack management.
3403 * src/hildon-program-private.h
3404 * src/hildon-program.h
3405 * src/hildon-program.c (hildon_program_init)
3406 (hildon_program_pop_window_stack)
3407 (hildon_program_peek_window_stack)
3408 (hildon_program_go_to_root_window):
3409 Remove all window stack management and mark functions as
3412 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3414 * src/hildon-app-menu.c (hildon_app_menu_realize):
3415 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3417 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3419 * configure.ac: post release version bump
3420 * debian/changelog: version bump
3422 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3427 * configure.ac: bump version
3428 * debian/changelog: updates
3430 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3432 Based on initial code by Christian Dywan (christian@imendio.com)
3434 * doc/hildon-docs.sgml: Add section for hildon-main.
3435 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3436 * src/Makefile.am: Add new hildon-main.[ch]
3437 * src/hildon-defines.h: Update the icon sizes.
3438 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3439 new library initialization files and register icon sizes.
3440 * src/hildon-main.h: New declarations.
3441 * src/hildon.h: Include hildon-main.h
3443 Add new initialization functions to the library. These methods
3444 will register the hildon specific icon sizes and can be used in the
3445 future for other hildon specific bits.
3447 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3449 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3451 * src/hildon-window.c: (hildon_window_realize),
3452 (hildon_window_notify), (-hildon_window_update_title): Do not set
3453 the application name in the window title.
3455 Fixes: NB#89754 (Applications shouldn't display their names in the
3458 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3460 * src/hildon-note-private.h:
3461 * src/hildon-note.c: (hildon_note_set_property),
3462 (hildon_note_get_property), (hildon_note_class_init),
3463 (hildon_note_init), (hildon_note_finalize),
3464 (hildon_note_new_confirmation_with_icon_name),
3465 (hildon_note_new_information_with_icon_name):
3467 No need to mark as deprecated the actual code. Revert
3468 to avoid missing symbols in widgets using deprecated API.
3470 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3472 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3474 * src/hildon-volumebar.h
3475 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3476 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3478 * src/hildon-helper.h
3479 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3480 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3482 * examples/Makefile.am:
3483 Deprecate hildon-insensitive-example
3485 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3487 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3489 * examples/hildon-pannable-area-buttons-scroll-example.c:
3490 Make all buttons finger height
3492 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3494 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3496 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3497 update the day model only if it is really required, and to avoid the
3498 full-reconstruction aproach. Now it only add or remove the required days.
3500 The purpose of this is avoid superfluous HildonTouchSelector::changed
3503 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3504 with strange parameters)
3506 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3508 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3510 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3511 the WINDOW_TYPE property.
3513 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3515 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3518 Fix dependency to allow parallel compilation with make -jX
3520 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3522 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3523 color frame and some minor tweaks to make it more consistent with
3526 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3527 highlighted but not visible)
3529 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3531 * examples/Makefile.am: Fixed typo in the Makefile.am.
3533 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3535 Reviewed the use of MAEMO_GTK define, now we add the define in the
3536 compilation line, and we also add it to the pc file.
3538 * configure.ac: Added MAEMO_GTK define to the compilation command
3539 and removed it from the config.h.
3541 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3542 do not have to take care about this define if the library was
3546 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3548 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3550 * examples/Makefile.am,
3551 * examples/hildon-pannable-area-buttons-scroll-example.c,
3552 * examples/hildon-pannable-area-gesture-signals-example.c,
3553 * examples/hildon-pannable-area-scroll-jump-example.c,
3554 * examples/hildon-pannable-area-tree-view-example.c:
3555 Renamed the pannable area examples, now they have more meaningful
3558 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3560 * src/hildon-touch-selector.c:
3561 (hildon_touch_selector_set_column_selection_mode): Used of
3562 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3563 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3564 to avoid re-seting the same selection mode.
3566 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3567 breaks HildonPickerDialog)
3569 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3571 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3572 conditional in the Makefile.am
3574 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3576 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3577 Remove unused methods.
3579 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3581 * src/hildon-button.c (hildon_button_init):
3582 Make button images center-aligned by default
3584 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3587 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3588 activated, we have to think about how to deal with both defines
3589 MAEMO_GTK and MAEMO_CHANGES.
3591 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3593 * examples/hildon-app-menu-example.c (create_menu): Make all
3594 buttons finger size.
3596 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3598 Fixed the compilation without maemo gtk adding ifdefs with
3599 MAEMO_GTK define to the code, we have to check this version more
3602 * examples/Makefile.am: Added control to avoid some examples that
3603 just make sense with maemo gtk.
3606 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3607 hildon modes with the define.
3609 * examples/hildon-edit-toolbar-example.c,
3610 (create_icon_view): Create the icon view without hildon-gtk
3611 helpers if we are not using maemo gtk.
3613 * src/hildon-touch-selector.c,
3614 (_create_new_column): Create the treeview without hildon-gtk
3615 helpers if we are not using maemo gtk.
3617 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3619 * src/hildon-pnnable-area.c,
3620 (hildon_pannable_area_dispose),
3621 (hildon_pannable_area_button_press_cb),
3622 (hildon_pannable_area_child_mapped),
3623 (hildon_pannable_area_add),
3624 (hildon_pannable_area_remove): Added code to control the position
3625 of the event_window when adding and removing children from the
3626 pannable. We have to raise the event window when the child is
3629 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3630 selection mode using custom widget inside pannable)
3632 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3634 * configure.ac: post release version bump
3635 * debian/changelog: version bump
3637 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3642 * configure.ac: bump version
3643 * debian/changelog: updates
3645 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3647 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3648 search mode, in order to avoid lose the focus on the treeview when
3649 a hw key (like enter) is pressed.
3651 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3652 in HildonDateSelector dialog)
3654 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3656 * debian/rules: Added --enable-maintainer-mode
3657 * Makefile.am: Added ACLOCAL_AMFLAGS
3659 This allows to properly regenerate the Makefiles if you modify the
3660 configure.ac or any Makefile.am.
3662 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3664 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3665 properties, not needed at all.
3667 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3669 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3671 * src/hildon-note.c: (hildon_note_set_property),
3672 (hildon_note_get_property), (hildon_note_class_init),
3673 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3674 (hildon_note_new_confirmation_add_buttons): Remove icons.
3675 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3676 (hildon_note_new_information_with_icon_name): Deprecate.
3677 (hildon_note_new_confirmation): Act directly, without calling
3678 the deprecated constructor.
3679 (hildon_note_new_information): Act directly, without calling
3680 the deprecated constructor.
3681 * src/hildon-note.h: Mark deprecate methods as such.
3682 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3683 not run tests on the deprecated methods if built with deprecation
3686 Fixes: NB#91688 (Never show icons in information notes/confirmation
3689 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3691 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3692 (hildon_app_menu_key_press): Remove leftover usage of the
3693 private structure in HildonAppMenu struct.
3694 * src/hildon-app-menu.h: Remove leftover private structure
3695 from the HildonAppMenu struct.
3697 Fixes a crasher when using the HildonAppMenu.
3699 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3701 * src/hildon-picker-dialog.c: Use appropriate logical id
3702 for the default "Done" text.
3704 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3706 * configure.ac: post release version bump
3707 * debian/changelog: version bump
3709 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3711 Modified the way to scroll to the current selection just when the touch
3712 selector is shown on the screen, avoiding a g_idle. Added too a property
3713 to configure this behaviour. See hildon_pannable_area_jump_to_child
3714 documentation for more information.
3716 * src/hildon-touch-selector.c
3717 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3718 Added 'initial-scroll' property
3719 (hildon_touch_selector_set_property): Added
3720 (hildon_touch_selector_map): Removed as not required anymore
3721 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3722 only a concrete column, instead of iterate along all the columns
3724 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3729 * configure.ac: bump version
3730 * debian/changelog: updates
3732 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3734 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3735 compilation time warnings.
3737 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3739 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3740 the default value for HildonPannableArea::mov-mode to
3741 HILDON_PANNABLE_AREA_MODE_VERT.
3743 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3745 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3747 Reverting following commit:
3749 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3751 * src/hildon-app-menu-private.h
3752 * src/hildon-app-menu.[ch]
3753 * src/hildon-button.[ch]
3754 * src/hildon-check-button.[ch]
3755 * src/hildon-entry.[ch]
3756 * src/hildon-pannable-area.[ch]
3757 * src/hildon-text-view.[ch]:
3758 Added private field to the object's structure.
3760 because it causes an ABI breakage. We will need to introduce these
3761 changes later at some point. See NB#91636 for an extensive
3762 explanation and status.
3764 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3766 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3768 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3769 remove special cases that are no longer necessary.
3771 Fixes: NB#91016 (Change toolbar sizes, simplification)
3773 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3775 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3776 is shown in the cancel note.
3778 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3780 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3781 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3782 (hildon_seekbar_init): Remove steppers, remove expose event.
3783 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3785 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3787 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3789 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3790 label font to "SmallSystemFont" for vertically arranged buttons.
3792 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3795 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3797 * src/hildon-check-button.c
3798 (hildon_check_button_set_active, hildon_check_button_clicked):
3799 Don't access private parts directly, use getters instead.
3801 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3803 * src/hildon-check-button.c (hildon_check_button_new):
3804 Align the contents of the check button to the left.
3806 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3808 * src/hildon-pannable-area.c,
3809 (hildon_pannable_area_scroll_to),
3810 (hildon_pannable_area_jump_to),
3811 (hildon_pannable_area_scroll_to_child),
3812 (hildon_pannable_area_jump_to_child): Replace the mapped
3813 precondition of these functions with the realized, it is the
3814 correct state of the widget in this case. Changed the
3815 documentation according to this modification.
3817 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3819 Added a new EXTRA_CFLAGS option to add the deprecated define to
3820 the compilation command. This way we can avoid using the define in
3821 the documentation compilation.
3823 * configure.ac: Defined EXTRA_CFLAGS.
3825 * examples/Makefile.am:
3827 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3829 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3831 * src/hildon-picker-dialog.c:
3832 Defined a utility macro with the desired touch selector height
3833 Removed currently unused separator, and title_label variables from
3835 (hildon_picker_dialog_init): Removed code related to the creation
3836 of unused private variables title_label and separator.
3837 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3838 to ensure correct visualization of the touch selector inside the dialog.
3839 * src/hildon-touch-selector.c
3840 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3841 ensure a concrete height of the widget.
3843 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3846 * tests/Makefile.am:
3848 Remove spurious whitespaces.
3850 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3852 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3853 compilation warning after the cancel button removal.
3855 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3857 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3859 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3860 Makefile.am, that way we can choose not to compile some examples
3861 and tests of the deprecated widgets.
3863 * examples/Makefile.am: Divided the sources in deprecated and
3866 * src/Makefile.am: Added undef statement of the deprecated
3867 symbol to the enums file generation process.
3869 * src/hildon-color-chooser-dialog.c
3870 * src/hildon-color-chooser-dialog.h
3871 * src/hildon-color-button.c
3872 * src/hildon-color-button.h
3873 * src/hildon-color-chooser.c
3874 * src/hildon-color-chooser.h
3875 * src/hildon-controlbar.c
3876 * src/hildon-controlbar.h
3877 * src/hildon-date-editor.c
3878 * src/hildon-date-editor.h
3879 * src/hildon-hvolumebar.c
3880 * src/hildon-hvolumebar.h
3881 * src/hildon-private.c
3882 * src/hildon-private.h
3883 * src/hildon-range-editor.c
3884 * src/hildon-range-editor.h
3885 * src/hildon-seekbar.c
3886 * src/hildon-seekbar.h
3887 * src/hildon-time-editor.c
3888 * src/hildon-time-editor.h
3889 * src/hildon-time-picker.c
3890 * src/hildon-time-picker.h
3891 * src/hildon-volumebar.c
3892 * src/hildon-volumebar.h
3893 * src/hildon-vvolumebar.c
3894 * src/hildon-vvolumebar.h
3895 * src/hildon-bread-crumb-trail.h
3896 * src/hildon-bread-crumb-trail.c
3897 * src/hildon-calendar-popup.c
3898 * src/hildon-calendar-popup.h
3899 * src/hildon-weekday-picker.c:
3900 * src/hildon-weekday-picker.h:
3901 * src/hildon-bread-crumb-widget.c:
3902 * src/hildon-bread-crumb-widget.h:
3903 * src/hildon-bread-crumb.c:
3904 * src/hildon-bread-crumb.h:
3905 * src/hildon-calendar.c:
3906 * src/hildon-calendar.h:
3907 * src/hildon-caption.c:
3908 * src/hildon-code-dialog.c:
3909 * src/hildon-code-dialog.h:
3910 * src/hildon-font-selection-dialog.c:
3911 * src/hildon-font-selection-dialog.h:
3912 * src/hildon-get-password-dialog.c:
3913 * src/hildon-get-password-dialog.h:
3914 * src/hildon-login-dialog.c:
3915 * src/hildon-login-dialog.h:
3916 * src/hildon-number-editor.c:
3917 * src/hildon-number-editor.h:
3918 * src/hildon-set-password-dialog.c:
3919 * src/hildon-set-password-dialog.h:
3920 * src/hildon-sort-dialog.c:
3921 * src/hildon-sort-dialog.h: This is the list of deprecated
3924 * src/hildon-touch-selector.c:
3925 * src/hildon-window.c: Added undef statement to avoid compilation
3928 * tests/Makefile.am: Divided the sources in deprecated and
3931 * tests/check_test.c,
3932 (configure_tests): Marked the deprecated code that was adding
3933 suites with deprecated tests.
3935 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3937 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3939 * src/hildon-touch-selector.c: (_default_print_func): Do not
3940 duplicate a string returned by gtk_tree_model_get(), it is already
3943 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3946 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3948 * src/hildon-pannable-area.c
3949 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3950 method, it had problems when adding a widget with viewport the
3951 second time. Now checks if it already has a viewport and uses it.
3953 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3956 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3958 * src/hildon-pannable-area.c,
3959 (hildon_pannable_area_scroll_to),
3960 (hildon_pannable_area_jump_to),
3961 (hildon_pannable_area_scroll_to_child),
3962 (hildon_pannable_area_jump_to_child): Added a precondition to the
3963 scroll and jump to functions: the widget must be mapped before we
3964 can safely call these functions. We have also added documentation
3965 to the functions to explain how to use them in this situation.
3968 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3970 Reviewed the threading handling of the pannable widget, we have
3971 used the gdk_threads_add_timeout function instead of the usual
3972 glib handlers. This avoids some problems with the threads.
3974 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3975 (hildon_pannable_area_initial_effect),
3976 (hildon_pannable_area_scroll_indicator_fade),
3977 (hildon_pannable_area_button_press_cb),
3978 (hildon_pannable_area_timeout),
3979 (hildon_pannable_area_motion_notify_cb),
3980 (hildon_pannable_area_button_release_cb),
3981 (hildon_pannable_area_scroll_cb),
3982 (hildon_pannable_area_scroll_to): Removed the
3983 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3984 gdk_threads_add_timeout.
3986 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3988 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3993 * configure.ac: bump version
3994 * debian/changelog: updates
3996 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3998 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3999 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4000 * src/hildon-color-chooser-dialog.c:
4001 (hildon_color_chooser_dialog_init):
4002 * src/hildon-font-selection-dialog.c:
4003 (hildon_font_selection_dialog_init):
4004 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4006 Remove all cancel/close-like dialogs, as these are not going to be
4009 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4011 * src/hildon-note.c: (hildon_note_rebuild),
4012 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4015 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4017 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4019 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4020 sure all buttons are shown, even the Cancel/Close-like ones.
4022 Fixes: NB#90861 (Custom Confirmation dialogs should be
4023 protected from cancel button removal)
4025 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4027 * debian/control: Change libhildon1-examples dependency from libhildon1
4029 * debian/libhildon1-examples.install
4031 * Makefile.am: Modified the final install directory for the examples on
4032 package libhildon1-examples
4033 * Makefile.static: Update clean target in order to remove all the binary
4036 Changes suggested by Claudio after review new libhildon1-examples package
4038 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4040 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4041 * src/hildon-touch-selector.c: Ditto.
4043 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4045 * debian/control: Added new package libhildon1-examples, in order to pack
4046 the current hildon examples as documentation
4047 * debian/rules: Not to compress .c files, modify some includes on the
4048 examples (as normally are compiled locally, but when installed it will
4049 require to include the installed libhildon1 library), and rename
4051 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4052 install all the example files on the new example package
4053 * examples/Makefile.static: Added static makefile that can be used to
4054 compile the examples, once installed the new example package
4055 * examples: Most of the examples were modified in order to grant that
4056 all use only '#include "hildon.h"', in order to be easy to prepare
4057 it on the example package
4059 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4062 * debian/libhildon1-dev.install
4063 * debian/libhildon1-doc.install:
4064 Move all gtk-doc files to a separate libhildon1-doc package.
4066 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4068 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4070 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4072 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4074 * debian/rules: Fixed a error in order to avoid unnecessary calls
4075 to autogen.sh on package building
4077 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4079 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4081 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4083 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4086 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4088 * src/hildon-picker-button.c
4089 (hildon_picker_button_finalize):
4090 Free priv->done_button_text
4092 * src/hildon-time-button.c
4093 (hildon_time_button_set_time)
4094 * src/hildon-picker-button.c
4095 (hildon_picker_button_clicked)
4096 (hildon_picker_button_selector_selection_changed)
4097 (hildon_picker_button_set_selector)
4098 * src/hildon-date-button.c
4099 (hildon_date_button_set_date):
4100 Free strings returned by hildon_touch_selector_get_current_text()
4102 * src/hildon-button.c (hildon_button_construct_child):
4103 Fix leaks in priv->image and priv->label_box
4105 Fixes: NB#90535 (Memory leak in picker button)
4107 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4109 * src/hildon-button.c: (hildon_button_get_property): Do not access
4110 private elements directly, use getters instead.
4112 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4114 * src/hildon-app-menu-private.h
4115 * src/hildon-app-menu.c
4116 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4117 Store the menu's parent window.
4119 * src/hildon-stackable-window.c
4120 (hildon_stackable_window_toggle_menu)
4121 (hildon_stackable_window_finalize):
4122 Set the menu's parent window when the menu is shown, unset it when
4125 * src/hildon-app-menu.c
4126 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4127 (hildon_app_menu_class_init):
4128 Send unhandled keyboard accelerators to the parent window.
4130 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4132 * src/hildon-stackable-window.c
4133 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4135 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4137 * configure.ac: post release version bump
4139 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4142 * configure.ac: Bump version
4143 * debian/changelog: Updates
4144 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4147 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4149 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4152 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4153 GtkMenu with Hildon style.
4155 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4157 * src/hildon-picker-button.c:
4158 (hildon_picker_button_set_done_button_text): Set the dialog's
4159 done button text here as well.
4161 Fixes: NB#90232 (Picker button does not set the label on done button
4162 for the second time)
4164 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4166 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4169 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4171 * src/hildon-app-menu.c (hildon_app_menu_insert)
4172 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4173 the HildonAppMenu to be activatable using keyboard accelerators
4174 when the menu is not being shown.
4176 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4178 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4180 * src/hildon-stackable-window.c
4181 (hildon_stackable_window_show):
4182 Don't hide old windows automatically when new windows are shown:
4183 this is now a task for the window manager.
4184 (hildon_stackable_window_class_init)
4185 (hildon_stackable_window_hide):
4186 Remove windows from the stack everytime they're hidden.
4187 (hildon_stackable_window_realize):
4188 Don't change the _NET_WM_WINDOW_TYPE property. Use
4189 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4190 it as a stackable window.
4192 * src/hildon-program.c
4193 (hildon_program_pop_window_stack):
4194 Just hide the window to remove it from the stack.
4195 (hildon_program_go_to_root_window):
4196 Don't call gtk_widget_show(), this is now a task for the window
4199 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4201 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4203 * src/hildon-button.c
4204 (hildon_button_construct_child):
4205 Don't pack anything in the button until text or image are
4206 set. This allows adding a custom child after creating the button
4207 with hildon_button_new().
4208 (hildon_button_finalize, hildon_button_class_init)
4209 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4210 alignment and the label box even when they're not packed in the
4213 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4215 * src/hildon-touch-selector.h:
4216 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4217 currently the type definition was using GTK_TYPE_VBOX
4218 * src/hildon-touch-selector.c:
4219 Added some implementation notes in order to clarify that any other widget
4220 added without the column related API will not be included on the
4221 selection logic, and how the widget is freed, as some people ask about
4223 (hildon_touch_selector_remove): Reimplemented in order to free properly
4224 the column related data when you remove the private hbox.
4225 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4226 to get a proper HildonTouchSelectorColumn documentation
4228 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4230 * src/hildon-touch-selector-entry.c:
4231 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4232 text in the GtkEntry and there is no item selected. Fixes a
4235 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4237 * src/hildon-app-menu-private.h
4238 * src/hildon-app-menu.[ch]
4239 * src/hildon-button.[ch]
4240 * src/hildon-check-button.[ch]
4241 * src/hildon-entry.[ch]
4242 * src/hildon-pannable-area.[ch]
4243 * src/hildon-text-view.[ch]:
4244 Added private field to the object's structure.
4246 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4248 * configure.ac: post-release version bump
4250 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4254 * configure.ac: pre-release version bump
4256 * debian/changelog: updates.
4258 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4260 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4261 Disconnect the handler for HildonTouchSelector::changed.
4263 (hildon_picker_button_selector_selection_changed): Update the button
4264 value if the selection change was not triggered by the
4267 (hildon_picker_button_set_selector): connect to
4268 HildonTouchSelector::changed.
4270 Fixes: NB#89650 (Picker button is not updated, when selection in
4271 selector has changed)
4273 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4275 * src/hildon-picker-dialog.c
4276 (hildon_picker_dialog_realize): Removed as not required
4277 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4278 * src/hildon-picker-button.c
4279 (_current_selector_empty): New function, checks if the selector is empty
4280 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4281 if the current selector is empty, in order to avoid to show the dialog
4282 close the dialog in this case (and shows a g_warning).
4284 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4286 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4288 * src/hildon-pannable-area.c,
4289 (hildon_pannable_area_scroll): Added clause to stop movement when
4290 the child of pannable is smaller than one page.
4291 (hildon_pannable_area_scroll_to): Added conditions to avoid
4292 starting the scrolling movement if the child is smaller than one
4293 page, the complete child is in the screen, we do not have to move.
4295 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4297 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4299 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4300 this is managed automatically by the widget when the size of the
4303 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4305 * src/hildon-picker-button.c
4306 (hildon_picker_button_set_done_button_text): Make a copy of the
4307 text, and free the previous value.
4309 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4311 * src/hildon-touch-selector-entry.c:
4312 (hildon_touch_selector_entry_print_func): Return the selected row's
4313 text if the entry is empty.
4315 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4318 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4320 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4322 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4325 * src/hildon-check-button.h
4326 * src/hildon-check-button.c
4327 * examples/hildon-check-button-example.c:
4328 HildonCheckButton is now a new widget. 'toggled' signal added.
4330 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4332 * src/hildon-program-private.h
4333 * src/hildon-program.c (hildon_program_init)
4334 (hildon_program_finalize): Removed unused variables group_leader
4335 and name from HildonProgramPrivate.
4337 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4339 * src/hildon-check-button.c (hildon_check_button_set_active)
4340 (hildon_check_button_get_active, hildon_check_button_new): Use
4341 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4343 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4345 * src/hildon-touch-selector.h
4346 (hildon_touch_selector_set_column_attributes): added deprecation
4347 guard HILDON_DISABLE_DEPRECATED
4348 * src/hildon-time-selector.c
4349 (hildon_time_selector_set_time)
4350 (hildon_time_selector_get_time): Fixed a typo on documentation
4351 * src/hildon-touch-selector.c: update HildonTouchSelector and
4352 HildonTouchSelectorColumn documentation
4353 * src/hildon-touch-selector-entry.c: update "text-column" property
4355 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4356 to be added to the general documentation.
4358 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4360 * examples/hildon-pannable-area-example-4.c,
4362 * examples/hildon-pannable-area-example.c,
4363 (main): Modified the code in order to use the container add, with
4364 viewport treeviews could have problems if they are really big.
4366 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4368 * src/hildon-weekday-picker.c,
4369 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4370 the agreement regarding deprecation in the library.
4372 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4374 * examples/hildon-picker-button-multicolumn-example.c:
4375 (main): Use custom "done" button text.
4377 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4378 (hildon_picker_button_set_property),
4379 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4380 (hildon_picker_button_init),
4381 (+hildon_picker_button_get_done_button_text),
4382 (+hildon_picker_button_set_done_button_text): New methods to customize
4383 the "done" button label in the launched HildonPickerDialog. Also,
4386 * src/hildon-picker-button.h: add the public API.
4388 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4390 * src/hildon-date-selector.h:
4391 * src/hildon-picker-dialog.h:
4392 * src/hildon-time-selector.h:
4393 * src/hildon-touch-selector-column.h:
4394 * src/hildon-touch-selector.h:
4396 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4397 declarations. Fixes gtk-doc warnings.
4399 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4401 * src/hildon-picker-dialog.h
4402 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4403 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4405 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4406 long text is set as label for done button)
4408 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4410 * src/hildon-dialog.c (hildon_dialog_add_button):
4411 Set fixed width to all buttons in the HildonDialog.
4413 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4415 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4417 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4418 Set widget name using class name plus "-finger" or "-thumb".
4420 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4422 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4423 'clicked' when the state of the button is manually changed.
4425 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4427 * src/hildon-app-menu.c (hildon_app_menu_realize)
4428 (hildon_app_menu_unrealize, hildon_app_menu_init)
4429 (hildon_app_menu_class_init, item_visibility_changed):
4430 Change the menu layout when the size of the screen changes.
4431 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4432 Show warning only when changing the number of colums using the
4435 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4437 * debian/compat: Set to 5
4438 * debian/control: Update dependencies.
4439 * debian/libhildon1-dbg.install: Remove.
4440 * debian/libhildon1-dev.install: Update according to cdbs paths.
4441 * debian/libhildon1.install: Update according to cdbs paths.
4442 * debian/rules: Switch to cdbs.
4444 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4446 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4447 'item' variable renamed to 'filter'
4449 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4451 * src/hildon-app-menu.c (hildon_app_menu_insert)
4452 (hildon_app_menu_add_filter, remove_item_from_list)
4453 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4454 Don't leak hidden items when the menu is destroyed.
4456 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4458 * src/hildon-app-menu.c (hildon_app_menu_insert)
4459 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4460 (hildon_app_menu_set_columns, item_visibility_changed)
4461 (filter_visibility_changed, hildon_app_menu_repack_filters)
4462 (hildon_app_menu_repack_items):
4463 Repack items and filters separately.
4465 Don't repack all items, change only the ones that are needed to
4468 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4470 * src/Makefile.am: added hildon-touch-selector-column.h
4472 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4474 * src/hildon-touch-selector.c: added the property "text-column" to the
4475 class HildonTouchSelectorColumn, and related get/set functions
4476 (_default_printf_func): updated to use "text-column" property
4477 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4478 "text-column" in his documentation, as this is now included on
4479 HildonTouchSelectorColumn. The get/set_property can still be used,
4480 working as a wrapper to the concrete column "text-column" property
4481 (_text_column_modified): callback added in order to handle the signal
4482 "notify::text-column" of the concrete HildonTouchSelectorColumn
4483 (hildon_touch_selector_entry_get_text_column)
4484 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4485 modified in order to use the HildonTouchSelectorColumn "text-column"
4487 * src/hildon-time-selector.c:
4488 * src/hildon-date-selector.c:
4489 * examples/hildon-touch-selector-example.c
4490 * examples/hildon-touch-selector-multi-cells-example.c
4491 * examples/hildon-picker-button-multicolumn-example.c
4492 Set the right value to "text-column" property on the creation of a new
4493 column using hildon_touch_selector_append_column()
4495 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4497 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4499 * src/hildon-app-menu.c
4500 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4501 updating the layout of the menu, don't create all widgets again,
4502 just repack the items in their new places.
4504 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4506 * src/hildon-time-selector.c
4507 (hildon_time_selector_get_time)
4508 (hildon_time_selector_set_time)
4509 Added documentation of these public methods
4511 * src/hildon-date-button.h
4512 * src/hildon-touch-selector-column.h
4513 * src/hildon-time-button.h
4514 * src/hildon-picker-dialog.h
4515 * src/hildon-time-selector.h
4516 * src/hildon-picker-button.h
4517 * src/hildon-touch-selector.h
4518 * src/hildon-time-picker.h
4519 * src/hildon-date-selector.h
4520 * src/hildon-touch-selector-entry.h
4521 Modified in order to use hildon-widgets code style
4523 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4525 Added deprecated support to the compilation process using
4526 HILDON_DISABLE_DEPRECATED
4528 * configure.ac: Added the --disable-deprecated to the configure
4531 * src/hildon-weekday-picker.c:
4532 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4533 to use the deprecated support. We will update the other deprecated
4534 widgets status in a new patch.
4536 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4538 * configure.ac: Fixed typo with fatal warnings support, the
4539 variable name was not correct
4541 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4543 * src/hildon-app-menu.c
4544 * src/hildon-program.c: Update documentation.
4546 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4548 * configure.ac: Post-release version bump.
4550 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4555 * configure.ac: Pre-release version bump.
4556 * debian/changelog: Updates.
4558 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4560 * NEWS: Update news for previous releases.
4562 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4564 * examples/hildon-touch-selector-multi-cells-example.c:
4565 (create_selector): Update the example to use
4566 hildon_touch_selector_append_column() with a NULL renderer and set
4567 the renderers later.
4568 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4569 passed a NULL renderer. This is documented behavior now.
4571 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4572 This must be used if the developer wants full control on the layout of
4573 the renderers to be added to the column.
4575 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4577 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4579 * src/hildon-touch-selector.c: Documentation fixes.
4581 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4583 * src/hildon-wizard-dialog-private.h: Remove image and box.
4584 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4585 (hildon_wizard_dialog_set_property), (response): Completely remove
4586 image/icon support, and the containers required for the layout.
4588 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4590 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4592 * src/hildon-app-menu.c: Updated documentation.
4594 * src/hildon-stackable-window.c
4595 (hildon_stackable_window_set_main_menu): Unref the old menu after
4596 ref'ing the new one.
4598 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4600 * src/hildon-stackable-window.c
4601 (hildon_stackable_window_set_main_menu): Unref the previous menu
4602 instead of destroying it.
4604 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4605 floating reference and set has_user_ref_count to FALSE to make
4606 HildonAppMenu act like a normal ref-counted widget and not a
4609 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4612 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4614 * src/hildon-touch-selector-column.h: new file
4615 * src/hildon-touch-selector.h
4616 * src/hildon-touch-selector.c
4617 Implemented GtkCellLayout interface, in order to allow to configure
4618 the cell layout on each individual selector column
4619 (hildon_touch_selector_set_column_attributes): marked as deprecated
4620 * examples/hildon-touch-selector-multi-cells-example.c
4621 Example of how to use the GtkCellLayout interface on the selector
4623 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4625 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4627 * src/hildon-app-menu.h
4628 * src/hildon-app-menu.c
4629 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4630 (hildon_app_menu_append, hildon_app_menu_prepend):
4631 New methods to prepend, insert and move items in the menu.
4633 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4635 * src/hildon-wizard-dialog.c:
4637 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4639 (create_title): Update logical IDs and related code.
4640 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4642 * src/hildon-wizard-dialog.h: Note that
4643 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4644 point, as it is not used anymore.
4646 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4648 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4650 * src/hildon-note.c:
4651 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4652 shown. Do not display an icon in confirmation notes nor information
4654 (hildon_note_set_button_text): Update logical ID for cancel button.
4656 Fixes: NB#88850 (Update HildonNote button strings + signals)
4658 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4660 * src/hildon-stackable-window.c
4661 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4663 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4665 * src/hildon-app-menu-private.h
4666 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4667 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4668 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4669 temporary property 'columns' to change the number of columns.
4671 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4673 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4675 * examples/hildon-note-example.c: (on_information_clicked),
4676 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4677 debugging information.
4678 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4680 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4681 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4682 in order to close: this will be handled by the WM from now on.
4684 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4686 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4688 * src/hildon-app-menu-private.h
4689 * src/hildon-app-menu.c
4690 (hildon_app_menu_append, hildon_app_menu_add_filter)
4691 (button_visibility_changed, hildon_app_menu_apply_style)
4692 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4693 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4694 layout everytime a button (item or filter) is shown or hidden.
4696 * src/hildon-stackable-window.c
4697 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4700 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4702 * src/hildon-touch-selector.c:
4703 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4704 that the treeview inside the touch selector is in fremantle hildon mode
4705 * examples/hildon-date-button-example.c
4706 * examples/hildon-picker-button-multicolumn-example.c
4707 * examples/hildon-touch-selector-entry-example.c
4708 * examples/hildon-touch-selector-example.c
4709 * examples/hildon-time-button-example.c
4710 * examples/hildon-picker-button-example.c:
4711 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4713 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4715 * examples/hildon-text-view-example.c: (main): Remove the
4716 gtkrc bits, now handled by the theme.
4718 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4720 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4723 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4725 * po/Makefile.am: Install properly the mo files.
4726 * po/en_GB.po: Update translation, to ease testing purposes.
4728 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4730 * examples/hildon-picker-button-example.c: (main): Select an item
4731 in the selector before setting it to the button.
4733 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4735 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4736 Update button's value if the selector has an item active.
4738 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4739 'value' with the selector)
4741 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4743 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4744 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4745 (hildon_picker_button_class_init): Plug the finalize method.
4746 (hildon_picker_button_set_selector): If there's a previously set
4747 selector, unref'it before setting a new one.
4749 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4750 HildonTouchSelector)
4752 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4754 * src/hildon-touch-selector-entry.c:
4755 (hildon_touch_selector_entry_changed): Check if there is no text
4756 selected before setting the entry text.
4759 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4761 * src/hildon-touch-selector.h
4762 * src/hildon-touch-selector.c
4763 (hildon_touch_selector_get_active)
4764 (hildon_touch_selector_set_active): New methods to set/get the
4765 index of the selected item.
4767 * src/hildon-picker-button.h
4768 * src/hildon-picker-button.c
4769 (hildon_picker_button_get_active)
4770 (hildon_picker_button_set_active): New methods to set/get the
4771 index of the selected item.
4773 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4775 * configure.ac: post-release version bump.
4777 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4781 * configure.ac: Pre-release version bump.
4782 * debian/changelog: Updates.
4783 * debian/control: Add myself as maintainer and depend on l10n
4786 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4788 * src/hildon-window.c
4789 (hildon_window_set_main_menu)
4790 * src/hildon-stackable-window.c
4791 (hildon_stackable_window_set_main_menu):
4792 Updated documentation.
4794 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4796 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4797 Don't free selector->priv manually.
4800 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4803 (hildon_gtk_window_set_progress_indicator):
4804 * src/hildon-gtk.h: Added the new API
4805 hildon_gtk_window_set_progress_indicator, it changes the state of
4806 the window progress hint.
4808 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4810 * src/hildon-button.c
4811 * src/hildon-stackable-window.c: Minor documentation updates.
4813 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4815 * src/hildon-stackable-window.c: Updated documentation.
4817 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4819 * src/hildon-defines.h: Update margins definitions
4820 to the Fremantle sizes.
4823 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4825 * src/hildon-touch-selector.c,
4826 (_hildon_touch_selector_set_model): Cleaning the code after
4827 review, removed g_print and #if 0 from the code.
4829 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4831 * src/hildon-edit-toolbar.c: Update documentation.
4833 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4835 * src/hildon-check-button.h
4836 * src/hildon-check-button.c
4837 (hildon_check_button_set_label, hildon_check_button_get_label)
4838 * examples/hildon-check-button-example.c
4839 (button_clicked_cb):
4840 Removed deprecated methods.
4842 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4844 * src/hildon-text-view.c:
4845 Add sample code to the documentation.
4847 * src/hildon-entry.h
4848 * src/hildon-text-view.h:
4849 Minor cosmetic changes.
4851 * src/hildon-entry.c:
4852 Add sample code to the documentation.
4853 (hildon_entry_init, hildon_entry_refresh_contents):
4854 Don't allow NULL values in the placeholder.
4856 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4858 * doc/hildon-docs.sgml
4860 * examples/Makefile.am
4861 * examples/hildon-text-view-example.c
4863 * src/hildon-text-view.c
4864 * src/hildon-text-view.h
4866 New HildonTextView widget, with example.
4868 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4870 * po/POTFILES.in: Add missing files with translatable strings.
4871 Partially fixes NB#88287.
4873 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4875 * examples/hildon-pannable-area-example-2.c: (main): No need to
4876 set the cellrenderer height inside hildon touch lists, the theme does
4879 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4881 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4882 they are integrated in the theme.
4884 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4886 * examples/hildon-entry-example.c: Update the example adding
4887 widgets to modify the text and the placeholder of the HildonEntry.
4889 * src/hildon-entry.c: Show the placeholder everytime the widget
4890 is empty and loses the focus.
4892 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4894 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4896 * src/hildon-pannable-area.c,
4897 (hildon_pannable_area_size_request): Fixed bug in height
4898 requisition, avoid increasing size and add border twice.
4900 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4902 * configure.ac: postrelease version bump.
4904 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4908 * configure.ac: Prerelease version bump.
4909 * debian/changelog: update.
4910 * debian/rules: make -dbg package contain useful debugging symbols.
4912 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4914 * src/hildon-dialog.h
4915 * src/hildon-dialog.c
4916 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4917 New methods to add buttons with finger size.
4918 (hildon_dialog_new_with_buttons):
4919 Create buttons with finger size.
4921 * examples/hildon-dialog-example.c (main): Use HildonDialog
4922 methods to add buttons.
4924 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4926 * src/hildon-entry.c: Updated HildonButton documentation.
4928 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4930 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4931 button value label with (FALSE, FALSE) to prevent NB#88126 from
4934 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4936 * examples/hildon-pannable-area-example.c,
4937 (main): Removed examples panning a vbox inside a pannable
4938 area. Check bug NB#87965
4940 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4942 Patch contributed by Kris Rietveld (kris@imendio.com)
4944 * src/hildon-pannable-area.c,
4945 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4946 get_size and get_position, this saves an X server roundtrip.
4948 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4950 * doc/hildon-docs.sgml
4952 * examples/Makefile.am
4953 * examples/hildon-entry-example.c
4955 * src/hildon-entry.c
4956 * src/hildon-entry.h
4958 New HildonEntry widget, with example.
4960 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4962 * src/hildon-button.c (hildon_button_construct_child): Pack the
4963 image with expand == fill == FALSE. This is a workaround for a bug
4966 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4968 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4969 labels for the text column, to make it more look more dynamic.
4971 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4973 * src/hildon-time-selector.c
4974 Define gettext auxiliar macro N_
4975 (_create_minutes_model)
4976 (_create_hours_model)
4977 (_create_ampm_model): use of strftime in order to fill the model
4978 * src/hildon-date-selector.c
4979 (hildon_date_selector_finalize):
4980 (_locales_init): remove the logic related to get the name of the months
4981 using nl_langinfo, as it is not required anymore
4983 (_create_year_model)
4984 (_create_month_model)
4985 (_update_day_model): use of strftime in order to fill the model properly
4988 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4990 * src/hildon-button.h
4991 * src/hildon-button.c (hildon_button_get_image): New method to
4994 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4996 * src/hildon-touch-selector.c:
4997 (hildon_touch_selector_remove_column): Remove from the correct parent
4998 and also remove the list element and free it.
5001 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5003 * src/hildon-time-selector.c
5004 (_create_hours_model): change the range on 12h ampm format in order to use
5005 a 12-11 range instead of previous 01-12 range
5006 (hildon_time_selector_set_time): change the way to select the current time
5007 on 12h ampm format, due the change on the range
5008 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5011 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5013 * src/hildon-touch-selector.c
5014 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5015 in order to allow use this function on multiple row selection mode if
5016 the column is different that the first one
5019 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5021 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5022 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5024 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5026 * src/hildon-date-selector.h: clean some comments, now on the .c
5027 * src/hildon-date-selector.c
5028 (hildon_date_selector_select_month): first implementation
5029 (hildon_date_selector_select_day): added documentation, reimplemented
5030 using hildon_date_selector_select_current_date to avoid repeat code
5033 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5035 Reviewed interaction logic based on device experiences, refactored
5038 * src/hildon-pannable-area.c,
5039 (hildon_pannable_area_class_init): Updated default vmax speed.
5040 (hildon_pannable_area_calculate_velocity): Added this function, it
5041 avoids duplicate valocity calculation. Adjusted calculation to
5042 avoid problems with zero dist events.
5044 (hildon_pannable_area_motion_notify_cb): Now we use the
5045 calculate_velocity function.
5047 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5049 * src/hildon-date-selector.c
5050 (hildon_date_selector_select_current_date): fix the day range check
5051 as it failed using the last day of the current month
5054 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5056 * src/hildon-touch-selector.c
5057 (hildon_touch_selector_get_num_columns): added a parameter validation
5060 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5062 * examples/Makefile.am
5063 * examples/hildon-edit-toolbar-example.c: Example of the
5064 HildonEditToolbar widget.
5066 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5068 * configure.ac: postrelease version bump.
5070 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5074 * configure.ac: prerelease version bump.
5075 * debian/changelog: update.
5077 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5079 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5080 renderer to display stock icons in the touch list. Also, set the sizes
5081 to the recommended in the style guide.
5083 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5084 * src/hildon-touch-selector.h
5085 (hildon_touch_selector_set_active_iter): renamed, now is
5086 hildon_touch_selector_select_iter
5087 (hildon_touch_selector_get_active_iter): renamed, now is
5088 hildon_touch_selector_get_selected
5089 (hildon_touch_selector_unselect_iter): added
5090 * src/hildon-touch-selector.c
5091 Update after API modification (methods renamed)
5092 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5093 order to avoid problems selecting multiple elements on the column
5094 (hildon_touch_selector_unselect_iter): added the implementation
5095 * src/hildon-time-selector.c
5096 * src/hildon-date-selector.c
5097 * src/hildon-touch-selector-entry.c
5098 Update methods calls after hildon-touch-selector.h API modification (methods
5101 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5103 * src/hildon-stackable-window.c
5104 (hildon_stackable_window_finalize): Call the parent class's finalize.
5106 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5108 * examples/hildon-touch-selector-example.c: (create_selector): Use
5109 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5112 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5114 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5115 set a cell background color, to respect theming.
5117 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5119 * doc/hildon-docs.sgml
5122 * src/hildon-edit-toolbar.c
5123 * src/hildon-edit-toolbar.h
5124 * src/hildon.h: New HildonEditToolbar widget.
5126 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5128 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5131 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5132 * src/hildon-touch-selector.c
5133 (_create_new_column): use g_object_set instead of two g_object_set_property
5135 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5136 * src/hildon-touch-selector.c
5137 (_create_new_column): use of hildon_gtk_tree_view_new to create
5138 the treeview, instead of use directly g_object_new
5139 (_create_new_column): update the property name "vindicator-mode" for the
5140 new one "vscrollbar-policy"
5141 * examples/hildon-date-button-example.c
5142 * examples/hildon-picker-button-multicolumn-example.c
5143 * examples/hildon-touch-selector-entry-example.c
5144 * examples/hildon-touch-selector-example.c
5145 * examples/hildon-time-button-example.c
5146 * examples/hildon-picker-button-example.c
5147 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5148 to all the treeviews inside a pannable area.
5150 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5152 * src/hildon-button.h
5153 * src/hildon-button.c (hildon_button_init)
5154 (hildon_button_set_arrangement, hildon_button_set_alignment)
5155 (hildon_button_set_title_alignment)
5156 (hildon_button_set_value_alignment)
5157 (hildon_button_set_image_alignment)
5158 (hildon_button_construct_child): New methods to set the alignment
5159 of the individual components of the button (title, value,
5160 image). Also, new method to alter the xscale and yscale properties
5161 of the GtkAlignment inside the button, so more complex layouts can
5164 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5166 * src/hildon-button.c (hildon_button_style_set)
5167 (hildon_button_class_init, hildon_button_set_arrangement)
5168 (hildon_button_construct_child): Apply style properties
5169 correctly. Use the 'image-spacing' style property too.
5171 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5173 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5174 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5177 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5179 * src/hildon-pannable-area.c,
5180 (hildon_pannable_area_size_request): Fixed problem with
5181 pannable-area size_request.
5183 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5185 Added management for the grab-focus to a child widget, like a
5186 range, we need to fade out the scrollbar when releasing.
5188 * src/hildon-pannable-area.c,
5189 (hildon_pannable_area_init): Connected the grab-focus signal to
5191 (hildon_pannable_area_grab_notify): Added this function in order
5192 to manage the situation when the grab-focus ends. We have to
5193 fade-out the scrollbar.
5195 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5197 * src/hildon-app-menu.c: Minor documentation update.
5199 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5201 * src/hildon-app-menu.c
5202 * examples/hildon-app-menu-example.c (create_menu): Update
5203 examples and documentation to explain how to connect callbacks.
5205 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5207 * examples/hildon-button-example.c
5208 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5209 hildon_stackable_window_new instead of gtk_window_new
5211 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5213 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5214 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5215 (hildon_pannable_area_set_property),
5216 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5217 (hildon_pannable_area_unrealize),
5218 (hildon_pannable_area_size_request),
5219 (hildon_pannable_area_size_allocate),
5220 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5221 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5222 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5223 (hildon_pannable_area_initial_effect),
5224 (hildon_pannable_area_redraw),
5225 (hildon_pannable_area_scroll_indicator_fade),
5226 (hildon_pannable_area_expose_event),
5227 (hildon_pannable_area_get_topmost), (synth_crossing),
5228 (hildon_pannable_area_button_press_cb),
5229 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5230 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5231 (hildon_pannable_area_motion_notify_cb),
5232 (hildon_pannable_area_button_release_cb),
5233 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5234 (hildon_pannable_area_remove),
5235 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5236 chage the code layout to a more GtkWidget like. Review the use of
5239 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5241 * examples/hildon-pannable-area-example-4.c,
5242 (main): Modified the name of the hindicator_mode to
5245 * src/hildon-pannable-area.c,
5246 (hildon_pannable_area_class_init),
5247 (hildon_pannable_area_motion_notify_cb),
5248 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5249 we have reduced the amount of signals and managed reviewed its
5250 rationale. Changed the default decelerate value.
5252 (hildon_pannable_area_add),
5253 (hildon_pannable_area_redraw): Refactored functions.
5255 (hildon_pannable_area_init),
5256 (hildon_pannable_area_get_property),
5257 (hildon_pannable_area_set_property):
5258 (hildon_pannable_draw_vscroll),
5259 (hildon_pannable_draw_hscroll),
5260 (hildon_pannable_area_initial_effect),
5261 (hildon_pannable_area_expose_event),
5262 (hildon_pannable_area_scroll),
5263 (hildon_pannable_area_button_press_cb),
5264 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5265 and vindicator_mode with hscrollbar_policy and
5266 vscrollbar_policy. Replaced hscroll and vscroll with
5267 hscroll_visible and vscroll_visible.
5269 (hildon_pannable_area_refresh): Refactor the function, remove
5270 variables and check the calls to this function, added resize
5271 conditions in case the children change their layout.
5273 (hildon_pannable_area_size_request): Added more detailed
5274 size_request calculation.
5277 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5279 * src/hildon-color-chooser.c
5280 (init_borders): use the correct gtk_border_free instead of g_free, to
5281 avoid a crash when this widget is used (ie: the three color selection
5284 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5286 * src/hildon-check-button.c,
5287 (hildon_check_button_set_active): Fixed problem when setting the
5288 active value, the widget was not redrawn.
5290 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5292 * src/hildon-pannable-area.c,
5293 (hildon_pannable_area_refresh),
5294 (hildon_pannable_area_scroll),
5295 (hildon_pannable_area_motion_notify_cb): Small code style change.
5297 (hildon_pannable_area_class_init): Default initial_hint set to
5298 FALSE, it is not in the specs.
5300 (hildon_pannable_area_initial_effect),
5301 (hildon_pannable_area_expose_event),
5302 (hildon_pannable_area_map),
5303 (hildon_pannable_area_init): Moved the launching point of the
5304 initial effect, it was in map but the sizes where not correct in
5305 that method so we do not know if we have the reproduce it. Now it
5306 is placed in the expose_event method and uses a variable to
5307 reproduce it just once.
5309 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5311 * src/hildon-pannable-area.c,
5312 (hildon_pannable_draw_vscroll),
5313 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5314 position allowed for the scrollbars.
5316 (hildon_pannable_area_size_allocate): Small style change.
5318 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5320 * src/hildon-pannable-area.c,
5321 (hildon_pannable_area_scroll_indicator_fade),
5322 (hildon_pannable_area_button_press_cb),
5323 (hildon_pannable_area_button_release_cb),
5324 (hildon_pannable_area_scroll_cb),
5325 (hildon_pannable_area_expose_event),
5326 (hildon_pannable_area_init): Added the define parameter
5327 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5328 and refactor the fade variable.
5330 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5332 * src/hildon-pannable-area.c,
5333 (hildon_pannable_area_redraw),
5334 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5335 lines, we were reimplemeting the redraw code.
5337 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5339 * src/hildon-pannable-area.c,
5340 (hildon_pannable_area_scroll_cb),
5341 (hildon_pannable_area_realize),
5342 (hildon_pannable_area_class_init): Added scroll_event management
5343 for pannable area, now we can scroll the usual desktop method.
5345 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5346 initialization of the parameters should depend on idle_id.
5348 (hildon_pannable_area_init),
5349 (hildon_pannable_area_map): Small code style modifications
5351 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5353 * src/hildon-pannable-area.c
5354 (hildon_pannable_area_button_press_cb),
5355 (hildon_pannable_area_motion_notify_cb),
5356 (hildon_pannable_area_button_release_cb),
5357 (hildon_pannable_area_size_allocate),
5358 (hildon_pannable_area_scroll_to): Improved the timeouts
5359 management, we avoid creating them each time.
5361 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5363 * src/hildon-pannable-area.c:
5364 (hildon_pannable_area_refresh),
5365 (hildon_pannable_area_motion_notify_cb),
5366 (hildon_pannable_area_class_init):
5367 * src/hildon-pannable-area.h:
5368 * src/hildon-touch-selector.c
5369 (_create_new_column):
5370 * examples/hildon-pannable-area-example-4.c:
5371 (horizontal_movement),
5372 (vertical_movement),
5374 Replaced the names of enums in the HildonPannableArea:
5375 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5376 HILDON_MOVEMENT_MODE_*
5377 - HILDON_PANNABLE_AREA_MOV_* ->
5379 - Removed HildonPannableAreaIndicatorMode, now we
5382 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5384 * examples/hildon-pannable-area-touch-grid-example.c
5385 * examples/hildon-pannable-area-touch-list-example.c: Fix
5386 compilation warnings.
5388 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5390 * src/hildon-gtk.c (hildon_gtk_button_new)
5391 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5392 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5393 images overriding the value of the "gtk-button-images" setting.
5395 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5397 * src/hildon-check-button.c (hildon_check_button_new):
5398 Instead of using a custom container, display the label and the
5399 checkbox using the standard GtkButton API.
5401 * examples/hildon-check-button-example.c (main): Don't use
5402 hildon_check_button_set_label() anymore
5404 * src/hildon-check-button.h
5405 * src/hildon-check-button.c
5406 (hildon_check_button_set_label, hildon_check_button_get_label):
5407 Set as deprecated, now we're using gtk_button_{get,set}_label()
5409 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5411 * src/hildon-pannable-area.c,
5412 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5413 GtkTreeview first line we detected it after the inclusion of the
5414 GtkWindowImpl in gtk+. We now check if the window is visible, not
5415 just if the pointer is over the window.
5416 (hildon_pannable_axis_scroll),
5417 (hildon_pannable_area_expose_event): Small style changes.
5419 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5421 * src/hildon-button.c: Update documentation.
5423 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5425 * examples/hildon-button-example.c: Add a switch to show images in
5428 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5430 * doc/hildon-docs.sgml: Some docs reorganization.
5432 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5434 * examples/hildon-pannable-area-touch-list-example.c
5436 * examples/hildon-pannable-area-touch-grid-example.c
5437 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5438 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5439 Fix memory leak when setting the tree model.
5441 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5445 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5447 * doc/hildon.types: Remove duplicated hildon_window_get_type
5448 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5449 documentation comment.
5451 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5453 * doc/Makefile.am: Complete list of private headers.
5455 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5457 * doc/hildon-docs.sgml
5458 * src/hildon-app-menu.c
5459 * src/hildon-bread-crumb.c
5460 * src/hildon-button.c
5462 * src/hildon-program.c
5463 * src/hildon-stackable-window.c
5464 * src/hildon-window.c: Lots of documentation updates.
5466 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5468 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5470 * configure.ac: Require Gtk+ 2.12.9 at least
5472 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5474 * src/hildon-pannable-area.c
5475 (hildon_pannable_area_scroll_indicator_fade),
5476 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5477 to protect the return of this timeout callbacks, avoiding deadlocks.
5479 2008-08-12 Christian Dywan <christian@imendio.com>
5482 * src/hildon-*.h: Ensure a consistent include order,
5483 include <gtk/gtk.h> instead of particular files and
5484 only include the topmost header in the gtk stack. See NB #39857
5486 2008-08-12 Christian Dywan <christian@imendio.com>
5488 * src/hildon-picker-dialog.c
5489 * src/hildon-touch-selector.c: Fix warnings about unused and
5490 uninitialized variables.
5492 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5494 * examples/Makefile.am
5495 * examples/hildon-check-button-example.c: Example of the hildon
5498 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5500 * src/hildon-window.h
5501 * src/hildon-window.c (hildon_window_class_init)
5502 (hildon_window_unset_program): Don't make
5503 hildon_window_unset_program a virtual function anymore.
5505 * src/hildon-stackable-window.c: Update documentation
5507 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5510 * doc/hildon-docs.sgml
5511 * doc/visual_index.xml
5512 * src/hildon-defines.c
5514 * src/hildon-helper.c
5515 * src/hildon-range-editor.c: Lots of documentation fixes.
5517 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5519 * examples/hildon-picker-button-multicolumn-example.c
5520 (create_touch_selector): Fix compilation warning.
5522 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5524 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5525 (hildon_pannable_area_button_release_cb)
5526 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5528 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5530 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5533 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5535 * src/hildon-bread-crumb-trail.h
5536 * src/hildon-date-editor.c
5537 * src/hildon-date-selector.c
5538 * src/hildon-pannable-area.c
5539 * src/hildon-picker-dialog.c
5540 * src/hildon-time-selector.c
5541 * src/hildon-touch-selector-entry.c
5542 * src/hildon-touch-selector.c
5543 * src/hildon-touch-selector.h: Misc documentation fixes
5545 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5547 * examples/hildon-date-editor-example.c (main): Updated date
5550 * examples/hildon-note-example.c (on_confirmation_clicked):
5551 Updated confirmation note example.
5553 * src/hildon-date-editor.c
5554 * src/hildon-note.c: Updated sample programs in documentation.
5557 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5559 * src/hildon-date-button.h:
5560 * src/hildon-picker-button.h:
5561 * src/hildon-time-button.c:
5562 * src/hildon-time-button.h:
5564 Some declarations changes to allow gtk-doc to document the widgets
5567 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5569 * src/hildon-date-button.c: Document the widget.
5570 * src/hildon-time-button.c: Document the widget.
5572 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5574 * src/hildon-picker-button.c: Document the widget.
5575 * src/hildon-touch-selector-entry.c: Document the widget.
5577 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5579 * doc/hildon-docs.sgml
5582 * src/hildon-check-button.h
5583 * src/hildon-check-button.c: New functions to create the Hildon
5587 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5589 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5591 * src/hildon-button.h
5592 * src/hildon-button.c
5593 (hildon_button_add_title_size_group)
5594 (hildon_button_add_value_size_group)
5595 (hildon_button_add_image_size_group)
5596 (hildon_button_add_size_groups): New functions to set size groups
5597 for the button labels and image.
5598 (hildon_button_new_full): Removed
5600 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5602 * src/hildon-time-selector.c
5603 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5604 in order to avoid a crash if gconf is not available
5606 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5608 * src/hildon-button.c (hildon_button_set_arrangement)
5609 (hildon_button_construct_child): Don't construct the button child
5610 before setting the arrangement.
5612 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5614 * src/hildon-program-private.h
5615 * src/hildon-program.c
5616 * src/hildon-program.h
5617 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5618 (hildon_program_peek_window_stack)
5619 (hildon_program_pop_window_stack)
5620 (hildon_program_go_to_root_window): HildonProgram now has a
5621 separate list for stackable windows. Functions are provided to
5622 manage that list with a stack-like API.
5624 * src/hildon-stackable-window.c: Stackable window management is
5625 now much simpler with the new HildonProgram API. Windows no
5626 longer need to be manually added to the program, they're
5627 automatically pushed to the top of the stack when shown.
5629 * examples/hildon-stackable-window-example.c: Updated example to
5630 reflect the API changes.
5632 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5634 * src/hildon-touch-selector.c: Comment out unimplemented
5635 hildon_touch_selector_insert_column() to avoid a compile warning.
5637 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5639 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5640 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5641 (hildon_touch_selector_set_column_selection_mode),
5642 (_hildon_touch_selector_set_model),
5643 (hildon_touch_selector_set_model):
5645 Complete review of HildonTouchSelector documentation.
5647 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5649 * doc/hildon-docs.sgml
5653 * src/hildon-gtk.c: Convenience functions for standard Gtk
5654 widgets, used to easily perform frequent operations.
5656 * src/hildon-button-helpers.h
5657 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5659 * src/hildon-helper.h
5660 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5661 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5663 * src/hildon-button.h
5664 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5666 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5668 * src/hildon-button.c (hildon_button_init)
5669 (hildon_button_set_arrangement, hildon_button_construct_child):
5670 Pack the image and the labels inside the same GtkAlignment so
5671 gtk_button_set_alignment() can be used
5673 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5675 * src/hildon-button.h
5676 * src/hildon-button.c
5677 (hildon_button_init, hildon_button_set_image)
5678 (hildon_button_set_image_position)
5679 (hildon_button_construct_child): New functions to add an image to
5682 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5684 * src/hildon-date-button.c
5685 * src/hildon-picker-button.c
5686 * src/hildon-time-button.c
5687 * src/hildon-button.c:
5688 (hildon_button_class_init): "size-flags" renamed to "size"
5689 (hildon_button_set_title): Hide the title label if set to NULL.
5691 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5693 HildonButtonFlags split into HildonButtonArrangement (to set the
5694 button layout) and HildonSizeType (which can be used for any
5697 * src/hildon-button.h
5698 * src/hildon-button.c
5699 (hildon_button_class_init)
5700 (hildon_button_set_arrangement)
5701 (hildon_button_set_property): New "size-flags"
5702 property. "arrangement-flags" renamed to "arrangement".
5703 (hildon_button_new, hildon_button_new_with_text)
5704 (hildon_button_new_full): Constructors updated to reflect type changes.
5706 * src/hildon-helper.h
5707 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5708 to set the size of a widget.
5712 * src/hildon-button-helpers.c
5713 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5715 * src/hildon-date-button.c
5716 * src/hildon-date-button.h
5717 * src/hildon-picker-button.c
5718 * src/hildon-picker-button.h
5719 * src/hildon-time-button.c
5720 * src/hildon-time-button.h: Updated widgets to reflect
5721 HildonButton API changes.
5723 * examples/hildon-button-example.c
5724 * examples/hildon-date-button-example.c
5725 * examples/hildon-picker-button-example.c
5726 * examples/hildon-picker-button-multicolumn-example.c
5727 * examples/hildon-time-button-example.c
5728 * examples/hildon-touch-selector-entry-example.c
5729 * examples/hildon-touch-selector-example.c: Updated examples to
5730 reflect HildonButton API changes.
5732 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5734 * doc/hildon-docs.sgml:
5736 * examples/Makefile.am:
5737 * examples/hildon-touch-selector-entry-example.c:
5739 * src/hildon-touch-selector-entry.c:
5740 * src/hildon-touch-selector-entry.h:
5743 Moved HildonTouchSelectorEntry from sandbox. Added its
5744 documentation and examples.
5746 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5748 * src/hildon-touch-selector.h:
5749 * examples/hildon-picker-button-multicolumn-example.c:
5750 (hildon_touch_selector_append_text_column): Add a gboolean
5751 parameter to determine if text must be centered in the column.
5753 * src/hildon-date-selector.c: (hildon_date_selector_init):
5754 * src/hildon-time-selector.c: (hildon_time_selector_init):
5755 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5756 (create_touch_selector): Update widgets and example to reflect
5759 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5761 * src/hildon-touch-selector.c:
5762 (hildon_touch_selector_set_active_iter): Set also the cursor in
5765 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5767 * doc/hildon-docs.sgml
5770 * src/hildon-toggle-button.c
5771 * src/hildon-toggle-button.h
5772 * src/hildon.h: Removed HildonToggleButton widget, a derived
5773 class is not necessary for this.
5775 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5777 * src/hildon-pannable-area.c,
5778 (hildon_pannable_area_realize),
5779 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5782 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5784 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5785 "done" button the default widget for the dialog.
5787 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5789 * src/hildon-touch-selector.c:
5790 (hildon_touch_selector_class_init),
5791 (hildon_touch_selector_get_property),
5792 (_hildon_touch_selector_set_model),
5793 (_hildon_touch_selector_has_multiple_selection),
5794 (hildon_touch_selector_has_multiple_selection):
5795 Add a "has-multiple-selection" property with a virtual
5796 has_multiple_selection() method to allow derived classes to
5797 override the default value for it. See the method and property
5798 documentation for details.
5800 * src/hildon-touch-selector.h: Add the new API.
5802 * src/hildon-picker-dialog.c: (requires_done_button): Call
5803 hildon_touch_selector_has_multiple_selection() instead of
5804 determining the need for a button itself.
5806 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5808 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5809 (_hildon_touch_selector_set_model),
5810 (hildon_touch_selector_set_model): Move working code to
5811 _hildon_touch_selector_set_mode(). Call the class method instead.
5813 * src/hildon-touch-selector.h: Add (*set_model) to
5814 HildonTouchSelectorClass.
5816 Make hildon_touch_selector_set_model() a virtual method, so that
5817 derived classes can extend it and do fancy stuff with the model.
5819 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5821 * configure.ac: Set back the tarname in AC_INIT to hildon.
5823 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5827 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5828 instead of libesd (NB#86876). Volume handling is still an open issue.
5830 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5833 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5835 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5836 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5837 derived class to ease placement of an entry widget in
5838 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5839 end, where the selector columns are packed now.
5841 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5843 * src/hildon-picker-button.c: Removed the simple _text() API.
5844 * src/hildon-picker-button.h: Likewise.
5846 * src/hildon-touch-selector.h:
5847 * src/hildon-touch-selector.c:
5848 (hildon_touch_selector_new_text),
5849 (hildon_touch_selector_append_text),
5850 (hildon_touch_selector_prepend_text),
5851 (hildon_touch_selector_insert_text):
5853 Moved the simple _text() API from HildonPickerButton to
5854 HildonTouchPicker, to provide better escalability and not to tie
5855 that API to HildonPickerButton.
5857 * examples/hildon-picker-button-example.c: (main): Example updated.
5859 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5861 * src/hildon-button.c: Updated documentation.
5863 * examples/hildon-button-example.c: Add the posibility to create
5864 the buttons using horizontal layout for title and value.
5866 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5868 * src/hildon-app-menu-private.h
5869 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5870 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5871 GtkSizeGroup for the filters, use the 'homogeneous' property of
5874 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5876 * examples/hildon-button-example.c: Updated example.
5878 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5880 * doc/hildon-docs.sgml:
5883 Update documentation.
5885 * examples/Makefile.am: Update renamed examples.
5887 * examples/hildon-picker-button-multicolumn-example.c:
5888 (create_touch_selector), (main): Update after the rename.
5890 * examples/hildon-touch-picker-example.c: Removed.
5891 * examples/hildon-touch-selector-example.c: (value_changed),
5892 (create_selector), (get_visible_content), (main): Renamed from
5893 hildon-touch-picker-example.c
5895 * src/Makefile.am: Updated renamed files.
5897 * src/hildon-date-button.c: (hildon_date_button_init),
5898 (hildon_date_button_get_date), (hildon_date_button_set_date):
5899 * src/hildon-date-selector.c: (hildon_date_selector_init),
5900 (_custom_print_func), (_update_day_model),
5901 (_manage_selector_change_cb),
5902 (hildon_date_selector_select_current_date),
5903 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5904 * src/hildon-date-selector.h:
5905 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5906 (hildon_picker_button_set_property),
5907 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5908 (hildon_picker_button_init), (hildon_picker_button_new_text),
5909 (hildon_picker_button_append_text),
5910 (hildon_picker_button_prepend_text),
5911 (hildon_picker_button_insert_text),
5912 (hildon_picker_button_set_selector),
5913 (hildon_picker_button_get_selector):
5914 * src/hildon-picker-button.h:
5915 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5916 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5917 (_update_title_on_selector_changed_cb), (requires_done_button),
5918 (_hildon_picker_dialog_set_selector),
5919 (hildon_picker_dialog_set_selector),
5920 (hildon_picker_dialog_get_selector):
5921 * src/hildon-picker-dialog.h:
5922 * src/hildon-time-button.c: (hildon_time_button_init),
5923 (hildon_time_button_get_time), (hildon_time_button_set_time):
5924 * src/hildon-time-selector.c: (hildon_time_selector_init),
5925 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5926 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5927 * src/hildon-time-selector.h:
5930 Massive code updates after the rename.
5932 * src/hildon-touch-picker.c: Removed.
5933 * src/hildon-touch-picker.h: Removed.
5935 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5936 (hildon_touch_selector_init), (hildon_touch_selector_map),
5937 (hildon_touch_selector_remove), (_default_print_func),
5938 (_selection_changed_cb), (_create_new_column),
5939 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5940 (hildon_touch_selector_append_text_column),
5941 (hildon_touch_selector_remove_column),
5942 (hildon_touch_selector_set_column_attributes),
5943 (hildon_touch_selector_insert_column),
5944 (hildon_touch_selector_get_num_columns),
5945 (hildon_touch_selector_get_column_selection_mode),
5946 (hildon_touch_selector_set_column_selection_mode),
5947 (hildon_touch_selector_set_print_func),
5948 (hildon_touch_selector_get_print_func),
5949 (hildon_touch_selector_get_active_iter),
5950 (hildon_touch_selector_set_active_iter),
5951 (hildon_touch_selector_get_selected_rows),
5952 (hildon_touch_selector_get_model),
5953 (hildon_touch_selector_set_model),
5954 (hildon_touch_selector_get_current_text),
5955 (_hildon_touch_selector_center_on_selected_items):
5956 * src/hildon-touch-selector.h: Renamed from
5957 hildon-touch-picker.[ch]
5959 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5960 references, code examples, and related documentation.
5962 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5964 * doc/hildon-docs.sgml
5967 * src/hildon-toggle-button.c
5968 * src/hildon-toggle-button.h
5969 * src/hildon.h: New HildonToggleButton widget.
5971 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5973 * src/hildon-button.c: Add API documentation.
5974 (hildon_button_set_size_groups): Check input parameters
5976 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5978 * src/hildon-pannable-area.c
5979 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5980 effect after reaching the movement thredshold. This way we start
5981 using the distance after passing the thredshold.
5983 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5985 * src/hildon-button.c: (hildon_button_set_property): Use the
5986 appropriate g_value_get_flags() method.
5988 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5990 * doc/hildon-docs.sgml:
5993 Add the touch pickers, picker dialogs, and picker button widgets
5994 to the documentation.
5996 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5998 * src/hildon-button.c: (hildon_button_set_property),
5999 (hildon_button_class_init): Make "arrangement-flags" a proper
6000 G_TYPE_FLAGS derived property.
6002 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6004 * examples/Makefile.am: Add below examples.
6005 * examples/hildon-date-button-example.c:
6006 * examples/hildon-picker-button-example.c:
6007 * examples/hildon-picker-button-multicolumn-example.c:
6008 * examples/hildon-time-button-example.c:
6009 * examples/hildon-touch-picker-example.c:
6011 Add examples for the recently added touch pickers,
6012 picker dialogs, and picker button widgets.
6014 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6016 * src/hildon-button.c: Add some API documentation
6018 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6020 * src/hildon-button.h
6021 * src/hildon-button.c
6023 (hildon_button_new_with_text): New constructor to create a button
6024 with no text at all.
6025 (hildon_button_init, hildon_button_set_arrangement)
6026 (hildon_button_set_title, hildon_button_set_value)
6027 (hildon_button_set_text)
6028 (hildon_button_construct_child): Hide the value when it's not used
6029 so the rest of the text is properly aligned.
6030 Allow creating buttons with arbitrary widgets inside (not just
6031 title/value labels).
6033 * examples/hildon-button-example.c (vertical_buttons_window)
6034 (horizontal_buttons_window): Update example to use new API.
6036 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6038 * src/Makefile.am: Added HildonTimeButton.
6039 * src/hildon-time-button.c: Added missing LGPL header.
6040 * src/hildon-time-button.h: Added missing LGPL header.
6041 * src/hildon.h: Add hildon-time-button.h
6043 Copied HildonTimeButton from sandbox to trunk. Future work on this
6044 widget must take place in trunk.
6046 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6048 * src/Makefile.am: Added HildonDateButton.
6049 * src/hildon-date-button.c: Update includes.
6050 * src/hildon.h: Add hildon-date-button.h
6052 Copied HildonDateButton from sandbox to trunk. Future work on this
6053 widget must take place in trunk.
6055 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6057 * src/Makefile.am: Added HildonPickerButton.
6058 * src/hildon-picker-button.h: Update includes.
6059 * src/hildon.h: Add hildon-picker-button.h
6061 Copied HildonPickerButton from sandbox to trunk. Future work on
6062 this widget must take place in trunk.
6064 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6066 * src/Makefile.am: Added HildonPickerDialog.
6067 * src/hildon-picker-dialog.c: Update includes.
6068 * src/hildon.h: Add hildon-picker-dialog.h
6070 Copied HildonPickerDialog from sandbox to trunk. Future work
6071 on this widget must take place in trunk.
6073 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6075 * src/Makefile.am: Added HildonTimeSelector.
6076 * src/hildon.h: Add hildon-time-selector.h
6078 Copied HildonTimeSelector widget from sandbox to trunk. Future
6079 work on this widget must happen in trunk.
6081 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6083 * src/Makefile.am: Added HildonDateSelector.
6084 * src/hildon.h: Add hildon-date-selector.h
6086 Copied HildonDateSelector widget from sandbox to trunk. Future
6087 work on this widget must happen in trunk.
6089 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6091 * src/Makefile.am: Added HildonTouchPicker.
6092 * src/hildon-touch-picker.c: Update includes.
6093 * src/hildon.h: Add hildon-touch-picker.h
6095 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6096 on this widget must happen in trunk.
6098 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6100 * src/hildon-pannable-area.c:
6101 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6103 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6105 * examples/hildon-app-menu-example.c (main): Let the window
6108 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6110 * src/hildon-pannable-area.c
6111 (hildon_pannable_area_class_init): Set the min value of the
6112 overshoot properties to zero, which points out that not
6113 overshooting allowed.
6115 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6117 Modified the procedure to get the widget at a point inside the
6118 pannable area when using the movement type signals. Now the user
6119 has to call a function to get the child, that way we just
6120 calculate the child in case the user really want to use it and not
6123 * src/hildon-marshalers.list: Modified the marshallers, now we do
6124 not have the widget as a parameter.
6126 * src/hildon-pannable-area.c
6127 (hildon_pannable_area_motion_notify_cb),
6128 (hildon_pannable_area_class_init),
6129 (hildon_pannable_get_child_widget_at): Removed the widget
6130 parameter from the signal callback. We have also refactored the
6131 emission of the signals.
6133 * src/hildon-pannable-area.h: Added a new method to the API to
6134 calculate a widget at a point inside the pannable area,
6135 hildon_pannable_get_child_widget_at.
6137 * examples/hildon-pannable-area-example-4.c
6138 (horizontal_movement): Modified the example to use the new API,
6139 added condition to control which widget is under the event. This
6140 way we can avoid scrolling laterally over other widgets.
6142 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6144 * src/hildon-pannable-area.c
6145 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6146 modes, we stop getting the pointer events due to returning the
6147 callback without properly calling the get pointer again. Fixed
6148 also an error using the hscroll and vscroll.
6150 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6152 * src/hildon-app-menu-private.h
6153 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6154 (hildon_app_menu_button_release, hildon_app_menu_init)
6155 (hildon_app_menu_class_init): Don't hide the menu on button
6156 release if the user didn't press outside first.
6158 * src/hildon-window.h
6159 * src/hildon-window.c (hildon_window_toggle_menu)
6160 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6161 hildon_window_toggle_menu a virtual function for the stackable
6162 window to override it.
6164 * src/hildon-stackable-window.h
6165 * src/hildon-stackable-window-private.h
6166 * src/hildon-stackable-window.c
6167 (hildon_stackable_window_realize)
6168 (hildon_stackable_window_finalize)
6169 (hildon_stackable_window_class_init)
6170 (hildon_stackable_window_init)
6171 (hildon_stackable_window_set_main_menu): New function to set the
6172 app menu of a HildonStackableWindow.
6174 * examples/hildon-app-menu-example.c: Remove the button to show
6175 the app menu, now it'll be shown when clicking on the title bar
6178 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6180 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6181 set the widget name if the arrangement flags do not specify
6184 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6186 * src/hildon-button.c: (hildon_button_set_property),
6187 (hildon_button_class_init), (hildon_button_new_full),
6188 (hildon_button_set_arrangement): Added "arrangement-flags"
6191 Make the HildonButtonFlags a construction-only property, to allow
6192 subclasses to set them properly.
6194 2008-07-21 Tim Janik <timj@imendio.com>
6196 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6197 insertion position after backspace, so additional digits are appended,
6200 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6202 * src/hildon-pannable-area.c,
6203 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6204 TODO list, it was complete and removed the g_debug and g_print
6207 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6209 Added the movement modes to the hildon-pannable-area, with this
6210 modes the developers can control in which directions the widget
6211 can scroll. They can also connect to signals in order to do
6212 something when that happens, allowing applications scroll. There
6213 is an example uploaded showing how to use it.
6215 * examples/Makefile.am:
6216 * examples/hildon-pannable-area-example-4.c: Added this example of
6217 an application using the modes.
6219 * src/hildon-marshalers.list: Added a new marshaller for the new
6222 * src/hildon-pannable-area.h: Added new enumerations and flags in
6223 order to control the movement modes and the new signals to warn
6224 about the movements in the area.
6226 * src/hildon-pannable-area.c:
6227 (hildon_pannable_axis_scroll),
6228 (hildon_pannable_area_scroll),
6229 (hildon_pannable_area_motion_notify_cb),
6230 (hildon_pannable_area_get_property),
6231 (hildon_pannable_area_set_property),
6232 (hildon_pannable_area_map),
6233 (hildon_pannable_area_class_init),
6234 (hildon_pannable_area_init),
6235 (hildon_pannable_area_jump_to): Added the modes to control the
6236 movement in the widget. We have added properties to control it,
6237 signals to warn about the movements and refactored some code.
6239 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6241 Changes required in order to allow vfast_factor set to zero to
6244 * src/hildon-pannable-area.c:
6245 (hildon_pannable_area_button_press_cb): Changed the condition, it
6246 is required for not allowing click when vfast_factor is zero.
6247 (hildon_pannable_area_timeout): Initialized velocity variables
6248 when we stop moving, it was less than 1 but not zero and we need
6249 to check zero in some situations.
6250 (hildon_pannable_area_class_init): Changed the default value of
6251 the speed factor, now the button_press is just sent in case the
6252 speed is 2 per cent of the max speed.
6253 (hildon_pannable_area_init): Initialization with 0.
6255 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6257 * src/hildon-pannable-area.c,
6258 (hildon_pannable_area_get_topmost): replaced
6259 gdk_window_get_children with gdk_window_peek_children, this way we
6260 do not have to free the list because it is not a copy.
6262 (hildon_pannable_axis_scroll),
6263 (hildon_pannable_area_scroll),
6264 (hildon_pannable_area_timeout),
6265 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6266 two parameters that were only used inside the
6267 hildon_pannable_area_scroll function.
6269 * examples/hildon-pannable-area-example.c,
6270 (get_sawtooth_label): Fixed small memory leak.
6272 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6274 More checks for the case where the overshoot is bigger than the
6277 * src/hildon-pannable-area.c:
6278 (hildon_pannable_draw_vscroll),
6279 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6280 to draw the slider of the scrollbar under the other scrollbar.
6281 (hildon_pannable_area_expose_event): added new checks to control
6282 the drawing of the overshooting area rectangle, in case it is too
6283 big for the area of the widget.
6284 (hildon_pannable_area_size_allocate): add more checks to avoid
6285 setting a position to the child widget outside the area.
6287 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6289 * src/hildon-pannable-area.c
6290 (hildon_pannable_area_size_allocate): Added conditions to control
6291 when overshooting is bigger than the allocated space for the
6292 children, this avoids negative allocations.
6294 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6296 * doc/hildon-docs.sgml
6298 * examples/Makefile.am
6299 * examples/hildon-button-example.c
6301 * src/hildon-button.c
6302 * src/hildon-button.h
6303 * src/hildon.h: Initial version of the new HildonButton widget,
6306 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6308 * src/hildon-pannable-area.c:
6309 (hildon_pannable_area_button_press_cb),
6310 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6311 (hildon_pannable_area_motion_notify_cb),
6312 (hildon_pannable_area_button_release_cb),
6313 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6314 (hildon_pannable_area_jump_to_child):
6316 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6318 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6320 * examples/Makefile.am
6321 * examples/hildon-pannable-area-touch-grid-example.c
6322 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6323 the Hildon Touch List and Hildon Touch Grid using the
6324 HildonPannableArea widget.
6326 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6328 * src/hildon-pannable-area.c,
6329 (hildon_pannable_area_button_press_cb),
6330 (hildon_pannable_area_refresh),
6331 (hildon_pannable_area_scroll),
6332 (hildon_pannable_area_motion_notify_cb),
6333 (hildon_pannable_area_button_release_cb),
6334 (hildon_pannable_area_expose_event),
6335 (hildon_pannable_area_add),
6336 (hildon_pannable_area_remove),
6337 (hildon_pannable_area_realize),
6338 (hildon_pannable_area_size_allocate),
6339 (hildon_pannable_area_class_init),
6340 (hildon_pannable_area_init),
6341 (hildon_pannable_area_scroll_to_child),
6342 (hildon_pannable_area_jump_to_child): Fixed the problem of
6343 removing the child from the GtkBin, we have rearranged the widget
6344 hierarchy, now there is no GtkAlignment which was not doing
6345 anything interesting but breaking some of the assumptions of
6346 GtkContainer. Now developers if they want to add a GtkAlignment
6347 they could, but it is not inside the area.
6349 We had to review the whole allocation/expose process, now it is
6350 improved and we save at least three signals which would be saving
6351 some time when rendering the widget. The allocation of the
6352 scrollbars is now made in the allocate method as usual.
6354 We have also added some conditions in order to control when there
6355 is no child of the pannable area. Maybe we will need more work
6358 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6360 * src/hildon-pannable-area.c,
6361 (hildon_pannable_area_dispose): Released the fade-out timeout when
6362 disposing the widget.
6364 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6366 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6367 zero, we are going to use that property in order to deactivate the
6369 (hildon_pannable_axis_scroll),
6370 (hildon_pannable_area_size_allocate): Added conditions to control
6371 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6372 call, now it is called in all situations and we can remove calls
6373 in the allocate method.
6374 (hildon_pannable_area_map): Control the situation when
6375 overshoot_max is zero, we do not need the timeout.
6376 (hildon_pannable_area_class_init): Added documentation in order to
6377 point out that setting zero to overshoot_max means deactivate
6380 NOTE: removed trailing whitespaces from my previous comments of
6383 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6385 * src/hildon-pannable-area.c
6386 (hildon_pannable_area_get_property),
6387 (hildon_pannable_area_set_property),
6388 (hildon_pannable_area_map),
6389 (hildon_pannable_area_class_init),
6390 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6391 to cause the widget give a hint about its panning abilities upon
6394 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6396 * src/hildon-pannable-area.c: Several documentation improvements.
6398 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6400 * src/hildon-program.c
6401 * src/hildon-stackable-window.c: Update documentation.
6403 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6405 * src/hildon-stackable-window.c (get_previous_window_if_last):
6406 Renamed get_last_window()
6407 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6408 (hildon_stackable_window_unset_program):
6410 (get_previous_window_if_last):
6411 Detect if the window hasn't been added to a HildonProgram.
6413 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6415 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6417 * src/hildon-pannable-area.c
6418 (hildon_pannable_area_button_press_cb),
6419 (hildon_pannable_axis_scroll),
6420 (hildon_pannable_area_scroll),
6421 (hildon_pannable_area_timeout),
6422 (hildon_pannable_calculate_vel_factor),
6423 (hildon_pannable_area_get_property),
6424 (hildon_pannable_area_set_property),
6425 (hildon_pannable_area_class_init),
6426 (hildon_pannable_area_init),
6427 (hildon_pannable_area_scroll_to),
6428 (hildon_pannable_area_jump_to),
6429 (hildon_pannable_area_scroll_to_child),
6430 (hildon_pannable_area_jump_to_child):
6431 * src/hildon-pannable-area.h: Added the new API functions:
6432 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6433 hildon_pannable_area_scroll_to_child,
6434 hildon_pannable_area_jump_to_child
6437 * examples/Makefile.am
6438 * examples/hildon-pannable-area-example-2.c
6439 * examples/hildon-pannable-area-example-3.c: Added these two new
6440 examples in order to test and show how the new APIs work.
6442 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6444 * examples/hildon-stackable-window-example.c (new_window):
6445 * src/Makefile.am (noinst_HEADERS):
6446 * src/hildon-program.c (hildon_program_go_to_root_window):
6447 * src/hildon-program.h:
6448 * src/hildon-stackable-window-private.h:
6449 * src/hildon-stackable-window.c:
6450 * src/hildon-stackable-window.h:
6451 Create hildon-stackable-window-private.h
6452 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6454 * examples/hildon-app-menu-example.c (create_menu):
6455 * examples/hildon-hvolumebar-insensitive-example.c (main):
6456 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6457 * examples/hildon-toolbar-seekbar-example.c (main):
6458 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6459 * src/hildon-banner.c (hildon_banner_set_property):
6460 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6461 Fix compilation warnings
6463 * src/hildon-window.c:
6466 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6468 * src/hildon-stackable-window.c
6469 (hildon_stackable_window_unset_program):
6470 Calculate correctly whether to show the previous window if the
6471 last one is removed from the stack.
6472 (hildon_stackable_window_go_to_root_window):
6473 Send delete events starting from the topmost window.
6474 Stop if one of the windows is not destroyed.
6476 (hildon_stackable_window_delete_event)
6477 (hildon_stackable_window_class_init):
6478 Ignore the delete event if the window is not the topmost one.
6480 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6482 * src/hildon-pannable-area.c
6483 (hildon_pannable_area_expose_event): Fixed a problem when
6484 selecting the background color of the scrollbars.
6486 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6488 * examples/hildon-stackable-window-example.c
6489 * src/hildon-stackable-window.c
6490 * src/hildon-stackable-window.h
6491 hildon_stackable_window_go_home() renamed to
6492 hildon_stackable_window_go_to_root_window()
6493 Send delete events to windows rather than closing them with
6494 gtk_widget_destroy()
6496 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6498 * src/hildon-pannable-area.c
6499 (hildon_pannable_area_button_release_cb): Fix overshooting in
6502 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6504 * src/hildon-pannable-area.c
6505 (hildon_pannable_area_init): Initially show the scroll indicators.
6506 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6508 Add initial effect showing the widget is pannable.
6510 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6512 * src/hildon-pannable-area.c
6513 (hildon_pannable_area_class_init)
6514 (hildon_pannable_area_set_property)
6515 (hildon_pannable_area_get_property)
6516 (hildon_pannable_area_button_press_cb):
6517 New 'velocity_fast_factor' property to decide which velocity is
6520 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6522 * src/hildon-pannable-area.c
6523 (hildon_pannable_draw_hscroll)
6524 (hildon_pannable_draw_vscroll):
6525 Use float variables to calculate the size of the scrollbars to
6526 avoid error propagation and resizing during scrolling.
6528 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6530 * src/hildon-pannable-area.c
6531 (hildon_pannable_draw_vscroll)
6532 (hildon_pannable_draw_hscroll):
6533 Define a minimum size for the scroll bars
6535 * src/hildon-stackable-window.c
6536 (hildon_stackable_window_go_home): Fix compilation warning
6537 (get_last_window): Minor optimizations
6538 (hildon_stackable_window_class_init): Fix initialization of
6541 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6543 * src/hildon-stackable-window.c: Fixed typos in doc
6545 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6547 * src/hildon-pannable-area.c
6548 (hildon_pannable_area_scroll):
6549 Calculate here whether we need to scroll instead of using the booleans
6550 that tell us whether to /draw/ the scrolling bars.
6552 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6554 * src/hildon-app-menu.h
6556 * src/hildon-app-menu.c
6557 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6558 multiple filter groups related code and API. Now we support only
6560 * examples/hildon-app-menu-example.c:
6562 Update to reflect API changes.
6564 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6566 * src/hildon-stackable-window.c
6567 (hildon_stackable_window_class_init):
6568 Add hildon_stackable_window_realize.
6569 (hildon_stackable_window_realize):
6570 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6571 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6572 to apply theming and behavior specific to HildonStackableWindow
6575 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6577 * src/hildon-note.c (hildon_note_button_release):
6578 Close information notes also when tapping on them
6580 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6582 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6583 ELASTICITY, refactor and review, fix some issues with drawing
6586 * src/hildon-pannable-area.c:
6587 (hildon_pannable_area_button_press_cb): removed the conditions to
6588 avoid clicks when overshooting. It is not required
6590 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6591 define. Refatored and reviewed the code, now we do not need to
6592 manage velocity in motion_notify.
6594 (hildon_pannable_area_motion_notify_cb): We have moved the code
6595 that controls the area_scroll to the axis_scroll function and get
6596 rid of duplicated code.
6598 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6600 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6602 (hildon_pannable_draw_vscroll),
6603 (hildon_pannable_draw_hscroll): Fixed the problems with the
6604 scrollbar drawing, now we do not use two surfaces, it is easier
6605 and saves resources.
6607 (hildon_pannable_area_get_property): Style modification.
6609 (hildon_pannable_area_class_init): Changed some default values.
6611 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6613 * src/hildon-stackable-window.c: Fix some typos in the
6616 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6618 * src/hildon-dialog.c:
6619 Change indentation style
6622 (hildon_note_button_release):
6623 Use root coordinates to check if the release event happened
6626 * src/hildon-app-menu.c
6627 (hildon_app_menu_button_release):
6628 Remove unnecessary check
6630 * examples/hildon-app-menu-example.c
6632 Add cast to fix warning
6634 * src/hildon-app-menu.c
6635 (hildon_app_menu_class_init):
6636 New inner-border style property.
6637 Set all default spacings to 16
6638 (hildon_app_menu_init):
6639 Use vertical-spacing to set the space between filter buttons and
6640 regular menu buttons.
6641 Set the default container border using the inner-border value.
6643 * examples/hildon-app-menu-example.c
6645 Don't set the menu border explicitly, now we have the inner-border
6646 style property for that.
6648 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6650 * src/hildon-app-menu.c (hildon_app_menu_init):
6651 Make the window modal
6653 * src/hildon-note.c (hildon_note_map)
6654 * src/hildon-app-menu.c (hildon_app_menu_map):
6655 Destroy the grab window if we're unable to grab the pointer
6657 * src/hildon-app-menu-private.h
6658 * src/hildon-app-menu.c
6659 (hildon_app_menu_init, hildon_app_menu_finalize)
6660 (hildon_app_menu_map, hildon_app_menu_unmap)
6661 (hildon_app_menu_button_release)
6662 (grab_transfer_window_get):
6663 Bring back the grab window
6664 (hildon_app_menu_realize):
6665 Decorate the window, set WM hint for Matchbox
6667 * src/hildon-note.c (hildon_note_realize):
6668 * src/hildon-banner.c (hildon_banner_realize):
6669 Add WM hints for Matchbox
6671 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6673 * src/hildon-app-menu-private.h
6674 * src/hildon-app-menu.c
6675 (hildon_app_menu_init, hildon_app_menu_finalize)
6676 (hildon_app_menu_map, hildon_app_menu_unmap)
6677 (hildon_app_menu_button_release):
6678 Remove the grab window, it's not needed anymore
6680 * src/hildon-program.c
6681 Fixed typo in documentation
6683 * src/hildon-app-menu.h
6684 * src/hildon-app-menu.c
6685 * examples/hildon-app-menu-example.c
6686 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6688 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6691 Added new transfer_window and close_if_pressed_outside private
6693 (hildon_note_rebuild):
6694 Don't add a cancel button to the information note. It will be
6695 closed when tapping outside
6696 Remove the comment about the OK button in the documentation
6697 (hildon_note_realize):
6698 Set the notification type hint
6699 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6700 Grab/ungrab pointer and keyboard if the note has to be closed when
6702 (hildon_note_button_release):
6703 Close the note when tapping outside (if applicable)
6705 * src/hildon-app-menu.c
6706 Grab/ungrab pointer and keyboard on map/unmap
6707 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6708 Close the menu on button release, not button press
6710 * src/hildon-banner.c
6711 (hildon_banner_set_property)
6712 (hildon_banner_check_position):
6713 Make the banner use the full width of the screen
6714 (hildon_banner_show_information)
6715 (hildon_banner_show_information_with_markup):
6716 Don't display an icon by default
6718 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6720 Added fading scrollbars and adapted all the overshooting code to
6721 horizontal scrolling. We have also fixed bugs with overshooting
6722 and current fading implementation.
6724 * src/hildon-pannable-area.c
6725 (hildon_pannable_area_scroll_indicator_fade): Time out function
6726 used to change the transparency of the scrollbars.
6728 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6729 control and fixed a problem with fading, we now remove the fade
6730 timeout before adding a new one.
6732 (hildon_pannable_axis_scroll):
6733 (hildon_pannable_area_scroll):
6734 (hildon_pannable_area_timeout): Added this functions so we can use
6735 the scroll code both for vertical and horizontal.
6737 (hildon_pannable_area_motion_notify_cb):
6738 (hildon_pannable_area_button_release_cb): Added the horizontal
6739 scrolling control, fixed a problem with the overshooting timeout.
6741 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6742 painting of the scrolls.
6744 (hildon_pannable_draw_vscroll):
6745 (hildon_pannable_draw_hscroll):
6746 (hildon_pannable_area_expose_event):
6747 Draw both scrollbars and rectangles in the overshooting area.
6749 (hildon_pannable_area_get_property):
6750 (hildon_pannable_area_set_property):
6751 Modified the overshoot property to overshoot_max
6753 (hildon_pannable_area_map):
6754 Replaced the comments symbols.
6756 (hildon_pannable_area_size_allocate):
6757 (hildon_pannable_area_class_init):
6758 (hildon_pannable_area_init): Added horizontal scroll, fading
6759 effect properties, fixed a problem when overshooting in the bottom
6762 * examples/hildon-pannable-area-example.c:
6763 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6764 looks better in the example.
6766 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6768 * src/hildon-window.c
6769 * src/hildon-window.h
6770 (hildon_window_class_init)
6771 (hildon_window_unset_program)
6772 (hildon_window_unset_program_real):
6773 Make unset_program a virtual function
6775 * src/hildon-stackable-window.c
6776 * src/hildon-stackable-window.h
6777 Added hildon_stackable_window_go_home()
6779 * examples/Makefile.am
6780 * examples/hildon-stackable-window-example.c
6781 HildonStackableWindow example
6783 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6785 * hildon-pannable-area.c: Added the overshoot property and removed
6786 the OVERSHOOT define. Fixed an indent style error.
6787 (hildon_pannable_area_motion_notify_cb):
6788 (hildon_pannable_area_get_property):
6789 (hildon_pannable_area_set_property): Add overshoot property.
6791 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6794 (hildon_pannable_area_class_init): Installed the new property.
6796 * hildon-pannable-area-example.c: Added a sawtooth function, this
6797 way it is easier to check the movement in the pannable.
6798 (get_sawtooth_label): Added this function.
6799 (main): Now we get the labels from the new get_sawtooth_label
6802 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6804 * src/hildon-app-menu.h
6805 * src/hildon-app-menu.c
6806 Renamed API variables for consistency
6808 (hildon_app_menu_popup): Use also the default window size to
6809 decide where to place the menu
6811 (hildon_app_menu_init, hildon_app_menu_class_init): New
6812 external-border style property
6814 2008-05-26 Michael Natterer <mitch@imendio.com>
6816 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6817 widget_class->tap_and_hold_setup signal slot doesn't exist any
6818 longer, stop overriding it.
6820 (hildon_time_editor_init): g_signal_connect() to the
6821 tap-and-hold-setup signal instead.
6823 (hildon_time_editor_entry_keypress): add cast to fix warning.
6825 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6827 * doc/hildon-docs.sgml
6829 * examples/Makefile.am
6830 * examples/hildon-app-menu-example.c
6832 * src/hildon-app-menu-private.h
6833 * src/hildon-app-menu.c
6834 * src/hildon-app-menu.h
6836 New HildonAppMenu widget
6838 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6840 Rearranged the inheritance of the pannable area, now it inherits
6841 from GtkBin. This will allow us to control the event_window and
6842 the allocation process of the widget, required for some effects.
6844 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6845 GtkBin structures. * src/hildon-pannable-area.c: Added the
6846 event_window variable.
6847 (hildon_pannable_area_button_press_cb):
6848 (hildon_pannable_area_button_release_cb):
6849 (hildon_pannable_area_motion_notify_cb):
6850 Changed the signature of the method, now we override the event
6851 callback instead of connecting to the signal.
6853 (hildon_pannable_area_realize):
6854 (hildon_pannable_area_unrealize):
6855 (hildon_pannable_area_map):
6856 (hildon_pannable_area_unmap):
6857 (hildon_pannable_area_size_allocate):
6858 Added functions to control the widget construction. We add a
6859 INPUT_ONLY window and we put it over the widgets inside the
6860 container, this event_window handles the events.
6862 (hildon_pannable_area_class_init):
6863 Replaced the signal connections with overrides of the event
6866 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6868 Bouncing effect added when touching the borders, you can change
6869 the elasticity of the border changing the ELASTICITY define.
6871 * src/hildon-pannable-area.c: Added ELASTICITY define.
6872 (hildon_pannable_area_timeout): Added inverse velocity when
6873 touching the border of the child widget, that causes a bounce.
6875 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6877 Improved performance, we now do not go to the X server in order to
6878 get the list of window children. Apparently the effect is the
6879 same, we have to be careful and check if this breaks something in
6882 * src/hildon-pannable-area.c:
6883 (get_ordered_children): Removed this function.
6884 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6885 the children windows function with gdk_window_get_children.
6887 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6889 * src/hildon-pannable-area.c:
6890 (hildon_pannable_area_dispose): Fixed a crash when closing the
6891 window and kinetics is activated.
6893 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6895 * src/hildon-pannable-area.h
6896 * src/hildon-pannable-area.c
6897 Changed indentation style to meet the one used in Hildon
6899 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6901 Reviewed the interaction of the AUTO mode, now we use the time
6902 attribute of the events and calculate the velocity in the motion,
6903 doing a gimp like calculation. The velocity is calculated in each
6904 motion event using the last velocity and the current one, the
6905 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6907 * src/hildon-pannable-area.c: Replaced the time based algorithm
6909 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6910 timeout for the AUTO mode when we are still moving the cursor. We
6911 added also the velocity calculation in this function.
6912 (hildon_pannable_area_button_release_cb): launch the timeout in
6913 case we are in AUTO mode. There are still some constants here that
6914 come from the old implementation that should be reviewed and
6917 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6919 * doc/hildon-docs.sgml
6922 * src/hildon-stackable-window.c
6923 * src/hildon-stackable-window.h
6925 New HildonStackableWindow widget
6927 * examples/hildon-dialog-example.c
6928 * examples/hildon-pannable-area-example.c
6931 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6933 * src/hildon-dialog.c
6934 (hildon_dialog_new_with_buttons): New constructor.
6936 * examples/hildon-dialog-example.c
6937 (main): Update the example to use the new
6938 hildon_dialog_new_with_buttons().
6940 * examples/hildon-pannable-area-example.c
6941 (main): Update example.
6943 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6945 * doc/hildon-docs.sgml
6947 Added HildonPannableArea to the documentation.
6949 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6951 * doc/visual_index.xml
6952 Fix reference to HildonLoginDialog in documentation
6954 * doc/hildon-docs.sgml
6956 * examples/Makefile.am
6957 * examples/hildon-dialog-example.c
6959 * src/hildon-dialog.c
6960 * src/hildon-dialog.h
6962 New HildonDialog widget.
6964 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6966 * src/hildon-pannable-area.c
6967 Merge latest changes (r4318, r4342) from libmokoui trunk
6969 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6971 * examples/Makefile.am
6972 * examples/hildon-pannable-area-example.c
6974 * src/hildon-pannable-area.c
6975 * src/hildon-pannable-area.h
6977 New HildonPannableArea widget.
6979 2008-04-15 18:05:19 <timj@imendio.com>
6981 * src/hildon-banner.c: revert the recent change, that introduced
6982 gtk_window_present() calls. this reopens:
6983 Bug 78481 - [freetest] information banners are hidden under browser menu
6984 But resolves another variant of:
6985 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6987 2008-04-15 13:21:13 <timj@imendio.com>
6989 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6990 recreated its layout, spotted by Kris. this fixes all remaining
6991 artefacts and stability issues with the banner code. in particular:
6992 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6994 2008-04-14 16:52:59 <timj@imendio.com>
6996 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6997 operating on unrealized widgets, fixes:
6998 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7000 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7002 2008-04-09 Kristian Rietveld <kris@imendio.com>
7004 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7005 makes banner disappear.
7006 Fixes: NB#79182: info banner flickering with certain message lengts.
7008 * src/hildon-banner.c (hildon_banner_constructor),
7009 (hildon_banner_init), (hildon_banner_set_text),
7010 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7011 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7012 FALSE, reset size requests of label and banner,
7013 (force_to_wrap_truncated): when the text is too wide, always enforce
7014 the maximum possible width instead of recalculating it from the
7015 layout; enforce the maximum banner height of 3 lines,
7016 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7017 nicer wrapping and no truncated chars if space gets tight.
7019 * src/hildon-banner-private.h: add has_been_wrapped and
7020 has_been_truncated fields.
7022 2008-04-07 Sven Herzberg <sven@imendio.com>
7024 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7025 local values in hildon_date_editor_size_allocate
7027 * src/hildon-date-editor.c: moved the real allocation code into the
7030 2008-04-07 Sven Herzberg <sven@imendio.com>
7032 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7033 local values in hildon_date_editor_size_allocate
7035 * src/hildon-date-editor.c: merged the two if() branches together
7037 2008-04-07 Sven Herzberg <sven@imendio.com>
7039 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7040 local values in hildon_date_editor_size_allocate
7042 * src/hildon-date-editor.c: changed the arguments of the if()
7045 2008-04-07 Sven Herzberg <sven@imendio.com>
7047 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7048 local values in hildon_date_editor_size_allocate
7050 * src/hildon-date-editor.c: split the calculation of the allocation
7051 from the real allocation
7053 2008-03-27 Michael Natterer <mitch@imendio.com>
7055 Fixes: NB#81696: The passcode is not overwritten even after
7058 * src/hildon-code-dialog.c
7059 (hildon_code_dialog_button_clicked)
7060 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7061 because that doesn't overwrite selected text. Instead, emit the
7062 "commit" signal on the entry's im_context so the entry's normal
7063 insert logic is triggered. Set the cursor to the end of the entry
7064 after each insert operation so that we *only* insert in the middle
7065 of the text if something was selected.
7067 2008-03-27 Michael Natterer <mitch@imendio.com>
7069 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7070 selector cannot be opened
7072 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7073 when the popup color selector is created. Please connect to this
7074 signal in order to set the dialog's help ID.
7076 2008-03-25 Sven Herzberg <sven@imendio.com>
7078 Fixes: MB#1212: Hide info banners (infoprints) on click
7080 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7081 extracted the close event simulation into an extra function
7082 (hildon_banner_button_press_event): simulate a close event and destroy
7083 the widget if the event wasn't handled
7084 (hildon_banner_class_init): added the button_press_event handler
7085 (hildon_banner_init): added button-press events to the widget
7087 2008-03-25 Sven Herzberg <sven@imendio.com>
7089 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7090 Patch from: Mohammad Anwari <mdamt@maemo.org>
7092 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7093 instead of the right in RTL mode
7094 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7095 breadcrumb button list in RTL mode
7096 * src/hildon-caption.c: mirror the appearance of the caption widget in
7098 * src/hildon-date-editor.c: mirror appearance of the date editor in
7100 * src/hildon-time-editor.c: mirror appearance of the time editor in
7102 * src/hildon-window.c: fix the position of the popup in RTL mode
7104 2008-03-25 Sven Herzberg <sven@imendio.com>
7106 Amendment to the fix of NB#22072. Fix compilation.
7108 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7110 2008-03-19 Sven Herzberg <sven@imendio.com>
7112 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7115 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7116 timeout id properly when the timeout will disappear this leaves no
7117 artifacts around in the destroy(); there will only be the timeout
7118 created by hildon_banner_ensure_timeout() and adding a new timeout
7119 will also work if the timeout gets removed because the timeout_handler
7122 2008-03-19 Michael Natterer <mitch@imendio.com>
7124 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7126 * src/hildon-volumebar.c
7127 * src/hildon-vvolumebar.c
7128 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7129 the widget becomes focussable at all.
7131 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7132 set the focus to wither the mute button or the volumebar.
7134 Remove own "can-focus" property and instead listen to
7135 notify::can-focus in order to update the widget's state.
7137 Implement GtkWidget::focus() and make sure we can also *leave* the
7138 widget, not only enter it, depending on volumebar orientation and
7139 requested focus direction.
7141 Clean up set_mute() to cooperate nicely with all the above.
7143 2008-03-04 Michael Natterer <mitch@imendio.com>
7145 Fixes: NB#78481: information banners are hidden under browser menu
7147 * src/hildon-banner.c: call gtk_window_present() on the banners so
7148 they are risen if they are already visible.
7150 2008-03-03 Sven Herzberg <sven@imendio.com>
7152 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7154 * examples/hildon-window-menu-example.c: (main): extended the window
7155 menu example to serve as a testcase for automatically added
7156 accelerator groups, too
7157 * src/hildon-window.c: (hildon_window_add_accel_group),
7158 (hildon_window_set_menu): added patch by Tommi Komulainen
7160 2008-03-03 Sven Herzberg <sven@imendio.com>
7162 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7164 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7165 knowledge about the border allocators used within GTK+
7167 2008-02-26 Sven Herzberg <sven@imendio.com>
7169 Fixes: MB#2981: Build with asserts broken
7171 * src/hildon-date-editor.c,
7172 * src/hildon-number-editor.c,
7173 * src/hildon-time-editor.c,
7174 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7175 the proper GType instance check
7177 2008-02-25 Sven Herzberg <sven@imendio.com>
7179 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7181 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7182 * examples/hildon-window-menu-example.c: (main): explicitly show
7184 * src/hildon-window.c:
7185 (hildon_window_set_main_menu): moved most of the code from set_menu()
7186 to this place; skipped the call to gtk_widget_show_all(); also didn't
7187 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7188 (hildon_window_set_menu): removed most of the code, just keep the
7189 questionable gtk_widget_show_all()
7190 * src/hildon-window.h: added the new function and deprecate the old
7193 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7199 * debian/changelog: Updating.
7201 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7204 * pkgconfig/Makefile.am:
7205 * pkgconfig/hildon.pc.in:
7208 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7209 use newly created API_MAJOR_VERSION.
7211 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7217 * debian/changelog: Updating.
7219 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7221 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7223 Add outer_border style property, we use it but don't define it (!).
7227 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7229 * examples/hildon-bread-crumb-trail-example.c (main):
7233 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7235 Fix logic for the bread crumb trail node removal.
7239 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7245 * debian/changelog: Updating.
7247 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7249 Patch by Alejandro to get/set passwords dialogs accesibility.
7251 * hildon-1/src/hildon-get-password-dialog.c:
7252 * hildon-1/src/hildon-set-password-dialog.c:
7253 Set atk_set_name to the passwd entries in order to allow
7254 accessibility by name on this entries.
7256 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7261 * debian/control: Updating gtk dep.
7263 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7265 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7266 USE_MAEMO_GTK is enabled.
7268 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7270 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7271 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7273 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7279 * debian/changelog: Updating.
7281 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7283 * examples/Makefile.am:
7284 * examples/hildon-logical-color-example.c:
7285 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7286 applied + adding a test case. Fixes: NB#71660.
7288 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7290 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7291 to be visible, fixes warning on map for windows without toolbars.
7293 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7295 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7296 2.11.0, add a check for that besides the MAEMO_GTK check.
7298 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7304 * debian/changelog: Updating.
7306 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7308 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7309 visibility. Fixes: NB#70842 and MB#615.
7311 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7313 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7314 set the separator as no-show-all so it doesn't unintentionally appear when
7315 someone does a show_all.
7317 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7319 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7320 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7321 toplevel item. Fixes: NB#62031
7323 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7325 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7326 fix the name of the function in the docs.
7328 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7334 * debian/changelog: Updating.
7336 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7338 * examples/hildon-banner-long-example.c: Adding a test-case for long
7341 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7343 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7345 * src/hildon-color-chooser-dialog.c:
7346 * src/hildon-color-chooser.c:
7347 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7348 memory leaks in font selector and color selector. Fixes: NB#70499 and
7351 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7353 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7355 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7357 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7358 little bit bigger. Fixes: #NB63694.
7360 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7366 * debian/changelog: Updating.
7368 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7371 * doc/hildon-docs.sgml:
7372 * doc/images/bread-crumb-trail.png:
7373 * doc/images/calendar-popup.png:
7374 * doc/images/caption.png:
7375 * doc/images/code-dialog.png:
7376 * doc/images/color-button.png:
7377 * doc/images/color-chooser-dialog.png:
7378 * doc/images/color-chooser.png:
7379 * doc/images/controlbar.png:
7380 * doc/images/date-editor.png:
7381 * doc/images/font-selection-dialog.png:
7382 * doc/images/get-password-dialog.png:
7383 * doc/images/hvolumebar.png:
7384 * doc/images/login-dialog.png:
7385 * doc/images/note.png:
7386 * doc/images/number-editor.png:
7387 * doc/images/range-editor.png:
7388 * doc/images/seekbar.png:
7389 * doc/images/set-password-dialog.png:
7390 * doc/images/sort-dialog.png:
7391 * doc/images/time-editor.png:
7392 * doc/images/time-picker.png:
7393 * doc/images/vvolumebar.png:
7394 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7395 Adding the bread-crumb-trial and helpers to the documentation.
7397 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7399 * examples/hildon-find-toolbar-example.c:
7400 * src/hildon-find-toolbar.c:
7401 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7402 actually continue firing the other handlers if connected. Adding a new
7404 hildon_find_toolbar_get_last_index that gets the index of the most
7405 recently added (last) item. Fixes: NB#52301.
7407 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7409 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7410 behaviour. Fixes: NB#68610.
7412 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7414 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7417 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7419 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7420 when realizing the banner. Should make the infonbanner effect a bit more
7423 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7425 * src/hildon-volumebar.c:
7426 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7427 hildon_volumebar_set_range_insensitive_message and
7428 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7430 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7432 * src/hildon-window.c: Fixing the border freeing on destroy.
7434 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7436 * src/hildon-code-dialog-private.h:
7437 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7438 kw keyboard support in HildonCodeDialog.
7440 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7446 * debian/changelog: Updating.
7448 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7450 * src/hildon-date-editor.c:
7451 * src/hildon-number-editor.c:
7452 * src/hildon-private.c:
7453 * src/hildon-private.h:
7454 * src/hildon-time-editor.c:
7455 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7456 handling in subclassed composite widgets. Fixes: NB#66628.
7458 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7460 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7461 from destroy_ callback as it introduces problems in async dbus signal
7462 handlers. Fixes NB#66673.
7464 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7466 * examples/hildon-hvolumebar-example.c:
7467 * src/hildon-volumebar.c: Improving the focus handling in the
7468 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7469 set_property accessor so that "mute" property can be actually set. I'm
7470 scared that nobody noticed it's totally broken.
7472 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7474 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7477 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7479 * src/hildon-calendar.c:
7480 * src/hildon-number-editor.c:
7481 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7482 matches the spec of 6 chars per second. Fixes: NB#60489.
7484 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7486 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7487 gtk_style_lookup_color sometime returns FALSE even though color was
7488 found and values were filled properly. Weird. Removing the warning for the
7491 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7493 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7494 expand vertically. Adding some extra space to the find toolbar buttons to
7495 make them thumbable. Fixes NB#66060.
7497 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7499 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7500 popup with "Ok" and "Cancel". Fixes NB#59299.
7502 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7504 * src/hildon-calendar.c: Process all window updates before executing next
7505 timeout. Fixes: NB#54146.
7507 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7513 * debian/changelog: Updating.
7515 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7517 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7518 the client event and ignore it, since we use the delete event to close
7521 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7523 * src/hildon-helper.c: Remove the bogus warning about color not being
7524 found. Fixes NB#58352.
7526 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7528 * examples/Makefile.am:
7529 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7530 HildonSeekbar widget inside a toolbar.
7532 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7534 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7535 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7536 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7537 don't want to be closed by non-temporary windows on map.
7539 Also use G_DEFINE_TYPE instead of manually typed code.
7541 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7548 * debian/rules: Updating.
7550 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7552 * examples/Makefile.am:
7553 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7554 bug NB#61128. Strangely it works.
7556 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7558 * src/hildon-date-editor.c: When the date editor entry has been changed
7559 but the numbers of characters < max, turn off the skip validation flag.
7560 Prevents a situation when we enter first a valid year and later re-write
7561 it with an invalid one. Fixes NB#60154.
7563 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7565 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7566 code dialog. Fixes NB#64355.
7568 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7570 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7571 switching the page. Fixes NB#49374.
7573 * examples/Makefile.am:
7574 * examples/hildon-wizard-dialog-example.c: Adding an example for
7575 HildonWizardDialog that shows how to handle manual sensitivity setting on
7578 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7582 * src/hildon-version.h.in:
7583 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7585 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7587 * src/hildon-volumebar.c: Updating the docs.
7589 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7595 * debian/changelog: Updating.
7597 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7599 * src/hildon-find-toolbar.c:
7600 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7601 selected item: hildon_find_toolbar_set_active,
7602 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7603 hildon_find_toolbar_get_active_iter . They correspond to respective
7604 GtkComboBox functions.
7606 * examples/Makefile.am:
7607 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7610 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7612 * examples/Makefile.am:
7613 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7616 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7617 when font size > 32 and we pack a focusable widget inside. Actually using
7618 the default response would work too, but since we don't show default
7619 response state in any way (no theming) it would not be visible to the
7620 user. Fixes NB#63430.
7622 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7624 * src/hildon-date-editor.c: Adding the missing variable setter in the
7625 set_property handler. Fixes NB#54182.
7627 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7629 * src/hildon-window.h: Changing the long key press time from 1500ms to
7630 800ms as requested in NB#63700. I have a bad feeling about this, let's
7631 see... Fixes NB#63700.
7633 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7635 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7636 hildon_time_picker_map, hildon_time_picker_realize,
7637 hildon_time_picker_style_set): Split the contents of map to more
7638 appropriate functions; set window decorations on realize and update
7639 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7641 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7646 * debian/changelog: Updating.
7648 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7650 * src/Makefile.am: fixed installation of the header files
7652 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7658 * debian/changelog: Updating.
7660 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7662 * configure.ac: Removing some remaining of --enable-xan.
7664 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7666 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7667 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7669 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7670 2.10.12-osso6 because the move-focus signal needs to be available in
7673 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7675 * examples/Makefile.am:
7676 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7677 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7678 fine. Prolly NB#61128 is fixed now.
7680 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7682 * src/hildon-volumebar.c:
7683 * src/hildon-volumebar.h: Adding the
7684 hildon_volumebar_set_range_insensitive_message and
7685 hildon_volumebar_set_range_insensitive_messagef functions to set
7686 insensitive message on the slider of the volumebar. Fixes NB#61129.
7688 * examples/Makefile.am:
7689 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7690 test the new insensitive messsage functionality on HildonVolumebar.
7692 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7694 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7697 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7699 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7700 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7701 button on after clearing the trail.
7703 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7705 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7707 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7709 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7710 by splitting the installed headers in generated and non-generated groups. Use
7711 only the non-generated headers to create the hildon-enum-types.h file.
7713 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7715 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7717 * src/hildon-window.c: Hide the window before performing the destroy.
7718 Should make the app closing a little tiny bit more snappy.
7720 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7722 * src/hildon-seekbar.c: add gtkrange.h header
7723 * src/hildon-caption.c: remove unused variable
7725 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7727 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7730 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7736 * debian/changelog: Updating.
7738 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7740 * src/hildon-window.c (hildon_window_window_state_event,
7741 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7742 escape timeout on focus-out-event rather than notify::is-topmost; the
7743 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7745 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7747 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7748 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7750 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7752 * src/hildon-window: actually, you need to use the macro always, there's
7753 no private pointer in the instance structure. We should have cleaned this up
7754 when we had the chance...
7756 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7758 * src/hildon-window.c: do not get the private date from HildonWindow before
7759 it passes the g_return_if_fail check. Once it's passed the test, there's no
7760 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7761 if you are only going to access the data once. Whitespace cleanups.
7763 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7765 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7766 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7768 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7774 * debian/changelog: Updating.
7776 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7778 * src/hildon-window.c: When destroying the window, remove (if exists) the
7779 escape timeout handler. Fixes #NB59276.
7781 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7783 * src/hildon-banner.c: When realizing the widget, set the window
7784 transiency. Setting the transiency in the gobject constructor is not
7785 good, as the widget is not realized at that point. Fixes: #NB56624.
7787 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7789 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7790 Add padding for future expansions.
7792 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7794 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7795 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7796 will fake an activation on the previous to the last item of the trail, so
7797 the effect can be overrided by the developer as usual.
7798 Also change the callback for the back button to do the same thing, so its
7799 effect can be overrided too. Fixes: NB#58982
7801 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7803 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7804 HildonCaption. Fixes NB#52379.
7806 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7808 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7809 the internal state of the trail after the user has had the chance of executing
7810 his handler for the signal. Specifically, it may happen that the activated button
7811 is removed and the user still lets the default handler run. This would segfault
7814 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7816 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7817 scrollbar to the preview dialog. Fixes NB#54147.
7819 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7821 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7822 max/min year properties can be altered, so the client can modify it
7823 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7825 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7827 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7828 hildonlike by default. Fixing a problem with disappearing arrows when
7829 scrolling through months and years. Fixes NB#54127.
7831 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7833 * examples/hildon-date-editor-example.c: Adding error callback to the date
7836 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7842 * configure.ac: Updating.
7844 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7846 * configure.ac: Adding a special '--enable-xan' configure option that
7847 turns off the -Werror compilation setting. Usefull for development.
7849 * src/hildon-calendar.c:
7850 * src/hildon-number-editor.c:
7851 * src/hildon-time-picker.c: Adding the 5* multiplier to
7854 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7856 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7857 instead of g_object_ref + gtk_object_sink.
7859 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7865 * debian/changelog: Updating.
7867 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7869 * src/hildon-color-chooser-dialog.c:
7870 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7871 straight from Tommi labs.
7873 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7875 * examples/hildon-finger-example.c: Correcting the header file path.
7877 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7878 the changed signal. Fixes a small memory leak.
7880 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7884 * src/hildon-banner.c: Importing several usefull fixes from the
7885 ubuntu-mobile branch.
7887 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7889 * examples/Makefile.am:
7890 * examples/hildon-finger-example.c: Adding a finger-checking code
7893 * src/hildon-font-selection-dialog.c: Do not allocate the color
7894 structure using the g_new. Fixes NB#54061.
7896 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7898 * src/hildon-helper.c: Correcting tabs in file.
7900 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7902 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7903 control the visibility of the children.
7905 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7907 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7913 * debian/changelog: Updating.
7915 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7917 * src/hildon-bread-crumb-trail.c:
7918 (hildon_bread_crumb_trail_size_allocate):
7920 Make the back button always a square.
7922 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7924 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7925 from the .c file as it's a private file.
7927 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7929 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7930 uses slightly bigger height.
7932 * src/hildon-font-selection-dialog.c: Adding some checks before
7933 freeing memory in the font selection dialog.
7935 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7937 * src/hildon-font-selection-dialog.c: Adding a small check when
7940 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7941 buttons sensitivity on page switching.
7943 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7945 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7946 internal details of adding a bread crumb to the trail.
7948 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7954 * debian/changelog: Updating.
7956 * src/hildon-bread-crumb-trail.h:
7957 * src/hildon-bread-crumb.h: Changing the API guard to
7958 HILDON_ENABLE_UNSTABLE_API.
7960 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7968 * src/hildon-helper.h: Updating.
7970 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7978 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7982 * src/hildon-helper.h: Small fix to make the package actually compile.
7984 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7986 * src/hildon-bread-crumb-trail.h:
7987 * src/hildon-bread-crumb.h:
7989 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7990 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7992 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7994 * examples/hildon-bread-crumb-trail-example.c:
7996 * src/hildon-bread-crumb-trail.c:
7997 * src/hildon-bread-crumb-trail.h:
7998 * src/hildon-bread-crumb.c:
7999 * src/hildon-bread-crumb.h:
8000 * src/hildon-marshalers.list:
8001 * src/hildon-bread-crumb-widget.c:
8002 * src/hildon-bread-crumb-widget.h:
8004 Slight change in the widget design. The bread crumb trail API is
8005 unchanged, but HildonBreadCrumb is now an interface. A *private*
8006 implementation, hildon-bread-crumb-widget, is provided and used
8007 internally by the trail for the push_text/push_icon functions.
8009 The generic push API is still available, so anyone can implement
8010 and use its own bread crumb widget.
8012 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8014 * debian/rules: Fixing the shlibs.
8016 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8018 * src/hildon-banner.c: Fixing a problem with timed banners having
8019 their parrent destroyed before they are.
8021 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8023 * src/hildon-bread-crumb.c:
8024 * src/hildon-bread-crumb.h:
8026 Make the get_natural_size function a vfunc.
8028 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8030 * src/hildon-bread-crumb.c:
8031 * src/hildon-bread-crumb-trail.c:
8035 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8042 * debian/changelog: Updating for release.
8044 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8046 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8047 don't leak the pango layout.
8049 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8052 * examples/hildon-bread-crumb-trail-example.c:
8056 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8058 * debian/changelog: Removing the bug-fixed entries that were actually
8059 resolved as WONTFIX.
8061 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8064 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8066 * src/hildon-bread-crumb-trail.c:
8067 * src/hildon-bread-crumb-trail.h:
8068 * src/hildon-bread-crumb.c:
8069 * src/hildon-bread-crumb.h:
8073 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8075 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8076 until it's passed the type check.
8078 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8080 * examples/hildon-bread-crumb-trail-example.c
8084 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8086 * examples/Makefile.am
8087 * examples/hildon-bread-crumb-trail-example.c
8089 * src/hildon-bread-crumb-trail.c
8090 * src/hildon-bread-crumb-trail.h
8091 * src/hildon-bread-crumb.c
8092 * src/hildon-bread-crumb.h
8094 New HildonBreadCrumbTrail widget.
8096 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8098 * src/hildon-range-editor.c (hildon_range_editor_init),
8099 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8100 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8101 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8102 hildon_time_editor_class_init, hildon_time_editor_init),
8103 src/hildon-get-password-dialog.c (invalid_input,
8104 hildon_get_password_set_property, hildon_get_password_get_property,
8105 create_contents, hildon_get_password_dialog_set_max_characters),
8106 src/hildon-set-password-dialog.c (create_contents),
8107 src/hildon-date-editor.c (hildon_date_editor_init),
8108 src/hildon-login-dialog.c (hildon_login_dialog_init),
8109 src/hildon-number-editor.c (hildon_number_editor_init),
8110 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8111 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8112 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8113 configure option and adding the respective checks in the code.
8114 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8115 hildon_calendar_drag_data_received): fixed some build warnings.
8117 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8119 * debian/changelog: A 1.0.0 release notes.