1 2009-05-25 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_scroll_indicator_fade),
5 (hildon_pannable_area_button_release_cb): Reviewed vmin
6 conditions, it could cause problems in the fadeout procedure.
8 2009-05-25 Alejandro G. Castro <alex@igalia.com>
10 * hildon/hildon-pannable-area.c
11 (hildon_pannable_area_button_release_cb): Added a threshold to
12 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
14 2009-05-25 Alejandro G. Castro <alex@igalia.com>
16 * hildon/hildon-pannable-area.c,
17 (hildon_pannable_area_set_property): Added code to sync the gtk
18 dnd threshold with the panning threshold.
20 2009-05-25 Alejandro G. Castro <alex@igalia.com>
22 * hildon/hildon-pannable-area.c,
23 (hildon_pannable_area_class_init): Changed some of the default
24 values, now it should be less responsive and more accurate.
26 2009-05-25 Alejandro G. Castro <alex@igalia.com>
28 * hildon/hildon-pannable-area.c,
29 (hildon_pannable_area_init),
30 (hildon_pannable_area_scroll_indicator_fade),
31 (hildon_pannable_area_button_press_cb),
32 (hildon_pannable_axis_scroll),
33 (hildon_pannable_area_timeout),
34 (hildon_pannable_area_motion_notify_cb),
35 (hildon_pannable_area_button_release_cb): Changed the name of the
36 clicked attribute to button_pressed, it is more clear about its use.
38 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
40 * src/hildon-pannable-area.c
41 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
43 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
44 vertical scrollbar visibility, and use the data on private section instead,
45 remove the initial_hint check
46 (hildon_pannable_area_expose_event): add the initial_hint check here
48 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
50 * src/hildon-pannable-area.c
51 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
52 if the fadeout effect was used
53 (hildon_pannable_area_expose_event): check if it is required to
54 manage the initial effect on the begining of the function. Previously
55 it was made at the end, but this doesn't ensure that the scrollbars
56 will be painted on the first show. Do not set to FALSE initial_effect,
57 to ensure that the initial hint is showed the first time the pannable
59 * examples/Makefile.am
60 * examples/hildon-pannable-area-initial-hint-example.c:
61 New example, to show that the initial-hint is showed when the widget
64 Fixes: NB#116607 (Pannable area should always have scrollbar visible
65 initially if the application can be scrolled)
67 2009-05-25 Alberto Garcia <agarcia@igalia.com>
69 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
70 Resize table before adding new items to make sure that
71 gtk_table_resize() is called just once.
73 2009-05-25 Alberto Garcia <agarcia@igalia.com>
75 * hildon/hildon-app-menu-private.h
76 * hildon/hildon-app-menu.c (item_visibility_changed)
77 (filter_visibility_changed, hildon_app_menu_show_all)
78 (hildon_app_menu_hide_all, hildon_app_menu_init):
79 Rearrange items just once when gtk_widget_show_all()/hide_all()
82 2009-05-25 Alberto Garcia <agarcia@igalia.com>
84 * hildon/hildon-app-menu.c
85 (hildon_app_menu_insert, hildon_app_menu_add_filter):
86 Don't call gtk_widget_show() on added items.
88 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
89 automatically when they're added)
91 2009-05-20 Alberto Garcia <agarcia@igalia.com>
93 * hildon/hildon-banner.c
94 (hildon_banner_realize, +hildon_banner_unrealize)
95 (+screen_size_changed, hildon_banner_class_init):
96 Redisplay the banner if the screen is rotated.
98 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
99 on transition from landscape to portrait)
101 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
103 * hildon/hildon-banner.[ch]:
104 (hildon_banner_show_information_override_dnd): remove icon_name from the
105 method definition as it is ignored.
106 * examples/hildon-banner-dnd-example.c: updated with the change on
109 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
111 * hildon/hildon-banner-private.h: new require_override_dnd and
112 overrides_dnd variables
113 * hildon/hildon-banner.h:
114 (hildon_banner_show_information_override_dnd): new method, that shows
115 the information but sets the override flag, in order to show important
117 * hildon/hildon-banner.c
118 (hildon_banner_show_information_override_dnd): new method
119 (hildon_banner_set_override_flag): new utility function
120 (hildon_banner_real_show_information): new utility function, in order to
121 generalize the current hildon_banner_show_information_override_dnd and
122 hildon_banner_show_information_override_dnd
123 * examples/Makefile.am
124 * examples/hildon-banner-dnd-example.c: New example that show how to
125 use the new hildon_banner_show_information_override_dnd
127 Fixes: NB#114874 (There is no possibility to show hildon banners with
130 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
132 * hildon/hildon-pannable-area.c: Add a comment explaining the math
133 behind hildon_pannable_calculate_vel_factor().
135 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
137 * hildon/hildon-pannable-area.c
138 (hildon_pannable_calculate_vel_factor): Correct the sum of the
139 deceleration factors.
141 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
143 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
144 Reduce the default value for 'scroll_time' to 1 second, since the
145 current initial scrolling takes too much time.
147 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
149 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
150 calculate velocity factor during initialization, since the properties
153 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
155 * hildon/hildon-pannable-area.c
156 (hildon_pannable_area_set_property): Calculate the velocity factor
157 after setting the deceleration property and not after.
159 2009-05-20 Alberto Garcia <agarcia@igalia.com>
161 * hildon/hildon-entry.c
162 (hildon_entry_class_init, +set_property, hildon_entry_new)
163 * hildon/hildon-check-button.c
164 (hildon_check_button_class_init)
165 (+set_property, hildon_check_button_new):
166 Make the theme size a property.
168 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
169 others) do too much in the _new function)
171 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
173 * configure.ac: post release version bump
174 * debian/changelog: post release version bump
176 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
181 * configure.ac: Bump version.
182 * debian/changelog: Updates.
184 2009-05-15 Alberto Garcia <agarcia@igalia.com>
186 * hildon/hildon-gtk.h
187 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
188 New API function to take a screenshot of a window
190 Fixes: NB#106374 (Need API to take a loading screenshot)
192 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
194 * hildon/hildon-time-selector.c
195 (update_format_policy): prevent to use hours and minutes unitialized
197 2009-05-15 Alberto Garcia <agarcia@igalia.com>
199 * hildon/hildon-window.c (hildon_window_size_request):
200 Always request the full size of the screen (minus the title bar if
201 not in fullscreen mode).
203 Fixes: NB#107486 (HildonWindow should size itself properly)
205 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
207 * hildon/hildon-note-private.h: Add idle_handler to the private data.
208 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
209 (on_show_cb), (sound_handling): Disconnect the idle handler for
210 the sound when the note is finalized to avoid possible crashes.
212 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
215 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
217 * src/hildon-animation-actor.c,
218 * src/hildon-remote-texture.c:
219 Added proper object cleanup to remove signal handler and object
220 references as HildonAnimationActor and HildonRemoteTexture
221 objects get destroyed.
223 Fixes: NB#116682 (Destroying parented animation actors when
224 parent in unmapped leads to crash)
226 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
228 Based on a patch by Christian Dywan (christian@imendio.com)
230 * doc/hildon-sections.txt:
231 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
232 * hildon/hildon-helper.h: New file size formatting method.
234 * debian/control: Depend on osso-filemanager l10n package for
235 proper localization strings.
237 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
239 * tests/Makefile.am: Include top_srcdir to make possible to build
240 tests in a different builddir.
241 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
242 on a different builddir.
244 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
246 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
247 (hildon_touch_selector_remove): Disconnect model's signal handler
250 Fixes: NB#116289 (Hildon home crashes while adding task
253 2009-05-11 Alberto Garcia <agarcia@igalia.com>
255 * hildon/hildon-button.c
256 (hildon_button_set_title, hildon_button_set_value):
257 Hide labels containing an empty string.
259 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
261 * configure.ac: post release version bump
262 * debian/changelog: post release version bump
264 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
269 * configure.ac: Bump version.
270 * debian/changelog: Updates.
272 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
274 * hildon/hildon-note-private.h: Removed sound_signal_handler
275 * hildon/hildon-note.c
276 (on_show_cb): new callback on note "show" event, this simply adds
277 a idle, with the function sound_handling
278 (sound_handling): removed the sound_signal_handler management
279 (hildon_note_init): connect note "show" event to on_show_cb
280 (hildon_note_realize): remove the connection to "expose-event"
282 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
283 device?' confirmation note)
285 2009-05-08 Alberto Garcia <agarcia@igalia.com>
287 * hildon/hildon-note.c
288 (hildon_note_new_information_with_icon_name)
289 (hildon_note_new_confirmation_with_icon_name):
290 Terminate the list of parameters in g_object_set() calls
292 Fixes: NB#115166 (Formatting memory card is not taking place)
294 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
296 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
297 "dialog-information" role for the sound being played.
299 2009-05-06 Alberto Garcia <agarcia@igalia.com>
301 * hildon/hildon-app-menu.c (hildon_app_menu_init):
302 Don't make the menu a modal window, it causes strange interactions
303 with the pointer grab and it's not really needed.
305 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
307 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
309 * hildon/hildon-touch-selector.[ch]
310 (hildon_touch_selector_optimal_size_request): function added to get a
311 optimal size request from the touch selector, when you want a dialog to
312 show as much of the selector
313 * hildon/hildon-picker-dialog.c:
314 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
315 (hildon_app_menu_class_init):
316 New "max-height-landscape" and "max-height-portrait" style properties
317 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
318 (hildon_picker_dialog_get_max_height): returns the maximum height using
319 the style properties defined and checking the current portrait/landscape
321 (_hildon_picker_dialog_set_selector): removed the set_size_request
323 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
325 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
327 * hildon/hildon-bread-crumb-trail.c:
328 * hildon/hildon-bread-crumb.c:
329 * hildon/hildon-seekbar.c:
330 Add reference to replacements for these deprecated widgets.
332 Fixes: MB#4461 (Documentation: All deprecations should mention
335 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
337 * examples/hildon-remote-texture-example.c
339 Change the include to the hildon-remote-texture in order to compile
340 properly the examples on the installed libhildon1-examples package
342 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
344 * tests/Makefile.am: Add check for HildonPickerButton.
345 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
346 (START_TEST), (create_hildon_picker_button_suite): Add three simple
347 checks for the HildonPickerButton.
348 * tests/check_test.c (configure_tests): Add the test suite.
349 * tests/test_suites.h: likewise.
351 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
353 * hildon/hildon-touch-selector.c
354 (+on_row_changed): Emit HildonTouchSelector:changed when the
355 contents of a selected row change.
356 (_create_new_column), (_hildon_touch_selector_set_model): connect
357 to GtkTreeModel:row-changed on a newly set model.
359 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
361 2009-05-05 Alberto Garcia <agarcia@igalia.com>
363 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
365 * hildon/hildon-banner.c (hildon_banner_destroy)
366 (hildon_banner_show_progress, hildon_banner_set_fraction):
367 Remove the progress bar from HildonBanner and use a progress
370 Fixes: NB#113761 (Update progress banner to use progress
373 2009-05-04 Alberto Garcia <agarcia@igalia.com>
375 * hildon/hildon-banner.c:
376 Calculate size of the banner label using the actual screen width
377 rather than using a fixed value.
379 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
382 2009-05-04 Alejandro G. Castro <alex@igalia.com>
384 * hildon/hildon-pannable-area.c,
385 (hildon_pannable_area_class_init): Fixed signals documentation
388 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
390 * configure.ac: post release version bump
391 * debian/changelog: post release version bump
393 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
398 * configure.ac: Bump version.
399 * debian/changelog: Updates.
401 2009-05-01 Alberto Garcia <agarcia@igalia.com>
403 * hildon/hildon-edit-toolbar.c
404 (hildon_edit_toolbar_init):
405 Don't let buttons in HildonEditToolbar receive focus.
407 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
408 typing on an HW arrows key)
410 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
412 * doc/Makefile.am: Fix build.
414 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
416 * doc/Makefile.am: Do not redefine content_files.
418 2009-04-30 Alberto Garcia <agarcia@igalia.com>
426 Renamed src/ to hildon/
431 Include <hildon/hildon.h> directly in all examples.
433 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
435 * src/hildon-sort-dialog.c
436 (hildon_sort_dialog_add_sort_key_with_sorting)
440 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
442 * src/Makefile.am: Move generated sources to CLEANFILES, so that
443 make distcheck passes.
445 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
447 * Makefile.am: Enable gtk-doc during distcheck.
449 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
451 * Makefile.am: Do not distribute the debian/ directory.
453 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
455 * doc/Makefile.am: Add the extra SGML files to content_files,
456 so that they are distributed properly.
458 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
460 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
463 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
465 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
466 (hildon_note_new_information_with_icon_name): Set the "icon" property
467 to preserve soundness.
469 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
471 * src/hildon-font-selection-dialog.c
472 (hildon_font_selection_dialog_set_property): Fail when the "family"
473 property is set to NULL.
475 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
477 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
480 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
482 * src/hildon-time-selector.h:
483 Added HildonTimeSelectorFormatPolicy
484 * src/hildon-time-selector.c:
485 Added PROP_TIME_FORMAT_POLICY
486 (_check_ampm_format): renamed to check_automatic_ampm_format
487 (update_format_policy), (update_format_dependant_columns): new functions
488 (hildon_time_selector_class_init)
489 (hildon_time_selector_contructor)
490 (hildon_time_selector_init)
491 (hildon_time_selector_get_property)
492 (hildon_time_selector_set_property)
493 (hildon_time_selector_get_time)
494 (hildon_time_selector_set_time)
495 * src/hildon-touch-selector.h: new file
496 * src/hildon-touch-selector.c
497 (hildon_touch_selector_emit_changed)
498 (hildon_touch_selector_block_changed)
499 (hildon_touch_selector_unblock_changed)
500 Added functions to allow to block the emission of the "changed" signal
501 * src/hildon-picker-dialog.c
502 (hildon_picker_dialog_show): call the parent show before the custom code
503 * examples/hildon-time-button-example.c
504 Modified, so now you can configure the time format using the new property
506 Added a new property "time-format-policy" that allow to choose the time
507 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
508 case it uses gconf in order to check if the time selector must use
511 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
514 2009-04-28 Alberto Garcia <agarcia@igalia.com>
516 * src/hildon-note.c (hildon_note_init):
517 Label in HildonNote must be left aligned, not centered. This
518 reverts the last commit in HildonNote.
520 Fixes: NB#112933 (text is not left aligned in confirmation dialog
521 is connectivity dialog)
523 2009-04-27 Alberto Garcia <agarcia@igalia.com>
528 * doc/hildon-sections.txt:
529 Added hildon_gtk_window_set_do_not_disturb()
531 2009-04-27 Alberto Garcia <agarcia@igalia.com>
533 * src/hildon-note.c (hildon_note_init): Center label.
535 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
538 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
543 * configure.ac: Bump version.
544 * debian/changelog: Updates.
546 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
548 * src/hildon-note-private.h: Add button-width to the private data.
549 * src/hildon-note.c (+resize_button),
550 (+hildon_note_orientation_update): methods to repack widgets on orientation
552 (screen_size_changed): Call above method for confirmation notes.
553 (hildon_note_realize): Always connect to the "screen-size" changed signal.
554 (hildon_note_rebuild): Store the original width request from buttons.
556 Fixes: NB#109635 (Confirmation notes do not support portrait)
558 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
560 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
561 when it is a progress note.
563 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
565 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
566 in the note, since there are no horizontally arranged contents.
568 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
570 * src/hildon-gtk.c (+set_flag): new generic method to
571 set/delay a flag setting in a window.
572 (hildon_gtk_window_set_progress_indicator):
573 (hildon_gtk_window_set_do_not_disturb),
574 (hildon_gtk_window_set_portrait_flags): use set_flag() to
575 avoid code redundance.
577 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
579 Based on a patch by Alberto Garcia (agarcia@igalia.com)
581 * src/hildon-gtk.c (set_clear_window_flag),
582 (do_set_progress_indicator), (do_set_do_not_disturb),
583 (do_set_portrait_flags),
584 (hildon_gtk_window_set_progress_indicator),
585 (hildon_gtk_window_set_do_not_disturb),
586 (hildon_gtk_window_set_portrait_flags):
587 Allow setting dnd-flag, progress indicator, and portrait flags
588 when the window is not realized.
590 2009-04-24 Alejandro G. Castro <alex@igalia.com>
592 * src/hildon-pannable-area.c,
593 * src/hildon-pannable-area.h: Add the hildon deprecated define to
594 the size request policy function and defines.
596 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
598 * doc/hildon-sections.txt: Add the new API.
599 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
600 method to set the portrait flags.
601 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
603 Fixes: NB#112328 (Adding helpers for setting portrait properties)
605 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
607 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
608 to allow using this method with other flags.
609 (hildon_gtk_window_set_progress_indicator): Update accordingly.
610 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
612 2009-04-22 Alberto Garcia <agarcia@igalia.com>
614 * src/hildon-touch-selector.c
615 (hildon_touch_selector_append_text_column):
616 Make the cell renderer use the smallest width possible.
618 Fixes: NB#108470 (Selected items in multiple selection are either
619 having a tick that is cut or not visible at all.)
621 2009-04-22 Alberto Garcia <agarcia@igalia.com>
623 * src/hildon-touch-selector.c
624 (hildon_touch_selector_append_text_column):
627 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
629 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
630 Use g_strdup_printf() instead of a fixed size buffer.
632 2009-04-21 Alberto Garcia <agarcia@igalia.com>
634 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
635 Close banners when a HildonAppMenu is popped up.
637 Fixes: NB#111027 (Title menu closed immediately if activated when
638 "Invalid e-mail address" banner is shown)
640 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
645 * configure.ac: Bump version.
646 * debian/changelog: Updates.
648 2009-04-20 Alberto Garcia <agarcia@igalia.com>
650 * src/hildon-banner.c (hildon_banner_realize):
651 Mark HildonBanner as supporting portrait mode.
652 Use GDK to set window properties insetad of direct Xlib calls.
654 Fixes: NB#111830 (HildonBanner should be marked as supporting
657 2009-04-20 Alberto Garcia <agarcia@igalia.com>
659 * src/hildon-note.c (hildon_note_rebuild):
660 Hide action area in information notes. Prevents text from being
661 slightly aligned to the left.
663 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
666 2009-04-20 Alberto Garcia <agarcia@igalia.com>
668 Patch by Mox Soini (ext-mox.soini@nokia.com)
670 * src/hildon-banner.c (hildon_banner_create_animation):
671 Use stylus-sized icons in animation banner.
673 Fixes: NB#111206 (stylus sized icon for animation banner)
675 2009-04-20 Alberto Garcia <agarcia@igalia.com>
679 (+hildon_gtk_window_set_do_not_disturb):
680 New API to set the do-not-disturb flag.
682 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
684 2009-04-20 Alberto Garcia <agarcia@igalia.com>
686 * examples/hildon-progress-indicator-example.c: Fix example
688 * src/hildon-gtk.c (set_clear_window_flag)
689 (hildon_gtk_window_set_progress_indicator):
690 Create a generic function for setting flags to a window.
691 Use GDK instead of direct Xlib calls.
693 2009-04-14 Alberto Garcia <agarcia@igalia.com>
695 * src/hildon-button.c (hildon_button_set_arrangement):
696 Due to NB#88126, if one of the labels is too long it will be
697 painted outside the button. The 'value' label is more likely to be
698 the longest one, so we change its packing options in order to
699 truncate it if necessary. As a side effect, the 'title' label will
700 no longer be truncated.
702 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
704 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
709 * configure.ac: Bump version.
710 * debian/changelog: Updates.
712 2009-04-13 Alejandro G. Castro <alex@igalia.com>
714 Deprecation of the hildon_pannable_area_set_size_request_policy
715 API, the only policy properly supported in gtk+ nowadays is the
718 * src/hildon-pannable-area.c,
719 (hildon_pannable_area_size_request): Added a workaround for the
720 size_request to avoid the problems of huge pixmaps in case someone
721 is still using the function.
722 * src/hildon-pannable-area.h: Deprecated the enum with the
725 Fixes: NB#110244 (Problems with the
726 hildon_pannable_area_set_size_request_policy API)
728 2009-04-08 Alejandro G. Castro <alex@igalia.com>
730 * src/hildon-pannable-area.c,
731 (hildon_pannable_area_init),
732 (hildon_pannable_area_size_request),
733 (hildon_pannable_area_style_set),
734 (hildon_pannable_draw_vscroll),
735 (hildon_pannable_draw_hscroll),
736 (hildon_pannable_area_check_scrollbars): Replaced area_width with
737 indicator_width to clarify the use of the attribute.
739 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
744 * configure.ac: Bump version.
745 * debian/changelog: Updates.
747 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
749 * src/hildon-picker-dialog.c
750 * src/hildon-touch-selector.c
751 Reverting the change that tried to avoid the hardcoded height on
752 the picker dialog, as causes problems on the hildon-touch-selector
755 Fixes: NB#110029 (selectors not scrolling to selected value)
757 2009-04-07 Alberto Garcia <agarcia@igalia.com>
759 * src/hildon-touch-selector.c: Fix typos
761 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
763 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
764 Use the event coordinates instead of gdk_window_get_pointer(). Also,
765 request more motions after using it.
767 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
769 * src/hildon-calendar.c (hildon_calendar_expose),
770 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
771 Remove unused variables.
773 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
775 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
778 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
780 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
781 Check the return value of gtk_tree_selection_get_selected()
784 2009-04-06 Alberto Garcia <agarcia@igalia.com>
786 * src/hildon-animation-actor.c
787 * src/hildon-button.c
789 * src/hildon-pannable-area.c
790 * src/hildon-picker-button.c
791 * src/hildon-program.c
792 * src/hildon-remote-texture.c
793 * src/hildon-text-view.c
794 * src/hildon-touch-selector.c
795 * src/hildon-window-stack.c
796 * src/hildon-window.c:
797 Add missing 'Since: 2.2' tags.
799 * doc/hildon-sections.txt:
800 Add some missing symbols.
802 * doc/hildon-docs.sgml:
803 New 'Other' section for HildonAnimationActor and
806 2009-04-06 Alberto Garcia <agarcia@igalia.com>
808 Patch by Iván Gómez (igomez@igalia.com)
812 * doc/hildon-docs.sgml
813 * doc/hildon-sections.txt
817 New chapters on using the Hildon library.
818 Updated the general structure of the reference manual.
819 Other minor documentation fixes.
821 * src/hildon-calendar-popup.c
822 * src/hildon-calendar.c
823 * src/hildon-controlbar.c
824 * src/hildon-date-editor.c
825 * src/hildon-dialog.c
826 * src/hildon-hvolumebar.c
827 * src/hildon-number-editor.c
828 * src/hildon-range-editor.c
829 * src/hildon-sort-dialog.c
830 * src/hildon-time-editor.c
831 * src/hildon-time-picker.c
832 * src/hildon-volumebar-range.c
833 * src/hildon-volumebar.c
834 * src/hildon-vvolumebar.c
835 * src/hildon-weekday-picker.c:
836 Add deprecation notes
838 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
839 Document 'horizontal-movement' and 'vertical-movement' signals.
841 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
846 * configure.ac: Bump version.
847 * debian/changelog: Updates.
849 2009-04-06 Alejandro G. Castro <alex@igalia.com>
851 * src/hildon-pannable-area.c,
852 (hildon_pannable_area_class_init): increased the minimum velocity.
853 (hildon_pannable_area_button_release_cb): Updated the
854 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
855 setup. Review the code to control that last event.
857 Fixes: NB#109790 (Releasing finger in pannable area easily causes
860 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
862 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
864 * src/hildon-get-password-dialog.c
865 (hildon_get_password_set_property),
866 (hildon_get_password_get_property), (create_contents):
867 * src/hildon-login-dialog-private.h:
868 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
869 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
870 (hildon_login_dialog_get_password):
871 * src/hildon-set-password-dialog-private.h:
872 * src/hildon-set-password-dialog.c
873 (hildon_set_password_set_property),
874 (hildon_set_password_get_property), (create_contents),
875 (hildon_set_password_response_change),
876 (hildon_set_password_response_set), (hildon_checkbox_toggled):
878 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
879 instead and look more Fremantle style.
881 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
883 2009-04-03 Alberto Garcia <agarcia@igalia.com>
885 * doc/hildon-sections.txt
886 * src/hildon-window-stack.h
887 * src/hildon-window-stack.c
888 (+hildon_window_stack_get_windows):
889 New API to obtain the list of windows on a stack.
891 2009-04-02 Alberto Garcia <agarcia@igalia.com>
893 * src/hildon-app-menu.c (hildon_app_menu_popup)
894 (hildon_app_menu_class_init, -hildon_app_menu_show):
895 Remove hildon_app_menu_show() and move all its checks to
896 hildon_app_menu_popup()
898 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
900 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
901 (_hildon_picker_dialog_set_selector): removed call to
902 gtk_widget_set_size_request
903 * src/hildon-touch-selector.c
904 (_create_new_column): change the pannable size request policy
906 Avoid to use a hardcoded height for the hildon picker dialog. In order
907 to get that, we needed to change the hildon pannable size request
909 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
911 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
913 * src/hildon-window.c (hildon_window_map): Check for vbox to be
914 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
917 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
919 * debian/control: Depend on osso-system-lock localization package.
920 * src/hildon-code-dialog.c: Obtain the secu_application_title
921 translation from osso-system-lock.
922 * src/hildon-get-password-dialog.c (create_contents): Do not mark
923 for translation the atk related strings, that's not necessary.
924 * src/hildon-set-password-dialog.c (create_contents): Ditto.
925 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
926 cancel button, it is not required.
928 2009-04-02 Alejandro G. Castro <alex@igalia.com>
930 * src/hildon-pannable-area.c,
931 (hildon_pannable_area_class_init): Modified the default value of
932 the overshooting max speed, we have reduced it.
934 2009-04-02 Alberto Garcia <agarcia@igalia.com>
936 * doc/hildon-sections.txt
937 * src/hildon-window-private.h
938 * src/hildon-window.h
939 * src/hildon-window.c (hildon_window_class_init)
940 (hildon_window_init, hildon_window_finalize)
941 (hildon_window_realize, hildon_window_get_property)
942 (hildon_window_set_property, hildon_window_update_markup)
943 (hildon_window_get_markup, hildon_window_set_markup):
944 New "markup" property and hildon_window_{get,set}_markup() methods.
946 * examples/hildon-stackable-window-example.c (new_window):
947 Update example to use hildon_window_set_markup()
949 Fixes: NB#106375 (Need API to retitle a window with a title
952 2009-04-01 Alejandro G. Castro <alex@igalia.com>
954 * src/hildon-pannable-area.c,
955 (hildon_pannable_area_class_init): Changed the default value of
956 the initial_hint to TRUE.
957 (hildon_pannable_area_initial_effect): Changed the initial effect,
958 not the effect is just the fade-out of the scrollbars.
960 Fixes: NB#107775 (No scrollbars can be seen when several items are
961 available in a dialog)
963 2009-04-01 Alberto Garcia <agarcia@igalia.com>
965 * src/hildon-program.c (hildon_program_update_top_most):
968 Fixes: NB#109179 (Memory leak in Hildon program)
970 2009-04-01 Alberto Garcia <agarcia@igalia.com>
972 * src/hildon-banner.c (-get_current_app_window):
973 Remove unused function.
975 2009-04-01 Alejandro G. Castro <alex@igalia.com>
977 * src/hildon-pannable-area.c: Modified the documentation of the
978 get adjustments functions to explain the problem of using the
980 (hildon_pannable_area_class_init): Improved the explanation about
983 2009-04-01 Alberto Garcia <agarcia@igalia.com>
985 * src/hildon-app-menu-private.h
986 * src/hildon-app-menu.c
987 (hildon_app_menu_class_init):
988 Bring back the 'external-border' style property
989 (hildon_app_menu_class_init, hildon_app_menu_init)
990 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
991 Set a fixed width-request for the menu, independent of the number
994 Fixes: NB#94957 (Smoothly opened application menu)
996 2009-03-30 Alberto Garcia <agarcia@igalia.com>
998 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1000 * src/hildon-banner.c
1001 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1003 Make sure that the banner is correctly placed the first time it's
1005 (hildon_banner_check_position, -check_fullscreen_state):
1006 Show the banner in the same place no matter if the window is in
1007 fullscreen mode or not.
1009 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1011 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1013 * src/hildon-touch-selector.c (_default_print_func): reorder
1014 concatenation for clarity.
1016 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1018 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1019 for multicolumn selectors.
1021 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1023 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1028 * configure.ac: Bump version.
1029 * debian/changelog: Updates.
1031 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1033 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1036 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1038 * configure.ac: removed libcangerra-gtk dependency
1039 * debian/control: removed libcanberra-gtk dependency
1040 * src/Makefile.am: removed libcanberra gtk related flags
1041 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1042 context, and manage a global canberra context instead
1044 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1046 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1048 Patch by Daniel Borgmann (danielb@openismus.com)
1050 * src/hildon-edit-toolbar.c:
1051 Adjust the left padding.
1052 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1053 Paint background of the edit toolbar.
1055 Fixes: NB#107897 (Patch to make editmodetoolbar background
1056 themeable and adjust margin)
1058 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1060 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1062 * src/hildon-program.c (hildon_program_update_top_most):
1063 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1065 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1066 change when the user tasks in/out of an application)
1068 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1070 * configure.ac: added libcangerra-gtk dependency
1071 * debian/control: added libcanberra-gtk dependency
1072 * src/Makefile.am: added libcanberra gtk related flags
1073 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1076 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1078 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1080 * src/hildon-program.c (hildon_program_remove_window)
1081 (hildon_program_add_window): Add checks for the window
1082 parameter. Don't decrease the window counter if the window is not
1085 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1087 * src/hildon-pannable-area.c,
1088 (hildon_pannable_area_realize): Fixed position of the event_window
1089 in the realize method.
1091 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1093 * src/hildon-app-menu-private.h
1094 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1095 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1096 (hildon_app_menu_key_press, hildon_app_menu_init)
1097 (hildon_app_menu_finalize):
1098 Make sure that all idle functions are removed when the widget is
1101 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1103 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1108 * configure.ac: Bump version.
1109 * debian/changelog: Updates.
1111 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1113 * src/hildon-entry.c
1114 (+hildon_entry_show_placeholder),
1115 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1116 that replace hildon_entry_update_contents().
1117 (hildon_entry_set_text),
1118 (hildon_entry_set_placeholder),
1119 (hildon_entry_focus_in_event),
1120 (hildon_entry_focus_out_event): Determine when it is needed
1121 either to show or hide the placeholder and call the above methods.
1123 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1124 when the placeholder text is already set)
1126 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1128 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1129 simple GdkPixbufAnim using the new icons for the banner.
1130 (hildon_banner_show_animation): Use the above mentioned method to
1131 create the animation widget.
1133 Fixes: NB#103564 (Make hildon animation banner use individual
1134 image files as the animation)
1136 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1138 * src/hildon-pannable-area.c,
1139 (hildon_pannable_leave_notify_event): Check if the child is NULL
1140 to avoid sending the leave.
1142 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1144 * src/hildon-pannable-area.c,
1145 (hildon_pannable_area_class_init),
1146 (hildon_pannable_leave_notify_event): Added a handler of the
1147 leave-notify-signal to consider when no motion notify before
1150 Fixes: NB#107494 (Items stay selected when clicking and moving
1151 away when inside pannable area)
1153 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1158 * configure.ac: Bump version.
1159 * debian/changelog: Updates.
1161 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1163 Patch by Alberto Garcia (agarcia@igalia.com)
1165 * src/hildon-date-button.c,
1166 (hildon_date_button_class_init),
1167 (hildon_date_button_init): Removed the construct property handling
1168 and created a default selector in the init method.
1169 * src/hildon-picker-button.c,
1170 (hildon_picker_button_class_init): Removed the construct flag of the
1173 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1175 * src/hildon-main.c (hildon_init):
1176 Don't allow hildon_init() to be called more than once.
1178 Fixes: NB#106607 (hildon_init should issue error message upon
1181 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1183 * examples/hildon-pannable-area-touch-list-example.c
1184 * examples/hildon-pannagle-area-touch-grid-example.c
1185 * examples/hildon-edit-toolbar-example.c
1186 * examples/hildon-touch-selector-multi-cells-example.c
1187 Removed the call to gtk_rc_parse_string, as it is not required since
1190 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1192 * src/hildon-pannable-area.c,
1193 (hildon_pannable_area_class_init): Modified the default panning
1194 threshold of the widget to 6px.
1196 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1197 than the threshold value ) within the button is not sending the
1200 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1202 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1203 for the treeview in the new column. This way, the touch list will never
1206 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1207 be selected manually for the HW keys to work)
1209 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1211 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1212 comparison instead of using strcmp(). Fixes a compiler warning as well.
1214 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1216 * doc/hildon-docs.sgml: Do not set the library version in the
1217 document title, use the releaseinfo tag for that purpose instead.
1219 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1221 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1222 Do not jump to the first item if the text in the entry is removed.
1224 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1229 * configure.ac: Bump version.
1230 * debian/changelog: Updates.
1232 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1234 * src/hildon-entry.c (hildon_entry_refresh_contents):
1235 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1236 Use "ReversedSecondaryTextColor" for the placeholder text.
1238 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1240 * src/hildon-text-view.c: Fix compilation warning.
1242 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1244 * src/hildon-button.c (hildon_button_class_init): Don't make
1245 "title" and "value" construction properties, to prevent them from
1246 overwriting labels set from derived classes.
1248 * src/hildon-picker-button.c
1249 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1250 (hildon_picker_button_class_init): Make touch-selector a
1251 construction property.
1253 * src/hildon-date-button.c (hildon_date_button_class_init)
1254 (+hildon_date_button_constructed): Add a default date selector if
1257 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1259 * src/hildon-touch-selector.c: Small documentation fixes.
1261 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1263 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1265 * src/hildon-entry.c (hildon_entry_refresh_contents),
1266 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1267 widget name, set the logical color directly instead and a boolean
1268 showing_placeholder instead.
1269 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1270 use the widget name here either.
1272 Fixes: NB#105678 (HildonTextView should use logical colours
1273 instead of setting widget name)
1275 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1277 Patch by Daniel Elster (danielk@openismus.com)
1279 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1280 Add user_data parameter.
1281 (hildon_touch_selector_set_print_func_full): New function akin
1282 hildon_touch_selector_set_print_func() but with support for user
1283 data and a destroy callback.
1284 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1285 to clean up the print function user data.
1286 (hildon_touch_selector_class_init): Install dispose function.
1287 (HildonTouchSelectorPrivate::print_user_data),
1288 (HildonTouchSelectorPrivate::print_destroy_func): New private
1290 (hildon_touch_selector_init): Initialize new private members.
1291 (hildon_touch_selector_get_current_text): Pass along user data
1292 to the print function.
1293 (_default_print_func): Add dummy user_data to parameter list.
1294 * hildon-date-selector.c (_custom_print_func): ditto,
1295 * hildon-time-selector.c (_custom_print_func): ditto,
1296 * hildon-touch-selector-entry.c
1297 (hildon_touch_selector_entry_print_func): ditto.
1299 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1301 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1303 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1305 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1307 * src/hildon-pannable-area.c,
1308 (hildon_pannable_area_init),
1309 (hildon_pannable_area_button_press_cb),
1310 (hildon_pannable_area_motion_notify_cb): We have added code to
1311 handle the leave and enter events when using the motion events.
1313 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1315 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1317 * src/hildon-date-button.c (hildon_date_button_get_date)
1318 (hildon_date_button_set_date): Make sure that the button has a
1321 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1323 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1325 * src/hildon-pannable-area.c,
1326 (hildon_pannable_area_class_init),
1327 (hildon_pannable_area_calculate_velocity): Modify the use of the
1328 force and adapt the value.
1330 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1332 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1333 (hildon_app_menu_class_init): Hide the menu if it receives a
1334 delete-event, but don't destroy it
1336 Fixes: NB#104485 (Not able to address the call when application
1337 menu is opened at background)
1339 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1341 * src/hildon-app-menu.c
1342 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1343 Remove the "external-border" style property, let the menu take its
1344 natural size (or the one set by the window manager)
1345 (hildon_app_menu_repack_items):
1346 Don't reshow the menu, avoid flickers.
1348 Partially fixes NB#94957 (Smoothly opened application menu)
1350 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1355 * configure.ac: Bump version.
1356 * debian/changelog: Updates.
1358 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1360 * src/hildon-pannable-area.c,
1361 (hildon_pannable_area_motion_notify_cb): We control that the
1362 direction error margin is used just in case the movement is
1363 allowed in the other direction.
1365 Fixes: NB#105012 (buttons inside a pannable area not getting
1366 release event when dragging/releasing)
1368 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1370 * src/hildon-pannable-area.c,
1371 (hildon_pannable_area_class_init),
1372 (hildon_pannable_area_get_property),
1373 (hildon_pannable_area_set_property),
1374 (hildon_pannable_area_initial_effect),
1375 (hildon_pannable_axis_scroll),
1376 (hildon_pannable_area_button_release_cb): Reviewed the
1377 overshooting effect, now it has its own max
1378 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1379 speed when bouncing.
1381 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1386 * configure.ac: Bump version.
1387 * debian/changelog: Updates.
1389 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1391 * src/hildon-pannable-area.c,
1392 (hildon_pannable_area_class_init): Changed the max speed, now
1393 users can launch the widget very fast. Reduced the default force,
1394 that way it is easier to control the launch speed.
1396 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1398 * src/hildon-pannable-area.c,
1399 (hildon_pannable_area_button_release_cb): Removed this check
1400 because it causes problems when the device is overloaded.
1402 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1404 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1405 add a current_text field to store the text entered in the
1406 touch selector entry.
1407 (_clean_current_selection): clean up the current text as well.
1408 (_save_current_selection), (_restore_current_selection):
1409 Save/restore the text in the entry if the selector is a
1410 HildonTouchSelectorEntry.
1412 Fixes: NB#102541 (value entered in the touch selector entry is not
1413 shown when opened for second time)
1415 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1417 * doc/hildon-sections.txt:
1418 * src/hildon-touch-selector-entry.c
1419 (+hildon_touch_selector_entry_get_entry):
1420 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1422 Fixes: NB#104815 (I need accessor to the entry inside
1423 HildonTouchSelectorEntry)
1425 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1427 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1428 (hildon_app_menu_class_init):
1429 New "filter-vertical-spacing" style property.
1431 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1433 * src/hildon-find-toolbar.c
1434 (hildon_find_toolbar_emit_close)
1435 (hildon_find_toolbar_emit_invalid_input)
1436 (hildon_find_toolbar_entry_activate):
1437 Use g_signal_emit() instead of g_signal_emit_by_name()
1439 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1441 Patch by Mox Soini (ext-mox.soini@nokia.com)
1443 * tests/TEST-CASES.txt
1444 * tests/check-hildon-banner.c
1445 * tests/check-hildon-note.c
1446 * src/hildon-banner.c
1447 * src/hildon-code-dialog.c
1448 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1449 * src/hildon-time-editor.c
1450 * examples/hildon-lookup-example.c (main):
1451 Replace obsolete icon names with new ones.
1453 * src/hildon-find-toolbar-private.h:
1454 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1455 (-hildon_find_toolbar_emit_search):
1456 Remove find button and change icon of close button.
1458 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1460 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1462 * src/hildon-time-button.c (hildon_time_button_new_step):
1463 Use the "touch-selector" property to set the selector directly
1464 when creating the object.
1466 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1468 Added a new example application that allows tuning the pannable
1469 area and replaced defines with properties in order to simplify the
1470 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1471 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1472 PROP_DIRECTION_ERROR_MARGIN.
1474 * examples/hildon-pannable-area-tuning-example.c: New example
1476 * src/hildon-pannable-area.c,
1477 (hildon_pannable_area_class_init),
1478 (hildon_pannable_area_init),
1479 (hildon_pannable_area_get_property),
1480 (hildon_pannable_area_set_property),
1481 (hildon_pannable_area_launch_fade_timeout),
1482 (hildon_pannable_area_adjust_value_changed),
1483 (hildon_pannable_axis_scroll),
1484 (hildon_pannable_area_motion_notify_cb),
1485 (hildon_pannable_area_scroll_cb),
1486 (hildon_pannable_area_button_release_cb): We have converted some
1487 of the defines that control the widget to properties to simplify
1490 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1492 * src/hildon-app-menu.c (hildon_app_menu_map)
1493 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1494 so it's closed if a new window appears.
1496 Fixes: NB#104485 (Not able to address the call when application
1497 menu is opened at background)
1499 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1501 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1502 missing 'break' statement in in 'case' construct to avoid
1505 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1507 * src/hildon-touch-selector-entry.c
1508 (hildon_touch_selector_entry_get_property),
1509 (hildon_touch_selector_entry_set_property): Add missing 'break'
1510 statements in in 'case' constructs to avoid incorrect warnings.
1512 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1514 * src/hildon-time-editor.c
1515 (hildon_time_editor_get_time_separators): Do not crash if
1516 the first label is NULL.
1518 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1520 * src/hildon-date-selector.c (_month_days): Check for month to be
1521 strictly less than 12, since otherwise we may overrun the array.
1523 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1525 * src/hildon-date-button.c (+hildon_date_button_new_full)
1526 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1527 (hildon_date_button_init): Set the date selector using a
1528 construction property, to make it happen after HildonButton's
1529 "value" property is set.
1531 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1532 current date by default)
1534 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1536 * doc/hildon-sections.txt
1537 * src/hildon-program.c
1538 * src/hildon-stackable-window.c
1539 * src/hildon-window.c:
1540 Documentation updates
1542 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1544 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1545 (hildon_window_stack_new, +hildon_window_stack_set_property)
1546 (+hildon_window_stack_get_property)
1547 (hildon_window_stack_class_init)
1548 (+hildon_window_stack_set_window_group)
1549 (+hildon_window_stack_get_window_group):
1550 Make the window group a construction property.
1552 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1554 * doc/hildon-sections.txt
1555 * src/hildon-stackable-window-private.h
1556 * src/hildon-stackable-window.h
1557 * src/hildon-stackable-window.c
1558 (-hildon_stackable_window_set_app_menu)
1559 (-hildon_stackable_window_get_app_menu)
1560 (-hildon_stackable_window_toggle_menu)
1561 (-hildon_stackable_window_finalize)
1562 (hildon_stackable_window_class_init)
1563 (hildon_stackable_window_init)
1564 * src/hildon-window-private.h
1565 * src/hildon-window.h
1566 * src/hildon-window.c (hildon_window_init)
1567 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1568 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1569 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1570 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1571 Moved all HildonAppMenu code to HildonWindow. The menu does not
1572 require a HildonStackableWindow anymore.
1574 * src/hildon-app-menu.c
1575 * src/hildon-program.c
1576 * examples/hildon-app-menu-example.c (main):
1577 Update examples and documentation to reflect HildonAppMenu
1580 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1582 * src/hildon-remote-texture.c
1583 * src/hildon-animation-actor.c:
1584 Don't include unused private headers.
1586 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1588 * src/hildon-program-private.h
1589 * src/hildon-program.c
1590 (hildon_program_set_common_menu)
1591 (hildon_program_get_common_menu)
1592 (hildon_program_set_common_app_menu)
1593 (hildon_program_get_common_app_menu):
1594 Change common menu pointers from GtkWidget* to GtkMenu* and
1595 HildonAppMenu* to avoid unnecessary casts.
1597 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1599 * src/hildon-window.c (hildon_window_set_main_menu):
1600 Removed incorrect 'Since:' tag
1602 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1604 * src/hildon-pannable-area.c,
1605 (hildon_pannable_area_calculate_velocity): We use now the
1606 RATIO_TOLERANCE here to check the distance, fixed typo in the
1608 (hildon_pannable_area_motion_notify_cb): We have to set the type
1609 and time even if we are not sending the motion.
1611 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1613 * doc/hildon-sections.txt
1614 * src/hildon-app-menu.h
1615 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1616 (+hildon_app_menu_get_filters): New methods to get the contents of
1619 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1622 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1624 * src/hildon-app-menu.c (hildon_app_menu_popup):
1627 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1629 * src/hildon-window.h
1630 * src/hildon-window.c (+hildon_window_get_main_menu)
1631 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1632 and deprecated hildon_window_get_menu().
1634 * src/hildon-stackable-window.h
1635 * src/hildon-stackable-window.c
1636 (+hildon_stackable_window_set_app_menu)
1637 (+hildon_stackable_window_get_app_menu)
1638 (hildon_stackable_window_set_main_menu): Created
1639 hildon_stackable_window_{get,set}_app_menu() and deprecated
1640 hildon_stackable_window_set_main_menu().
1642 * doc/hildon-sections.txt
1643 * examples/hildon-app-menu-example.c (main)
1644 * src/hildon-app-menu.c
1645 * src/hildon-program.c:
1646 Updated examples and documentation.
1648 Fixes: NB#103758 (No way to obtain a menu from a
1649 HildonStackableWindow)
1651 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1656 * configure.ac: Bump version.
1657 * debian/changelog: Updates.
1659 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1661 * examples/hildon-remote-texture-example.c: Include
1662 hildon-remote-texture.h explicitely.
1663 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1664 applications not defining _XOPEN_SOURCE which don't require this header.
1666 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1668 * doc/hildon-sections.txt
1669 * src/hildon-app-menu.h
1670 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1671 New function to pop up a HildonAppMenu
1673 * src/hildon-stackable-window.c
1674 (hildon_stackable_window_toggle_menu):
1675 Use hildon_app_menu_popup() to show the menu.
1677 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1679 * src/hildon-app-menu.c (hildon_app_menu_show)
1680 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1681 menu if there's another window between it and its parent window.
1683 Fixes: NB#100468 (Application menu window is launched even when a
1684 new secondary-window/dialog is pending to be shown/realized)
1686 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1688 * src/hildon-window-stack.c (hildon_window_stack_push)
1689 (hildon_window_stack_pop_and_push):
1690 Don't forget to push/pop the first window.
1691 Reverse the window list before calling _push_list()
1693 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1695 * src/hildon-picker-button.h
1696 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1697 Remove "value_changed" slot to avoid ABI breakage
1699 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1701 * src/hildon-pannable-area.c,
1702 (hildon_pannable_area_realize),
1703 (hildon_pannable_area_unrealize),
1704 (hildon_pannable_draw_vscroll),
1705 (hildon_pannable_draw_hscroll): Changed the method to handle the
1706 GC used to draw the transparent scrollbar, this way we avoid
1707 creating the GC all the time when drawing the scrollbars.
1709 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1711 * src/hildon-pannable-area.c,
1712 (hildon_pannable_area_init),
1713 (hildon_pannable_area_remove): Removed some unnecessary casts.
1714 (hildon_pannable_area_dispose): Disconnected some signals before
1715 releasing the adjustments.
1717 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1719 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1720 Make sure that all widgets contained in the toolbar are shown.
1722 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1724 * doc/hildon-sections.txt
1725 * src/hildon-picker-button.h
1726 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1727 (_selection_changed, hildon_picker_button_on_dialog_response)
1728 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1729 New hildon_picker_button_value_changed() method.
1732 * src/hildon-picker-button-private.h
1733 * src/hildon-picker-button.c (hildon_picker_button_init)
1734 (+hildon_picker_button_disable_value_changed): Add protected
1735 function for disabling the "value-changed" signal.
1737 * src/hildon-date-button.c (hildon_date_button_set_date):
1738 Don't emit "value-changed" for each one of the three columns.
1740 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1741 before actual change of values)
1743 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1745 * src/hildon-pannable-area.c,
1746 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1747 for the treeview overshooting.
1749 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1751 * src/hildon-banner.c (+hildon_banner_bind_style):
1752 Renamed from hildon_banner_bind_label_style(), now naming the
1753 banner itself as well.
1754 (hildon_banner_show_information),
1755 (hildon_banner_show_information_with_markup),
1756 (hildon_banner_show_animation), (hildon_banner_show_progress):
1757 Name the widgets and labels, based on their type.
1759 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1762 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1764 * src/hildon-note.c (hildon_note_set_property): call
1765 hildon_note_rename() on HildonNote:note-type set.
1766 (hildon_note_rename): Name the note and its label, based on the
1767 HildonNote:note-type property.
1769 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1772 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1774 * src/hildon-pannable-area.c,
1775 (hildon_pannable_area_class_init),
1776 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1777 panning parameters, increased SPS and deceleration factor. Added
1778 also a margin to control fake directions.
1780 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1782 Patch by Sven Herzberg (sven@imendio.com)
1784 * configure.ac: Add missing AM_PROG_CC_C_0
1785 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1787 See NB#101420 (Update unit tests and fix make check)
1789 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1791 This patch was applied before but reverted because it caused
1792 problems, we have changed the main condition and tested the
1793 regressions we detected before and they work ok. We have done a
1794 complete review of the topmost algorithm in order to get a more
1797 * src/hildon-pannable-area.c,
1798 (hildon_pannable_area_get_topmost): Added a new parameter to
1799 filter the the windows that do not include those events.
1800 (hildon_pannable_area_button_press_cb),
1801 (hildon_pannable_area_button_release_cb),
1802 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1803 topmost function, we have added the new parameter.
1805 Fixes: NB#97458 (Pannable area prevents propagation of button
1808 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1810 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1811 if all columns in the selector have an item selected.
1812 (_on_dialog_response): Stop "response" signal emission if there is
1813 any selector column without selected items.
1815 Fixes: NB#101889 (Picker dialog should not close when nothing is
1816 selected in multiple selection list)
1818 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1820 * src/hildon-font-selection-dialog.c
1821 (hildon_font_selection_dialog_class_init),
1822 (hildon_font_selection_dialog_init): Remove the preview
1823 button and dialog, since previewing with default theming is likely
1824 to be overcomplicated. The :preview property has now no effect.
1825 Update documentation blurbs to inform about this.
1827 Fixes: NB#92297 (Preview content is not clearly visible for
1828 default colour text)
1830 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1832 Reviewed the geometry that handles the children size and
1833 scrollbar, now it tries a size and reviews the results depending
1834 on the scrollbars visibility.
1836 * src/hildon-pannable-area.c,
1837 (hildon_pannable_area_realize): Fixed a typo.
1838 (hildon_pannable_area_child_allocate_calculate): Added this
1839 function to calculate the child allocation.
1840 (hildon_pannable_area_size_allocate): Reviewed the allocation
1842 (hildon_pannable_area_check_scrollbars),
1843 (hildon_pannable_area_refresh): Refactored refresh function, this
1844 way we can call the code handling the scrollbars without causing a
1845 size_request, it is interesting in the allocate.
1846 (hildon_pannable_area_init): Replace the callbacks of the
1847 value_changed and changed signals to propertly deal with the
1849 (hildon_pannable_area_grab_notify),
1850 (hildon_pannable_area_initial_effect),
1851 (hildon_pannable_area_launch_fade_timeout),
1852 (hildon_pannable_area_adjust_changed),
1853 (hildon_pannable_area_adjust_value_changed),
1854 (hildon_pannable_area_redraw),
1855 (hildon_pannable_area_button_press_cb),
1856 (hildon_pannable_area_button_release_cb),
1857 (hildon_pannable_area_scroll_cb),
1858 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1859 code and use the new functions adjust_changed and
1860 adjust_value_changed.
1862 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1863 Contact editor dialog)
1865 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1870 * configure.ac: Bump version.
1871 * debian/changelog: Updates.
1873 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1875 * src/hildon-pannable-area.c,
1876 (hildon_pannable_area_get_topmost),
1877 (hildon_pannable_area_button_press_cb),
1878 (hildon_pannable_area_button_release_cb),
1879 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1880 topmost function adding the event mask. We have to try a
1881 differente approach because it is still causing problems (NB#9745,
1884 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1886 * src/hildon-banner.c:
1887 Update the maximum width of timed banners.
1888 (force_to_wrap_truncated): Enforce the maximum text width if the
1891 Fixes: NB#102413 (The text margins (wrapping) in information
1892 banner should be HILDON_MARGIN_TRIPLE)
1894 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1896 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1898 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1899 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1900 bound when calculating the scroll indicator position.
1902 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1903 treat ->lower correctly)
1905 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1907 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1908 expose event handling, since it is not necessary to draw the focus
1911 Fixes: NB#102467 (Do not show highlight on the text in
1914 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1916 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1917 full height of the toolbar for the button and the label.
1919 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1921 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1922 padding before the label and after the button.
1924 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1926 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1928 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1929 Add a GtkVSeparator between the button and the back arrow.
1930 Let the button have automatic size.
1931 Set a name to the widget for theming handling.
1933 Fixes: NB#101793 (Make edit toolbar the same height as window
1934 title bar (use title area theming))
1936 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1938 * src/hildon-helper.c (attach_new_color_element): Fix memory
1941 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1943 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1945 * examples/hildon-button-example.c (common_buttons_window): Don't
1948 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1950 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1951 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1953 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1955 * src/hildon-gtk.c: Check that the window is realized.
1957 Fixes: NB#102225 (Crash setting the progress indicator to a non
1960 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1962 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1963 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1964 instead of modifying the one in the widget style.
1966 Fixes: NB#101043 (Second row of all the command button are
1967 displayed in transparent mode.)
1969 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1971 * src/hildon-date-button.c
1972 * src/hildon-time-button.c: Add gettext macros
1974 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1976 * src/hildon-date-button.c (hildon_date_button_new):
1977 * src/hildon-time-button.c (hildon_time_button_new_step):
1978 Use new logical strings to set the button default title.
1980 Fixes: NB#99915 (Date and Time options are not localised in Date
1983 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1985 * src/hildon-pannable-area.c
1986 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1987 the PANNING_THRESHOLD.
1989 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1991 * src/hildon-pannable-area.c,
1992 (hildon_pannable_area_class_init): Increased the maximum speed.
1993 (hildon_pannable_area_get_property),
1994 (hildon_pannable_area_set_property),
1995 (hildon_pannable_area_timeout): Added a new low friction mode, it
1996 allows the user avoid friction when launching the widget fast
1997 enough. It is interesting to traverse long lists.
1999 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2001 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2002 (+hildon_stackable_window_delete_event): Ignore delete events if
2003 the window is not the topmost one.
2005 Fixes: NB#101698 (Back button long press and delete-event handling)
2007 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2009 * src/hildon-pannable-area.c,
2010 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2011 gtk-dnd-drag-threshold, it was too big. We have defined our own
2012 dnd define and set a smaller value: PANNIG_THRESHOLD.
2014 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2016 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2017 user-defined icons, use always the default one.
2019 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2021 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2023 This patch was applied before but reverted because it caused
2024 problems, we have changed the main condition and tested the
2025 regressions we detected before and they work ok.
2027 * src/hildon-pannable-area.c,
2028 (hildon_pannable_area_get_topmost): Added a new parameter to
2029 filter the the windows that do not include those events. Added
2030 also a condition when finding the window to filter windows that do
2031 not ask for those events.
2032 (hildon_pannable_area_button_press_cb),
2033 (hildon_pannable_area_button_release_cb),
2034 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2035 topmost function, we have added the new parameter.
2037 Fixes: NB#97458 (Pannable area prevents propagation of button
2040 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2042 * tests/check-hildon-color-button.c (START_TEST): do not leak
2045 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2047 * src/hildon-font-selection-dialog.c
2048 (hildon_font_selection_dialog_get_preview_text): Return NULL
2049 instead of FALSE on the g_return_val_if_fail().
2051 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2053 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2054 * src/hildon-date-selector.c
2055 (hildon_date_selector_select_current_date):
2056 Do not compare unsigned integers to be greater than or equal 0,
2057 because it's always TRUE.
2059 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2061 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2062 (hildon_date_selector_constructor): Do not select the current
2063 date until we are handle the "changed" signal, to avoid having bogus
2064 elements in the days model.
2066 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2068 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2069 for num_days, since _month_days() can return a negative value.
2071 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2073 * src/hildon-caption.c (hildon_caption_size_allocate):
2074 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2075 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2077 Initialize allocation variables to 0, to avoid eventually using
2078 unitialized variables.
2080 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2082 * src/hildon-bread-crumb-trail.c
2083 (hildon_bread_crumb_trail_size_allocate):
2084 * src/hildon-calendar.c (hildon_calendar_set_background):
2085 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2086 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2087 * src/hildon-seekbar.c (hildon_seekbar_init):
2088 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2089 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2090 * src/hildon-touch-selector-entry.c
2091 (hildon_touch_selector_get_text_from_model):
2092 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2093 * src/hildon-window.c (hildon_window_finalize):
2095 Remove many unused variables.
2097 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2099 * src/hildon-seekbar.c: (hildon_seekbar_init),
2100 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2102 Remove unnecessary g_assert() calls.
2104 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2106 * src/hildon-caption.c: (hildon_caption_expose),
2107 (hildon_caption_set_property), (hildon_caption_init),
2108 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2109 (hildon_caption_size_request), (hildon_caption_size_allocate),
2110 (hildon_caption_forall), (hildon_caption_set_separator),
2111 (hildon_caption_activate), (hildon_caption_set_child_expand),
2112 (hildon_caption_set_label_text),
2113 (hildon_caption_get_label_alignment):
2115 Remove unnecessary g_assert() calls.
2117 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2119 * src/hildon-banner.c
2120 (hildon_banner_map, hildon_banner_init): Make banner temporary
2121 before mapping it to avoid closing other temporary windows, but
2122 make it non-temporary afterwards to avoid being closed by other
2123 non-temporary windows.
2124 (-hildon_banner_client_event, hildon_banner_init):
2125 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2127 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2130 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2132 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2135 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2137 * src/hildon-remote-texture.c
2138 * src/hildon-remote-texture.h
2139 * src/hildon-remote-texture-private.h
2140 * examples/hildon-remote-texture-example.c:
2141 Updates/fixes to remote-texture and its example.
2143 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2145 Patch by Mox Soini (ext-mox.soini@nokia.com)
2147 * src/hildon-code-dialog.c: Update logical id.
2148 * src/hildon-set-password-dialog.c: Update logical id.
2150 Fixes: NB#100646 (Logical strings is shown for ok in set
2151 password,Password needed dialogs)
2153 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2156 * src/hildon-remote-texture.c
2157 * src/hildon-remote-texture.h
2158 * src/hildon-remote-texture-private.h
2160 Added remote texture widget (for Clutter shared memory textures)
2162 * examples/hildon-remote-texture-example.c
2163 * examples/Makefile.am
2164 Added example file for remote texture usage
2166 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2168 * configure.ac: post release version bump.
2169 * debian/changelog: version bump.
2171 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2176 * configure.ac: Bump version.
2177 * debian/changelog: Updates.
2179 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2181 * src/hildon-date-selector.c (hildon_date_selector_init)
2182 (hildon_date_selector_constructor): Don't connect to the "changed"
2183 signal until the selector is completely constructed.
2185 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2187 * src/hildon-touch-selector.c: (_create_new_column),
2188 (hildon_touch_selector_append_column),
2189 (hildon_touch_selector_set_column_selection_mode),
2190 (hildon_touch_selector_set_active),
2191 (hildon_touch_selector_select_iter):
2192 Emit the HildonTouchSelector::changed signal every time selection
2193 is changed in any of the methods above. This behavior was already
2194 documented but not fully functional.
2196 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2197 selection is programmatically changed)
2199 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2201 * doc/hildon-sections.txt: Remove obsolete icon
2202 sizes from here as well.
2204 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2206 * examples/hildon-stackable-window-example.c (add_window): Remove
2209 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2211 * src/hildon-app-menu.c
2212 (hildon_app_menu_show): Check whether the parent window of a menu
2213 is topmost before popping it up.
2215 Fixes: NB#100468 (Application menu window is launched even when a
2216 new secondary-window/dialog is pending to be shown/realized.)
2218 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2220 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2223 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2225 Patch by Mox Soini (ext-mox.soini@nokia.com)
2227 * src/hildon-banner.c: (hildon_banner_show_animation):
2228 use stylus size instead of obsolete note size.
2229 * src/hildon-defines.h: Update icon sizes.
2231 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2233 * src/hildon-touch-selector-entry.c:
2234 (hildon_touch_selector_entry_init): Disable unsupported
2236 (hildon_touch_selector_entry_get_text_column): Emit a warning
2237 if an unsupported input modes is used and explicitile state
2238 these modes in the documentation.
2240 Fixes: NB#99802 (Hildon touch selector entry not working properly
2241 for some of the input modes)
2243 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2245 * src/hildon-pannable-area.c,
2246 (hildon_pannable_area_init): Added the changed signal handlers of
2249 Fixes: NB#100320 (HildonPannableArea does not listen to
2250 GtkAdjustment "change" signals)
2252 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2254 * doc/hildon-sections.txt
2255 * src/hildon-window-private.h
2256 * src/hildon-window.h
2257 * src/hildon-window.c (hildon_window_init)
2258 (hildon_window_realize, hildon_window_unrealize)
2259 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2260 (hildon_window_size_request, hildon_window_size_allocate)
2261 (hildon_window_forall, hildon_window_show_all)
2262 (hildon_window_destroy, +paint_edit_toolbar)
2263 (+hildon_window_set_edit_toolbar):
2264 New hildon_window_set_edit_toolbar() method, to add a
2265 HildonEditToolbar to a window without having to pack it manually.
2267 Reorganize hildon_window_size_allocate()
2269 * src/hildon-edit-toolbar.c: Update documentation.
2271 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2272 example to use the new API.
2274 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2276 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2278 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2279 Remove from stack before calling parent's hide.
2281 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2283 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2284 window is removed from the middle of the stack, update the
2285 transiency of the previous one.
2287 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2290 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2292 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2293 block/unblock the signal handler if it's not actually being used.
2294 Fixes some critical warnings.
2296 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2298 Based on a patch by Iván Gómez (igomez@igalia.com)
2300 * src/hildon-banner.c
2304 * src/hildon-pannable-area.c
2305 * src/hildon-picker-dialog.c
2306 * src/hildon-wizard-dialog.h
2307 * src/hildon-wizard-dialog.c: Documentation updates.
2309 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2310 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2312 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2314 * configure.ac: post release version bump.
2315 * debian/changelog: version bump.
2317 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2322 * configure.ac: Bump version.
2323 * debian/changelog: Updates.
2325 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2327 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2328 a stock icon nor change the relief of the back arrow.
2330 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2331 graphics from theme)
2333 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2335 * src/hildon-button.c (hildon_button_set_alignment): Use
2336 priv->alignment if the button has no child yet.
2338 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2340 * src/hildon-button.c: (hildon_button_init): Set the
2341 button style during initialization to give it the proper
2344 Fixes: NB#99713 (HildonButton value label color is wrong)
2346 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2348 * src/hildon-touch-selector.c: Document
2349 hildon_touch_selector_center_on_selected()
2351 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2353 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2354 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2355 all menu items, but not the menu itself.
2356 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2357 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2358 items after adding them to the menu so keyboard accelerators work.
2359 (hildon_app_menu_show): Don't show the menu if it contains items
2360 but none of them are visible.
2362 * examples/hildon-app-menu-example.c (create_menu): Use
2363 gtk_widget_show_all() to show all menu items.
2365 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2367 * src/hildon-picker-dialog.c:
2368 (-_update_title_on_selector_changed_cb),
2369 (-_dialog_update_title): Removed.
2370 (_select_on_selector_changed_cb), (_on_dialog_response),
2371 (on_selector_columns_changed): Do not update the dialog title.
2372 (setup_interaction_mode): Do not connect to
2373 HildonTouchSelector::changed signal if there's a "done" button, as
2374 the dialog title doesn't need to be updated.
2376 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2379 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2381 Patch by Kristian Rietveld (kris@imendio.com)
2383 * src/hildon-touch-selector.c: (_create_new_column): Use new
2384 GtkTreeView::hildon-row-tapped signal to react to user interactions
2385 instead of ::changed.
2387 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2388 with some dynamic tree model)
2390 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2392 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2393 (+screen_size_changed, +label_size_request)
2394 (hildon_note_class_init): Make the Hildon information note have a
2395 minimum height, and make its text hvae a maximum width.
2397 Fixes: NB#98614 (Hildon information note (background) should have
2398 minimum height and maximum text width)
2400 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2402 * src/hildon-banner.h
2403 * src/hildon-banner.c (hildon_banner_show_information)
2404 (hildon_banner_show_informationf)
2405 (hildon_banner_show_information_with_markup): Update documentation
2406 to reflect that the icon_name parameter is not used anymore.
2407 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2408 Remove all code from these functions and mark them as deprecated.
2409 (hildon_banner_show_progress): Mark as deprecated.
2411 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2413 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2415 * src/hildon-pannable-area.c,
2416 (hildon_pannable_area_class_init),
2417 (tranparency_color),
2418 (hildon_pannable_draw_vscroll),
2419 (hildon_pannable_draw_hscroll),
2420 (hildon_pannable_area_expose_event): Added a new way to render the
2421 scrollbars of the pannable area avoiding using cairo at all. This
2422 way we improve the performance of the pannable area rendering. The
2423 cairo rendering procedure is still in the code, we can control
2424 which one to use changing the value of the define
2425 USE_CAIRO_SCROLLBARS.
2427 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2429 * configure.ac: post release version bump.
2430 * debian/changelog: version bump.
2432 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2437 * configure.ac: Bump version.
2438 * debian/changelog: Updates.
2440 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2442 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2443 banners instead of destroying them when they receive a button
2446 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2448 Reverted commit 34028, it was causing regressions, probably the
2449 topmost condition is not correct, we have to check it in more
2450 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2451 propagation of button press events)
2453 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2455 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2456 that the selection is not empty before attempting to retrieve the
2457 current ampm selection.
2459 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2461 * src/hildon-picker-button.c:
2462 (hildon_picker_button_on_dialog_response): Directly update the
2463 button contents when required instead of calling _selection_changed.
2465 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2467 * src/hildon-program.c (hildon_program_update_top_most): Update
2468 'is-topmost' property also when wm_hints is not set.
2470 Fixes: NB#98383 (is-topmost signal is not emitted when task
2471 switcher is clicked.)
2473 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2475 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2479 * src/hildon-animation-actor.c,
2480 * src/hildon-animation-actor.h: Added the animation actor class,
2481 this widget represents an animation actor for WM-assisted
2482 animation effects in the Hildon framework.
2484 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2486 * src/hildon-window-stack-private.h
2487 * src/hildon-window-stack.c
2488 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2489 Avoid calling gtk_widget_show() again indirectly from
2490 hildon_stackable_window_show()
2492 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2494 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2497 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2499 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2500 (hildon_time_selector_init): Move the construction of the hours and
2501 ampm columns to the constructor to preserve the order the columns
2504 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2506 * src/hildon-picker-dialog.c:
2507 (hildon_picker_dialog_class_init): Connect a realize method.
2508 (+hildon_picker_dialog_realize): Setup the interaction mode here
2510 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2511 yet, do it during the realize instead.
2512 (_on_dialog_response):
2513 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2514 if the widget is not realized, to avoid the dialog response before it
2517 Avoid premature responses in the HildonPickerDialog that can cause it
2518 to be hidden before it's even shown.
2520 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2522 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2523 (on_selector_columns_changed), (requires_done_button),
2524 (+prepare_action_area), (setup_interaction_mode),
2525 (_hildon_picker_dialog_set_selector):
2527 Split the interaction mode setup into preparation of the
2528 action area (prepare_action_area()) and the connection of
2529 the signals in setup_interaction_mode() and update the code to
2532 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2534 * src/hildon-pannable-area.c,
2535 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2536 per second to 15, we will check if this is ok regarding
2539 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2541 * src/hildon-pannable-area.c,
2542 (hildon_pannable_axis_scroll): Avoid resize if we already have
2543 reached overshoot_max.
2545 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2547 * src/hildon-pannable-area.c,
2548 (hildon_pannable_area_init),
2549 (hildon_pannable_area_realize),
2550 (hildon_pannable_area_size_allocate),
2551 (hildon_pannable_area_map),
2552 (hildon_pannable_area_unmap),
2553 (hildon_pannable_draw_vscroll),
2554 (hildon_pannable_draw_hscroll),
2555 (hildon_pannable_area_expose_event),
2556 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2557 pannable are to avoid the expose events go to the window and
2558 redraw the window. We save this way that part of the stack and the
2559 paint_boxes. We had to change the positions of the elements when
2562 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2564 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2565 * src/hildon-color-chooser-dialog.c:
2566 (hildon_color_chooser_dialog_init):
2567 * src/hildon-font-selection-dialog.c:
2568 (hildon_font_selection_dialog_init),
2569 (hildon_font_selection_dialog_show_preview):
2570 * src/hildon-get-password-dialog.c:
2571 * src/hildon-login-dialog.c:
2572 * src/hildon-set-password-dialog.c:
2573 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2574 * src/hildon-time-picker.c: (hildon_time_picker_init):
2576 Remove obsolete logical string IDs and update to the appropriate ones.
2578 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2580 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2582 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2583 that happens if the window hasn't been realized yet.
2585 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2586 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2588 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2590 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2591 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2594 Fixes: NB#98537 (Device hangs in account settings dialog)
2596 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2598 * configure.ac: post release version bump.
2599 * debian/changelog: version bump
2601 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2606 * configure.ac: Bump version.
2607 * debian/changelog: Updates.
2609 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2611 Added a new function to the HildonTimeButton widget that allows to
2612 change the step of the minutes in the selector associated with the
2613 button: hildon_time_button_new_step
2615 * src/hildon-time-button.c,
2616 (hildon_time_button_init),
2617 (hildon_time_button_new),
2618 (hildon_time_button_new_step):
2619 * src/hildon-time-button.h: Added the new function and refactored
2621 * examples/hildon-time-button-example.c,
2622 (main): We have replaced the function without parameters with the
2623 function with the steps set to 5
2625 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2627 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2629 * src/hildon-time-selector.c,
2630 (hildon_time_selector_class_init),
2631 (hildon_time_selector_constructor),
2632 (hildon_time_selector_get_property),
2633 (hildon_time_selector_set_property),
2634 (_create_minutes_model),
2635 (hildon_time_selector_new_step),
2636 (hildon_time_selector_set_time),
2637 * src/hildon-time-selector.h: Added a new property to the
2638 HildonTimeSelector (minutes-step), we use that property to control
2639 the steps between the minutes in the list of the selector. We have
2640 added a new function to the API to create a widget changing the
2641 step: hildon_time_selector_new_step.
2643 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2645 * src/hildon-time-selector.c,
2646 (hildon_time_selector_class_init),
2647 (hildon_time_selector_constructor),
2648 (hildon_time_selector_init): Overrided the construct function when
2649 creating the time selector object. We have moved the minutes model
2650 handling code from the init to the new construction function:
2651 hildon_time_selector_constructor.
2653 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2655 * examples/hildon-date-button-example.c: (main): Use the new
2656 hildon_date_button_new_with_year_range() method in the example.
2657 * src/hildon-date-button.c:
2658 (+hildon_date_button_new_with_year_range): New public method
2659 to conveniently create a HildonDateButton with a custom year range
2660 in its HildonDateSelector.
2661 * src/hildon-date-button.h: Add the new public method definition.
2663 Fixes: NB#97908 (Not possible to change the year range in
2664 HildonDateSelector/HildonDateButton)
2666 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2668 * src/hildon-date-selector.c:
2669 (+hildon_date_selector_set_property),
2670 (+hildon_date_selector_get_property),
2671 (hildon_date_selector_class_init): Install new properties "min-year"
2672 and "max-year" to define boundaries for the year column.
2673 (_create_year_model): Use the boundary properties to populate the model.
2674 (+hildon_date_selector_new_with_year_range): New public method to
2675 create a HildonDateSelector with a user defined year range.
2676 (hildon_date_selector_select_current_date): Use the new boundaries to
2677 calculate the iterator of current year.
2678 * src/hildon-date-selector.h: Add the new public method definition.
2680 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2682 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2683 Install a constructor method.
2684 (+hildon_date_selector_construct_ui): construct the widget.
2685 (+hildon_date_selector_constructor): new constructor.
2686 (+hildon_date_selector_init): move out widget construction code to
2687 the new constructor.
2689 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2691 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2692 that there's actually a month or year selected before obtaining them.
2693 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2694 of the HildonTouchSelector::changed signal, as it was emitted on every
2695 single item selection.
2697 Fix some warnings and possible crashers due to the selection restoring.
2699 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2701 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2702 the signal handlers only after creating the dialog instead of on every
2705 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2707 * src/hildon-button.c (hildon_button_init)
2708 * src/hildon-check-button.c (hildon_check_button_init)
2709 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2710 focus when clicked by default.
2712 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2714 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2717 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2719 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2720 Alejandro G. Castro (alex@igalia.com)
2722 * src/hildon-picker-dialog.c:
2723 (hildon_picker_dialog_class_init): install new "center-on-show"
2725 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2726 (hildon_picker_dialog_set_property): add setter code for the new
2728 (hildon_picker_dialog_get_property): add getter code for the new
2730 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2731 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2734 Fixes: NB#92849 (Selected item is not always visible when
2735 HildonTouchSelector is shown)
2737 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2739 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2740 Alejandro G. Castro (alex@igalia.com)
2742 * src/hildon-touch-selector.c:
2743 (_create_new_column): Do not connect to the "realize" signal of the
2745 (hildon_touch_selector_append_column): center on the selected items
2746 when a new column is appended.
2747 (hildon_touch_selector_select_iter): Factor out the code to select a
2748 column to hildon_touch_selector_scroll_to().
2749 (+search_nearest_element): Method to retrieve the nearest selected
2750 element to the visible area of the pannable area in a column.
2751 (+on_realize_cb): scroll to the initially selected item.
2752 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2753 the pannable area is realized, otherwise delay this until it is.
2754 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2755 selected items of a given column.
2756 (+hildon_touch_selector_center_on_selected): Public method to center
2757 all columns on the nearest selected item.
2758 * src/hildon-touch-selector.h: Add definition for
2759 hildon_touch_selector_center_on_selected().
2761 Implement public API to ensure visibility of all selected items in
2762 a HildonTouchSelector.
2764 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2766 Fixed a problem in the fading when calling the scroll_to API, and
2767 improve scrollbar fading handling.
2769 * src/hildon-pannable-area.c,
2770 (hildon_pannable_area_grab_notify): avoid the timeout when the
2772 (hildon_pannable_area_button_press_cb),
2773 (hildon_pannable_area_motion_notify_cb): Code style changes.
2774 (hildon_pannable_area_button_release_cb): Review the conditions
2775 when releasing the mouse button to avoid unrequired fading
2777 (hildon_pannable_area_scroll_to): Do not calculate and set the
2778 velocity if the scroll is not required.
2780 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2782 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2783 Don't check whether the new selector is NULL: it cannot be.
2784 Hold a reference to the selector while doing the replacement.
2786 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2788 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2789 unnecessary size_request in a removed widget.
2791 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2793 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2794 an unnecessary reference tracking that was leaking.
2796 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2798 Added delayed motion notify event handling, this way we can
2799 discard redrawing if more than 25 events arrive per second.
2801 * src/hildon-pannable-area.c,
2802 (hildon_pannable_area_init): Initialized the new private atributes
2803 controlling this timeout
2804 (hildon_pannable_area_dispose): Remove the timeout that controls
2805 the motion notify events.
2806 (hildon_pannable_area_scroll): Added a condition to control the
2807 use of the acceleration.
2808 (hildon_pannable_area_motion_event_scroll_timeout),
2809 (hildon_pannable_area_motion_event_scroll): Added this two
2810 functions, they handle the motion notify events inside the
2812 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2813 to the scroll method with the new function.
2814 (hildon_pannable_area_button_release_cb): We have to remove the
2815 timeout handler and move to the last position if the last motion
2816 events were not handled.
2818 Fixes: NB#97028 (Pannable area updates on every motion event)
2820 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2822 * src/hildon-pannable-area.c,
2823 (hildon_pannable_area_get_topmost): Added a new parameter to
2824 filter the the windows that do not include those events. Added
2825 also a condition when finding the window to filter windows that do
2826 not ask for those events.
2827 (hildon_pannable_area_button_press_cb),
2828 (hildon_pannable_area_button_release_cb),
2829 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2830 topmost function, we have added the new parameter.
2832 Fixes: NB#97458 (Pannable area prevents propagation of button
2835 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2837 * src/hildon-pannable-area.c,
2838 (hildon_pannable_area_initial_effect): Added controls before
2839 launching the timeout and the idle functions.
2840 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2841 of the method, in some situations it can return with TRUE and 0 in
2843 (hildon_pannable_area_button_press_cb): We do not need to set
2844 DELAY for fading out here.
2846 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2848 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2850 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2851 post-cleaning if the selection is not NULL.
2853 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2855 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2856 all items before restoring the selection.
2858 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2860 * src/hildon-touch-selector.c:
2861 (+hildon_touch_selector_unselect_all):
2862 * src/hildon-touch-selector.h: New API to unselect all items in a
2863 column of the touch selector.
2865 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2867 * src/hildon-pannable-area.c,
2868 (hildon_pannable_area_redraw): Added a call to the refresh
2869 function inside the redraw because apparently in some cases the
2870 change in the adjustment does not imply a size allocate.
2872 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2873 despite the view not being scrollable)
2875 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2877 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2878 leak. Check for NULL before attempting to set the window title.
2880 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2882 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2883 whether to show or not the 'Done' button each time the dialog is
2884 shown, as it depends on the HildonTouchSelector selection mode.
2886 Fixes: NB#96226 (In multiple selection mode Done button is shown
2887 sometimes in listpicker)
2889 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2891 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2892 for the number of columns in the HildonTouchSelector more than once.
2894 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2896 * src/hildon-touch-selector.c: Minor documentation fixes.
2898 * src/hildon-picker-dialog.c (+_dialog_update_title)
2899 (_select_on_selector_changed_cb)
2900 (_update_title_on_selector_changed_cb)
2901 (on_selector_columns_changed): Update dialog title when there's no
2902 'Done' button and also when the number of columns in the selector
2906 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2907 (+_selection_changed, hildon_picker_button_on_dialog_response)
2908 (hildon_picker_button_selector_selection_changed)
2909 (+hildon_picker_button_selector_columns_changed)
2910 (hildon_picker_button_set_selector): Update button value and emit
2911 'value-changed' when the number of columns in the selector
2915 Fixes: NB#96225 (Dialog titles are not shown according to the
2916 values selected in the list picker)
2918 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2920 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2921 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2922 New "arrow-width" and "arrow-height" style properties to set the
2923 size of the arrow button.
2924 Set name of arrow button ("hildon-edit-toolbar-arrow").
2926 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2927 graphics from theme)
2929 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2931 * src/hildon-picker-button.c:
2932 (hildon_picker_button_selector_selection_changed): Use
2933 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2934 the dialog is present.
2936 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2937 the selection is accepted in the dialog)
2939 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2941 * src/hildon-color-chooser.h
2942 * src/hildon-color-chooser-dialog.h:
2943 Added G_BEGIN_DECLS and G_END_DECLS
2945 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2947 (_clean_current_selection): plug a leak in the list.
2949 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2951 * src/hildon-picker-dialog.c:
2952 (+free_path_list): Method to free a GList of GtkTreePaths.
2953 (_clean_current_selection), (_save_current_selection),
2954 (_restore_current_selection): Save the current selection in
2955 as a list of lists, to support multiple selection properly.
2957 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2959 patch by Claudio Saavedra (csaavedra@igalia.com)
2961 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2962 Store the press position.
2963 (+hildon_text_view_button_release_event): If the release position is
2964 close enough to the press position, move the cursor here. Otherwise,
2966 (hildon_text_view_class_init): Override GtkTextView press, release, and
2967 motion event handlers, disabling this way text selection through
2968 pointer interaction, and allowing the container widget to handle the
2971 Fixes: NB#95828 (HildonTextView functionality)
2973 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2975 Based on a patch by Iván Gómez (igomez@igalia.com)
2977 * src/hildon-button.[ch]
2978 * src/hildon-calendar.c
2979 * src/hildon-check-button.c
2980 * src/hildon-date-editor.c
2981 * src/hildon-date-selector.c
2982 * src/hildon-picker-button.c
2983 * src/hildon-time-editor.c
2984 * src/hildon-time-selector.c
2985 * src/hildon-touch-selector.[ch]:
2986 Documentation updates
2988 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2990 * src/hildon-pannable-area.c,
2991 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2992 threshold, it was required due to X events handling.
2994 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2996 * src/hildon-pannable-area.c,
2997 (hildon_pannable_area_grab_notify),
2998 (hildon_pannable_area_initial_effect),
2999 (hildon_pannable_area_button_press_cb),
3000 (hildon_pannable_area_button_release_cb),
3001 (hildon_pannable_area_scroll_cb),
3002 (hildon_pannable_area_scroll_to): Review the timeout management of
3003 the scrollbar, the frecuency was incorrectly set.
3005 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3007 * src/hildon-picker-button.c:
3008 (+hildon_picker_button_on_dialog_response),
3009 (hildon_picker_button_clicked): Present the dialog instead of
3010 running it with gtk_dialog_run().
3012 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3015 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3017 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3018 (hildon_app_menu_finalize): When a window is hidden it doesn't
3019 emit notify::is-topmost, so make sure than the menu also
3020 disappears in that case.
3021 (parent_window_topmost_notify): Renamed from parent_window_hidden
3023 Fixes: NB#94460 (stackable window's menu is not closed when its
3026 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3028 * src/hildon-touch-selector-entry.c:
3029 (+hildon_touch_selector_entry_set_input_mode),
3030 (+hildon_touch_selector_entry_get_input_mode):
3031 * src/hildon-touch-selector-entry.h: New methods to access the input
3032 mode in the selector's entry.
3034 Fixes: NB#93410 (API required for setting IM mode in
3035 HildonTouchSelectorEntry)
3037 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3039 * configure.ac: post release version bump.
3040 * debian/changelog: version bump
3042 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3047 * configure.ac: Bump version.
3048 * debian/changelog: Updates.
3050 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3052 * src/hildon-touch-selector.c:
3053 (_hildon_touch_selector_has_multiple_selection): No need
3054 to initialize the variables here.
3056 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3058 * src/hildon-note-private.h
3059 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3060 (hildon_note_finalize, hildon_note_rebuild): Close information
3061 notes when they receive a button press.
3063 Fixes: NB#89890 (Information notes does not get disappeared after
3066 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3068 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3069 mark from the wizard title, as it's not really necessary. Also,
3070 do not display the page title if not set.
3072 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3074 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3075 (parent_window_hidden): Use the window's "is-topmost" property to
3076 detect when to hide the menu.
3078 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3080 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3081 (hildon_app_menu_finalize): If the parent window of the menu is
3082 hidden, hide the menu too.
3084 Fixes: NB#94460 (stackable window's menu is not closed when its
3087 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3090 * debian/libhildon1-examples.install
3092 * examples/Makefile.am:
3093 Use dh_install to install all examples.
3094 Use DEB_SRCDIR instead of defining SOURCE_DIR
3096 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3098 * configure.ac: post release version bump.
3099 * debian/changelog: version bump
3101 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3106 * configure.ac: bump version
3107 * debian/changelog: updates
3108 * debian/control: bump gtk+ dependency
3110 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3112 patch by Christian Dywan (christian@imendio.com)
3114 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3115 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3117 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3119 * src/hildon-check-button.c (hildon_check_button_init)
3120 (hildon_check_button_class_init, hildon_check_button_style_set)
3121 (hildon_check_button_apply_style):
3122 New "checkbox-size" style property.
3124 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3125 larger / configurable size)
3127 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3129 * configure.ac: post release version bump.
3130 * debian/changelog: version bump
3132 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3137 * configure.ac: bump version
3138 * debian/changelog: updates
3140 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3142 * doc/hildon-sections.txt
3143 * src/hildon-pannable-area.c
3144 * src/hildon-program.c
3145 * src/hildon-time-editor.c
3146 * src/hildon-touch-selector-entry.c:
3148 More documentation updates.
3150 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3152 * doc/hildon-sections.txt
3153 * src/hildon-caption.c
3154 * src/hildon-code-dialog.c
3155 * src/hildon-color-button.c
3156 * src/hildon-controlbar.c
3157 * src/hildon-date-editor.c
3158 * src/hildon-date-selector.c
3159 * src/hildon-edit-toolbar.c
3160 * src/hildon-find-toolbar.c
3161 * src/hildon-font-selection-dialog.c
3163 * src/hildon-program.c
3164 * src/hildon-range-editor.c
3165 * src/hildon-seekbar.c
3166 * src/hildon-time-editor.c
3167 * src/hildon-time-selector.c
3168 * src/hildon-volumebar-range.c
3169 * src/hildon-volumebar.c
3170 * src/hildon-vvolumebar.c
3171 * src/hildon-weekday-picker.c
3172 * src/hildon-window.c
3173 * src/hildon-wizard-dialog.c:
3175 Lots of documentation fixes.
3177 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3179 Patch contributed by Iván Gómez (igomez@igalia.com)
3181 * src/hildon-check-button.c:
3182 * src/hildon-date-button.c:
3183 * src/hildon-date-selector.c:
3184 * src/hildon-dialog.c:
3185 * src/hildon-edit-toolbar.c:
3186 * src/hildon-entry.c:
3187 * src/hildon-picker-button.c:
3188 * src/hildon-program.c:
3189 * src/hildon-text-view.c:
3190 * src/hildon-time-button.c:
3191 * src/hildon-touch-selector-entry.c:
3192 * src/hildon-window-stack.c:
3194 Add more "since" tags to the new API.
3196 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3198 * doc/hildon-sections.txt: Add below method.
3199 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3200 version for the hildonized scale.
3201 * src/hildon-gtk.h: Add the definition.
3203 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3205 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3207 * doc/hildon-sections.txt: Add missing entries for new methods.
3209 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3211 Added API to pannable are in order to get its adjustments. We
3212 added two properties to manage the values we had in the private
3215 * src/hildon-pannable-area.c:
3216 (hildon_pannable_area_class_init): Added hadjustment and
3217 vadjustment properties in order to expose horizontal and vertical
3219 (hildon_pannable_area_get_property),
3220 (hildon_pannable_area_set_property): Added code to handle the new
3222 (hildon_pannable_area_get_hadjustment),
3223 (hildon_pannable_area_get_vadjustment): API functions to get the
3225 * src/hildon-pannable-area.h:
3226 (hildon_pannable_area_get_hadjustment),
3227 (hildon_pannable_area_get_vadjustment): API functions to get the
3230 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3232 Fixed some leaks, after valgrinding.
3234 * src/hildon-touch-selector.c:
3235 (_default_print_func): Fixed a leak.
3236 (hildon_touch_selector_append_column): Fixed a leak.
3237 * src/hildon-date-button.c:
3238 (hildon_date_button_init): Fixed a leak.
3239 * src/hildon-date-selector.c
3240 (hildon_date_selector_finalize): Fixed a leak.
3242 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3244 Based on a patch by Christian Dywan (christian@imendio.com)
3246 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3248 * src/hildon-gtk.h: Add definition.
3250 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3252 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3254 * src/hildon-picker-button.c: (hildon_picker_button_init),
3255 (hildon_picker_button_new): Set the HildonButton::style property
3256 in the init method, to propagate the value to the derived classes.
3258 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3260 * src/hildon-button.c: (hildon_button_class_init): Do not make
3261 the "style" property a construct property.
3263 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3265 * src/hildon-wizard-dialog.h
3266 * src/hildon-wizard-dialog.c
3267 (hildon_wizard_dialog_set_forward_page_func)
3268 * src/hildon-pannable-area.h
3269 * src/hildon-pannable-area.c
3270 (hildon_pannable_area_set_size_request_policy):
3271 Documentation fixes.
3273 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3275 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3277 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3279 * doc/hildon-sections.txt: Added sections file.
3281 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3284 * src/*.[ch]: Updates.
3286 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3288 * examples/hildon-progress-indicator-example.c: new file
3289 * examples/Makefile.am: include the new example program
3291 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3293 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3295 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3297 * configure.ac: post release version bump
3298 * debian/changelog: version bump
3300 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3305 * configure.ac: bump version
3306 * debian/changelog: updates
3307 * debian/control: bump gtk+ dependency
3309 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3311 * src/hildon-dialog.c: Mark as deprecated.
3312 * src/hildon-dialog.h: Mark as deprecated.
3313 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3314 from HildonDialog and still work, even if
3315 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3316 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3318 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3319 maemo changes) instead)
3321 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3323 * src/hildon-pannable_area.h:
3324 * src/hildon-pannable_area.c:
3325 (hildon_pannable_area_class_init),
3326 (hildon_pannable_area_set_property),
3327 (hildon_pannable_area_get_property),
3328 (hildon_pannable_area_size_request),
3329 (hildon_pannable_area_get_size_request_policy),
3330 (hildon_pannable_area_set_size_request_policy): Added new API
3331 allowing applications to control the request policy. Now they can
3332 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3333 children allocation (HILDON_MOVEMENT_CHILDREN).
3335 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3339 (hildon_gtk_tree_view_set_ui_mode)
3340 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3341 mode of treeviews and iconviews.
3343 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3345 * src/hildon-touch-selector-entry.c:
3346 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3347 of a GtkEntry to get proper theming.
3349 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3350 widget, not GtkEntry)
3352 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3354 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3355 no HildonWizardDialogPageFunc.
3357 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3359 Patch contributed by Iván Gómez (igomez@igalia.com)
3361 * src/hildon-app-menu.c:
3362 * src/hildon-button.c:
3363 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3364 * src/hildon-stackable-window.c:
3365 * src/hildon-time-selector.c:
3366 * src/hildon-touch-selector.c:
3367 * src/hildon-window.c:
3369 Add more "since" tags to the new API in hildon 2.2.
3371 2008-12-05 Tim Janik <timj@imendio.com>
3373 Patch contributed by Christian Dywan (christian@imendio.com)
3375 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3376 HildonSizeType, which are supplied by Gtk+ now.
3378 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3380 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3381 (with maemo changes) instead)
3383 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3385 Patch contributed by Iván Gómez (igomez@igalia.com)
3387 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3390 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3392 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3393 (some_page_func), (main): Update the example to use a
3394 HildonWizardDialogPageFunc function.
3396 * src/hildon-wizard-dialog-private.h: Add private data for
3397 the HildonWizardDialogPageFunc function usage.
3399 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3400 (destroy), (hildon_wizard_dialog_init), (response),
3401 (hildon_wizard_dialog_set_forward_page_func):
3402 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3403 that applications can use to stop a HildonWizardDialog to jump to
3406 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3409 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3411 * src/hildon-program.h
3412 * src/hildon-program-private.h
3413 * src/hildon-program.c (hildon_program_init)
3414 (hildon_program_set_common_app_menu)
3415 (hildon_program_get_common_app_menu):
3416 New API for setting a common HildonAppMenu for all
3417 HildonStackableWindows registered with the HildonProgram.
3419 * src/hildon-stackable-window.c
3420 (hildon_stackable_window_toggle_menu):
3421 Use the common HildonAppMenu if a window doesn't have a specific
3424 * src/hildon-app-menu-private.h
3425 * src/hildon-app-menu.c
3426 (hildon_app_menu_get_parent_window):
3427 Function to obtain the window a HildonAppMenu is attached to.
3428 (hildon_app_menu_set_parent_window):
3429 Hide the menu if the parent window is set to NULL.
3431 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3433 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3434 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3435 search widget to popup.
3437 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3439 * configure.ac: post release version bump
3440 * debian/changelog: version bump
3442 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3447 * configure.ac: bump version
3448 * debian/changelog: updates
3450 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3452 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3454 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3455 (hildon_window_stack_window_realized)
3456 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3457 Set the leader GdkWindow when a window is stacked and realized,
3458 unset it when it's unstacked.
3459 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3461 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3463 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3465 * src/hildon-stackable-window.h
3466 * src/hildon-window-stack.h:
3467 Protect definition of HildonWindowStack using the preprocessor.
3469 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3471 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3472 Fix warning if all menu items are hidden.
3474 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3476 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3478 * src/hildon-controlbar.c:
3479 * src/hildon-hvolumebar.c:
3480 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3481 Multiple scale size defines updates.
3483 Fixes: NB#94322 (Scale Updates)
3485 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3487 * examples/hildon-app-menu-example.c (create_menu)
3488 Show items after adding them to the menu, as in the future the
3489 menu will no longer call gtk_widget_show() on the added items.
3491 * src/hildon-app-menu.c:
3492 Update example as explained above.
3494 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3496 * src/hildon-app-menu.c
3497 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3498 Make sure that all menu items have finger height.
3500 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3502 * src/hildon-picker-dialog.c:
3503 (_on_dialog_response), (_save_current_selection),
3504 (_restore_current_selection), (_clean_current_selection),
3505 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3506 Defined new functions in order to save the current internal selector
3507 selection previous open the dialog, in case that the use cancel the
3508 interaction, so the widget restores the previous selection.
3510 Fixes: NB#92032 (In calendar application, date values in 'new event'
3513 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3515 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3517 * src/hildon-button.c: Add a reference to the button examples in
3518 hildon-button-example.c
3520 * examples/hildon-button-example.c: Added examples of the most
3521 common button layouts.
3523 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3525 * src/hildon-app-menu.c (hildon_app_menu_show)
3526 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3528 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3530 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3532 * src/hildon-picker-dialog.c:
3533 (hildon_picker_dialog_init): Initialize the signal id for
3534 HildonTouchSelector::columns-changed.
3535 (+on_selector_columns_changed): Set up the interaction mode everytime a
3536 column is added or removed from the HildonTouchSelector.
3537 (_hildon_picker_dialog_set_selector): Connect to
3538 HildonTouchSelector::columns-changed and keep track of it.
3540 Make sure to update the interaction mode of the dialog everytime a
3541 column is added or removed in the HildonTouchSelector.
3543 Fixes: NB#93228 (Done button is not shown always in listpicker)
3545 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3547 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3548 a new ::columns-changed signal.
3549 (hildon_touch_selector_append_column): Emit ::columns-changed.
3550 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3552 Add a ::columns-changed signal, emitted when the number of columns in a
3553 HildonTouchSelector changes.
3555 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3557 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3558 (_hildon_picker_dialog_set_selector): Factor out the code
3559 to set up the dialog interaction mode.
3561 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3563 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3564 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3565 to signal_changed_id.
3567 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3569 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3572 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3574 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3575 Updated the logical ids related to ampm format, as now it is required to
3576 show it correctly localized even on languages with no default
3577 abbreviations for am or pm
3578 (_check_am_pm_format): check correctly the 24h format gconf property
3580 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3582 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3584 * src/hildon-button.c: Documentation updates.
3586 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3588 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3589 * src/hildon-caption.c: (hildon_caption_class_init):
3590 * src/hildon-color-button.c: (hildon_color_button_class_init):
3591 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3592 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3593 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3594 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3596 Remove deprecated GTK+ marshalers and replace them with the ones
3597 provided by GLib, for those available, add a marshaler for
3598 BOOLEAN:VOID, which is not available in GLib, and use it.
3600 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3602 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3603 the text from the previous column if there is no
3604 HildonTouchSelectorColumn::text-property set.
3606 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3608 * src/hildon-button.h
3609 * src/hildon-button.c (hildon_button_set_property)
3610 (hildon_button_get_property, hildon_button_class_init)
3611 (hildon_button_set_style, hildon_button_get_style):
3612 New "style" property to change the visual appearance of the
3615 * src/hildon-picker-button.c (hildon_picker_button_new):
3616 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3618 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3619 HildonButton look like PickerButton)
3621 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3623 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3624 column while building the default string.
3626 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3628 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3629 scroll indicator by default.
3631 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3633 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3635 * src/hildon-main.c: Fix the documentation for hildon_init()
3637 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3639 * doc/hildon-docs.sgml
3643 * src/hildon-window-stack-private.h
3644 * src/hildon-window-stack.h
3645 * src/hildon-window-stack.c:
3646 New HildonWindowStack object, that adds support for multiple
3647 stacks of windows per process.
3649 * src/hildon-stackable-window-private.h
3650 * src/hildon-stackable-window.h
3651 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3652 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3653 (hildon_stackable_window_show, hildon_stackable_window_hide)
3654 (hildon_stackable_window_class_init)
3655 (hildon_stackable_window_init):
3656 Use HildonWindowStack for stack management.
3658 * src/hildon-program.c (hildon_program_pop_window_stack)
3659 (hildon_program_peek_window_stack)
3660 (hildon_program_go_to_root_window):
3661 Add a fallback implementation to the deprecated functions using
3664 * examples/hildon-stackable-window-example.c:
3665 Use the new HildonWindowStack API.
3667 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3669 * src/hildon-stackable-window-private.h
3670 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3671 (hildon_stackable_window_hide, hildon_stackable_window_init):
3672 Remove all window stack management.
3674 * src/hildon-program-private.h
3675 * src/hildon-program.h
3676 * src/hildon-program.c (hildon_program_init)
3677 (hildon_program_pop_window_stack)
3678 (hildon_program_peek_window_stack)
3679 (hildon_program_go_to_root_window):
3680 Remove all window stack management and mark functions as
3683 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3685 * src/hildon-app-menu.c (hildon_app_menu_realize):
3686 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3688 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3690 * configure.ac: post release version bump
3691 * debian/changelog: version bump
3693 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3698 * configure.ac: bump version
3699 * debian/changelog: updates
3701 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3703 Based on initial code by Christian Dywan (christian@imendio.com)
3705 * doc/hildon-docs.sgml: Add section for hildon-main.
3706 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3707 * src/Makefile.am: Add new hildon-main.[ch]
3708 * src/hildon-defines.h: Update the icon sizes.
3709 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3710 new library initialization files and register icon sizes.
3711 * src/hildon-main.h: New declarations.
3712 * src/hildon.h: Include hildon-main.h
3714 Add new initialization functions to the library. These methods
3715 will register the hildon specific icon sizes and can be used in the
3716 future for other hildon specific bits.
3718 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3720 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3722 * src/hildon-window.c: (hildon_window_realize),
3723 (hildon_window_notify), (-hildon_window_update_title): Do not set
3724 the application name in the window title.
3726 Fixes: NB#89754 (Applications shouldn't display their names in the
3729 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3731 * src/hildon-note-private.h:
3732 * src/hildon-note.c: (hildon_note_set_property),
3733 (hildon_note_get_property), (hildon_note_class_init),
3734 (hildon_note_init), (hildon_note_finalize),
3735 (hildon_note_new_confirmation_with_icon_name),
3736 (hildon_note_new_information_with_icon_name):
3738 No need to mark as deprecated the actual code. Revert
3739 to avoid missing symbols in widgets using deprecated API.
3741 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3743 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3745 * src/hildon-volumebar.h
3746 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3747 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3749 * src/hildon-helper.h
3750 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3751 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3753 * examples/Makefile.am:
3754 Deprecate hildon-insensitive-example
3756 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3758 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3760 * examples/hildon-pannable-area-buttons-scroll-example.c:
3761 Make all buttons finger height
3763 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3765 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3767 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3768 update the day model only if it is really required, and to avoid the
3769 full-reconstruction aproach. Now it only add or remove the required days.
3771 The purpose of this is avoid superfluous HildonTouchSelector::changed
3774 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3775 with strange parameters)
3777 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3779 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3781 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3782 the WINDOW_TYPE property.
3784 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3786 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3789 Fix dependency to allow parallel compilation with make -jX
3791 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3793 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3794 color frame and some minor tweaks to make it more consistent with
3797 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3798 highlighted but not visible)
3800 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3802 * examples/Makefile.am: Fixed typo in the Makefile.am.
3804 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3806 Reviewed the use of MAEMO_GTK define, now we add the define in the
3807 compilation line, and we also add it to the pc file.
3809 * configure.ac: Added MAEMO_GTK define to the compilation command
3810 and removed it from the config.h.
3812 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3813 do not have to take care about this define if the library was
3817 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3819 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3821 * examples/Makefile.am,
3822 * examples/hildon-pannable-area-buttons-scroll-example.c,
3823 * examples/hildon-pannable-area-gesture-signals-example.c,
3824 * examples/hildon-pannable-area-scroll-jump-example.c,
3825 * examples/hildon-pannable-area-tree-view-example.c:
3826 Renamed the pannable area examples, now they have more meaningful
3829 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3831 * src/hildon-touch-selector.c:
3832 (hildon_touch_selector_set_column_selection_mode): Used of
3833 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3834 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3835 to avoid re-seting the same selection mode.
3837 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3838 breaks HildonPickerDialog)
3840 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3842 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3843 conditional in the Makefile.am
3845 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3847 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3848 Remove unused methods.
3850 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3852 * src/hildon-button.c (hildon_button_init):
3853 Make button images center-aligned by default
3855 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3858 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3859 activated, we have to think about how to deal with both defines
3860 MAEMO_GTK and MAEMO_CHANGES.
3862 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3864 * examples/hildon-app-menu-example.c (create_menu): Make all
3865 buttons finger size.
3867 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3869 Fixed the compilation without maemo gtk adding ifdefs with
3870 MAEMO_GTK define to the code, we have to check this version more
3873 * examples/Makefile.am: Added control to avoid some examples that
3874 just make sense with maemo gtk.
3877 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3878 hildon modes with the define.
3880 * examples/hildon-edit-toolbar-example.c,
3881 (create_icon_view): Create the icon view without hildon-gtk
3882 helpers if we are not using maemo gtk.
3884 * src/hildon-touch-selector.c,
3885 (_create_new_column): Create the treeview without hildon-gtk
3886 helpers if we are not using maemo gtk.
3888 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3890 * src/hildon-pnnable-area.c,
3891 (hildon_pannable_area_dispose),
3892 (hildon_pannable_area_button_press_cb),
3893 (hildon_pannable_area_child_mapped),
3894 (hildon_pannable_area_add),
3895 (hildon_pannable_area_remove): Added code to control the position
3896 of the event_window when adding and removing children from the
3897 pannable. We have to raise the event window when the child is
3900 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3901 selection mode using custom widget inside pannable)
3903 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3905 * configure.ac: post release version bump
3906 * debian/changelog: version bump
3908 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3913 * configure.ac: bump version
3914 * debian/changelog: updates
3916 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3918 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3919 search mode, in order to avoid lose the focus on the treeview when
3920 a hw key (like enter) is pressed.
3922 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3923 in HildonDateSelector dialog)
3925 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3927 * debian/rules: Added --enable-maintainer-mode
3928 * Makefile.am: Added ACLOCAL_AMFLAGS
3930 This allows to properly regenerate the Makefiles if you modify the
3931 configure.ac or any Makefile.am.
3933 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3935 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3936 properties, not needed at all.
3938 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3940 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3942 * src/hildon-note.c: (hildon_note_set_property),
3943 (hildon_note_get_property), (hildon_note_class_init),
3944 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3945 (hildon_note_new_confirmation_add_buttons): Remove icons.
3946 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3947 (hildon_note_new_information_with_icon_name): Deprecate.
3948 (hildon_note_new_confirmation): Act directly, without calling
3949 the deprecated constructor.
3950 (hildon_note_new_information): Act directly, without calling
3951 the deprecated constructor.
3952 * src/hildon-note.h: Mark deprecate methods as such.
3953 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3954 not run tests on the deprecated methods if built with deprecation
3957 Fixes: NB#91688 (Never show icons in information notes/confirmation
3960 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3962 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3963 (hildon_app_menu_key_press): Remove leftover usage of the
3964 private structure in HildonAppMenu struct.
3965 * src/hildon-app-menu.h: Remove leftover private structure
3966 from the HildonAppMenu struct.
3968 Fixes a crasher when using the HildonAppMenu.
3970 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3972 * src/hildon-picker-dialog.c: Use appropriate logical id
3973 for the default "Done" text.
3975 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3977 * configure.ac: post release version bump
3978 * debian/changelog: version bump
3980 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3982 Modified the way to scroll to the current selection just when the touch
3983 selector is shown on the screen, avoiding a g_idle. Added too a property
3984 to configure this behaviour. See hildon_pannable_area_jump_to_child
3985 documentation for more information.
3987 * src/hildon-touch-selector.c
3988 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3989 Added 'initial-scroll' property
3990 (hildon_touch_selector_set_property): Added
3991 (hildon_touch_selector_map): Removed as not required anymore
3992 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3993 only a concrete column, instead of iterate along all the columns
3995 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4000 * configure.ac: bump version
4001 * debian/changelog: updates
4003 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4005 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4006 compilation time warnings.
4008 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4010 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4011 the default value for HildonPannableArea::mov-mode to
4012 HILDON_PANNABLE_AREA_MODE_VERT.
4014 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4016 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4018 Reverting following commit:
4020 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4022 * src/hildon-app-menu-private.h
4023 * src/hildon-app-menu.[ch]
4024 * src/hildon-button.[ch]
4025 * src/hildon-check-button.[ch]
4026 * src/hildon-entry.[ch]
4027 * src/hildon-pannable-area.[ch]
4028 * src/hildon-text-view.[ch]:
4029 Added private field to the object's structure.
4031 because it causes an ABI breakage. We will need to introduce these
4032 changes later at some point. See NB#91636 for an extensive
4033 explanation and status.
4035 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4037 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4039 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4040 remove special cases that are no longer necessary.
4042 Fixes: NB#91016 (Change toolbar sizes, simplification)
4044 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4046 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4047 is shown in the cancel note.
4049 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4051 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4052 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4053 (hildon_seekbar_init): Remove steppers, remove expose event.
4054 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4056 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4058 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4060 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4061 label font to "SmallSystemFont" for vertically arranged buttons.
4063 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4066 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4068 * src/hildon-check-button.c
4069 (hildon_check_button_set_active, hildon_check_button_clicked):
4070 Don't access private parts directly, use getters instead.
4072 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4074 * src/hildon-check-button.c (hildon_check_button_new):
4075 Align the contents of the check button to the left.
4077 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4079 * src/hildon-pannable-area.c,
4080 (hildon_pannable_area_scroll_to),
4081 (hildon_pannable_area_jump_to),
4082 (hildon_pannable_area_scroll_to_child),
4083 (hildon_pannable_area_jump_to_child): Replace the mapped
4084 precondition of these functions with the realized, it is the
4085 correct state of the widget in this case. Changed the
4086 documentation according to this modification.
4088 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4090 Added a new EXTRA_CFLAGS option to add the deprecated define to
4091 the compilation command. This way we can avoid using the define in
4092 the documentation compilation.
4094 * configure.ac: Defined EXTRA_CFLAGS.
4096 * examples/Makefile.am:
4098 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4100 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4102 * src/hildon-picker-dialog.c:
4103 Defined a utility macro with the desired touch selector height
4104 Removed currently unused separator, and title_label variables from
4106 (hildon_picker_dialog_init): Removed code related to the creation
4107 of unused private variables title_label and separator.
4108 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4109 to ensure correct visualization of the touch selector inside the dialog.
4110 * src/hildon-touch-selector.c
4111 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4112 ensure a concrete height of the widget.
4114 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4117 * tests/Makefile.am:
4119 Remove spurious whitespaces.
4121 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4123 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4124 compilation warning after the cancel button removal.
4126 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4128 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4130 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4131 Makefile.am, that way we can choose not to compile some examples
4132 and tests of the deprecated widgets.
4134 * examples/Makefile.am: Divided the sources in deprecated and
4137 * src/Makefile.am: Added undef statement of the deprecated
4138 symbol to the enums file generation process.
4140 * src/hildon-color-chooser-dialog.c
4141 * src/hildon-color-chooser-dialog.h
4142 * src/hildon-color-button.c
4143 * src/hildon-color-button.h
4144 * src/hildon-color-chooser.c
4145 * src/hildon-color-chooser.h
4146 * src/hildon-controlbar.c
4147 * src/hildon-controlbar.h
4148 * src/hildon-date-editor.c
4149 * src/hildon-date-editor.h
4150 * src/hildon-hvolumebar.c
4151 * src/hildon-hvolumebar.h
4152 * src/hildon-private.c
4153 * src/hildon-private.h
4154 * src/hildon-range-editor.c
4155 * src/hildon-range-editor.h
4156 * src/hildon-seekbar.c
4157 * src/hildon-seekbar.h
4158 * src/hildon-time-editor.c
4159 * src/hildon-time-editor.h
4160 * src/hildon-time-picker.c
4161 * src/hildon-time-picker.h
4162 * src/hildon-volumebar.c
4163 * src/hildon-volumebar.h
4164 * src/hildon-vvolumebar.c
4165 * src/hildon-vvolumebar.h
4166 * src/hildon-bread-crumb-trail.h
4167 * src/hildon-bread-crumb-trail.c
4168 * src/hildon-calendar-popup.c
4169 * src/hildon-calendar-popup.h
4170 * src/hildon-weekday-picker.c:
4171 * src/hildon-weekday-picker.h:
4172 * src/hildon-bread-crumb-widget.c:
4173 * src/hildon-bread-crumb-widget.h:
4174 * src/hildon-bread-crumb.c:
4175 * src/hildon-bread-crumb.h:
4176 * src/hildon-calendar.c:
4177 * src/hildon-calendar.h:
4178 * src/hildon-caption.c:
4179 * src/hildon-code-dialog.c:
4180 * src/hildon-code-dialog.h:
4181 * src/hildon-font-selection-dialog.c:
4182 * src/hildon-font-selection-dialog.h:
4183 * src/hildon-get-password-dialog.c:
4184 * src/hildon-get-password-dialog.h:
4185 * src/hildon-login-dialog.c:
4186 * src/hildon-login-dialog.h:
4187 * src/hildon-number-editor.c:
4188 * src/hildon-number-editor.h:
4189 * src/hildon-set-password-dialog.c:
4190 * src/hildon-set-password-dialog.h:
4191 * src/hildon-sort-dialog.c:
4192 * src/hildon-sort-dialog.h: This is the list of deprecated
4195 * src/hildon-touch-selector.c:
4196 * src/hildon-window.c: Added undef statement to avoid compilation
4199 * tests/Makefile.am: Divided the sources in deprecated and
4202 * tests/check_test.c,
4203 (configure_tests): Marked the deprecated code that was adding
4204 suites with deprecated tests.
4206 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4208 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4210 * src/hildon-touch-selector.c: (_default_print_func): Do not
4211 duplicate a string returned by gtk_tree_model_get(), it is already
4214 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4217 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4219 * src/hildon-pannable-area.c
4220 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4221 method, it had problems when adding a widget with viewport the
4222 second time. Now checks if it already has a viewport and uses it.
4224 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4227 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4229 * src/hildon-pannable-area.c,
4230 (hildon_pannable_area_scroll_to),
4231 (hildon_pannable_area_jump_to),
4232 (hildon_pannable_area_scroll_to_child),
4233 (hildon_pannable_area_jump_to_child): Added a precondition to the
4234 scroll and jump to functions: the widget must be mapped before we
4235 can safely call these functions. We have also added documentation
4236 to the functions to explain how to use them in this situation.
4239 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4241 Reviewed the threading handling of the pannable widget, we have
4242 used the gdk_threads_add_timeout function instead of the usual
4243 glib handlers. This avoids some problems with the threads.
4245 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4246 (hildon_pannable_area_initial_effect),
4247 (hildon_pannable_area_scroll_indicator_fade),
4248 (hildon_pannable_area_button_press_cb),
4249 (hildon_pannable_area_timeout),
4250 (hildon_pannable_area_motion_notify_cb),
4251 (hildon_pannable_area_button_release_cb),
4252 (hildon_pannable_area_scroll_cb),
4253 (hildon_pannable_area_scroll_to): Removed the
4254 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4255 gdk_threads_add_timeout.
4257 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4259 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4264 * configure.ac: bump version
4265 * debian/changelog: updates
4267 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4269 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4270 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4271 * src/hildon-color-chooser-dialog.c:
4272 (hildon_color_chooser_dialog_init):
4273 * src/hildon-font-selection-dialog.c:
4274 (hildon_font_selection_dialog_init):
4275 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4277 Remove all cancel/close-like dialogs, as these are not going to be
4280 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4282 * src/hildon-note.c: (hildon_note_rebuild),
4283 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4286 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4288 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4290 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4291 sure all buttons are shown, even the Cancel/Close-like ones.
4293 Fixes: NB#90861 (Custom Confirmation dialogs should be
4294 protected from cancel button removal)
4296 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4298 * debian/control: Change libhildon1-examples dependency from libhildon1
4300 * debian/libhildon1-examples.install
4302 * Makefile.am: Modified the final install directory for the examples on
4303 package libhildon1-examples
4304 * Makefile.static: Update clean target in order to remove all the binary
4307 Changes suggested by Claudio after review new libhildon1-examples package
4309 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4311 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4312 * src/hildon-touch-selector.c: Ditto.
4314 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4316 * debian/control: Added new package libhildon1-examples, in order to pack
4317 the current hildon examples as documentation
4318 * debian/rules: Not to compress .c files, modify some includes on the
4319 examples (as normally are compiled locally, but when installed it will
4320 require to include the installed libhildon1 library), and rename
4322 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4323 install all the example files on the new example package
4324 * examples/Makefile.static: Added static makefile that can be used to
4325 compile the examples, once installed the new example package
4326 * examples: Most of the examples were modified in order to grant that
4327 all use only '#include "hildon.h"', in order to be easy to prepare
4328 it on the example package
4330 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4333 * debian/libhildon1-dev.install
4334 * debian/libhildon1-doc.install:
4335 Move all gtk-doc files to a separate libhildon1-doc package.
4337 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4339 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4341 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4343 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4345 * debian/rules: Fixed a error in order to avoid unnecessary calls
4346 to autogen.sh on package building
4348 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4350 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4352 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4354 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4357 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4359 * src/hildon-picker-button.c
4360 (hildon_picker_button_finalize):
4361 Free priv->done_button_text
4363 * src/hildon-time-button.c
4364 (hildon_time_button_set_time)
4365 * src/hildon-picker-button.c
4366 (hildon_picker_button_clicked)
4367 (hildon_picker_button_selector_selection_changed)
4368 (hildon_picker_button_set_selector)
4369 * src/hildon-date-button.c
4370 (hildon_date_button_set_date):
4371 Free strings returned by hildon_touch_selector_get_current_text()
4373 * src/hildon-button.c (hildon_button_construct_child):
4374 Fix leaks in priv->image and priv->label_box
4376 Fixes: NB#90535 (Memory leak in picker button)
4378 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4380 * src/hildon-button.c: (hildon_button_get_property): Do not access
4381 private elements directly, use getters instead.
4383 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4385 * src/hildon-app-menu-private.h
4386 * src/hildon-app-menu.c
4387 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4388 Store the menu's parent window.
4390 * src/hildon-stackable-window.c
4391 (hildon_stackable_window_toggle_menu)
4392 (hildon_stackable_window_finalize):
4393 Set the menu's parent window when the menu is shown, unset it when
4396 * src/hildon-app-menu.c
4397 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4398 (hildon_app_menu_class_init):
4399 Send unhandled keyboard accelerators to the parent window.
4401 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4403 * src/hildon-stackable-window.c
4404 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4406 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4408 * configure.ac: post release version bump
4410 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4413 * configure.ac: Bump version
4414 * debian/changelog: Updates
4415 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4418 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4420 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4423 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4424 GtkMenu with Hildon style.
4426 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4428 * src/hildon-picker-button.c:
4429 (hildon_picker_button_set_done_button_text): Set the dialog's
4430 done button text here as well.
4432 Fixes: NB#90232 (Picker button does not set the label on done button
4433 for the second time)
4435 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4437 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4440 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4442 * src/hildon-app-menu.c (hildon_app_menu_insert)
4443 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4444 the HildonAppMenu to be activatable using keyboard accelerators
4445 when the menu is not being shown.
4447 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4449 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4451 * src/hildon-stackable-window.c
4452 (hildon_stackable_window_show):
4453 Don't hide old windows automatically when new windows are shown:
4454 this is now a task for the window manager.
4455 (hildon_stackable_window_class_init)
4456 (hildon_stackable_window_hide):
4457 Remove windows from the stack everytime they're hidden.
4458 (hildon_stackable_window_realize):
4459 Don't change the _NET_WM_WINDOW_TYPE property. Use
4460 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4461 it as a stackable window.
4463 * src/hildon-program.c
4464 (hildon_program_pop_window_stack):
4465 Just hide the window to remove it from the stack.
4466 (hildon_program_go_to_root_window):
4467 Don't call gtk_widget_show(), this is now a task for the window
4470 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4472 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4474 * src/hildon-button.c
4475 (hildon_button_construct_child):
4476 Don't pack anything in the button until text or image are
4477 set. This allows adding a custom child after creating the button
4478 with hildon_button_new().
4479 (hildon_button_finalize, hildon_button_class_init)
4480 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4481 alignment and the label box even when they're not packed in the
4484 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4486 * src/hildon-touch-selector.h:
4487 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4488 currently the type definition was using GTK_TYPE_VBOX
4489 * src/hildon-touch-selector.c:
4490 Added some implementation notes in order to clarify that any other widget
4491 added without the column related API will not be included on the
4492 selection logic, and how the widget is freed, as some people ask about
4494 (hildon_touch_selector_remove): Reimplemented in order to free properly
4495 the column related data when you remove the private hbox.
4496 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4497 to get a proper HildonTouchSelectorColumn documentation
4499 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4501 * src/hildon-touch-selector-entry.c:
4502 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4503 text in the GtkEntry and there is no item selected. Fixes a
4506 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4508 * src/hildon-app-menu-private.h
4509 * src/hildon-app-menu.[ch]
4510 * src/hildon-button.[ch]
4511 * src/hildon-check-button.[ch]
4512 * src/hildon-entry.[ch]
4513 * src/hildon-pannable-area.[ch]
4514 * src/hildon-text-view.[ch]:
4515 Added private field to the object's structure.
4517 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4519 * configure.ac: post-release version bump
4521 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4525 * configure.ac: pre-release version bump
4527 * debian/changelog: updates.
4529 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4531 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4532 Disconnect the handler for HildonTouchSelector::changed.
4534 (hildon_picker_button_selector_selection_changed): Update the button
4535 value if the selection change was not triggered by the
4538 (hildon_picker_button_set_selector): connect to
4539 HildonTouchSelector::changed.
4541 Fixes: NB#89650 (Picker button is not updated, when selection in
4542 selector has changed)
4544 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4546 * src/hildon-picker-dialog.c
4547 (hildon_picker_dialog_realize): Removed as not required
4548 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4549 * src/hildon-picker-button.c
4550 (_current_selector_empty): New function, checks if the selector is empty
4551 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4552 if the current selector is empty, in order to avoid to show the dialog
4553 close the dialog in this case (and shows a g_warning).
4555 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4557 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4559 * src/hildon-pannable-area.c,
4560 (hildon_pannable_area_scroll): Added clause to stop movement when
4561 the child of pannable is smaller than one page.
4562 (hildon_pannable_area_scroll_to): Added conditions to avoid
4563 starting the scrolling movement if the child is smaller than one
4564 page, the complete child is in the screen, we do not have to move.
4566 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4568 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4570 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4571 this is managed automatically by the widget when the size of the
4574 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4576 * src/hildon-picker-button.c
4577 (hildon_picker_button_set_done_button_text): Make a copy of the
4578 text, and free the previous value.
4580 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4582 * src/hildon-touch-selector-entry.c:
4583 (hildon_touch_selector_entry_print_func): Return the selected row's
4584 text if the entry is empty.
4586 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4589 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4591 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4593 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4596 * src/hildon-check-button.h
4597 * src/hildon-check-button.c
4598 * examples/hildon-check-button-example.c:
4599 HildonCheckButton is now a new widget. 'toggled' signal added.
4601 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4603 * src/hildon-program-private.h
4604 * src/hildon-program.c (hildon_program_init)
4605 (hildon_program_finalize): Removed unused variables group_leader
4606 and name from HildonProgramPrivate.
4608 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4610 * src/hildon-check-button.c (hildon_check_button_set_active)
4611 (hildon_check_button_get_active, hildon_check_button_new): Use
4612 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4614 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4616 * src/hildon-touch-selector.h
4617 (hildon_touch_selector_set_column_attributes): added deprecation
4618 guard HILDON_DISABLE_DEPRECATED
4619 * src/hildon-time-selector.c
4620 (hildon_time_selector_set_time)
4621 (hildon_time_selector_get_time): Fixed a typo on documentation
4622 * src/hildon-touch-selector.c: update HildonTouchSelector and
4623 HildonTouchSelectorColumn documentation
4624 * src/hildon-touch-selector-entry.c: update "text-column" property
4626 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4627 to be added to the general documentation.
4629 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4631 * examples/hildon-pannable-area-example-4.c,
4633 * examples/hildon-pannable-area-example.c,
4634 (main): Modified the code in order to use the container add, with
4635 viewport treeviews could have problems if they are really big.
4637 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4639 * src/hildon-weekday-picker.c,
4640 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4641 the agreement regarding deprecation in the library.
4643 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4645 * examples/hildon-picker-button-multicolumn-example.c:
4646 (main): Use custom "done" button text.
4648 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4649 (hildon_picker_button_set_property),
4650 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4651 (hildon_picker_button_init),
4652 (+hildon_picker_button_get_done_button_text),
4653 (+hildon_picker_button_set_done_button_text): New methods to customize
4654 the "done" button label in the launched HildonPickerDialog. Also,
4657 * src/hildon-picker-button.h: add the public API.
4659 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4661 * src/hildon-date-selector.h:
4662 * src/hildon-picker-dialog.h:
4663 * src/hildon-time-selector.h:
4664 * src/hildon-touch-selector-column.h:
4665 * src/hildon-touch-selector.h:
4667 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4668 declarations. Fixes gtk-doc warnings.
4670 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4672 * src/hildon-picker-dialog.h
4673 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4674 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4676 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4677 long text is set as label for done button)
4679 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4681 * src/hildon-dialog.c (hildon_dialog_add_button):
4682 Set fixed width to all buttons in the HildonDialog.
4684 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4686 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4688 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4689 Set widget name using class name plus "-finger" or "-thumb".
4691 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4693 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4694 'clicked' when the state of the button is manually changed.
4696 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4698 * src/hildon-app-menu.c (hildon_app_menu_realize)
4699 (hildon_app_menu_unrealize, hildon_app_menu_init)
4700 (hildon_app_menu_class_init, item_visibility_changed):
4701 Change the menu layout when the size of the screen changes.
4702 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4703 Show warning only when changing the number of colums using the
4706 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4708 * debian/compat: Set to 5
4709 * debian/control: Update dependencies.
4710 * debian/libhildon1-dbg.install: Remove.
4711 * debian/libhildon1-dev.install: Update according to cdbs paths.
4712 * debian/libhildon1.install: Update according to cdbs paths.
4713 * debian/rules: Switch to cdbs.
4715 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4717 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4718 'item' variable renamed to 'filter'
4720 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4722 * src/hildon-app-menu.c (hildon_app_menu_insert)
4723 (hildon_app_menu_add_filter, remove_item_from_list)
4724 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4725 Don't leak hidden items when the menu is destroyed.
4727 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4729 * src/hildon-app-menu.c (hildon_app_menu_insert)
4730 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4731 (hildon_app_menu_set_columns, item_visibility_changed)
4732 (filter_visibility_changed, hildon_app_menu_repack_filters)
4733 (hildon_app_menu_repack_items):
4734 Repack items and filters separately.
4736 Don't repack all items, change only the ones that are needed to
4739 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4741 * src/Makefile.am: added hildon-touch-selector-column.h
4743 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4745 * src/hildon-touch-selector.c: added the property "text-column" to the
4746 class HildonTouchSelectorColumn, and related get/set functions
4747 (_default_printf_func): updated to use "text-column" property
4748 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4749 "text-column" in his documentation, as this is now included on
4750 HildonTouchSelectorColumn. The get/set_property can still be used,
4751 working as a wrapper to the concrete column "text-column" property
4752 (_text_column_modified): callback added in order to handle the signal
4753 "notify::text-column" of the concrete HildonTouchSelectorColumn
4754 (hildon_touch_selector_entry_get_text_column)
4755 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4756 modified in order to use the HildonTouchSelectorColumn "text-column"
4758 * src/hildon-time-selector.c:
4759 * src/hildon-date-selector.c:
4760 * examples/hildon-touch-selector-example.c
4761 * examples/hildon-touch-selector-multi-cells-example.c
4762 * examples/hildon-picker-button-multicolumn-example.c
4763 Set the right value to "text-column" property on the creation of a new
4764 column using hildon_touch_selector_append_column()
4766 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4768 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4770 * src/hildon-app-menu.c
4771 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4772 updating the layout of the menu, don't create all widgets again,
4773 just repack the items in their new places.
4775 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4777 * src/hildon-time-selector.c
4778 (hildon_time_selector_get_time)
4779 (hildon_time_selector_set_time)
4780 Added documentation of these public methods
4782 * src/hildon-date-button.h
4783 * src/hildon-touch-selector-column.h
4784 * src/hildon-time-button.h
4785 * src/hildon-picker-dialog.h
4786 * src/hildon-time-selector.h
4787 * src/hildon-picker-button.h
4788 * src/hildon-touch-selector.h
4789 * src/hildon-time-picker.h
4790 * src/hildon-date-selector.h
4791 * src/hildon-touch-selector-entry.h
4792 Modified in order to use hildon-widgets code style
4794 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4796 Added deprecated support to the compilation process using
4797 HILDON_DISABLE_DEPRECATED
4799 * configure.ac: Added the --disable-deprecated to the configure
4802 * src/hildon-weekday-picker.c:
4803 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4804 to use the deprecated support. We will update the other deprecated
4805 widgets status in a new patch.
4807 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4809 * configure.ac: Fixed typo with fatal warnings support, the
4810 variable name was not correct
4812 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4814 * src/hildon-app-menu.c
4815 * src/hildon-program.c: Update documentation.
4817 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4819 * configure.ac: Post-release version bump.
4821 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4826 * configure.ac: Pre-release version bump.
4827 * debian/changelog: Updates.
4829 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4831 * NEWS: Update news for previous releases.
4833 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4835 * examples/hildon-touch-selector-multi-cells-example.c:
4836 (create_selector): Update the example to use
4837 hildon_touch_selector_append_column() with a NULL renderer and set
4838 the renderers later.
4839 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4840 passed a NULL renderer. This is documented behavior now.
4842 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4843 This must be used if the developer wants full control on the layout of
4844 the renderers to be added to the column.
4846 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4848 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4850 * src/hildon-touch-selector.c: Documentation fixes.
4852 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4854 * src/hildon-wizard-dialog-private.h: Remove image and box.
4855 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4856 (hildon_wizard_dialog_set_property), (response): Completely remove
4857 image/icon support, and the containers required for the layout.
4859 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4861 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4863 * src/hildon-app-menu.c: Updated documentation.
4865 * src/hildon-stackable-window.c
4866 (hildon_stackable_window_set_main_menu): Unref the old menu after
4867 ref'ing the new one.
4869 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4871 * src/hildon-stackable-window.c
4872 (hildon_stackable_window_set_main_menu): Unref the previous menu
4873 instead of destroying it.
4875 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4876 floating reference and set has_user_ref_count to FALSE to make
4877 HildonAppMenu act like a normal ref-counted widget and not a
4880 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4883 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4885 * src/hildon-touch-selector-column.h: new file
4886 * src/hildon-touch-selector.h
4887 * src/hildon-touch-selector.c
4888 Implemented GtkCellLayout interface, in order to allow to configure
4889 the cell layout on each individual selector column
4890 (hildon_touch_selector_set_column_attributes): marked as deprecated
4891 * examples/hildon-touch-selector-multi-cells-example.c
4892 Example of how to use the GtkCellLayout interface on the selector
4894 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4896 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4898 * src/hildon-app-menu.h
4899 * src/hildon-app-menu.c
4900 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4901 (hildon_app_menu_append, hildon_app_menu_prepend):
4902 New methods to prepend, insert and move items in the menu.
4904 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4906 * src/hildon-wizard-dialog.c:
4908 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4910 (create_title): Update logical IDs and related code.
4911 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4913 * src/hildon-wizard-dialog.h: Note that
4914 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4915 point, as it is not used anymore.
4917 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4919 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4921 * src/hildon-note.c:
4922 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4923 shown. Do not display an icon in confirmation notes nor information
4925 (hildon_note_set_button_text): Update logical ID for cancel button.
4927 Fixes: NB#88850 (Update HildonNote button strings + signals)
4929 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4931 * src/hildon-stackable-window.c
4932 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4934 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4936 * src/hildon-app-menu-private.h
4937 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4938 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4939 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4940 temporary property 'columns' to change the number of columns.
4942 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4944 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4946 * examples/hildon-note-example.c: (on_information_clicked),
4947 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4948 debugging information.
4949 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4951 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4952 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4953 in order to close: this will be handled by the WM from now on.
4955 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4957 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4959 * src/hildon-app-menu-private.h
4960 * src/hildon-app-menu.c
4961 (hildon_app_menu_append, hildon_app_menu_add_filter)
4962 (button_visibility_changed, hildon_app_menu_apply_style)
4963 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4964 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4965 layout everytime a button (item or filter) is shown or hidden.
4967 * src/hildon-stackable-window.c
4968 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4971 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4973 * src/hildon-touch-selector.c:
4974 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4975 that the treeview inside the touch selector is in fremantle hildon mode
4976 * examples/hildon-date-button-example.c
4977 * examples/hildon-picker-button-multicolumn-example.c
4978 * examples/hildon-touch-selector-entry-example.c
4979 * examples/hildon-touch-selector-example.c
4980 * examples/hildon-time-button-example.c
4981 * examples/hildon-picker-button-example.c:
4982 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4984 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4986 * examples/hildon-text-view-example.c: (main): Remove the
4987 gtkrc bits, now handled by the theme.
4989 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4991 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4994 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4996 * po/Makefile.am: Install properly the mo files.
4997 * po/en_GB.po: Update translation, to ease testing purposes.
4999 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5001 * examples/hildon-picker-button-example.c: (main): Select an item
5002 in the selector before setting it to the button.
5004 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5006 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5007 Update button's value if the selector has an item active.
5009 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5010 'value' with the selector)
5012 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5014 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5015 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5016 (hildon_picker_button_class_init): Plug the finalize method.
5017 (hildon_picker_button_set_selector): If there's a previously set
5018 selector, unref'it before setting a new one.
5020 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5021 HildonTouchSelector)
5023 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5025 * src/hildon-touch-selector-entry.c:
5026 (hildon_touch_selector_entry_changed): Check if there is no text
5027 selected before setting the entry text.
5030 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5032 * src/hildon-touch-selector.h
5033 * src/hildon-touch-selector.c
5034 (hildon_touch_selector_get_active)
5035 (hildon_touch_selector_set_active): New methods to set/get the
5036 index of the selected item.
5038 * src/hildon-picker-button.h
5039 * src/hildon-picker-button.c
5040 (hildon_picker_button_get_active)
5041 (hildon_picker_button_set_active): New methods to set/get the
5042 index of the selected item.
5044 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5046 * configure.ac: post-release version bump.
5048 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5052 * configure.ac: Pre-release version bump.
5053 * debian/changelog: Updates.
5054 * debian/control: Add myself as maintainer and depend on l10n
5057 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5059 * src/hildon-window.c
5060 (hildon_window_set_main_menu)
5061 * src/hildon-stackable-window.c
5062 (hildon_stackable_window_set_main_menu):
5063 Updated documentation.
5065 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5067 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5068 Don't free selector->priv manually.
5071 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5074 (hildon_gtk_window_set_progress_indicator):
5075 * src/hildon-gtk.h: Added the new API
5076 hildon_gtk_window_set_progress_indicator, it changes the state of
5077 the window progress hint.
5079 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5081 * src/hildon-button.c
5082 * src/hildon-stackable-window.c: Minor documentation updates.
5084 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5086 * src/hildon-stackable-window.c: Updated documentation.
5088 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5090 * src/hildon-defines.h: Update margins definitions
5091 to the Fremantle sizes.
5094 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5096 * src/hildon-touch-selector.c,
5097 (_hildon_touch_selector_set_model): Cleaning the code after
5098 review, removed g_print and #if 0 from the code.
5100 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5102 * src/hildon-edit-toolbar.c: Update documentation.
5104 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5106 * src/hildon-check-button.h
5107 * src/hildon-check-button.c
5108 (hildon_check_button_set_label, hildon_check_button_get_label)
5109 * examples/hildon-check-button-example.c
5110 (button_clicked_cb):
5111 Removed deprecated methods.
5113 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5115 * src/hildon-text-view.c:
5116 Add sample code to the documentation.
5118 * src/hildon-entry.h
5119 * src/hildon-text-view.h:
5120 Minor cosmetic changes.
5122 * src/hildon-entry.c:
5123 Add sample code to the documentation.
5124 (hildon_entry_init, hildon_entry_refresh_contents):
5125 Don't allow NULL values in the placeholder.
5127 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5129 * doc/hildon-docs.sgml
5131 * examples/Makefile.am
5132 * examples/hildon-text-view-example.c
5134 * src/hildon-text-view.c
5135 * src/hildon-text-view.h
5137 New HildonTextView widget, with example.
5139 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5141 * po/POTFILES.in: Add missing files with translatable strings.
5142 Partially fixes NB#88287.
5144 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5146 * examples/hildon-pannable-area-example-2.c: (main): No need to
5147 set the cellrenderer height inside hildon touch lists, the theme does
5150 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5152 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5153 they are integrated in the theme.
5155 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5157 * examples/hildon-entry-example.c: Update the example adding
5158 widgets to modify the text and the placeholder of the HildonEntry.
5160 * src/hildon-entry.c: Show the placeholder everytime the widget
5161 is empty and loses the focus.
5163 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5165 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5167 * src/hildon-pannable-area.c,
5168 (hildon_pannable_area_size_request): Fixed bug in height
5169 requisition, avoid increasing size and add border twice.
5171 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5173 * configure.ac: postrelease version bump.
5175 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5179 * configure.ac: Prerelease version bump.
5180 * debian/changelog: update.
5181 * debian/rules: make -dbg package contain useful debugging symbols.
5183 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5185 * src/hildon-dialog.h
5186 * src/hildon-dialog.c
5187 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5188 New methods to add buttons with finger size.
5189 (hildon_dialog_new_with_buttons):
5190 Create buttons with finger size.
5192 * examples/hildon-dialog-example.c (main): Use HildonDialog
5193 methods to add buttons.
5195 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5197 * src/hildon-entry.c: Updated HildonButton documentation.
5199 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5201 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5202 button value label with (FALSE, FALSE) to prevent NB#88126 from
5205 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5207 * examples/hildon-pannable-area-example.c,
5208 (main): Removed examples panning a vbox inside a pannable
5209 area. Check bug NB#87965
5211 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5213 Patch contributed by Kris Rietveld (kris@imendio.com)
5215 * src/hildon-pannable-area.c,
5216 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5217 get_size and get_position, this saves an X server roundtrip.
5219 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5221 * doc/hildon-docs.sgml
5223 * examples/Makefile.am
5224 * examples/hildon-entry-example.c
5226 * src/hildon-entry.c
5227 * src/hildon-entry.h
5229 New HildonEntry widget, with example.
5231 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5233 * src/hildon-button.c (hildon_button_construct_child): Pack the
5234 image with expand == fill == FALSE. This is a workaround for a bug
5237 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5239 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5240 labels for the text column, to make it more look more dynamic.
5242 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5244 * src/hildon-time-selector.c
5245 Define gettext auxiliar macro N_
5246 (_create_minutes_model)
5247 (_create_hours_model)
5248 (_create_ampm_model): use of strftime in order to fill the model
5249 * src/hildon-date-selector.c
5250 (hildon_date_selector_finalize):
5251 (_locales_init): remove the logic related to get the name of the months
5252 using nl_langinfo, as it is not required anymore
5254 (_create_year_model)
5255 (_create_month_model)
5256 (_update_day_model): use of strftime in order to fill the model properly
5259 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5261 * src/hildon-button.h
5262 * src/hildon-button.c (hildon_button_get_image): New method to
5265 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5267 * src/hildon-touch-selector.c:
5268 (hildon_touch_selector_remove_column): Remove from the correct parent
5269 and also remove the list element and free it.
5272 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5274 * src/hildon-time-selector.c
5275 (_create_hours_model): change the range on 12h ampm format in order to use
5276 a 12-11 range instead of previous 01-12 range
5277 (hildon_time_selector_set_time): change the way to select the current time
5278 on 12h ampm format, due the change on the range
5279 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5282 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5284 * src/hildon-touch-selector.c
5285 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5286 in order to allow use this function on multiple row selection mode if
5287 the column is different that the first one
5290 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5292 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5293 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5295 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5297 * src/hildon-date-selector.h: clean some comments, now on the .c
5298 * src/hildon-date-selector.c
5299 (hildon_date_selector_select_month): first implementation
5300 (hildon_date_selector_select_day): added documentation, reimplemented
5301 using hildon_date_selector_select_current_date to avoid repeat code
5304 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5306 Reviewed interaction logic based on device experiences, refactored
5309 * src/hildon-pannable-area.c,
5310 (hildon_pannable_area_class_init): Updated default vmax speed.
5311 (hildon_pannable_area_calculate_velocity): Added this function, it
5312 avoids duplicate valocity calculation. Adjusted calculation to
5313 avoid problems with zero dist events.
5315 (hildon_pannable_area_motion_notify_cb): Now we use the
5316 calculate_velocity function.
5318 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5320 * src/hildon-date-selector.c
5321 (hildon_date_selector_select_current_date): fix the day range check
5322 as it failed using the last day of the current month
5325 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5327 * src/hildon-touch-selector.c
5328 (hildon_touch_selector_get_num_columns): added a parameter validation
5331 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5333 * examples/Makefile.am
5334 * examples/hildon-edit-toolbar-example.c: Example of the
5335 HildonEditToolbar widget.
5337 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5339 * configure.ac: postrelease version bump.
5341 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5345 * configure.ac: prerelease version bump.
5346 * debian/changelog: update.
5348 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5350 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5351 renderer to display stock icons in the touch list. Also, set the sizes
5352 to the recommended in the style guide.
5354 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5355 * src/hildon-touch-selector.h
5356 (hildon_touch_selector_set_active_iter): renamed, now is
5357 hildon_touch_selector_select_iter
5358 (hildon_touch_selector_get_active_iter): renamed, now is
5359 hildon_touch_selector_get_selected
5360 (hildon_touch_selector_unselect_iter): added
5361 * src/hildon-touch-selector.c
5362 Update after API modification (methods renamed)
5363 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5364 order to avoid problems selecting multiple elements on the column
5365 (hildon_touch_selector_unselect_iter): added the implementation
5366 * src/hildon-time-selector.c
5367 * src/hildon-date-selector.c
5368 * src/hildon-touch-selector-entry.c
5369 Update methods calls after hildon-touch-selector.h API modification (methods
5372 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5374 * src/hildon-stackable-window.c
5375 (hildon_stackable_window_finalize): Call the parent class's finalize.
5377 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5379 * examples/hildon-touch-selector-example.c: (create_selector): Use
5380 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5383 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5385 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5386 set a cell background color, to respect theming.
5388 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5390 * doc/hildon-docs.sgml
5393 * src/hildon-edit-toolbar.c
5394 * src/hildon-edit-toolbar.h
5395 * src/hildon.h: New HildonEditToolbar widget.
5397 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5399 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5402 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5403 * src/hildon-touch-selector.c
5404 (_create_new_column): use g_object_set instead of two g_object_set_property
5406 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5407 * src/hildon-touch-selector.c
5408 (_create_new_column): use of hildon_gtk_tree_view_new to create
5409 the treeview, instead of use directly g_object_new
5410 (_create_new_column): update the property name "vindicator-mode" for the
5411 new one "vscrollbar-policy"
5412 * examples/hildon-date-button-example.c
5413 * examples/hildon-picker-button-multicolumn-example.c
5414 * examples/hildon-touch-selector-entry-example.c
5415 * examples/hildon-touch-selector-example.c
5416 * examples/hildon-time-button-example.c
5417 * examples/hildon-picker-button-example.c
5418 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5419 to all the treeviews inside a pannable area.
5421 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5423 * src/hildon-button.h
5424 * src/hildon-button.c (hildon_button_init)
5425 (hildon_button_set_arrangement, hildon_button_set_alignment)
5426 (hildon_button_set_title_alignment)
5427 (hildon_button_set_value_alignment)
5428 (hildon_button_set_image_alignment)
5429 (hildon_button_construct_child): New methods to set the alignment
5430 of the individual components of the button (title, value,
5431 image). Also, new method to alter the xscale and yscale properties
5432 of the GtkAlignment inside the button, so more complex layouts can
5435 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5437 * src/hildon-button.c (hildon_button_style_set)
5438 (hildon_button_class_init, hildon_button_set_arrangement)
5439 (hildon_button_construct_child): Apply style properties
5440 correctly. Use the 'image-spacing' style property too.
5442 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5444 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5445 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5448 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5450 * src/hildon-pannable-area.c,
5451 (hildon_pannable_area_size_request): Fixed problem with
5452 pannable-area size_request.
5454 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5456 Added management for the grab-focus to a child widget, like a
5457 range, we need to fade out the scrollbar when releasing.
5459 * src/hildon-pannable-area.c,
5460 (hildon_pannable_area_init): Connected the grab-focus signal to
5462 (hildon_pannable_area_grab_notify): Added this function in order
5463 to manage the situation when the grab-focus ends. We have to
5464 fade-out the scrollbar.
5466 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5468 * src/hildon-app-menu.c: Minor documentation update.
5470 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5472 * src/hildon-app-menu.c
5473 * examples/hildon-app-menu-example.c (create_menu): Update
5474 examples and documentation to explain how to connect callbacks.
5476 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5478 * examples/hildon-button-example.c
5479 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5480 hildon_stackable_window_new instead of gtk_window_new
5482 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5484 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5485 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5486 (hildon_pannable_area_set_property),
5487 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5488 (hildon_pannable_area_unrealize),
5489 (hildon_pannable_area_size_request),
5490 (hildon_pannable_area_size_allocate),
5491 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5492 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5493 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5494 (hildon_pannable_area_initial_effect),
5495 (hildon_pannable_area_redraw),
5496 (hildon_pannable_area_scroll_indicator_fade),
5497 (hildon_pannable_area_expose_event),
5498 (hildon_pannable_area_get_topmost), (synth_crossing),
5499 (hildon_pannable_area_button_press_cb),
5500 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5501 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5502 (hildon_pannable_area_motion_notify_cb),
5503 (hildon_pannable_area_button_release_cb),
5504 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5505 (hildon_pannable_area_remove),
5506 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5507 chage the code layout to a more GtkWidget like. Review the use of
5510 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5512 * examples/hildon-pannable-area-example-4.c,
5513 (main): Modified the name of the hindicator_mode to
5516 * src/hildon-pannable-area.c,
5517 (hildon_pannable_area_class_init),
5518 (hildon_pannable_area_motion_notify_cb),
5519 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5520 we have reduced the amount of signals and managed reviewed its
5521 rationale. Changed the default decelerate value.
5523 (hildon_pannable_area_add),
5524 (hildon_pannable_area_redraw): Refactored functions.
5526 (hildon_pannable_area_init),
5527 (hildon_pannable_area_get_property),
5528 (hildon_pannable_area_set_property):
5529 (hildon_pannable_draw_vscroll),
5530 (hildon_pannable_draw_hscroll),
5531 (hildon_pannable_area_initial_effect),
5532 (hildon_pannable_area_expose_event),
5533 (hildon_pannable_area_scroll),
5534 (hildon_pannable_area_button_press_cb),
5535 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5536 and vindicator_mode with hscrollbar_policy and
5537 vscrollbar_policy. Replaced hscroll and vscroll with
5538 hscroll_visible and vscroll_visible.
5540 (hildon_pannable_area_refresh): Refactor the function, remove
5541 variables and check the calls to this function, added resize
5542 conditions in case the children change their layout.
5544 (hildon_pannable_area_size_request): Added more detailed
5545 size_request calculation.
5548 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5550 * src/hildon-color-chooser.c
5551 (init_borders): use the correct gtk_border_free instead of g_free, to
5552 avoid a crash when this widget is used (ie: the three color selection
5555 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5557 * src/hildon-check-button.c,
5558 (hildon_check_button_set_active): Fixed problem when setting the
5559 active value, the widget was not redrawn.
5561 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5563 * src/hildon-pannable-area.c,
5564 (hildon_pannable_area_refresh),
5565 (hildon_pannable_area_scroll),
5566 (hildon_pannable_area_motion_notify_cb): Small code style change.
5568 (hildon_pannable_area_class_init): Default initial_hint set to
5569 FALSE, it is not in the specs.
5571 (hildon_pannable_area_initial_effect),
5572 (hildon_pannable_area_expose_event),
5573 (hildon_pannable_area_map),
5574 (hildon_pannable_area_init): Moved the launching point of the
5575 initial effect, it was in map but the sizes where not correct in
5576 that method so we do not know if we have the reproduce it. Now it
5577 is placed in the expose_event method and uses a variable to
5578 reproduce it just once.
5580 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5582 * src/hildon-pannable-area.c,
5583 (hildon_pannable_draw_vscroll),
5584 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5585 position allowed for the scrollbars.
5587 (hildon_pannable_area_size_allocate): Small style change.
5589 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5591 * src/hildon-pannable-area.c,
5592 (hildon_pannable_area_scroll_indicator_fade),
5593 (hildon_pannable_area_button_press_cb),
5594 (hildon_pannable_area_button_release_cb),
5595 (hildon_pannable_area_scroll_cb),
5596 (hildon_pannable_area_expose_event),
5597 (hildon_pannable_area_init): Added the define parameter
5598 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5599 and refactor the fade variable.
5601 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5603 * src/hildon-pannable-area.c,
5604 (hildon_pannable_area_redraw),
5605 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5606 lines, we were reimplemeting the redraw code.
5608 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5610 * src/hildon-pannable-area.c,
5611 (hildon_pannable_area_scroll_cb),
5612 (hildon_pannable_area_realize),
5613 (hildon_pannable_area_class_init): Added scroll_event management
5614 for pannable area, now we can scroll the usual desktop method.
5616 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5617 initialization of the parameters should depend on idle_id.
5619 (hildon_pannable_area_init),
5620 (hildon_pannable_area_map): Small code style modifications
5622 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5624 * src/hildon-pannable-area.c
5625 (hildon_pannable_area_button_press_cb),
5626 (hildon_pannable_area_motion_notify_cb),
5627 (hildon_pannable_area_button_release_cb),
5628 (hildon_pannable_area_size_allocate),
5629 (hildon_pannable_area_scroll_to): Improved the timeouts
5630 management, we avoid creating them each time.
5632 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5634 * src/hildon-pannable-area.c:
5635 (hildon_pannable_area_refresh),
5636 (hildon_pannable_area_motion_notify_cb),
5637 (hildon_pannable_area_class_init):
5638 * src/hildon-pannable-area.h:
5639 * src/hildon-touch-selector.c
5640 (_create_new_column):
5641 * examples/hildon-pannable-area-example-4.c:
5642 (horizontal_movement),
5643 (vertical_movement),
5645 Replaced the names of enums in the HildonPannableArea:
5646 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5647 HILDON_MOVEMENT_MODE_*
5648 - HILDON_PANNABLE_AREA_MOV_* ->
5650 - Removed HildonPannableAreaIndicatorMode, now we
5653 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5655 * examples/hildon-pannable-area-touch-grid-example.c
5656 * examples/hildon-pannable-area-touch-list-example.c: Fix
5657 compilation warnings.
5659 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5661 * src/hildon-gtk.c (hildon_gtk_button_new)
5662 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5663 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5664 images overriding the value of the "gtk-button-images" setting.
5666 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5668 * src/hildon-check-button.c (hildon_check_button_new):
5669 Instead of using a custom container, display the label and the
5670 checkbox using the standard GtkButton API.
5672 * examples/hildon-check-button-example.c (main): Don't use
5673 hildon_check_button_set_label() anymore
5675 * src/hildon-check-button.h
5676 * src/hildon-check-button.c
5677 (hildon_check_button_set_label, hildon_check_button_get_label):
5678 Set as deprecated, now we're using gtk_button_{get,set}_label()
5680 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5682 * src/hildon-pannable-area.c,
5683 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5684 GtkTreeview first line we detected it after the inclusion of the
5685 GtkWindowImpl in gtk+. We now check if the window is visible, not
5686 just if the pointer is over the window.
5687 (hildon_pannable_axis_scroll),
5688 (hildon_pannable_area_expose_event): Small style changes.
5690 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5692 * src/hildon-button.c: Update documentation.
5694 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5696 * examples/hildon-button-example.c: Add a switch to show images in
5699 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5701 * doc/hildon-docs.sgml: Some docs reorganization.
5703 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5705 * examples/hildon-pannable-area-touch-list-example.c
5707 * examples/hildon-pannable-area-touch-grid-example.c
5708 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5709 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5710 Fix memory leak when setting the tree model.
5712 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5716 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5718 * doc/hildon.types: Remove duplicated hildon_window_get_type
5719 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5720 documentation comment.
5722 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5724 * doc/Makefile.am: Complete list of private headers.
5726 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5728 * doc/hildon-docs.sgml
5729 * src/hildon-app-menu.c
5730 * src/hildon-bread-crumb.c
5731 * src/hildon-button.c
5733 * src/hildon-program.c
5734 * src/hildon-stackable-window.c
5735 * src/hildon-window.c: Lots of documentation updates.
5737 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5739 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5741 * configure.ac: Require Gtk+ 2.12.9 at least
5743 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5745 * src/hildon-pannable-area.c
5746 (hildon_pannable_area_scroll_indicator_fade),
5747 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5748 to protect the return of this timeout callbacks, avoiding deadlocks.
5750 2008-08-12 Christian Dywan <christian@imendio.com>
5753 * src/hildon-*.h: Ensure a consistent include order,
5754 include <gtk/gtk.h> instead of particular files and
5755 only include the topmost header in the gtk stack. See NB #39857
5757 2008-08-12 Christian Dywan <christian@imendio.com>
5759 * src/hildon-picker-dialog.c
5760 * src/hildon-touch-selector.c: Fix warnings about unused and
5761 uninitialized variables.
5763 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5765 * examples/Makefile.am
5766 * examples/hildon-check-button-example.c: Example of the hildon
5769 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5771 * src/hildon-window.h
5772 * src/hildon-window.c (hildon_window_class_init)
5773 (hildon_window_unset_program): Don't make
5774 hildon_window_unset_program a virtual function anymore.
5776 * src/hildon-stackable-window.c: Update documentation
5778 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5781 * doc/hildon-docs.sgml
5782 * doc/visual_index.xml
5783 * src/hildon-defines.c
5785 * src/hildon-helper.c
5786 * src/hildon-range-editor.c: Lots of documentation fixes.
5788 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5790 * examples/hildon-picker-button-multicolumn-example.c
5791 (create_touch_selector): Fix compilation warning.
5793 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5795 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5796 (hildon_pannable_area_button_release_cb)
5797 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5799 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5801 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5804 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5806 * src/hildon-bread-crumb-trail.h
5807 * src/hildon-date-editor.c
5808 * src/hildon-date-selector.c
5809 * src/hildon-pannable-area.c
5810 * src/hildon-picker-dialog.c
5811 * src/hildon-time-selector.c
5812 * src/hildon-touch-selector-entry.c
5813 * src/hildon-touch-selector.c
5814 * src/hildon-touch-selector.h: Misc documentation fixes
5816 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5818 * examples/hildon-date-editor-example.c (main): Updated date
5821 * examples/hildon-note-example.c (on_confirmation_clicked):
5822 Updated confirmation note example.
5824 * src/hildon-date-editor.c
5825 * src/hildon-note.c: Updated sample programs in documentation.
5828 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5830 * src/hildon-date-button.h:
5831 * src/hildon-picker-button.h:
5832 * src/hildon-time-button.c:
5833 * src/hildon-time-button.h:
5835 Some declarations changes to allow gtk-doc to document the widgets
5838 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5840 * src/hildon-date-button.c: Document the widget.
5841 * src/hildon-time-button.c: Document the widget.
5843 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5845 * src/hildon-picker-button.c: Document the widget.
5846 * src/hildon-touch-selector-entry.c: Document the widget.
5848 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5850 * doc/hildon-docs.sgml
5853 * src/hildon-check-button.h
5854 * src/hildon-check-button.c: New functions to create the Hildon
5858 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5860 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5862 * src/hildon-button.h
5863 * src/hildon-button.c
5864 (hildon_button_add_title_size_group)
5865 (hildon_button_add_value_size_group)
5866 (hildon_button_add_image_size_group)
5867 (hildon_button_add_size_groups): New functions to set size groups
5868 for the button labels and image.
5869 (hildon_button_new_full): Removed
5871 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5873 * src/hildon-time-selector.c
5874 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5875 in order to avoid a crash if gconf is not available
5877 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5879 * src/hildon-button.c (hildon_button_set_arrangement)
5880 (hildon_button_construct_child): Don't construct the button child
5881 before setting the arrangement.
5883 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5885 * src/hildon-program-private.h
5886 * src/hildon-program.c
5887 * src/hildon-program.h
5888 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5889 (hildon_program_peek_window_stack)
5890 (hildon_program_pop_window_stack)
5891 (hildon_program_go_to_root_window): HildonProgram now has a
5892 separate list for stackable windows. Functions are provided to
5893 manage that list with a stack-like API.
5895 * src/hildon-stackable-window.c: Stackable window management is
5896 now much simpler with the new HildonProgram API. Windows no
5897 longer need to be manually added to the program, they're
5898 automatically pushed to the top of the stack when shown.
5900 * examples/hildon-stackable-window-example.c: Updated example to
5901 reflect the API changes.
5903 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5905 * src/hildon-touch-selector.c: Comment out unimplemented
5906 hildon_touch_selector_insert_column() to avoid a compile warning.
5908 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5910 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5911 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5912 (hildon_touch_selector_set_column_selection_mode),
5913 (_hildon_touch_selector_set_model),
5914 (hildon_touch_selector_set_model):
5916 Complete review of HildonTouchSelector documentation.
5918 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5920 * doc/hildon-docs.sgml
5924 * src/hildon-gtk.c: Convenience functions for standard Gtk
5925 widgets, used to easily perform frequent operations.
5927 * src/hildon-button-helpers.h
5928 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5930 * src/hildon-helper.h
5931 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5932 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5934 * src/hildon-button.h
5935 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5937 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5939 * src/hildon-button.c (hildon_button_init)
5940 (hildon_button_set_arrangement, hildon_button_construct_child):
5941 Pack the image and the labels inside the same GtkAlignment so
5942 gtk_button_set_alignment() can be used
5944 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5946 * src/hildon-button.h
5947 * src/hildon-button.c
5948 (hildon_button_init, hildon_button_set_image)
5949 (hildon_button_set_image_position)
5950 (hildon_button_construct_child): New functions to add an image to
5953 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5955 * src/hildon-date-button.c
5956 * src/hildon-picker-button.c
5957 * src/hildon-time-button.c
5958 * src/hildon-button.c:
5959 (hildon_button_class_init): "size-flags" renamed to "size"
5960 (hildon_button_set_title): Hide the title label if set to NULL.
5962 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5964 HildonButtonFlags split into HildonButtonArrangement (to set the
5965 button layout) and HildonSizeType (which can be used for any
5968 * src/hildon-button.h
5969 * src/hildon-button.c
5970 (hildon_button_class_init)
5971 (hildon_button_set_arrangement)
5972 (hildon_button_set_property): New "size-flags"
5973 property. "arrangement-flags" renamed to "arrangement".
5974 (hildon_button_new, hildon_button_new_with_text)
5975 (hildon_button_new_full): Constructors updated to reflect type changes.
5977 * src/hildon-helper.h
5978 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5979 to set the size of a widget.
5983 * src/hildon-button-helpers.c
5984 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5986 * src/hildon-date-button.c
5987 * src/hildon-date-button.h
5988 * src/hildon-picker-button.c
5989 * src/hildon-picker-button.h
5990 * src/hildon-time-button.c
5991 * src/hildon-time-button.h: Updated widgets to reflect
5992 HildonButton API changes.
5994 * examples/hildon-button-example.c
5995 * examples/hildon-date-button-example.c
5996 * examples/hildon-picker-button-example.c
5997 * examples/hildon-picker-button-multicolumn-example.c
5998 * examples/hildon-time-button-example.c
5999 * examples/hildon-touch-selector-entry-example.c
6000 * examples/hildon-touch-selector-example.c: Updated examples to
6001 reflect HildonButton API changes.
6003 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6005 * doc/hildon-docs.sgml:
6007 * examples/Makefile.am:
6008 * examples/hildon-touch-selector-entry-example.c:
6010 * src/hildon-touch-selector-entry.c:
6011 * src/hildon-touch-selector-entry.h:
6014 Moved HildonTouchSelectorEntry from sandbox. Added its
6015 documentation and examples.
6017 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6019 * src/hildon-touch-selector.h:
6020 * examples/hildon-picker-button-multicolumn-example.c:
6021 (hildon_touch_selector_append_text_column): Add a gboolean
6022 parameter to determine if text must be centered in the column.
6024 * src/hildon-date-selector.c: (hildon_date_selector_init):
6025 * src/hildon-time-selector.c: (hildon_time_selector_init):
6026 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6027 (create_touch_selector): Update widgets and example to reflect
6030 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6032 * src/hildon-touch-selector.c:
6033 (hildon_touch_selector_set_active_iter): Set also the cursor in
6036 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6038 * doc/hildon-docs.sgml
6041 * src/hildon-toggle-button.c
6042 * src/hildon-toggle-button.h
6043 * src/hildon.h: Removed HildonToggleButton widget, a derived
6044 class is not necessary for this.
6046 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6048 * src/hildon-pannable-area.c,
6049 (hildon_pannable_area_realize),
6050 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6053 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6055 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6056 "done" button the default widget for the dialog.
6058 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6060 * src/hildon-touch-selector.c:
6061 (hildon_touch_selector_class_init),
6062 (hildon_touch_selector_get_property),
6063 (_hildon_touch_selector_set_model),
6064 (_hildon_touch_selector_has_multiple_selection),
6065 (hildon_touch_selector_has_multiple_selection):
6066 Add a "has-multiple-selection" property with a virtual
6067 has_multiple_selection() method to allow derived classes to
6068 override the default value for it. See the method and property
6069 documentation for details.
6071 * src/hildon-touch-selector.h: Add the new API.
6073 * src/hildon-picker-dialog.c: (requires_done_button): Call
6074 hildon_touch_selector_has_multiple_selection() instead of
6075 determining the need for a button itself.
6077 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6079 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6080 (_hildon_touch_selector_set_model),
6081 (hildon_touch_selector_set_model): Move working code to
6082 _hildon_touch_selector_set_mode(). Call the class method instead.
6084 * src/hildon-touch-selector.h: Add (*set_model) to
6085 HildonTouchSelectorClass.
6087 Make hildon_touch_selector_set_model() a virtual method, so that
6088 derived classes can extend it and do fancy stuff with the model.
6090 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6092 * configure.ac: Set back the tarname in AC_INIT to hildon.
6094 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6098 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6099 instead of libesd (NB#86876). Volume handling is still an open issue.
6101 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6104 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6106 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6107 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6108 derived class to ease placement of an entry widget in
6109 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6110 end, where the selector columns are packed now.
6112 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6114 * src/hildon-picker-button.c: Removed the simple _text() API.
6115 * src/hildon-picker-button.h: Likewise.
6117 * src/hildon-touch-selector.h:
6118 * src/hildon-touch-selector.c:
6119 (hildon_touch_selector_new_text),
6120 (hildon_touch_selector_append_text),
6121 (hildon_touch_selector_prepend_text),
6122 (hildon_touch_selector_insert_text):
6124 Moved the simple _text() API from HildonPickerButton to
6125 HildonTouchPicker, to provide better escalability and not to tie
6126 that API to HildonPickerButton.
6128 * examples/hildon-picker-button-example.c: (main): Example updated.
6130 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6132 * src/hildon-button.c: Updated documentation.
6134 * examples/hildon-button-example.c: Add the posibility to create
6135 the buttons using horizontal layout for title and value.
6137 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6139 * src/hildon-app-menu-private.h
6140 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6141 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6142 GtkSizeGroup for the filters, use the 'homogeneous' property of
6145 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6147 * examples/hildon-button-example.c: Updated example.
6149 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6151 * doc/hildon-docs.sgml:
6154 Update documentation.
6156 * examples/Makefile.am: Update renamed examples.
6158 * examples/hildon-picker-button-multicolumn-example.c:
6159 (create_touch_selector), (main): Update after the rename.
6161 * examples/hildon-touch-picker-example.c: Removed.
6162 * examples/hildon-touch-selector-example.c: (value_changed),
6163 (create_selector), (get_visible_content), (main): Renamed from
6164 hildon-touch-picker-example.c
6166 * src/Makefile.am: Updated renamed files.
6168 * src/hildon-date-button.c: (hildon_date_button_init),
6169 (hildon_date_button_get_date), (hildon_date_button_set_date):
6170 * src/hildon-date-selector.c: (hildon_date_selector_init),
6171 (_custom_print_func), (_update_day_model),
6172 (_manage_selector_change_cb),
6173 (hildon_date_selector_select_current_date),
6174 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6175 * src/hildon-date-selector.h:
6176 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6177 (hildon_picker_button_set_property),
6178 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6179 (hildon_picker_button_init), (hildon_picker_button_new_text),
6180 (hildon_picker_button_append_text),
6181 (hildon_picker_button_prepend_text),
6182 (hildon_picker_button_insert_text),
6183 (hildon_picker_button_set_selector),
6184 (hildon_picker_button_get_selector):
6185 * src/hildon-picker-button.h:
6186 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6187 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6188 (_update_title_on_selector_changed_cb), (requires_done_button),
6189 (_hildon_picker_dialog_set_selector),
6190 (hildon_picker_dialog_set_selector),
6191 (hildon_picker_dialog_get_selector):
6192 * src/hildon-picker-dialog.h:
6193 * src/hildon-time-button.c: (hildon_time_button_init),
6194 (hildon_time_button_get_time), (hildon_time_button_set_time):
6195 * src/hildon-time-selector.c: (hildon_time_selector_init),
6196 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6197 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6198 * src/hildon-time-selector.h:
6201 Massive code updates after the rename.
6203 * src/hildon-touch-picker.c: Removed.
6204 * src/hildon-touch-picker.h: Removed.
6206 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6207 (hildon_touch_selector_init), (hildon_touch_selector_map),
6208 (hildon_touch_selector_remove), (_default_print_func),
6209 (_selection_changed_cb), (_create_new_column),
6210 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6211 (hildon_touch_selector_append_text_column),
6212 (hildon_touch_selector_remove_column),
6213 (hildon_touch_selector_set_column_attributes),
6214 (hildon_touch_selector_insert_column),
6215 (hildon_touch_selector_get_num_columns),
6216 (hildon_touch_selector_get_column_selection_mode),
6217 (hildon_touch_selector_set_column_selection_mode),
6218 (hildon_touch_selector_set_print_func),
6219 (hildon_touch_selector_get_print_func),
6220 (hildon_touch_selector_get_active_iter),
6221 (hildon_touch_selector_set_active_iter),
6222 (hildon_touch_selector_get_selected_rows),
6223 (hildon_touch_selector_get_model),
6224 (hildon_touch_selector_set_model),
6225 (hildon_touch_selector_get_current_text),
6226 (_hildon_touch_selector_center_on_selected_items):
6227 * src/hildon-touch-selector.h: Renamed from
6228 hildon-touch-picker.[ch]
6230 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6231 references, code examples, and related documentation.
6233 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6235 * doc/hildon-docs.sgml
6238 * src/hildon-toggle-button.c
6239 * src/hildon-toggle-button.h
6240 * src/hildon.h: New HildonToggleButton widget.
6242 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6244 * src/hildon-button.c: Add API documentation.
6245 (hildon_button_set_size_groups): Check input parameters
6247 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6249 * src/hildon-pannable-area.c
6250 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6251 effect after reaching the movement thredshold. This way we start
6252 using the distance after passing the thredshold.
6254 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6256 * src/hildon-button.c: (hildon_button_set_property): Use the
6257 appropriate g_value_get_flags() method.
6259 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6261 * doc/hildon-docs.sgml:
6264 Add the touch pickers, picker dialogs, and picker button widgets
6265 to the documentation.
6267 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6269 * src/hildon-button.c: (hildon_button_set_property),
6270 (hildon_button_class_init): Make "arrangement-flags" a proper
6271 G_TYPE_FLAGS derived property.
6273 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6275 * examples/Makefile.am: Add below examples.
6276 * examples/hildon-date-button-example.c:
6277 * examples/hildon-picker-button-example.c:
6278 * examples/hildon-picker-button-multicolumn-example.c:
6279 * examples/hildon-time-button-example.c:
6280 * examples/hildon-touch-picker-example.c:
6282 Add examples for the recently added touch pickers,
6283 picker dialogs, and picker button widgets.
6285 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6287 * src/hildon-button.c: Add some API documentation
6289 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6291 * src/hildon-button.h
6292 * src/hildon-button.c
6294 (hildon_button_new_with_text): New constructor to create a button
6295 with no text at all.
6296 (hildon_button_init, hildon_button_set_arrangement)
6297 (hildon_button_set_title, hildon_button_set_value)
6298 (hildon_button_set_text)
6299 (hildon_button_construct_child): Hide the value when it's not used
6300 so the rest of the text is properly aligned.
6301 Allow creating buttons with arbitrary widgets inside (not just
6302 title/value labels).
6304 * examples/hildon-button-example.c (vertical_buttons_window)
6305 (horizontal_buttons_window): Update example to use new API.
6307 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6309 * src/Makefile.am: Added HildonTimeButton.
6310 * src/hildon-time-button.c: Added missing LGPL header.
6311 * src/hildon-time-button.h: Added missing LGPL header.
6312 * src/hildon.h: Add hildon-time-button.h
6314 Copied HildonTimeButton from sandbox to trunk. Future work on this
6315 widget must take place in trunk.
6317 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6319 * src/Makefile.am: Added HildonDateButton.
6320 * src/hildon-date-button.c: Update includes.
6321 * src/hildon.h: Add hildon-date-button.h
6323 Copied HildonDateButton from sandbox to trunk. Future work on this
6324 widget must take place in trunk.
6326 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6328 * src/Makefile.am: Added HildonPickerButton.
6329 * src/hildon-picker-button.h: Update includes.
6330 * src/hildon.h: Add hildon-picker-button.h
6332 Copied HildonPickerButton from sandbox to trunk. Future work on
6333 this widget must take place in trunk.
6335 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6337 * src/Makefile.am: Added HildonPickerDialog.
6338 * src/hildon-picker-dialog.c: Update includes.
6339 * src/hildon.h: Add hildon-picker-dialog.h
6341 Copied HildonPickerDialog from sandbox to trunk. Future work
6342 on this widget must take place in trunk.
6344 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6346 * src/Makefile.am: Added HildonTimeSelector.
6347 * src/hildon.h: Add hildon-time-selector.h
6349 Copied HildonTimeSelector widget from sandbox to trunk. Future
6350 work on this widget must happen in trunk.
6352 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6354 * src/Makefile.am: Added HildonDateSelector.
6355 * src/hildon.h: Add hildon-date-selector.h
6357 Copied HildonDateSelector widget from sandbox to trunk. Future
6358 work on this widget must happen in trunk.
6360 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6362 * src/Makefile.am: Added HildonTouchPicker.
6363 * src/hildon-touch-picker.c: Update includes.
6364 * src/hildon.h: Add hildon-touch-picker.h
6366 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6367 on this widget must happen in trunk.
6369 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6371 * src/hildon-pannable-area.c:
6372 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6374 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6376 * examples/hildon-app-menu-example.c (main): Let the window
6379 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6381 * src/hildon-pannable-area.c
6382 (hildon_pannable_area_class_init): Set the min value of the
6383 overshoot properties to zero, which points out that not
6384 overshooting allowed.
6386 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6388 Modified the procedure to get the widget at a point inside the
6389 pannable area when using the movement type signals. Now the user
6390 has to call a function to get the child, that way we just
6391 calculate the child in case the user really want to use it and not
6394 * src/hildon-marshalers.list: Modified the marshallers, now we do
6395 not have the widget as a parameter.
6397 * src/hildon-pannable-area.c
6398 (hildon_pannable_area_motion_notify_cb),
6399 (hildon_pannable_area_class_init),
6400 (hildon_pannable_get_child_widget_at): Removed the widget
6401 parameter from the signal callback. We have also refactored the
6402 emission of the signals.
6404 * src/hildon-pannable-area.h: Added a new method to the API to
6405 calculate a widget at a point inside the pannable area,
6406 hildon_pannable_get_child_widget_at.
6408 * examples/hildon-pannable-area-example-4.c
6409 (horizontal_movement): Modified the example to use the new API,
6410 added condition to control which widget is under the event. This
6411 way we can avoid scrolling laterally over other widgets.
6413 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6415 * src/hildon-pannable-area.c
6416 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6417 modes, we stop getting the pointer events due to returning the
6418 callback without properly calling the get pointer again. Fixed
6419 also an error using the hscroll and vscroll.
6421 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6423 * src/hildon-app-menu-private.h
6424 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6425 (hildon_app_menu_button_release, hildon_app_menu_init)
6426 (hildon_app_menu_class_init): Don't hide the menu on button
6427 release if the user didn't press outside first.
6429 * src/hildon-window.h
6430 * src/hildon-window.c (hildon_window_toggle_menu)
6431 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6432 hildon_window_toggle_menu a virtual function for the stackable
6433 window to override it.
6435 * src/hildon-stackable-window.h
6436 * src/hildon-stackable-window-private.h
6437 * src/hildon-stackable-window.c
6438 (hildon_stackable_window_realize)
6439 (hildon_stackable_window_finalize)
6440 (hildon_stackable_window_class_init)
6441 (hildon_stackable_window_init)
6442 (hildon_stackable_window_set_main_menu): New function to set the
6443 app menu of a HildonStackableWindow.
6445 * examples/hildon-app-menu-example.c: Remove the button to show
6446 the app menu, now it'll be shown when clicking on the title bar
6449 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6451 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6452 set the widget name if the arrangement flags do not specify
6455 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6457 * src/hildon-button.c: (hildon_button_set_property),
6458 (hildon_button_class_init), (hildon_button_new_full),
6459 (hildon_button_set_arrangement): Added "arrangement-flags"
6462 Make the HildonButtonFlags a construction-only property, to allow
6463 subclasses to set them properly.
6465 2008-07-21 Tim Janik <timj@imendio.com>
6467 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6468 insertion position after backspace, so additional digits are appended,
6471 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6473 * src/hildon-pannable-area.c,
6474 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6475 TODO list, it was complete and removed the g_debug and g_print
6478 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6480 Added the movement modes to the hildon-pannable-area, with this
6481 modes the developers can control in which directions the widget
6482 can scroll. They can also connect to signals in order to do
6483 something when that happens, allowing applications scroll. There
6484 is an example uploaded showing how to use it.
6486 * examples/Makefile.am:
6487 * examples/hildon-pannable-area-example-4.c: Added this example of
6488 an application using the modes.
6490 * src/hildon-marshalers.list: Added a new marshaller for the new
6493 * src/hildon-pannable-area.h: Added new enumerations and flags in
6494 order to control the movement modes and the new signals to warn
6495 about the movements in the area.
6497 * src/hildon-pannable-area.c:
6498 (hildon_pannable_axis_scroll),
6499 (hildon_pannable_area_scroll),
6500 (hildon_pannable_area_motion_notify_cb),
6501 (hildon_pannable_area_get_property),
6502 (hildon_pannable_area_set_property),
6503 (hildon_pannable_area_map),
6504 (hildon_pannable_area_class_init),
6505 (hildon_pannable_area_init),
6506 (hildon_pannable_area_jump_to): Added the modes to control the
6507 movement in the widget. We have added properties to control it,
6508 signals to warn about the movements and refactored some code.
6510 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6512 Changes required in order to allow vfast_factor set to zero to
6515 * src/hildon-pannable-area.c:
6516 (hildon_pannable_area_button_press_cb): Changed the condition, it
6517 is required for not allowing click when vfast_factor is zero.
6518 (hildon_pannable_area_timeout): Initialized velocity variables
6519 when we stop moving, it was less than 1 but not zero and we need
6520 to check zero in some situations.
6521 (hildon_pannable_area_class_init): Changed the default value of
6522 the speed factor, now the button_press is just sent in case the
6523 speed is 2 per cent of the max speed.
6524 (hildon_pannable_area_init): Initialization with 0.
6526 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6528 * src/hildon-pannable-area.c,
6529 (hildon_pannable_area_get_topmost): replaced
6530 gdk_window_get_children with gdk_window_peek_children, this way we
6531 do not have to free the list because it is not a copy.
6533 (hildon_pannable_axis_scroll),
6534 (hildon_pannable_area_scroll),
6535 (hildon_pannable_area_timeout),
6536 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6537 two parameters that were only used inside the
6538 hildon_pannable_area_scroll function.
6540 * examples/hildon-pannable-area-example.c,
6541 (get_sawtooth_label): Fixed small memory leak.
6543 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6545 More checks for the case where the overshoot is bigger than the
6548 * src/hildon-pannable-area.c:
6549 (hildon_pannable_draw_vscroll),
6550 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6551 to draw the slider of the scrollbar under the other scrollbar.
6552 (hildon_pannable_area_expose_event): added new checks to control
6553 the drawing of the overshooting area rectangle, in case it is too
6554 big for the area of the widget.
6555 (hildon_pannable_area_size_allocate): add more checks to avoid
6556 setting a position to the child widget outside the area.
6558 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6560 * src/hildon-pannable-area.c
6561 (hildon_pannable_area_size_allocate): Added conditions to control
6562 when overshooting is bigger than the allocated space for the
6563 children, this avoids negative allocations.
6565 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6567 * doc/hildon-docs.sgml
6569 * examples/Makefile.am
6570 * examples/hildon-button-example.c
6572 * src/hildon-button.c
6573 * src/hildon-button.h
6574 * src/hildon.h: Initial version of the new HildonButton widget,
6577 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6579 * src/hildon-pannable-area.c:
6580 (hildon_pannable_area_button_press_cb),
6581 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6582 (hildon_pannable_area_motion_notify_cb),
6583 (hildon_pannable_area_button_release_cb),
6584 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6585 (hildon_pannable_area_jump_to_child):
6587 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6589 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6591 * examples/Makefile.am
6592 * examples/hildon-pannable-area-touch-grid-example.c
6593 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6594 the Hildon Touch List and Hildon Touch Grid using the
6595 HildonPannableArea widget.
6597 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6599 * src/hildon-pannable-area.c,
6600 (hildon_pannable_area_button_press_cb),
6601 (hildon_pannable_area_refresh),
6602 (hildon_pannable_area_scroll),
6603 (hildon_pannable_area_motion_notify_cb),
6604 (hildon_pannable_area_button_release_cb),
6605 (hildon_pannable_area_expose_event),
6606 (hildon_pannable_area_add),
6607 (hildon_pannable_area_remove),
6608 (hildon_pannable_area_realize),
6609 (hildon_pannable_area_size_allocate),
6610 (hildon_pannable_area_class_init),
6611 (hildon_pannable_area_init),
6612 (hildon_pannable_area_scroll_to_child),
6613 (hildon_pannable_area_jump_to_child): Fixed the problem of
6614 removing the child from the GtkBin, we have rearranged the widget
6615 hierarchy, now there is no GtkAlignment which was not doing
6616 anything interesting but breaking some of the assumptions of
6617 GtkContainer. Now developers if they want to add a GtkAlignment
6618 they could, but it is not inside the area.
6620 We had to review the whole allocation/expose process, now it is
6621 improved and we save at least three signals which would be saving
6622 some time when rendering the widget. The allocation of the
6623 scrollbars is now made in the allocate method as usual.
6625 We have also added some conditions in order to control when there
6626 is no child of the pannable area. Maybe we will need more work
6629 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6631 * src/hildon-pannable-area.c,
6632 (hildon_pannable_area_dispose): Released the fade-out timeout when
6633 disposing the widget.
6635 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6637 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6638 zero, we are going to use that property in order to deactivate the
6640 (hildon_pannable_axis_scroll),
6641 (hildon_pannable_area_size_allocate): Added conditions to control
6642 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6643 call, now it is called in all situations and we can remove calls
6644 in the allocate method.
6645 (hildon_pannable_area_map): Control the situation when
6646 overshoot_max is zero, we do not need the timeout.
6647 (hildon_pannable_area_class_init): Added documentation in order to
6648 point out that setting zero to overshoot_max means deactivate
6651 NOTE: removed trailing whitespaces from my previous comments of
6654 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6656 * src/hildon-pannable-area.c
6657 (hildon_pannable_area_get_property),
6658 (hildon_pannable_area_set_property),
6659 (hildon_pannable_area_map),
6660 (hildon_pannable_area_class_init),
6661 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6662 to cause the widget give a hint about its panning abilities upon
6665 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6667 * src/hildon-pannable-area.c: Several documentation improvements.
6669 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6671 * src/hildon-program.c
6672 * src/hildon-stackable-window.c: Update documentation.
6674 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6676 * src/hildon-stackable-window.c (get_previous_window_if_last):
6677 Renamed get_last_window()
6678 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6679 (hildon_stackable_window_unset_program):
6681 (get_previous_window_if_last):
6682 Detect if the window hasn't been added to a HildonProgram.
6684 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6686 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6688 * src/hildon-pannable-area.c
6689 (hildon_pannable_area_button_press_cb),
6690 (hildon_pannable_axis_scroll),
6691 (hildon_pannable_area_scroll),
6692 (hildon_pannable_area_timeout),
6693 (hildon_pannable_calculate_vel_factor),
6694 (hildon_pannable_area_get_property),
6695 (hildon_pannable_area_set_property),
6696 (hildon_pannable_area_class_init),
6697 (hildon_pannable_area_init),
6698 (hildon_pannable_area_scroll_to),
6699 (hildon_pannable_area_jump_to),
6700 (hildon_pannable_area_scroll_to_child),
6701 (hildon_pannable_area_jump_to_child):
6702 * src/hildon-pannable-area.h: Added the new API functions:
6703 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6704 hildon_pannable_area_scroll_to_child,
6705 hildon_pannable_area_jump_to_child
6708 * examples/Makefile.am
6709 * examples/hildon-pannable-area-example-2.c
6710 * examples/hildon-pannable-area-example-3.c: Added these two new
6711 examples in order to test and show how the new APIs work.
6713 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6715 * examples/hildon-stackable-window-example.c (new_window):
6716 * src/Makefile.am (noinst_HEADERS):
6717 * src/hildon-program.c (hildon_program_go_to_root_window):
6718 * src/hildon-program.h:
6719 * src/hildon-stackable-window-private.h:
6720 * src/hildon-stackable-window.c:
6721 * src/hildon-stackable-window.h:
6722 Create hildon-stackable-window-private.h
6723 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6725 * examples/hildon-app-menu-example.c (create_menu):
6726 * examples/hildon-hvolumebar-insensitive-example.c (main):
6727 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6728 * examples/hildon-toolbar-seekbar-example.c (main):
6729 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6730 * src/hildon-banner.c (hildon_banner_set_property):
6731 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6732 Fix compilation warnings
6734 * src/hildon-window.c:
6737 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6739 * src/hildon-stackable-window.c
6740 (hildon_stackable_window_unset_program):
6741 Calculate correctly whether to show the previous window if the
6742 last one is removed from the stack.
6743 (hildon_stackable_window_go_to_root_window):
6744 Send delete events starting from the topmost window.
6745 Stop if one of the windows is not destroyed.
6747 (hildon_stackable_window_delete_event)
6748 (hildon_stackable_window_class_init):
6749 Ignore the delete event if the window is not the topmost one.
6751 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6753 * src/hildon-pannable-area.c
6754 (hildon_pannable_area_expose_event): Fixed a problem when
6755 selecting the background color of the scrollbars.
6757 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6759 * examples/hildon-stackable-window-example.c
6760 * src/hildon-stackable-window.c
6761 * src/hildon-stackable-window.h
6762 hildon_stackable_window_go_home() renamed to
6763 hildon_stackable_window_go_to_root_window()
6764 Send delete events to windows rather than closing them with
6765 gtk_widget_destroy()
6767 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6769 * src/hildon-pannable-area.c
6770 (hildon_pannable_area_button_release_cb): Fix overshooting in
6773 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6775 * src/hildon-pannable-area.c
6776 (hildon_pannable_area_init): Initially show the scroll indicators.
6777 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6779 Add initial effect showing the widget is pannable.
6781 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6783 * src/hildon-pannable-area.c
6784 (hildon_pannable_area_class_init)
6785 (hildon_pannable_area_set_property)
6786 (hildon_pannable_area_get_property)
6787 (hildon_pannable_area_button_press_cb):
6788 New 'velocity_fast_factor' property to decide which velocity is
6791 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6793 * src/hildon-pannable-area.c
6794 (hildon_pannable_draw_hscroll)
6795 (hildon_pannable_draw_vscroll):
6796 Use float variables to calculate the size of the scrollbars to
6797 avoid error propagation and resizing during scrolling.
6799 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6801 * src/hildon-pannable-area.c
6802 (hildon_pannable_draw_vscroll)
6803 (hildon_pannable_draw_hscroll):
6804 Define a minimum size for the scroll bars
6806 * src/hildon-stackable-window.c
6807 (hildon_stackable_window_go_home): Fix compilation warning
6808 (get_last_window): Minor optimizations
6809 (hildon_stackable_window_class_init): Fix initialization of
6812 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6814 * src/hildon-stackable-window.c: Fixed typos in doc
6816 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6818 * src/hildon-pannable-area.c
6819 (hildon_pannable_area_scroll):
6820 Calculate here whether we need to scroll instead of using the booleans
6821 that tell us whether to /draw/ the scrolling bars.
6823 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6825 * src/hildon-app-menu.h
6827 * src/hildon-app-menu.c
6828 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6829 multiple filter groups related code and API. Now we support only
6831 * examples/hildon-app-menu-example.c:
6833 Update to reflect API changes.
6835 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6837 * src/hildon-stackable-window.c
6838 (hildon_stackable_window_class_init):
6839 Add hildon_stackable_window_realize.
6840 (hildon_stackable_window_realize):
6841 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6842 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6843 to apply theming and behavior specific to HildonStackableWindow
6846 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6848 * src/hildon-note.c (hildon_note_button_release):
6849 Close information notes also when tapping on them
6851 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6853 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6854 ELASTICITY, refactor and review, fix some issues with drawing
6857 * src/hildon-pannable-area.c:
6858 (hildon_pannable_area_button_press_cb): removed the conditions to
6859 avoid clicks when overshooting. It is not required
6861 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6862 define. Refatored and reviewed the code, now we do not need to
6863 manage velocity in motion_notify.
6865 (hildon_pannable_area_motion_notify_cb): We have moved the code
6866 that controls the area_scroll to the axis_scroll function and get
6867 rid of duplicated code.
6869 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6871 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6873 (hildon_pannable_draw_vscroll),
6874 (hildon_pannable_draw_hscroll): Fixed the problems with the
6875 scrollbar drawing, now we do not use two surfaces, it is easier
6876 and saves resources.
6878 (hildon_pannable_area_get_property): Style modification.
6880 (hildon_pannable_area_class_init): Changed some default values.
6882 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6884 * src/hildon-stackable-window.c: Fix some typos in the
6887 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6889 * src/hildon-dialog.c:
6890 Change indentation style
6893 (hildon_note_button_release):
6894 Use root coordinates to check if the release event happened
6897 * src/hildon-app-menu.c
6898 (hildon_app_menu_button_release):
6899 Remove unnecessary check
6901 * examples/hildon-app-menu-example.c
6903 Add cast to fix warning
6905 * src/hildon-app-menu.c
6906 (hildon_app_menu_class_init):
6907 New inner-border style property.
6908 Set all default spacings to 16
6909 (hildon_app_menu_init):
6910 Use vertical-spacing to set the space between filter buttons and
6911 regular menu buttons.
6912 Set the default container border using the inner-border value.
6914 * examples/hildon-app-menu-example.c
6916 Don't set the menu border explicitly, now we have the inner-border
6917 style property for that.
6919 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6921 * src/hildon-app-menu.c (hildon_app_menu_init):
6922 Make the window modal
6924 * src/hildon-note.c (hildon_note_map)
6925 * src/hildon-app-menu.c (hildon_app_menu_map):
6926 Destroy the grab window if we're unable to grab the pointer
6928 * src/hildon-app-menu-private.h
6929 * src/hildon-app-menu.c
6930 (hildon_app_menu_init, hildon_app_menu_finalize)
6931 (hildon_app_menu_map, hildon_app_menu_unmap)
6932 (hildon_app_menu_button_release)
6933 (grab_transfer_window_get):
6934 Bring back the grab window
6935 (hildon_app_menu_realize):
6936 Decorate the window, set WM hint for Matchbox
6938 * src/hildon-note.c (hildon_note_realize):
6939 * src/hildon-banner.c (hildon_banner_realize):
6940 Add WM hints for Matchbox
6942 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6944 * src/hildon-app-menu-private.h
6945 * src/hildon-app-menu.c
6946 (hildon_app_menu_init, hildon_app_menu_finalize)
6947 (hildon_app_menu_map, hildon_app_menu_unmap)
6948 (hildon_app_menu_button_release):
6949 Remove the grab window, it's not needed anymore
6951 * src/hildon-program.c
6952 Fixed typo in documentation
6954 * src/hildon-app-menu.h
6955 * src/hildon-app-menu.c
6956 * examples/hildon-app-menu-example.c
6957 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6959 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6962 Added new transfer_window and close_if_pressed_outside private
6964 (hildon_note_rebuild):
6965 Don't add a cancel button to the information note. It will be
6966 closed when tapping outside
6967 Remove the comment about the OK button in the documentation
6968 (hildon_note_realize):
6969 Set the notification type hint
6970 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6971 Grab/ungrab pointer and keyboard if the note has to be closed when
6973 (hildon_note_button_release):
6974 Close the note when tapping outside (if applicable)
6976 * src/hildon-app-menu.c
6977 Grab/ungrab pointer and keyboard on map/unmap
6978 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6979 Close the menu on button release, not button press
6981 * src/hildon-banner.c
6982 (hildon_banner_set_property)
6983 (hildon_banner_check_position):
6984 Make the banner use the full width of the screen
6985 (hildon_banner_show_information)
6986 (hildon_banner_show_information_with_markup):
6987 Don't display an icon by default
6989 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6991 Added fading scrollbars and adapted all the overshooting code to
6992 horizontal scrolling. We have also fixed bugs with overshooting
6993 and current fading implementation.
6995 * src/hildon-pannable-area.c
6996 (hildon_pannable_area_scroll_indicator_fade): Time out function
6997 used to change the transparency of the scrollbars.
6999 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7000 control and fixed a problem with fading, we now remove the fade
7001 timeout before adding a new one.
7003 (hildon_pannable_axis_scroll):
7004 (hildon_pannable_area_scroll):
7005 (hildon_pannable_area_timeout): Added this functions so we can use
7006 the scroll code both for vertical and horizontal.
7008 (hildon_pannable_area_motion_notify_cb):
7009 (hildon_pannable_area_button_release_cb): Added the horizontal
7010 scrolling control, fixed a problem with the overshooting timeout.
7012 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7013 painting of the scrolls.
7015 (hildon_pannable_draw_vscroll):
7016 (hildon_pannable_draw_hscroll):
7017 (hildon_pannable_area_expose_event):
7018 Draw both scrollbars and rectangles in the overshooting area.
7020 (hildon_pannable_area_get_property):
7021 (hildon_pannable_area_set_property):
7022 Modified the overshoot property to overshoot_max
7024 (hildon_pannable_area_map):
7025 Replaced the comments symbols.
7027 (hildon_pannable_area_size_allocate):
7028 (hildon_pannable_area_class_init):
7029 (hildon_pannable_area_init): Added horizontal scroll, fading
7030 effect properties, fixed a problem when overshooting in the bottom
7033 * examples/hildon-pannable-area-example.c:
7034 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7035 looks better in the example.
7037 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7039 * src/hildon-window.c
7040 * src/hildon-window.h
7041 (hildon_window_class_init)
7042 (hildon_window_unset_program)
7043 (hildon_window_unset_program_real):
7044 Make unset_program a virtual function
7046 * src/hildon-stackable-window.c
7047 * src/hildon-stackable-window.h
7048 Added hildon_stackable_window_go_home()
7050 * examples/Makefile.am
7051 * examples/hildon-stackable-window-example.c
7052 HildonStackableWindow example
7054 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7056 * hildon-pannable-area.c: Added the overshoot property and removed
7057 the OVERSHOOT define. Fixed an indent style error.
7058 (hildon_pannable_area_motion_notify_cb):
7059 (hildon_pannable_area_get_property):
7060 (hildon_pannable_area_set_property): Add overshoot property.
7062 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7065 (hildon_pannable_area_class_init): Installed the new property.
7067 * hildon-pannable-area-example.c: Added a sawtooth function, this
7068 way it is easier to check the movement in the pannable.
7069 (get_sawtooth_label): Added this function.
7070 (main): Now we get the labels from the new get_sawtooth_label
7073 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7075 * src/hildon-app-menu.h
7076 * src/hildon-app-menu.c
7077 Renamed API variables for consistency
7079 (hildon_app_menu_popup): Use also the default window size to
7080 decide where to place the menu
7082 (hildon_app_menu_init, hildon_app_menu_class_init): New
7083 external-border style property
7085 2008-05-26 Michael Natterer <mitch@imendio.com>
7087 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7088 widget_class->tap_and_hold_setup signal slot doesn't exist any
7089 longer, stop overriding it.
7091 (hildon_time_editor_init): g_signal_connect() to the
7092 tap-and-hold-setup signal instead.
7094 (hildon_time_editor_entry_keypress): add cast to fix warning.
7096 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7098 * doc/hildon-docs.sgml
7100 * examples/Makefile.am
7101 * examples/hildon-app-menu-example.c
7103 * src/hildon-app-menu-private.h
7104 * src/hildon-app-menu.c
7105 * src/hildon-app-menu.h
7107 New HildonAppMenu widget
7109 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7111 Rearranged the inheritance of the pannable area, now it inherits
7112 from GtkBin. This will allow us to control the event_window and
7113 the allocation process of the widget, required for some effects.
7115 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7116 GtkBin structures. * src/hildon-pannable-area.c: Added the
7117 event_window variable.
7118 (hildon_pannable_area_button_press_cb):
7119 (hildon_pannable_area_button_release_cb):
7120 (hildon_pannable_area_motion_notify_cb):
7121 Changed the signature of the method, now we override the event
7122 callback instead of connecting to the signal.
7124 (hildon_pannable_area_realize):
7125 (hildon_pannable_area_unrealize):
7126 (hildon_pannable_area_map):
7127 (hildon_pannable_area_unmap):
7128 (hildon_pannable_area_size_allocate):
7129 Added functions to control the widget construction. We add a
7130 INPUT_ONLY window and we put it over the widgets inside the
7131 container, this event_window handles the events.
7133 (hildon_pannable_area_class_init):
7134 Replaced the signal connections with overrides of the event
7137 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7139 Bouncing effect added when touching the borders, you can change
7140 the elasticity of the border changing the ELASTICITY define.
7142 * src/hildon-pannable-area.c: Added ELASTICITY define.
7143 (hildon_pannable_area_timeout): Added inverse velocity when
7144 touching the border of the child widget, that causes a bounce.
7146 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7148 Improved performance, we now do not go to the X server in order to
7149 get the list of window children. Apparently the effect is the
7150 same, we have to be careful and check if this breaks something in
7153 * src/hildon-pannable-area.c:
7154 (get_ordered_children): Removed this function.
7155 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7156 the children windows function with gdk_window_get_children.
7158 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7160 * src/hildon-pannable-area.c:
7161 (hildon_pannable_area_dispose): Fixed a crash when closing the
7162 window and kinetics is activated.
7164 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7166 * src/hildon-pannable-area.h
7167 * src/hildon-pannable-area.c
7168 Changed indentation style to meet the one used in Hildon
7170 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7172 Reviewed the interaction of the AUTO mode, now we use the time
7173 attribute of the events and calculate the velocity in the motion,
7174 doing a gimp like calculation. The velocity is calculated in each
7175 motion event using the last velocity and the current one, the
7176 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7178 * src/hildon-pannable-area.c: Replaced the time based algorithm
7180 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7181 timeout for the AUTO mode when we are still moving the cursor. We
7182 added also the velocity calculation in this function.
7183 (hildon_pannable_area_button_release_cb): launch the timeout in
7184 case we are in AUTO mode. There are still some constants here that
7185 come from the old implementation that should be reviewed and
7188 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7190 * doc/hildon-docs.sgml
7193 * src/hildon-stackable-window.c
7194 * src/hildon-stackable-window.h
7196 New HildonStackableWindow widget
7198 * examples/hildon-dialog-example.c
7199 * examples/hildon-pannable-area-example.c
7202 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7204 * src/hildon-dialog.c
7205 (hildon_dialog_new_with_buttons): New constructor.
7207 * examples/hildon-dialog-example.c
7208 (main): Update the example to use the new
7209 hildon_dialog_new_with_buttons().
7211 * examples/hildon-pannable-area-example.c
7212 (main): Update example.
7214 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7216 * doc/hildon-docs.sgml
7218 Added HildonPannableArea to the documentation.
7220 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7222 * doc/visual_index.xml
7223 Fix reference to HildonLoginDialog in documentation
7225 * doc/hildon-docs.sgml
7227 * examples/Makefile.am
7228 * examples/hildon-dialog-example.c
7230 * src/hildon-dialog.c
7231 * src/hildon-dialog.h
7233 New HildonDialog widget.
7235 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7237 * src/hildon-pannable-area.c
7238 Merge latest changes (r4318, r4342) from libmokoui trunk
7240 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7242 * examples/Makefile.am
7243 * examples/hildon-pannable-area-example.c
7245 * src/hildon-pannable-area.c
7246 * src/hildon-pannable-area.h
7248 New HildonPannableArea widget.
7250 2008-04-15 18:05:19 <timj@imendio.com>
7252 * src/hildon-banner.c: revert the recent change, that introduced
7253 gtk_window_present() calls. this reopens:
7254 Bug 78481 - [freetest] information banners are hidden under browser menu
7255 But resolves another variant of:
7256 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7258 2008-04-15 13:21:13 <timj@imendio.com>
7260 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7261 recreated its layout, spotted by Kris. this fixes all remaining
7262 artefacts and stability issues with the banner code. in particular:
7263 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7265 2008-04-14 16:52:59 <timj@imendio.com>
7267 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7268 operating on unrealized widgets, fixes:
7269 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7271 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7273 2008-04-09 Kristian Rietveld <kris@imendio.com>
7275 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7276 makes banner disappear.
7277 Fixes: NB#79182: info banner flickering with certain message lengts.
7279 * src/hildon-banner.c (hildon_banner_constructor),
7280 (hildon_banner_init), (hildon_banner_set_text),
7281 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7282 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7283 FALSE, reset size requests of label and banner,
7284 (force_to_wrap_truncated): when the text is too wide, always enforce
7285 the maximum possible width instead of recalculating it from the
7286 layout; enforce the maximum banner height of 3 lines,
7287 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7288 nicer wrapping and no truncated chars if space gets tight.
7290 * src/hildon-banner-private.h: add has_been_wrapped and
7291 has_been_truncated fields.
7293 2008-04-07 Sven Herzberg <sven@imendio.com>
7295 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7296 local values in hildon_date_editor_size_allocate
7298 * src/hildon-date-editor.c: moved the real allocation code into the
7301 2008-04-07 Sven Herzberg <sven@imendio.com>
7303 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7304 local values in hildon_date_editor_size_allocate
7306 * src/hildon-date-editor.c: merged the two if() branches together
7308 2008-04-07 Sven Herzberg <sven@imendio.com>
7310 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7311 local values in hildon_date_editor_size_allocate
7313 * src/hildon-date-editor.c: changed the arguments of the if()
7316 2008-04-07 Sven Herzberg <sven@imendio.com>
7318 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7319 local values in hildon_date_editor_size_allocate
7321 * src/hildon-date-editor.c: split the calculation of the allocation
7322 from the real allocation
7324 2008-03-27 Michael Natterer <mitch@imendio.com>
7326 Fixes: NB#81696: The passcode is not overwritten even after
7329 * src/hildon-code-dialog.c
7330 (hildon_code_dialog_button_clicked)
7331 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7332 because that doesn't overwrite selected text. Instead, emit the
7333 "commit" signal on the entry's im_context so the entry's normal
7334 insert logic is triggered. Set the cursor to the end of the entry
7335 after each insert operation so that we *only* insert in the middle
7336 of the text if something was selected.
7338 2008-03-27 Michael Natterer <mitch@imendio.com>
7340 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7341 selector cannot be opened
7343 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7344 when the popup color selector is created. Please connect to this
7345 signal in order to set the dialog's help ID.
7347 2008-03-25 Sven Herzberg <sven@imendio.com>
7349 Fixes: MB#1212: Hide info banners (infoprints) on click
7351 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7352 extracted the close event simulation into an extra function
7353 (hildon_banner_button_press_event): simulate a close event and destroy
7354 the widget if the event wasn't handled
7355 (hildon_banner_class_init): added the button_press_event handler
7356 (hildon_banner_init): added button-press events to the widget
7358 2008-03-25 Sven Herzberg <sven@imendio.com>
7360 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7361 Patch from: Mohammad Anwari <mdamt@maemo.org>
7363 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7364 instead of the right in RTL mode
7365 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7366 breadcrumb button list in RTL mode
7367 * src/hildon-caption.c: mirror the appearance of the caption widget in
7369 * src/hildon-date-editor.c: mirror appearance of the date editor in
7371 * src/hildon-time-editor.c: mirror appearance of the time editor in
7373 * src/hildon-window.c: fix the position of the popup in RTL mode
7375 2008-03-25 Sven Herzberg <sven@imendio.com>
7377 Amendment to the fix of NB#22072. Fix compilation.
7379 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7381 2008-03-19 Sven Herzberg <sven@imendio.com>
7383 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7386 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7387 timeout id properly when the timeout will disappear this leaves no
7388 artifacts around in the destroy(); there will only be the timeout
7389 created by hildon_banner_ensure_timeout() and adding a new timeout
7390 will also work if the timeout gets removed because the timeout_handler
7393 2008-03-19 Michael Natterer <mitch@imendio.com>
7395 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7397 * src/hildon-volumebar.c
7398 * src/hildon-vvolumebar.c
7399 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7400 the widget becomes focussable at all.
7402 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7403 set the focus to wither the mute button or the volumebar.
7405 Remove own "can-focus" property and instead listen to
7406 notify::can-focus in order to update the widget's state.
7408 Implement GtkWidget::focus() and make sure we can also *leave* the
7409 widget, not only enter it, depending on volumebar orientation and
7410 requested focus direction.
7412 Clean up set_mute() to cooperate nicely with all the above.
7414 2008-03-04 Michael Natterer <mitch@imendio.com>
7416 Fixes: NB#78481: information banners are hidden under browser menu
7418 * src/hildon-banner.c: call gtk_window_present() on the banners so
7419 they are risen if they are already visible.
7421 2008-03-03 Sven Herzberg <sven@imendio.com>
7423 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7425 * examples/hildon-window-menu-example.c: (main): extended the window
7426 menu example to serve as a testcase for automatically added
7427 accelerator groups, too
7428 * src/hildon-window.c: (hildon_window_add_accel_group),
7429 (hildon_window_set_menu): added patch by Tommi Komulainen
7431 2008-03-03 Sven Herzberg <sven@imendio.com>
7433 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7435 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7436 knowledge about the border allocators used within GTK+
7438 2008-02-26 Sven Herzberg <sven@imendio.com>
7440 Fixes: MB#2981: Build with asserts broken
7442 * src/hildon-date-editor.c,
7443 * src/hildon-number-editor.c,
7444 * src/hildon-time-editor.c,
7445 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7446 the proper GType instance check
7448 2008-02-25 Sven Herzberg <sven@imendio.com>
7450 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7452 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7453 * examples/hildon-window-menu-example.c: (main): explicitly show
7455 * src/hildon-window.c:
7456 (hildon_window_set_main_menu): moved most of the code from set_menu()
7457 to this place; skipped the call to gtk_widget_show_all(); also didn't
7458 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7459 (hildon_window_set_menu): removed most of the code, just keep the
7460 questionable gtk_widget_show_all()
7461 * src/hildon-window.h: added the new function and deprecate the old
7464 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7470 * debian/changelog: Updating.
7472 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7475 * pkgconfig/Makefile.am:
7476 * pkgconfig/hildon.pc.in:
7479 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7480 use newly created API_MAJOR_VERSION.
7482 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7488 * debian/changelog: Updating.
7490 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7492 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7494 Add outer_border style property, we use it but don't define it (!).
7498 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7500 * examples/hildon-bread-crumb-trail-example.c (main):
7504 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7506 Fix logic for the bread crumb trail node removal.
7510 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7516 * debian/changelog: Updating.
7518 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7520 Patch by Alejandro to get/set passwords dialogs accesibility.
7522 * hildon-1/src/hildon-get-password-dialog.c:
7523 * hildon-1/src/hildon-set-password-dialog.c:
7524 Set atk_set_name to the passwd entries in order to allow
7525 accessibility by name on this entries.
7527 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7532 * debian/control: Updating gtk dep.
7534 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7536 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7537 USE_MAEMO_GTK is enabled.
7539 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7541 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7542 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7544 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7550 * debian/changelog: Updating.
7552 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7554 * examples/Makefile.am:
7555 * examples/hildon-logical-color-example.c:
7556 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7557 applied + adding a test case. Fixes: NB#71660.
7559 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7561 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7562 to be visible, fixes warning on map for windows without toolbars.
7564 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7566 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7567 2.11.0, add a check for that besides the MAEMO_GTK check.
7569 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7575 * debian/changelog: Updating.
7577 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7579 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7580 visibility. Fixes: NB#70842 and MB#615.
7582 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7584 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7585 set the separator as no-show-all so it doesn't unintentionally appear when
7586 someone does a show_all.
7588 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7590 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7591 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7592 toplevel item. Fixes: NB#62031
7594 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7596 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7597 fix the name of the function in the docs.
7599 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7605 * debian/changelog: Updating.
7607 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7609 * examples/hildon-banner-long-example.c: Adding a test-case for long
7612 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7614 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7616 * src/hildon-color-chooser-dialog.c:
7617 * src/hildon-color-chooser.c:
7618 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7619 memory leaks in font selector and color selector. Fixes: NB#70499 and
7622 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7624 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7626 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7628 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7629 little bit bigger. Fixes: #NB63694.
7631 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7637 * debian/changelog: Updating.
7639 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7642 * doc/hildon-docs.sgml:
7643 * doc/images/bread-crumb-trail.png:
7644 * doc/images/calendar-popup.png:
7645 * doc/images/caption.png:
7646 * doc/images/code-dialog.png:
7647 * doc/images/color-button.png:
7648 * doc/images/color-chooser-dialog.png:
7649 * doc/images/color-chooser.png:
7650 * doc/images/controlbar.png:
7651 * doc/images/date-editor.png:
7652 * doc/images/font-selection-dialog.png:
7653 * doc/images/get-password-dialog.png:
7654 * doc/images/hvolumebar.png:
7655 * doc/images/login-dialog.png:
7656 * doc/images/note.png:
7657 * doc/images/number-editor.png:
7658 * doc/images/range-editor.png:
7659 * doc/images/seekbar.png:
7660 * doc/images/set-password-dialog.png:
7661 * doc/images/sort-dialog.png:
7662 * doc/images/time-editor.png:
7663 * doc/images/time-picker.png:
7664 * doc/images/vvolumebar.png:
7665 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7666 Adding the bread-crumb-trial and helpers to the documentation.
7668 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7670 * examples/hildon-find-toolbar-example.c:
7671 * src/hildon-find-toolbar.c:
7672 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7673 actually continue firing the other handlers if connected. Adding a new
7675 hildon_find_toolbar_get_last_index that gets the index of the most
7676 recently added (last) item. Fixes: NB#52301.
7678 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7680 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7681 behaviour. Fixes: NB#68610.
7683 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7685 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7688 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7690 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7691 when realizing the banner. Should make the infonbanner effect a bit more
7694 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7696 * src/hildon-volumebar.c:
7697 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7698 hildon_volumebar_set_range_insensitive_message and
7699 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7701 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7703 * src/hildon-window.c: Fixing the border freeing on destroy.
7705 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7707 * src/hildon-code-dialog-private.h:
7708 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7709 kw keyboard support in HildonCodeDialog.
7711 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7717 * debian/changelog: Updating.
7719 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7721 * src/hildon-date-editor.c:
7722 * src/hildon-number-editor.c:
7723 * src/hildon-private.c:
7724 * src/hildon-private.h:
7725 * src/hildon-time-editor.c:
7726 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7727 handling in subclassed composite widgets. Fixes: NB#66628.
7729 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7731 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7732 from destroy_ callback as it introduces problems in async dbus signal
7733 handlers. Fixes NB#66673.
7735 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7737 * examples/hildon-hvolumebar-example.c:
7738 * src/hildon-volumebar.c: Improving the focus handling in the
7739 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7740 set_property accessor so that "mute" property can be actually set. I'm
7741 scared that nobody noticed it's totally broken.
7743 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7745 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7748 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7750 * src/hildon-calendar.c:
7751 * src/hildon-number-editor.c:
7752 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7753 matches the spec of 6 chars per second. Fixes: NB#60489.
7755 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7757 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7758 gtk_style_lookup_color sometime returns FALSE even though color was
7759 found and values were filled properly. Weird. Removing the warning for the
7762 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7764 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7765 expand vertically. Adding some extra space to the find toolbar buttons to
7766 make them thumbable. Fixes NB#66060.
7768 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7770 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7771 popup with "Ok" and "Cancel". Fixes NB#59299.
7773 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7775 * src/hildon-calendar.c: Process all window updates before executing next
7776 timeout. Fixes: NB#54146.
7778 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7784 * debian/changelog: Updating.
7786 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7788 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7789 the client event and ignore it, since we use the delete event to close
7792 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7794 * src/hildon-helper.c: Remove the bogus warning about color not being
7795 found. Fixes NB#58352.
7797 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7799 * examples/Makefile.am:
7800 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7801 HildonSeekbar widget inside a toolbar.
7803 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7805 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7806 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7807 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7808 don't want to be closed by non-temporary windows on map.
7810 Also use G_DEFINE_TYPE instead of manually typed code.
7812 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7819 * debian/rules: Updating.
7821 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7823 * examples/Makefile.am:
7824 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7825 bug NB#61128. Strangely it works.
7827 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7829 * src/hildon-date-editor.c: When the date editor entry has been changed
7830 but the numbers of characters < max, turn off the skip validation flag.
7831 Prevents a situation when we enter first a valid year and later re-write
7832 it with an invalid one. Fixes NB#60154.
7834 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7836 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7837 code dialog. Fixes NB#64355.
7839 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7841 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7842 switching the page. Fixes NB#49374.
7844 * examples/Makefile.am:
7845 * examples/hildon-wizard-dialog-example.c: Adding an example for
7846 HildonWizardDialog that shows how to handle manual sensitivity setting on
7849 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7853 * src/hildon-version.h.in:
7854 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7856 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7858 * src/hildon-volumebar.c: Updating the docs.
7860 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7866 * debian/changelog: Updating.
7868 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7870 * src/hildon-find-toolbar.c:
7871 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7872 selected item: hildon_find_toolbar_set_active,
7873 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7874 hildon_find_toolbar_get_active_iter . They correspond to respective
7875 GtkComboBox functions.
7877 * examples/Makefile.am:
7878 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7881 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7883 * examples/Makefile.am:
7884 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7887 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7888 when font size > 32 and we pack a focusable widget inside. Actually using
7889 the default response would work too, but since we don't show default
7890 response state in any way (no theming) it would not be visible to the
7891 user. Fixes NB#63430.
7893 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7895 * src/hildon-date-editor.c: Adding the missing variable setter in the
7896 set_property handler. Fixes NB#54182.
7898 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7900 * src/hildon-window.h: Changing the long key press time from 1500ms to
7901 800ms as requested in NB#63700. I have a bad feeling about this, let's
7902 see... Fixes NB#63700.
7904 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7906 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7907 hildon_time_picker_map, hildon_time_picker_realize,
7908 hildon_time_picker_style_set): Split the contents of map to more
7909 appropriate functions; set window decorations on realize and update
7910 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7912 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7917 * debian/changelog: Updating.
7919 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7921 * src/Makefile.am: fixed installation of the header files
7923 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7929 * debian/changelog: Updating.
7931 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7933 * configure.ac: Removing some remaining of --enable-xan.
7935 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7937 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7938 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7940 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7941 2.10.12-osso6 because the move-focus signal needs to be available in
7944 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7946 * examples/Makefile.am:
7947 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7948 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7949 fine. Prolly NB#61128 is fixed now.
7951 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7953 * src/hildon-volumebar.c:
7954 * src/hildon-volumebar.h: Adding the
7955 hildon_volumebar_set_range_insensitive_message and
7956 hildon_volumebar_set_range_insensitive_messagef functions to set
7957 insensitive message on the slider of the volumebar. Fixes NB#61129.
7959 * examples/Makefile.am:
7960 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7961 test the new insensitive messsage functionality on HildonVolumebar.
7963 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7965 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7968 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7970 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7971 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7972 button on after clearing the trail.
7974 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7976 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7978 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7980 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7981 by splitting the installed headers in generated and non-generated groups. Use
7982 only the non-generated headers to create the hildon-enum-types.h file.
7984 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7986 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7988 * src/hildon-window.c: Hide the window before performing the destroy.
7989 Should make the app closing a little tiny bit more snappy.
7991 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7993 * src/hildon-seekbar.c: add gtkrange.h header
7994 * src/hildon-caption.c: remove unused variable
7996 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7998 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8001 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8007 * debian/changelog: Updating.
8009 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8011 * src/hildon-window.c (hildon_window_window_state_event,
8012 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8013 escape timeout on focus-out-event rather than notify::is-topmost; the
8014 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8016 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8018 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8019 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8021 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8023 * src/hildon-window: actually, you need to use the macro always, there's
8024 no private pointer in the instance structure. We should have cleaned this up
8025 when we had the chance...
8027 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8029 * src/hildon-window.c: do not get the private date from HildonWindow before
8030 it passes the g_return_if_fail check. Once it's passed the test, there's no
8031 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8032 if you are only going to access the data once. Whitespace cleanups.
8034 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8036 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8037 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8039 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8045 * debian/changelog: Updating.
8047 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8049 * src/hildon-window.c: When destroying the window, remove (if exists) the
8050 escape timeout handler. Fixes #NB59276.
8052 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8054 * src/hildon-banner.c: When realizing the widget, set the window
8055 transiency. Setting the transiency in the gobject constructor is not
8056 good, as the widget is not realized at that point. Fixes: #NB56624.
8058 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8060 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8061 Add padding for future expansions.
8063 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8065 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8066 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8067 will fake an activation on the previous to the last item of the trail, so
8068 the effect can be overrided by the developer as usual.
8069 Also change the callback for the back button to do the same thing, so its
8070 effect can be overrided too. Fixes: NB#58982
8072 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8074 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8075 HildonCaption. Fixes NB#52379.
8077 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8079 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8080 the internal state of the trail after the user has had the chance of executing
8081 his handler for the signal. Specifically, it may happen that the activated button
8082 is removed and the user still lets the default handler run. This would segfault
8085 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8087 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8088 scrollbar to the preview dialog. Fixes NB#54147.
8090 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8092 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8093 max/min year properties can be altered, so the client can modify it
8094 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8096 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8098 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8099 hildonlike by default. Fixing a problem with disappearing arrows when
8100 scrolling through months and years. Fixes NB#54127.
8102 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8104 * examples/hildon-date-editor-example.c: Adding error callback to the date
8107 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8113 * configure.ac: Updating.
8115 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8117 * configure.ac: Adding a special '--enable-xan' configure option that
8118 turns off the -Werror compilation setting. Usefull for development.
8120 * src/hildon-calendar.c:
8121 * src/hildon-number-editor.c:
8122 * src/hildon-time-picker.c: Adding the 5* multiplier to
8125 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8127 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8128 instead of g_object_ref + gtk_object_sink.
8130 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8136 * debian/changelog: Updating.
8138 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8140 * src/hildon-color-chooser-dialog.c:
8141 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8142 straight from Tommi labs.
8144 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8146 * examples/hildon-finger-example.c: Correcting the header file path.
8148 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8149 the changed signal. Fixes a small memory leak.
8151 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8155 * src/hildon-banner.c: Importing several usefull fixes from the
8156 ubuntu-mobile branch.
8158 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8160 * examples/Makefile.am:
8161 * examples/hildon-finger-example.c: Adding a finger-checking code
8164 * src/hildon-font-selection-dialog.c: Do not allocate the color
8165 structure using the g_new. Fixes NB#54061.
8167 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8169 * src/hildon-helper.c: Correcting tabs in file.
8171 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8173 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8174 control the visibility of the children.
8176 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8178 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8184 * debian/changelog: Updating.
8186 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8188 * src/hildon-bread-crumb-trail.c:
8189 (hildon_bread_crumb_trail_size_allocate):
8191 Make the back button always a square.
8193 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8195 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8196 from the .c file as it's a private file.
8198 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8200 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8201 uses slightly bigger height.
8203 * src/hildon-font-selection-dialog.c: Adding some checks before
8204 freeing memory in the font selection dialog.
8206 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8208 * src/hildon-font-selection-dialog.c: Adding a small check when
8211 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8212 buttons sensitivity on page switching.
8214 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8216 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8217 internal details of adding a bread crumb to the trail.
8219 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8225 * debian/changelog: Updating.
8227 * src/hildon-bread-crumb-trail.h:
8228 * src/hildon-bread-crumb.h: Changing the API guard to
8229 HILDON_ENABLE_UNSTABLE_API.
8231 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8239 * src/hildon-helper.h: Updating.
8241 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8249 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8253 * src/hildon-helper.h: Small fix to make the package actually compile.
8255 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8257 * src/hildon-bread-crumb-trail.h:
8258 * src/hildon-bread-crumb.h:
8260 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8261 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8263 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8265 * examples/hildon-bread-crumb-trail-example.c:
8267 * src/hildon-bread-crumb-trail.c:
8268 * src/hildon-bread-crumb-trail.h:
8269 * src/hildon-bread-crumb.c:
8270 * src/hildon-bread-crumb.h:
8271 * src/hildon-marshalers.list:
8272 * src/hildon-bread-crumb-widget.c:
8273 * src/hildon-bread-crumb-widget.h:
8275 Slight change in the widget design. The bread crumb trail API is
8276 unchanged, but HildonBreadCrumb is now an interface. A *private*
8277 implementation, hildon-bread-crumb-widget, is provided and used
8278 internally by the trail for the push_text/push_icon functions.
8280 The generic push API is still available, so anyone can implement
8281 and use its own bread crumb widget.
8283 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8285 * debian/rules: Fixing the shlibs.
8287 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8289 * src/hildon-banner.c: Fixing a problem with timed banners having
8290 their parrent destroyed before they are.
8292 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8294 * src/hildon-bread-crumb.c:
8295 * src/hildon-bread-crumb.h:
8297 Make the get_natural_size function a vfunc.
8299 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8301 * src/hildon-bread-crumb.c:
8302 * src/hildon-bread-crumb-trail.c:
8306 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8313 * debian/changelog: Updating for release.
8315 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8317 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8318 don't leak the pango layout.
8320 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8323 * examples/hildon-bread-crumb-trail-example.c:
8327 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8329 * debian/changelog: Removing the bug-fixed entries that were actually
8330 resolved as WONTFIX.
8332 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8335 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8337 * src/hildon-bread-crumb-trail.c:
8338 * src/hildon-bread-crumb-trail.h:
8339 * src/hildon-bread-crumb.c:
8340 * src/hildon-bread-crumb.h:
8344 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8346 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8347 until it's passed the type check.
8349 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8351 * examples/hildon-bread-crumb-trail-example.c
8355 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8357 * examples/Makefile.am
8358 * examples/hildon-bread-crumb-trail-example.c
8360 * src/hildon-bread-crumb-trail.c
8361 * src/hildon-bread-crumb-trail.h
8362 * src/hildon-bread-crumb.c
8363 * src/hildon-bread-crumb.h
8365 New HildonBreadCrumbTrail widget.
8367 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8369 * src/hildon-range-editor.c (hildon_range_editor_init),
8370 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8371 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8372 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8373 hildon_time_editor_class_init, hildon_time_editor_init),
8374 src/hildon-get-password-dialog.c (invalid_input,
8375 hildon_get_password_set_property, hildon_get_password_get_property,
8376 create_contents, hildon_get_password_dialog_set_max_characters),
8377 src/hildon-set-password-dialog.c (create_contents),
8378 src/hildon-date-editor.c (hildon_date_editor_init),
8379 src/hildon-login-dialog.c (hildon_login_dialog_init),
8380 src/hildon-number-editor.c (hildon_number_editor_init),
8381 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8382 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8383 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8384 configure option and adding the respective checks in the code.
8385 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8386 hildon_calendar_drag_data_received): fixed some build warnings.
8388 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8390 * debian/changelog: A 1.0.0 release notes.