1 2009-06-08 Alberto Garcia <agarcia@igalia.com>
3 * examples/hildon-banner-example.c:
5 (on_animation_clicked, on_animation_idle)
6 (on_progress_clicked, on_progress_idle):
7 Add additional reference for the cases when the parent window is
10 2009-06-08 Alberto Garcia <agarcia@igalia.com>
12 * doc/hildon-sections.txt
13 * hildon/hildon-pannable-area.c
14 * hildon/hildon-banner.h
15 * hildon/hildon-banner.c: Documentation updates.
17 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
20 2009-06-05 Alejandro G. Castro <alex@igalia.com>
22 * hildon/hildon-calendar-popup.h:
23 * hildon/hildon-caption.h:
24 * hildon/hildon-code-dialog.h:
25 * hildon/hildon-controlbar.h:
26 * hildon/hildon-date-editor.h:
27 * hildon/hildon-dialog.h:
28 * hildon/hildon-get-password-dialog.h:
29 * hildon/hildon-hvolumebar.h:
30 * hildon/hildon-login-dialog.h:
31 * hildon/hildon-note.h:
32 * hildon/hildon-number-editor.h:
33 * hildon/hildon-range-editor.h:
34 * hildon/hildon-seekbar.h:
35 * hildon/hildon-set-password-dialog.h:
36 * hildon/hildon-sort-dialog.h:
37 * hildon/hildon-time-editor.h:
38 * hildon/hildon-time-picker.h:
39 * hildon/hildon-volumebar-range.h:
40 * hildon/hildon-volumebar.h:
41 * hildon/hildon-vvolumebar.h:
42 * hildon/hildon-weekday-picker.h:
43 * hildon/hildon-window.h:
44 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
45 macros with the current replacements
47 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
49 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
51 * hildon/hildon-color-button.c (hildon_color_button_init): Use
52 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
53 itself, to make it fit better with Fremantle style.
55 Fixes: NB#109878 (height and width of focus on color icon is not
56 consistent with other item in the application tool bar)
58 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
60 * hildon/hildon-touch-selector.c:
61 (hildon_touch_selector_optimal_size_request): use the current requisition
62 as the base, in order to include any possible extra widget, like the
63 hildon entry on HildonTouchSelectorEntry
65 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
67 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
69 * configure.ac: post release version bump
70 * debian/changelog: post release version bump
72 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
77 * configure.ac: Bump version.
78 * debian/changelog: Updates.
80 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
82 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
84 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
85 to ensure the banner contents are centered, instead of relying on
86 the expand and fill properties in GtkHBox.
87 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
89 Fixes: NB#108265 (Animation banner not properly centered)
91 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
93 * hildon/hildon-pannable-area.c
94 (hildon_pannable_area_initial_effect): Remove the initial_effect
95 management, check initial_hint
96 (hildon_pannable_are_expose_event): Remove the initial_hint management,
97 set initial_effect to FALSE
98 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
99 by launching the fade_timeout if the scrollbars state has changed and are
101 * examples/hildon-pannable-area-initial-hint-example.c
102 Modified to allow to remove rows too. Add and remove rows one by one.
104 2009-05-28 Alberto Garcia <agarcia@igalia.com>
106 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
107 Don't close the menu if there's an animation actor below it.
109 Fixes: NB#117927 (Application menu not usable with animation
112 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
114 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
115 "focus-on-click" from the dialog button, to avoid stealing the
116 focus from the entry.
118 Fixes: NB#118903 (Account setup wizard: Text in Search field
119 should be focused when "Region" touch list picker is reopened
122 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
124 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
125 (prepare_action_area): Completely hide the dialog separator.
127 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
129 * hildon/hildon-touch-selector-entry.c
130 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
131 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
132 now that the entry is exposed.
134 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
136 * hildon/hildon-touch-selector-entry.c
137 (hildon_touch_selector_entry_init): Change the entry's size
138 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
140 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
142 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
143 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
144 avoid unnecessary scaling.
146 2009-05-27 Alberto Garcia <agarcia@igalia.com>
148 * hildon/hildon-app-menu.c (hildon_app_menu_map):
149 Create grab transfer window before calling parent's map function.
151 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
152 "crushed" button(s) in the top left corner)
154 2009-05-26 Alberto Garcia <agarcia@igalia.com>
156 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
157 Check if the window is already realized when pushing it.
159 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
161 * configure.ac: post release version bump
162 * debian/changelog: post release version bump
164 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
169 * configure.ac: Bump version.
170 * debian/changelog: Updates.
172 2009-05-25 Alberto Garcia <agarcia@igalia.com>
174 * hildon/hildon-app-menu.c: Doc updates.
176 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
178 * hildon/hildon-banner.c: Remove leftover macro.
180 2009-05-25 Alejandro G. Castro <alex@igalia.com>
182 * hildon/hildon-pannable-area.c,
183 (hildon_pannable_area_scroll_indicator_fade),
184 (hildon_pannable_area_button_release_cb): Reviewed vmin
185 conditions, it could cause problems in the fadeout procedure.
187 2009-05-25 Alejandro G. Castro <alex@igalia.com>
189 * hildon/hildon-pannable-area.c
190 (hildon_pannable_area_button_release_cb): Added a threshold to
191 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
193 2009-05-25 Alejandro G. Castro <alex@igalia.com>
195 * hildon/hildon-pannable-area.c,
196 (hildon_pannable_area_set_property): Added code to sync the gtk
197 dnd threshold with the panning threshold.
199 2009-05-25 Alejandro G. Castro <alex@igalia.com>
201 * hildon/hildon-pannable-area.c,
202 (hildon_pannable_area_class_init): Changed some of the default
203 values, now it should be less responsive and more accurate.
205 2009-05-25 Alejandro G. Castro <alex@igalia.com>
207 * hildon/hildon-pannable-area.c,
208 (hildon_pannable_area_init),
209 (hildon_pannable_area_scroll_indicator_fade),
210 (hildon_pannable_area_button_press_cb),
211 (hildon_pannable_axis_scroll),
212 (hildon_pannable_area_timeout),
213 (hildon_pannable_area_motion_notify_cb),
214 (hildon_pannable_area_button_release_cb): Changed the name of the
215 clicked attribute to button_pressed, it is more clear about its use.
217 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
219 * src/hildon-pannable-area.c
220 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
222 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
223 vertical scrollbar visibility, and use the data on private section instead,
224 remove the initial_hint check
225 (hildon_pannable_area_expose_event): add the initial_hint check here
227 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
229 * src/hildon-pannable-area.c
230 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
231 if the fadeout effect was used
232 (hildon_pannable_area_expose_event): check if it is required to
233 manage the initial effect on the begining of the function. Previously
234 it was made at the end, but this doesn't ensure that the scrollbars
235 will be painted on the first show. Do not set to FALSE initial_effect,
236 to ensure that the initial hint is showed the first time the pannable
238 * examples/Makefile.am
239 * examples/hildon-pannable-area-initial-hint-example.c:
240 New example, to show that the initial-hint is showed when the widget
243 Fixes: NB#116607 (Pannable area should always have scrollbar visible
244 initially if the application can be scrolled)
246 2009-05-25 Alberto Garcia <agarcia@igalia.com>
248 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
249 Resize table before adding new items to make sure that
250 gtk_table_resize() is called just once.
252 2009-05-25 Alberto Garcia <agarcia@igalia.com>
254 * hildon/hildon-app-menu-private.h
255 * hildon/hildon-app-menu.c (item_visibility_changed)
256 (filter_visibility_changed, hildon_app_menu_show_all)
257 (hildon_app_menu_hide_all, hildon_app_menu_init):
258 Rearrange items just once when gtk_widget_show_all()/hide_all()
261 2009-05-25 Alberto Garcia <agarcia@igalia.com>
263 * hildon/hildon-app-menu.c
264 (hildon_app_menu_insert, hildon_app_menu_add_filter):
265 Don't call gtk_widget_show() on added items.
267 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
268 automatically when they're added)
270 2009-05-20 Alberto Garcia <agarcia@igalia.com>
272 * hildon/hildon-banner.c
273 (hildon_banner_realize, +hildon_banner_unrealize)
274 (+screen_size_changed, hildon_banner_class_init):
275 Redisplay the banner if the screen is rotated.
277 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
278 on transition from landscape to portrait)
280 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
282 * hildon/hildon-banner.[ch]:
283 (hildon_banner_show_information_override_dnd): remove icon_name from the
284 method definition as it is ignored.
285 * examples/hildon-banner-dnd-example.c: updated with the change on
288 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
290 * hildon/hildon-banner-private.h: new require_override_dnd and
291 overrides_dnd variables
292 * hildon/hildon-banner.h:
293 (hildon_banner_show_information_override_dnd): new method, that shows
294 the information but sets the override flag, in order to show important
296 * hildon/hildon-banner.c
297 (hildon_banner_show_information_override_dnd): new method
298 (hildon_banner_set_override_flag): new utility function
299 (hildon_banner_real_show_information): new utility function, in order to
300 generalize the current hildon_banner_show_information_override_dnd and
301 hildon_banner_show_information_override_dnd
302 * examples/Makefile.am
303 * examples/hildon-banner-dnd-example.c: New example that show how to
304 use the new hildon_banner_show_information_override_dnd
306 Fixes: NB#114874 (There is no possibility to show hildon banners with
309 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
311 * hildon/hildon-pannable-area.c: Add a comment explaining the math
312 behind hildon_pannable_calculate_vel_factor().
314 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
316 * hildon/hildon-pannable-area.c
317 (hildon_pannable_calculate_vel_factor): Correct the sum of the
318 deceleration factors.
320 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
322 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
323 Reduce the default value for 'scroll_time' to 1 second, since the
324 current initial scrolling takes too much time.
326 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
328 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
329 calculate velocity factor during initialization, since the properties
332 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
334 * hildon/hildon-pannable-area.c
335 (hildon_pannable_area_set_property): Calculate the velocity factor
336 after setting the deceleration property and not after.
338 2009-05-20 Alberto Garcia <agarcia@igalia.com>
340 * hildon/hildon-entry.c
341 (hildon_entry_class_init, +set_property, hildon_entry_new)
342 * hildon/hildon-check-button.c
343 (hildon_check_button_class_init)
344 (+set_property, hildon_check_button_new):
345 Make the theme size a property.
347 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
348 others) do too much in the _new function)
350 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
352 * configure.ac: post release version bump
353 * debian/changelog: post release version bump
355 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
360 * configure.ac: Bump version.
361 * debian/changelog: Updates.
363 2009-05-15 Alberto Garcia <agarcia@igalia.com>
365 * hildon/hildon-gtk.h
366 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
367 New API function to take a screenshot of a window
369 Fixes: NB#106374 (Need API to take a loading screenshot)
371 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
373 * hildon/hildon-time-selector.c
374 (update_format_policy): prevent to use hours and minutes unitialized
376 2009-05-15 Alberto Garcia <agarcia@igalia.com>
378 * hildon/hildon-window.c (hildon_window_size_request):
379 Always request the full size of the screen (minus the title bar if
380 not in fullscreen mode).
382 Fixes: NB#107486 (HildonWindow should size itself properly)
384 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
386 * hildon/hildon-note-private.h: Add idle_handler to the private data.
387 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
388 (on_show_cb), (sound_handling): Disconnect the idle handler for
389 the sound when the note is finalized to avoid possible crashes.
391 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
394 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
396 * src/hildon-animation-actor.c,
397 * src/hildon-remote-texture.c:
398 Added proper object cleanup to remove signal handler and object
399 references as HildonAnimationActor and HildonRemoteTexture
400 objects get destroyed.
402 Fixes: NB#116682 (Destroying parented animation actors when
403 parent in unmapped leads to crash)
405 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
407 Based on a patch by Christian Dywan (christian@imendio.com)
409 * doc/hildon-sections.txt:
410 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
411 * hildon/hildon-helper.h: New file size formatting method.
413 * debian/control: Depend on osso-filemanager l10n package for
414 proper localization strings.
416 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
418 * tests/Makefile.am: Include top_srcdir to make possible to build
419 tests in a different builddir.
420 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
421 on a different builddir.
423 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
425 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
426 (hildon_touch_selector_remove): Disconnect model's signal handler
429 Fixes: NB#116289 (Hildon home crashes while adding task
432 2009-05-11 Alberto Garcia <agarcia@igalia.com>
434 * hildon/hildon-button.c
435 (hildon_button_set_title, hildon_button_set_value):
436 Hide labels containing an empty string.
438 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
440 * configure.ac: post release version bump
441 * debian/changelog: post release version bump
443 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
448 * configure.ac: Bump version.
449 * debian/changelog: Updates.
451 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
453 * hildon/hildon-note-private.h: Removed sound_signal_handler
454 * hildon/hildon-note.c
455 (on_show_cb): new callback on note "show" event, this simply adds
456 a idle, with the function sound_handling
457 (sound_handling): removed the sound_signal_handler management
458 (hildon_note_init): connect note "show" event to on_show_cb
459 (hildon_note_realize): remove the connection to "expose-event"
461 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
462 device?' confirmation note)
464 2009-05-08 Alberto Garcia <agarcia@igalia.com>
466 * hildon/hildon-note.c
467 (hildon_note_new_information_with_icon_name)
468 (hildon_note_new_confirmation_with_icon_name):
469 Terminate the list of parameters in g_object_set() calls
471 Fixes: NB#115166 (Formatting memory card is not taking place)
473 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
475 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
476 "dialog-information" role for the sound being played.
478 2009-05-06 Alberto Garcia <agarcia@igalia.com>
480 * hildon/hildon-app-menu.c (hildon_app_menu_init):
481 Don't make the menu a modal window, it causes strange interactions
482 with the pointer grab and it's not really needed.
484 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
486 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
488 * hildon/hildon-touch-selector.[ch]
489 (hildon_touch_selector_optimal_size_request): function added to get a
490 optimal size request from the touch selector, when you want a dialog to
491 show as much of the selector
492 * hildon/hildon-picker-dialog.c:
493 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
494 (hildon_app_menu_class_init):
495 New "max-height-landscape" and "max-height-portrait" style properties
496 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
497 (hildon_picker_dialog_get_max_height): returns the maximum height using
498 the style properties defined and checking the current portrait/landscape
500 (_hildon_picker_dialog_set_selector): removed the set_size_request
502 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
504 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
506 * hildon/hildon-bread-crumb-trail.c:
507 * hildon/hildon-bread-crumb.c:
508 * hildon/hildon-seekbar.c:
509 Add reference to replacements for these deprecated widgets.
511 Fixes: MB#4461 (Documentation: All deprecations should mention
514 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
516 * examples/hildon-remote-texture-example.c
518 Change the include to the hildon-remote-texture in order to compile
519 properly the examples on the installed libhildon1-examples package
521 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
523 * tests/Makefile.am: Add check for HildonPickerButton.
524 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
525 (START_TEST), (create_hildon_picker_button_suite): Add three simple
526 checks for the HildonPickerButton.
527 * tests/check_test.c (configure_tests): Add the test suite.
528 * tests/test_suites.h: likewise.
530 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
532 * hildon/hildon-touch-selector.c
533 (+on_row_changed): Emit HildonTouchSelector:changed when the
534 contents of a selected row change.
535 (_create_new_column), (_hildon_touch_selector_set_model): connect
536 to GtkTreeModel:row-changed on a newly set model.
538 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
540 2009-05-05 Alberto Garcia <agarcia@igalia.com>
542 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
544 * hildon/hildon-banner.c (hildon_banner_destroy)
545 (hildon_banner_show_progress, hildon_banner_set_fraction):
546 Remove the progress bar from HildonBanner and use a progress
549 Fixes: NB#113761 (Update progress banner to use progress
552 2009-05-04 Alberto Garcia <agarcia@igalia.com>
554 * hildon/hildon-banner.c:
555 Calculate size of the banner label using the actual screen width
556 rather than using a fixed value.
558 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
561 2009-05-04 Alejandro G. Castro <alex@igalia.com>
563 * hildon/hildon-pannable-area.c,
564 (hildon_pannable_area_class_init): Fixed signals documentation
567 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
569 * configure.ac: post release version bump
570 * debian/changelog: post release version bump
572 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
577 * configure.ac: Bump version.
578 * debian/changelog: Updates.
580 2009-05-01 Alberto Garcia <agarcia@igalia.com>
582 * hildon/hildon-edit-toolbar.c
583 (hildon_edit_toolbar_init):
584 Don't let buttons in HildonEditToolbar receive focus.
586 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
587 typing on an HW arrows key)
589 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
591 * doc/Makefile.am: Fix build.
593 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
595 * doc/Makefile.am: Do not redefine content_files.
597 2009-04-30 Alberto Garcia <agarcia@igalia.com>
605 Renamed src/ to hildon/
610 Include <hildon/hildon.h> directly in all examples.
612 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
614 * src/hildon-sort-dialog.c
615 (hildon_sort_dialog_add_sort_key_with_sorting)
619 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
621 * src/Makefile.am: Move generated sources to CLEANFILES, so that
622 make distcheck passes.
624 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
626 * Makefile.am: Enable gtk-doc during distcheck.
628 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
630 * Makefile.am: Do not distribute the debian/ directory.
632 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
634 * doc/Makefile.am: Add the extra SGML files to content_files,
635 so that they are distributed properly.
637 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
639 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
642 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
644 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
645 (hildon_note_new_information_with_icon_name): Set the "icon" property
646 to preserve soundness.
648 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
650 * src/hildon-font-selection-dialog.c
651 (hildon_font_selection_dialog_set_property): Fail when the "family"
652 property is set to NULL.
654 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
656 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
659 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
661 * src/hildon-time-selector.h:
662 Added HildonTimeSelectorFormatPolicy
663 * src/hildon-time-selector.c:
664 Added PROP_TIME_FORMAT_POLICY
665 (_check_ampm_format): renamed to check_automatic_ampm_format
666 (update_format_policy), (update_format_dependant_columns): new functions
667 (hildon_time_selector_class_init)
668 (hildon_time_selector_contructor)
669 (hildon_time_selector_init)
670 (hildon_time_selector_get_property)
671 (hildon_time_selector_set_property)
672 (hildon_time_selector_get_time)
673 (hildon_time_selector_set_time)
674 * src/hildon-touch-selector.h: new file
675 * src/hildon-touch-selector.c
676 (hildon_touch_selector_emit_changed)
677 (hildon_touch_selector_block_changed)
678 (hildon_touch_selector_unblock_changed)
679 Added functions to allow to block the emission of the "changed" signal
680 * src/hildon-picker-dialog.c
681 (hildon_picker_dialog_show): call the parent show before the custom code
682 * examples/hildon-time-button-example.c
683 Modified, so now you can configure the time format using the new property
685 Added a new property "time-format-policy" that allow to choose the time
686 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
687 case it uses gconf in order to check if the time selector must use
690 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
693 2009-04-28 Alberto Garcia <agarcia@igalia.com>
695 * src/hildon-note.c (hildon_note_init):
696 Label in HildonNote must be left aligned, not centered. This
697 reverts the last commit in HildonNote.
699 Fixes: NB#112933 (text is not left aligned in confirmation dialog
700 is connectivity dialog)
702 2009-04-27 Alberto Garcia <agarcia@igalia.com>
707 * doc/hildon-sections.txt:
708 Added hildon_gtk_window_set_do_not_disturb()
710 2009-04-27 Alberto Garcia <agarcia@igalia.com>
712 * src/hildon-note.c (hildon_note_init): Center label.
714 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
717 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
722 * configure.ac: Bump version.
723 * debian/changelog: Updates.
725 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
727 * src/hildon-note-private.h: Add button-width to the private data.
728 * src/hildon-note.c (+resize_button),
729 (+hildon_note_orientation_update): methods to repack widgets on orientation
731 (screen_size_changed): Call above method for confirmation notes.
732 (hildon_note_realize): Always connect to the "screen-size" changed signal.
733 (hildon_note_rebuild): Store the original width request from buttons.
735 Fixes: NB#109635 (Confirmation notes do not support portrait)
737 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
739 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
740 when it is a progress note.
742 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
744 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
745 in the note, since there are no horizontally arranged contents.
747 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
749 * src/hildon-gtk.c (+set_flag): new generic method to
750 set/delay a flag setting in a window.
751 (hildon_gtk_window_set_progress_indicator):
752 (hildon_gtk_window_set_do_not_disturb),
753 (hildon_gtk_window_set_portrait_flags): use set_flag() to
754 avoid code redundance.
756 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
758 Based on a patch by Alberto Garcia (agarcia@igalia.com)
760 * src/hildon-gtk.c (set_clear_window_flag),
761 (do_set_progress_indicator), (do_set_do_not_disturb),
762 (do_set_portrait_flags),
763 (hildon_gtk_window_set_progress_indicator),
764 (hildon_gtk_window_set_do_not_disturb),
765 (hildon_gtk_window_set_portrait_flags):
766 Allow setting dnd-flag, progress indicator, and portrait flags
767 when the window is not realized.
769 2009-04-24 Alejandro G. Castro <alex@igalia.com>
771 * src/hildon-pannable-area.c,
772 * src/hildon-pannable-area.h: Add the hildon deprecated define to
773 the size request policy function and defines.
775 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
777 * doc/hildon-sections.txt: Add the new API.
778 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
779 method to set the portrait flags.
780 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
782 Fixes: NB#112328 (Adding helpers for setting portrait properties)
784 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
786 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
787 to allow using this method with other flags.
788 (hildon_gtk_window_set_progress_indicator): Update accordingly.
789 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
791 2009-04-22 Alberto Garcia <agarcia@igalia.com>
793 * src/hildon-touch-selector.c
794 (hildon_touch_selector_append_text_column):
795 Make the cell renderer use the smallest width possible.
797 Fixes: NB#108470 (Selected items in multiple selection are either
798 having a tick that is cut or not visible at all.)
800 2009-04-22 Alberto Garcia <agarcia@igalia.com>
802 * src/hildon-touch-selector.c
803 (hildon_touch_selector_append_text_column):
806 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
808 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
809 Use g_strdup_printf() instead of a fixed size buffer.
811 2009-04-21 Alberto Garcia <agarcia@igalia.com>
813 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
814 Close banners when a HildonAppMenu is popped up.
816 Fixes: NB#111027 (Title menu closed immediately if activated when
817 "Invalid e-mail address" banner is shown)
819 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
824 * configure.ac: Bump version.
825 * debian/changelog: Updates.
827 2009-04-20 Alberto Garcia <agarcia@igalia.com>
829 * src/hildon-banner.c (hildon_banner_realize):
830 Mark HildonBanner as supporting portrait mode.
831 Use GDK to set window properties insetad of direct Xlib calls.
833 Fixes: NB#111830 (HildonBanner should be marked as supporting
836 2009-04-20 Alberto Garcia <agarcia@igalia.com>
838 * src/hildon-note.c (hildon_note_rebuild):
839 Hide action area in information notes. Prevents text from being
840 slightly aligned to the left.
842 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
845 2009-04-20 Alberto Garcia <agarcia@igalia.com>
847 Patch by Mox Soini (ext-mox.soini@nokia.com)
849 * src/hildon-banner.c (hildon_banner_create_animation):
850 Use stylus-sized icons in animation banner.
852 Fixes: NB#111206 (stylus sized icon for animation banner)
854 2009-04-20 Alberto Garcia <agarcia@igalia.com>
858 (+hildon_gtk_window_set_do_not_disturb):
859 New API to set the do-not-disturb flag.
861 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
863 2009-04-20 Alberto Garcia <agarcia@igalia.com>
865 * examples/hildon-progress-indicator-example.c: Fix example
867 * src/hildon-gtk.c (set_clear_window_flag)
868 (hildon_gtk_window_set_progress_indicator):
869 Create a generic function for setting flags to a window.
870 Use GDK instead of direct Xlib calls.
872 2009-04-14 Alberto Garcia <agarcia@igalia.com>
874 * src/hildon-button.c (hildon_button_set_arrangement):
875 Due to NB#88126, if one of the labels is too long it will be
876 painted outside the button. The 'value' label is more likely to be
877 the longest one, so we change its packing options in order to
878 truncate it if necessary. As a side effect, the 'title' label will
879 no longer be truncated.
881 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
883 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
888 * configure.ac: Bump version.
889 * debian/changelog: Updates.
891 2009-04-13 Alejandro G. Castro <alex@igalia.com>
893 Deprecation of the hildon_pannable_area_set_size_request_policy
894 API, the only policy properly supported in gtk+ nowadays is the
897 * src/hildon-pannable-area.c,
898 (hildon_pannable_area_size_request): Added a workaround for the
899 size_request to avoid the problems of huge pixmaps in case someone
900 is still using the function.
901 * src/hildon-pannable-area.h: Deprecated the enum with the
904 Fixes: NB#110244 (Problems with the
905 hildon_pannable_area_set_size_request_policy API)
907 2009-04-08 Alejandro G. Castro <alex@igalia.com>
909 * src/hildon-pannable-area.c,
910 (hildon_pannable_area_init),
911 (hildon_pannable_area_size_request),
912 (hildon_pannable_area_style_set),
913 (hildon_pannable_draw_vscroll),
914 (hildon_pannable_draw_hscroll),
915 (hildon_pannable_area_check_scrollbars): Replaced area_width with
916 indicator_width to clarify the use of the attribute.
918 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
923 * configure.ac: Bump version.
924 * debian/changelog: Updates.
926 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
928 * src/hildon-picker-dialog.c
929 * src/hildon-touch-selector.c
930 Reverting the change that tried to avoid the hardcoded height on
931 the picker dialog, as causes problems on the hildon-touch-selector
934 Fixes: NB#110029 (selectors not scrolling to selected value)
936 2009-04-07 Alberto Garcia <agarcia@igalia.com>
938 * src/hildon-touch-selector.c: Fix typos
940 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
942 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
943 Use the event coordinates instead of gdk_window_get_pointer(). Also,
944 request more motions after using it.
946 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
948 * src/hildon-calendar.c (hildon_calendar_expose),
949 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
950 Remove unused variables.
952 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
954 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
957 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
959 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
960 Check the return value of gtk_tree_selection_get_selected()
963 2009-04-06 Alberto Garcia <agarcia@igalia.com>
965 * src/hildon-animation-actor.c
966 * src/hildon-button.c
968 * src/hildon-pannable-area.c
969 * src/hildon-picker-button.c
970 * src/hildon-program.c
971 * src/hildon-remote-texture.c
972 * src/hildon-text-view.c
973 * src/hildon-touch-selector.c
974 * src/hildon-window-stack.c
975 * src/hildon-window.c:
976 Add missing 'Since: 2.2' tags.
978 * doc/hildon-sections.txt:
979 Add some missing symbols.
981 * doc/hildon-docs.sgml:
982 New 'Other' section for HildonAnimationActor and
985 2009-04-06 Alberto Garcia <agarcia@igalia.com>
987 Patch by Iván Gómez (igomez@igalia.com)
991 * doc/hildon-docs.sgml
992 * doc/hildon-sections.txt
996 New chapters on using the Hildon library.
997 Updated the general structure of the reference manual.
998 Other minor documentation fixes.
1000 * src/hildon-calendar-popup.c
1001 * src/hildon-calendar.c
1002 * src/hildon-controlbar.c
1003 * src/hildon-date-editor.c
1004 * src/hildon-dialog.c
1005 * src/hildon-hvolumebar.c
1006 * src/hildon-number-editor.c
1007 * src/hildon-range-editor.c
1008 * src/hildon-sort-dialog.c
1009 * src/hildon-time-editor.c
1010 * src/hildon-time-picker.c
1011 * src/hildon-volumebar-range.c
1012 * src/hildon-volumebar.c
1013 * src/hildon-vvolumebar.c
1014 * src/hildon-weekday-picker.c:
1015 Add deprecation notes
1017 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1018 Document 'horizontal-movement' and 'vertical-movement' signals.
1020 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1025 * configure.ac: Bump version.
1026 * debian/changelog: Updates.
1028 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1030 * src/hildon-pannable-area.c,
1031 (hildon_pannable_area_class_init): increased the minimum velocity.
1032 (hildon_pannable_area_button_release_cb): Updated the
1033 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1034 setup. Review the code to control that last event.
1036 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1039 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1041 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1043 * src/hildon-get-password-dialog.c
1044 (hildon_get_password_set_property),
1045 (hildon_get_password_get_property), (create_contents):
1046 * src/hildon-login-dialog-private.h:
1047 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1048 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1049 (hildon_login_dialog_get_password):
1050 * src/hildon-set-password-dialog-private.h:
1051 * src/hildon-set-password-dialog.c
1052 (hildon_set_password_set_property),
1053 (hildon_set_password_get_property), (create_contents),
1054 (hildon_set_password_response_change),
1055 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1057 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1058 instead and look more Fremantle style.
1060 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1062 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1064 * doc/hildon-sections.txt
1065 * src/hildon-window-stack.h
1066 * src/hildon-window-stack.c
1067 (+hildon_window_stack_get_windows):
1068 New API to obtain the list of windows on a stack.
1070 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1072 * src/hildon-app-menu.c (hildon_app_menu_popup)
1073 (hildon_app_menu_class_init, -hildon_app_menu_show):
1074 Remove hildon_app_menu_show() and move all its checks to
1075 hildon_app_menu_popup()
1077 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1079 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1080 (_hildon_picker_dialog_set_selector): removed call to
1081 gtk_widget_set_size_request
1082 * src/hildon-touch-selector.c
1083 (_create_new_column): change the pannable size request policy
1085 Avoid to use a hardcoded height for the hildon picker dialog. In order
1086 to get that, we needed to change the hildon pannable size request
1088 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1090 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1092 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1093 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1096 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1098 * debian/control: Depend on osso-system-lock localization package.
1099 * src/hildon-code-dialog.c: Obtain the secu_application_title
1100 translation from osso-system-lock.
1101 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1102 for translation the atk related strings, that's not necessary.
1103 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1104 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1105 cancel button, it is not required.
1107 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1109 * src/hildon-pannable-area.c,
1110 (hildon_pannable_area_class_init): Modified the default value of
1111 the overshooting max speed, we have reduced it.
1113 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1115 * doc/hildon-sections.txt
1116 * src/hildon-window-private.h
1117 * src/hildon-window.h
1118 * src/hildon-window.c (hildon_window_class_init)
1119 (hildon_window_init, hildon_window_finalize)
1120 (hildon_window_realize, hildon_window_get_property)
1121 (hildon_window_set_property, hildon_window_update_markup)
1122 (hildon_window_get_markup, hildon_window_set_markup):
1123 New "markup" property and hildon_window_{get,set}_markup() methods.
1125 * examples/hildon-stackable-window-example.c (new_window):
1126 Update example to use hildon_window_set_markup()
1128 Fixes: NB#106375 (Need API to retitle a window with a title
1131 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1133 * src/hildon-pannable-area.c,
1134 (hildon_pannable_area_class_init): Changed the default value of
1135 the initial_hint to TRUE.
1136 (hildon_pannable_area_initial_effect): Changed the initial effect,
1137 not the effect is just the fade-out of the scrollbars.
1139 Fixes: NB#107775 (No scrollbars can be seen when several items are
1140 available in a dialog)
1142 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1144 * src/hildon-program.c (hildon_program_update_top_most):
1147 Fixes: NB#109179 (Memory leak in Hildon program)
1149 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1151 * src/hildon-banner.c (-get_current_app_window):
1152 Remove unused function.
1154 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1156 * src/hildon-pannable-area.c: Modified the documentation of the
1157 get adjustments functions to explain the problem of using the
1158 adjustment directly.
1159 (hildon_pannable_area_class_init): Improved the explanation about
1162 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1164 * src/hildon-app-menu-private.h
1165 * src/hildon-app-menu.c
1166 (hildon_app_menu_class_init):
1167 Bring back the 'external-border' style property
1168 (hildon_app_menu_class_init, hildon_app_menu_init)
1169 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1170 Set a fixed width-request for the menu, independent of the number
1173 Fixes: NB#94957 (Smoothly opened application menu)
1175 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1177 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1179 * src/hildon-banner.c
1180 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1182 Make sure that the banner is correctly placed the first time it's
1184 (hildon_banner_check_position, -check_fullscreen_state):
1185 Show the banner in the same place no matter if the window is in
1186 fullscreen mode or not.
1188 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1190 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1192 * src/hildon-touch-selector.c (_default_print_func): reorder
1193 concatenation for clarity.
1195 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1197 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1198 for multicolumn selectors.
1200 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1202 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1207 * configure.ac: Bump version.
1208 * debian/changelog: Updates.
1210 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1212 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1215 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1217 * configure.ac: removed libcangerra-gtk dependency
1218 * debian/control: removed libcanberra-gtk dependency
1219 * src/Makefile.am: removed libcanberra gtk related flags
1220 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1221 context, and manage a global canberra context instead
1223 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1225 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1227 Patch by Daniel Borgmann (danielb@openismus.com)
1229 * src/hildon-edit-toolbar.c:
1230 Adjust the left padding.
1231 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1232 Paint background of the edit toolbar.
1234 Fixes: NB#107897 (Patch to make editmodetoolbar background
1235 themeable and adjust margin)
1237 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1239 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1241 * src/hildon-program.c (hildon_program_update_top_most):
1242 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1244 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1245 change when the user tasks in/out of an application)
1247 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1249 * configure.ac: added libcangerra-gtk dependency
1250 * debian/control: added libcanberra-gtk dependency
1251 * src/Makefile.am: added libcanberra gtk related flags
1252 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1255 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1257 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1259 * src/hildon-program.c (hildon_program_remove_window)
1260 (hildon_program_add_window): Add checks for the window
1261 parameter. Don't decrease the window counter if the window is not
1264 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1266 * src/hildon-pannable-area.c,
1267 (hildon_pannable_area_realize): Fixed position of the event_window
1268 in the realize method.
1270 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1272 * src/hildon-app-menu-private.h
1273 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1274 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1275 (hildon_app_menu_key_press, hildon_app_menu_init)
1276 (hildon_app_menu_finalize):
1277 Make sure that all idle functions are removed when the widget is
1280 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1282 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1287 * configure.ac: Bump version.
1288 * debian/changelog: Updates.
1290 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1292 * src/hildon-entry.c
1293 (+hildon_entry_show_placeholder),
1294 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1295 that replace hildon_entry_update_contents().
1296 (hildon_entry_set_text),
1297 (hildon_entry_set_placeholder),
1298 (hildon_entry_focus_in_event),
1299 (hildon_entry_focus_out_event): Determine when it is needed
1300 either to show or hide the placeholder and call the above methods.
1302 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1303 when the placeholder text is already set)
1305 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1307 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1308 simple GdkPixbufAnim using the new icons for the banner.
1309 (hildon_banner_show_animation): Use the above mentioned method to
1310 create the animation widget.
1312 Fixes: NB#103564 (Make hildon animation banner use individual
1313 image files as the animation)
1315 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1317 * src/hildon-pannable-area.c,
1318 (hildon_pannable_leave_notify_event): Check if the child is NULL
1319 to avoid sending the leave.
1321 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1323 * src/hildon-pannable-area.c,
1324 (hildon_pannable_area_class_init),
1325 (hildon_pannable_leave_notify_event): Added a handler of the
1326 leave-notify-signal to consider when no motion notify before
1329 Fixes: NB#107494 (Items stay selected when clicking and moving
1330 away when inside pannable area)
1332 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1337 * configure.ac: Bump version.
1338 * debian/changelog: Updates.
1340 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1342 Patch by Alberto Garcia (agarcia@igalia.com)
1344 * src/hildon-date-button.c,
1345 (hildon_date_button_class_init),
1346 (hildon_date_button_init): Removed the construct property handling
1347 and created a default selector in the init method.
1348 * src/hildon-picker-button.c,
1349 (hildon_picker_button_class_init): Removed the construct flag of the
1352 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1354 * src/hildon-main.c (hildon_init):
1355 Don't allow hildon_init() to be called more than once.
1357 Fixes: NB#106607 (hildon_init should issue error message upon
1360 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1362 * examples/hildon-pannable-area-touch-list-example.c
1363 * examples/hildon-pannagle-area-touch-grid-example.c
1364 * examples/hildon-edit-toolbar-example.c
1365 * examples/hildon-touch-selector-multi-cells-example.c
1366 Removed the call to gtk_rc_parse_string, as it is not required since
1369 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1371 * src/hildon-pannable-area.c,
1372 (hildon_pannable_area_class_init): Modified the default panning
1373 threshold of the widget to 6px.
1375 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1376 than the threshold value ) within the button is not sending the
1379 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1381 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1382 for the treeview in the new column. This way, the touch list will never
1385 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1386 be selected manually for the HW keys to work)
1388 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1390 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1391 comparison instead of using strcmp(). Fixes a compiler warning as well.
1393 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1395 * doc/hildon-docs.sgml: Do not set the library version in the
1396 document title, use the releaseinfo tag for that purpose instead.
1398 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1400 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1401 Do not jump to the first item if the text in the entry is removed.
1403 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1408 * configure.ac: Bump version.
1409 * debian/changelog: Updates.
1411 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1413 * src/hildon-entry.c (hildon_entry_refresh_contents):
1414 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1415 Use "ReversedSecondaryTextColor" for the placeholder text.
1417 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1419 * src/hildon-text-view.c: Fix compilation warning.
1421 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1423 * src/hildon-button.c (hildon_button_class_init): Don't make
1424 "title" and "value" construction properties, to prevent them from
1425 overwriting labels set from derived classes.
1427 * src/hildon-picker-button.c
1428 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1429 (hildon_picker_button_class_init): Make touch-selector a
1430 construction property.
1432 * src/hildon-date-button.c (hildon_date_button_class_init)
1433 (+hildon_date_button_constructed): Add a default date selector if
1436 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1438 * src/hildon-touch-selector.c: Small documentation fixes.
1440 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1442 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1444 * src/hildon-entry.c (hildon_entry_refresh_contents),
1445 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1446 widget name, set the logical color directly instead and a boolean
1447 showing_placeholder instead.
1448 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1449 use the widget name here either.
1451 Fixes: NB#105678 (HildonTextView should use logical colours
1452 instead of setting widget name)
1454 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1456 Patch by Daniel Elster (danielk@openismus.com)
1458 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1459 Add user_data parameter.
1460 (hildon_touch_selector_set_print_func_full): New function akin
1461 hildon_touch_selector_set_print_func() but with support for user
1462 data and a destroy callback.
1463 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1464 to clean up the print function user data.
1465 (hildon_touch_selector_class_init): Install dispose function.
1466 (HildonTouchSelectorPrivate::print_user_data),
1467 (HildonTouchSelectorPrivate::print_destroy_func): New private
1469 (hildon_touch_selector_init): Initialize new private members.
1470 (hildon_touch_selector_get_current_text): Pass along user data
1471 to the print function.
1472 (_default_print_func): Add dummy user_data to parameter list.
1473 * hildon-date-selector.c (_custom_print_func): ditto,
1474 * hildon-time-selector.c (_custom_print_func): ditto,
1475 * hildon-touch-selector-entry.c
1476 (hildon_touch_selector_entry_print_func): ditto.
1478 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1480 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1482 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1484 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1486 * src/hildon-pannable-area.c,
1487 (hildon_pannable_area_init),
1488 (hildon_pannable_area_button_press_cb),
1489 (hildon_pannable_area_motion_notify_cb): We have added code to
1490 handle the leave and enter events when using the motion events.
1492 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1494 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1496 * src/hildon-date-button.c (hildon_date_button_get_date)
1497 (hildon_date_button_set_date): Make sure that the button has a
1500 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1502 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1504 * src/hildon-pannable-area.c,
1505 (hildon_pannable_area_class_init),
1506 (hildon_pannable_area_calculate_velocity): Modify the use of the
1507 force and adapt the value.
1509 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1511 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1512 (hildon_app_menu_class_init): Hide the menu if it receives a
1513 delete-event, but don't destroy it
1515 Fixes: NB#104485 (Not able to address the call when application
1516 menu is opened at background)
1518 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1520 * src/hildon-app-menu.c
1521 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1522 Remove the "external-border" style property, let the menu take its
1523 natural size (or the one set by the window manager)
1524 (hildon_app_menu_repack_items):
1525 Don't reshow the menu, avoid flickers.
1527 Partially fixes NB#94957 (Smoothly opened application menu)
1529 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1534 * configure.ac: Bump version.
1535 * debian/changelog: Updates.
1537 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1539 * src/hildon-pannable-area.c,
1540 (hildon_pannable_area_motion_notify_cb): We control that the
1541 direction error margin is used just in case the movement is
1542 allowed in the other direction.
1544 Fixes: NB#105012 (buttons inside a pannable area not getting
1545 release event when dragging/releasing)
1547 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1549 * src/hildon-pannable-area.c,
1550 (hildon_pannable_area_class_init),
1551 (hildon_pannable_area_get_property),
1552 (hildon_pannable_area_set_property),
1553 (hildon_pannable_area_initial_effect),
1554 (hildon_pannable_axis_scroll),
1555 (hildon_pannable_area_button_release_cb): Reviewed the
1556 overshooting effect, now it has its own max
1557 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1558 speed when bouncing.
1560 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1565 * configure.ac: Bump version.
1566 * debian/changelog: Updates.
1568 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1570 * src/hildon-pannable-area.c,
1571 (hildon_pannable_area_class_init): Changed the max speed, now
1572 users can launch the widget very fast. Reduced the default force,
1573 that way it is easier to control the launch speed.
1575 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1577 * src/hildon-pannable-area.c,
1578 (hildon_pannable_area_button_release_cb): Removed this check
1579 because it causes problems when the device is overloaded.
1581 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1583 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1584 add a current_text field to store the text entered in the
1585 touch selector entry.
1586 (_clean_current_selection): clean up the current text as well.
1587 (_save_current_selection), (_restore_current_selection):
1588 Save/restore the text in the entry if the selector is a
1589 HildonTouchSelectorEntry.
1591 Fixes: NB#102541 (value entered in the touch selector entry is not
1592 shown when opened for second time)
1594 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1596 * doc/hildon-sections.txt:
1597 * src/hildon-touch-selector-entry.c
1598 (+hildon_touch_selector_entry_get_entry):
1599 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1601 Fixes: NB#104815 (I need accessor to the entry inside
1602 HildonTouchSelectorEntry)
1604 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1606 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1607 (hildon_app_menu_class_init):
1608 New "filter-vertical-spacing" style property.
1610 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1612 * src/hildon-find-toolbar.c
1613 (hildon_find_toolbar_emit_close)
1614 (hildon_find_toolbar_emit_invalid_input)
1615 (hildon_find_toolbar_entry_activate):
1616 Use g_signal_emit() instead of g_signal_emit_by_name()
1618 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1620 Patch by Mox Soini (ext-mox.soini@nokia.com)
1622 * tests/TEST-CASES.txt
1623 * tests/check-hildon-banner.c
1624 * tests/check-hildon-note.c
1625 * src/hildon-banner.c
1626 * src/hildon-code-dialog.c
1627 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1628 * src/hildon-time-editor.c
1629 * examples/hildon-lookup-example.c (main):
1630 Replace obsolete icon names with new ones.
1632 * src/hildon-find-toolbar-private.h:
1633 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1634 (-hildon_find_toolbar_emit_search):
1635 Remove find button and change icon of close button.
1637 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1639 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1641 * src/hildon-time-button.c (hildon_time_button_new_step):
1642 Use the "touch-selector" property to set the selector directly
1643 when creating the object.
1645 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1647 Added a new example application that allows tuning the pannable
1648 area and replaced defines with properties in order to simplify the
1649 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1650 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1651 PROP_DIRECTION_ERROR_MARGIN.
1653 * examples/hildon-pannable-area-tuning-example.c: New example
1655 * src/hildon-pannable-area.c,
1656 (hildon_pannable_area_class_init),
1657 (hildon_pannable_area_init),
1658 (hildon_pannable_area_get_property),
1659 (hildon_pannable_area_set_property),
1660 (hildon_pannable_area_launch_fade_timeout),
1661 (hildon_pannable_area_adjust_value_changed),
1662 (hildon_pannable_axis_scroll),
1663 (hildon_pannable_area_motion_notify_cb),
1664 (hildon_pannable_area_scroll_cb),
1665 (hildon_pannable_area_button_release_cb): We have converted some
1666 of the defines that control the widget to properties to simplify
1669 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1671 * src/hildon-app-menu.c (hildon_app_menu_map)
1672 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1673 so it's closed if a new window appears.
1675 Fixes: NB#104485 (Not able to address the call when application
1676 menu is opened at background)
1678 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1680 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1681 missing 'break' statement in in 'case' construct to avoid
1684 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1686 * src/hildon-touch-selector-entry.c
1687 (hildon_touch_selector_entry_get_property),
1688 (hildon_touch_selector_entry_set_property): Add missing 'break'
1689 statements in in 'case' constructs to avoid incorrect warnings.
1691 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1693 * src/hildon-time-editor.c
1694 (hildon_time_editor_get_time_separators): Do not crash if
1695 the first label is NULL.
1697 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1699 * src/hildon-date-selector.c (_month_days): Check for month to be
1700 strictly less than 12, since otherwise we may overrun the array.
1702 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1704 * src/hildon-date-button.c (+hildon_date_button_new_full)
1705 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1706 (hildon_date_button_init): Set the date selector using a
1707 construction property, to make it happen after HildonButton's
1708 "value" property is set.
1710 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1711 current date by default)
1713 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1715 * doc/hildon-sections.txt
1716 * src/hildon-program.c
1717 * src/hildon-stackable-window.c
1718 * src/hildon-window.c:
1719 Documentation updates
1721 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1723 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1724 (hildon_window_stack_new, +hildon_window_stack_set_property)
1725 (+hildon_window_stack_get_property)
1726 (hildon_window_stack_class_init)
1727 (+hildon_window_stack_set_window_group)
1728 (+hildon_window_stack_get_window_group):
1729 Make the window group a construction property.
1731 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1733 * doc/hildon-sections.txt
1734 * src/hildon-stackable-window-private.h
1735 * src/hildon-stackable-window.h
1736 * src/hildon-stackable-window.c
1737 (-hildon_stackable_window_set_app_menu)
1738 (-hildon_stackable_window_get_app_menu)
1739 (-hildon_stackable_window_toggle_menu)
1740 (-hildon_stackable_window_finalize)
1741 (hildon_stackable_window_class_init)
1742 (hildon_stackable_window_init)
1743 * src/hildon-window-private.h
1744 * src/hildon-window.h
1745 * src/hildon-window.c (hildon_window_init)
1746 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1747 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1748 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1749 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1750 Moved all HildonAppMenu code to HildonWindow. The menu does not
1751 require a HildonStackableWindow anymore.
1753 * src/hildon-app-menu.c
1754 * src/hildon-program.c
1755 * examples/hildon-app-menu-example.c (main):
1756 Update examples and documentation to reflect HildonAppMenu
1759 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1761 * src/hildon-remote-texture.c
1762 * src/hildon-animation-actor.c:
1763 Don't include unused private headers.
1765 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1767 * src/hildon-program-private.h
1768 * src/hildon-program.c
1769 (hildon_program_set_common_menu)
1770 (hildon_program_get_common_menu)
1771 (hildon_program_set_common_app_menu)
1772 (hildon_program_get_common_app_menu):
1773 Change common menu pointers from GtkWidget* to GtkMenu* and
1774 HildonAppMenu* to avoid unnecessary casts.
1776 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1778 * src/hildon-window.c (hildon_window_set_main_menu):
1779 Removed incorrect 'Since:' tag
1781 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1783 * src/hildon-pannable-area.c,
1784 (hildon_pannable_area_calculate_velocity): We use now the
1785 RATIO_TOLERANCE here to check the distance, fixed typo in the
1787 (hildon_pannable_area_motion_notify_cb): We have to set the type
1788 and time even if we are not sending the motion.
1790 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1792 * doc/hildon-sections.txt
1793 * src/hildon-app-menu.h
1794 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1795 (+hildon_app_menu_get_filters): New methods to get the contents of
1798 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1801 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1803 * src/hildon-app-menu.c (hildon_app_menu_popup):
1806 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1808 * src/hildon-window.h
1809 * src/hildon-window.c (+hildon_window_get_main_menu)
1810 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1811 and deprecated hildon_window_get_menu().
1813 * src/hildon-stackable-window.h
1814 * src/hildon-stackable-window.c
1815 (+hildon_stackable_window_set_app_menu)
1816 (+hildon_stackable_window_get_app_menu)
1817 (hildon_stackable_window_set_main_menu): Created
1818 hildon_stackable_window_{get,set}_app_menu() and deprecated
1819 hildon_stackable_window_set_main_menu().
1821 * doc/hildon-sections.txt
1822 * examples/hildon-app-menu-example.c (main)
1823 * src/hildon-app-menu.c
1824 * src/hildon-program.c:
1825 Updated examples and documentation.
1827 Fixes: NB#103758 (No way to obtain a menu from a
1828 HildonStackableWindow)
1830 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1835 * configure.ac: Bump version.
1836 * debian/changelog: Updates.
1838 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1840 * examples/hildon-remote-texture-example.c: Include
1841 hildon-remote-texture.h explicitely.
1842 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1843 applications not defining _XOPEN_SOURCE which don't require this header.
1845 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1847 * doc/hildon-sections.txt
1848 * src/hildon-app-menu.h
1849 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1850 New function to pop up a HildonAppMenu
1852 * src/hildon-stackable-window.c
1853 (hildon_stackable_window_toggle_menu):
1854 Use hildon_app_menu_popup() to show the menu.
1856 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1858 * src/hildon-app-menu.c (hildon_app_menu_show)
1859 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1860 menu if there's another window between it and its parent window.
1862 Fixes: NB#100468 (Application menu window is launched even when a
1863 new secondary-window/dialog is pending to be shown/realized)
1865 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1867 * src/hildon-window-stack.c (hildon_window_stack_push)
1868 (hildon_window_stack_pop_and_push):
1869 Don't forget to push/pop the first window.
1870 Reverse the window list before calling _push_list()
1872 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1874 * src/hildon-picker-button.h
1875 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1876 Remove "value_changed" slot to avoid ABI breakage
1878 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1880 * src/hildon-pannable-area.c,
1881 (hildon_pannable_area_realize),
1882 (hildon_pannable_area_unrealize),
1883 (hildon_pannable_draw_vscroll),
1884 (hildon_pannable_draw_hscroll): Changed the method to handle the
1885 GC used to draw the transparent scrollbar, this way we avoid
1886 creating the GC all the time when drawing the scrollbars.
1888 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1890 * src/hildon-pannable-area.c,
1891 (hildon_pannable_area_init),
1892 (hildon_pannable_area_remove): Removed some unnecessary casts.
1893 (hildon_pannable_area_dispose): Disconnected some signals before
1894 releasing the adjustments.
1896 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1898 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1899 Make sure that all widgets contained in the toolbar are shown.
1901 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1903 * doc/hildon-sections.txt
1904 * src/hildon-picker-button.h
1905 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1906 (_selection_changed, hildon_picker_button_on_dialog_response)
1907 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1908 New hildon_picker_button_value_changed() method.
1911 * src/hildon-picker-button-private.h
1912 * src/hildon-picker-button.c (hildon_picker_button_init)
1913 (+hildon_picker_button_disable_value_changed): Add protected
1914 function for disabling the "value-changed" signal.
1916 * src/hildon-date-button.c (hildon_date_button_set_date):
1917 Don't emit "value-changed" for each one of the three columns.
1919 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1920 before actual change of values)
1922 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1924 * src/hildon-pannable-area.c,
1925 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1926 for the treeview overshooting.
1928 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1930 * src/hildon-banner.c (+hildon_banner_bind_style):
1931 Renamed from hildon_banner_bind_label_style(), now naming the
1932 banner itself as well.
1933 (hildon_banner_show_information),
1934 (hildon_banner_show_information_with_markup),
1935 (hildon_banner_show_animation), (hildon_banner_show_progress):
1936 Name the widgets and labels, based on their type.
1938 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1941 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1943 * src/hildon-note.c (hildon_note_set_property): call
1944 hildon_note_rename() on HildonNote:note-type set.
1945 (hildon_note_rename): Name the note and its label, based on the
1946 HildonNote:note-type property.
1948 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1951 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1953 * src/hildon-pannable-area.c,
1954 (hildon_pannable_area_class_init),
1955 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1956 panning parameters, increased SPS and deceleration factor. Added
1957 also a margin to control fake directions.
1959 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1961 Patch by Sven Herzberg (sven@imendio.com)
1963 * configure.ac: Add missing AM_PROG_CC_C_0
1964 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1966 See NB#101420 (Update unit tests and fix make check)
1968 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1970 This patch was applied before but reverted because it caused
1971 problems, we have changed the main condition and tested the
1972 regressions we detected before and they work ok. We have done a
1973 complete review of the topmost algorithm in order to get a more
1976 * src/hildon-pannable-area.c,
1977 (hildon_pannable_area_get_topmost): Added a new parameter to
1978 filter the the windows that do not include those events.
1979 (hildon_pannable_area_button_press_cb),
1980 (hildon_pannable_area_button_release_cb),
1981 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1982 topmost function, we have added the new parameter.
1984 Fixes: NB#97458 (Pannable area prevents propagation of button
1987 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1989 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1990 if all columns in the selector have an item selected.
1991 (_on_dialog_response): Stop "response" signal emission if there is
1992 any selector column without selected items.
1994 Fixes: NB#101889 (Picker dialog should not close when nothing is
1995 selected in multiple selection list)
1997 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1999 * src/hildon-font-selection-dialog.c
2000 (hildon_font_selection_dialog_class_init),
2001 (hildon_font_selection_dialog_init): Remove the preview
2002 button and dialog, since previewing with default theming is likely
2003 to be overcomplicated. The :preview property has now no effect.
2004 Update documentation blurbs to inform about this.
2006 Fixes: NB#92297 (Preview content is not clearly visible for
2007 default colour text)
2009 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2011 Reviewed the geometry that handles the children size and
2012 scrollbar, now it tries a size and reviews the results depending
2013 on the scrollbars visibility.
2015 * src/hildon-pannable-area.c,
2016 (hildon_pannable_area_realize): Fixed a typo.
2017 (hildon_pannable_area_child_allocate_calculate): Added this
2018 function to calculate the child allocation.
2019 (hildon_pannable_area_size_allocate): Reviewed the allocation
2021 (hildon_pannable_area_check_scrollbars),
2022 (hildon_pannable_area_refresh): Refactored refresh function, this
2023 way we can call the code handling the scrollbars without causing a
2024 size_request, it is interesting in the allocate.
2025 (hildon_pannable_area_init): Replace the callbacks of the
2026 value_changed and changed signals to propertly deal with the
2028 (hildon_pannable_area_grab_notify),
2029 (hildon_pannable_area_initial_effect),
2030 (hildon_pannable_area_launch_fade_timeout),
2031 (hildon_pannable_area_adjust_changed),
2032 (hildon_pannable_area_adjust_value_changed),
2033 (hildon_pannable_area_redraw),
2034 (hildon_pannable_area_button_press_cb),
2035 (hildon_pannable_area_button_release_cb),
2036 (hildon_pannable_area_scroll_cb),
2037 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2038 code and use the new functions adjust_changed and
2039 adjust_value_changed.
2041 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2042 Contact editor dialog)
2044 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2049 * configure.ac: Bump version.
2050 * debian/changelog: Updates.
2052 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2054 * src/hildon-pannable-area.c,
2055 (hildon_pannable_area_get_topmost),
2056 (hildon_pannable_area_button_press_cb),
2057 (hildon_pannable_area_button_release_cb),
2058 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2059 topmost function adding the event mask. We have to try a
2060 differente approach because it is still causing problems (NB#9745,
2063 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2065 * src/hildon-banner.c:
2066 Update the maximum width of timed banners.
2067 (force_to_wrap_truncated): Enforce the maximum text width if the
2070 Fixes: NB#102413 (The text margins (wrapping) in information
2071 banner should be HILDON_MARGIN_TRIPLE)
2073 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2075 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2077 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2078 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2079 bound when calculating the scroll indicator position.
2081 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2082 treat ->lower correctly)
2084 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2086 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2087 expose event handling, since it is not necessary to draw the focus
2090 Fixes: NB#102467 (Do not show highlight on the text in
2093 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2095 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2096 full height of the toolbar for the button and the label.
2098 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2100 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2101 padding before the label and after the button.
2103 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2105 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2107 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2108 Add a GtkVSeparator between the button and the back arrow.
2109 Let the button have automatic size.
2110 Set a name to the widget for theming handling.
2112 Fixes: NB#101793 (Make edit toolbar the same height as window
2113 title bar (use title area theming))
2115 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2117 * src/hildon-helper.c (attach_new_color_element): Fix memory
2120 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2122 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2124 * examples/hildon-button-example.c (common_buttons_window): Don't
2127 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2129 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2130 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2132 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2134 * src/hildon-gtk.c: Check that the window is realized.
2136 Fixes: NB#102225 (Crash setting the progress indicator to a non
2139 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2141 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2142 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2143 instead of modifying the one in the widget style.
2145 Fixes: NB#101043 (Second row of all the command button are
2146 displayed in transparent mode.)
2148 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2150 * src/hildon-date-button.c
2151 * src/hildon-time-button.c: Add gettext macros
2153 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2155 * src/hildon-date-button.c (hildon_date_button_new):
2156 * src/hildon-time-button.c (hildon_time_button_new_step):
2157 Use new logical strings to set the button default title.
2159 Fixes: NB#99915 (Date and Time options are not localised in Date
2162 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2164 * src/hildon-pannable-area.c
2165 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2166 the PANNING_THRESHOLD.
2168 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2170 * src/hildon-pannable-area.c,
2171 (hildon_pannable_area_class_init): Increased the maximum speed.
2172 (hildon_pannable_area_get_property),
2173 (hildon_pannable_area_set_property),
2174 (hildon_pannable_area_timeout): Added a new low friction mode, it
2175 allows the user avoid friction when launching the widget fast
2176 enough. It is interesting to traverse long lists.
2178 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2180 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2181 (+hildon_stackable_window_delete_event): Ignore delete events if
2182 the window is not the topmost one.
2184 Fixes: NB#101698 (Back button long press and delete-event handling)
2186 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2188 * src/hildon-pannable-area.c,
2189 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2190 gtk-dnd-drag-threshold, it was too big. We have defined our own
2191 dnd define and set a smaller value: PANNIG_THRESHOLD.
2193 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2195 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2196 user-defined icons, use always the default one.
2198 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2200 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2202 This patch was applied before but reverted because it caused
2203 problems, we have changed the main condition and tested the
2204 regressions we detected before and they work ok.
2206 * src/hildon-pannable-area.c,
2207 (hildon_pannable_area_get_topmost): Added a new parameter to
2208 filter the the windows that do not include those events. Added
2209 also a condition when finding the window to filter windows that do
2210 not ask for those events.
2211 (hildon_pannable_area_button_press_cb),
2212 (hildon_pannable_area_button_release_cb),
2213 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2214 topmost function, we have added the new parameter.
2216 Fixes: NB#97458 (Pannable area prevents propagation of button
2219 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2221 * tests/check-hildon-color-button.c (START_TEST): do not leak
2224 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2226 * src/hildon-font-selection-dialog.c
2227 (hildon_font_selection_dialog_get_preview_text): Return NULL
2228 instead of FALSE on the g_return_val_if_fail().
2230 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2232 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2233 * src/hildon-date-selector.c
2234 (hildon_date_selector_select_current_date):
2235 Do not compare unsigned integers to be greater than or equal 0,
2236 because it's always TRUE.
2238 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2240 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2241 (hildon_date_selector_constructor): Do not select the current
2242 date until we are handle the "changed" signal, to avoid having bogus
2243 elements in the days model.
2245 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2247 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2248 for num_days, since _month_days() can return a negative value.
2250 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2252 * src/hildon-caption.c (hildon_caption_size_allocate):
2253 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2254 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2256 Initialize allocation variables to 0, to avoid eventually using
2257 unitialized variables.
2259 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2261 * src/hildon-bread-crumb-trail.c
2262 (hildon_bread_crumb_trail_size_allocate):
2263 * src/hildon-calendar.c (hildon_calendar_set_background):
2264 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2265 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2266 * src/hildon-seekbar.c (hildon_seekbar_init):
2267 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2268 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2269 * src/hildon-touch-selector-entry.c
2270 (hildon_touch_selector_get_text_from_model):
2271 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2272 * src/hildon-window.c (hildon_window_finalize):
2274 Remove many unused variables.
2276 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2278 * src/hildon-seekbar.c: (hildon_seekbar_init),
2279 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2281 Remove unnecessary g_assert() calls.
2283 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2285 * src/hildon-caption.c: (hildon_caption_expose),
2286 (hildon_caption_set_property), (hildon_caption_init),
2287 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2288 (hildon_caption_size_request), (hildon_caption_size_allocate),
2289 (hildon_caption_forall), (hildon_caption_set_separator),
2290 (hildon_caption_activate), (hildon_caption_set_child_expand),
2291 (hildon_caption_set_label_text),
2292 (hildon_caption_get_label_alignment):
2294 Remove unnecessary g_assert() calls.
2296 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2298 * src/hildon-banner.c
2299 (hildon_banner_map, hildon_banner_init): Make banner temporary
2300 before mapping it to avoid closing other temporary windows, but
2301 make it non-temporary afterwards to avoid being closed by other
2302 non-temporary windows.
2303 (-hildon_banner_client_event, hildon_banner_init):
2304 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2306 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2309 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2311 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2314 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2316 * src/hildon-remote-texture.c
2317 * src/hildon-remote-texture.h
2318 * src/hildon-remote-texture-private.h
2319 * examples/hildon-remote-texture-example.c:
2320 Updates/fixes to remote-texture and its example.
2322 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2324 Patch by Mox Soini (ext-mox.soini@nokia.com)
2326 * src/hildon-code-dialog.c: Update logical id.
2327 * src/hildon-set-password-dialog.c: Update logical id.
2329 Fixes: NB#100646 (Logical strings is shown for ok in set
2330 password,Password needed dialogs)
2332 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2335 * src/hildon-remote-texture.c
2336 * src/hildon-remote-texture.h
2337 * src/hildon-remote-texture-private.h
2339 Added remote texture widget (for Clutter shared memory textures)
2341 * examples/hildon-remote-texture-example.c
2342 * examples/Makefile.am
2343 Added example file for remote texture usage
2345 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2347 * configure.ac: post release version bump.
2348 * debian/changelog: version bump.
2350 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2355 * configure.ac: Bump version.
2356 * debian/changelog: Updates.
2358 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2360 * src/hildon-date-selector.c (hildon_date_selector_init)
2361 (hildon_date_selector_constructor): Don't connect to the "changed"
2362 signal until the selector is completely constructed.
2364 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2366 * src/hildon-touch-selector.c: (_create_new_column),
2367 (hildon_touch_selector_append_column),
2368 (hildon_touch_selector_set_column_selection_mode),
2369 (hildon_touch_selector_set_active),
2370 (hildon_touch_selector_select_iter):
2371 Emit the HildonTouchSelector::changed signal every time selection
2372 is changed in any of the methods above. This behavior was already
2373 documented but not fully functional.
2375 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2376 selection is programmatically changed)
2378 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2380 * doc/hildon-sections.txt: Remove obsolete icon
2381 sizes from here as well.
2383 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2385 * examples/hildon-stackable-window-example.c (add_window): Remove
2388 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2390 * src/hildon-app-menu.c
2391 (hildon_app_menu_show): Check whether the parent window of a menu
2392 is topmost before popping it up.
2394 Fixes: NB#100468 (Application menu window is launched even when a
2395 new secondary-window/dialog is pending to be shown/realized.)
2397 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2399 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2402 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2404 Patch by Mox Soini (ext-mox.soini@nokia.com)
2406 * src/hildon-banner.c: (hildon_banner_show_animation):
2407 use stylus size instead of obsolete note size.
2408 * src/hildon-defines.h: Update icon sizes.
2410 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2412 * src/hildon-touch-selector-entry.c:
2413 (hildon_touch_selector_entry_init): Disable unsupported
2415 (hildon_touch_selector_entry_get_text_column): Emit a warning
2416 if an unsupported input modes is used and explicitile state
2417 these modes in the documentation.
2419 Fixes: NB#99802 (Hildon touch selector entry not working properly
2420 for some of the input modes)
2422 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2424 * src/hildon-pannable-area.c,
2425 (hildon_pannable_area_init): Added the changed signal handlers of
2428 Fixes: NB#100320 (HildonPannableArea does not listen to
2429 GtkAdjustment "change" signals)
2431 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2433 * doc/hildon-sections.txt
2434 * src/hildon-window-private.h
2435 * src/hildon-window.h
2436 * src/hildon-window.c (hildon_window_init)
2437 (hildon_window_realize, hildon_window_unrealize)
2438 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2439 (hildon_window_size_request, hildon_window_size_allocate)
2440 (hildon_window_forall, hildon_window_show_all)
2441 (hildon_window_destroy, +paint_edit_toolbar)
2442 (+hildon_window_set_edit_toolbar):
2443 New hildon_window_set_edit_toolbar() method, to add a
2444 HildonEditToolbar to a window without having to pack it manually.
2446 Reorganize hildon_window_size_allocate()
2448 * src/hildon-edit-toolbar.c: Update documentation.
2450 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2451 example to use the new API.
2453 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2455 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2457 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2458 Remove from stack before calling parent's hide.
2460 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2462 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2463 window is removed from the middle of the stack, update the
2464 transiency of the previous one.
2466 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2469 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2471 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2472 block/unblock the signal handler if it's not actually being used.
2473 Fixes some critical warnings.
2475 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2477 Based on a patch by Iván Gómez (igomez@igalia.com)
2479 * src/hildon-banner.c
2483 * src/hildon-pannable-area.c
2484 * src/hildon-picker-dialog.c
2485 * src/hildon-wizard-dialog.h
2486 * src/hildon-wizard-dialog.c: Documentation updates.
2488 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2489 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2491 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2493 * configure.ac: post release version bump.
2494 * debian/changelog: version bump.
2496 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2501 * configure.ac: Bump version.
2502 * debian/changelog: Updates.
2504 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2506 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2507 a stock icon nor change the relief of the back arrow.
2509 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2510 graphics from theme)
2512 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2514 * src/hildon-button.c (hildon_button_set_alignment): Use
2515 priv->alignment if the button has no child yet.
2517 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2519 * src/hildon-button.c: (hildon_button_init): Set the
2520 button style during initialization to give it the proper
2523 Fixes: NB#99713 (HildonButton value label color is wrong)
2525 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2527 * src/hildon-touch-selector.c: Document
2528 hildon_touch_selector_center_on_selected()
2530 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2532 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2533 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2534 all menu items, but not the menu itself.
2535 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2536 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2537 items after adding them to the menu so keyboard accelerators work.
2538 (hildon_app_menu_show): Don't show the menu if it contains items
2539 but none of them are visible.
2541 * examples/hildon-app-menu-example.c (create_menu): Use
2542 gtk_widget_show_all() to show all menu items.
2544 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2546 * src/hildon-picker-dialog.c:
2547 (-_update_title_on_selector_changed_cb),
2548 (-_dialog_update_title): Removed.
2549 (_select_on_selector_changed_cb), (_on_dialog_response),
2550 (on_selector_columns_changed): Do not update the dialog title.
2551 (setup_interaction_mode): Do not connect to
2552 HildonTouchSelector::changed signal if there's a "done" button, as
2553 the dialog title doesn't need to be updated.
2555 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2558 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2560 Patch by Kristian Rietveld (kris@imendio.com)
2562 * src/hildon-touch-selector.c: (_create_new_column): Use new
2563 GtkTreeView::hildon-row-tapped signal to react to user interactions
2564 instead of ::changed.
2566 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2567 with some dynamic tree model)
2569 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2571 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2572 (+screen_size_changed, +label_size_request)
2573 (hildon_note_class_init): Make the Hildon information note have a
2574 minimum height, and make its text hvae a maximum width.
2576 Fixes: NB#98614 (Hildon information note (background) should have
2577 minimum height and maximum text width)
2579 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2581 * src/hildon-banner.h
2582 * src/hildon-banner.c (hildon_banner_show_information)
2583 (hildon_banner_show_informationf)
2584 (hildon_banner_show_information_with_markup): Update documentation
2585 to reflect that the icon_name parameter is not used anymore.
2586 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2587 Remove all code from these functions and mark them as deprecated.
2588 (hildon_banner_show_progress): Mark as deprecated.
2590 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2592 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2594 * src/hildon-pannable-area.c,
2595 (hildon_pannable_area_class_init),
2596 (tranparency_color),
2597 (hildon_pannable_draw_vscroll),
2598 (hildon_pannable_draw_hscroll),
2599 (hildon_pannable_area_expose_event): Added a new way to render the
2600 scrollbars of the pannable area avoiding using cairo at all. This
2601 way we improve the performance of the pannable area rendering. The
2602 cairo rendering procedure is still in the code, we can control
2603 which one to use changing the value of the define
2604 USE_CAIRO_SCROLLBARS.
2606 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2608 * configure.ac: post release version bump.
2609 * debian/changelog: version bump.
2611 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2616 * configure.ac: Bump version.
2617 * debian/changelog: Updates.
2619 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2621 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2622 banners instead of destroying them when they receive a button
2625 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2627 Reverted commit 34028, it was causing regressions, probably the
2628 topmost condition is not correct, we have to check it in more
2629 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2630 propagation of button press events)
2632 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2634 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2635 that the selection is not empty before attempting to retrieve the
2636 current ampm selection.
2638 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2640 * src/hildon-picker-button.c:
2641 (hildon_picker_button_on_dialog_response): Directly update the
2642 button contents when required instead of calling _selection_changed.
2644 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2646 * src/hildon-program.c (hildon_program_update_top_most): Update
2647 'is-topmost' property also when wm_hints is not set.
2649 Fixes: NB#98383 (is-topmost signal is not emitted when task
2650 switcher is clicked.)
2652 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2654 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2658 * src/hildon-animation-actor.c,
2659 * src/hildon-animation-actor.h: Added the animation actor class,
2660 this widget represents an animation actor for WM-assisted
2661 animation effects in the Hildon framework.
2663 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2665 * src/hildon-window-stack-private.h
2666 * src/hildon-window-stack.c
2667 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2668 Avoid calling gtk_widget_show() again indirectly from
2669 hildon_stackable_window_show()
2671 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2673 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2676 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2678 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2679 (hildon_time_selector_init): Move the construction of the hours and
2680 ampm columns to the constructor to preserve the order the columns
2683 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2685 * src/hildon-picker-dialog.c:
2686 (hildon_picker_dialog_class_init): Connect a realize method.
2687 (+hildon_picker_dialog_realize): Setup the interaction mode here
2689 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2690 yet, do it during the realize instead.
2691 (_on_dialog_response):
2692 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2693 if the widget is not realized, to avoid the dialog response before it
2696 Avoid premature responses in the HildonPickerDialog that can cause it
2697 to be hidden before it's even shown.
2699 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2701 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2702 (on_selector_columns_changed), (requires_done_button),
2703 (+prepare_action_area), (setup_interaction_mode),
2704 (_hildon_picker_dialog_set_selector):
2706 Split the interaction mode setup into preparation of the
2707 action area (prepare_action_area()) and the connection of
2708 the signals in setup_interaction_mode() and update the code to
2711 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2713 * src/hildon-pannable-area.c,
2714 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2715 per second to 15, we will check if this is ok regarding
2718 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2720 * src/hildon-pannable-area.c,
2721 (hildon_pannable_axis_scroll): Avoid resize if we already have
2722 reached overshoot_max.
2724 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2726 * src/hildon-pannable-area.c,
2727 (hildon_pannable_area_init),
2728 (hildon_pannable_area_realize),
2729 (hildon_pannable_area_size_allocate),
2730 (hildon_pannable_area_map),
2731 (hildon_pannable_area_unmap),
2732 (hildon_pannable_draw_vscroll),
2733 (hildon_pannable_draw_hscroll),
2734 (hildon_pannable_area_expose_event),
2735 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2736 pannable are to avoid the expose events go to the window and
2737 redraw the window. We save this way that part of the stack and the
2738 paint_boxes. We had to change the positions of the elements when
2741 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2743 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2744 * src/hildon-color-chooser-dialog.c:
2745 (hildon_color_chooser_dialog_init):
2746 * src/hildon-font-selection-dialog.c:
2747 (hildon_font_selection_dialog_init),
2748 (hildon_font_selection_dialog_show_preview):
2749 * src/hildon-get-password-dialog.c:
2750 * src/hildon-login-dialog.c:
2751 * src/hildon-set-password-dialog.c:
2752 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2753 * src/hildon-time-picker.c: (hildon_time_picker_init):
2755 Remove obsolete logical string IDs and update to the appropriate ones.
2757 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2759 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2761 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2762 that happens if the window hasn't been realized yet.
2764 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2765 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2767 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2769 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2770 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2773 Fixes: NB#98537 (Device hangs in account settings dialog)
2775 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2777 * configure.ac: post release version bump.
2778 * debian/changelog: version bump
2780 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2785 * configure.ac: Bump version.
2786 * debian/changelog: Updates.
2788 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2790 Added a new function to the HildonTimeButton widget that allows to
2791 change the step of the minutes in the selector associated with the
2792 button: hildon_time_button_new_step
2794 * src/hildon-time-button.c,
2795 (hildon_time_button_init),
2796 (hildon_time_button_new),
2797 (hildon_time_button_new_step):
2798 * src/hildon-time-button.h: Added the new function and refactored
2800 * examples/hildon-time-button-example.c,
2801 (main): We have replaced the function without parameters with the
2802 function with the steps set to 5
2804 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2806 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2808 * src/hildon-time-selector.c,
2809 (hildon_time_selector_class_init),
2810 (hildon_time_selector_constructor),
2811 (hildon_time_selector_get_property),
2812 (hildon_time_selector_set_property),
2813 (_create_minutes_model),
2814 (hildon_time_selector_new_step),
2815 (hildon_time_selector_set_time),
2816 * src/hildon-time-selector.h: Added a new property to the
2817 HildonTimeSelector (minutes-step), we use that property to control
2818 the steps between the minutes in the list of the selector. We have
2819 added a new function to the API to create a widget changing the
2820 step: hildon_time_selector_new_step.
2822 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2824 * src/hildon-time-selector.c,
2825 (hildon_time_selector_class_init),
2826 (hildon_time_selector_constructor),
2827 (hildon_time_selector_init): Overrided the construct function when
2828 creating the time selector object. We have moved the minutes model
2829 handling code from the init to the new construction function:
2830 hildon_time_selector_constructor.
2832 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2834 * examples/hildon-date-button-example.c: (main): Use the new
2835 hildon_date_button_new_with_year_range() method in the example.
2836 * src/hildon-date-button.c:
2837 (+hildon_date_button_new_with_year_range): New public method
2838 to conveniently create a HildonDateButton with a custom year range
2839 in its HildonDateSelector.
2840 * src/hildon-date-button.h: Add the new public method definition.
2842 Fixes: NB#97908 (Not possible to change the year range in
2843 HildonDateSelector/HildonDateButton)
2845 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2847 * src/hildon-date-selector.c:
2848 (+hildon_date_selector_set_property),
2849 (+hildon_date_selector_get_property),
2850 (hildon_date_selector_class_init): Install new properties "min-year"
2851 and "max-year" to define boundaries for the year column.
2852 (_create_year_model): Use the boundary properties to populate the model.
2853 (+hildon_date_selector_new_with_year_range): New public method to
2854 create a HildonDateSelector with a user defined year range.
2855 (hildon_date_selector_select_current_date): Use the new boundaries to
2856 calculate the iterator of current year.
2857 * src/hildon-date-selector.h: Add the new public method definition.
2859 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2861 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2862 Install a constructor method.
2863 (+hildon_date_selector_construct_ui): construct the widget.
2864 (+hildon_date_selector_constructor): new constructor.
2865 (+hildon_date_selector_init): move out widget construction code to
2866 the new constructor.
2868 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2870 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2871 that there's actually a month or year selected before obtaining them.
2872 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2873 of the HildonTouchSelector::changed signal, as it was emitted on every
2874 single item selection.
2876 Fix some warnings and possible crashers due to the selection restoring.
2878 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2880 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2881 the signal handlers only after creating the dialog instead of on every
2884 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2886 * src/hildon-button.c (hildon_button_init)
2887 * src/hildon-check-button.c (hildon_check_button_init)
2888 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2889 focus when clicked by default.
2891 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2893 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2896 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2898 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2899 Alejandro G. Castro (alex@igalia.com)
2901 * src/hildon-picker-dialog.c:
2902 (hildon_picker_dialog_class_init): install new "center-on-show"
2904 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2905 (hildon_picker_dialog_set_property): add setter code for the new
2907 (hildon_picker_dialog_get_property): add getter code for the new
2909 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2910 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2913 Fixes: NB#92849 (Selected item is not always visible when
2914 HildonTouchSelector is shown)
2916 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2918 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2919 Alejandro G. Castro (alex@igalia.com)
2921 * src/hildon-touch-selector.c:
2922 (_create_new_column): Do not connect to the "realize" signal of the
2924 (hildon_touch_selector_append_column): center on the selected items
2925 when a new column is appended.
2926 (hildon_touch_selector_select_iter): Factor out the code to select a
2927 column to hildon_touch_selector_scroll_to().
2928 (+search_nearest_element): Method to retrieve the nearest selected
2929 element to the visible area of the pannable area in a column.
2930 (+on_realize_cb): scroll to the initially selected item.
2931 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2932 the pannable area is realized, otherwise delay this until it is.
2933 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2934 selected items of a given column.
2935 (+hildon_touch_selector_center_on_selected): Public method to center
2936 all columns on the nearest selected item.
2937 * src/hildon-touch-selector.h: Add definition for
2938 hildon_touch_selector_center_on_selected().
2940 Implement public API to ensure visibility of all selected items in
2941 a HildonTouchSelector.
2943 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2945 Fixed a problem in the fading when calling the scroll_to API, and
2946 improve scrollbar fading handling.
2948 * src/hildon-pannable-area.c,
2949 (hildon_pannable_area_grab_notify): avoid the timeout when the
2951 (hildon_pannable_area_button_press_cb),
2952 (hildon_pannable_area_motion_notify_cb): Code style changes.
2953 (hildon_pannable_area_button_release_cb): Review the conditions
2954 when releasing the mouse button to avoid unrequired fading
2956 (hildon_pannable_area_scroll_to): Do not calculate and set the
2957 velocity if the scroll is not required.
2959 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2961 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2962 Don't check whether the new selector is NULL: it cannot be.
2963 Hold a reference to the selector while doing the replacement.
2965 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2967 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2968 unnecessary size_request in a removed widget.
2970 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2972 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2973 an unnecessary reference tracking that was leaking.
2975 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2977 Added delayed motion notify event handling, this way we can
2978 discard redrawing if more than 25 events arrive per second.
2980 * src/hildon-pannable-area.c,
2981 (hildon_pannable_area_init): Initialized the new private atributes
2982 controlling this timeout
2983 (hildon_pannable_area_dispose): Remove the timeout that controls
2984 the motion notify events.
2985 (hildon_pannable_area_scroll): Added a condition to control the
2986 use of the acceleration.
2987 (hildon_pannable_area_motion_event_scroll_timeout),
2988 (hildon_pannable_area_motion_event_scroll): Added this two
2989 functions, they handle the motion notify events inside the
2991 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2992 to the scroll method with the new function.
2993 (hildon_pannable_area_button_release_cb): We have to remove the
2994 timeout handler and move to the last position if the last motion
2995 events were not handled.
2997 Fixes: NB#97028 (Pannable area updates on every motion event)
2999 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3001 * src/hildon-pannable-area.c,
3002 (hildon_pannable_area_get_topmost): Added a new parameter to
3003 filter the the windows that do not include those events. Added
3004 also a condition when finding the window to filter windows that do
3005 not ask for those events.
3006 (hildon_pannable_area_button_press_cb),
3007 (hildon_pannable_area_button_release_cb),
3008 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3009 topmost function, we have added the new parameter.
3011 Fixes: NB#97458 (Pannable area prevents propagation of button
3014 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3016 * src/hildon-pannable-area.c,
3017 (hildon_pannable_area_initial_effect): Added controls before
3018 launching the timeout and the idle functions.
3019 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3020 of the method, in some situations it can return with TRUE and 0 in
3022 (hildon_pannable_area_button_press_cb): We do not need to set
3023 DELAY for fading out here.
3025 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3027 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3029 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3030 post-cleaning if the selection is not NULL.
3032 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3034 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3035 all items before restoring the selection.
3037 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3039 * src/hildon-touch-selector.c:
3040 (+hildon_touch_selector_unselect_all):
3041 * src/hildon-touch-selector.h: New API to unselect all items in a
3042 column of the touch selector.
3044 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3046 * src/hildon-pannable-area.c,
3047 (hildon_pannable_area_redraw): Added a call to the refresh
3048 function inside the redraw because apparently in some cases the
3049 change in the adjustment does not imply a size allocate.
3051 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3052 despite the view not being scrollable)
3054 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3056 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3057 leak. Check for NULL before attempting to set the window title.
3059 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3061 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3062 whether to show or not the 'Done' button each time the dialog is
3063 shown, as it depends on the HildonTouchSelector selection mode.
3065 Fixes: NB#96226 (In multiple selection mode Done button is shown
3066 sometimes in listpicker)
3068 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3070 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3071 for the number of columns in the HildonTouchSelector more than once.
3073 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3075 * src/hildon-touch-selector.c: Minor documentation fixes.
3077 * src/hildon-picker-dialog.c (+_dialog_update_title)
3078 (_select_on_selector_changed_cb)
3079 (_update_title_on_selector_changed_cb)
3080 (on_selector_columns_changed): Update dialog title when there's no
3081 'Done' button and also when the number of columns in the selector
3085 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3086 (+_selection_changed, hildon_picker_button_on_dialog_response)
3087 (hildon_picker_button_selector_selection_changed)
3088 (+hildon_picker_button_selector_columns_changed)
3089 (hildon_picker_button_set_selector): Update button value and emit
3090 'value-changed' when the number of columns in the selector
3094 Fixes: NB#96225 (Dialog titles are not shown according to the
3095 values selected in the list picker)
3097 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3099 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3100 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3101 New "arrow-width" and "arrow-height" style properties to set the
3102 size of the arrow button.
3103 Set name of arrow button ("hildon-edit-toolbar-arrow").
3105 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3106 graphics from theme)
3108 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3110 * src/hildon-picker-button.c:
3111 (hildon_picker_button_selector_selection_changed): Use
3112 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3113 the dialog is present.
3115 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3116 the selection is accepted in the dialog)
3118 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3120 * src/hildon-color-chooser.h
3121 * src/hildon-color-chooser-dialog.h:
3122 Added G_BEGIN_DECLS and G_END_DECLS
3124 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3126 (_clean_current_selection): plug a leak in the list.
3128 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3130 * src/hildon-picker-dialog.c:
3131 (+free_path_list): Method to free a GList of GtkTreePaths.
3132 (_clean_current_selection), (_save_current_selection),
3133 (_restore_current_selection): Save the current selection in
3134 as a list of lists, to support multiple selection properly.
3136 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3138 patch by Claudio Saavedra (csaavedra@igalia.com)
3140 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3141 Store the press position.
3142 (+hildon_text_view_button_release_event): If the release position is
3143 close enough to the press position, move the cursor here. Otherwise,
3145 (hildon_text_view_class_init): Override GtkTextView press, release, and
3146 motion event handlers, disabling this way text selection through
3147 pointer interaction, and allowing the container widget to handle the
3150 Fixes: NB#95828 (HildonTextView functionality)
3152 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3154 Based on a patch by Iván Gómez (igomez@igalia.com)
3156 * src/hildon-button.[ch]
3157 * src/hildon-calendar.c
3158 * src/hildon-check-button.c
3159 * src/hildon-date-editor.c
3160 * src/hildon-date-selector.c
3161 * src/hildon-picker-button.c
3162 * src/hildon-time-editor.c
3163 * src/hildon-time-selector.c
3164 * src/hildon-touch-selector.[ch]:
3165 Documentation updates
3167 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3169 * src/hildon-pannable-area.c,
3170 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3171 threshold, it was required due to X events handling.
3173 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3175 * src/hildon-pannable-area.c,
3176 (hildon_pannable_area_grab_notify),
3177 (hildon_pannable_area_initial_effect),
3178 (hildon_pannable_area_button_press_cb),
3179 (hildon_pannable_area_button_release_cb),
3180 (hildon_pannable_area_scroll_cb),
3181 (hildon_pannable_area_scroll_to): Review the timeout management of
3182 the scrollbar, the frecuency was incorrectly set.
3184 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3186 * src/hildon-picker-button.c:
3187 (+hildon_picker_button_on_dialog_response),
3188 (hildon_picker_button_clicked): Present the dialog instead of
3189 running it with gtk_dialog_run().
3191 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3194 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3196 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3197 (hildon_app_menu_finalize): When a window is hidden it doesn't
3198 emit notify::is-topmost, so make sure than the menu also
3199 disappears in that case.
3200 (parent_window_topmost_notify): Renamed from parent_window_hidden
3202 Fixes: NB#94460 (stackable window's menu is not closed when its
3205 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3207 * src/hildon-touch-selector-entry.c:
3208 (+hildon_touch_selector_entry_set_input_mode),
3209 (+hildon_touch_selector_entry_get_input_mode):
3210 * src/hildon-touch-selector-entry.h: New methods to access the input
3211 mode in the selector's entry.
3213 Fixes: NB#93410 (API required for setting IM mode in
3214 HildonTouchSelectorEntry)
3216 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3218 * configure.ac: post release version bump.
3219 * debian/changelog: version bump
3221 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3226 * configure.ac: Bump version.
3227 * debian/changelog: Updates.
3229 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3231 * src/hildon-touch-selector.c:
3232 (_hildon_touch_selector_has_multiple_selection): No need
3233 to initialize the variables here.
3235 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3237 * src/hildon-note-private.h
3238 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3239 (hildon_note_finalize, hildon_note_rebuild): Close information
3240 notes when they receive a button press.
3242 Fixes: NB#89890 (Information notes does not get disappeared after
3245 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3247 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3248 mark from the wizard title, as it's not really necessary. Also,
3249 do not display the page title if not set.
3251 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3253 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3254 (parent_window_hidden): Use the window's "is-topmost" property to
3255 detect when to hide the menu.
3257 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3259 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3260 (hildon_app_menu_finalize): If the parent window of the menu is
3261 hidden, hide the menu too.
3263 Fixes: NB#94460 (stackable window's menu is not closed when its
3266 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3269 * debian/libhildon1-examples.install
3271 * examples/Makefile.am:
3272 Use dh_install to install all examples.
3273 Use DEB_SRCDIR instead of defining SOURCE_DIR
3275 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3277 * configure.ac: post release version bump.
3278 * debian/changelog: version bump
3280 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3285 * configure.ac: bump version
3286 * debian/changelog: updates
3287 * debian/control: bump gtk+ dependency
3289 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3291 patch by Christian Dywan (christian@imendio.com)
3293 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3294 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3296 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3298 * src/hildon-check-button.c (hildon_check_button_init)
3299 (hildon_check_button_class_init, hildon_check_button_style_set)
3300 (hildon_check_button_apply_style):
3301 New "checkbox-size" style property.
3303 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3304 larger / configurable size)
3306 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3308 * configure.ac: post release version bump.
3309 * debian/changelog: version bump
3311 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3316 * configure.ac: bump version
3317 * debian/changelog: updates
3319 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3321 * doc/hildon-sections.txt
3322 * src/hildon-pannable-area.c
3323 * src/hildon-program.c
3324 * src/hildon-time-editor.c
3325 * src/hildon-touch-selector-entry.c:
3327 More documentation updates.
3329 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3331 * doc/hildon-sections.txt
3332 * src/hildon-caption.c
3333 * src/hildon-code-dialog.c
3334 * src/hildon-color-button.c
3335 * src/hildon-controlbar.c
3336 * src/hildon-date-editor.c
3337 * src/hildon-date-selector.c
3338 * src/hildon-edit-toolbar.c
3339 * src/hildon-find-toolbar.c
3340 * src/hildon-font-selection-dialog.c
3342 * src/hildon-program.c
3343 * src/hildon-range-editor.c
3344 * src/hildon-seekbar.c
3345 * src/hildon-time-editor.c
3346 * src/hildon-time-selector.c
3347 * src/hildon-volumebar-range.c
3348 * src/hildon-volumebar.c
3349 * src/hildon-vvolumebar.c
3350 * src/hildon-weekday-picker.c
3351 * src/hildon-window.c
3352 * src/hildon-wizard-dialog.c:
3354 Lots of documentation fixes.
3356 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3358 Patch contributed by Iván Gómez (igomez@igalia.com)
3360 * src/hildon-check-button.c:
3361 * src/hildon-date-button.c:
3362 * src/hildon-date-selector.c:
3363 * src/hildon-dialog.c:
3364 * src/hildon-edit-toolbar.c:
3365 * src/hildon-entry.c:
3366 * src/hildon-picker-button.c:
3367 * src/hildon-program.c:
3368 * src/hildon-text-view.c:
3369 * src/hildon-time-button.c:
3370 * src/hildon-touch-selector-entry.c:
3371 * src/hildon-window-stack.c:
3373 Add more "since" tags to the new API.
3375 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3377 * doc/hildon-sections.txt: Add below method.
3378 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3379 version for the hildonized scale.
3380 * src/hildon-gtk.h: Add the definition.
3382 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3384 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3386 * doc/hildon-sections.txt: Add missing entries for new methods.
3388 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3390 Added API to pannable are in order to get its adjustments. We
3391 added two properties to manage the values we had in the private
3394 * src/hildon-pannable-area.c:
3395 (hildon_pannable_area_class_init): Added hadjustment and
3396 vadjustment properties in order to expose horizontal and vertical
3398 (hildon_pannable_area_get_property),
3399 (hildon_pannable_area_set_property): Added code to handle the new
3401 (hildon_pannable_area_get_hadjustment),
3402 (hildon_pannable_area_get_vadjustment): API functions to get the
3404 * src/hildon-pannable-area.h:
3405 (hildon_pannable_area_get_hadjustment),
3406 (hildon_pannable_area_get_vadjustment): API functions to get the
3409 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3411 Fixed some leaks, after valgrinding.
3413 * src/hildon-touch-selector.c:
3414 (_default_print_func): Fixed a leak.
3415 (hildon_touch_selector_append_column): Fixed a leak.
3416 * src/hildon-date-button.c:
3417 (hildon_date_button_init): Fixed a leak.
3418 * src/hildon-date-selector.c
3419 (hildon_date_selector_finalize): Fixed a leak.
3421 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3423 Based on a patch by Christian Dywan (christian@imendio.com)
3425 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3427 * src/hildon-gtk.h: Add definition.
3429 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3431 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3433 * src/hildon-picker-button.c: (hildon_picker_button_init),
3434 (hildon_picker_button_new): Set the HildonButton::style property
3435 in the init method, to propagate the value to the derived classes.
3437 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3439 * src/hildon-button.c: (hildon_button_class_init): Do not make
3440 the "style" property a construct property.
3442 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3444 * src/hildon-wizard-dialog.h
3445 * src/hildon-wizard-dialog.c
3446 (hildon_wizard_dialog_set_forward_page_func)
3447 * src/hildon-pannable-area.h
3448 * src/hildon-pannable-area.c
3449 (hildon_pannable_area_set_size_request_policy):
3450 Documentation fixes.
3452 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3454 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3456 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3458 * doc/hildon-sections.txt: Added sections file.
3460 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3463 * src/*.[ch]: Updates.
3465 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3467 * examples/hildon-progress-indicator-example.c: new file
3468 * examples/Makefile.am: include the new example program
3470 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3472 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3474 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3476 * configure.ac: post release version bump
3477 * debian/changelog: version bump
3479 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3484 * configure.ac: bump version
3485 * debian/changelog: updates
3486 * debian/control: bump gtk+ dependency
3488 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3490 * src/hildon-dialog.c: Mark as deprecated.
3491 * src/hildon-dialog.h: Mark as deprecated.
3492 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3493 from HildonDialog and still work, even if
3494 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3495 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3497 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3498 maemo changes) instead)
3500 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3502 * src/hildon-pannable_area.h:
3503 * src/hildon-pannable_area.c:
3504 (hildon_pannable_area_class_init),
3505 (hildon_pannable_area_set_property),
3506 (hildon_pannable_area_get_property),
3507 (hildon_pannable_area_size_request),
3508 (hildon_pannable_area_get_size_request_policy),
3509 (hildon_pannable_area_set_size_request_policy): Added new API
3510 allowing applications to control the request policy. Now they can
3511 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3512 children allocation (HILDON_MOVEMENT_CHILDREN).
3514 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3518 (hildon_gtk_tree_view_set_ui_mode)
3519 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3520 mode of treeviews and iconviews.
3522 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3524 * src/hildon-touch-selector-entry.c:
3525 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3526 of a GtkEntry to get proper theming.
3528 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3529 widget, not GtkEntry)
3531 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3533 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3534 no HildonWizardDialogPageFunc.
3536 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3538 Patch contributed by Iván Gómez (igomez@igalia.com)
3540 * src/hildon-app-menu.c:
3541 * src/hildon-button.c:
3542 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3543 * src/hildon-stackable-window.c:
3544 * src/hildon-time-selector.c:
3545 * src/hildon-touch-selector.c:
3546 * src/hildon-window.c:
3548 Add more "since" tags to the new API in hildon 2.2.
3550 2008-12-05 Tim Janik <timj@imendio.com>
3552 Patch contributed by Christian Dywan (christian@imendio.com)
3554 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3555 HildonSizeType, which are supplied by Gtk+ now.
3557 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3559 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3560 (with maemo changes) instead)
3562 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3564 Patch contributed by Iván Gómez (igomez@igalia.com)
3566 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3569 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3571 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3572 (some_page_func), (main): Update the example to use a
3573 HildonWizardDialogPageFunc function.
3575 * src/hildon-wizard-dialog-private.h: Add private data for
3576 the HildonWizardDialogPageFunc function usage.
3578 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3579 (destroy), (hildon_wizard_dialog_init), (response),
3580 (hildon_wizard_dialog_set_forward_page_func):
3581 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3582 that applications can use to stop a HildonWizardDialog to jump to
3585 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3588 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3590 * src/hildon-program.h
3591 * src/hildon-program-private.h
3592 * src/hildon-program.c (hildon_program_init)
3593 (hildon_program_set_common_app_menu)
3594 (hildon_program_get_common_app_menu):
3595 New API for setting a common HildonAppMenu for all
3596 HildonStackableWindows registered with the HildonProgram.
3598 * src/hildon-stackable-window.c
3599 (hildon_stackable_window_toggle_menu):
3600 Use the common HildonAppMenu if a window doesn't have a specific
3603 * src/hildon-app-menu-private.h
3604 * src/hildon-app-menu.c
3605 (hildon_app_menu_get_parent_window):
3606 Function to obtain the window a HildonAppMenu is attached to.
3607 (hildon_app_menu_set_parent_window):
3608 Hide the menu if the parent window is set to NULL.
3610 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3612 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3613 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3614 search widget to popup.
3616 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3618 * configure.ac: post release version bump
3619 * debian/changelog: version bump
3621 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3626 * configure.ac: bump version
3627 * debian/changelog: updates
3629 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3631 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3633 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3634 (hildon_window_stack_window_realized)
3635 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3636 Set the leader GdkWindow when a window is stacked and realized,
3637 unset it when it's unstacked.
3638 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3640 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3642 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3644 * src/hildon-stackable-window.h
3645 * src/hildon-window-stack.h:
3646 Protect definition of HildonWindowStack using the preprocessor.
3648 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3650 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3651 Fix warning if all menu items are hidden.
3653 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3655 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3657 * src/hildon-controlbar.c:
3658 * src/hildon-hvolumebar.c:
3659 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3660 Multiple scale size defines updates.
3662 Fixes: NB#94322 (Scale Updates)
3664 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3666 * examples/hildon-app-menu-example.c (create_menu)
3667 Show items after adding them to the menu, as in the future the
3668 menu will no longer call gtk_widget_show() on the added items.
3670 * src/hildon-app-menu.c:
3671 Update example as explained above.
3673 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3675 * src/hildon-app-menu.c
3676 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3677 Make sure that all menu items have finger height.
3679 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3681 * src/hildon-picker-dialog.c:
3682 (_on_dialog_response), (_save_current_selection),
3683 (_restore_current_selection), (_clean_current_selection),
3684 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3685 Defined new functions in order to save the current internal selector
3686 selection previous open the dialog, in case that the use cancel the
3687 interaction, so the widget restores the previous selection.
3689 Fixes: NB#92032 (In calendar application, date values in 'new event'
3692 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3694 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3696 * src/hildon-button.c: Add a reference to the button examples in
3697 hildon-button-example.c
3699 * examples/hildon-button-example.c: Added examples of the most
3700 common button layouts.
3702 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3704 * src/hildon-app-menu.c (hildon_app_menu_show)
3705 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3707 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3709 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3711 * src/hildon-picker-dialog.c:
3712 (hildon_picker_dialog_init): Initialize the signal id for
3713 HildonTouchSelector::columns-changed.
3714 (+on_selector_columns_changed): Set up the interaction mode everytime a
3715 column is added or removed from the HildonTouchSelector.
3716 (_hildon_picker_dialog_set_selector): Connect to
3717 HildonTouchSelector::columns-changed and keep track of it.
3719 Make sure to update the interaction mode of the dialog everytime a
3720 column is added or removed in the HildonTouchSelector.
3722 Fixes: NB#93228 (Done button is not shown always in listpicker)
3724 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3726 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3727 a new ::columns-changed signal.
3728 (hildon_touch_selector_append_column): Emit ::columns-changed.
3729 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3731 Add a ::columns-changed signal, emitted when the number of columns in a
3732 HildonTouchSelector changes.
3734 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3736 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3737 (_hildon_picker_dialog_set_selector): Factor out the code
3738 to set up the dialog interaction mode.
3740 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3742 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3743 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3744 to signal_changed_id.
3746 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3748 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3751 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3753 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3754 Updated the logical ids related to ampm format, as now it is required to
3755 show it correctly localized even on languages with no default
3756 abbreviations for am or pm
3757 (_check_am_pm_format): check correctly the 24h format gconf property
3759 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3761 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3763 * src/hildon-button.c: Documentation updates.
3765 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3767 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3768 * src/hildon-caption.c: (hildon_caption_class_init):
3769 * src/hildon-color-button.c: (hildon_color_button_class_init):
3770 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3771 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3772 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3773 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3775 Remove deprecated GTK+ marshalers and replace them with the ones
3776 provided by GLib, for those available, add a marshaler for
3777 BOOLEAN:VOID, which is not available in GLib, and use it.
3779 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3781 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3782 the text from the previous column if there is no
3783 HildonTouchSelectorColumn::text-property set.
3785 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3787 * src/hildon-button.h
3788 * src/hildon-button.c (hildon_button_set_property)
3789 (hildon_button_get_property, hildon_button_class_init)
3790 (hildon_button_set_style, hildon_button_get_style):
3791 New "style" property to change the visual appearance of the
3794 * src/hildon-picker-button.c (hildon_picker_button_new):
3795 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3797 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3798 HildonButton look like PickerButton)
3800 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3802 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3803 column while building the default string.
3805 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3807 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3808 scroll indicator by default.
3810 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3812 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3814 * src/hildon-main.c: Fix the documentation for hildon_init()
3816 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3818 * doc/hildon-docs.sgml
3822 * src/hildon-window-stack-private.h
3823 * src/hildon-window-stack.h
3824 * src/hildon-window-stack.c:
3825 New HildonWindowStack object, that adds support for multiple
3826 stacks of windows per process.
3828 * src/hildon-stackable-window-private.h
3829 * src/hildon-stackable-window.h
3830 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3831 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3832 (hildon_stackable_window_show, hildon_stackable_window_hide)
3833 (hildon_stackable_window_class_init)
3834 (hildon_stackable_window_init):
3835 Use HildonWindowStack for stack management.
3837 * src/hildon-program.c (hildon_program_pop_window_stack)
3838 (hildon_program_peek_window_stack)
3839 (hildon_program_go_to_root_window):
3840 Add a fallback implementation to the deprecated functions using
3843 * examples/hildon-stackable-window-example.c:
3844 Use the new HildonWindowStack API.
3846 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3848 * src/hildon-stackable-window-private.h
3849 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3850 (hildon_stackable_window_hide, hildon_stackable_window_init):
3851 Remove all window stack management.
3853 * src/hildon-program-private.h
3854 * src/hildon-program.h
3855 * src/hildon-program.c (hildon_program_init)
3856 (hildon_program_pop_window_stack)
3857 (hildon_program_peek_window_stack)
3858 (hildon_program_go_to_root_window):
3859 Remove all window stack management and mark functions as
3862 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3864 * src/hildon-app-menu.c (hildon_app_menu_realize):
3865 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3867 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3869 * configure.ac: post release version bump
3870 * debian/changelog: version bump
3872 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3877 * configure.ac: bump version
3878 * debian/changelog: updates
3880 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3882 Based on initial code by Christian Dywan (christian@imendio.com)
3884 * doc/hildon-docs.sgml: Add section for hildon-main.
3885 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3886 * src/Makefile.am: Add new hildon-main.[ch]
3887 * src/hildon-defines.h: Update the icon sizes.
3888 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3889 new library initialization files and register icon sizes.
3890 * src/hildon-main.h: New declarations.
3891 * src/hildon.h: Include hildon-main.h
3893 Add new initialization functions to the library. These methods
3894 will register the hildon specific icon sizes and can be used in the
3895 future for other hildon specific bits.
3897 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3899 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3901 * src/hildon-window.c: (hildon_window_realize),
3902 (hildon_window_notify), (-hildon_window_update_title): Do not set
3903 the application name in the window title.
3905 Fixes: NB#89754 (Applications shouldn't display their names in the
3908 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3910 * src/hildon-note-private.h:
3911 * src/hildon-note.c: (hildon_note_set_property),
3912 (hildon_note_get_property), (hildon_note_class_init),
3913 (hildon_note_init), (hildon_note_finalize),
3914 (hildon_note_new_confirmation_with_icon_name),
3915 (hildon_note_new_information_with_icon_name):
3917 No need to mark as deprecated the actual code. Revert
3918 to avoid missing symbols in widgets using deprecated API.
3920 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3922 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3924 * src/hildon-volumebar.h
3925 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3926 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3928 * src/hildon-helper.h
3929 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3930 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3932 * examples/Makefile.am:
3933 Deprecate hildon-insensitive-example
3935 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3937 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3939 * examples/hildon-pannable-area-buttons-scroll-example.c:
3940 Make all buttons finger height
3942 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3944 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3946 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3947 update the day model only if it is really required, and to avoid the
3948 full-reconstruction aproach. Now it only add or remove the required days.
3950 The purpose of this is avoid superfluous HildonTouchSelector::changed
3953 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3954 with strange parameters)
3956 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3958 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3960 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3961 the WINDOW_TYPE property.
3963 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3965 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3968 Fix dependency to allow parallel compilation with make -jX
3970 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3972 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3973 color frame and some minor tweaks to make it more consistent with
3976 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3977 highlighted but not visible)
3979 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3981 * examples/Makefile.am: Fixed typo in the Makefile.am.
3983 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3985 Reviewed the use of MAEMO_GTK define, now we add the define in the
3986 compilation line, and we also add it to the pc file.
3988 * configure.ac: Added MAEMO_GTK define to the compilation command
3989 and removed it from the config.h.
3991 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3992 do not have to take care about this define if the library was
3996 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3998 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4000 * examples/Makefile.am,
4001 * examples/hildon-pannable-area-buttons-scroll-example.c,
4002 * examples/hildon-pannable-area-gesture-signals-example.c,
4003 * examples/hildon-pannable-area-scroll-jump-example.c,
4004 * examples/hildon-pannable-area-tree-view-example.c:
4005 Renamed the pannable area examples, now they have more meaningful
4008 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4010 * src/hildon-touch-selector.c:
4011 (hildon_touch_selector_set_column_selection_mode): Used of
4012 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4013 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4014 to avoid re-seting the same selection mode.
4016 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4017 breaks HildonPickerDialog)
4019 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4021 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4022 conditional in the Makefile.am
4024 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4026 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4027 Remove unused methods.
4029 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4031 * src/hildon-button.c (hildon_button_init):
4032 Make button images center-aligned by default
4034 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4037 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4038 activated, we have to think about how to deal with both defines
4039 MAEMO_GTK and MAEMO_CHANGES.
4041 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4043 * examples/hildon-app-menu-example.c (create_menu): Make all
4044 buttons finger size.
4046 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4048 Fixed the compilation without maemo gtk adding ifdefs with
4049 MAEMO_GTK define to the code, we have to check this version more
4052 * examples/Makefile.am: Added control to avoid some examples that
4053 just make sense with maemo gtk.
4056 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4057 hildon modes with the define.
4059 * examples/hildon-edit-toolbar-example.c,
4060 (create_icon_view): Create the icon view without hildon-gtk
4061 helpers if we are not using maemo gtk.
4063 * src/hildon-touch-selector.c,
4064 (_create_new_column): Create the treeview without hildon-gtk
4065 helpers if we are not using maemo gtk.
4067 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4069 * src/hildon-pnnable-area.c,
4070 (hildon_pannable_area_dispose),
4071 (hildon_pannable_area_button_press_cb),
4072 (hildon_pannable_area_child_mapped),
4073 (hildon_pannable_area_add),
4074 (hildon_pannable_area_remove): Added code to control the position
4075 of the event_window when adding and removing children from the
4076 pannable. We have to raise the event window when the child is
4079 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4080 selection mode using custom widget inside pannable)
4082 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4084 * configure.ac: post release version bump
4085 * debian/changelog: version bump
4087 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4092 * configure.ac: bump version
4093 * debian/changelog: updates
4095 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4097 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4098 search mode, in order to avoid lose the focus on the treeview when
4099 a hw key (like enter) is pressed.
4101 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4102 in HildonDateSelector dialog)
4104 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4106 * debian/rules: Added --enable-maintainer-mode
4107 * Makefile.am: Added ACLOCAL_AMFLAGS
4109 This allows to properly regenerate the Makefiles if you modify the
4110 configure.ac or any Makefile.am.
4112 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4114 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4115 properties, not needed at all.
4117 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4119 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4121 * src/hildon-note.c: (hildon_note_set_property),
4122 (hildon_note_get_property), (hildon_note_class_init),
4123 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4124 (hildon_note_new_confirmation_add_buttons): Remove icons.
4125 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4126 (hildon_note_new_information_with_icon_name): Deprecate.
4127 (hildon_note_new_confirmation): Act directly, without calling
4128 the deprecated constructor.
4129 (hildon_note_new_information): Act directly, without calling
4130 the deprecated constructor.
4131 * src/hildon-note.h: Mark deprecate methods as such.
4132 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4133 not run tests on the deprecated methods if built with deprecation
4136 Fixes: NB#91688 (Never show icons in information notes/confirmation
4139 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4141 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4142 (hildon_app_menu_key_press): Remove leftover usage of the
4143 private structure in HildonAppMenu struct.
4144 * src/hildon-app-menu.h: Remove leftover private structure
4145 from the HildonAppMenu struct.
4147 Fixes a crasher when using the HildonAppMenu.
4149 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4151 * src/hildon-picker-dialog.c: Use appropriate logical id
4152 for the default "Done" text.
4154 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4156 * configure.ac: post release version bump
4157 * debian/changelog: version bump
4159 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4161 Modified the way to scroll to the current selection just when the touch
4162 selector is shown on the screen, avoiding a g_idle. Added too a property
4163 to configure this behaviour. See hildon_pannable_area_jump_to_child
4164 documentation for more information.
4166 * src/hildon-touch-selector.c
4167 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4168 Added 'initial-scroll' property
4169 (hildon_touch_selector_set_property): Added
4170 (hildon_touch_selector_map): Removed as not required anymore
4171 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4172 only a concrete column, instead of iterate along all the columns
4174 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4179 * configure.ac: bump version
4180 * debian/changelog: updates
4182 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4184 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4185 compilation time warnings.
4187 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4189 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4190 the default value for HildonPannableArea::mov-mode to
4191 HILDON_PANNABLE_AREA_MODE_VERT.
4193 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4195 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4197 Reverting following commit:
4199 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4201 * src/hildon-app-menu-private.h
4202 * src/hildon-app-menu.[ch]
4203 * src/hildon-button.[ch]
4204 * src/hildon-check-button.[ch]
4205 * src/hildon-entry.[ch]
4206 * src/hildon-pannable-area.[ch]
4207 * src/hildon-text-view.[ch]:
4208 Added private field to the object's structure.
4210 because it causes an ABI breakage. We will need to introduce these
4211 changes later at some point. See NB#91636 for an extensive
4212 explanation and status.
4214 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4216 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4218 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4219 remove special cases that are no longer necessary.
4221 Fixes: NB#91016 (Change toolbar sizes, simplification)
4223 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4225 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4226 is shown in the cancel note.
4228 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4230 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4231 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4232 (hildon_seekbar_init): Remove steppers, remove expose event.
4233 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4235 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4237 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4239 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4240 label font to "SmallSystemFont" for vertically arranged buttons.
4242 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4245 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4247 * src/hildon-check-button.c
4248 (hildon_check_button_set_active, hildon_check_button_clicked):
4249 Don't access private parts directly, use getters instead.
4251 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4253 * src/hildon-check-button.c (hildon_check_button_new):
4254 Align the contents of the check button to the left.
4256 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4258 * src/hildon-pannable-area.c,
4259 (hildon_pannable_area_scroll_to),
4260 (hildon_pannable_area_jump_to),
4261 (hildon_pannable_area_scroll_to_child),
4262 (hildon_pannable_area_jump_to_child): Replace the mapped
4263 precondition of these functions with the realized, it is the
4264 correct state of the widget in this case. Changed the
4265 documentation according to this modification.
4267 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4269 Added a new EXTRA_CFLAGS option to add the deprecated define to
4270 the compilation command. This way we can avoid using the define in
4271 the documentation compilation.
4273 * configure.ac: Defined EXTRA_CFLAGS.
4275 * examples/Makefile.am:
4277 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4279 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4281 * src/hildon-picker-dialog.c:
4282 Defined a utility macro with the desired touch selector height
4283 Removed currently unused separator, and title_label variables from
4285 (hildon_picker_dialog_init): Removed code related to the creation
4286 of unused private variables title_label and separator.
4287 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4288 to ensure correct visualization of the touch selector inside the dialog.
4289 * src/hildon-touch-selector.c
4290 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4291 ensure a concrete height of the widget.
4293 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4296 * tests/Makefile.am:
4298 Remove spurious whitespaces.
4300 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4302 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4303 compilation warning after the cancel button removal.
4305 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4307 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4309 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4310 Makefile.am, that way we can choose not to compile some examples
4311 and tests of the deprecated widgets.
4313 * examples/Makefile.am: Divided the sources in deprecated and
4316 * src/Makefile.am: Added undef statement of the deprecated
4317 symbol to the enums file generation process.
4319 * src/hildon-color-chooser-dialog.c
4320 * src/hildon-color-chooser-dialog.h
4321 * src/hildon-color-button.c
4322 * src/hildon-color-button.h
4323 * src/hildon-color-chooser.c
4324 * src/hildon-color-chooser.h
4325 * src/hildon-controlbar.c
4326 * src/hildon-controlbar.h
4327 * src/hildon-date-editor.c
4328 * src/hildon-date-editor.h
4329 * src/hildon-hvolumebar.c
4330 * src/hildon-hvolumebar.h
4331 * src/hildon-private.c
4332 * src/hildon-private.h
4333 * src/hildon-range-editor.c
4334 * src/hildon-range-editor.h
4335 * src/hildon-seekbar.c
4336 * src/hildon-seekbar.h
4337 * src/hildon-time-editor.c
4338 * src/hildon-time-editor.h
4339 * src/hildon-time-picker.c
4340 * src/hildon-time-picker.h
4341 * src/hildon-volumebar.c
4342 * src/hildon-volumebar.h
4343 * src/hildon-vvolumebar.c
4344 * src/hildon-vvolumebar.h
4345 * src/hildon-bread-crumb-trail.h
4346 * src/hildon-bread-crumb-trail.c
4347 * src/hildon-calendar-popup.c
4348 * src/hildon-calendar-popup.h
4349 * src/hildon-weekday-picker.c:
4350 * src/hildon-weekday-picker.h:
4351 * src/hildon-bread-crumb-widget.c:
4352 * src/hildon-bread-crumb-widget.h:
4353 * src/hildon-bread-crumb.c:
4354 * src/hildon-bread-crumb.h:
4355 * src/hildon-calendar.c:
4356 * src/hildon-calendar.h:
4357 * src/hildon-caption.c:
4358 * src/hildon-code-dialog.c:
4359 * src/hildon-code-dialog.h:
4360 * src/hildon-font-selection-dialog.c:
4361 * src/hildon-font-selection-dialog.h:
4362 * src/hildon-get-password-dialog.c:
4363 * src/hildon-get-password-dialog.h:
4364 * src/hildon-login-dialog.c:
4365 * src/hildon-login-dialog.h:
4366 * src/hildon-number-editor.c:
4367 * src/hildon-number-editor.h:
4368 * src/hildon-set-password-dialog.c:
4369 * src/hildon-set-password-dialog.h:
4370 * src/hildon-sort-dialog.c:
4371 * src/hildon-sort-dialog.h: This is the list of deprecated
4374 * src/hildon-touch-selector.c:
4375 * src/hildon-window.c: Added undef statement to avoid compilation
4378 * tests/Makefile.am: Divided the sources in deprecated and
4381 * tests/check_test.c,
4382 (configure_tests): Marked the deprecated code that was adding
4383 suites with deprecated tests.
4385 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4387 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4389 * src/hildon-touch-selector.c: (_default_print_func): Do not
4390 duplicate a string returned by gtk_tree_model_get(), it is already
4393 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4396 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4398 * src/hildon-pannable-area.c
4399 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4400 method, it had problems when adding a widget with viewport the
4401 second time. Now checks if it already has a viewport and uses it.
4403 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4406 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4408 * src/hildon-pannable-area.c,
4409 (hildon_pannable_area_scroll_to),
4410 (hildon_pannable_area_jump_to),
4411 (hildon_pannable_area_scroll_to_child),
4412 (hildon_pannable_area_jump_to_child): Added a precondition to the
4413 scroll and jump to functions: the widget must be mapped before we
4414 can safely call these functions. We have also added documentation
4415 to the functions to explain how to use them in this situation.
4418 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4420 Reviewed the threading handling of the pannable widget, we have
4421 used the gdk_threads_add_timeout function instead of the usual
4422 glib handlers. This avoids some problems with the threads.
4424 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4425 (hildon_pannable_area_initial_effect),
4426 (hildon_pannable_area_scroll_indicator_fade),
4427 (hildon_pannable_area_button_press_cb),
4428 (hildon_pannable_area_timeout),
4429 (hildon_pannable_area_motion_notify_cb),
4430 (hildon_pannable_area_button_release_cb),
4431 (hildon_pannable_area_scroll_cb),
4432 (hildon_pannable_area_scroll_to): Removed the
4433 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4434 gdk_threads_add_timeout.
4436 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4438 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4443 * configure.ac: bump version
4444 * debian/changelog: updates
4446 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4448 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4449 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4450 * src/hildon-color-chooser-dialog.c:
4451 (hildon_color_chooser_dialog_init):
4452 * src/hildon-font-selection-dialog.c:
4453 (hildon_font_selection_dialog_init):
4454 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4456 Remove all cancel/close-like dialogs, as these are not going to be
4459 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4461 * src/hildon-note.c: (hildon_note_rebuild),
4462 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4465 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4467 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4469 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4470 sure all buttons are shown, even the Cancel/Close-like ones.
4472 Fixes: NB#90861 (Custom Confirmation dialogs should be
4473 protected from cancel button removal)
4475 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4477 * debian/control: Change libhildon1-examples dependency from libhildon1
4479 * debian/libhildon1-examples.install
4481 * Makefile.am: Modified the final install directory for the examples on
4482 package libhildon1-examples
4483 * Makefile.static: Update clean target in order to remove all the binary
4486 Changes suggested by Claudio after review new libhildon1-examples package
4488 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4490 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4491 * src/hildon-touch-selector.c: Ditto.
4493 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4495 * debian/control: Added new package libhildon1-examples, in order to pack
4496 the current hildon examples as documentation
4497 * debian/rules: Not to compress .c files, modify some includes on the
4498 examples (as normally are compiled locally, but when installed it will
4499 require to include the installed libhildon1 library), and rename
4501 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4502 install all the example files on the new example package
4503 * examples/Makefile.static: Added static makefile that can be used to
4504 compile the examples, once installed the new example package
4505 * examples: Most of the examples were modified in order to grant that
4506 all use only '#include "hildon.h"', in order to be easy to prepare
4507 it on the example package
4509 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4512 * debian/libhildon1-dev.install
4513 * debian/libhildon1-doc.install:
4514 Move all gtk-doc files to a separate libhildon1-doc package.
4516 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4518 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4520 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4522 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4524 * debian/rules: Fixed a error in order to avoid unnecessary calls
4525 to autogen.sh on package building
4527 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4529 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4531 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4533 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4536 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4538 * src/hildon-picker-button.c
4539 (hildon_picker_button_finalize):
4540 Free priv->done_button_text
4542 * src/hildon-time-button.c
4543 (hildon_time_button_set_time)
4544 * src/hildon-picker-button.c
4545 (hildon_picker_button_clicked)
4546 (hildon_picker_button_selector_selection_changed)
4547 (hildon_picker_button_set_selector)
4548 * src/hildon-date-button.c
4549 (hildon_date_button_set_date):
4550 Free strings returned by hildon_touch_selector_get_current_text()
4552 * src/hildon-button.c (hildon_button_construct_child):
4553 Fix leaks in priv->image and priv->label_box
4555 Fixes: NB#90535 (Memory leak in picker button)
4557 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4559 * src/hildon-button.c: (hildon_button_get_property): Do not access
4560 private elements directly, use getters instead.
4562 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4564 * src/hildon-app-menu-private.h
4565 * src/hildon-app-menu.c
4566 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4567 Store the menu's parent window.
4569 * src/hildon-stackable-window.c
4570 (hildon_stackable_window_toggle_menu)
4571 (hildon_stackable_window_finalize):
4572 Set the menu's parent window when the menu is shown, unset it when
4575 * src/hildon-app-menu.c
4576 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4577 (hildon_app_menu_class_init):
4578 Send unhandled keyboard accelerators to the parent window.
4580 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4582 * src/hildon-stackable-window.c
4583 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4585 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4587 * configure.ac: post release version bump
4589 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4592 * configure.ac: Bump version
4593 * debian/changelog: Updates
4594 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4597 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4599 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4602 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4603 GtkMenu with Hildon style.
4605 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4607 * src/hildon-picker-button.c:
4608 (hildon_picker_button_set_done_button_text): Set the dialog's
4609 done button text here as well.
4611 Fixes: NB#90232 (Picker button does not set the label on done button
4612 for the second time)
4614 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4616 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4619 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4621 * src/hildon-app-menu.c (hildon_app_menu_insert)
4622 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4623 the HildonAppMenu to be activatable using keyboard accelerators
4624 when the menu is not being shown.
4626 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4628 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4630 * src/hildon-stackable-window.c
4631 (hildon_stackable_window_show):
4632 Don't hide old windows automatically when new windows are shown:
4633 this is now a task for the window manager.
4634 (hildon_stackable_window_class_init)
4635 (hildon_stackable_window_hide):
4636 Remove windows from the stack everytime they're hidden.
4637 (hildon_stackable_window_realize):
4638 Don't change the _NET_WM_WINDOW_TYPE property. Use
4639 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4640 it as a stackable window.
4642 * src/hildon-program.c
4643 (hildon_program_pop_window_stack):
4644 Just hide the window to remove it from the stack.
4645 (hildon_program_go_to_root_window):
4646 Don't call gtk_widget_show(), this is now a task for the window
4649 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4651 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4653 * src/hildon-button.c
4654 (hildon_button_construct_child):
4655 Don't pack anything in the button until text or image are
4656 set. This allows adding a custom child after creating the button
4657 with hildon_button_new().
4658 (hildon_button_finalize, hildon_button_class_init)
4659 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4660 alignment and the label box even when they're not packed in the
4663 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4665 * src/hildon-touch-selector.h:
4666 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4667 currently the type definition was using GTK_TYPE_VBOX
4668 * src/hildon-touch-selector.c:
4669 Added some implementation notes in order to clarify that any other widget
4670 added without the column related API will not be included on the
4671 selection logic, and how the widget is freed, as some people ask about
4673 (hildon_touch_selector_remove): Reimplemented in order to free properly
4674 the column related data when you remove the private hbox.
4675 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4676 to get a proper HildonTouchSelectorColumn documentation
4678 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4680 * src/hildon-touch-selector-entry.c:
4681 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4682 text in the GtkEntry and there is no item selected. Fixes a
4685 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4687 * src/hildon-app-menu-private.h
4688 * src/hildon-app-menu.[ch]
4689 * src/hildon-button.[ch]
4690 * src/hildon-check-button.[ch]
4691 * src/hildon-entry.[ch]
4692 * src/hildon-pannable-area.[ch]
4693 * src/hildon-text-view.[ch]:
4694 Added private field to the object's structure.
4696 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4698 * configure.ac: post-release version bump
4700 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4704 * configure.ac: pre-release version bump
4706 * debian/changelog: updates.
4708 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4710 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4711 Disconnect the handler for HildonTouchSelector::changed.
4713 (hildon_picker_button_selector_selection_changed): Update the button
4714 value if the selection change was not triggered by the
4717 (hildon_picker_button_set_selector): connect to
4718 HildonTouchSelector::changed.
4720 Fixes: NB#89650 (Picker button is not updated, when selection in
4721 selector has changed)
4723 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4725 * src/hildon-picker-dialog.c
4726 (hildon_picker_dialog_realize): Removed as not required
4727 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4728 * src/hildon-picker-button.c
4729 (_current_selector_empty): New function, checks if the selector is empty
4730 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4731 if the current selector is empty, in order to avoid to show the dialog
4732 close the dialog in this case (and shows a g_warning).
4734 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4736 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4738 * src/hildon-pannable-area.c,
4739 (hildon_pannable_area_scroll): Added clause to stop movement when
4740 the child of pannable is smaller than one page.
4741 (hildon_pannable_area_scroll_to): Added conditions to avoid
4742 starting the scrolling movement if the child is smaller than one
4743 page, the complete child is in the screen, we do not have to move.
4745 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4747 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4749 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4750 this is managed automatically by the widget when the size of the
4753 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4755 * src/hildon-picker-button.c
4756 (hildon_picker_button_set_done_button_text): Make a copy of the
4757 text, and free the previous value.
4759 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4761 * src/hildon-touch-selector-entry.c:
4762 (hildon_touch_selector_entry_print_func): Return the selected row's
4763 text if the entry is empty.
4765 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4768 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4770 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4772 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4775 * src/hildon-check-button.h
4776 * src/hildon-check-button.c
4777 * examples/hildon-check-button-example.c:
4778 HildonCheckButton is now a new widget. 'toggled' signal added.
4780 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4782 * src/hildon-program-private.h
4783 * src/hildon-program.c (hildon_program_init)
4784 (hildon_program_finalize): Removed unused variables group_leader
4785 and name from HildonProgramPrivate.
4787 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4789 * src/hildon-check-button.c (hildon_check_button_set_active)
4790 (hildon_check_button_get_active, hildon_check_button_new): Use
4791 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4793 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4795 * src/hildon-touch-selector.h
4796 (hildon_touch_selector_set_column_attributes): added deprecation
4797 guard HILDON_DISABLE_DEPRECATED
4798 * src/hildon-time-selector.c
4799 (hildon_time_selector_set_time)
4800 (hildon_time_selector_get_time): Fixed a typo on documentation
4801 * src/hildon-touch-selector.c: update HildonTouchSelector and
4802 HildonTouchSelectorColumn documentation
4803 * src/hildon-touch-selector-entry.c: update "text-column" property
4805 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4806 to be added to the general documentation.
4808 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4810 * examples/hildon-pannable-area-example-4.c,
4812 * examples/hildon-pannable-area-example.c,
4813 (main): Modified the code in order to use the container add, with
4814 viewport treeviews could have problems if they are really big.
4816 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4818 * src/hildon-weekday-picker.c,
4819 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4820 the agreement regarding deprecation in the library.
4822 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4824 * examples/hildon-picker-button-multicolumn-example.c:
4825 (main): Use custom "done" button text.
4827 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4828 (hildon_picker_button_set_property),
4829 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4830 (hildon_picker_button_init),
4831 (+hildon_picker_button_get_done_button_text),
4832 (+hildon_picker_button_set_done_button_text): New methods to customize
4833 the "done" button label in the launched HildonPickerDialog. Also,
4836 * src/hildon-picker-button.h: add the public API.
4838 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4840 * src/hildon-date-selector.h:
4841 * src/hildon-picker-dialog.h:
4842 * src/hildon-time-selector.h:
4843 * src/hildon-touch-selector-column.h:
4844 * src/hildon-touch-selector.h:
4846 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4847 declarations. Fixes gtk-doc warnings.
4849 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4851 * src/hildon-picker-dialog.h
4852 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4853 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4855 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4856 long text is set as label for done button)
4858 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4860 * src/hildon-dialog.c (hildon_dialog_add_button):
4861 Set fixed width to all buttons in the HildonDialog.
4863 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4865 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4867 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4868 Set widget name using class name plus "-finger" or "-thumb".
4870 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4872 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4873 'clicked' when the state of the button is manually changed.
4875 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4877 * src/hildon-app-menu.c (hildon_app_menu_realize)
4878 (hildon_app_menu_unrealize, hildon_app_menu_init)
4879 (hildon_app_menu_class_init, item_visibility_changed):
4880 Change the menu layout when the size of the screen changes.
4881 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4882 Show warning only when changing the number of colums using the
4885 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4887 * debian/compat: Set to 5
4888 * debian/control: Update dependencies.
4889 * debian/libhildon1-dbg.install: Remove.
4890 * debian/libhildon1-dev.install: Update according to cdbs paths.
4891 * debian/libhildon1.install: Update according to cdbs paths.
4892 * debian/rules: Switch to cdbs.
4894 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4896 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4897 'item' variable renamed to 'filter'
4899 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4901 * src/hildon-app-menu.c (hildon_app_menu_insert)
4902 (hildon_app_menu_add_filter, remove_item_from_list)
4903 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4904 Don't leak hidden items when the menu is destroyed.
4906 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4908 * src/hildon-app-menu.c (hildon_app_menu_insert)
4909 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4910 (hildon_app_menu_set_columns, item_visibility_changed)
4911 (filter_visibility_changed, hildon_app_menu_repack_filters)
4912 (hildon_app_menu_repack_items):
4913 Repack items and filters separately.
4915 Don't repack all items, change only the ones that are needed to
4918 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4920 * src/Makefile.am: added hildon-touch-selector-column.h
4922 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4924 * src/hildon-touch-selector.c: added the property "text-column" to the
4925 class HildonTouchSelectorColumn, and related get/set functions
4926 (_default_printf_func): updated to use "text-column" property
4927 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4928 "text-column" in his documentation, as this is now included on
4929 HildonTouchSelectorColumn. The get/set_property can still be used,
4930 working as a wrapper to the concrete column "text-column" property
4931 (_text_column_modified): callback added in order to handle the signal
4932 "notify::text-column" of the concrete HildonTouchSelectorColumn
4933 (hildon_touch_selector_entry_get_text_column)
4934 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4935 modified in order to use the HildonTouchSelectorColumn "text-column"
4937 * src/hildon-time-selector.c:
4938 * src/hildon-date-selector.c:
4939 * examples/hildon-touch-selector-example.c
4940 * examples/hildon-touch-selector-multi-cells-example.c
4941 * examples/hildon-picker-button-multicolumn-example.c
4942 Set the right value to "text-column" property on the creation of a new
4943 column using hildon_touch_selector_append_column()
4945 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4947 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4949 * src/hildon-app-menu.c
4950 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4951 updating the layout of the menu, don't create all widgets again,
4952 just repack the items in their new places.
4954 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4956 * src/hildon-time-selector.c
4957 (hildon_time_selector_get_time)
4958 (hildon_time_selector_set_time)
4959 Added documentation of these public methods
4961 * src/hildon-date-button.h
4962 * src/hildon-touch-selector-column.h
4963 * src/hildon-time-button.h
4964 * src/hildon-picker-dialog.h
4965 * src/hildon-time-selector.h
4966 * src/hildon-picker-button.h
4967 * src/hildon-touch-selector.h
4968 * src/hildon-time-picker.h
4969 * src/hildon-date-selector.h
4970 * src/hildon-touch-selector-entry.h
4971 Modified in order to use hildon-widgets code style
4973 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4975 Added deprecated support to the compilation process using
4976 HILDON_DISABLE_DEPRECATED
4978 * configure.ac: Added the --disable-deprecated to the configure
4981 * src/hildon-weekday-picker.c:
4982 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4983 to use the deprecated support. We will update the other deprecated
4984 widgets status in a new patch.
4986 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4988 * configure.ac: Fixed typo with fatal warnings support, the
4989 variable name was not correct
4991 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4993 * src/hildon-app-menu.c
4994 * src/hildon-program.c: Update documentation.
4996 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4998 * configure.ac: Post-release version bump.
5000 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5005 * configure.ac: Pre-release version bump.
5006 * debian/changelog: Updates.
5008 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5010 * NEWS: Update news for previous releases.
5012 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5014 * examples/hildon-touch-selector-multi-cells-example.c:
5015 (create_selector): Update the example to use
5016 hildon_touch_selector_append_column() with a NULL renderer and set
5017 the renderers later.
5018 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5019 passed a NULL renderer. This is documented behavior now.
5021 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5022 This must be used if the developer wants full control on the layout of
5023 the renderers to be added to the column.
5025 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5027 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5029 * src/hildon-touch-selector.c: Documentation fixes.
5031 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5033 * src/hildon-wizard-dialog-private.h: Remove image and box.
5034 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5035 (hildon_wizard_dialog_set_property), (response): Completely remove
5036 image/icon support, and the containers required for the layout.
5038 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5040 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5042 * src/hildon-app-menu.c: Updated documentation.
5044 * src/hildon-stackable-window.c
5045 (hildon_stackable_window_set_main_menu): Unref the old menu after
5046 ref'ing the new one.
5048 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5050 * src/hildon-stackable-window.c
5051 (hildon_stackable_window_set_main_menu): Unref the previous menu
5052 instead of destroying it.
5054 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5055 floating reference and set has_user_ref_count to FALSE to make
5056 HildonAppMenu act like a normal ref-counted widget and not a
5059 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5062 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5064 * src/hildon-touch-selector-column.h: new file
5065 * src/hildon-touch-selector.h
5066 * src/hildon-touch-selector.c
5067 Implemented GtkCellLayout interface, in order to allow to configure
5068 the cell layout on each individual selector column
5069 (hildon_touch_selector_set_column_attributes): marked as deprecated
5070 * examples/hildon-touch-selector-multi-cells-example.c
5071 Example of how to use the GtkCellLayout interface on the selector
5073 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5075 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5077 * src/hildon-app-menu.h
5078 * src/hildon-app-menu.c
5079 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5080 (hildon_app_menu_append, hildon_app_menu_prepend):
5081 New methods to prepend, insert and move items in the menu.
5083 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5085 * src/hildon-wizard-dialog.c:
5087 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5089 (create_title): Update logical IDs and related code.
5090 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5092 * src/hildon-wizard-dialog.h: Note that
5093 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5094 point, as it is not used anymore.
5096 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5098 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5100 * src/hildon-note.c:
5101 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5102 shown. Do not display an icon in confirmation notes nor information
5104 (hildon_note_set_button_text): Update logical ID for cancel button.
5106 Fixes: NB#88850 (Update HildonNote button strings + signals)
5108 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5110 * src/hildon-stackable-window.c
5111 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5113 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5115 * src/hildon-app-menu-private.h
5116 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5117 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5118 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5119 temporary property 'columns' to change the number of columns.
5121 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5123 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5125 * examples/hildon-note-example.c: (on_information_clicked),
5126 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5127 debugging information.
5128 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5130 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5131 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5132 in order to close: this will be handled by the WM from now on.
5134 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5136 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5138 * src/hildon-app-menu-private.h
5139 * src/hildon-app-menu.c
5140 (hildon_app_menu_append, hildon_app_menu_add_filter)
5141 (button_visibility_changed, hildon_app_menu_apply_style)
5142 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5143 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5144 layout everytime a button (item or filter) is shown or hidden.
5146 * src/hildon-stackable-window.c
5147 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5150 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5152 * src/hildon-touch-selector.c:
5153 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5154 that the treeview inside the touch selector is in fremantle hildon mode
5155 * examples/hildon-date-button-example.c
5156 * examples/hildon-picker-button-multicolumn-example.c
5157 * examples/hildon-touch-selector-entry-example.c
5158 * examples/hildon-touch-selector-example.c
5159 * examples/hildon-time-button-example.c
5160 * examples/hildon-picker-button-example.c:
5161 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5163 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5165 * examples/hildon-text-view-example.c: (main): Remove the
5166 gtkrc bits, now handled by the theme.
5168 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5170 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5173 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5175 * po/Makefile.am: Install properly the mo files.
5176 * po/en_GB.po: Update translation, to ease testing purposes.
5178 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5180 * examples/hildon-picker-button-example.c: (main): Select an item
5181 in the selector before setting it to the button.
5183 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5185 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5186 Update button's value if the selector has an item active.
5188 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5189 'value' with the selector)
5191 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5193 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5194 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5195 (hildon_picker_button_class_init): Plug the finalize method.
5196 (hildon_picker_button_set_selector): If there's a previously set
5197 selector, unref'it before setting a new one.
5199 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5200 HildonTouchSelector)
5202 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5204 * src/hildon-touch-selector-entry.c:
5205 (hildon_touch_selector_entry_changed): Check if there is no text
5206 selected before setting the entry text.
5209 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5211 * src/hildon-touch-selector.h
5212 * src/hildon-touch-selector.c
5213 (hildon_touch_selector_get_active)
5214 (hildon_touch_selector_set_active): New methods to set/get the
5215 index of the selected item.
5217 * src/hildon-picker-button.h
5218 * src/hildon-picker-button.c
5219 (hildon_picker_button_get_active)
5220 (hildon_picker_button_set_active): New methods to set/get the
5221 index of the selected item.
5223 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5225 * configure.ac: post-release version bump.
5227 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5231 * configure.ac: Pre-release version bump.
5232 * debian/changelog: Updates.
5233 * debian/control: Add myself as maintainer and depend on l10n
5236 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5238 * src/hildon-window.c
5239 (hildon_window_set_main_menu)
5240 * src/hildon-stackable-window.c
5241 (hildon_stackable_window_set_main_menu):
5242 Updated documentation.
5244 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5246 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5247 Don't free selector->priv manually.
5250 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5253 (hildon_gtk_window_set_progress_indicator):
5254 * src/hildon-gtk.h: Added the new API
5255 hildon_gtk_window_set_progress_indicator, it changes the state of
5256 the window progress hint.
5258 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5260 * src/hildon-button.c
5261 * src/hildon-stackable-window.c: Minor documentation updates.
5263 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5265 * src/hildon-stackable-window.c: Updated documentation.
5267 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5269 * src/hildon-defines.h: Update margins definitions
5270 to the Fremantle sizes.
5273 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5275 * src/hildon-touch-selector.c,
5276 (_hildon_touch_selector_set_model): Cleaning the code after
5277 review, removed g_print and #if 0 from the code.
5279 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5281 * src/hildon-edit-toolbar.c: Update documentation.
5283 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5285 * src/hildon-check-button.h
5286 * src/hildon-check-button.c
5287 (hildon_check_button_set_label, hildon_check_button_get_label)
5288 * examples/hildon-check-button-example.c
5289 (button_clicked_cb):
5290 Removed deprecated methods.
5292 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5294 * src/hildon-text-view.c:
5295 Add sample code to the documentation.
5297 * src/hildon-entry.h
5298 * src/hildon-text-view.h:
5299 Minor cosmetic changes.
5301 * src/hildon-entry.c:
5302 Add sample code to the documentation.
5303 (hildon_entry_init, hildon_entry_refresh_contents):
5304 Don't allow NULL values in the placeholder.
5306 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5308 * doc/hildon-docs.sgml
5310 * examples/Makefile.am
5311 * examples/hildon-text-view-example.c
5313 * src/hildon-text-view.c
5314 * src/hildon-text-view.h
5316 New HildonTextView widget, with example.
5318 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5320 * po/POTFILES.in: Add missing files with translatable strings.
5321 Partially fixes NB#88287.
5323 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5325 * examples/hildon-pannable-area-example-2.c: (main): No need to
5326 set the cellrenderer height inside hildon touch lists, the theme does
5329 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5331 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5332 they are integrated in the theme.
5334 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5336 * examples/hildon-entry-example.c: Update the example adding
5337 widgets to modify the text and the placeholder of the HildonEntry.
5339 * src/hildon-entry.c: Show the placeholder everytime the widget
5340 is empty and loses the focus.
5342 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5344 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5346 * src/hildon-pannable-area.c,
5347 (hildon_pannable_area_size_request): Fixed bug in height
5348 requisition, avoid increasing size and add border twice.
5350 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5352 * configure.ac: postrelease version bump.
5354 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5358 * configure.ac: Prerelease version bump.
5359 * debian/changelog: update.
5360 * debian/rules: make -dbg package contain useful debugging symbols.
5362 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5364 * src/hildon-dialog.h
5365 * src/hildon-dialog.c
5366 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5367 New methods to add buttons with finger size.
5368 (hildon_dialog_new_with_buttons):
5369 Create buttons with finger size.
5371 * examples/hildon-dialog-example.c (main): Use HildonDialog
5372 methods to add buttons.
5374 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5376 * src/hildon-entry.c: Updated HildonButton documentation.
5378 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5380 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5381 button value label with (FALSE, FALSE) to prevent NB#88126 from
5384 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5386 * examples/hildon-pannable-area-example.c,
5387 (main): Removed examples panning a vbox inside a pannable
5388 area. Check bug NB#87965
5390 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5392 Patch contributed by Kris Rietveld (kris@imendio.com)
5394 * src/hildon-pannable-area.c,
5395 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5396 get_size and get_position, this saves an X server roundtrip.
5398 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5400 * doc/hildon-docs.sgml
5402 * examples/Makefile.am
5403 * examples/hildon-entry-example.c
5405 * src/hildon-entry.c
5406 * src/hildon-entry.h
5408 New HildonEntry widget, with example.
5410 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5412 * src/hildon-button.c (hildon_button_construct_child): Pack the
5413 image with expand == fill == FALSE. This is a workaround for a bug
5416 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5418 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5419 labels for the text column, to make it more look more dynamic.
5421 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5423 * src/hildon-time-selector.c
5424 Define gettext auxiliar macro N_
5425 (_create_minutes_model)
5426 (_create_hours_model)
5427 (_create_ampm_model): use of strftime in order to fill the model
5428 * src/hildon-date-selector.c
5429 (hildon_date_selector_finalize):
5430 (_locales_init): remove the logic related to get the name of the months
5431 using nl_langinfo, as it is not required anymore
5433 (_create_year_model)
5434 (_create_month_model)
5435 (_update_day_model): use of strftime in order to fill the model properly
5438 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5440 * src/hildon-button.h
5441 * src/hildon-button.c (hildon_button_get_image): New method to
5444 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5446 * src/hildon-touch-selector.c:
5447 (hildon_touch_selector_remove_column): Remove from the correct parent
5448 and also remove the list element and free it.
5451 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5453 * src/hildon-time-selector.c
5454 (_create_hours_model): change the range on 12h ampm format in order to use
5455 a 12-11 range instead of previous 01-12 range
5456 (hildon_time_selector_set_time): change the way to select the current time
5457 on 12h ampm format, due the change on the range
5458 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5461 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5463 * src/hildon-touch-selector.c
5464 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5465 in order to allow use this function on multiple row selection mode if
5466 the column is different that the first one
5469 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5471 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5472 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5474 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5476 * src/hildon-date-selector.h: clean some comments, now on the .c
5477 * src/hildon-date-selector.c
5478 (hildon_date_selector_select_month): first implementation
5479 (hildon_date_selector_select_day): added documentation, reimplemented
5480 using hildon_date_selector_select_current_date to avoid repeat code
5483 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5485 Reviewed interaction logic based on device experiences, refactored
5488 * src/hildon-pannable-area.c,
5489 (hildon_pannable_area_class_init): Updated default vmax speed.
5490 (hildon_pannable_area_calculate_velocity): Added this function, it
5491 avoids duplicate valocity calculation. Adjusted calculation to
5492 avoid problems with zero dist events.
5494 (hildon_pannable_area_motion_notify_cb): Now we use the
5495 calculate_velocity function.
5497 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5499 * src/hildon-date-selector.c
5500 (hildon_date_selector_select_current_date): fix the day range check
5501 as it failed using the last day of the current month
5504 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5506 * src/hildon-touch-selector.c
5507 (hildon_touch_selector_get_num_columns): added a parameter validation
5510 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5512 * examples/Makefile.am
5513 * examples/hildon-edit-toolbar-example.c: Example of the
5514 HildonEditToolbar widget.
5516 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5518 * configure.ac: postrelease version bump.
5520 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5524 * configure.ac: prerelease version bump.
5525 * debian/changelog: update.
5527 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5529 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5530 renderer to display stock icons in the touch list. Also, set the sizes
5531 to the recommended in the style guide.
5533 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5534 * src/hildon-touch-selector.h
5535 (hildon_touch_selector_set_active_iter): renamed, now is
5536 hildon_touch_selector_select_iter
5537 (hildon_touch_selector_get_active_iter): renamed, now is
5538 hildon_touch_selector_get_selected
5539 (hildon_touch_selector_unselect_iter): added
5540 * src/hildon-touch-selector.c
5541 Update after API modification (methods renamed)
5542 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5543 order to avoid problems selecting multiple elements on the column
5544 (hildon_touch_selector_unselect_iter): added the implementation
5545 * src/hildon-time-selector.c
5546 * src/hildon-date-selector.c
5547 * src/hildon-touch-selector-entry.c
5548 Update methods calls after hildon-touch-selector.h API modification (methods
5551 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5553 * src/hildon-stackable-window.c
5554 (hildon_stackable_window_finalize): Call the parent class's finalize.
5556 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5558 * examples/hildon-touch-selector-example.c: (create_selector): Use
5559 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5562 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5564 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5565 set a cell background color, to respect theming.
5567 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5569 * doc/hildon-docs.sgml
5572 * src/hildon-edit-toolbar.c
5573 * src/hildon-edit-toolbar.h
5574 * src/hildon.h: New HildonEditToolbar widget.
5576 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5578 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5581 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5582 * src/hildon-touch-selector.c
5583 (_create_new_column): use g_object_set instead of two g_object_set_property
5585 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5586 * src/hildon-touch-selector.c
5587 (_create_new_column): use of hildon_gtk_tree_view_new to create
5588 the treeview, instead of use directly g_object_new
5589 (_create_new_column): update the property name "vindicator-mode" for the
5590 new one "vscrollbar-policy"
5591 * examples/hildon-date-button-example.c
5592 * examples/hildon-picker-button-multicolumn-example.c
5593 * examples/hildon-touch-selector-entry-example.c
5594 * examples/hildon-touch-selector-example.c
5595 * examples/hildon-time-button-example.c
5596 * examples/hildon-picker-button-example.c
5597 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5598 to all the treeviews inside a pannable area.
5600 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5602 * src/hildon-button.h
5603 * src/hildon-button.c (hildon_button_init)
5604 (hildon_button_set_arrangement, hildon_button_set_alignment)
5605 (hildon_button_set_title_alignment)
5606 (hildon_button_set_value_alignment)
5607 (hildon_button_set_image_alignment)
5608 (hildon_button_construct_child): New methods to set the alignment
5609 of the individual components of the button (title, value,
5610 image). Also, new method to alter the xscale and yscale properties
5611 of the GtkAlignment inside the button, so more complex layouts can
5614 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5616 * src/hildon-button.c (hildon_button_style_set)
5617 (hildon_button_class_init, hildon_button_set_arrangement)
5618 (hildon_button_construct_child): Apply style properties
5619 correctly. Use the 'image-spacing' style property too.
5621 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5623 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5624 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5627 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5629 * src/hildon-pannable-area.c,
5630 (hildon_pannable_area_size_request): Fixed problem with
5631 pannable-area size_request.
5633 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5635 Added management for the grab-focus to a child widget, like a
5636 range, we need to fade out the scrollbar when releasing.
5638 * src/hildon-pannable-area.c,
5639 (hildon_pannable_area_init): Connected the grab-focus signal to
5641 (hildon_pannable_area_grab_notify): Added this function in order
5642 to manage the situation when the grab-focus ends. We have to
5643 fade-out the scrollbar.
5645 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5647 * src/hildon-app-menu.c: Minor documentation update.
5649 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5651 * src/hildon-app-menu.c
5652 * examples/hildon-app-menu-example.c (create_menu): Update
5653 examples and documentation to explain how to connect callbacks.
5655 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5657 * examples/hildon-button-example.c
5658 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5659 hildon_stackable_window_new instead of gtk_window_new
5661 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5663 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5664 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5665 (hildon_pannable_area_set_property),
5666 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5667 (hildon_pannable_area_unrealize),
5668 (hildon_pannable_area_size_request),
5669 (hildon_pannable_area_size_allocate),
5670 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5671 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5672 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5673 (hildon_pannable_area_initial_effect),
5674 (hildon_pannable_area_redraw),
5675 (hildon_pannable_area_scroll_indicator_fade),
5676 (hildon_pannable_area_expose_event),
5677 (hildon_pannable_area_get_topmost), (synth_crossing),
5678 (hildon_pannable_area_button_press_cb),
5679 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5680 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5681 (hildon_pannable_area_motion_notify_cb),
5682 (hildon_pannable_area_button_release_cb),
5683 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5684 (hildon_pannable_area_remove),
5685 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5686 chage the code layout to a more GtkWidget like. Review the use of
5689 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5691 * examples/hildon-pannable-area-example-4.c,
5692 (main): Modified the name of the hindicator_mode to
5695 * src/hildon-pannable-area.c,
5696 (hildon_pannable_area_class_init),
5697 (hildon_pannable_area_motion_notify_cb),
5698 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5699 we have reduced the amount of signals and managed reviewed its
5700 rationale. Changed the default decelerate value.
5702 (hildon_pannable_area_add),
5703 (hildon_pannable_area_redraw): Refactored functions.
5705 (hildon_pannable_area_init),
5706 (hildon_pannable_area_get_property),
5707 (hildon_pannable_area_set_property):
5708 (hildon_pannable_draw_vscroll),
5709 (hildon_pannable_draw_hscroll),
5710 (hildon_pannable_area_initial_effect),
5711 (hildon_pannable_area_expose_event),
5712 (hildon_pannable_area_scroll),
5713 (hildon_pannable_area_button_press_cb),
5714 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5715 and vindicator_mode with hscrollbar_policy and
5716 vscrollbar_policy. Replaced hscroll and vscroll with
5717 hscroll_visible and vscroll_visible.
5719 (hildon_pannable_area_refresh): Refactor the function, remove
5720 variables and check the calls to this function, added resize
5721 conditions in case the children change their layout.
5723 (hildon_pannable_area_size_request): Added more detailed
5724 size_request calculation.
5727 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5729 * src/hildon-color-chooser.c
5730 (init_borders): use the correct gtk_border_free instead of g_free, to
5731 avoid a crash when this widget is used (ie: the three color selection
5734 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5736 * src/hildon-check-button.c,
5737 (hildon_check_button_set_active): Fixed problem when setting the
5738 active value, the widget was not redrawn.
5740 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5742 * src/hildon-pannable-area.c,
5743 (hildon_pannable_area_refresh),
5744 (hildon_pannable_area_scroll),
5745 (hildon_pannable_area_motion_notify_cb): Small code style change.
5747 (hildon_pannable_area_class_init): Default initial_hint set to
5748 FALSE, it is not in the specs.
5750 (hildon_pannable_area_initial_effect),
5751 (hildon_pannable_area_expose_event),
5752 (hildon_pannable_area_map),
5753 (hildon_pannable_area_init): Moved the launching point of the
5754 initial effect, it was in map but the sizes where not correct in
5755 that method so we do not know if we have the reproduce it. Now it
5756 is placed in the expose_event method and uses a variable to
5757 reproduce it just once.
5759 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5761 * src/hildon-pannable-area.c,
5762 (hildon_pannable_draw_vscroll),
5763 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5764 position allowed for the scrollbars.
5766 (hildon_pannable_area_size_allocate): Small style change.
5768 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5770 * src/hildon-pannable-area.c,
5771 (hildon_pannable_area_scroll_indicator_fade),
5772 (hildon_pannable_area_button_press_cb),
5773 (hildon_pannable_area_button_release_cb),
5774 (hildon_pannable_area_scroll_cb),
5775 (hildon_pannable_area_expose_event),
5776 (hildon_pannable_area_init): Added the define parameter
5777 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5778 and refactor the fade variable.
5780 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5782 * src/hildon-pannable-area.c,
5783 (hildon_pannable_area_redraw),
5784 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5785 lines, we were reimplemeting the redraw code.
5787 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5789 * src/hildon-pannable-area.c,
5790 (hildon_pannable_area_scroll_cb),
5791 (hildon_pannable_area_realize),
5792 (hildon_pannable_area_class_init): Added scroll_event management
5793 for pannable area, now we can scroll the usual desktop method.
5795 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5796 initialization of the parameters should depend on idle_id.
5798 (hildon_pannable_area_init),
5799 (hildon_pannable_area_map): Small code style modifications
5801 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5803 * src/hildon-pannable-area.c
5804 (hildon_pannable_area_button_press_cb),
5805 (hildon_pannable_area_motion_notify_cb),
5806 (hildon_pannable_area_button_release_cb),
5807 (hildon_pannable_area_size_allocate),
5808 (hildon_pannable_area_scroll_to): Improved the timeouts
5809 management, we avoid creating them each time.
5811 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5813 * src/hildon-pannable-area.c:
5814 (hildon_pannable_area_refresh),
5815 (hildon_pannable_area_motion_notify_cb),
5816 (hildon_pannable_area_class_init):
5817 * src/hildon-pannable-area.h:
5818 * src/hildon-touch-selector.c
5819 (_create_new_column):
5820 * examples/hildon-pannable-area-example-4.c:
5821 (horizontal_movement),
5822 (vertical_movement),
5824 Replaced the names of enums in the HildonPannableArea:
5825 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5826 HILDON_MOVEMENT_MODE_*
5827 - HILDON_PANNABLE_AREA_MOV_* ->
5829 - Removed HildonPannableAreaIndicatorMode, now we
5832 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5834 * examples/hildon-pannable-area-touch-grid-example.c
5835 * examples/hildon-pannable-area-touch-list-example.c: Fix
5836 compilation warnings.
5838 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5840 * src/hildon-gtk.c (hildon_gtk_button_new)
5841 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5842 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5843 images overriding the value of the "gtk-button-images" setting.
5845 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5847 * src/hildon-check-button.c (hildon_check_button_new):
5848 Instead of using a custom container, display the label and the
5849 checkbox using the standard GtkButton API.
5851 * examples/hildon-check-button-example.c (main): Don't use
5852 hildon_check_button_set_label() anymore
5854 * src/hildon-check-button.h
5855 * src/hildon-check-button.c
5856 (hildon_check_button_set_label, hildon_check_button_get_label):
5857 Set as deprecated, now we're using gtk_button_{get,set}_label()
5859 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5861 * src/hildon-pannable-area.c,
5862 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5863 GtkTreeview first line we detected it after the inclusion of the
5864 GtkWindowImpl in gtk+. We now check if the window is visible, not
5865 just if the pointer is over the window.
5866 (hildon_pannable_axis_scroll),
5867 (hildon_pannable_area_expose_event): Small style changes.
5869 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5871 * src/hildon-button.c: Update documentation.
5873 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5875 * examples/hildon-button-example.c: Add a switch to show images in
5878 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5880 * doc/hildon-docs.sgml: Some docs reorganization.
5882 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5884 * examples/hildon-pannable-area-touch-list-example.c
5886 * examples/hildon-pannable-area-touch-grid-example.c
5887 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5888 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5889 Fix memory leak when setting the tree model.
5891 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5895 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5897 * doc/hildon.types: Remove duplicated hildon_window_get_type
5898 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5899 documentation comment.
5901 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5903 * doc/Makefile.am: Complete list of private headers.
5905 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5907 * doc/hildon-docs.sgml
5908 * src/hildon-app-menu.c
5909 * src/hildon-bread-crumb.c
5910 * src/hildon-button.c
5912 * src/hildon-program.c
5913 * src/hildon-stackable-window.c
5914 * src/hildon-window.c: Lots of documentation updates.
5916 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5918 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5920 * configure.ac: Require Gtk+ 2.12.9 at least
5922 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5924 * src/hildon-pannable-area.c
5925 (hildon_pannable_area_scroll_indicator_fade),
5926 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5927 to protect the return of this timeout callbacks, avoiding deadlocks.
5929 2008-08-12 Christian Dywan <christian@imendio.com>
5932 * src/hildon-*.h: Ensure a consistent include order,
5933 include <gtk/gtk.h> instead of particular files and
5934 only include the topmost header in the gtk stack. See NB #39857
5936 2008-08-12 Christian Dywan <christian@imendio.com>
5938 * src/hildon-picker-dialog.c
5939 * src/hildon-touch-selector.c: Fix warnings about unused and
5940 uninitialized variables.
5942 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5944 * examples/Makefile.am
5945 * examples/hildon-check-button-example.c: Example of the hildon
5948 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5950 * src/hildon-window.h
5951 * src/hildon-window.c (hildon_window_class_init)
5952 (hildon_window_unset_program): Don't make
5953 hildon_window_unset_program a virtual function anymore.
5955 * src/hildon-stackable-window.c: Update documentation
5957 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5960 * doc/hildon-docs.sgml
5961 * doc/visual_index.xml
5962 * src/hildon-defines.c
5964 * src/hildon-helper.c
5965 * src/hildon-range-editor.c: Lots of documentation fixes.
5967 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5969 * examples/hildon-picker-button-multicolumn-example.c
5970 (create_touch_selector): Fix compilation warning.
5972 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5974 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5975 (hildon_pannable_area_button_release_cb)
5976 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5978 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5980 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5983 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5985 * src/hildon-bread-crumb-trail.h
5986 * src/hildon-date-editor.c
5987 * src/hildon-date-selector.c
5988 * src/hildon-pannable-area.c
5989 * src/hildon-picker-dialog.c
5990 * src/hildon-time-selector.c
5991 * src/hildon-touch-selector-entry.c
5992 * src/hildon-touch-selector.c
5993 * src/hildon-touch-selector.h: Misc documentation fixes
5995 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5997 * examples/hildon-date-editor-example.c (main): Updated date
6000 * examples/hildon-note-example.c (on_confirmation_clicked):
6001 Updated confirmation note example.
6003 * src/hildon-date-editor.c
6004 * src/hildon-note.c: Updated sample programs in documentation.
6007 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6009 * src/hildon-date-button.h:
6010 * src/hildon-picker-button.h:
6011 * src/hildon-time-button.c:
6012 * src/hildon-time-button.h:
6014 Some declarations changes to allow gtk-doc to document the widgets
6017 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6019 * src/hildon-date-button.c: Document the widget.
6020 * src/hildon-time-button.c: Document the widget.
6022 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6024 * src/hildon-picker-button.c: Document the widget.
6025 * src/hildon-touch-selector-entry.c: Document the widget.
6027 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6029 * doc/hildon-docs.sgml
6032 * src/hildon-check-button.h
6033 * src/hildon-check-button.c: New functions to create the Hildon
6037 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6039 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6041 * src/hildon-button.h
6042 * src/hildon-button.c
6043 (hildon_button_add_title_size_group)
6044 (hildon_button_add_value_size_group)
6045 (hildon_button_add_image_size_group)
6046 (hildon_button_add_size_groups): New functions to set size groups
6047 for the button labels and image.
6048 (hildon_button_new_full): Removed
6050 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6052 * src/hildon-time-selector.c
6053 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6054 in order to avoid a crash if gconf is not available
6056 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6058 * src/hildon-button.c (hildon_button_set_arrangement)
6059 (hildon_button_construct_child): Don't construct the button child
6060 before setting the arrangement.
6062 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6064 * src/hildon-program-private.h
6065 * src/hildon-program.c
6066 * src/hildon-program.h
6067 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6068 (hildon_program_peek_window_stack)
6069 (hildon_program_pop_window_stack)
6070 (hildon_program_go_to_root_window): HildonProgram now has a
6071 separate list for stackable windows. Functions are provided to
6072 manage that list with a stack-like API.
6074 * src/hildon-stackable-window.c: Stackable window management is
6075 now much simpler with the new HildonProgram API. Windows no
6076 longer need to be manually added to the program, they're
6077 automatically pushed to the top of the stack when shown.
6079 * examples/hildon-stackable-window-example.c: Updated example to
6080 reflect the API changes.
6082 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6084 * src/hildon-touch-selector.c: Comment out unimplemented
6085 hildon_touch_selector_insert_column() to avoid a compile warning.
6087 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6089 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6090 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6091 (hildon_touch_selector_set_column_selection_mode),
6092 (_hildon_touch_selector_set_model),
6093 (hildon_touch_selector_set_model):
6095 Complete review of HildonTouchSelector documentation.
6097 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6099 * doc/hildon-docs.sgml
6103 * src/hildon-gtk.c: Convenience functions for standard Gtk
6104 widgets, used to easily perform frequent operations.
6106 * src/hildon-button-helpers.h
6107 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6109 * src/hildon-helper.h
6110 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6111 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6113 * src/hildon-button.h
6114 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6116 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6118 * src/hildon-button.c (hildon_button_init)
6119 (hildon_button_set_arrangement, hildon_button_construct_child):
6120 Pack the image and the labels inside the same GtkAlignment so
6121 gtk_button_set_alignment() can be used
6123 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6125 * src/hildon-button.h
6126 * src/hildon-button.c
6127 (hildon_button_init, hildon_button_set_image)
6128 (hildon_button_set_image_position)
6129 (hildon_button_construct_child): New functions to add an image to
6132 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6134 * src/hildon-date-button.c
6135 * src/hildon-picker-button.c
6136 * src/hildon-time-button.c
6137 * src/hildon-button.c:
6138 (hildon_button_class_init): "size-flags" renamed to "size"
6139 (hildon_button_set_title): Hide the title label if set to NULL.
6141 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6143 HildonButtonFlags split into HildonButtonArrangement (to set the
6144 button layout) and HildonSizeType (which can be used for any
6147 * src/hildon-button.h
6148 * src/hildon-button.c
6149 (hildon_button_class_init)
6150 (hildon_button_set_arrangement)
6151 (hildon_button_set_property): New "size-flags"
6152 property. "arrangement-flags" renamed to "arrangement".
6153 (hildon_button_new, hildon_button_new_with_text)
6154 (hildon_button_new_full): Constructors updated to reflect type changes.
6156 * src/hildon-helper.h
6157 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6158 to set the size of a widget.
6162 * src/hildon-button-helpers.c
6163 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6165 * src/hildon-date-button.c
6166 * src/hildon-date-button.h
6167 * src/hildon-picker-button.c
6168 * src/hildon-picker-button.h
6169 * src/hildon-time-button.c
6170 * src/hildon-time-button.h: Updated widgets to reflect
6171 HildonButton API changes.
6173 * examples/hildon-button-example.c
6174 * examples/hildon-date-button-example.c
6175 * examples/hildon-picker-button-example.c
6176 * examples/hildon-picker-button-multicolumn-example.c
6177 * examples/hildon-time-button-example.c
6178 * examples/hildon-touch-selector-entry-example.c
6179 * examples/hildon-touch-selector-example.c: Updated examples to
6180 reflect HildonButton API changes.
6182 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6184 * doc/hildon-docs.sgml:
6186 * examples/Makefile.am:
6187 * examples/hildon-touch-selector-entry-example.c:
6189 * src/hildon-touch-selector-entry.c:
6190 * src/hildon-touch-selector-entry.h:
6193 Moved HildonTouchSelectorEntry from sandbox. Added its
6194 documentation and examples.
6196 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6198 * src/hildon-touch-selector.h:
6199 * examples/hildon-picker-button-multicolumn-example.c:
6200 (hildon_touch_selector_append_text_column): Add a gboolean
6201 parameter to determine if text must be centered in the column.
6203 * src/hildon-date-selector.c: (hildon_date_selector_init):
6204 * src/hildon-time-selector.c: (hildon_time_selector_init):
6205 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6206 (create_touch_selector): Update widgets and example to reflect
6209 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6211 * src/hildon-touch-selector.c:
6212 (hildon_touch_selector_set_active_iter): Set also the cursor in
6215 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6217 * doc/hildon-docs.sgml
6220 * src/hildon-toggle-button.c
6221 * src/hildon-toggle-button.h
6222 * src/hildon.h: Removed HildonToggleButton widget, a derived
6223 class is not necessary for this.
6225 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6227 * src/hildon-pannable-area.c,
6228 (hildon_pannable_area_realize),
6229 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6232 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6234 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6235 "done" button the default widget for the dialog.
6237 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6239 * src/hildon-touch-selector.c:
6240 (hildon_touch_selector_class_init),
6241 (hildon_touch_selector_get_property),
6242 (_hildon_touch_selector_set_model),
6243 (_hildon_touch_selector_has_multiple_selection),
6244 (hildon_touch_selector_has_multiple_selection):
6245 Add a "has-multiple-selection" property with a virtual
6246 has_multiple_selection() method to allow derived classes to
6247 override the default value for it. See the method and property
6248 documentation for details.
6250 * src/hildon-touch-selector.h: Add the new API.
6252 * src/hildon-picker-dialog.c: (requires_done_button): Call
6253 hildon_touch_selector_has_multiple_selection() instead of
6254 determining the need for a button itself.
6256 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6258 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6259 (_hildon_touch_selector_set_model),
6260 (hildon_touch_selector_set_model): Move working code to
6261 _hildon_touch_selector_set_mode(). Call the class method instead.
6263 * src/hildon-touch-selector.h: Add (*set_model) to
6264 HildonTouchSelectorClass.
6266 Make hildon_touch_selector_set_model() a virtual method, so that
6267 derived classes can extend it and do fancy stuff with the model.
6269 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6271 * configure.ac: Set back the tarname in AC_INIT to hildon.
6273 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6277 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6278 instead of libesd (NB#86876). Volume handling is still an open issue.
6280 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6283 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6285 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6286 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6287 derived class to ease placement of an entry widget in
6288 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6289 end, where the selector columns are packed now.
6291 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6293 * src/hildon-picker-button.c: Removed the simple _text() API.
6294 * src/hildon-picker-button.h: Likewise.
6296 * src/hildon-touch-selector.h:
6297 * src/hildon-touch-selector.c:
6298 (hildon_touch_selector_new_text),
6299 (hildon_touch_selector_append_text),
6300 (hildon_touch_selector_prepend_text),
6301 (hildon_touch_selector_insert_text):
6303 Moved the simple _text() API from HildonPickerButton to
6304 HildonTouchPicker, to provide better escalability and not to tie
6305 that API to HildonPickerButton.
6307 * examples/hildon-picker-button-example.c: (main): Example updated.
6309 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6311 * src/hildon-button.c: Updated documentation.
6313 * examples/hildon-button-example.c: Add the posibility to create
6314 the buttons using horizontal layout for title and value.
6316 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6318 * src/hildon-app-menu-private.h
6319 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6320 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6321 GtkSizeGroup for the filters, use the 'homogeneous' property of
6324 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6326 * examples/hildon-button-example.c: Updated example.
6328 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6330 * doc/hildon-docs.sgml:
6333 Update documentation.
6335 * examples/Makefile.am: Update renamed examples.
6337 * examples/hildon-picker-button-multicolumn-example.c:
6338 (create_touch_selector), (main): Update after the rename.
6340 * examples/hildon-touch-picker-example.c: Removed.
6341 * examples/hildon-touch-selector-example.c: (value_changed),
6342 (create_selector), (get_visible_content), (main): Renamed from
6343 hildon-touch-picker-example.c
6345 * src/Makefile.am: Updated renamed files.
6347 * src/hildon-date-button.c: (hildon_date_button_init),
6348 (hildon_date_button_get_date), (hildon_date_button_set_date):
6349 * src/hildon-date-selector.c: (hildon_date_selector_init),
6350 (_custom_print_func), (_update_day_model),
6351 (_manage_selector_change_cb),
6352 (hildon_date_selector_select_current_date),
6353 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6354 * src/hildon-date-selector.h:
6355 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6356 (hildon_picker_button_set_property),
6357 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6358 (hildon_picker_button_init), (hildon_picker_button_new_text),
6359 (hildon_picker_button_append_text),
6360 (hildon_picker_button_prepend_text),
6361 (hildon_picker_button_insert_text),
6362 (hildon_picker_button_set_selector),
6363 (hildon_picker_button_get_selector):
6364 * src/hildon-picker-button.h:
6365 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6366 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6367 (_update_title_on_selector_changed_cb), (requires_done_button),
6368 (_hildon_picker_dialog_set_selector),
6369 (hildon_picker_dialog_set_selector),
6370 (hildon_picker_dialog_get_selector):
6371 * src/hildon-picker-dialog.h:
6372 * src/hildon-time-button.c: (hildon_time_button_init),
6373 (hildon_time_button_get_time), (hildon_time_button_set_time):
6374 * src/hildon-time-selector.c: (hildon_time_selector_init),
6375 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6376 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6377 * src/hildon-time-selector.h:
6380 Massive code updates after the rename.
6382 * src/hildon-touch-picker.c: Removed.
6383 * src/hildon-touch-picker.h: Removed.
6385 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6386 (hildon_touch_selector_init), (hildon_touch_selector_map),
6387 (hildon_touch_selector_remove), (_default_print_func),
6388 (_selection_changed_cb), (_create_new_column),
6389 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6390 (hildon_touch_selector_append_text_column),
6391 (hildon_touch_selector_remove_column),
6392 (hildon_touch_selector_set_column_attributes),
6393 (hildon_touch_selector_insert_column),
6394 (hildon_touch_selector_get_num_columns),
6395 (hildon_touch_selector_get_column_selection_mode),
6396 (hildon_touch_selector_set_column_selection_mode),
6397 (hildon_touch_selector_set_print_func),
6398 (hildon_touch_selector_get_print_func),
6399 (hildon_touch_selector_get_active_iter),
6400 (hildon_touch_selector_set_active_iter),
6401 (hildon_touch_selector_get_selected_rows),
6402 (hildon_touch_selector_get_model),
6403 (hildon_touch_selector_set_model),
6404 (hildon_touch_selector_get_current_text),
6405 (_hildon_touch_selector_center_on_selected_items):
6406 * src/hildon-touch-selector.h: Renamed from
6407 hildon-touch-picker.[ch]
6409 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6410 references, code examples, and related documentation.
6412 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6414 * doc/hildon-docs.sgml
6417 * src/hildon-toggle-button.c
6418 * src/hildon-toggle-button.h
6419 * src/hildon.h: New HildonToggleButton widget.
6421 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6423 * src/hildon-button.c: Add API documentation.
6424 (hildon_button_set_size_groups): Check input parameters
6426 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6428 * src/hildon-pannable-area.c
6429 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6430 effect after reaching the movement thredshold. This way we start
6431 using the distance after passing the thredshold.
6433 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6435 * src/hildon-button.c: (hildon_button_set_property): Use the
6436 appropriate g_value_get_flags() method.
6438 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6440 * doc/hildon-docs.sgml:
6443 Add the touch pickers, picker dialogs, and picker button widgets
6444 to the documentation.
6446 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6448 * src/hildon-button.c: (hildon_button_set_property),
6449 (hildon_button_class_init): Make "arrangement-flags" a proper
6450 G_TYPE_FLAGS derived property.
6452 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6454 * examples/Makefile.am: Add below examples.
6455 * examples/hildon-date-button-example.c:
6456 * examples/hildon-picker-button-example.c:
6457 * examples/hildon-picker-button-multicolumn-example.c:
6458 * examples/hildon-time-button-example.c:
6459 * examples/hildon-touch-picker-example.c:
6461 Add examples for the recently added touch pickers,
6462 picker dialogs, and picker button widgets.
6464 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6466 * src/hildon-button.c: Add some API documentation
6468 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6470 * src/hildon-button.h
6471 * src/hildon-button.c
6473 (hildon_button_new_with_text): New constructor to create a button
6474 with no text at all.
6475 (hildon_button_init, hildon_button_set_arrangement)
6476 (hildon_button_set_title, hildon_button_set_value)
6477 (hildon_button_set_text)
6478 (hildon_button_construct_child): Hide the value when it's not used
6479 so the rest of the text is properly aligned.
6480 Allow creating buttons with arbitrary widgets inside (not just
6481 title/value labels).
6483 * examples/hildon-button-example.c (vertical_buttons_window)
6484 (horizontal_buttons_window): Update example to use new API.
6486 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6488 * src/Makefile.am: Added HildonTimeButton.
6489 * src/hildon-time-button.c: Added missing LGPL header.
6490 * src/hildon-time-button.h: Added missing LGPL header.
6491 * src/hildon.h: Add hildon-time-button.h
6493 Copied HildonTimeButton from sandbox to trunk. Future work on this
6494 widget must take place in trunk.
6496 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6498 * src/Makefile.am: Added HildonDateButton.
6499 * src/hildon-date-button.c: Update includes.
6500 * src/hildon.h: Add hildon-date-button.h
6502 Copied HildonDateButton from sandbox to trunk. Future work on this
6503 widget must take place in trunk.
6505 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6507 * src/Makefile.am: Added HildonPickerButton.
6508 * src/hildon-picker-button.h: Update includes.
6509 * src/hildon.h: Add hildon-picker-button.h
6511 Copied HildonPickerButton from sandbox to trunk. Future work on
6512 this widget must take place in trunk.
6514 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6516 * src/Makefile.am: Added HildonPickerDialog.
6517 * src/hildon-picker-dialog.c: Update includes.
6518 * src/hildon.h: Add hildon-picker-dialog.h
6520 Copied HildonPickerDialog from sandbox to trunk. Future work
6521 on this widget must take place in trunk.
6523 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6525 * src/Makefile.am: Added HildonTimeSelector.
6526 * src/hildon.h: Add hildon-time-selector.h
6528 Copied HildonTimeSelector widget from sandbox to trunk. Future
6529 work on this widget must happen in trunk.
6531 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6533 * src/Makefile.am: Added HildonDateSelector.
6534 * src/hildon.h: Add hildon-date-selector.h
6536 Copied HildonDateSelector widget from sandbox to trunk. Future
6537 work on this widget must happen in trunk.
6539 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6541 * src/Makefile.am: Added HildonTouchPicker.
6542 * src/hildon-touch-picker.c: Update includes.
6543 * src/hildon.h: Add hildon-touch-picker.h
6545 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6546 on this widget must happen in trunk.
6548 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6550 * src/hildon-pannable-area.c:
6551 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6553 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6555 * examples/hildon-app-menu-example.c (main): Let the window
6558 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6560 * src/hildon-pannable-area.c
6561 (hildon_pannable_area_class_init): Set the min value of the
6562 overshoot properties to zero, which points out that not
6563 overshooting allowed.
6565 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6567 Modified the procedure to get the widget at a point inside the
6568 pannable area when using the movement type signals. Now the user
6569 has to call a function to get the child, that way we just
6570 calculate the child in case the user really want to use it and not
6573 * src/hildon-marshalers.list: Modified the marshallers, now we do
6574 not have the widget as a parameter.
6576 * src/hildon-pannable-area.c
6577 (hildon_pannable_area_motion_notify_cb),
6578 (hildon_pannable_area_class_init),
6579 (hildon_pannable_get_child_widget_at): Removed the widget
6580 parameter from the signal callback. We have also refactored the
6581 emission of the signals.
6583 * src/hildon-pannable-area.h: Added a new method to the API to
6584 calculate a widget at a point inside the pannable area,
6585 hildon_pannable_get_child_widget_at.
6587 * examples/hildon-pannable-area-example-4.c
6588 (horizontal_movement): Modified the example to use the new API,
6589 added condition to control which widget is under the event. This
6590 way we can avoid scrolling laterally over other widgets.
6592 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6594 * src/hildon-pannable-area.c
6595 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6596 modes, we stop getting the pointer events due to returning the
6597 callback without properly calling the get pointer again. Fixed
6598 also an error using the hscroll and vscroll.
6600 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6602 * src/hildon-app-menu-private.h
6603 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6604 (hildon_app_menu_button_release, hildon_app_menu_init)
6605 (hildon_app_menu_class_init): Don't hide the menu on button
6606 release if the user didn't press outside first.
6608 * src/hildon-window.h
6609 * src/hildon-window.c (hildon_window_toggle_menu)
6610 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6611 hildon_window_toggle_menu a virtual function for the stackable
6612 window to override it.
6614 * src/hildon-stackable-window.h
6615 * src/hildon-stackable-window-private.h
6616 * src/hildon-stackable-window.c
6617 (hildon_stackable_window_realize)
6618 (hildon_stackable_window_finalize)
6619 (hildon_stackable_window_class_init)
6620 (hildon_stackable_window_init)
6621 (hildon_stackable_window_set_main_menu): New function to set the
6622 app menu of a HildonStackableWindow.
6624 * examples/hildon-app-menu-example.c: Remove the button to show
6625 the app menu, now it'll be shown when clicking on the title bar
6628 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6630 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6631 set the widget name if the arrangement flags do not specify
6634 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6636 * src/hildon-button.c: (hildon_button_set_property),
6637 (hildon_button_class_init), (hildon_button_new_full),
6638 (hildon_button_set_arrangement): Added "arrangement-flags"
6641 Make the HildonButtonFlags a construction-only property, to allow
6642 subclasses to set them properly.
6644 2008-07-21 Tim Janik <timj@imendio.com>
6646 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6647 insertion position after backspace, so additional digits are appended,
6650 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6652 * src/hildon-pannable-area.c,
6653 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6654 TODO list, it was complete and removed the g_debug and g_print
6657 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6659 Added the movement modes to the hildon-pannable-area, with this
6660 modes the developers can control in which directions the widget
6661 can scroll. They can also connect to signals in order to do
6662 something when that happens, allowing applications scroll. There
6663 is an example uploaded showing how to use it.
6665 * examples/Makefile.am:
6666 * examples/hildon-pannable-area-example-4.c: Added this example of
6667 an application using the modes.
6669 * src/hildon-marshalers.list: Added a new marshaller for the new
6672 * src/hildon-pannable-area.h: Added new enumerations and flags in
6673 order to control the movement modes and the new signals to warn
6674 about the movements in the area.
6676 * src/hildon-pannable-area.c:
6677 (hildon_pannable_axis_scroll),
6678 (hildon_pannable_area_scroll),
6679 (hildon_pannable_area_motion_notify_cb),
6680 (hildon_pannable_area_get_property),
6681 (hildon_pannable_area_set_property),
6682 (hildon_pannable_area_map),
6683 (hildon_pannable_area_class_init),
6684 (hildon_pannable_area_init),
6685 (hildon_pannable_area_jump_to): Added the modes to control the
6686 movement in the widget. We have added properties to control it,
6687 signals to warn about the movements and refactored some code.
6689 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6691 Changes required in order to allow vfast_factor set to zero to
6694 * src/hildon-pannable-area.c:
6695 (hildon_pannable_area_button_press_cb): Changed the condition, it
6696 is required for not allowing click when vfast_factor is zero.
6697 (hildon_pannable_area_timeout): Initialized velocity variables
6698 when we stop moving, it was less than 1 but not zero and we need
6699 to check zero in some situations.
6700 (hildon_pannable_area_class_init): Changed the default value of
6701 the speed factor, now the button_press is just sent in case the
6702 speed is 2 per cent of the max speed.
6703 (hildon_pannable_area_init): Initialization with 0.
6705 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6707 * src/hildon-pannable-area.c,
6708 (hildon_pannable_area_get_topmost): replaced
6709 gdk_window_get_children with gdk_window_peek_children, this way we
6710 do not have to free the list because it is not a copy.
6712 (hildon_pannable_axis_scroll),
6713 (hildon_pannable_area_scroll),
6714 (hildon_pannable_area_timeout),
6715 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6716 two parameters that were only used inside the
6717 hildon_pannable_area_scroll function.
6719 * examples/hildon-pannable-area-example.c,
6720 (get_sawtooth_label): Fixed small memory leak.
6722 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6724 More checks for the case where the overshoot is bigger than the
6727 * src/hildon-pannable-area.c:
6728 (hildon_pannable_draw_vscroll),
6729 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6730 to draw the slider of the scrollbar under the other scrollbar.
6731 (hildon_pannable_area_expose_event): added new checks to control
6732 the drawing of the overshooting area rectangle, in case it is too
6733 big for the area of the widget.
6734 (hildon_pannable_area_size_allocate): add more checks to avoid
6735 setting a position to the child widget outside the area.
6737 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6739 * src/hildon-pannable-area.c
6740 (hildon_pannable_area_size_allocate): Added conditions to control
6741 when overshooting is bigger than the allocated space for the
6742 children, this avoids negative allocations.
6744 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6746 * doc/hildon-docs.sgml
6748 * examples/Makefile.am
6749 * examples/hildon-button-example.c
6751 * src/hildon-button.c
6752 * src/hildon-button.h
6753 * src/hildon.h: Initial version of the new HildonButton widget,
6756 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6758 * src/hildon-pannable-area.c:
6759 (hildon_pannable_area_button_press_cb),
6760 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6761 (hildon_pannable_area_motion_notify_cb),
6762 (hildon_pannable_area_button_release_cb),
6763 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6764 (hildon_pannable_area_jump_to_child):
6766 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6768 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6770 * examples/Makefile.am
6771 * examples/hildon-pannable-area-touch-grid-example.c
6772 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6773 the Hildon Touch List and Hildon Touch Grid using the
6774 HildonPannableArea widget.
6776 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6778 * src/hildon-pannable-area.c,
6779 (hildon_pannable_area_button_press_cb),
6780 (hildon_pannable_area_refresh),
6781 (hildon_pannable_area_scroll),
6782 (hildon_pannable_area_motion_notify_cb),
6783 (hildon_pannable_area_button_release_cb),
6784 (hildon_pannable_area_expose_event),
6785 (hildon_pannable_area_add),
6786 (hildon_pannable_area_remove),
6787 (hildon_pannable_area_realize),
6788 (hildon_pannable_area_size_allocate),
6789 (hildon_pannable_area_class_init),
6790 (hildon_pannable_area_init),
6791 (hildon_pannable_area_scroll_to_child),
6792 (hildon_pannable_area_jump_to_child): Fixed the problem of
6793 removing the child from the GtkBin, we have rearranged the widget
6794 hierarchy, now there is no GtkAlignment which was not doing
6795 anything interesting but breaking some of the assumptions of
6796 GtkContainer. Now developers if they want to add a GtkAlignment
6797 they could, but it is not inside the area.
6799 We had to review the whole allocation/expose process, now it is
6800 improved and we save at least three signals which would be saving
6801 some time when rendering the widget. The allocation of the
6802 scrollbars is now made in the allocate method as usual.
6804 We have also added some conditions in order to control when there
6805 is no child of the pannable area. Maybe we will need more work
6808 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6810 * src/hildon-pannable-area.c,
6811 (hildon_pannable_area_dispose): Released the fade-out timeout when
6812 disposing the widget.
6814 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6816 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6817 zero, we are going to use that property in order to deactivate the
6819 (hildon_pannable_axis_scroll),
6820 (hildon_pannable_area_size_allocate): Added conditions to control
6821 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6822 call, now it is called in all situations and we can remove calls
6823 in the allocate method.
6824 (hildon_pannable_area_map): Control the situation when
6825 overshoot_max is zero, we do not need the timeout.
6826 (hildon_pannable_area_class_init): Added documentation in order to
6827 point out that setting zero to overshoot_max means deactivate
6830 NOTE: removed trailing whitespaces from my previous comments of
6833 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6835 * src/hildon-pannable-area.c
6836 (hildon_pannable_area_get_property),
6837 (hildon_pannable_area_set_property),
6838 (hildon_pannable_area_map),
6839 (hildon_pannable_area_class_init),
6840 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6841 to cause the widget give a hint about its panning abilities upon
6844 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6846 * src/hildon-pannable-area.c: Several documentation improvements.
6848 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6850 * src/hildon-program.c
6851 * src/hildon-stackable-window.c: Update documentation.
6853 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6855 * src/hildon-stackable-window.c (get_previous_window_if_last):
6856 Renamed get_last_window()
6857 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6858 (hildon_stackable_window_unset_program):
6860 (get_previous_window_if_last):
6861 Detect if the window hasn't been added to a HildonProgram.
6863 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6865 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6867 * src/hildon-pannable-area.c
6868 (hildon_pannable_area_button_press_cb),
6869 (hildon_pannable_axis_scroll),
6870 (hildon_pannable_area_scroll),
6871 (hildon_pannable_area_timeout),
6872 (hildon_pannable_calculate_vel_factor),
6873 (hildon_pannable_area_get_property),
6874 (hildon_pannable_area_set_property),
6875 (hildon_pannable_area_class_init),
6876 (hildon_pannable_area_init),
6877 (hildon_pannable_area_scroll_to),
6878 (hildon_pannable_area_jump_to),
6879 (hildon_pannable_area_scroll_to_child),
6880 (hildon_pannable_area_jump_to_child):
6881 * src/hildon-pannable-area.h: Added the new API functions:
6882 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6883 hildon_pannable_area_scroll_to_child,
6884 hildon_pannable_area_jump_to_child
6887 * examples/Makefile.am
6888 * examples/hildon-pannable-area-example-2.c
6889 * examples/hildon-pannable-area-example-3.c: Added these two new
6890 examples in order to test and show how the new APIs work.
6892 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6894 * examples/hildon-stackable-window-example.c (new_window):
6895 * src/Makefile.am (noinst_HEADERS):
6896 * src/hildon-program.c (hildon_program_go_to_root_window):
6897 * src/hildon-program.h:
6898 * src/hildon-stackable-window-private.h:
6899 * src/hildon-stackable-window.c:
6900 * src/hildon-stackable-window.h:
6901 Create hildon-stackable-window-private.h
6902 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6904 * examples/hildon-app-menu-example.c (create_menu):
6905 * examples/hildon-hvolumebar-insensitive-example.c (main):
6906 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6907 * examples/hildon-toolbar-seekbar-example.c (main):
6908 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6909 * src/hildon-banner.c (hildon_banner_set_property):
6910 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6911 Fix compilation warnings
6913 * src/hildon-window.c:
6916 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6918 * src/hildon-stackable-window.c
6919 (hildon_stackable_window_unset_program):
6920 Calculate correctly whether to show the previous window if the
6921 last one is removed from the stack.
6922 (hildon_stackable_window_go_to_root_window):
6923 Send delete events starting from the topmost window.
6924 Stop if one of the windows is not destroyed.
6926 (hildon_stackable_window_delete_event)
6927 (hildon_stackable_window_class_init):
6928 Ignore the delete event if the window is not the topmost one.
6930 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6932 * src/hildon-pannable-area.c
6933 (hildon_pannable_area_expose_event): Fixed a problem when
6934 selecting the background color of the scrollbars.
6936 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6938 * examples/hildon-stackable-window-example.c
6939 * src/hildon-stackable-window.c
6940 * src/hildon-stackable-window.h
6941 hildon_stackable_window_go_home() renamed to
6942 hildon_stackable_window_go_to_root_window()
6943 Send delete events to windows rather than closing them with
6944 gtk_widget_destroy()
6946 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6948 * src/hildon-pannable-area.c
6949 (hildon_pannable_area_button_release_cb): Fix overshooting in
6952 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6954 * src/hildon-pannable-area.c
6955 (hildon_pannable_area_init): Initially show the scroll indicators.
6956 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6958 Add initial effect showing the widget is pannable.
6960 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6962 * src/hildon-pannable-area.c
6963 (hildon_pannable_area_class_init)
6964 (hildon_pannable_area_set_property)
6965 (hildon_pannable_area_get_property)
6966 (hildon_pannable_area_button_press_cb):
6967 New 'velocity_fast_factor' property to decide which velocity is
6970 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6972 * src/hildon-pannable-area.c
6973 (hildon_pannable_draw_hscroll)
6974 (hildon_pannable_draw_vscroll):
6975 Use float variables to calculate the size of the scrollbars to
6976 avoid error propagation and resizing during scrolling.
6978 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6980 * src/hildon-pannable-area.c
6981 (hildon_pannable_draw_vscroll)
6982 (hildon_pannable_draw_hscroll):
6983 Define a minimum size for the scroll bars
6985 * src/hildon-stackable-window.c
6986 (hildon_stackable_window_go_home): Fix compilation warning
6987 (get_last_window): Minor optimizations
6988 (hildon_stackable_window_class_init): Fix initialization of
6991 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6993 * src/hildon-stackable-window.c: Fixed typos in doc
6995 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6997 * src/hildon-pannable-area.c
6998 (hildon_pannable_area_scroll):
6999 Calculate here whether we need to scroll instead of using the booleans
7000 that tell us whether to /draw/ the scrolling bars.
7002 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7004 * src/hildon-app-menu.h
7006 * src/hildon-app-menu.c
7007 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7008 multiple filter groups related code and API. Now we support only
7010 * examples/hildon-app-menu-example.c:
7012 Update to reflect API changes.
7014 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7016 * src/hildon-stackable-window.c
7017 (hildon_stackable_window_class_init):
7018 Add hildon_stackable_window_realize.
7019 (hildon_stackable_window_realize):
7020 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7021 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7022 to apply theming and behavior specific to HildonStackableWindow
7025 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7027 * src/hildon-note.c (hildon_note_button_release):
7028 Close information notes also when tapping on them
7030 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7032 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7033 ELASTICITY, refactor and review, fix some issues with drawing
7036 * src/hildon-pannable-area.c:
7037 (hildon_pannable_area_button_press_cb): removed the conditions to
7038 avoid clicks when overshooting. It is not required
7040 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7041 define. Refatored and reviewed the code, now we do not need to
7042 manage velocity in motion_notify.
7044 (hildon_pannable_area_motion_notify_cb): We have moved the code
7045 that controls the area_scroll to the axis_scroll function and get
7046 rid of duplicated code.
7048 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7050 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7052 (hildon_pannable_draw_vscroll),
7053 (hildon_pannable_draw_hscroll): Fixed the problems with the
7054 scrollbar drawing, now we do not use two surfaces, it is easier
7055 and saves resources.
7057 (hildon_pannable_area_get_property): Style modification.
7059 (hildon_pannable_area_class_init): Changed some default values.
7061 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7063 * src/hildon-stackable-window.c: Fix some typos in the
7066 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7068 * src/hildon-dialog.c:
7069 Change indentation style
7072 (hildon_note_button_release):
7073 Use root coordinates to check if the release event happened
7076 * src/hildon-app-menu.c
7077 (hildon_app_menu_button_release):
7078 Remove unnecessary check
7080 * examples/hildon-app-menu-example.c
7082 Add cast to fix warning
7084 * src/hildon-app-menu.c
7085 (hildon_app_menu_class_init):
7086 New inner-border style property.
7087 Set all default spacings to 16
7088 (hildon_app_menu_init):
7089 Use vertical-spacing to set the space between filter buttons and
7090 regular menu buttons.
7091 Set the default container border using the inner-border value.
7093 * examples/hildon-app-menu-example.c
7095 Don't set the menu border explicitly, now we have the inner-border
7096 style property for that.
7098 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7100 * src/hildon-app-menu.c (hildon_app_menu_init):
7101 Make the window modal
7103 * src/hildon-note.c (hildon_note_map)
7104 * src/hildon-app-menu.c (hildon_app_menu_map):
7105 Destroy the grab window if we're unable to grab the pointer
7107 * src/hildon-app-menu-private.h
7108 * src/hildon-app-menu.c
7109 (hildon_app_menu_init, hildon_app_menu_finalize)
7110 (hildon_app_menu_map, hildon_app_menu_unmap)
7111 (hildon_app_menu_button_release)
7112 (grab_transfer_window_get):
7113 Bring back the grab window
7114 (hildon_app_menu_realize):
7115 Decorate the window, set WM hint for Matchbox
7117 * src/hildon-note.c (hildon_note_realize):
7118 * src/hildon-banner.c (hildon_banner_realize):
7119 Add WM hints for Matchbox
7121 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7123 * src/hildon-app-menu-private.h
7124 * src/hildon-app-menu.c
7125 (hildon_app_menu_init, hildon_app_menu_finalize)
7126 (hildon_app_menu_map, hildon_app_menu_unmap)
7127 (hildon_app_menu_button_release):
7128 Remove the grab window, it's not needed anymore
7130 * src/hildon-program.c
7131 Fixed typo in documentation
7133 * src/hildon-app-menu.h
7134 * src/hildon-app-menu.c
7135 * examples/hildon-app-menu-example.c
7136 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7138 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7141 Added new transfer_window and close_if_pressed_outside private
7143 (hildon_note_rebuild):
7144 Don't add a cancel button to the information note. It will be
7145 closed when tapping outside
7146 Remove the comment about the OK button in the documentation
7147 (hildon_note_realize):
7148 Set the notification type hint
7149 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7150 Grab/ungrab pointer and keyboard if the note has to be closed when
7152 (hildon_note_button_release):
7153 Close the note when tapping outside (if applicable)
7155 * src/hildon-app-menu.c
7156 Grab/ungrab pointer and keyboard on map/unmap
7157 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7158 Close the menu on button release, not button press
7160 * src/hildon-banner.c
7161 (hildon_banner_set_property)
7162 (hildon_banner_check_position):
7163 Make the banner use the full width of the screen
7164 (hildon_banner_show_information)
7165 (hildon_banner_show_information_with_markup):
7166 Don't display an icon by default
7168 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7170 Added fading scrollbars and adapted all the overshooting code to
7171 horizontal scrolling. We have also fixed bugs with overshooting
7172 and current fading implementation.
7174 * src/hildon-pannable-area.c
7175 (hildon_pannable_area_scroll_indicator_fade): Time out function
7176 used to change the transparency of the scrollbars.
7178 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7179 control and fixed a problem with fading, we now remove the fade
7180 timeout before adding a new one.
7182 (hildon_pannable_axis_scroll):
7183 (hildon_pannable_area_scroll):
7184 (hildon_pannable_area_timeout): Added this functions so we can use
7185 the scroll code both for vertical and horizontal.
7187 (hildon_pannable_area_motion_notify_cb):
7188 (hildon_pannable_area_button_release_cb): Added the horizontal
7189 scrolling control, fixed a problem with the overshooting timeout.
7191 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7192 painting of the scrolls.
7194 (hildon_pannable_draw_vscroll):
7195 (hildon_pannable_draw_hscroll):
7196 (hildon_pannable_area_expose_event):
7197 Draw both scrollbars and rectangles in the overshooting area.
7199 (hildon_pannable_area_get_property):
7200 (hildon_pannable_area_set_property):
7201 Modified the overshoot property to overshoot_max
7203 (hildon_pannable_area_map):
7204 Replaced the comments symbols.
7206 (hildon_pannable_area_size_allocate):
7207 (hildon_pannable_area_class_init):
7208 (hildon_pannable_area_init): Added horizontal scroll, fading
7209 effect properties, fixed a problem when overshooting in the bottom
7212 * examples/hildon-pannable-area-example.c:
7213 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7214 looks better in the example.
7216 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7218 * src/hildon-window.c
7219 * src/hildon-window.h
7220 (hildon_window_class_init)
7221 (hildon_window_unset_program)
7222 (hildon_window_unset_program_real):
7223 Make unset_program a virtual function
7225 * src/hildon-stackable-window.c
7226 * src/hildon-stackable-window.h
7227 Added hildon_stackable_window_go_home()
7229 * examples/Makefile.am
7230 * examples/hildon-stackable-window-example.c
7231 HildonStackableWindow example
7233 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7235 * hildon-pannable-area.c: Added the overshoot property and removed
7236 the OVERSHOOT define. Fixed an indent style error.
7237 (hildon_pannable_area_motion_notify_cb):
7238 (hildon_pannable_area_get_property):
7239 (hildon_pannable_area_set_property): Add overshoot property.
7241 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7244 (hildon_pannable_area_class_init): Installed the new property.
7246 * hildon-pannable-area-example.c: Added a sawtooth function, this
7247 way it is easier to check the movement in the pannable.
7248 (get_sawtooth_label): Added this function.
7249 (main): Now we get the labels from the new get_sawtooth_label
7252 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7254 * src/hildon-app-menu.h
7255 * src/hildon-app-menu.c
7256 Renamed API variables for consistency
7258 (hildon_app_menu_popup): Use also the default window size to
7259 decide where to place the menu
7261 (hildon_app_menu_init, hildon_app_menu_class_init): New
7262 external-border style property
7264 2008-05-26 Michael Natterer <mitch@imendio.com>
7266 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7267 widget_class->tap_and_hold_setup signal slot doesn't exist any
7268 longer, stop overriding it.
7270 (hildon_time_editor_init): g_signal_connect() to the
7271 tap-and-hold-setup signal instead.
7273 (hildon_time_editor_entry_keypress): add cast to fix warning.
7275 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7277 * doc/hildon-docs.sgml
7279 * examples/Makefile.am
7280 * examples/hildon-app-menu-example.c
7282 * src/hildon-app-menu-private.h
7283 * src/hildon-app-menu.c
7284 * src/hildon-app-menu.h
7286 New HildonAppMenu widget
7288 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7290 Rearranged the inheritance of the pannable area, now it inherits
7291 from GtkBin. This will allow us to control the event_window and
7292 the allocation process of the widget, required for some effects.
7294 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7295 GtkBin structures. * src/hildon-pannable-area.c: Added the
7296 event_window variable.
7297 (hildon_pannable_area_button_press_cb):
7298 (hildon_pannable_area_button_release_cb):
7299 (hildon_pannable_area_motion_notify_cb):
7300 Changed the signature of the method, now we override the event
7301 callback instead of connecting to the signal.
7303 (hildon_pannable_area_realize):
7304 (hildon_pannable_area_unrealize):
7305 (hildon_pannable_area_map):
7306 (hildon_pannable_area_unmap):
7307 (hildon_pannable_area_size_allocate):
7308 Added functions to control the widget construction. We add a
7309 INPUT_ONLY window and we put it over the widgets inside the
7310 container, this event_window handles the events.
7312 (hildon_pannable_area_class_init):
7313 Replaced the signal connections with overrides of the event
7316 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7318 Bouncing effect added when touching the borders, you can change
7319 the elasticity of the border changing the ELASTICITY define.
7321 * src/hildon-pannable-area.c: Added ELASTICITY define.
7322 (hildon_pannable_area_timeout): Added inverse velocity when
7323 touching the border of the child widget, that causes a bounce.
7325 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7327 Improved performance, we now do not go to the X server in order to
7328 get the list of window children. Apparently the effect is the
7329 same, we have to be careful and check if this breaks something in
7332 * src/hildon-pannable-area.c:
7333 (get_ordered_children): Removed this function.
7334 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7335 the children windows function with gdk_window_get_children.
7337 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7339 * src/hildon-pannable-area.c:
7340 (hildon_pannable_area_dispose): Fixed a crash when closing the
7341 window and kinetics is activated.
7343 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7345 * src/hildon-pannable-area.h
7346 * src/hildon-pannable-area.c
7347 Changed indentation style to meet the one used in Hildon
7349 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7351 Reviewed the interaction of the AUTO mode, now we use the time
7352 attribute of the events and calculate the velocity in the motion,
7353 doing a gimp like calculation. The velocity is calculated in each
7354 motion event using the last velocity and the current one, the
7355 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7357 * src/hildon-pannable-area.c: Replaced the time based algorithm
7359 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7360 timeout for the AUTO mode when we are still moving the cursor. We
7361 added also the velocity calculation in this function.
7362 (hildon_pannable_area_button_release_cb): launch the timeout in
7363 case we are in AUTO mode. There are still some constants here that
7364 come from the old implementation that should be reviewed and
7367 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7369 * doc/hildon-docs.sgml
7372 * src/hildon-stackable-window.c
7373 * src/hildon-stackable-window.h
7375 New HildonStackableWindow widget
7377 * examples/hildon-dialog-example.c
7378 * examples/hildon-pannable-area-example.c
7381 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7383 * src/hildon-dialog.c
7384 (hildon_dialog_new_with_buttons): New constructor.
7386 * examples/hildon-dialog-example.c
7387 (main): Update the example to use the new
7388 hildon_dialog_new_with_buttons().
7390 * examples/hildon-pannable-area-example.c
7391 (main): Update example.
7393 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7395 * doc/hildon-docs.sgml
7397 Added HildonPannableArea to the documentation.
7399 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7401 * doc/visual_index.xml
7402 Fix reference to HildonLoginDialog in documentation
7404 * doc/hildon-docs.sgml
7406 * examples/Makefile.am
7407 * examples/hildon-dialog-example.c
7409 * src/hildon-dialog.c
7410 * src/hildon-dialog.h
7412 New HildonDialog widget.
7414 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7416 * src/hildon-pannable-area.c
7417 Merge latest changes (r4318, r4342) from libmokoui trunk
7419 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7421 * examples/Makefile.am
7422 * examples/hildon-pannable-area-example.c
7424 * src/hildon-pannable-area.c
7425 * src/hildon-pannable-area.h
7427 New HildonPannableArea widget.
7429 2008-04-15 18:05:19 <timj@imendio.com>
7431 * src/hildon-banner.c: revert the recent change, that introduced
7432 gtk_window_present() calls. this reopens:
7433 Bug 78481 - [freetest] information banners are hidden under browser menu
7434 But resolves another variant of:
7435 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7437 2008-04-15 13:21:13 <timj@imendio.com>
7439 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7440 recreated its layout, spotted by Kris. this fixes all remaining
7441 artefacts and stability issues with the banner code. in particular:
7442 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7444 2008-04-14 16:52:59 <timj@imendio.com>
7446 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7447 operating on unrealized widgets, fixes:
7448 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7450 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7452 2008-04-09 Kristian Rietveld <kris@imendio.com>
7454 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7455 makes banner disappear.
7456 Fixes: NB#79182: info banner flickering with certain message lengts.
7458 * src/hildon-banner.c (hildon_banner_constructor),
7459 (hildon_banner_init), (hildon_banner_set_text),
7460 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7461 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7462 FALSE, reset size requests of label and banner,
7463 (force_to_wrap_truncated): when the text is too wide, always enforce
7464 the maximum possible width instead of recalculating it from the
7465 layout; enforce the maximum banner height of 3 lines,
7466 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7467 nicer wrapping and no truncated chars if space gets tight.
7469 * src/hildon-banner-private.h: add has_been_wrapped and
7470 has_been_truncated fields.
7472 2008-04-07 Sven Herzberg <sven@imendio.com>
7474 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7475 local values in hildon_date_editor_size_allocate
7477 * src/hildon-date-editor.c: moved the real allocation code into the
7480 2008-04-07 Sven Herzberg <sven@imendio.com>
7482 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7483 local values in hildon_date_editor_size_allocate
7485 * src/hildon-date-editor.c: merged the two if() branches together
7487 2008-04-07 Sven Herzberg <sven@imendio.com>
7489 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7490 local values in hildon_date_editor_size_allocate
7492 * src/hildon-date-editor.c: changed the arguments of the if()
7495 2008-04-07 Sven Herzberg <sven@imendio.com>
7497 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7498 local values in hildon_date_editor_size_allocate
7500 * src/hildon-date-editor.c: split the calculation of the allocation
7501 from the real allocation
7503 2008-03-27 Michael Natterer <mitch@imendio.com>
7505 Fixes: NB#81696: The passcode is not overwritten even after
7508 * src/hildon-code-dialog.c
7509 (hildon_code_dialog_button_clicked)
7510 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7511 because that doesn't overwrite selected text. Instead, emit the
7512 "commit" signal on the entry's im_context so the entry's normal
7513 insert logic is triggered. Set the cursor to the end of the entry
7514 after each insert operation so that we *only* insert in the middle
7515 of the text if something was selected.
7517 2008-03-27 Michael Natterer <mitch@imendio.com>
7519 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7520 selector cannot be opened
7522 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7523 when the popup color selector is created. Please connect to this
7524 signal in order to set the dialog's help ID.
7526 2008-03-25 Sven Herzberg <sven@imendio.com>
7528 Fixes: MB#1212: Hide info banners (infoprints) on click
7530 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7531 extracted the close event simulation into an extra function
7532 (hildon_banner_button_press_event): simulate a close event and destroy
7533 the widget if the event wasn't handled
7534 (hildon_banner_class_init): added the button_press_event handler
7535 (hildon_banner_init): added button-press events to the widget
7537 2008-03-25 Sven Herzberg <sven@imendio.com>
7539 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7540 Patch from: Mohammad Anwari <mdamt@maemo.org>
7542 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7543 instead of the right in RTL mode
7544 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7545 breadcrumb button list in RTL mode
7546 * src/hildon-caption.c: mirror the appearance of the caption widget in
7548 * src/hildon-date-editor.c: mirror appearance of the date editor in
7550 * src/hildon-time-editor.c: mirror appearance of the time editor in
7552 * src/hildon-window.c: fix the position of the popup in RTL mode
7554 2008-03-25 Sven Herzberg <sven@imendio.com>
7556 Amendment to the fix of NB#22072. Fix compilation.
7558 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7560 2008-03-19 Sven Herzberg <sven@imendio.com>
7562 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7565 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7566 timeout id properly when the timeout will disappear this leaves no
7567 artifacts around in the destroy(); there will only be the timeout
7568 created by hildon_banner_ensure_timeout() and adding a new timeout
7569 will also work if the timeout gets removed because the timeout_handler
7572 2008-03-19 Michael Natterer <mitch@imendio.com>
7574 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7576 * src/hildon-volumebar.c
7577 * src/hildon-vvolumebar.c
7578 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7579 the widget becomes focussable at all.
7581 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7582 set the focus to wither the mute button or the volumebar.
7584 Remove own "can-focus" property and instead listen to
7585 notify::can-focus in order to update the widget's state.
7587 Implement GtkWidget::focus() and make sure we can also *leave* the
7588 widget, not only enter it, depending on volumebar orientation and
7589 requested focus direction.
7591 Clean up set_mute() to cooperate nicely with all the above.
7593 2008-03-04 Michael Natterer <mitch@imendio.com>
7595 Fixes: NB#78481: information banners are hidden under browser menu
7597 * src/hildon-banner.c: call gtk_window_present() on the banners so
7598 they are risen if they are already visible.
7600 2008-03-03 Sven Herzberg <sven@imendio.com>
7602 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7604 * examples/hildon-window-menu-example.c: (main): extended the window
7605 menu example to serve as a testcase for automatically added
7606 accelerator groups, too
7607 * src/hildon-window.c: (hildon_window_add_accel_group),
7608 (hildon_window_set_menu): added patch by Tommi Komulainen
7610 2008-03-03 Sven Herzberg <sven@imendio.com>
7612 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7614 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7615 knowledge about the border allocators used within GTK+
7617 2008-02-26 Sven Herzberg <sven@imendio.com>
7619 Fixes: MB#2981: Build with asserts broken
7621 * src/hildon-date-editor.c,
7622 * src/hildon-number-editor.c,
7623 * src/hildon-time-editor.c,
7624 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7625 the proper GType instance check
7627 2008-02-25 Sven Herzberg <sven@imendio.com>
7629 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7631 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7632 * examples/hildon-window-menu-example.c: (main): explicitly show
7634 * src/hildon-window.c:
7635 (hildon_window_set_main_menu): moved most of the code from set_menu()
7636 to this place; skipped the call to gtk_widget_show_all(); also didn't
7637 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7638 (hildon_window_set_menu): removed most of the code, just keep the
7639 questionable gtk_widget_show_all()
7640 * src/hildon-window.h: added the new function and deprecate the old
7643 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7649 * debian/changelog: Updating.
7651 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7654 * pkgconfig/Makefile.am:
7655 * pkgconfig/hildon.pc.in:
7658 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7659 use newly created API_MAJOR_VERSION.
7661 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7667 * debian/changelog: Updating.
7669 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7671 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7673 Add outer_border style property, we use it but don't define it (!).
7677 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7679 * examples/hildon-bread-crumb-trail-example.c (main):
7683 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7685 Fix logic for the bread crumb trail node removal.
7689 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7695 * debian/changelog: Updating.
7697 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7699 Patch by Alejandro to get/set passwords dialogs accesibility.
7701 * hildon-1/src/hildon-get-password-dialog.c:
7702 * hildon-1/src/hildon-set-password-dialog.c:
7703 Set atk_set_name to the passwd entries in order to allow
7704 accessibility by name on this entries.
7706 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7711 * debian/control: Updating gtk dep.
7713 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7715 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7716 USE_MAEMO_GTK is enabled.
7718 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7720 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7721 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7723 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7729 * debian/changelog: Updating.
7731 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7733 * examples/Makefile.am:
7734 * examples/hildon-logical-color-example.c:
7735 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7736 applied + adding a test case. Fixes: NB#71660.
7738 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7740 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7741 to be visible, fixes warning on map for windows without toolbars.
7743 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7745 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7746 2.11.0, add a check for that besides the MAEMO_GTK check.
7748 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7754 * debian/changelog: Updating.
7756 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7758 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7759 visibility. Fixes: NB#70842 and MB#615.
7761 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7763 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7764 set the separator as no-show-all so it doesn't unintentionally appear when
7765 someone does a show_all.
7767 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7769 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7770 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7771 toplevel item. Fixes: NB#62031
7773 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7775 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7776 fix the name of the function in the docs.
7778 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7784 * debian/changelog: Updating.
7786 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7788 * examples/hildon-banner-long-example.c: Adding a test-case for long
7791 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7793 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7795 * src/hildon-color-chooser-dialog.c:
7796 * src/hildon-color-chooser.c:
7797 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7798 memory leaks in font selector and color selector. Fixes: NB#70499 and
7801 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7803 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7805 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7807 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7808 little bit bigger. Fixes: #NB63694.
7810 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7816 * debian/changelog: Updating.
7818 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7821 * doc/hildon-docs.sgml:
7822 * doc/images/bread-crumb-trail.png:
7823 * doc/images/calendar-popup.png:
7824 * doc/images/caption.png:
7825 * doc/images/code-dialog.png:
7826 * doc/images/color-button.png:
7827 * doc/images/color-chooser-dialog.png:
7828 * doc/images/color-chooser.png:
7829 * doc/images/controlbar.png:
7830 * doc/images/date-editor.png:
7831 * doc/images/font-selection-dialog.png:
7832 * doc/images/get-password-dialog.png:
7833 * doc/images/hvolumebar.png:
7834 * doc/images/login-dialog.png:
7835 * doc/images/note.png:
7836 * doc/images/number-editor.png:
7837 * doc/images/range-editor.png:
7838 * doc/images/seekbar.png:
7839 * doc/images/set-password-dialog.png:
7840 * doc/images/sort-dialog.png:
7841 * doc/images/time-editor.png:
7842 * doc/images/time-picker.png:
7843 * doc/images/vvolumebar.png:
7844 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7845 Adding the bread-crumb-trial and helpers to the documentation.
7847 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7849 * examples/hildon-find-toolbar-example.c:
7850 * src/hildon-find-toolbar.c:
7851 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7852 actually continue firing the other handlers if connected. Adding a new
7854 hildon_find_toolbar_get_last_index that gets the index of the most
7855 recently added (last) item. Fixes: NB#52301.
7857 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7859 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7860 behaviour. Fixes: NB#68610.
7862 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7864 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7867 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7869 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7870 when realizing the banner. Should make the infonbanner effect a bit more
7873 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7875 * src/hildon-volumebar.c:
7876 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7877 hildon_volumebar_set_range_insensitive_message and
7878 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7880 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7882 * src/hildon-window.c: Fixing the border freeing on destroy.
7884 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7886 * src/hildon-code-dialog-private.h:
7887 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7888 kw keyboard support in HildonCodeDialog.
7890 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7896 * debian/changelog: Updating.
7898 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7900 * src/hildon-date-editor.c:
7901 * src/hildon-number-editor.c:
7902 * src/hildon-private.c:
7903 * src/hildon-private.h:
7904 * src/hildon-time-editor.c:
7905 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7906 handling in subclassed composite widgets. Fixes: NB#66628.
7908 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7910 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7911 from destroy_ callback as it introduces problems in async dbus signal
7912 handlers. Fixes NB#66673.
7914 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7916 * examples/hildon-hvolumebar-example.c:
7917 * src/hildon-volumebar.c: Improving the focus handling in the
7918 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7919 set_property accessor so that "mute" property can be actually set. I'm
7920 scared that nobody noticed it's totally broken.
7922 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7924 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7927 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7929 * src/hildon-calendar.c:
7930 * src/hildon-number-editor.c:
7931 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7932 matches the spec of 6 chars per second. Fixes: NB#60489.
7934 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7936 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7937 gtk_style_lookup_color sometime returns FALSE even though color was
7938 found and values were filled properly. Weird. Removing the warning for the
7941 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7943 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7944 expand vertically. Adding some extra space to the find toolbar buttons to
7945 make them thumbable. Fixes NB#66060.
7947 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7949 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7950 popup with "Ok" and "Cancel". Fixes NB#59299.
7952 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7954 * src/hildon-calendar.c: Process all window updates before executing next
7955 timeout. Fixes: NB#54146.
7957 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7963 * debian/changelog: Updating.
7965 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7967 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7968 the client event and ignore it, since we use the delete event to close
7971 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7973 * src/hildon-helper.c: Remove the bogus warning about color not being
7974 found. Fixes NB#58352.
7976 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7978 * examples/Makefile.am:
7979 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7980 HildonSeekbar widget inside a toolbar.
7982 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7984 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7985 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7986 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7987 don't want to be closed by non-temporary windows on map.
7989 Also use G_DEFINE_TYPE instead of manually typed code.
7991 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7998 * debian/rules: Updating.
8000 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8002 * examples/Makefile.am:
8003 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8004 bug NB#61128. Strangely it works.
8006 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8008 * src/hildon-date-editor.c: When the date editor entry has been changed
8009 but the numbers of characters < max, turn off the skip validation flag.
8010 Prevents a situation when we enter first a valid year and later re-write
8011 it with an invalid one. Fixes NB#60154.
8013 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8015 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8016 code dialog. Fixes NB#64355.
8018 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8020 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8021 switching the page. Fixes NB#49374.
8023 * examples/Makefile.am:
8024 * examples/hildon-wizard-dialog-example.c: Adding an example for
8025 HildonWizardDialog that shows how to handle manual sensitivity setting on
8028 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8032 * src/hildon-version.h.in:
8033 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8035 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8037 * src/hildon-volumebar.c: Updating the docs.
8039 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8045 * debian/changelog: Updating.
8047 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8049 * src/hildon-find-toolbar.c:
8050 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8051 selected item: hildon_find_toolbar_set_active,
8052 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8053 hildon_find_toolbar_get_active_iter . They correspond to respective
8054 GtkComboBox functions.
8056 * examples/Makefile.am:
8057 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8060 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8062 * examples/Makefile.am:
8063 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8066 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8067 when font size > 32 and we pack a focusable widget inside. Actually using
8068 the default response would work too, but since we don't show default
8069 response state in any way (no theming) it would not be visible to the
8070 user. Fixes NB#63430.
8072 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8074 * src/hildon-date-editor.c: Adding the missing variable setter in the
8075 set_property handler. Fixes NB#54182.
8077 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8079 * src/hildon-window.h: Changing the long key press time from 1500ms to
8080 800ms as requested in NB#63700. I have a bad feeling about this, let's
8081 see... Fixes NB#63700.
8083 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8085 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8086 hildon_time_picker_map, hildon_time_picker_realize,
8087 hildon_time_picker_style_set): Split the contents of map to more
8088 appropriate functions; set window decorations on realize and update
8089 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8091 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8096 * debian/changelog: Updating.
8098 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8100 * src/Makefile.am: fixed installation of the header files
8102 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8108 * debian/changelog: Updating.
8110 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8112 * configure.ac: Removing some remaining of --enable-xan.
8114 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8116 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8117 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8119 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8120 2.10.12-osso6 because the move-focus signal needs to be available in
8123 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8125 * examples/Makefile.am:
8126 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8127 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8128 fine. Prolly NB#61128 is fixed now.
8130 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8132 * src/hildon-volumebar.c:
8133 * src/hildon-volumebar.h: Adding the
8134 hildon_volumebar_set_range_insensitive_message and
8135 hildon_volumebar_set_range_insensitive_messagef functions to set
8136 insensitive message on the slider of the volumebar. Fixes NB#61129.
8138 * examples/Makefile.am:
8139 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8140 test the new insensitive messsage functionality on HildonVolumebar.
8142 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8144 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8147 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8149 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8150 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8151 button on after clearing the trail.
8153 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8155 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8157 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8159 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8160 by splitting the installed headers in generated and non-generated groups. Use
8161 only the non-generated headers to create the hildon-enum-types.h file.
8163 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8165 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8167 * src/hildon-window.c: Hide the window before performing the destroy.
8168 Should make the app closing a little tiny bit more snappy.
8170 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8172 * src/hildon-seekbar.c: add gtkrange.h header
8173 * src/hildon-caption.c: remove unused variable
8175 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8177 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8180 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8186 * debian/changelog: Updating.
8188 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8190 * src/hildon-window.c (hildon_window_window_state_event,
8191 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8192 escape timeout on focus-out-event rather than notify::is-topmost; the
8193 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8195 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8197 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8198 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8200 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8202 * src/hildon-window: actually, you need to use the macro always, there's
8203 no private pointer in the instance structure. We should have cleaned this up
8204 when we had the chance...
8206 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8208 * src/hildon-window.c: do not get the private date from HildonWindow before
8209 it passes the g_return_if_fail check. Once it's passed the test, there's no
8210 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8211 if you are only going to access the data once. Whitespace cleanups.
8213 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8215 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8216 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8218 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8224 * debian/changelog: Updating.
8226 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8228 * src/hildon-window.c: When destroying the window, remove (if exists) the
8229 escape timeout handler. Fixes #NB59276.
8231 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8233 * src/hildon-banner.c: When realizing the widget, set the window
8234 transiency. Setting the transiency in the gobject constructor is not
8235 good, as the widget is not realized at that point. Fixes: #NB56624.
8237 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8239 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8240 Add padding for future expansions.
8242 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8244 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8245 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8246 will fake an activation on the previous to the last item of the trail, so
8247 the effect can be overrided by the developer as usual.
8248 Also change the callback for the back button to do the same thing, so its
8249 effect can be overrided too. Fixes: NB#58982
8251 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8253 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8254 HildonCaption. Fixes NB#52379.
8256 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8258 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8259 the internal state of the trail after the user has had the chance of executing
8260 his handler for the signal. Specifically, it may happen that the activated button
8261 is removed and the user still lets the default handler run. This would segfault
8264 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8266 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8267 scrollbar to the preview dialog. Fixes NB#54147.
8269 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8271 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8272 max/min year properties can be altered, so the client can modify it
8273 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8275 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8277 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8278 hildonlike by default. Fixing a problem with disappearing arrows when
8279 scrolling through months and years. Fixes NB#54127.
8281 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8283 * examples/hildon-date-editor-example.c: Adding error callback to the date
8286 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8292 * configure.ac: Updating.
8294 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8296 * configure.ac: Adding a special '--enable-xan' configure option that
8297 turns off the -Werror compilation setting. Usefull for development.
8299 * src/hildon-calendar.c:
8300 * src/hildon-number-editor.c:
8301 * src/hildon-time-picker.c: Adding the 5* multiplier to
8304 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8306 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8307 instead of g_object_ref + gtk_object_sink.
8309 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8315 * debian/changelog: Updating.
8317 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8319 * src/hildon-color-chooser-dialog.c:
8320 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8321 straight from Tommi labs.
8323 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8325 * examples/hildon-finger-example.c: Correcting the header file path.
8327 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8328 the changed signal. Fixes a small memory leak.
8330 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8334 * src/hildon-banner.c: Importing several usefull fixes from the
8335 ubuntu-mobile branch.
8337 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8339 * examples/Makefile.am:
8340 * examples/hildon-finger-example.c: Adding a finger-checking code
8343 * src/hildon-font-selection-dialog.c: Do not allocate the color
8344 structure using the g_new. Fixes NB#54061.
8346 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8348 * src/hildon-helper.c: Correcting tabs in file.
8350 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8352 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8353 control the visibility of the children.
8355 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8357 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8363 * debian/changelog: Updating.
8365 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8367 * src/hildon-bread-crumb-trail.c:
8368 (hildon_bread_crumb_trail_size_allocate):
8370 Make the back button always a square.
8372 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8374 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8375 from the .c file as it's a private file.
8377 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8379 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8380 uses slightly bigger height.
8382 * src/hildon-font-selection-dialog.c: Adding some checks before
8383 freeing memory in the font selection dialog.
8385 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8387 * src/hildon-font-selection-dialog.c: Adding a small check when
8390 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8391 buttons sensitivity on page switching.
8393 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8395 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8396 internal details of adding a bread crumb to the trail.
8398 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8404 * debian/changelog: Updating.
8406 * src/hildon-bread-crumb-trail.h:
8407 * src/hildon-bread-crumb.h: Changing the API guard to
8408 HILDON_ENABLE_UNSTABLE_API.
8410 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8418 * src/hildon-helper.h: Updating.
8420 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8428 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8432 * src/hildon-helper.h: Small fix to make the package actually compile.
8434 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8436 * src/hildon-bread-crumb-trail.h:
8437 * src/hildon-bread-crumb.h:
8439 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8440 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8442 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8444 * examples/hildon-bread-crumb-trail-example.c:
8446 * src/hildon-bread-crumb-trail.c:
8447 * src/hildon-bread-crumb-trail.h:
8448 * src/hildon-bread-crumb.c:
8449 * src/hildon-bread-crumb.h:
8450 * src/hildon-marshalers.list:
8451 * src/hildon-bread-crumb-widget.c:
8452 * src/hildon-bread-crumb-widget.h:
8454 Slight change in the widget design. The bread crumb trail API is
8455 unchanged, but HildonBreadCrumb is now an interface. A *private*
8456 implementation, hildon-bread-crumb-widget, is provided and used
8457 internally by the trail for the push_text/push_icon functions.
8459 The generic push API is still available, so anyone can implement
8460 and use its own bread crumb widget.
8462 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8464 * debian/rules: Fixing the shlibs.
8466 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8468 * src/hildon-banner.c: Fixing a problem with timed banners having
8469 their parrent destroyed before they are.
8471 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8473 * src/hildon-bread-crumb.c:
8474 * src/hildon-bread-crumb.h:
8476 Make the get_natural_size function a vfunc.
8478 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8480 * src/hildon-bread-crumb.c:
8481 * src/hildon-bread-crumb-trail.c:
8485 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8492 * debian/changelog: Updating for release.
8494 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8496 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8497 don't leak the pango layout.
8499 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8502 * examples/hildon-bread-crumb-trail-example.c:
8506 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8508 * debian/changelog: Removing the bug-fixed entries that were actually
8509 resolved as WONTFIX.
8511 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8514 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8516 * src/hildon-bread-crumb-trail.c:
8517 * src/hildon-bread-crumb-trail.h:
8518 * src/hildon-bread-crumb.c:
8519 * src/hildon-bread-crumb.h:
8523 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8525 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8526 until it's passed the type check.
8528 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8530 * examples/hildon-bread-crumb-trail-example.c
8534 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8536 * examples/Makefile.am
8537 * examples/hildon-bread-crumb-trail-example.c
8539 * src/hildon-bread-crumb-trail.c
8540 * src/hildon-bread-crumb-trail.h
8541 * src/hildon-bread-crumb.c
8542 * src/hildon-bread-crumb.h
8544 New HildonBreadCrumbTrail widget.
8546 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8548 * src/hildon-range-editor.c (hildon_range_editor_init),
8549 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8550 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8551 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8552 hildon_time_editor_class_init, hildon_time_editor_init),
8553 src/hildon-get-password-dialog.c (invalid_input,
8554 hildon_get_password_set_property, hildon_get_password_get_property,
8555 create_contents, hildon_get_password_dialog_set_max_characters),
8556 src/hildon-set-password-dialog.c (create_contents),
8557 src/hildon-date-editor.c (hildon_date_editor_init),
8558 src/hildon-login-dialog.c (hildon_login_dialog_init),
8559 src/hildon-number-editor.c (hildon_number_editor_init),
8560 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8561 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8562 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8563 configure option and adding the respective checks in the code.
8564 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8565 hildon_calendar_drag_data_received): fixed some build warnings.
8567 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8569 * debian/changelog: A 1.0.0 release notes.