1 2009-06-08 Christian Dywan <christian@lanedo.com>
5 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
6 Correct errors in hildon_format_file-size_for_display and use
7 translations from the hildon-fm package instead of osso-filemanager.
9 2009-06-08 Alejandro G. Castro <alex@igalia.com>
11 * hildon/hildon-pannable-area.c,
12 (hildon_pannable_area_init): Initialized new values to handle the
14 (hildon_pannable_area_adjust_value_changed): Check if the values
15 changed before even call the redraw function.
16 (hildon_pannable_area_size_allocate),
17 (hildon_pannable_axis_scroll),
18 (hildon_pannable_area_scroll),
19 (hildon_pannable_area_jump_to): Improved the diagonal movement
22 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
25 2009-06-08 Alberto Garcia <agarcia@igalia.com>
27 * examples/hildon-banner-example.c:
29 (on_animation_clicked, on_animation_idle)
30 (on_progress_clicked, on_progress_idle):
31 Add additional reference for the cases when the parent window is
34 2009-06-08 Alberto Garcia <agarcia@igalia.com>
36 * doc/hildon-sections.txt
37 * hildon/hildon-pannable-area.c
38 * hildon/hildon-banner.h
39 * hildon/hildon-banner.c: Documentation updates.
41 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
44 2009-06-05 Alejandro G. Castro <alex@igalia.com>
46 * hildon/hildon-calendar-popup.h:
47 * hildon/hildon-caption.h:
48 * hildon/hildon-code-dialog.h:
49 * hildon/hildon-controlbar.h:
50 * hildon/hildon-date-editor.h:
51 * hildon/hildon-dialog.h:
52 * hildon/hildon-get-password-dialog.h:
53 * hildon/hildon-hvolumebar.h:
54 * hildon/hildon-login-dialog.h:
55 * hildon/hildon-note.h:
56 * hildon/hildon-number-editor.h:
57 * hildon/hildon-range-editor.h:
58 * hildon/hildon-seekbar.h:
59 * hildon/hildon-set-password-dialog.h:
60 * hildon/hildon-sort-dialog.h:
61 * hildon/hildon-time-editor.h:
62 * hildon/hildon-time-picker.h:
63 * hildon/hildon-volumebar-range.h:
64 * hildon/hildon-volumebar.h:
65 * hildon/hildon-vvolumebar.h:
66 * hildon/hildon-weekday-picker.h:
67 * hildon/hildon-window.h:
68 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
69 macros with the current replacements
71 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
73 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
75 * hildon/hildon-color-button.c (hildon_color_button_init): Use
76 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
77 itself, to make it fit better with Fremantle style.
79 Fixes: NB#109878 (height and width of focus on color icon is not
80 consistent with other item in the application tool bar)
82 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
84 * hildon/hildon-touch-selector.c:
85 (hildon_touch_selector_optimal_size_request): use the current requisition
86 as the base, in order to include any possible extra widget, like the
87 hildon entry on HildonTouchSelectorEntry
89 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
91 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
93 * configure.ac: post release version bump
94 * debian/changelog: post release version bump
96 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
101 * configure.ac: Bump version.
102 * debian/changelog: Updates.
104 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
106 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
108 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
109 to ensure the banner contents are centered, instead of relying on
110 the expand and fill properties in GtkHBox.
111 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
113 Fixes: NB#108265 (Animation banner not properly centered)
115 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
117 * hildon/hildon-pannable-area.c
118 (hildon_pannable_area_initial_effect): Remove the initial_effect
119 management, check initial_hint
120 (hildon_pannable_are_expose_event): Remove the initial_hint management,
121 set initial_effect to FALSE
122 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
123 by launching the fade_timeout if the scrollbars state has changed and are
125 * examples/hildon-pannable-area-initial-hint-example.c
126 Modified to allow to remove rows too. Add and remove rows one by one.
128 2009-05-28 Alberto Garcia <agarcia@igalia.com>
130 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
131 Don't close the menu if there's an animation actor below it.
133 Fixes: NB#117927 (Application menu not usable with animation
136 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
138 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
139 "focus-on-click" from the dialog button, to avoid stealing the
140 focus from the entry.
142 Fixes: NB#118903 (Account setup wizard: Text in Search field
143 should be focused when "Region" touch list picker is reopened
146 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
148 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
149 (prepare_action_area): Completely hide the dialog separator.
151 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
153 * hildon/hildon-touch-selector-entry.c
154 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
155 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
156 now that the entry is exposed.
158 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
160 * hildon/hildon-touch-selector-entry.c
161 (hildon_touch_selector_entry_init): Change the entry's size
162 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
164 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
166 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
167 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
168 avoid unnecessary scaling.
170 2009-05-27 Alberto Garcia <agarcia@igalia.com>
172 * hildon/hildon-app-menu.c (hildon_app_menu_map):
173 Create grab transfer window before calling parent's map function.
175 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
176 "crushed" button(s) in the top left corner)
178 2009-05-26 Alberto Garcia <agarcia@igalia.com>
180 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
181 Check if the window is already realized when pushing it.
183 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
185 * configure.ac: post release version bump
186 * debian/changelog: post release version bump
188 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
193 * configure.ac: Bump version.
194 * debian/changelog: Updates.
196 2009-05-25 Alberto Garcia <agarcia@igalia.com>
198 * hildon/hildon-app-menu.c: Doc updates.
200 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
202 * hildon/hildon-banner.c: Remove leftover macro.
204 2009-05-25 Alejandro G. Castro <alex@igalia.com>
206 * hildon/hildon-pannable-area.c,
207 (hildon_pannable_area_scroll_indicator_fade),
208 (hildon_pannable_area_button_release_cb): Reviewed vmin
209 conditions, it could cause problems in the fadeout procedure.
211 2009-05-25 Alejandro G. Castro <alex@igalia.com>
213 * hildon/hildon-pannable-area.c
214 (hildon_pannable_area_button_release_cb): Added a threshold to
215 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
217 2009-05-25 Alejandro G. Castro <alex@igalia.com>
219 * hildon/hildon-pannable-area.c,
220 (hildon_pannable_area_set_property): Added code to sync the gtk
221 dnd threshold with the panning threshold.
223 2009-05-25 Alejandro G. Castro <alex@igalia.com>
225 * hildon/hildon-pannable-area.c,
226 (hildon_pannable_area_class_init): Changed some of the default
227 values, now it should be less responsive and more accurate.
229 2009-05-25 Alejandro G. Castro <alex@igalia.com>
231 * hildon/hildon-pannable-area.c,
232 (hildon_pannable_area_init),
233 (hildon_pannable_area_scroll_indicator_fade),
234 (hildon_pannable_area_button_press_cb),
235 (hildon_pannable_axis_scroll),
236 (hildon_pannable_area_timeout),
237 (hildon_pannable_area_motion_notify_cb),
238 (hildon_pannable_area_button_release_cb): Changed the name of the
239 clicked attribute to button_pressed, it is more clear about its use.
241 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
243 * src/hildon-pannable-area.c
244 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
246 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
247 vertical scrollbar visibility, and use the data on private section instead,
248 remove the initial_hint check
249 (hildon_pannable_area_expose_event): add the initial_hint check here
251 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
253 * src/hildon-pannable-area.c
254 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
255 if the fadeout effect was used
256 (hildon_pannable_area_expose_event): check if it is required to
257 manage the initial effect on the begining of the function. Previously
258 it was made at the end, but this doesn't ensure that the scrollbars
259 will be painted on the first show. Do not set to FALSE initial_effect,
260 to ensure that the initial hint is showed the first time the pannable
262 * examples/Makefile.am
263 * examples/hildon-pannable-area-initial-hint-example.c:
264 New example, to show that the initial-hint is showed when the widget
267 Fixes: NB#116607 (Pannable area should always have scrollbar visible
268 initially if the application can be scrolled)
270 2009-05-25 Alberto Garcia <agarcia@igalia.com>
272 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
273 Resize table before adding new items to make sure that
274 gtk_table_resize() is called just once.
276 2009-05-25 Alberto Garcia <agarcia@igalia.com>
278 * hildon/hildon-app-menu-private.h
279 * hildon/hildon-app-menu.c (item_visibility_changed)
280 (filter_visibility_changed, hildon_app_menu_show_all)
281 (hildon_app_menu_hide_all, hildon_app_menu_init):
282 Rearrange items just once when gtk_widget_show_all()/hide_all()
285 2009-05-25 Alberto Garcia <agarcia@igalia.com>
287 * hildon/hildon-app-menu.c
288 (hildon_app_menu_insert, hildon_app_menu_add_filter):
289 Don't call gtk_widget_show() on added items.
291 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
292 automatically when they're added)
294 2009-05-20 Alberto Garcia <agarcia@igalia.com>
296 * hildon/hildon-banner.c
297 (hildon_banner_realize, +hildon_banner_unrealize)
298 (+screen_size_changed, hildon_banner_class_init):
299 Redisplay the banner if the screen is rotated.
301 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
302 on transition from landscape to portrait)
304 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
306 * hildon/hildon-banner.[ch]:
307 (hildon_banner_show_information_override_dnd): remove icon_name from the
308 method definition as it is ignored.
309 * examples/hildon-banner-dnd-example.c: updated with the change on
312 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
314 * hildon/hildon-banner-private.h: new require_override_dnd and
315 overrides_dnd variables
316 * hildon/hildon-banner.h:
317 (hildon_banner_show_information_override_dnd): new method, that shows
318 the information but sets the override flag, in order to show important
320 * hildon/hildon-banner.c
321 (hildon_banner_show_information_override_dnd): new method
322 (hildon_banner_set_override_flag): new utility function
323 (hildon_banner_real_show_information): new utility function, in order to
324 generalize the current hildon_banner_show_information_override_dnd and
325 hildon_banner_show_information_override_dnd
326 * examples/Makefile.am
327 * examples/hildon-banner-dnd-example.c: New example that show how to
328 use the new hildon_banner_show_information_override_dnd
330 Fixes: NB#114874 (There is no possibility to show hildon banners with
333 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
335 * hildon/hildon-pannable-area.c: Add a comment explaining the math
336 behind hildon_pannable_calculate_vel_factor().
338 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
340 * hildon/hildon-pannable-area.c
341 (hildon_pannable_calculate_vel_factor): Correct the sum of the
342 deceleration factors.
344 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
346 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
347 Reduce the default value for 'scroll_time' to 1 second, since the
348 current initial scrolling takes too much time.
350 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
352 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
353 calculate velocity factor during initialization, since the properties
356 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
358 * hildon/hildon-pannable-area.c
359 (hildon_pannable_area_set_property): Calculate the velocity factor
360 after setting the deceleration property and not after.
362 2009-05-20 Alberto Garcia <agarcia@igalia.com>
364 * hildon/hildon-entry.c
365 (hildon_entry_class_init, +set_property, hildon_entry_new)
366 * hildon/hildon-check-button.c
367 (hildon_check_button_class_init)
368 (+set_property, hildon_check_button_new):
369 Make the theme size a property.
371 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
372 others) do too much in the _new function)
374 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
376 * configure.ac: post release version bump
377 * debian/changelog: post release version bump
379 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
384 * configure.ac: Bump version.
385 * debian/changelog: Updates.
387 2009-05-15 Alberto Garcia <agarcia@igalia.com>
389 * hildon/hildon-gtk.h
390 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
391 New API function to take a screenshot of a window
393 Fixes: NB#106374 (Need API to take a loading screenshot)
395 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
397 * hildon/hildon-time-selector.c
398 (update_format_policy): prevent to use hours and minutes unitialized
400 2009-05-15 Alberto Garcia <agarcia@igalia.com>
402 * hildon/hildon-window.c (hildon_window_size_request):
403 Always request the full size of the screen (minus the title bar if
404 not in fullscreen mode).
406 Fixes: NB#107486 (HildonWindow should size itself properly)
408 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
410 * hildon/hildon-note-private.h: Add idle_handler to the private data.
411 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
412 (on_show_cb), (sound_handling): Disconnect the idle handler for
413 the sound when the note is finalized to avoid possible crashes.
415 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
418 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
420 * src/hildon-animation-actor.c,
421 * src/hildon-remote-texture.c:
422 Added proper object cleanup to remove signal handler and object
423 references as HildonAnimationActor and HildonRemoteTexture
424 objects get destroyed.
426 Fixes: NB#116682 (Destroying parented animation actors when
427 parent in unmapped leads to crash)
429 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
431 Based on a patch by Christian Dywan (christian@imendio.com)
433 * doc/hildon-sections.txt:
434 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
435 * hildon/hildon-helper.h: New file size formatting method.
437 * debian/control: Depend on osso-filemanager l10n package for
438 proper localization strings.
440 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
442 * tests/Makefile.am: Include top_srcdir to make possible to build
443 tests in a different builddir.
444 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
445 on a different builddir.
447 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
449 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
450 (hildon_touch_selector_remove): Disconnect model's signal handler
453 Fixes: NB#116289 (Hildon home crashes while adding task
456 2009-05-11 Alberto Garcia <agarcia@igalia.com>
458 * hildon/hildon-button.c
459 (hildon_button_set_title, hildon_button_set_value):
460 Hide labels containing an empty string.
462 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
464 * configure.ac: post release version bump
465 * debian/changelog: post release version bump
467 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
472 * configure.ac: Bump version.
473 * debian/changelog: Updates.
475 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
477 * hildon/hildon-note-private.h: Removed sound_signal_handler
478 * hildon/hildon-note.c
479 (on_show_cb): new callback on note "show" event, this simply adds
480 a idle, with the function sound_handling
481 (sound_handling): removed the sound_signal_handler management
482 (hildon_note_init): connect note "show" event to on_show_cb
483 (hildon_note_realize): remove the connection to "expose-event"
485 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
486 device?' confirmation note)
488 2009-05-08 Alberto Garcia <agarcia@igalia.com>
490 * hildon/hildon-note.c
491 (hildon_note_new_information_with_icon_name)
492 (hildon_note_new_confirmation_with_icon_name):
493 Terminate the list of parameters in g_object_set() calls
495 Fixes: NB#115166 (Formatting memory card is not taking place)
497 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
499 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
500 "dialog-information" role for the sound being played.
502 2009-05-06 Alberto Garcia <agarcia@igalia.com>
504 * hildon/hildon-app-menu.c (hildon_app_menu_init):
505 Don't make the menu a modal window, it causes strange interactions
506 with the pointer grab and it's not really needed.
508 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
510 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
512 * hildon/hildon-touch-selector.[ch]
513 (hildon_touch_selector_optimal_size_request): function added to get a
514 optimal size request from the touch selector, when you want a dialog to
515 show as much of the selector
516 * hildon/hildon-picker-dialog.c:
517 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
518 (hildon_app_menu_class_init):
519 New "max-height-landscape" and "max-height-portrait" style properties
520 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
521 (hildon_picker_dialog_get_max_height): returns the maximum height using
522 the style properties defined and checking the current portrait/landscape
524 (_hildon_picker_dialog_set_selector): removed the set_size_request
526 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
528 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
530 * hildon/hildon-bread-crumb-trail.c:
531 * hildon/hildon-bread-crumb.c:
532 * hildon/hildon-seekbar.c:
533 Add reference to replacements for these deprecated widgets.
535 Fixes: MB#4461 (Documentation: All deprecations should mention
538 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
540 * examples/hildon-remote-texture-example.c
542 Change the include to the hildon-remote-texture in order to compile
543 properly the examples on the installed libhildon1-examples package
545 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
547 * tests/Makefile.am: Add check for HildonPickerButton.
548 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
549 (START_TEST), (create_hildon_picker_button_suite): Add three simple
550 checks for the HildonPickerButton.
551 * tests/check_test.c (configure_tests): Add the test suite.
552 * tests/test_suites.h: likewise.
554 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
556 * hildon/hildon-touch-selector.c
557 (+on_row_changed): Emit HildonTouchSelector:changed when the
558 contents of a selected row change.
559 (_create_new_column), (_hildon_touch_selector_set_model): connect
560 to GtkTreeModel:row-changed on a newly set model.
562 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
564 2009-05-05 Alberto Garcia <agarcia@igalia.com>
566 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
568 * hildon/hildon-banner.c (hildon_banner_destroy)
569 (hildon_banner_show_progress, hildon_banner_set_fraction):
570 Remove the progress bar from HildonBanner and use a progress
573 Fixes: NB#113761 (Update progress banner to use progress
576 2009-05-04 Alberto Garcia <agarcia@igalia.com>
578 * hildon/hildon-banner.c:
579 Calculate size of the banner label using the actual screen width
580 rather than using a fixed value.
582 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
585 2009-05-04 Alejandro G. Castro <alex@igalia.com>
587 * hildon/hildon-pannable-area.c,
588 (hildon_pannable_area_class_init): Fixed signals documentation
591 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
593 * configure.ac: post release version bump
594 * debian/changelog: post release version bump
596 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
601 * configure.ac: Bump version.
602 * debian/changelog: Updates.
604 2009-05-01 Alberto Garcia <agarcia@igalia.com>
606 * hildon/hildon-edit-toolbar.c
607 (hildon_edit_toolbar_init):
608 Don't let buttons in HildonEditToolbar receive focus.
610 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
611 typing on an HW arrows key)
613 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
615 * doc/Makefile.am: Fix build.
617 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
619 * doc/Makefile.am: Do not redefine content_files.
621 2009-04-30 Alberto Garcia <agarcia@igalia.com>
629 Renamed src/ to hildon/
634 Include <hildon/hildon.h> directly in all examples.
636 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
638 * src/hildon-sort-dialog.c
639 (hildon_sort_dialog_add_sort_key_with_sorting)
643 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
645 * src/Makefile.am: Move generated sources to CLEANFILES, so that
646 make distcheck passes.
648 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
650 * Makefile.am: Enable gtk-doc during distcheck.
652 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
654 * Makefile.am: Do not distribute the debian/ directory.
656 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
658 * doc/Makefile.am: Add the extra SGML files to content_files,
659 so that they are distributed properly.
661 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
663 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
666 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
668 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
669 (hildon_note_new_information_with_icon_name): Set the "icon" property
670 to preserve soundness.
672 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
674 * src/hildon-font-selection-dialog.c
675 (hildon_font_selection_dialog_set_property): Fail when the "family"
676 property is set to NULL.
678 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
680 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
683 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
685 * src/hildon-time-selector.h:
686 Added HildonTimeSelectorFormatPolicy
687 * src/hildon-time-selector.c:
688 Added PROP_TIME_FORMAT_POLICY
689 (_check_ampm_format): renamed to check_automatic_ampm_format
690 (update_format_policy), (update_format_dependant_columns): new functions
691 (hildon_time_selector_class_init)
692 (hildon_time_selector_contructor)
693 (hildon_time_selector_init)
694 (hildon_time_selector_get_property)
695 (hildon_time_selector_set_property)
696 (hildon_time_selector_get_time)
697 (hildon_time_selector_set_time)
698 * src/hildon-touch-selector.h: new file
699 * src/hildon-touch-selector.c
700 (hildon_touch_selector_emit_changed)
701 (hildon_touch_selector_block_changed)
702 (hildon_touch_selector_unblock_changed)
703 Added functions to allow to block the emission of the "changed" signal
704 * src/hildon-picker-dialog.c
705 (hildon_picker_dialog_show): call the parent show before the custom code
706 * examples/hildon-time-button-example.c
707 Modified, so now you can configure the time format using the new property
709 Added a new property "time-format-policy" that allow to choose the time
710 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
711 case it uses gconf in order to check if the time selector must use
714 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
717 2009-04-28 Alberto Garcia <agarcia@igalia.com>
719 * src/hildon-note.c (hildon_note_init):
720 Label in HildonNote must be left aligned, not centered. This
721 reverts the last commit in HildonNote.
723 Fixes: NB#112933 (text is not left aligned in confirmation dialog
724 is connectivity dialog)
726 2009-04-27 Alberto Garcia <agarcia@igalia.com>
731 * doc/hildon-sections.txt:
732 Added hildon_gtk_window_set_do_not_disturb()
734 2009-04-27 Alberto Garcia <agarcia@igalia.com>
736 * src/hildon-note.c (hildon_note_init): Center label.
738 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
741 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
746 * configure.ac: Bump version.
747 * debian/changelog: Updates.
749 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
751 * src/hildon-note-private.h: Add button-width to the private data.
752 * src/hildon-note.c (+resize_button),
753 (+hildon_note_orientation_update): methods to repack widgets on orientation
755 (screen_size_changed): Call above method for confirmation notes.
756 (hildon_note_realize): Always connect to the "screen-size" changed signal.
757 (hildon_note_rebuild): Store the original width request from buttons.
759 Fixes: NB#109635 (Confirmation notes do not support portrait)
761 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
763 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
764 when it is a progress note.
766 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
768 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
769 in the note, since there are no horizontally arranged contents.
771 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
773 * src/hildon-gtk.c (+set_flag): new generic method to
774 set/delay a flag setting in a window.
775 (hildon_gtk_window_set_progress_indicator):
776 (hildon_gtk_window_set_do_not_disturb),
777 (hildon_gtk_window_set_portrait_flags): use set_flag() to
778 avoid code redundance.
780 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
782 Based on a patch by Alberto Garcia (agarcia@igalia.com)
784 * src/hildon-gtk.c (set_clear_window_flag),
785 (do_set_progress_indicator), (do_set_do_not_disturb),
786 (do_set_portrait_flags),
787 (hildon_gtk_window_set_progress_indicator),
788 (hildon_gtk_window_set_do_not_disturb),
789 (hildon_gtk_window_set_portrait_flags):
790 Allow setting dnd-flag, progress indicator, and portrait flags
791 when the window is not realized.
793 2009-04-24 Alejandro G. Castro <alex@igalia.com>
795 * src/hildon-pannable-area.c,
796 * src/hildon-pannable-area.h: Add the hildon deprecated define to
797 the size request policy function and defines.
799 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
801 * doc/hildon-sections.txt: Add the new API.
802 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
803 method to set the portrait flags.
804 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
806 Fixes: NB#112328 (Adding helpers for setting portrait properties)
808 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
810 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
811 to allow using this method with other flags.
812 (hildon_gtk_window_set_progress_indicator): Update accordingly.
813 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
815 2009-04-22 Alberto Garcia <agarcia@igalia.com>
817 * src/hildon-touch-selector.c
818 (hildon_touch_selector_append_text_column):
819 Make the cell renderer use the smallest width possible.
821 Fixes: NB#108470 (Selected items in multiple selection are either
822 having a tick that is cut or not visible at all.)
824 2009-04-22 Alberto Garcia <agarcia@igalia.com>
826 * src/hildon-touch-selector.c
827 (hildon_touch_selector_append_text_column):
830 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
832 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
833 Use g_strdup_printf() instead of a fixed size buffer.
835 2009-04-21 Alberto Garcia <agarcia@igalia.com>
837 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
838 Close banners when a HildonAppMenu is popped up.
840 Fixes: NB#111027 (Title menu closed immediately if activated when
841 "Invalid e-mail address" banner is shown)
843 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
848 * configure.ac: Bump version.
849 * debian/changelog: Updates.
851 2009-04-20 Alberto Garcia <agarcia@igalia.com>
853 * src/hildon-banner.c (hildon_banner_realize):
854 Mark HildonBanner as supporting portrait mode.
855 Use GDK to set window properties insetad of direct Xlib calls.
857 Fixes: NB#111830 (HildonBanner should be marked as supporting
860 2009-04-20 Alberto Garcia <agarcia@igalia.com>
862 * src/hildon-note.c (hildon_note_rebuild):
863 Hide action area in information notes. Prevents text from being
864 slightly aligned to the left.
866 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
869 2009-04-20 Alberto Garcia <agarcia@igalia.com>
871 Patch by Mox Soini (ext-mox.soini@nokia.com)
873 * src/hildon-banner.c (hildon_banner_create_animation):
874 Use stylus-sized icons in animation banner.
876 Fixes: NB#111206 (stylus sized icon for animation banner)
878 2009-04-20 Alberto Garcia <agarcia@igalia.com>
882 (+hildon_gtk_window_set_do_not_disturb):
883 New API to set the do-not-disturb flag.
885 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
887 2009-04-20 Alberto Garcia <agarcia@igalia.com>
889 * examples/hildon-progress-indicator-example.c: Fix example
891 * src/hildon-gtk.c (set_clear_window_flag)
892 (hildon_gtk_window_set_progress_indicator):
893 Create a generic function for setting flags to a window.
894 Use GDK instead of direct Xlib calls.
896 2009-04-14 Alberto Garcia <agarcia@igalia.com>
898 * src/hildon-button.c (hildon_button_set_arrangement):
899 Due to NB#88126, if one of the labels is too long it will be
900 painted outside the button. The 'value' label is more likely to be
901 the longest one, so we change its packing options in order to
902 truncate it if necessary. As a side effect, the 'title' label will
903 no longer be truncated.
905 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
907 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
912 * configure.ac: Bump version.
913 * debian/changelog: Updates.
915 2009-04-13 Alejandro G. Castro <alex@igalia.com>
917 Deprecation of the hildon_pannable_area_set_size_request_policy
918 API, the only policy properly supported in gtk+ nowadays is the
921 * src/hildon-pannable-area.c,
922 (hildon_pannable_area_size_request): Added a workaround for the
923 size_request to avoid the problems of huge pixmaps in case someone
924 is still using the function.
925 * src/hildon-pannable-area.h: Deprecated the enum with the
928 Fixes: NB#110244 (Problems with the
929 hildon_pannable_area_set_size_request_policy API)
931 2009-04-08 Alejandro G. Castro <alex@igalia.com>
933 * src/hildon-pannable-area.c,
934 (hildon_pannable_area_init),
935 (hildon_pannable_area_size_request),
936 (hildon_pannable_area_style_set),
937 (hildon_pannable_draw_vscroll),
938 (hildon_pannable_draw_hscroll),
939 (hildon_pannable_area_check_scrollbars): Replaced area_width with
940 indicator_width to clarify the use of the attribute.
942 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
947 * configure.ac: Bump version.
948 * debian/changelog: Updates.
950 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
952 * src/hildon-picker-dialog.c
953 * src/hildon-touch-selector.c
954 Reverting the change that tried to avoid the hardcoded height on
955 the picker dialog, as causes problems on the hildon-touch-selector
958 Fixes: NB#110029 (selectors not scrolling to selected value)
960 2009-04-07 Alberto Garcia <agarcia@igalia.com>
962 * src/hildon-touch-selector.c: Fix typos
964 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
966 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
967 Use the event coordinates instead of gdk_window_get_pointer(). Also,
968 request more motions after using it.
970 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
972 * src/hildon-calendar.c (hildon_calendar_expose),
973 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
974 Remove unused variables.
976 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
978 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
981 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
983 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
984 Check the return value of gtk_tree_selection_get_selected()
987 2009-04-06 Alberto Garcia <agarcia@igalia.com>
989 * src/hildon-animation-actor.c
990 * src/hildon-button.c
992 * src/hildon-pannable-area.c
993 * src/hildon-picker-button.c
994 * src/hildon-program.c
995 * src/hildon-remote-texture.c
996 * src/hildon-text-view.c
997 * src/hildon-touch-selector.c
998 * src/hildon-window-stack.c
999 * src/hildon-window.c:
1000 Add missing 'Since: 2.2' tags.
1002 * doc/hildon-sections.txt:
1003 Add some missing symbols.
1005 * doc/hildon-docs.sgml:
1006 New 'Other' section for HildonAnimationActor and
1009 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1011 Patch by Iván Gómez (igomez@igalia.com)
1014 * doc/compiling.sgml
1015 * doc/hildon-docs.sgml
1016 * doc/hildon-sections.txt
1017 * doc/migration.sgml
1018 * doc/resources.sgml
1020 New chapters on using the Hildon library.
1021 Updated the general structure of the reference manual.
1022 Other minor documentation fixes.
1024 * src/hildon-calendar-popup.c
1025 * src/hildon-calendar.c
1026 * src/hildon-controlbar.c
1027 * src/hildon-date-editor.c
1028 * src/hildon-dialog.c
1029 * src/hildon-hvolumebar.c
1030 * src/hildon-number-editor.c
1031 * src/hildon-range-editor.c
1032 * src/hildon-sort-dialog.c
1033 * src/hildon-time-editor.c
1034 * src/hildon-time-picker.c
1035 * src/hildon-volumebar-range.c
1036 * src/hildon-volumebar.c
1037 * src/hildon-vvolumebar.c
1038 * src/hildon-weekday-picker.c:
1039 Add deprecation notes
1041 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1042 Document 'horizontal-movement' and 'vertical-movement' signals.
1044 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1049 * configure.ac: Bump version.
1050 * debian/changelog: Updates.
1052 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1054 * src/hildon-pannable-area.c,
1055 (hildon_pannable_area_class_init): increased the minimum velocity.
1056 (hildon_pannable_area_button_release_cb): Updated the
1057 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1058 setup. Review the code to control that last event.
1060 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1063 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1065 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1067 * src/hildon-get-password-dialog.c
1068 (hildon_get_password_set_property),
1069 (hildon_get_password_get_property), (create_contents):
1070 * src/hildon-login-dialog-private.h:
1071 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1072 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1073 (hildon_login_dialog_get_password):
1074 * src/hildon-set-password-dialog-private.h:
1075 * src/hildon-set-password-dialog.c
1076 (hildon_set_password_set_property),
1077 (hildon_set_password_get_property), (create_contents),
1078 (hildon_set_password_response_change),
1079 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1081 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1082 instead and look more Fremantle style.
1084 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1086 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1088 * doc/hildon-sections.txt
1089 * src/hildon-window-stack.h
1090 * src/hildon-window-stack.c
1091 (+hildon_window_stack_get_windows):
1092 New API to obtain the list of windows on a stack.
1094 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1096 * src/hildon-app-menu.c (hildon_app_menu_popup)
1097 (hildon_app_menu_class_init, -hildon_app_menu_show):
1098 Remove hildon_app_menu_show() and move all its checks to
1099 hildon_app_menu_popup()
1101 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1103 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1104 (_hildon_picker_dialog_set_selector): removed call to
1105 gtk_widget_set_size_request
1106 * src/hildon-touch-selector.c
1107 (_create_new_column): change the pannable size request policy
1109 Avoid to use a hardcoded height for the hildon picker dialog. In order
1110 to get that, we needed to change the hildon pannable size request
1112 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1114 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1116 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1117 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1120 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1122 * debian/control: Depend on osso-system-lock localization package.
1123 * src/hildon-code-dialog.c: Obtain the secu_application_title
1124 translation from osso-system-lock.
1125 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1126 for translation the atk related strings, that's not necessary.
1127 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1128 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1129 cancel button, it is not required.
1131 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1133 * src/hildon-pannable-area.c,
1134 (hildon_pannable_area_class_init): Modified the default value of
1135 the overshooting max speed, we have reduced it.
1137 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1139 * doc/hildon-sections.txt
1140 * src/hildon-window-private.h
1141 * src/hildon-window.h
1142 * src/hildon-window.c (hildon_window_class_init)
1143 (hildon_window_init, hildon_window_finalize)
1144 (hildon_window_realize, hildon_window_get_property)
1145 (hildon_window_set_property, hildon_window_update_markup)
1146 (hildon_window_get_markup, hildon_window_set_markup):
1147 New "markup" property and hildon_window_{get,set}_markup() methods.
1149 * examples/hildon-stackable-window-example.c (new_window):
1150 Update example to use hildon_window_set_markup()
1152 Fixes: NB#106375 (Need API to retitle a window with a title
1155 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1157 * src/hildon-pannable-area.c,
1158 (hildon_pannable_area_class_init): Changed the default value of
1159 the initial_hint to TRUE.
1160 (hildon_pannable_area_initial_effect): Changed the initial effect,
1161 not the effect is just the fade-out of the scrollbars.
1163 Fixes: NB#107775 (No scrollbars can be seen when several items are
1164 available in a dialog)
1166 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1168 * src/hildon-program.c (hildon_program_update_top_most):
1171 Fixes: NB#109179 (Memory leak in Hildon program)
1173 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1175 * src/hildon-banner.c (-get_current_app_window):
1176 Remove unused function.
1178 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1180 * src/hildon-pannable-area.c: Modified the documentation of the
1181 get adjustments functions to explain the problem of using the
1182 adjustment directly.
1183 (hildon_pannable_area_class_init): Improved the explanation about
1186 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1188 * src/hildon-app-menu-private.h
1189 * src/hildon-app-menu.c
1190 (hildon_app_menu_class_init):
1191 Bring back the 'external-border' style property
1192 (hildon_app_menu_class_init, hildon_app_menu_init)
1193 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1194 Set a fixed width-request for the menu, independent of the number
1197 Fixes: NB#94957 (Smoothly opened application menu)
1199 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1201 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1203 * src/hildon-banner.c
1204 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1206 Make sure that the banner is correctly placed the first time it's
1208 (hildon_banner_check_position, -check_fullscreen_state):
1209 Show the banner in the same place no matter if the window is in
1210 fullscreen mode or not.
1212 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1214 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1216 * src/hildon-touch-selector.c (_default_print_func): reorder
1217 concatenation for clarity.
1219 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1221 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1222 for multicolumn selectors.
1224 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1226 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1231 * configure.ac: Bump version.
1232 * debian/changelog: Updates.
1234 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1236 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1239 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1241 * configure.ac: removed libcangerra-gtk dependency
1242 * debian/control: removed libcanberra-gtk dependency
1243 * src/Makefile.am: removed libcanberra gtk related flags
1244 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1245 context, and manage a global canberra context instead
1247 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1249 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1251 Patch by Daniel Borgmann (danielb@openismus.com)
1253 * src/hildon-edit-toolbar.c:
1254 Adjust the left padding.
1255 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1256 Paint background of the edit toolbar.
1258 Fixes: NB#107897 (Patch to make editmodetoolbar background
1259 themeable and adjust margin)
1261 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1263 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1265 * src/hildon-program.c (hildon_program_update_top_most):
1266 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1268 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1269 change when the user tasks in/out of an application)
1271 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1273 * configure.ac: added libcangerra-gtk dependency
1274 * debian/control: added libcanberra-gtk dependency
1275 * src/Makefile.am: added libcanberra gtk related flags
1276 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1279 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1281 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1283 * src/hildon-program.c (hildon_program_remove_window)
1284 (hildon_program_add_window): Add checks for the window
1285 parameter. Don't decrease the window counter if the window is not
1288 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1290 * src/hildon-pannable-area.c,
1291 (hildon_pannable_area_realize): Fixed position of the event_window
1292 in the realize method.
1294 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1296 * src/hildon-app-menu-private.h
1297 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1298 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1299 (hildon_app_menu_key_press, hildon_app_menu_init)
1300 (hildon_app_menu_finalize):
1301 Make sure that all idle functions are removed when the widget is
1304 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1306 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1311 * configure.ac: Bump version.
1312 * debian/changelog: Updates.
1314 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1316 * src/hildon-entry.c
1317 (+hildon_entry_show_placeholder),
1318 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1319 that replace hildon_entry_update_contents().
1320 (hildon_entry_set_text),
1321 (hildon_entry_set_placeholder),
1322 (hildon_entry_focus_in_event),
1323 (hildon_entry_focus_out_event): Determine when it is needed
1324 either to show or hide the placeholder and call the above methods.
1326 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1327 when the placeholder text is already set)
1329 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1331 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1332 simple GdkPixbufAnim using the new icons for the banner.
1333 (hildon_banner_show_animation): Use the above mentioned method to
1334 create the animation widget.
1336 Fixes: NB#103564 (Make hildon animation banner use individual
1337 image files as the animation)
1339 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1341 * src/hildon-pannable-area.c,
1342 (hildon_pannable_leave_notify_event): Check if the child is NULL
1343 to avoid sending the leave.
1345 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1347 * src/hildon-pannable-area.c,
1348 (hildon_pannable_area_class_init),
1349 (hildon_pannable_leave_notify_event): Added a handler of the
1350 leave-notify-signal to consider when no motion notify before
1353 Fixes: NB#107494 (Items stay selected when clicking and moving
1354 away when inside pannable area)
1356 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1361 * configure.ac: Bump version.
1362 * debian/changelog: Updates.
1364 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1366 Patch by Alberto Garcia (agarcia@igalia.com)
1368 * src/hildon-date-button.c,
1369 (hildon_date_button_class_init),
1370 (hildon_date_button_init): Removed the construct property handling
1371 and created a default selector in the init method.
1372 * src/hildon-picker-button.c,
1373 (hildon_picker_button_class_init): Removed the construct flag of the
1376 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1378 * src/hildon-main.c (hildon_init):
1379 Don't allow hildon_init() to be called more than once.
1381 Fixes: NB#106607 (hildon_init should issue error message upon
1384 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1386 * examples/hildon-pannable-area-touch-list-example.c
1387 * examples/hildon-pannagle-area-touch-grid-example.c
1388 * examples/hildon-edit-toolbar-example.c
1389 * examples/hildon-touch-selector-multi-cells-example.c
1390 Removed the call to gtk_rc_parse_string, as it is not required since
1393 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1395 * src/hildon-pannable-area.c,
1396 (hildon_pannable_area_class_init): Modified the default panning
1397 threshold of the widget to 6px.
1399 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1400 than the threshold value ) within the button is not sending the
1403 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1405 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1406 for the treeview in the new column. This way, the touch list will never
1409 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1410 be selected manually for the HW keys to work)
1412 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1414 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1415 comparison instead of using strcmp(). Fixes a compiler warning as well.
1417 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1419 * doc/hildon-docs.sgml: Do not set the library version in the
1420 document title, use the releaseinfo tag for that purpose instead.
1422 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1424 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1425 Do not jump to the first item if the text in the entry is removed.
1427 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1432 * configure.ac: Bump version.
1433 * debian/changelog: Updates.
1435 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1437 * src/hildon-entry.c (hildon_entry_refresh_contents):
1438 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1439 Use "ReversedSecondaryTextColor" for the placeholder text.
1441 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1443 * src/hildon-text-view.c: Fix compilation warning.
1445 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1447 * src/hildon-button.c (hildon_button_class_init): Don't make
1448 "title" and "value" construction properties, to prevent them from
1449 overwriting labels set from derived classes.
1451 * src/hildon-picker-button.c
1452 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1453 (hildon_picker_button_class_init): Make touch-selector a
1454 construction property.
1456 * src/hildon-date-button.c (hildon_date_button_class_init)
1457 (+hildon_date_button_constructed): Add a default date selector if
1460 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1462 * src/hildon-touch-selector.c: Small documentation fixes.
1464 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1466 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1468 * src/hildon-entry.c (hildon_entry_refresh_contents),
1469 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1470 widget name, set the logical color directly instead and a boolean
1471 showing_placeholder instead.
1472 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1473 use the widget name here either.
1475 Fixes: NB#105678 (HildonTextView should use logical colours
1476 instead of setting widget name)
1478 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1480 Patch by Daniel Elster (danielk@openismus.com)
1482 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1483 Add user_data parameter.
1484 (hildon_touch_selector_set_print_func_full): New function akin
1485 hildon_touch_selector_set_print_func() but with support for user
1486 data and a destroy callback.
1487 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1488 to clean up the print function user data.
1489 (hildon_touch_selector_class_init): Install dispose function.
1490 (HildonTouchSelectorPrivate::print_user_data),
1491 (HildonTouchSelectorPrivate::print_destroy_func): New private
1493 (hildon_touch_selector_init): Initialize new private members.
1494 (hildon_touch_selector_get_current_text): Pass along user data
1495 to the print function.
1496 (_default_print_func): Add dummy user_data to parameter list.
1497 * hildon-date-selector.c (_custom_print_func): ditto,
1498 * hildon-time-selector.c (_custom_print_func): ditto,
1499 * hildon-touch-selector-entry.c
1500 (hildon_touch_selector_entry_print_func): ditto.
1502 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1504 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1506 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1508 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1510 * src/hildon-pannable-area.c,
1511 (hildon_pannable_area_init),
1512 (hildon_pannable_area_button_press_cb),
1513 (hildon_pannable_area_motion_notify_cb): We have added code to
1514 handle the leave and enter events when using the motion events.
1516 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1518 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1520 * src/hildon-date-button.c (hildon_date_button_get_date)
1521 (hildon_date_button_set_date): Make sure that the button has a
1524 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1526 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1528 * src/hildon-pannable-area.c,
1529 (hildon_pannable_area_class_init),
1530 (hildon_pannable_area_calculate_velocity): Modify the use of the
1531 force and adapt the value.
1533 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1535 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1536 (hildon_app_menu_class_init): Hide the menu if it receives a
1537 delete-event, but don't destroy it
1539 Fixes: NB#104485 (Not able to address the call when application
1540 menu is opened at background)
1542 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1544 * src/hildon-app-menu.c
1545 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1546 Remove the "external-border" style property, let the menu take its
1547 natural size (or the one set by the window manager)
1548 (hildon_app_menu_repack_items):
1549 Don't reshow the menu, avoid flickers.
1551 Partially fixes NB#94957 (Smoothly opened application menu)
1553 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1558 * configure.ac: Bump version.
1559 * debian/changelog: Updates.
1561 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1563 * src/hildon-pannable-area.c,
1564 (hildon_pannable_area_motion_notify_cb): We control that the
1565 direction error margin is used just in case the movement is
1566 allowed in the other direction.
1568 Fixes: NB#105012 (buttons inside a pannable area not getting
1569 release event when dragging/releasing)
1571 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1573 * src/hildon-pannable-area.c,
1574 (hildon_pannable_area_class_init),
1575 (hildon_pannable_area_get_property),
1576 (hildon_pannable_area_set_property),
1577 (hildon_pannable_area_initial_effect),
1578 (hildon_pannable_axis_scroll),
1579 (hildon_pannable_area_button_release_cb): Reviewed the
1580 overshooting effect, now it has its own max
1581 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1582 speed when bouncing.
1584 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1589 * configure.ac: Bump version.
1590 * debian/changelog: Updates.
1592 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1594 * src/hildon-pannable-area.c,
1595 (hildon_pannable_area_class_init): Changed the max speed, now
1596 users can launch the widget very fast. Reduced the default force,
1597 that way it is easier to control the launch speed.
1599 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1601 * src/hildon-pannable-area.c,
1602 (hildon_pannable_area_button_release_cb): Removed this check
1603 because it causes problems when the device is overloaded.
1605 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1607 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1608 add a current_text field to store the text entered in the
1609 touch selector entry.
1610 (_clean_current_selection): clean up the current text as well.
1611 (_save_current_selection), (_restore_current_selection):
1612 Save/restore the text in the entry if the selector is a
1613 HildonTouchSelectorEntry.
1615 Fixes: NB#102541 (value entered in the touch selector entry is not
1616 shown when opened for second time)
1618 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1620 * doc/hildon-sections.txt:
1621 * src/hildon-touch-selector-entry.c
1622 (+hildon_touch_selector_entry_get_entry):
1623 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1625 Fixes: NB#104815 (I need accessor to the entry inside
1626 HildonTouchSelectorEntry)
1628 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1630 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1631 (hildon_app_menu_class_init):
1632 New "filter-vertical-spacing" style property.
1634 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1636 * src/hildon-find-toolbar.c
1637 (hildon_find_toolbar_emit_close)
1638 (hildon_find_toolbar_emit_invalid_input)
1639 (hildon_find_toolbar_entry_activate):
1640 Use g_signal_emit() instead of g_signal_emit_by_name()
1642 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1644 Patch by Mox Soini (ext-mox.soini@nokia.com)
1646 * tests/TEST-CASES.txt
1647 * tests/check-hildon-banner.c
1648 * tests/check-hildon-note.c
1649 * src/hildon-banner.c
1650 * src/hildon-code-dialog.c
1651 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1652 * src/hildon-time-editor.c
1653 * examples/hildon-lookup-example.c (main):
1654 Replace obsolete icon names with new ones.
1656 * src/hildon-find-toolbar-private.h:
1657 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1658 (-hildon_find_toolbar_emit_search):
1659 Remove find button and change icon of close button.
1661 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1663 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1665 * src/hildon-time-button.c (hildon_time_button_new_step):
1666 Use the "touch-selector" property to set the selector directly
1667 when creating the object.
1669 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1671 Added a new example application that allows tuning the pannable
1672 area and replaced defines with properties in order to simplify the
1673 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1674 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1675 PROP_DIRECTION_ERROR_MARGIN.
1677 * examples/hildon-pannable-area-tuning-example.c: New example
1679 * src/hildon-pannable-area.c,
1680 (hildon_pannable_area_class_init),
1681 (hildon_pannable_area_init),
1682 (hildon_pannable_area_get_property),
1683 (hildon_pannable_area_set_property),
1684 (hildon_pannable_area_launch_fade_timeout),
1685 (hildon_pannable_area_adjust_value_changed),
1686 (hildon_pannable_axis_scroll),
1687 (hildon_pannable_area_motion_notify_cb),
1688 (hildon_pannable_area_scroll_cb),
1689 (hildon_pannable_area_button_release_cb): We have converted some
1690 of the defines that control the widget to properties to simplify
1693 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1695 * src/hildon-app-menu.c (hildon_app_menu_map)
1696 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1697 so it's closed if a new window appears.
1699 Fixes: NB#104485 (Not able to address the call when application
1700 menu is opened at background)
1702 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1704 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1705 missing 'break' statement in in 'case' construct to avoid
1708 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1710 * src/hildon-touch-selector-entry.c
1711 (hildon_touch_selector_entry_get_property),
1712 (hildon_touch_selector_entry_set_property): Add missing 'break'
1713 statements in in 'case' constructs to avoid incorrect warnings.
1715 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1717 * src/hildon-time-editor.c
1718 (hildon_time_editor_get_time_separators): Do not crash if
1719 the first label is NULL.
1721 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1723 * src/hildon-date-selector.c (_month_days): Check for month to be
1724 strictly less than 12, since otherwise we may overrun the array.
1726 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1728 * src/hildon-date-button.c (+hildon_date_button_new_full)
1729 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1730 (hildon_date_button_init): Set the date selector using a
1731 construction property, to make it happen after HildonButton's
1732 "value" property is set.
1734 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1735 current date by default)
1737 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1739 * doc/hildon-sections.txt
1740 * src/hildon-program.c
1741 * src/hildon-stackable-window.c
1742 * src/hildon-window.c:
1743 Documentation updates
1745 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1747 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1748 (hildon_window_stack_new, +hildon_window_stack_set_property)
1749 (+hildon_window_stack_get_property)
1750 (hildon_window_stack_class_init)
1751 (+hildon_window_stack_set_window_group)
1752 (+hildon_window_stack_get_window_group):
1753 Make the window group a construction property.
1755 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1757 * doc/hildon-sections.txt
1758 * src/hildon-stackable-window-private.h
1759 * src/hildon-stackable-window.h
1760 * src/hildon-stackable-window.c
1761 (-hildon_stackable_window_set_app_menu)
1762 (-hildon_stackable_window_get_app_menu)
1763 (-hildon_stackable_window_toggle_menu)
1764 (-hildon_stackable_window_finalize)
1765 (hildon_stackable_window_class_init)
1766 (hildon_stackable_window_init)
1767 * src/hildon-window-private.h
1768 * src/hildon-window.h
1769 * src/hildon-window.c (hildon_window_init)
1770 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1771 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1772 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1773 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1774 Moved all HildonAppMenu code to HildonWindow. The menu does not
1775 require a HildonStackableWindow anymore.
1777 * src/hildon-app-menu.c
1778 * src/hildon-program.c
1779 * examples/hildon-app-menu-example.c (main):
1780 Update examples and documentation to reflect HildonAppMenu
1783 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1785 * src/hildon-remote-texture.c
1786 * src/hildon-animation-actor.c:
1787 Don't include unused private headers.
1789 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1791 * src/hildon-program-private.h
1792 * src/hildon-program.c
1793 (hildon_program_set_common_menu)
1794 (hildon_program_get_common_menu)
1795 (hildon_program_set_common_app_menu)
1796 (hildon_program_get_common_app_menu):
1797 Change common menu pointers from GtkWidget* to GtkMenu* and
1798 HildonAppMenu* to avoid unnecessary casts.
1800 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1802 * src/hildon-window.c (hildon_window_set_main_menu):
1803 Removed incorrect 'Since:' tag
1805 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1807 * src/hildon-pannable-area.c,
1808 (hildon_pannable_area_calculate_velocity): We use now the
1809 RATIO_TOLERANCE here to check the distance, fixed typo in the
1811 (hildon_pannable_area_motion_notify_cb): We have to set the type
1812 and time even if we are not sending the motion.
1814 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1816 * doc/hildon-sections.txt
1817 * src/hildon-app-menu.h
1818 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1819 (+hildon_app_menu_get_filters): New methods to get the contents of
1822 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1825 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1827 * src/hildon-app-menu.c (hildon_app_menu_popup):
1830 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1832 * src/hildon-window.h
1833 * src/hildon-window.c (+hildon_window_get_main_menu)
1834 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1835 and deprecated hildon_window_get_menu().
1837 * src/hildon-stackable-window.h
1838 * src/hildon-stackable-window.c
1839 (+hildon_stackable_window_set_app_menu)
1840 (+hildon_stackable_window_get_app_menu)
1841 (hildon_stackable_window_set_main_menu): Created
1842 hildon_stackable_window_{get,set}_app_menu() and deprecated
1843 hildon_stackable_window_set_main_menu().
1845 * doc/hildon-sections.txt
1846 * examples/hildon-app-menu-example.c (main)
1847 * src/hildon-app-menu.c
1848 * src/hildon-program.c:
1849 Updated examples and documentation.
1851 Fixes: NB#103758 (No way to obtain a menu from a
1852 HildonStackableWindow)
1854 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1859 * configure.ac: Bump version.
1860 * debian/changelog: Updates.
1862 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1864 * examples/hildon-remote-texture-example.c: Include
1865 hildon-remote-texture.h explicitely.
1866 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1867 applications not defining _XOPEN_SOURCE which don't require this header.
1869 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1871 * doc/hildon-sections.txt
1872 * src/hildon-app-menu.h
1873 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1874 New function to pop up a HildonAppMenu
1876 * src/hildon-stackable-window.c
1877 (hildon_stackable_window_toggle_menu):
1878 Use hildon_app_menu_popup() to show the menu.
1880 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1882 * src/hildon-app-menu.c (hildon_app_menu_show)
1883 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1884 menu if there's another window between it and its parent window.
1886 Fixes: NB#100468 (Application menu window is launched even when a
1887 new secondary-window/dialog is pending to be shown/realized)
1889 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1891 * src/hildon-window-stack.c (hildon_window_stack_push)
1892 (hildon_window_stack_pop_and_push):
1893 Don't forget to push/pop the first window.
1894 Reverse the window list before calling _push_list()
1896 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1898 * src/hildon-picker-button.h
1899 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1900 Remove "value_changed" slot to avoid ABI breakage
1902 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1904 * src/hildon-pannable-area.c,
1905 (hildon_pannable_area_realize),
1906 (hildon_pannable_area_unrealize),
1907 (hildon_pannable_draw_vscroll),
1908 (hildon_pannable_draw_hscroll): Changed the method to handle the
1909 GC used to draw the transparent scrollbar, this way we avoid
1910 creating the GC all the time when drawing the scrollbars.
1912 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1914 * src/hildon-pannable-area.c,
1915 (hildon_pannable_area_init),
1916 (hildon_pannable_area_remove): Removed some unnecessary casts.
1917 (hildon_pannable_area_dispose): Disconnected some signals before
1918 releasing the adjustments.
1920 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1922 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1923 Make sure that all widgets contained in the toolbar are shown.
1925 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1927 * doc/hildon-sections.txt
1928 * src/hildon-picker-button.h
1929 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1930 (_selection_changed, hildon_picker_button_on_dialog_response)
1931 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1932 New hildon_picker_button_value_changed() method.
1935 * src/hildon-picker-button-private.h
1936 * src/hildon-picker-button.c (hildon_picker_button_init)
1937 (+hildon_picker_button_disable_value_changed): Add protected
1938 function for disabling the "value-changed" signal.
1940 * src/hildon-date-button.c (hildon_date_button_set_date):
1941 Don't emit "value-changed" for each one of the three columns.
1943 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1944 before actual change of values)
1946 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1948 * src/hildon-pannable-area.c,
1949 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1950 for the treeview overshooting.
1952 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1954 * src/hildon-banner.c (+hildon_banner_bind_style):
1955 Renamed from hildon_banner_bind_label_style(), now naming the
1956 banner itself as well.
1957 (hildon_banner_show_information),
1958 (hildon_banner_show_information_with_markup),
1959 (hildon_banner_show_animation), (hildon_banner_show_progress):
1960 Name the widgets and labels, based on their type.
1962 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1965 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1967 * src/hildon-note.c (hildon_note_set_property): call
1968 hildon_note_rename() on HildonNote:note-type set.
1969 (hildon_note_rename): Name the note and its label, based on the
1970 HildonNote:note-type property.
1972 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1975 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1977 * src/hildon-pannable-area.c,
1978 (hildon_pannable_area_class_init),
1979 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1980 panning parameters, increased SPS and deceleration factor. Added
1981 also a margin to control fake directions.
1983 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1985 Patch by Sven Herzberg (sven@imendio.com)
1987 * configure.ac: Add missing AM_PROG_CC_C_0
1988 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1990 See NB#101420 (Update unit tests and fix make check)
1992 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1994 This patch was applied before but reverted because it caused
1995 problems, we have changed the main condition and tested the
1996 regressions we detected before and they work ok. We have done a
1997 complete review of the topmost algorithm in order to get a more
2000 * src/hildon-pannable-area.c,
2001 (hildon_pannable_area_get_topmost): Added a new parameter to
2002 filter the the windows that do not include those events.
2003 (hildon_pannable_area_button_press_cb),
2004 (hildon_pannable_area_button_release_cb),
2005 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2006 topmost function, we have added the new parameter.
2008 Fixes: NB#97458 (Pannable area prevents propagation of button
2011 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2013 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2014 if all columns in the selector have an item selected.
2015 (_on_dialog_response): Stop "response" signal emission if there is
2016 any selector column without selected items.
2018 Fixes: NB#101889 (Picker dialog should not close when nothing is
2019 selected in multiple selection list)
2021 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2023 * src/hildon-font-selection-dialog.c
2024 (hildon_font_selection_dialog_class_init),
2025 (hildon_font_selection_dialog_init): Remove the preview
2026 button and dialog, since previewing with default theming is likely
2027 to be overcomplicated. The :preview property has now no effect.
2028 Update documentation blurbs to inform about this.
2030 Fixes: NB#92297 (Preview content is not clearly visible for
2031 default colour text)
2033 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2035 Reviewed the geometry that handles the children size and
2036 scrollbar, now it tries a size and reviews the results depending
2037 on the scrollbars visibility.
2039 * src/hildon-pannable-area.c,
2040 (hildon_pannable_area_realize): Fixed a typo.
2041 (hildon_pannable_area_child_allocate_calculate): Added this
2042 function to calculate the child allocation.
2043 (hildon_pannable_area_size_allocate): Reviewed the allocation
2045 (hildon_pannable_area_check_scrollbars),
2046 (hildon_pannable_area_refresh): Refactored refresh function, this
2047 way we can call the code handling the scrollbars without causing a
2048 size_request, it is interesting in the allocate.
2049 (hildon_pannable_area_init): Replace the callbacks of the
2050 value_changed and changed signals to propertly deal with the
2052 (hildon_pannable_area_grab_notify),
2053 (hildon_pannable_area_initial_effect),
2054 (hildon_pannable_area_launch_fade_timeout),
2055 (hildon_pannable_area_adjust_changed),
2056 (hildon_pannable_area_adjust_value_changed),
2057 (hildon_pannable_area_redraw),
2058 (hildon_pannable_area_button_press_cb),
2059 (hildon_pannable_area_button_release_cb),
2060 (hildon_pannable_area_scroll_cb),
2061 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2062 code and use the new functions adjust_changed and
2063 adjust_value_changed.
2065 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2066 Contact editor dialog)
2068 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2073 * configure.ac: Bump version.
2074 * debian/changelog: Updates.
2076 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2078 * src/hildon-pannable-area.c,
2079 (hildon_pannable_area_get_topmost),
2080 (hildon_pannable_area_button_press_cb),
2081 (hildon_pannable_area_button_release_cb),
2082 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2083 topmost function adding the event mask. We have to try a
2084 differente approach because it is still causing problems (NB#9745,
2087 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2089 * src/hildon-banner.c:
2090 Update the maximum width of timed banners.
2091 (force_to_wrap_truncated): Enforce the maximum text width if the
2094 Fixes: NB#102413 (The text margins (wrapping) in information
2095 banner should be HILDON_MARGIN_TRIPLE)
2097 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2099 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2101 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2102 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2103 bound when calculating the scroll indicator position.
2105 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2106 treat ->lower correctly)
2108 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2110 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2111 expose event handling, since it is not necessary to draw the focus
2114 Fixes: NB#102467 (Do not show highlight on the text in
2117 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2119 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2120 full height of the toolbar for the button and the label.
2122 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2124 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2125 padding before the label and after the button.
2127 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2129 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2131 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2132 Add a GtkVSeparator between the button and the back arrow.
2133 Let the button have automatic size.
2134 Set a name to the widget for theming handling.
2136 Fixes: NB#101793 (Make edit toolbar the same height as window
2137 title bar (use title area theming))
2139 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2141 * src/hildon-helper.c (attach_new_color_element): Fix memory
2144 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2146 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2148 * examples/hildon-button-example.c (common_buttons_window): Don't
2151 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2153 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2154 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2156 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2158 * src/hildon-gtk.c: Check that the window is realized.
2160 Fixes: NB#102225 (Crash setting the progress indicator to a non
2163 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2165 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2166 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2167 instead of modifying the one in the widget style.
2169 Fixes: NB#101043 (Second row of all the command button are
2170 displayed in transparent mode.)
2172 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2174 * src/hildon-date-button.c
2175 * src/hildon-time-button.c: Add gettext macros
2177 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2179 * src/hildon-date-button.c (hildon_date_button_new):
2180 * src/hildon-time-button.c (hildon_time_button_new_step):
2181 Use new logical strings to set the button default title.
2183 Fixes: NB#99915 (Date and Time options are not localised in Date
2186 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2188 * src/hildon-pannable-area.c
2189 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2190 the PANNING_THRESHOLD.
2192 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2194 * src/hildon-pannable-area.c,
2195 (hildon_pannable_area_class_init): Increased the maximum speed.
2196 (hildon_pannable_area_get_property),
2197 (hildon_pannable_area_set_property),
2198 (hildon_pannable_area_timeout): Added a new low friction mode, it
2199 allows the user avoid friction when launching the widget fast
2200 enough. It is interesting to traverse long lists.
2202 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2204 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2205 (+hildon_stackable_window_delete_event): Ignore delete events if
2206 the window is not the topmost one.
2208 Fixes: NB#101698 (Back button long press and delete-event handling)
2210 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2212 * src/hildon-pannable-area.c,
2213 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2214 gtk-dnd-drag-threshold, it was too big. We have defined our own
2215 dnd define and set a smaller value: PANNIG_THRESHOLD.
2217 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2219 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2220 user-defined icons, use always the default one.
2222 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2224 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2226 This patch was applied before but reverted because it caused
2227 problems, we have changed the main condition and tested the
2228 regressions we detected before and they work ok.
2230 * src/hildon-pannable-area.c,
2231 (hildon_pannable_area_get_topmost): Added a new parameter to
2232 filter the the windows that do not include those events. Added
2233 also a condition when finding the window to filter windows that do
2234 not ask for those events.
2235 (hildon_pannable_area_button_press_cb),
2236 (hildon_pannable_area_button_release_cb),
2237 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2238 topmost function, we have added the new parameter.
2240 Fixes: NB#97458 (Pannable area prevents propagation of button
2243 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2245 * tests/check-hildon-color-button.c (START_TEST): do not leak
2248 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2250 * src/hildon-font-selection-dialog.c
2251 (hildon_font_selection_dialog_get_preview_text): Return NULL
2252 instead of FALSE on the g_return_val_if_fail().
2254 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2256 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2257 * src/hildon-date-selector.c
2258 (hildon_date_selector_select_current_date):
2259 Do not compare unsigned integers to be greater than or equal 0,
2260 because it's always TRUE.
2262 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2264 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2265 (hildon_date_selector_constructor): Do not select the current
2266 date until we are handle the "changed" signal, to avoid having bogus
2267 elements in the days model.
2269 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2271 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2272 for num_days, since _month_days() can return a negative value.
2274 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2276 * src/hildon-caption.c (hildon_caption_size_allocate):
2277 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2278 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2280 Initialize allocation variables to 0, to avoid eventually using
2281 unitialized variables.
2283 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2285 * src/hildon-bread-crumb-trail.c
2286 (hildon_bread_crumb_trail_size_allocate):
2287 * src/hildon-calendar.c (hildon_calendar_set_background):
2288 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2289 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2290 * src/hildon-seekbar.c (hildon_seekbar_init):
2291 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2292 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2293 * src/hildon-touch-selector-entry.c
2294 (hildon_touch_selector_get_text_from_model):
2295 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2296 * src/hildon-window.c (hildon_window_finalize):
2298 Remove many unused variables.
2300 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2302 * src/hildon-seekbar.c: (hildon_seekbar_init),
2303 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2305 Remove unnecessary g_assert() calls.
2307 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2309 * src/hildon-caption.c: (hildon_caption_expose),
2310 (hildon_caption_set_property), (hildon_caption_init),
2311 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2312 (hildon_caption_size_request), (hildon_caption_size_allocate),
2313 (hildon_caption_forall), (hildon_caption_set_separator),
2314 (hildon_caption_activate), (hildon_caption_set_child_expand),
2315 (hildon_caption_set_label_text),
2316 (hildon_caption_get_label_alignment):
2318 Remove unnecessary g_assert() calls.
2320 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2322 * src/hildon-banner.c
2323 (hildon_banner_map, hildon_banner_init): Make banner temporary
2324 before mapping it to avoid closing other temporary windows, but
2325 make it non-temporary afterwards to avoid being closed by other
2326 non-temporary windows.
2327 (-hildon_banner_client_event, hildon_banner_init):
2328 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2330 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2333 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2335 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2338 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2340 * src/hildon-remote-texture.c
2341 * src/hildon-remote-texture.h
2342 * src/hildon-remote-texture-private.h
2343 * examples/hildon-remote-texture-example.c:
2344 Updates/fixes to remote-texture and its example.
2346 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2348 Patch by Mox Soini (ext-mox.soini@nokia.com)
2350 * src/hildon-code-dialog.c: Update logical id.
2351 * src/hildon-set-password-dialog.c: Update logical id.
2353 Fixes: NB#100646 (Logical strings is shown for ok in set
2354 password,Password needed dialogs)
2356 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2359 * src/hildon-remote-texture.c
2360 * src/hildon-remote-texture.h
2361 * src/hildon-remote-texture-private.h
2363 Added remote texture widget (for Clutter shared memory textures)
2365 * examples/hildon-remote-texture-example.c
2366 * examples/Makefile.am
2367 Added example file for remote texture usage
2369 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2371 * configure.ac: post release version bump.
2372 * debian/changelog: version bump.
2374 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2379 * configure.ac: Bump version.
2380 * debian/changelog: Updates.
2382 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2384 * src/hildon-date-selector.c (hildon_date_selector_init)
2385 (hildon_date_selector_constructor): Don't connect to the "changed"
2386 signal until the selector is completely constructed.
2388 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2390 * src/hildon-touch-selector.c: (_create_new_column),
2391 (hildon_touch_selector_append_column),
2392 (hildon_touch_selector_set_column_selection_mode),
2393 (hildon_touch_selector_set_active),
2394 (hildon_touch_selector_select_iter):
2395 Emit the HildonTouchSelector::changed signal every time selection
2396 is changed in any of the methods above. This behavior was already
2397 documented but not fully functional.
2399 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2400 selection is programmatically changed)
2402 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2404 * doc/hildon-sections.txt: Remove obsolete icon
2405 sizes from here as well.
2407 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2409 * examples/hildon-stackable-window-example.c (add_window): Remove
2412 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2414 * src/hildon-app-menu.c
2415 (hildon_app_menu_show): Check whether the parent window of a menu
2416 is topmost before popping it up.
2418 Fixes: NB#100468 (Application menu window is launched even when a
2419 new secondary-window/dialog is pending to be shown/realized.)
2421 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2423 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2426 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2428 Patch by Mox Soini (ext-mox.soini@nokia.com)
2430 * src/hildon-banner.c: (hildon_banner_show_animation):
2431 use stylus size instead of obsolete note size.
2432 * src/hildon-defines.h: Update icon sizes.
2434 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2436 * src/hildon-touch-selector-entry.c:
2437 (hildon_touch_selector_entry_init): Disable unsupported
2439 (hildon_touch_selector_entry_get_text_column): Emit a warning
2440 if an unsupported input modes is used and explicitile state
2441 these modes in the documentation.
2443 Fixes: NB#99802 (Hildon touch selector entry not working properly
2444 for some of the input modes)
2446 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2448 * src/hildon-pannable-area.c,
2449 (hildon_pannable_area_init): Added the changed signal handlers of
2452 Fixes: NB#100320 (HildonPannableArea does not listen to
2453 GtkAdjustment "change" signals)
2455 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2457 * doc/hildon-sections.txt
2458 * src/hildon-window-private.h
2459 * src/hildon-window.h
2460 * src/hildon-window.c (hildon_window_init)
2461 (hildon_window_realize, hildon_window_unrealize)
2462 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2463 (hildon_window_size_request, hildon_window_size_allocate)
2464 (hildon_window_forall, hildon_window_show_all)
2465 (hildon_window_destroy, +paint_edit_toolbar)
2466 (+hildon_window_set_edit_toolbar):
2467 New hildon_window_set_edit_toolbar() method, to add a
2468 HildonEditToolbar to a window without having to pack it manually.
2470 Reorganize hildon_window_size_allocate()
2472 * src/hildon-edit-toolbar.c: Update documentation.
2474 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2475 example to use the new API.
2477 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2479 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2481 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2482 Remove from stack before calling parent's hide.
2484 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2486 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2487 window is removed from the middle of the stack, update the
2488 transiency of the previous one.
2490 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2493 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2495 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2496 block/unblock the signal handler if it's not actually being used.
2497 Fixes some critical warnings.
2499 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2501 Based on a patch by Iván Gómez (igomez@igalia.com)
2503 * src/hildon-banner.c
2507 * src/hildon-pannable-area.c
2508 * src/hildon-picker-dialog.c
2509 * src/hildon-wizard-dialog.h
2510 * src/hildon-wizard-dialog.c: Documentation updates.
2512 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2513 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2515 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2517 * configure.ac: post release version bump.
2518 * debian/changelog: version bump.
2520 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2525 * configure.ac: Bump version.
2526 * debian/changelog: Updates.
2528 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2530 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2531 a stock icon nor change the relief of the back arrow.
2533 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2534 graphics from theme)
2536 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2538 * src/hildon-button.c (hildon_button_set_alignment): Use
2539 priv->alignment if the button has no child yet.
2541 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2543 * src/hildon-button.c: (hildon_button_init): Set the
2544 button style during initialization to give it the proper
2547 Fixes: NB#99713 (HildonButton value label color is wrong)
2549 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2551 * src/hildon-touch-selector.c: Document
2552 hildon_touch_selector_center_on_selected()
2554 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2556 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2557 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2558 all menu items, but not the menu itself.
2559 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2560 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2561 items after adding them to the menu so keyboard accelerators work.
2562 (hildon_app_menu_show): Don't show the menu if it contains items
2563 but none of them are visible.
2565 * examples/hildon-app-menu-example.c (create_menu): Use
2566 gtk_widget_show_all() to show all menu items.
2568 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2570 * src/hildon-picker-dialog.c:
2571 (-_update_title_on_selector_changed_cb),
2572 (-_dialog_update_title): Removed.
2573 (_select_on_selector_changed_cb), (_on_dialog_response),
2574 (on_selector_columns_changed): Do not update the dialog title.
2575 (setup_interaction_mode): Do not connect to
2576 HildonTouchSelector::changed signal if there's a "done" button, as
2577 the dialog title doesn't need to be updated.
2579 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2582 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2584 Patch by Kristian Rietveld (kris@imendio.com)
2586 * src/hildon-touch-selector.c: (_create_new_column): Use new
2587 GtkTreeView::hildon-row-tapped signal to react to user interactions
2588 instead of ::changed.
2590 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2591 with some dynamic tree model)
2593 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2595 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2596 (+screen_size_changed, +label_size_request)
2597 (hildon_note_class_init): Make the Hildon information note have a
2598 minimum height, and make its text hvae a maximum width.
2600 Fixes: NB#98614 (Hildon information note (background) should have
2601 minimum height and maximum text width)
2603 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2605 * src/hildon-banner.h
2606 * src/hildon-banner.c (hildon_banner_show_information)
2607 (hildon_banner_show_informationf)
2608 (hildon_banner_show_information_with_markup): Update documentation
2609 to reflect that the icon_name parameter is not used anymore.
2610 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2611 Remove all code from these functions and mark them as deprecated.
2612 (hildon_banner_show_progress): Mark as deprecated.
2614 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2616 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2618 * src/hildon-pannable-area.c,
2619 (hildon_pannable_area_class_init),
2620 (tranparency_color),
2621 (hildon_pannable_draw_vscroll),
2622 (hildon_pannable_draw_hscroll),
2623 (hildon_pannable_area_expose_event): Added a new way to render the
2624 scrollbars of the pannable area avoiding using cairo at all. This
2625 way we improve the performance of the pannable area rendering. The
2626 cairo rendering procedure is still in the code, we can control
2627 which one to use changing the value of the define
2628 USE_CAIRO_SCROLLBARS.
2630 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2632 * configure.ac: post release version bump.
2633 * debian/changelog: version bump.
2635 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2640 * configure.ac: Bump version.
2641 * debian/changelog: Updates.
2643 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2645 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2646 banners instead of destroying them when they receive a button
2649 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2651 Reverted commit 34028, it was causing regressions, probably the
2652 topmost condition is not correct, we have to check it in more
2653 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2654 propagation of button press events)
2656 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2658 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2659 that the selection is not empty before attempting to retrieve the
2660 current ampm selection.
2662 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2664 * src/hildon-picker-button.c:
2665 (hildon_picker_button_on_dialog_response): Directly update the
2666 button contents when required instead of calling _selection_changed.
2668 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2670 * src/hildon-program.c (hildon_program_update_top_most): Update
2671 'is-topmost' property also when wm_hints is not set.
2673 Fixes: NB#98383 (is-topmost signal is not emitted when task
2674 switcher is clicked.)
2676 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2678 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2682 * src/hildon-animation-actor.c,
2683 * src/hildon-animation-actor.h: Added the animation actor class,
2684 this widget represents an animation actor for WM-assisted
2685 animation effects in the Hildon framework.
2687 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2689 * src/hildon-window-stack-private.h
2690 * src/hildon-window-stack.c
2691 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2692 Avoid calling gtk_widget_show() again indirectly from
2693 hildon_stackable_window_show()
2695 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2697 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2700 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2702 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2703 (hildon_time_selector_init): Move the construction of the hours and
2704 ampm columns to the constructor to preserve the order the columns
2707 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2709 * src/hildon-picker-dialog.c:
2710 (hildon_picker_dialog_class_init): Connect a realize method.
2711 (+hildon_picker_dialog_realize): Setup the interaction mode here
2713 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2714 yet, do it during the realize instead.
2715 (_on_dialog_response):
2716 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2717 if the widget is not realized, to avoid the dialog response before it
2720 Avoid premature responses in the HildonPickerDialog that can cause it
2721 to be hidden before it's even shown.
2723 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2725 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2726 (on_selector_columns_changed), (requires_done_button),
2727 (+prepare_action_area), (setup_interaction_mode),
2728 (_hildon_picker_dialog_set_selector):
2730 Split the interaction mode setup into preparation of the
2731 action area (prepare_action_area()) and the connection of
2732 the signals in setup_interaction_mode() and update the code to
2735 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2737 * src/hildon-pannable-area.c,
2738 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2739 per second to 15, we will check if this is ok regarding
2742 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2744 * src/hildon-pannable-area.c,
2745 (hildon_pannable_axis_scroll): Avoid resize if we already have
2746 reached overshoot_max.
2748 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2750 * src/hildon-pannable-area.c,
2751 (hildon_pannable_area_init),
2752 (hildon_pannable_area_realize),
2753 (hildon_pannable_area_size_allocate),
2754 (hildon_pannable_area_map),
2755 (hildon_pannable_area_unmap),
2756 (hildon_pannable_draw_vscroll),
2757 (hildon_pannable_draw_hscroll),
2758 (hildon_pannable_area_expose_event),
2759 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2760 pannable are to avoid the expose events go to the window and
2761 redraw the window. We save this way that part of the stack and the
2762 paint_boxes. We had to change the positions of the elements when
2765 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2767 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2768 * src/hildon-color-chooser-dialog.c:
2769 (hildon_color_chooser_dialog_init):
2770 * src/hildon-font-selection-dialog.c:
2771 (hildon_font_selection_dialog_init),
2772 (hildon_font_selection_dialog_show_preview):
2773 * src/hildon-get-password-dialog.c:
2774 * src/hildon-login-dialog.c:
2775 * src/hildon-set-password-dialog.c:
2776 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2777 * src/hildon-time-picker.c: (hildon_time_picker_init):
2779 Remove obsolete logical string IDs and update to the appropriate ones.
2781 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2783 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2785 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2786 that happens if the window hasn't been realized yet.
2788 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2789 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2791 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2793 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2794 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2797 Fixes: NB#98537 (Device hangs in account settings dialog)
2799 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2801 * configure.ac: post release version bump.
2802 * debian/changelog: version bump
2804 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2809 * configure.ac: Bump version.
2810 * debian/changelog: Updates.
2812 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2814 Added a new function to the HildonTimeButton widget that allows to
2815 change the step of the minutes in the selector associated with the
2816 button: hildon_time_button_new_step
2818 * src/hildon-time-button.c,
2819 (hildon_time_button_init),
2820 (hildon_time_button_new),
2821 (hildon_time_button_new_step):
2822 * src/hildon-time-button.h: Added the new function and refactored
2824 * examples/hildon-time-button-example.c,
2825 (main): We have replaced the function without parameters with the
2826 function with the steps set to 5
2828 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2830 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2832 * src/hildon-time-selector.c,
2833 (hildon_time_selector_class_init),
2834 (hildon_time_selector_constructor),
2835 (hildon_time_selector_get_property),
2836 (hildon_time_selector_set_property),
2837 (_create_minutes_model),
2838 (hildon_time_selector_new_step),
2839 (hildon_time_selector_set_time),
2840 * src/hildon-time-selector.h: Added a new property to the
2841 HildonTimeSelector (minutes-step), we use that property to control
2842 the steps between the minutes in the list of the selector. We have
2843 added a new function to the API to create a widget changing the
2844 step: hildon_time_selector_new_step.
2846 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2848 * src/hildon-time-selector.c,
2849 (hildon_time_selector_class_init),
2850 (hildon_time_selector_constructor),
2851 (hildon_time_selector_init): Overrided the construct function when
2852 creating the time selector object. We have moved the minutes model
2853 handling code from the init to the new construction function:
2854 hildon_time_selector_constructor.
2856 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2858 * examples/hildon-date-button-example.c: (main): Use the new
2859 hildon_date_button_new_with_year_range() method in the example.
2860 * src/hildon-date-button.c:
2861 (+hildon_date_button_new_with_year_range): New public method
2862 to conveniently create a HildonDateButton with a custom year range
2863 in its HildonDateSelector.
2864 * src/hildon-date-button.h: Add the new public method definition.
2866 Fixes: NB#97908 (Not possible to change the year range in
2867 HildonDateSelector/HildonDateButton)
2869 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2871 * src/hildon-date-selector.c:
2872 (+hildon_date_selector_set_property),
2873 (+hildon_date_selector_get_property),
2874 (hildon_date_selector_class_init): Install new properties "min-year"
2875 and "max-year" to define boundaries for the year column.
2876 (_create_year_model): Use the boundary properties to populate the model.
2877 (+hildon_date_selector_new_with_year_range): New public method to
2878 create a HildonDateSelector with a user defined year range.
2879 (hildon_date_selector_select_current_date): Use the new boundaries to
2880 calculate the iterator of current year.
2881 * src/hildon-date-selector.h: Add the new public method definition.
2883 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2885 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2886 Install a constructor method.
2887 (+hildon_date_selector_construct_ui): construct the widget.
2888 (+hildon_date_selector_constructor): new constructor.
2889 (+hildon_date_selector_init): move out widget construction code to
2890 the new constructor.
2892 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2894 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2895 that there's actually a month or year selected before obtaining them.
2896 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2897 of the HildonTouchSelector::changed signal, as it was emitted on every
2898 single item selection.
2900 Fix some warnings and possible crashers due to the selection restoring.
2902 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2904 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2905 the signal handlers only after creating the dialog instead of on every
2908 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2910 * src/hildon-button.c (hildon_button_init)
2911 * src/hildon-check-button.c (hildon_check_button_init)
2912 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2913 focus when clicked by default.
2915 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2917 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2920 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2922 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2923 Alejandro G. Castro (alex@igalia.com)
2925 * src/hildon-picker-dialog.c:
2926 (hildon_picker_dialog_class_init): install new "center-on-show"
2928 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2929 (hildon_picker_dialog_set_property): add setter code for the new
2931 (hildon_picker_dialog_get_property): add getter code for the new
2933 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2934 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2937 Fixes: NB#92849 (Selected item is not always visible when
2938 HildonTouchSelector is shown)
2940 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2942 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2943 Alejandro G. Castro (alex@igalia.com)
2945 * src/hildon-touch-selector.c:
2946 (_create_new_column): Do not connect to the "realize" signal of the
2948 (hildon_touch_selector_append_column): center on the selected items
2949 when a new column is appended.
2950 (hildon_touch_selector_select_iter): Factor out the code to select a
2951 column to hildon_touch_selector_scroll_to().
2952 (+search_nearest_element): Method to retrieve the nearest selected
2953 element to the visible area of the pannable area in a column.
2954 (+on_realize_cb): scroll to the initially selected item.
2955 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2956 the pannable area is realized, otherwise delay this until it is.
2957 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2958 selected items of a given column.
2959 (+hildon_touch_selector_center_on_selected): Public method to center
2960 all columns on the nearest selected item.
2961 * src/hildon-touch-selector.h: Add definition for
2962 hildon_touch_selector_center_on_selected().
2964 Implement public API to ensure visibility of all selected items in
2965 a HildonTouchSelector.
2967 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2969 Fixed a problem in the fading when calling the scroll_to API, and
2970 improve scrollbar fading handling.
2972 * src/hildon-pannable-area.c,
2973 (hildon_pannable_area_grab_notify): avoid the timeout when the
2975 (hildon_pannable_area_button_press_cb),
2976 (hildon_pannable_area_motion_notify_cb): Code style changes.
2977 (hildon_pannable_area_button_release_cb): Review the conditions
2978 when releasing the mouse button to avoid unrequired fading
2980 (hildon_pannable_area_scroll_to): Do not calculate and set the
2981 velocity if the scroll is not required.
2983 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2985 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2986 Don't check whether the new selector is NULL: it cannot be.
2987 Hold a reference to the selector while doing the replacement.
2989 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2991 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2992 unnecessary size_request in a removed widget.
2994 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2996 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2997 an unnecessary reference tracking that was leaking.
2999 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3001 Added delayed motion notify event handling, this way we can
3002 discard redrawing if more than 25 events arrive per second.
3004 * src/hildon-pannable-area.c,
3005 (hildon_pannable_area_init): Initialized the new private atributes
3006 controlling this timeout
3007 (hildon_pannable_area_dispose): Remove the timeout that controls
3008 the motion notify events.
3009 (hildon_pannable_area_scroll): Added a condition to control the
3010 use of the acceleration.
3011 (hildon_pannable_area_motion_event_scroll_timeout),
3012 (hildon_pannable_area_motion_event_scroll): Added this two
3013 functions, they handle the motion notify events inside the
3015 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3016 to the scroll method with the new function.
3017 (hildon_pannable_area_button_release_cb): We have to remove the
3018 timeout handler and move to the last position if the last motion
3019 events were not handled.
3021 Fixes: NB#97028 (Pannable area updates on every motion event)
3023 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3025 * src/hildon-pannable-area.c,
3026 (hildon_pannable_area_get_topmost): Added a new parameter to
3027 filter the the windows that do not include those events. Added
3028 also a condition when finding the window to filter windows that do
3029 not ask for those events.
3030 (hildon_pannable_area_button_press_cb),
3031 (hildon_pannable_area_button_release_cb),
3032 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3033 topmost function, we have added the new parameter.
3035 Fixes: NB#97458 (Pannable area prevents propagation of button
3038 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3040 * src/hildon-pannable-area.c,
3041 (hildon_pannable_area_initial_effect): Added controls before
3042 launching the timeout and the idle functions.
3043 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3044 of the method, in some situations it can return with TRUE and 0 in
3046 (hildon_pannable_area_button_press_cb): We do not need to set
3047 DELAY for fading out here.
3049 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3051 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3053 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3054 post-cleaning if the selection is not NULL.
3056 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3058 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3059 all items before restoring the selection.
3061 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3063 * src/hildon-touch-selector.c:
3064 (+hildon_touch_selector_unselect_all):
3065 * src/hildon-touch-selector.h: New API to unselect all items in a
3066 column of the touch selector.
3068 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3070 * src/hildon-pannable-area.c,
3071 (hildon_pannable_area_redraw): Added a call to the refresh
3072 function inside the redraw because apparently in some cases the
3073 change in the adjustment does not imply a size allocate.
3075 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3076 despite the view not being scrollable)
3078 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3080 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3081 leak. Check for NULL before attempting to set the window title.
3083 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3085 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3086 whether to show or not the 'Done' button each time the dialog is
3087 shown, as it depends on the HildonTouchSelector selection mode.
3089 Fixes: NB#96226 (In multiple selection mode Done button is shown
3090 sometimes in listpicker)
3092 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3094 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3095 for the number of columns in the HildonTouchSelector more than once.
3097 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3099 * src/hildon-touch-selector.c: Minor documentation fixes.
3101 * src/hildon-picker-dialog.c (+_dialog_update_title)
3102 (_select_on_selector_changed_cb)
3103 (_update_title_on_selector_changed_cb)
3104 (on_selector_columns_changed): Update dialog title when there's no
3105 'Done' button and also when the number of columns in the selector
3109 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3110 (+_selection_changed, hildon_picker_button_on_dialog_response)
3111 (hildon_picker_button_selector_selection_changed)
3112 (+hildon_picker_button_selector_columns_changed)
3113 (hildon_picker_button_set_selector): Update button value and emit
3114 'value-changed' when the number of columns in the selector
3118 Fixes: NB#96225 (Dialog titles are not shown according to the
3119 values selected in the list picker)
3121 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3123 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3124 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3125 New "arrow-width" and "arrow-height" style properties to set the
3126 size of the arrow button.
3127 Set name of arrow button ("hildon-edit-toolbar-arrow").
3129 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3130 graphics from theme)
3132 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3134 * src/hildon-picker-button.c:
3135 (hildon_picker_button_selector_selection_changed): Use
3136 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3137 the dialog is present.
3139 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3140 the selection is accepted in the dialog)
3142 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3144 * src/hildon-color-chooser.h
3145 * src/hildon-color-chooser-dialog.h:
3146 Added G_BEGIN_DECLS and G_END_DECLS
3148 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3150 (_clean_current_selection): plug a leak in the list.
3152 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3154 * src/hildon-picker-dialog.c:
3155 (+free_path_list): Method to free a GList of GtkTreePaths.
3156 (_clean_current_selection), (_save_current_selection),
3157 (_restore_current_selection): Save the current selection in
3158 as a list of lists, to support multiple selection properly.
3160 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3162 patch by Claudio Saavedra (csaavedra@igalia.com)
3164 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3165 Store the press position.
3166 (+hildon_text_view_button_release_event): If the release position is
3167 close enough to the press position, move the cursor here. Otherwise,
3169 (hildon_text_view_class_init): Override GtkTextView press, release, and
3170 motion event handlers, disabling this way text selection through
3171 pointer interaction, and allowing the container widget to handle the
3174 Fixes: NB#95828 (HildonTextView functionality)
3176 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3178 Based on a patch by Iván Gómez (igomez@igalia.com)
3180 * src/hildon-button.[ch]
3181 * src/hildon-calendar.c
3182 * src/hildon-check-button.c
3183 * src/hildon-date-editor.c
3184 * src/hildon-date-selector.c
3185 * src/hildon-picker-button.c
3186 * src/hildon-time-editor.c
3187 * src/hildon-time-selector.c
3188 * src/hildon-touch-selector.[ch]:
3189 Documentation updates
3191 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3193 * src/hildon-pannable-area.c,
3194 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3195 threshold, it was required due to X events handling.
3197 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3199 * src/hildon-pannable-area.c,
3200 (hildon_pannable_area_grab_notify),
3201 (hildon_pannable_area_initial_effect),
3202 (hildon_pannable_area_button_press_cb),
3203 (hildon_pannable_area_button_release_cb),
3204 (hildon_pannable_area_scroll_cb),
3205 (hildon_pannable_area_scroll_to): Review the timeout management of
3206 the scrollbar, the frecuency was incorrectly set.
3208 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3210 * src/hildon-picker-button.c:
3211 (+hildon_picker_button_on_dialog_response),
3212 (hildon_picker_button_clicked): Present the dialog instead of
3213 running it with gtk_dialog_run().
3215 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3218 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3220 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3221 (hildon_app_menu_finalize): When a window is hidden it doesn't
3222 emit notify::is-topmost, so make sure than the menu also
3223 disappears in that case.
3224 (parent_window_topmost_notify): Renamed from parent_window_hidden
3226 Fixes: NB#94460 (stackable window's menu is not closed when its
3229 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3231 * src/hildon-touch-selector-entry.c:
3232 (+hildon_touch_selector_entry_set_input_mode),
3233 (+hildon_touch_selector_entry_get_input_mode):
3234 * src/hildon-touch-selector-entry.h: New methods to access the input
3235 mode in the selector's entry.
3237 Fixes: NB#93410 (API required for setting IM mode in
3238 HildonTouchSelectorEntry)
3240 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3242 * configure.ac: post release version bump.
3243 * debian/changelog: version bump
3245 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3250 * configure.ac: Bump version.
3251 * debian/changelog: Updates.
3253 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3255 * src/hildon-touch-selector.c:
3256 (_hildon_touch_selector_has_multiple_selection): No need
3257 to initialize the variables here.
3259 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3261 * src/hildon-note-private.h
3262 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3263 (hildon_note_finalize, hildon_note_rebuild): Close information
3264 notes when they receive a button press.
3266 Fixes: NB#89890 (Information notes does not get disappeared after
3269 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3271 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3272 mark from the wizard title, as it's not really necessary. Also,
3273 do not display the page title if not set.
3275 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3277 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3278 (parent_window_hidden): Use the window's "is-topmost" property to
3279 detect when to hide the menu.
3281 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3283 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3284 (hildon_app_menu_finalize): If the parent window of the menu is
3285 hidden, hide the menu too.
3287 Fixes: NB#94460 (stackable window's menu is not closed when its
3290 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3293 * debian/libhildon1-examples.install
3295 * examples/Makefile.am:
3296 Use dh_install to install all examples.
3297 Use DEB_SRCDIR instead of defining SOURCE_DIR
3299 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3301 * configure.ac: post release version bump.
3302 * debian/changelog: version bump
3304 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3309 * configure.ac: bump version
3310 * debian/changelog: updates
3311 * debian/control: bump gtk+ dependency
3313 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3315 patch by Christian Dywan (christian@imendio.com)
3317 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3318 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3320 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3322 * src/hildon-check-button.c (hildon_check_button_init)
3323 (hildon_check_button_class_init, hildon_check_button_style_set)
3324 (hildon_check_button_apply_style):
3325 New "checkbox-size" style property.
3327 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3328 larger / configurable size)
3330 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3332 * configure.ac: post release version bump.
3333 * debian/changelog: version bump
3335 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3340 * configure.ac: bump version
3341 * debian/changelog: updates
3343 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3345 * doc/hildon-sections.txt
3346 * src/hildon-pannable-area.c
3347 * src/hildon-program.c
3348 * src/hildon-time-editor.c
3349 * src/hildon-touch-selector-entry.c:
3351 More documentation updates.
3353 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3355 * doc/hildon-sections.txt
3356 * src/hildon-caption.c
3357 * src/hildon-code-dialog.c
3358 * src/hildon-color-button.c
3359 * src/hildon-controlbar.c
3360 * src/hildon-date-editor.c
3361 * src/hildon-date-selector.c
3362 * src/hildon-edit-toolbar.c
3363 * src/hildon-find-toolbar.c
3364 * src/hildon-font-selection-dialog.c
3366 * src/hildon-program.c
3367 * src/hildon-range-editor.c
3368 * src/hildon-seekbar.c
3369 * src/hildon-time-editor.c
3370 * src/hildon-time-selector.c
3371 * src/hildon-volumebar-range.c
3372 * src/hildon-volumebar.c
3373 * src/hildon-vvolumebar.c
3374 * src/hildon-weekday-picker.c
3375 * src/hildon-window.c
3376 * src/hildon-wizard-dialog.c:
3378 Lots of documentation fixes.
3380 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3382 Patch contributed by Iván Gómez (igomez@igalia.com)
3384 * src/hildon-check-button.c:
3385 * src/hildon-date-button.c:
3386 * src/hildon-date-selector.c:
3387 * src/hildon-dialog.c:
3388 * src/hildon-edit-toolbar.c:
3389 * src/hildon-entry.c:
3390 * src/hildon-picker-button.c:
3391 * src/hildon-program.c:
3392 * src/hildon-text-view.c:
3393 * src/hildon-time-button.c:
3394 * src/hildon-touch-selector-entry.c:
3395 * src/hildon-window-stack.c:
3397 Add more "since" tags to the new API.
3399 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3401 * doc/hildon-sections.txt: Add below method.
3402 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3403 version for the hildonized scale.
3404 * src/hildon-gtk.h: Add the definition.
3406 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3408 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3410 * doc/hildon-sections.txt: Add missing entries for new methods.
3412 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3414 Added API to pannable are in order to get its adjustments. We
3415 added two properties to manage the values we had in the private
3418 * src/hildon-pannable-area.c:
3419 (hildon_pannable_area_class_init): Added hadjustment and
3420 vadjustment properties in order to expose horizontal and vertical
3422 (hildon_pannable_area_get_property),
3423 (hildon_pannable_area_set_property): Added code to handle the new
3425 (hildon_pannable_area_get_hadjustment),
3426 (hildon_pannable_area_get_vadjustment): API functions to get the
3428 * src/hildon-pannable-area.h:
3429 (hildon_pannable_area_get_hadjustment),
3430 (hildon_pannable_area_get_vadjustment): API functions to get the
3433 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3435 Fixed some leaks, after valgrinding.
3437 * src/hildon-touch-selector.c:
3438 (_default_print_func): Fixed a leak.
3439 (hildon_touch_selector_append_column): Fixed a leak.
3440 * src/hildon-date-button.c:
3441 (hildon_date_button_init): Fixed a leak.
3442 * src/hildon-date-selector.c
3443 (hildon_date_selector_finalize): Fixed a leak.
3445 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3447 Based on a patch by Christian Dywan (christian@imendio.com)
3449 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3451 * src/hildon-gtk.h: Add definition.
3453 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3455 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3457 * src/hildon-picker-button.c: (hildon_picker_button_init),
3458 (hildon_picker_button_new): Set the HildonButton::style property
3459 in the init method, to propagate the value to the derived classes.
3461 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3463 * src/hildon-button.c: (hildon_button_class_init): Do not make
3464 the "style" property a construct property.
3466 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3468 * src/hildon-wizard-dialog.h
3469 * src/hildon-wizard-dialog.c
3470 (hildon_wizard_dialog_set_forward_page_func)
3471 * src/hildon-pannable-area.h
3472 * src/hildon-pannable-area.c
3473 (hildon_pannable_area_set_size_request_policy):
3474 Documentation fixes.
3476 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3478 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3480 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3482 * doc/hildon-sections.txt: Added sections file.
3484 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3487 * src/*.[ch]: Updates.
3489 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3491 * examples/hildon-progress-indicator-example.c: new file
3492 * examples/Makefile.am: include the new example program
3494 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3496 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3498 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3500 * configure.ac: post release version bump
3501 * debian/changelog: version bump
3503 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3508 * configure.ac: bump version
3509 * debian/changelog: updates
3510 * debian/control: bump gtk+ dependency
3512 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3514 * src/hildon-dialog.c: Mark as deprecated.
3515 * src/hildon-dialog.h: Mark as deprecated.
3516 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3517 from HildonDialog and still work, even if
3518 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3519 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3521 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3522 maemo changes) instead)
3524 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3526 * src/hildon-pannable_area.h:
3527 * src/hildon-pannable_area.c:
3528 (hildon_pannable_area_class_init),
3529 (hildon_pannable_area_set_property),
3530 (hildon_pannable_area_get_property),
3531 (hildon_pannable_area_size_request),
3532 (hildon_pannable_area_get_size_request_policy),
3533 (hildon_pannable_area_set_size_request_policy): Added new API
3534 allowing applications to control the request policy. Now they can
3535 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3536 children allocation (HILDON_MOVEMENT_CHILDREN).
3538 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3542 (hildon_gtk_tree_view_set_ui_mode)
3543 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3544 mode of treeviews and iconviews.
3546 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3548 * src/hildon-touch-selector-entry.c:
3549 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3550 of a GtkEntry to get proper theming.
3552 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3553 widget, not GtkEntry)
3555 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3557 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3558 no HildonWizardDialogPageFunc.
3560 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3562 Patch contributed by Iván Gómez (igomez@igalia.com)
3564 * src/hildon-app-menu.c:
3565 * src/hildon-button.c:
3566 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3567 * src/hildon-stackable-window.c:
3568 * src/hildon-time-selector.c:
3569 * src/hildon-touch-selector.c:
3570 * src/hildon-window.c:
3572 Add more "since" tags to the new API in hildon 2.2.
3574 2008-12-05 Tim Janik <timj@imendio.com>
3576 Patch contributed by Christian Dywan (christian@imendio.com)
3578 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3579 HildonSizeType, which are supplied by Gtk+ now.
3581 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3583 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3584 (with maemo changes) instead)
3586 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3588 Patch contributed by Iván Gómez (igomez@igalia.com)
3590 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3593 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3595 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3596 (some_page_func), (main): Update the example to use a
3597 HildonWizardDialogPageFunc function.
3599 * src/hildon-wizard-dialog-private.h: Add private data for
3600 the HildonWizardDialogPageFunc function usage.
3602 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3603 (destroy), (hildon_wizard_dialog_init), (response),
3604 (hildon_wizard_dialog_set_forward_page_func):
3605 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3606 that applications can use to stop a HildonWizardDialog to jump to
3609 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3612 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3614 * src/hildon-program.h
3615 * src/hildon-program-private.h
3616 * src/hildon-program.c (hildon_program_init)
3617 (hildon_program_set_common_app_menu)
3618 (hildon_program_get_common_app_menu):
3619 New API for setting a common HildonAppMenu for all
3620 HildonStackableWindows registered with the HildonProgram.
3622 * src/hildon-stackable-window.c
3623 (hildon_stackable_window_toggle_menu):
3624 Use the common HildonAppMenu if a window doesn't have a specific
3627 * src/hildon-app-menu-private.h
3628 * src/hildon-app-menu.c
3629 (hildon_app_menu_get_parent_window):
3630 Function to obtain the window a HildonAppMenu is attached to.
3631 (hildon_app_menu_set_parent_window):
3632 Hide the menu if the parent window is set to NULL.
3634 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3636 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3637 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3638 search widget to popup.
3640 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3642 * configure.ac: post release version bump
3643 * debian/changelog: version bump
3645 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3650 * configure.ac: bump version
3651 * debian/changelog: updates
3653 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3655 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3657 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3658 (hildon_window_stack_window_realized)
3659 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3660 Set the leader GdkWindow when a window is stacked and realized,
3661 unset it when it's unstacked.
3662 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3664 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3666 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3668 * src/hildon-stackable-window.h
3669 * src/hildon-window-stack.h:
3670 Protect definition of HildonWindowStack using the preprocessor.
3672 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3674 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3675 Fix warning if all menu items are hidden.
3677 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3679 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3681 * src/hildon-controlbar.c:
3682 * src/hildon-hvolumebar.c:
3683 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3684 Multiple scale size defines updates.
3686 Fixes: NB#94322 (Scale Updates)
3688 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3690 * examples/hildon-app-menu-example.c (create_menu)
3691 Show items after adding them to the menu, as in the future the
3692 menu will no longer call gtk_widget_show() on the added items.
3694 * src/hildon-app-menu.c:
3695 Update example as explained above.
3697 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3699 * src/hildon-app-menu.c
3700 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3701 Make sure that all menu items have finger height.
3703 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3705 * src/hildon-picker-dialog.c:
3706 (_on_dialog_response), (_save_current_selection),
3707 (_restore_current_selection), (_clean_current_selection),
3708 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3709 Defined new functions in order to save the current internal selector
3710 selection previous open the dialog, in case that the use cancel the
3711 interaction, so the widget restores the previous selection.
3713 Fixes: NB#92032 (In calendar application, date values in 'new event'
3716 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3718 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3720 * src/hildon-button.c: Add a reference to the button examples in
3721 hildon-button-example.c
3723 * examples/hildon-button-example.c: Added examples of the most
3724 common button layouts.
3726 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3728 * src/hildon-app-menu.c (hildon_app_menu_show)
3729 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3731 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3733 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3735 * src/hildon-picker-dialog.c:
3736 (hildon_picker_dialog_init): Initialize the signal id for
3737 HildonTouchSelector::columns-changed.
3738 (+on_selector_columns_changed): Set up the interaction mode everytime a
3739 column is added or removed from the HildonTouchSelector.
3740 (_hildon_picker_dialog_set_selector): Connect to
3741 HildonTouchSelector::columns-changed and keep track of it.
3743 Make sure to update the interaction mode of the dialog everytime a
3744 column is added or removed in the HildonTouchSelector.
3746 Fixes: NB#93228 (Done button is not shown always in listpicker)
3748 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3750 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3751 a new ::columns-changed signal.
3752 (hildon_touch_selector_append_column): Emit ::columns-changed.
3753 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3755 Add a ::columns-changed signal, emitted when the number of columns in a
3756 HildonTouchSelector changes.
3758 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3760 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3761 (_hildon_picker_dialog_set_selector): Factor out the code
3762 to set up the dialog interaction mode.
3764 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3766 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3767 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3768 to signal_changed_id.
3770 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3772 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3775 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3777 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3778 Updated the logical ids related to ampm format, as now it is required to
3779 show it correctly localized even on languages with no default
3780 abbreviations for am or pm
3781 (_check_am_pm_format): check correctly the 24h format gconf property
3783 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3785 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3787 * src/hildon-button.c: Documentation updates.
3789 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3791 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3792 * src/hildon-caption.c: (hildon_caption_class_init):
3793 * src/hildon-color-button.c: (hildon_color_button_class_init):
3794 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3795 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3796 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3797 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3799 Remove deprecated GTK+ marshalers and replace them with the ones
3800 provided by GLib, for those available, add a marshaler for
3801 BOOLEAN:VOID, which is not available in GLib, and use it.
3803 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3805 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3806 the text from the previous column if there is no
3807 HildonTouchSelectorColumn::text-property set.
3809 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3811 * src/hildon-button.h
3812 * src/hildon-button.c (hildon_button_set_property)
3813 (hildon_button_get_property, hildon_button_class_init)
3814 (hildon_button_set_style, hildon_button_get_style):
3815 New "style" property to change the visual appearance of the
3818 * src/hildon-picker-button.c (hildon_picker_button_new):
3819 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3821 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3822 HildonButton look like PickerButton)
3824 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3826 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3827 column while building the default string.
3829 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3831 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3832 scroll indicator by default.
3834 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3836 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3838 * src/hildon-main.c: Fix the documentation for hildon_init()
3840 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3842 * doc/hildon-docs.sgml
3846 * src/hildon-window-stack-private.h
3847 * src/hildon-window-stack.h
3848 * src/hildon-window-stack.c:
3849 New HildonWindowStack object, that adds support for multiple
3850 stacks of windows per process.
3852 * src/hildon-stackable-window-private.h
3853 * src/hildon-stackable-window.h
3854 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3855 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3856 (hildon_stackable_window_show, hildon_stackable_window_hide)
3857 (hildon_stackable_window_class_init)
3858 (hildon_stackable_window_init):
3859 Use HildonWindowStack for stack management.
3861 * src/hildon-program.c (hildon_program_pop_window_stack)
3862 (hildon_program_peek_window_stack)
3863 (hildon_program_go_to_root_window):
3864 Add a fallback implementation to the deprecated functions using
3867 * examples/hildon-stackable-window-example.c:
3868 Use the new HildonWindowStack API.
3870 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3872 * src/hildon-stackable-window-private.h
3873 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3874 (hildon_stackable_window_hide, hildon_stackable_window_init):
3875 Remove all window stack management.
3877 * src/hildon-program-private.h
3878 * src/hildon-program.h
3879 * src/hildon-program.c (hildon_program_init)
3880 (hildon_program_pop_window_stack)
3881 (hildon_program_peek_window_stack)
3882 (hildon_program_go_to_root_window):
3883 Remove all window stack management and mark functions as
3886 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3888 * src/hildon-app-menu.c (hildon_app_menu_realize):
3889 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3891 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3893 * configure.ac: post release version bump
3894 * debian/changelog: version bump
3896 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3901 * configure.ac: bump version
3902 * debian/changelog: updates
3904 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3906 Based on initial code by Christian Dywan (christian@imendio.com)
3908 * doc/hildon-docs.sgml: Add section for hildon-main.
3909 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3910 * src/Makefile.am: Add new hildon-main.[ch]
3911 * src/hildon-defines.h: Update the icon sizes.
3912 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3913 new library initialization files and register icon sizes.
3914 * src/hildon-main.h: New declarations.
3915 * src/hildon.h: Include hildon-main.h
3917 Add new initialization functions to the library. These methods
3918 will register the hildon specific icon sizes and can be used in the
3919 future for other hildon specific bits.
3921 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3923 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3925 * src/hildon-window.c: (hildon_window_realize),
3926 (hildon_window_notify), (-hildon_window_update_title): Do not set
3927 the application name in the window title.
3929 Fixes: NB#89754 (Applications shouldn't display their names in the
3932 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3934 * src/hildon-note-private.h:
3935 * src/hildon-note.c: (hildon_note_set_property),
3936 (hildon_note_get_property), (hildon_note_class_init),
3937 (hildon_note_init), (hildon_note_finalize),
3938 (hildon_note_new_confirmation_with_icon_name),
3939 (hildon_note_new_information_with_icon_name):
3941 No need to mark as deprecated the actual code. Revert
3942 to avoid missing symbols in widgets using deprecated API.
3944 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3946 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3948 * src/hildon-volumebar.h
3949 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3950 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3952 * src/hildon-helper.h
3953 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3954 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3956 * examples/Makefile.am:
3957 Deprecate hildon-insensitive-example
3959 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3961 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3963 * examples/hildon-pannable-area-buttons-scroll-example.c:
3964 Make all buttons finger height
3966 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3968 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3970 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3971 update the day model only if it is really required, and to avoid the
3972 full-reconstruction aproach. Now it only add or remove the required days.
3974 The purpose of this is avoid superfluous HildonTouchSelector::changed
3977 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3978 with strange parameters)
3980 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3982 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3984 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3985 the WINDOW_TYPE property.
3987 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3989 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3992 Fix dependency to allow parallel compilation with make -jX
3994 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3996 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3997 color frame and some minor tweaks to make it more consistent with
4000 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4001 highlighted but not visible)
4003 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4005 * examples/Makefile.am: Fixed typo in the Makefile.am.
4007 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4009 Reviewed the use of MAEMO_GTK define, now we add the define in the
4010 compilation line, and we also add it to the pc file.
4012 * configure.ac: Added MAEMO_GTK define to the compilation command
4013 and removed it from the config.h.
4015 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4016 do not have to take care about this define if the library was
4020 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4022 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4024 * examples/Makefile.am,
4025 * examples/hildon-pannable-area-buttons-scroll-example.c,
4026 * examples/hildon-pannable-area-gesture-signals-example.c,
4027 * examples/hildon-pannable-area-scroll-jump-example.c,
4028 * examples/hildon-pannable-area-tree-view-example.c:
4029 Renamed the pannable area examples, now they have more meaningful
4032 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4034 * src/hildon-touch-selector.c:
4035 (hildon_touch_selector_set_column_selection_mode): Used of
4036 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4037 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4038 to avoid re-seting the same selection mode.
4040 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4041 breaks HildonPickerDialog)
4043 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4045 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4046 conditional in the Makefile.am
4048 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4050 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4051 Remove unused methods.
4053 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4055 * src/hildon-button.c (hildon_button_init):
4056 Make button images center-aligned by default
4058 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4061 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4062 activated, we have to think about how to deal with both defines
4063 MAEMO_GTK and MAEMO_CHANGES.
4065 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4067 * examples/hildon-app-menu-example.c (create_menu): Make all
4068 buttons finger size.
4070 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4072 Fixed the compilation without maemo gtk adding ifdefs with
4073 MAEMO_GTK define to the code, we have to check this version more
4076 * examples/Makefile.am: Added control to avoid some examples that
4077 just make sense with maemo gtk.
4080 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4081 hildon modes with the define.
4083 * examples/hildon-edit-toolbar-example.c,
4084 (create_icon_view): Create the icon view without hildon-gtk
4085 helpers if we are not using maemo gtk.
4087 * src/hildon-touch-selector.c,
4088 (_create_new_column): Create the treeview without hildon-gtk
4089 helpers if we are not using maemo gtk.
4091 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4093 * src/hildon-pnnable-area.c,
4094 (hildon_pannable_area_dispose),
4095 (hildon_pannable_area_button_press_cb),
4096 (hildon_pannable_area_child_mapped),
4097 (hildon_pannable_area_add),
4098 (hildon_pannable_area_remove): Added code to control the position
4099 of the event_window when adding and removing children from the
4100 pannable. We have to raise the event window when the child is
4103 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4104 selection mode using custom widget inside pannable)
4106 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4108 * configure.ac: post release version bump
4109 * debian/changelog: version bump
4111 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4116 * configure.ac: bump version
4117 * debian/changelog: updates
4119 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4121 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4122 search mode, in order to avoid lose the focus on the treeview when
4123 a hw key (like enter) is pressed.
4125 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4126 in HildonDateSelector dialog)
4128 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4130 * debian/rules: Added --enable-maintainer-mode
4131 * Makefile.am: Added ACLOCAL_AMFLAGS
4133 This allows to properly regenerate the Makefiles if you modify the
4134 configure.ac or any Makefile.am.
4136 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4138 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4139 properties, not needed at all.
4141 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4143 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4145 * src/hildon-note.c: (hildon_note_set_property),
4146 (hildon_note_get_property), (hildon_note_class_init),
4147 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4148 (hildon_note_new_confirmation_add_buttons): Remove icons.
4149 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4150 (hildon_note_new_information_with_icon_name): Deprecate.
4151 (hildon_note_new_confirmation): Act directly, without calling
4152 the deprecated constructor.
4153 (hildon_note_new_information): Act directly, without calling
4154 the deprecated constructor.
4155 * src/hildon-note.h: Mark deprecate methods as such.
4156 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4157 not run tests on the deprecated methods if built with deprecation
4160 Fixes: NB#91688 (Never show icons in information notes/confirmation
4163 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4165 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4166 (hildon_app_menu_key_press): Remove leftover usage of the
4167 private structure in HildonAppMenu struct.
4168 * src/hildon-app-menu.h: Remove leftover private structure
4169 from the HildonAppMenu struct.
4171 Fixes a crasher when using the HildonAppMenu.
4173 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4175 * src/hildon-picker-dialog.c: Use appropriate logical id
4176 for the default "Done" text.
4178 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4180 * configure.ac: post release version bump
4181 * debian/changelog: version bump
4183 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4185 Modified the way to scroll to the current selection just when the touch
4186 selector is shown on the screen, avoiding a g_idle. Added too a property
4187 to configure this behaviour. See hildon_pannable_area_jump_to_child
4188 documentation for more information.
4190 * src/hildon-touch-selector.c
4191 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4192 Added 'initial-scroll' property
4193 (hildon_touch_selector_set_property): Added
4194 (hildon_touch_selector_map): Removed as not required anymore
4195 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4196 only a concrete column, instead of iterate along all the columns
4198 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4203 * configure.ac: bump version
4204 * debian/changelog: updates
4206 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4208 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4209 compilation time warnings.
4211 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4213 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4214 the default value for HildonPannableArea::mov-mode to
4215 HILDON_PANNABLE_AREA_MODE_VERT.
4217 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4219 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4221 Reverting following commit:
4223 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4225 * src/hildon-app-menu-private.h
4226 * src/hildon-app-menu.[ch]
4227 * src/hildon-button.[ch]
4228 * src/hildon-check-button.[ch]
4229 * src/hildon-entry.[ch]
4230 * src/hildon-pannable-area.[ch]
4231 * src/hildon-text-view.[ch]:
4232 Added private field to the object's structure.
4234 because it causes an ABI breakage. We will need to introduce these
4235 changes later at some point. See NB#91636 for an extensive
4236 explanation and status.
4238 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4240 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4242 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4243 remove special cases that are no longer necessary.
4245 Fixes: NB#91016 (Change toolbar sizes, simplification)
4247 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4249 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4250 is shown in the cancel note.
4252 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4254 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4255 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4256 (hildon_seekbar_init): Remove steppers, remove expose event.
4257 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4259 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4261 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4263 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4264 label font to "SmallSystemFont" for vertically arranged buttons.
4266 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4269 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4271 * src/hildon-check-button.c
4272 (hildon_check_button_set_active, hildon_check_button_clicked):
4273 Don't access private parts directly, use getters instead.
4275 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4277 * src/hildon-check-button.c (hildon_check_button_new):
4278 Align the contents of the check button to the left.
4280 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4282 * src/hildon-pannable-area.c,
4283 (hildon_pannable_area_scroll_to),
4284 (hildon_pannable_area_jump_to),
4285 (hildon_pannable_area_scroll_to_child),
4286 (hildon_pannable_area_jump_to_child): Replace the mapped
4287 precondition of these functions with the realized, it is the
4288 correct state of the widget in this case. Changed the
4289 documentation according to this modification.
4291 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4293 Added a new EXTRA_CFLAGS option to add the deprecated define to
4294 the compilation command. This way we can avoid using the define in
4295 the documentation compilation.
4297 * configure.ac: Defined EXTRA_CFLAGS.
4299 * examples/Makefile.am:
4301 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4303 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4305 * src/hildon-picker-dialog.c:
4306 Defined a utility macro with the desired touch selector height
4307 Removed currently unused separator, and title_label variables from
4309 (hildon_picker_dialog_init): Removed code related to the creation
4310 of unused private variables title_label and separator.
4311 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4312 to ensure correct visualization of the touch selector inside the dialog.
4313 * src/hildon-touch-selector.c
4314 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4315 ensure a concrete height of the widget.
4317 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4320 * tests/Makefile.am:
4322 Remove spurious whitespaces.
4324 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4326 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4327 compilation warning after the cancel button removal.
4329 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4331 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4333 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4334 Makefile.am, that way we can choose not to compile some examples
4335 and tests of the deprecated widgets.
4337 * examples/Makefile.am: Divided the sources in deprecated and
4340 * src/Makefile.am: Added undef statement of the deprecated
4341 symbol to the enums file generation process.
4343 * src/hildon-color-chooser-dialog.c
4344 * src/hildon-color-chooser-dialog.h
4345 * src/hildon-color-button.c
4346 * src/hildon-color-button.h
4347 * src/hildon-color-chooser.c
4348 * src/hildon-color-chooser.h
4349 * src/hildon-controlbar.c
4350 * src/hildon-controlbar.h
4351 * src/hildon-date-editor.c
4352 * src/hildon-date-editor.h
4353 * src/hildon-hvolumebar.c
4354 * src/hildon-hvolumebar.h
4355 * src/hildon-private.c
4356 * src/hildon-private.h
4357 * src/hildon-range-editor.c
4358 * src/hildon-range-editor.h
4359 * src/hildon-seekbar.c
4360 * src/hildon-seekbar.h
4361 * src/hildon-time-editor.c
4362 * src/hildon-time-editor.h
4363 * src/hildon-time-picker.c
4364 * src/hildon-time-picker.h
4365 * src/hildon-volumebar.c
4366 * src/hildon-volumebar.h
4367 * src/hildon-vvolumebar.c
4368 * src/hildon-vvolumebar.h
4369 * src/hildon-bread-crumb-trail.h
4370 * src/hildon-bread-crumb-trail.c
4371 * src/hildon-calendar-popup.c
4372 * src/hildon-calendar-popup.h
4373 * src/hildon-weekday-picker.c:
4374 * src/hildon-weekday-picker.h:
4375 * src/hildon-bread-crumb-widget.c:
4376 * src/hildon-bread-crumb-widget.h:
4377 * src/hildon-bread-crumb.c:
4378 * src/hildon-bread-crumb.h:
4379 * src/hildon-calendar.c:
4380 * src/hildon-calendar.h:
4381 * src/hildon-caption.c:
4382 * src/hildon-code-dialog.c:
4383 * src/hildon-code-dialog.h:
4384 * src/hildon-font-selection-dialog.c:
4385 * src/hildon-font-selection-dialog.h:
4386 * src/hildon-get-password-dialog.c:
4387 * src/hildon-get-password-dialog.h:
4388 * src/hildon-login-dialog.c:
4389 * src/hildon-login-dialog.h:
4390 * src/hildon-number-editor.c:
4391 * src/hildon-number-editor.h:
4392 * src/hildon-set-password-dialog.c:
4393 * src/hildon-set-password-dialog.h:
4394 * src/hildon-sort-dialog.c:
4395 * src/hildon-sort-dialog.h: This is the list of deprecated
4398 * src/hildon-touch-selector.c:
4399 * src/hildon-window.c: Added undef statement to avoid compilation
4402 * tests/Makefile.am: Divided the sources in deprecated and
4405 * tests/check_test.c,
4406 (configure_tests): Marked the deprecated code that was adding
4407 suites with deprecated tests.
4409 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4411 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4413 * src/hildon-touch-selector.c: (_default_print_func): Do not
4414 duplicate a string returned by gtk_tree_model_get(), it is already
4417 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4420 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4422 * src/hildon-pannable-area.c
4423 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4424 method, it had problems when adding a widget with viewport the
4425 second time. Now checks if it already has a viewport and uses it.
4427 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4430 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4432 * src/hildon-pannable-area.c,
4433 (hildon_pannable_area_scroll_to),
4434 (hildon_pannable_area_jump_to),
4435 (hildon_pannable_area_scroll_to_child),
4436 (hildon_pannable_area_jump_to_child): Added a precondition to the
4437 scroll and jump to functions: the widget must be mapped before we
4438 can safely call these functions. We have also added documentation
4439 to the functions to explain how to use them in this situation.
4442 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4444 Reviewed the threading handling of the pannable widget, we have
4445 used the gdk_threads_add_timeout function instead of the usual
4446 glib handlers. This avoids some problems with the threads.
4448 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4449 (hildon_pannable_area_initial_effect),
4450 (hildon_pannable_area_scroll_indicator_fade),
4451 (hildon_pannable_area_button_press_cb),
4452 (hildon_pannable_area_timeout),
4453 (hildon_pannable_area_motion_notify_cb),
4454 (hildon_pannable_area_button_release_cb),
4455 (hildon_pannable_area_scroll_cb),
4456 (hildon_pannable_area_scroll_to): Removed the
4457 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4458 gdk_threads_add_timeout.
4460 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4462 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4467 * configure.ac: bump version
4468 * debian/changelog: updates
4470 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4472 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4473 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4474 * src/hildon-color-chooser-dialog.c:
4475 (hildon_color_chooser_dialog_init):
4476 * src/hildon-font-selection-dialog.c:
4477 (hildon_font_selection_dialog_init):
4478 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4480 Remove all cancel/close-like dialogs, as these are not going to be
4483 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4485 * src/hildon-note.c: (hildon_note_rebuild),
4486 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4489 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4491 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4493 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4494 sure all buttons are shown, even the Cancel/Close-like ones.
4496 Fixes: NB#90861 (Custom Confirmation dialogs should be
4497 protected from cancel button removal)
4499 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4501 * debian/control: Change libhildon1-examples dependency from libhildon1
4503 * debian/libhildon1-examples.install
4505 * Makefile.am: Modified the final install directory for the examples on
4506 package libhildon1-examples
4507 * Makefile.static: Update clean target in order to remove all the binary
4510 Changes suggested by Claudio after review new libhildon1-examples package
4512 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4514 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4515 * src/hildon-touch-selector.c: Ditto.
4517 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4519 * debian/control: Added new package libhildon1-examples, in order to pack
4520 the current hildon examples as documentation
4521 * debian/rules: Not to compress .c files, modify some includes on the
4522 examples (as normally are compiled locally, but when installed it will
4523 require to include the installed libhildon1 library), and rename
4525 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4526 install all the example files on the new example package
4527 * examples/Makefile.static: Added static makefile that can be used to
4528 compile the examples, once installed the new example package
4529 * examples: Most of the examples were modified in order to grant that
4530 all use only '#include "hildon.h"', in order to be easy to prepare
4531 it on the example package
4533 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4536 * debian/libhildon1-dev.install
4537 * debian/libhildon1-doc.install:
4538 Move all gtk-doc files to a separate libhildon1-doc package.
4540 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4542 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4544 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4546 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4548 * debian/rules: Fixed a error in order to avoid unnecessary calls
4549 to autogen.sh on package building
4551 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4553 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4555 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4557 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4560 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4562 * src/hildon-picker-button.c
4563 (hildon_picker_button_finalize):
4564 Free priv->done_button_text
4566 * src/hildon-time-button.c
4567 (hildon_time_button_set_time)
4568 * src/hildon-picker-button.c
4569 (hildon_picker_button_clicked)
4570 (hildon_picker_button_selector_selection_changed)
4571 (hildon_picker_button_set_selector)
4572 * src/hildon-date-button.c
4573 (hildon_date_button_set_date):
4574 Free strings returned by hildon_touch_selector_get_current_text()
4576 * src/hildon-button.c (hildon_button_construct_child):
4577 Fix leaks in priv->image and priv->label_box
4579 Fixes: NB#90535 (Memory leak in picker button)
4581 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4583 * src/hildon-button.c: (hildon_button_get_property): Do not access
4584 private elements directly, use getters instead.
4586 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4588 * src/hildon-app-menu-private.h
4589 * src/hildon-app-menu.c
4590 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4591 Store the menu's parent window.
4593 * src/hildon-stackable-window.c
4594 (hildon_stackable_window_toggle_menu)
4595 (hildon_stackable_window_finalize):
4596 Set the menu's parent window when the menu is shown, unset it when
4599 * src/hildon-app-menu.c
4600 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4601 (hildon_app_menu_class_init):
4602 Send unhandled keyboard accelerators to the parent window.
4604 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4606 * src/hildon-stackable-window.c
4607 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4609 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4611 * configure.ac: post release version bump
4613 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4616 * configure.ac: Bump version
4617 * debian/changelog: Updates
4618 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4621 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4623 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4626 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4627 GtkMenu with Hildon style.
4629 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4631 * src/hildon-picker-button.c:
4632 (hildon_picker_button_set_done_button_text): Set the dialog's
4633 done button text here as well.
4635 Fixes: NB#90232 (Picker button does not set the label on done button
4636 for the second time)
4638 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4640 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4643 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4645 * src/hildon-app-menu.c (hildon_app_menu_insert)
4646 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4647 the HildonAppMenu to be activatable using keyboard accelerators
4648 when the menu is not being shown.
4650 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4652 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4654 * src/hildon-stackable-window.c
4655 (hildon_stackable_window_show):
4656 Don't hide old windows automatically when new windows are shown:
4657 this is now a task for the window manager.
4658 (hildon_stackable_window_class_init)
4659 (hildon_stackable_window_hide):
4660 Remove windows from the stack everytime they're hidden.
4661 (hildon_stackable_window_realize):
4662 Don't change the _NET_WM_WINDOW_TYPE property. Use
4663 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4664 it as a stackable window.
4666 * src/hildon-program.c
4667 (hildon_program_pop_window_stack):
4668 Just hide the window to remove it from the stack.
4669 (hildon_program_go_to_root_window):
4670 Don't call gtk_widget_show(), this is now a task for the window
4673 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4675 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4677 * src/hildon-button.c
4678 (hildon_button_construct_child):
4679 Don't pack anything in the button until text or image are
4680 set. This allows adding a custom child after creating the button
4681 with hildon_button_new().
4682 (hildon_button_finalize, hildon_button_class_init)
4683 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4684 alignment and the label box even when they're not packed in the
4687 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4689 * src/hildon-touch-selector.h:
4690 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4691 currently the type definition was using GTK_TYPE_VBOX
4692 * src/hildon-touch-selector.c:
4693 Added some implementation notes in order to clarify that any other widget
4694 added without the column related API will not be included on the
4695 selection logic, and how the widget is freed, as some people ask about
4697 (hildon_touch_selector_remove): Reimplemented in order to free properly
4698 the column related data when you remove the private hbox.
4699 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4700 to get a proper HildonTouchSelectorColumn documentation
4702 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4704 * src/hildon-touch-selector-entry.c:
4705 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4706 text in the GtkEntry and there is no item selected. Fixes a
4709 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4711 * src/hildon-app-menu-private.h
4712 * src/hildon-app-menu.[ch]
4713 * src/hildon-button.[ch]
4714 * src/hildon-check-button.[ch]
4715 * src/hildon-entry.[ch]
4716 * src/hildon-pannable-area.[ch]
4717 * src/hildon-text-view.[ch]:
4718 Added private field to the object's structure.
4720 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4722 * configure.ac: post-release version bump
4724 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4728 * configure.ac: pre-release version bump
4730 * debian/changelog: updates.
4732 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4734 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4735 Disconnect the handler for HildonTouchSelector::changed.
4737 (hildon_picker_button_selector_selection_changed): Update the button
4738 value if the selection change was not triggered by the
4741 (hildon_picker_button_set_selector): connect to
4742 HildonTouchSelector::changed.
4744 Fixes: NB#89650 (Picker button is not updated, when selection in
4745 selector has changed)
4747 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4749 * src/hildon-picker-dialog.c
4750 (hildon_picker_dialog_realize): Removed as not required
4751 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4752 * src/hildon-picker-button.c
4753 (_current_selector_empty): New function, checks if the selector is empty
4754 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4755 if the current selector is empty, in order to avoid to show the dialog
4756 close the dialog in this case (and shows a g_warning).
4758 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4760 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4762 * src/hildon-pannable-area.c,
4763 (hildon_pannable_area_scroll): Added clause to stop movement when
4764 the child of pannable is smaller than one page.
4765 (hildon_pannable_area_scroll_to): Added conditions to avoid
4766 starting the scrolling movement if the child is smaller than one
4767 page, the complete child is in the screen, we do not have to move.
4769 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4771 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4773 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4774 this is managed automatically by the widget when the size of the
4777 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4779 * src/hildon-picker-button.c
4780 (hildon_picker_button_set_done_button_text): Make a copy of the
4781 text, and free the previous value.
4783 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4785 * src/hildon-touch-selector-entry.c:
4786 (hildon_touch_selector_entry_print_func): Return the selected row's
4787 text if the entry is empty.
4789 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4792 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4794 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4796 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4799 * src/hildon-check-button.h
4800 * src/hildon-check-button.c
4801 * examples/hildon-check-button-example.c:
4802 HildonCheckButton is now a new widget. 'toggled' signal added.
4804 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4806 * src/hildon-program-private.h
4807 * src/hildon-program.c (hildon_program_init)
4808 (hildon_program_finalize): Removed unused variables group_leader
4809 and name from HildonProgramPrivate.
4811 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4813 * src/hildon-check-button.c (hildon_check_button_set_active)
4814 (hildon_check_button_get_active, hildon_check_button_new): Use
4815 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4817 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4819 * src/hildon-touch-selector.h
4820 (hildon_touch_selector_set_column_attributes): added deprecation
4821 guard HILDON_DISABLE_DEPRECATED
4822 * src/hildon-time-selector.c
4823 (hildon_time_selector_set_time)
4824 (hildon_time_selector_get_time): Fixed a typo on documentation
4825 * src/hildon-touch-selector.c: update HildonTouchSelector and
4826 HildonTouchSelectorColumn documentation
4827 * src/hildon-touch-selector-entry.c: update "text-column" property
4829 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4830 to be added to the general documentation.
4832 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4834 * examples/hildon-pannable-area-example-4.c,
4836 * examples/hildon-pannable-area-example.c,
4837 (main): Modified the code in order to use the container add, with
4838 viewport treeviews could have problems if they are really big.
4840 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4842 * src/hildon-weekday-picker.c,
4843 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4844 the agreement regarding deprecation in the library.
4846 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4848 * examples/hildon-picker-button-multicolumn-example.c:
4849 (main): Use custom "done" button text.
4851 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4852 (hildon_picker_button_set_property),
4853 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4854 (hildon_picker_button_init),
4855 (+hildon_picker_button_get_done_button_text),
4856 (+hildon_picker_button_set_done_button_text): New methods to customize
4857 the "done" button label in the launched HildonPickerDialog. Also,
4860 * src/hildon-picker-button.h: add the public API.
4862 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4864 * src/hildon-date-selector.h:
4865 * src/hildon-picker-dialog.h:
4866 * src/hildon-time-selector.h:
4867 * src/hildon-touch-selector-column.h:
4868 * src/hildon-touch-selector.h:
4870 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4871 declarations. Fixes gtk-doc warnings.
4873 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4875 * src/hildon-picker-dialog.h
4876 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4877 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4879 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4880 long text is set as label for done button)
4882 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4884 * src/hildon-dialog.c (hildon_dialog_add_button):
4885 Set fixed width to all buttons in the HildonDialog.
4887 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4889 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4891 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4892 Set widget name using class name plus "-finger" or "-thumb".
4894 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4896 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4897 'clicked' when the state of the button is manually changed.
4899 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4901 * src/hildon-app-menu.c (hildon_app_menu_realize)
4902 (hildon_app_menu_unrealize, hildon_app_menu_init)
4903 (hildon_app_menu_class_init, item_visibility_changed):
4904 Change the menu layout when the size of the screen changes.
4905 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4906 Show warning only when changing the number of colums using the
4909 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4911 * debian/compat: Set to 5
4912 * debian/control: Update dependencies.
4913 * debian/libhildon1-dbg.install: Remove.
4914 * debian/libhildon1-dev.install: Update according to cdbs paths.
4915 * debian/libhildon1.install: Update according to cdbs paths.
4916 * debian/rules: Switch to cdbs.
4918 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4920 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4921 'item' variable renamed to 'filter'
4923 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4925 * src/hildon-app-menu.c (hildon_app_menu_insert)
4926 (hildon_app_menu_add_filter, remove_item_from_list)
4927 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4928 Don't leak hidden items when the menu is destroyed.
4930 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4932 * src/hildon-app-menu.c (hildon_app_menu_insert)
4933 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4934 (hildon_app_menu_set_columns, item_visibility_changed)
4935 (filter_visibility_changed, hildon_app_menu_repack_filters)
4936 (hildon_app_menu_repack_items):
4937 Repack items and filters separately.
4939 Don't repack all items, change only the ones that are needed to
4942 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4944 * src/Makefile.am: added hildon-touch-selector-column.h
4946 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4948 * src/hildon-touch-selector.c: added the property "text-column" to the
4949 class HildonTouchSelectorColumn, and related get/set functions
4950 (_default_printf_func): updated to use "text-column" property
4951 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4952 "text-column" in his documentation, as this is now included on
4953 HildonTouchSelectorColumn. The get/set_property can still be used,
4954 working as a wrapper to the concrete column "text-column" property
4955 (_text_column_modified): callback added in order to handle the signal
4956 "notify::text-column" of the concrete HildonTouchSelectorColumn
4957 (hildon_touch_selector_entry_get_text_column)
4958 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4959 modified in order to use the HildonTouchSelectorColumn "text-column"
4961 * src/hildon-time-selector.c:
4962 * src/hildon-date-selector.c:
4963 * examples/hildon-touch-selector-example.c
4964 * examples/hildon-touch-selector-multi-cells-example.c
4965 * examples/hildon-picker-button-multicolumn-example.c
4966 Set the right value to "text-column" property on the creation of a new
4967 column using hildon_touch_selector_append_column()
4969 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4971 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4973 * src/hildon-app-menu.c
4974 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4975 updating the layout of the menu, don't create all widgets again,
4976 just repack the items in their new places.
4978 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4980 * src/hildon-time-selector.c
4981 (hildon_time_selector_get_time)
4982 (hildon_time_selector_set_time)
4983 Added documentation of these public methods
4985 * src/hildon-date-button.h
4986 * src/hildon-touch-selector-column.h
4987 * src/hildon-time-button.h
4988 * src/hildon-picker-dialog.h
4989 * src/hildon-time-selector.h
4990 * src/hildon-picker-button.h
4991 * src/hildon-touch-selector.h
4992 * src/hildon-time-picker.h
4993 * src/hildon-date-selector.h
4994 * src/hildon-touch-selector-entry.h
4995 Modified in order to use hildon-widgets code style
4997 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4999 Added deprecated support to the compilation process using
5000 HILDON_DISABLE_DEPRECATED
5002 * configure.ac: Added the --disable-deprecated to the configure
5005 * src/hildon-weekday-picker.c:
5006 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5007 to use the deprecated support. We will update the other deprecated
5008 widgets status in a new patch.
5010 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5012 * configure.ac: Fixed typo with fatal warnings support, the
5013 variable name was not correct
5015 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5017 * src/hildon-app-menu.c
5018 * src/hildon-program.c: Update documentation.
5020 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5022 * configure.ac: Post-release version bump.
5024 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5029 * configure.ac: Pre-release version bump.
5030 * debian/changelog: Updates.
5032 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5034 * NEWS: Update news for previous releases.
5036 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5038 * examples/hildon-touch-selector-multi-cells-example.c:
5039 (create_selector): Update the example to use
5040 hildon_touch_selector_append_column() with a NULL renderer and set
5041 the renderers later.
5042 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5043 passed a NULL renderer. This is documented behavior now.
5045 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5046 This must be used if the developer wants full control on the layout of
5047 the renderers to be added to the column.
5049 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5051 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5053 * src/hildon-touch-selector.c: Documentation fixes.
5055 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5057 * src/hildon-wizard-dialog-private.h: Remove image and box.
5058 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5059 (hildon_wizard_dialog_set_property), (response): Completely remove
5060 image/icon support, and the containers required for the layout.
5062 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5064 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5066 * src/hildon-app-menu.c: Updated documentation.
5068 * src/hildon-stackable-window.c
5069 (hildon_stackable_window_set_main_menu): Unref the old menu after
5070 ref'ing the new one.
5072 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5074 * src/hildon-stackable-window.c
5075 (hildon_stackable_window_set_main_menu): Unref the previous menu
5076 instead of destroying it.
5078 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5079 floating reference and set has_user_ref_count to FALSE to make
5080 HildonAppMenu act like a normal ref-counted widget and not a
5083 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5086 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5088 * src/hildon-touch-selector-column.h: new file
5089 * src/hildon-touch-selector.h
5090 * src/hildon-touch-selector.c
5091 Implemented GtkCellLayout interface, in order to allow to configure
5092 the cell layout on each individual selector column
5093 (hildon_touch_selector_set_column_attributes): marked as deprecated
5094 * examples/hildon-touch-selector-multi-cells-example.c
5095 Example of how to use the GtkCellLayout interface on the selector
5097 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5099 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5101 * src/hildon-app-menu.h
5102 * src/hildon-app-menu.c
5103 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5104 (hildon_app_menu_append, hildon_app_menu_prepend):
5105 New methods to prepend, insert and move items in the menu.
5107 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5109 * src/hildon-wizard-dialog.c:
5111 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5113 (create_title): Update logical IDs and related code.
5114 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5116 * src/hildon-wizard-dialog.h: Note that
5117 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5118 point, as it is not used anymore.
5120 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5122 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5124 * src/hildon-note.c:
5125 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5126 shown. Do not display an icon in confirmation notes nor information
5128 (hildon_note_set_button_text): Update logical ID for cancel button.
5130 Fixes: NB#88850 (Update HildonNote button strings + signals)
5132 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5134 * src/hildon-stackable-window.c
5135 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5137 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5139 * src/hildon-app-menu-private.h
5140 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5141 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5142 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5143 temporary property 'columns' to change the number of columns.
5145 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5147 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5149 * examples/hildon-note-example.c: (on_information_clicked),
5150 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5151 debugging information.
5152 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5154 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5155 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5156 in order to close: this will be handled by the WM from now on.
5158 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5160 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5162 * src/hildon-app-menu-private.h
5163 * src/hildon-app-menu.c
5164 (hildon_app_menu_append, hildon_app_menu_add_filter)
5165 (button_visibility_changed, hildon_app_menu_apply_style)
5166 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5167 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5168 layout everytime a button (item or filter) is shown or hidden.
5170 * src/hildon-stackable-window.c
5171 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5174 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5176 * src/hildon-touch-selector.c:
5177 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5178 that the treeview inside the touch selector is in fremantle hildon mode
5179 * examples/hildon-date-button-example.c
5180 * examples/hildon-picker-button-multicolumn-example.c
5181 * examples/hildon-touch-selector-entry-example.c
5182 * examples/hildon-touch-selector-example.c
5183 * examples/hildon-time-button-example.c
5184 * examples/hildon-picker-button-example.c:
5185 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5187 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5189 * examples/hildon-text-view-example.c: (main): Remove the
5190 gtkrc bits, now handled by the theme.
5192 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5194 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5197 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5199 * po/Makefile.am: Install properly the mo files.
5200 * po/en_GB.po: Update translation, to ease testing purposes.
5202 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5204 * examples/hildon-picker-button-example.c: (main): Select an item
5205 in the selector before setting it to the button.
5207 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5209 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5210 Update button's value if the selector has an item active.
5212 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5213 'value' with the selector)
5215 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5217 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5218 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5219 (hildon_picker_button_class_init): Plug the finalize method.
5220 (hildon_picker_button_set_selector): If there's a previously set
5221 selector, unref'it before setting a new one.
5223 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5224 HildonTouchSelector)
5226 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5228 * src/hildon-touch-selector-entry.c:
5229 (hildon_touch_selector_entry_changed): Check if there is no text
5230 selected before setting the entry text.
5233 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5235 * src/hildon-touch-selector.h
5236 * src/hildon-touch-selector.c
5237 (hildon_touch_selector_get_active)
5238 (hildon_touch_selector_set_active): New methods to set/get the
5239 index of the selected item.
5241 * src/hildon-picker-button.h
5242 * src/hildon-picker-button.c
5243 (hildon_picker_button_get_active)
5244 (hildon_picker_button_set_active): New methods to set/get the
5245 index of the selected item.
5247 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5249 * configure.ac: post-release version bump.
5251 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5255 * configure.ac: Pre-release version bump.
5256 * debian/changelog: Updates.
5257 * debian/control: Add myself as maintainer and depend on l10n
5260 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5262 * src/hildon-window.c
5263 (hildon_window_set_main_menu)
5264 * src/hildon-stackable-window.c
5265 (hildon_stackable_window_set_main_menu):
5266 Updated documentation.
5268 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5270 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5271 Don't free selector->priv manually.
5274 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5277 (hildon_gtk_window_set_progress_indicator):
5278 * src/hildon-gtk.h: Added the new API
5279 hildon_gtk_window_set_progress_indicator, it changes the state of
5280 the window progress hint.
5282 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5284 * src/hildon-button.c
5285 * src/hildon-stackable-window.c: Minor documentation updates.
5287 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5289 * src/hildon-stackable-window.c: Updated documentation.
5291 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5293 * src/hildon-defines.h: Update margins definitions
5294 to the Fremantle sizes.
5297 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5299 * src/hildon-touch-selector.c,
5300 (_hildon_touch_selector_set_model): Cleaning the code after
5301 review, removed g_print and #if 0 from the code.
5303 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5305 * src/hildon-edit-toolbar.c: Update documentation.
5307 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5309 * src/hildon-check-button.h
5310 * src/hildon-check-button.c
5311 (hildon_check_button_set_label, hildon_check_button_get_label)
5312 * examples/hildon-check-button-example.c
5313 (button_clicked_cb):
5314 Removed deprecated methods.
5316 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5318 * src/hildon-text-view.c:
5319 Add sample code to the documentation.
5321 * src/hildon-entry.h
5322 * src/hildon-text-view.h:
5323 Minor cosmetic changes.
5325 * src/hildon-entry.c:
5326 Add sample code to the documentation.
5327 (hildon_entry_init, hildon_entry_refresh_contents):
5328 Don't allow NULL values in the placeholder.
5330 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5332 * doc/hildon-docs.sgml
5334 * examples/Makefile.am
5335 * examples/hildon-text-view-example.c
5337 * src/hildon-text-view.c
5338 * src/hildon-text-view.h
5340 New HildonTextView widget, with example.
5342 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5344 * po/POTFILES.in: Add missing files with translatable strings.
5345 Partially fixes NB#88287.
5347 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5349 * examples/hildon-pannable-area-example-2.c: (main): No need to
5350 set the cellrenderer height inside hildon touch lists, the theme does
5353 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5355 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5356 they are integrated in the theme.
5358 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5360 * examples/hildon-entry-example.c: Update the example adding
5361 widgets to modify the text and the placeholder of the HildonEntry.
5363 * src/hildon-entry.c: Show the placeholder everytime the widget
5364 is empty and loses the focus.
5366 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5368 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5370 * src/hildon-pannable-area.c,
5371 (hildon_pannable_area_size_request): Fixed bug in height
5372 requisition, avoid increasing size and add border twice.
5374 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5376 * configure.ac: postrelease version bump.
5378 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5382 * configure.ac: Prerelease version bump.
5383 * debian/changelog: update.
5384 * debian/rules: make -dbg package contain useful debugging symbols.
5386 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5388 * src/hildon-dialog.h
5389 * src/hildon-dialog.c
5390 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5391 New methods to add buttons with finger size.
5392 (hildon_dialog_new_with_buttons):
5393 Create buttons with finger size.
5395 * examples/hildon-dialog-example.c (main): Use HildonDialog
5396 methods to add buttons.
5398 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5400 * src/hildon-entry.c: Updated HildonButton documentation.
5402 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5404 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5405 button value label with (FALSE, FALSE) to prevent NB#88126 from
5408 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5410 * examples/hildon-pannable-area-example.c,
5411 (main): Removed examples panning a vbox inside a pannable
5412 area. Check bug NB#87965
5414 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5416 Patch contributed by Kris Rietveld (kris@imendio.com)
5418 * src/hildon-pannable-area.c,
5419 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5420 get_size and get_position, this saves an X server roundtrip.
5422 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5424 * doc/hildon-docs.sgml
5426 * examples/Makefile.am
5427 * examples/hildon-entry-example.c
5429 * src/hildon-entry.c
5430 * src/hildon-entry.h
5432 New HildonEntry widget, with example.
5434 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5436 * src/hildon-button.c (hildon_button_construct_child): Pack the
5437 image with expand == fill == FALSE. This is a workaround for a bug
5440 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5442 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5443 labels for the text column, to make it more look more dynamic.
5445 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5447 * src/hildon-time-selector.c
5448 Define gettext auxiliar macro N_
5449 (_create_minutes_model)
5450 (_create_hours_model)
5451 (_create_ampm_model): use of strftime in order to fill the model
5452 * src/hildon-date-selector.c
5453 (hildon_date_selector_finalize):
5454 (_locales_init): remove the logic related to get the name of the months
5455 using nl_langinfo, as it is not required anymore
5457 (_create_year_model)
5458 (_create_month_model)
5459 (_update_day_model): use of strftime in order to fill the model properly
5462 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5464 * src/hildon-button.h
5465 * src/hildon-button.c (hildon_button_get_image): New method to
5468 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5470 * src/hildon-touch-selector.c:
5471 (hildon_touch_selector_remove_column): Remove from the correct parent
5472 and also remove the list element and free it.
5475 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5477 * src/hildon-time-selector.c
5478 (_create_hours_model): change the range on 12h ampm format in order to use
5479 a 12-11 range instead of previous 01-12 range
5480 (hildon_time_selector_set_time): change the way to select the current time
5481 on 12h ampm format, due the change on the range
5482 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5485 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5487 * src/hildon-touch-selector.c
5488 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5489 in order to allow use this function on multiple row selection mode if
5490 the column is different that the first one
5493 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5495 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5496 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5498 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5500 * src/hildon-date-selector.h: clean some comments, now on the .c
5501 * src/hildon-date-selector.c
5502 (hildon_date_selector_select_month): first implementation
5503 (hildon_date_selector_select_day): added documentation, reimplemented
5504 using hildon_date_selector_select_current_date to avoid repeat code
5507 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5509 Reviewed interaction logic based on device experiences, refactored
5512 * src/hildon-pannable-area.c,
5513 (hildon_pannable_area_class_init): Updated default vmax speed.
5514 (hildon_pannable_area_calculate_velocity): Added this function, it
5515 avoids duplicate valocity calculation. Adjusted calculation to
5516 avoid problems with zero dist events.
5518 (hildon_pannable_area_motion_notify_cb): Now we use the
5519 calculate_velocity function.
5521 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5523 * src/hildon-date-selector.c
5524 (hildon_date_selector_select_current_date): fix the day range check
5525 as it failed using the last day of the current month
5528 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5530 * src/hildon-touch-selector.c
5531 (hildon_touch_selector_get_num_columns): added a parameter validation
5534 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5536 * examples/Makefile.am
5537 * examples/hildon-edit-toolbar-example.c: Example of the
5538 HildonEditToolbar widget.
5540 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5542 * configure.ac: postrelease version bump.
5544 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5548 * configure.ac: prerelease version bump.
5549 * debian/changelog: update.
5551 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5553 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5554 renderer to display stock icons in the touch list. Also, set the sizes
5555 to the recommended in the style guide.
5557 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5558 * src/hildon-touch-selector.h
5559 (hildon_touch_selector_set_active_iter): renamed, now is
5560 hildon_touch_selector_select_iter
5561 (hildon_touch_selector_get_active_iter): renamed, now is
5562 hildon_touch_selector_get_selected
5563 (hildon_touch_selector_unselect_iter): added
5564 * src/hildon-touch-selector.c
5565 Update after API modification (methods renamed)
5566 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5567 order to avoid problems selecting multiple elements on the column
5568 (hildon_touch_selector_unselect_iter): added the implementation
5569 * src/hildon-time-selector.c
5570 * src/hildon-date-selector.c
5571 * src/hildon-touch-selector-entry.c
5572 Update methods calls after hildon-touch-selector.h API modification (methods
5575 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5577 * src/hildon-stackable-window.c
5578 (hildon_stackable_window_finalize): Call the parent class's finalize.
5580 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5582 * examples/hildon-touch-selector-example.c: (create_selector): Use
5583 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5586 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5588 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5589 set a cell background color, to respect theming.
5591 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5593 * doc/hildon-docs.sgml
5596 * src/hildon-edit-toolbar.c
5597 * src/hildon-edit-toolbar.h
5598 * src/hildon.h: New HildonEditToolbar widget.
5600 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5602 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5605 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5606 * src/hildon-touch-selector.c
5607 (_create_new_column): use g_object_set instead of two g_object_set_property
5609 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5610 * src/hildon-touch-selector.c
5611 (_create_new_column): use of hildon_gtk_tree_view_new to create
5612 the treeview, instead of use directly g_object_new
5613 (_create_new_column): update the property name "vindicator-mode" for the
5614 new one "vscrollbar-policy"
5615 * examples/hildon-date-button-example.c
5616 * examples/hildon-picker-button-multicolumn-example.c
5617 * examples/hildon-touch-selector-entry-example.c
5618 * examples/hildon-touch-selector-example.c
5619 * examples/hildon-time-button-example.c
5620 * examples/hildon-picker-button-example.c
5621 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5622 to all the treeviews inside a pannable area.
5624 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5626 * src/hildon-button.h
5627 * src/hildon-button.c (hildon_button_init)
5628 (hildon_button_set_arrangement, hildon_button_set_alignment)
5629 (hildon_button_set_title_alignment)
5630 (hildon_button_set_value_alignment)
5631 (hildon_button_set_image_alignment)
5632 (hildon_button_construct_child): New methods to set the alignment
5633 of the individual components of the button (title, value,
5634 image). Also, new method to alter the xscale and yscale properties
5635 of the GtkAlignment inside the button, so more complex layouts can
5638 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5640 * src/hildon-button.c (hildon_button_style_set)
5641 (hildon_button_class_init, hildon_button_set_arrangement)
5642 (hildon_button_construct_child): Apply style properties
5643 correctly. Use the 'image-spacing' style property too.
5645 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5647 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5648 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5651 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5653 * src/hildon-pannable-area.c,
5654 (hildon_pannable_area_size_request): Fixed problem with
5655 pannable-area size_request.
5657 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5659 Added management for the grab-focus to a child widget, like a
5660 range, we need to fade out the scrollbar when releasing.
5662 * src/hildon-pannable-area.c,
5663 (hildon_pannable_area_init): Connected the grab-focus signal to
5665 (hildon_pannable_area_grab_notify): Added this function in order
5666 to manage the situation when the grab-focus ends. We have to
5667 fade-out the scrollbar.
5669 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5671 * src/hildon-app-menu.c: Minor documentation update.
5673 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5675 * src/hildon-app-menu.c
5676 * examples/hildon-app-menu-example.c (create_menu): Update
5677 examples and documentation to explain how to connect callbacks.
5679 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5681 * examples/hildon-button-example.c
5682 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5683 hildon_stackable_window_new instead of gtk_window_new
5685 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5687 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5688 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5689 (hildon_pannable_area_set_property),
5690 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5691 (hildon_pannable_area_unrealize),
5692 (hildon_pannable_area_size_request),
5693 (hildon_pannable_area_size_allocate),
5694 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5695 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5696 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5697 (hildon_pannable_area_initial_effect),
5698 (hildon_pannable_area_redraw),
5699 (hildon_pannable_area_scroll_indicator_fade),
5700 (hildon_pannable_area_expose_event),
5701 (hildon_pannable_area_get_topmost), (synth_crossing),
5702 (hildon_pannable_area_button_press_cb),
5703 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5704 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5705 (hildon_pannable_area_motion_notify_cb),
5706 (hildon_pannable_area_button_release_cb),
5707 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5708 (hildon_pannable_area_remove),
5709 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5710 chage the code layout to a more GtkWidget like. Review the use of
5713 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5715 * examples/hildon-pannable-area-example-4.c,
5716 (main): Modified the name of the hindicator_mode to
5719 * src/hildon-pannable-area.c,
5720 (hildon_pannable_area_class_init),
5721 (hildon_pannable_area_motion_notify_cb),
5722 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5723 we have reduced the amount of signals and managed reviewed its
5724 rationale. Changed the default decelerate value.
5726 (hildon_pannable_area_add),
5727 (hildon_pannable_area_redraw): Refactored functions.
5729 (hildon_pannable_area_init),
5730 (hildon_pannable_area_get_property),
5731 (hildon_pannable_area_set_property):
5732 (hildon_pannable_draw_vscroll),
5733 (hildon_pannable_draw_hscroll),
5734 (hildon_pannable_area_initial_effect),
5735 (hildon_pannable_area_expose_event),
5736 (hildon_pannable_area_scroll),
5737 (hildon_pannable_area_button_press_cb),
5738 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5739 and vindicator_mode with hscrollbar_policy and
5740 vscrollbar_policy. Replaced hscroll and vscroll with
5741 hscroll_visible and vscroll_visible.
5743 (hildon_pannable_area_refresh): Refactor the function, remove
5744 variables and check the calls to this function, added resize
5745 conditions in case the children change their layout.
5747 (hildon_pannable_area_size_request): Added more detailed
5748 size_request calculation.
5751 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5753 * src/hildon-color-chooser.c
5754 (init_borders): use the correct gtk_border_free instead of g_free, to
5755 avoid a crash when this widget is used (ie: the three color selection
5758 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5760 * src/hildon-check-button.c,
5761 (hildon_check_button_set_active): Fixed problem when setting the
5762 active value, the widget was not redrawn.
5764 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5766 * src/hildon-pannable-area.c,
5767 (hildon_pannable_area_refresh),
5768 (hildon_pannable_area_scroll),
5769 (hildon_pannable_area_motion_notify_cb): Small code style change.
5771 (hildon_pannable_area_class_init): Default initial_hint set to
5772 FALSE, it is not in the specs.
5774 (hildon_pannable_area_initial_effect),
5775 (hildon_pannable_area_expose_event),
5776 (hildon_pannable_area_map),
5777 (hildon_pannable_area_init): Moved the launching point of the
5778 initial effect, it was in map but the sizes where not correct in
5779 that method so we do not know if we have the reproduce it. Now it
5780 is placed in the expose_event method and uses a variable to
5781 reproduce it just once.
5783 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5785 * src/hildon-pannable-area.c,
5786 (hildon_pannable_draw_vscroll),
5787 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5788 position allowed for the scrollbars.
5790 (hildon_pannable_area_size_allocate): Small style change.
5792 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5794 * src/hildon-pannable-area.c,
5795 (hildon_pannable_area_scroll_indicator_fade),
5796 (hildon_pannable_area_button_press_cb),
5797 (hildon_pannable_area_button_release_cb),
5798 (hildon_pannable_area_scroll_cb),
5799 (hildon_pannable_area_expose_event),
5800 (hildon_pannable_area_init): Added the define parameter
5801 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5802 and refactor the fade variable.
5804 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5806 * src/hildon-pannable-area.c,
5807 (hildon_pannable_area_redraw),
5808 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5809 lines, we were reimplemeting the redraw code.
5811 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5813 * src/hildon-pannable-area.c,
5814 (hildon_pannable_area_scroll_cb),
5815 (hildon_pannable_area_realize),
5816 (hildon_pannable_area_class_init): Added scroll_event management
5817 for pannable area, now we can scroll the usual desktop method.
5819 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5820 initialization of the parameters should depend on idle_id.
5822 (hildon_pannable_area_init),
5823 (hildon_pannable_area_map): Small code style modifications
5825 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5827 * src/hildon-pannable-area.c
5828 (hildon_pannable_area_button_press_cb),
5829 (hildon_pannable_area_motion_notify_cb),
5830 (hildon_pannable_area_button_release_cb),
5831 (hildon_pannable_area_size_allocate),
5832 (hildon_pannable_area_scroll_to): Improved the timeouts
5833 management, we avoid creating them each time.
5835 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5837 * src/hildon-pannable-area.c:
5838 (hildon_pannable_area_refresh),
5839 (hildon_pannable_area_motion_notify_cb),
5840 (hildon_pannable_area_class_init):
5841 * src/hildon-pannable-area.h:
5842 * src/hildon-touch-selector.c
5843 (_create_new_column):
5844 * examples/hildon-pannable-area-example-4.c:
5845 (horizontal_movement),
5846 (vertical_movement),
5848 Replaced the names of enums in the HildonPannableArea:
5849 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5850 HILDON_MOVEMENT_MODE_*
5851 - HILDON_PANNABLE_AREA_MOV_* ->
5853 - Removed HildonPannableAreaIndicatorMode, now we
5856 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5858 * examples/hildon-pannable-area-touch-grid-example.c
5859 * examples/hildon-pannable-area-touch-list-example.c: Fix
5860 compilation warnings.
5862 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5864 * src/hildon-gtk.c (hildon_gtk_button_new)
5865 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5866 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5867 images overriding the value of the "gtk-button-images" setting.
5869 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5871 * src/hildon-check-button.c (hildon_check_button_new):
5872 Instead of using a custom container, display the label and the
5873 checkbox using the standard GtkButton API.
5875 * examples/hildon-check-button-example.c (main): Don't use
5876 hildon_check_button_set_label() anymore
5878 * src/hildon-check-button.h
5879 * src/hildon-check-button.c
5880 (hildon_check_button_set_label, hildon_check_button_get_label):
5881 Set as deprecated, now we're using gtk_button_{get,set}_label()
5883 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5885 * src/hildon-pannable-area.c,
5886 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5887 GtkTreeview first line we detected it after the inclusion of the
5888 GtkWindowImpl in gtk+. We now check if the window is visible, not
5889 just if the pointer is over the window.
5890 (hildon_pannable_axis_scroll),
5891 (hildon_pannable_area_expose_event): Small style changes.
5893 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5895 * src/hildon-button.c: Update documentation.
5897 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5899 * examples/hildon-button-example.c: Add a switch to show images in
5902 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5904 * doc/hildon-docs.sgml: Some docs reorganization.
5906 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5908 * examples/hildon-pannable-area-touch-list-example.c
5910 * examples/hildon-pannable-area-touch-grid-example.c
5911 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5912 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5913 Fix memory leak when setting the tree model.
5915 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5919 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5921 * doc/hildon.types: Remove duplicated hildon_window_get_type
5922 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5923 documentation comment.
5925 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5927 * doc/Makefile.am: Complete list of private headers.
5929 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5931 * doc/hildon-docs.sgml
5932 * src/hildon-app-menu.c
5933 * src/hildon-bread-crumb.c
5934 * src/hildon-button.c
5936 * src/hildon-program.c
5937 * src/hildon-stackable-window.c
5938 * src/hildon-window.c: Lots of documentation updates.
5940 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5942 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5944 * configure.ac: Require Gtk+ 2.12.9 at least
5946 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5948 * src/hildon-pannable-area.c
5949 (hildon_pannable_area_scroll_indicator_fade),
5950 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5951 to protect the return of this timeout callbacks, avoiding deadlocks.
5953 2008-08-12 Christian Dywan <christian@imendio.com>
5956 * src/hildon-*.h: Ensure a consistent include order,
5957 include <gtk/gtk.h> instead of particular files and
5958 only include the topmost header in the gtk stack. See NB #39857
5960 2008-08-12 Christian Dywan <christian@imendio.com>
5962 * src/hildon-picker-dialog.c
5963 * src/hildon-touch-selector.c: Fix warnings about unused and
5964 uninitialized variables.
5966 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5968 * examples/Makefile.am
5969 * examples/hildon-check-button-example.c: Example of the hildon
5972 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5974 * src/hildon-window.h
5975 * src/hildon-window.c (hildon_window_class_init)
5976 (hildon_window_unset_program): Don't make
5977 hildon_window_unset_program a virtual function anymore.
5979 * src/hildon-stackable-window.c: Update documentation
5981 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5984 * doc/hildon-docs.sgml
5985 * doc/visual_index.xml
5986 * src/hildon-defines.c
5988 * src/hildon-helper.c
5989 * src/hildon-range-editor.c: Lots of documentation fixes.
5991 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5993 * examples/hildon-picker-button-multicolumn-example.c
5994 (create_touch_selector): Fix compilation warning.
5996 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5998 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5999 (hildon_pannable_area_button_release_cb)
6000 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6002 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6004 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6007 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6009 * src/hildon-bread-crumb-trail.h
6010 * src/hildon-date-editor.c
6011 * src/hildon-date-selector.c
6012 * src/hildon-pannable-area.c
6013 * src/hildon-picker-dialog.c
6014 * src/hildon-time-selector.c
6015 * src/hildon-touch-selector-entry.c
6016 * src/hildon-touch-selector.c
6017 * src/hildon-touch-selector.h: Misc documentation fixes
6019 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6021 * examples/hildon-date-editor-example.c (main): Updated date
6024 * examples/hildon-note-example.c (on_confirmation_clicked):
6025 Updated confirmation note example.
6027 * src/hildon-date-editor.c
6028 * src/hildon-note.c: Updated sample programs in documentation.
6031 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6033 * src/hildon-date-button.h:
6034 * src/hildon-picker-button.h:
6035 * src/hildon-time-button.c:
6036 * src/hildon-time-button.h:
6038 Some declarations changes to allow gtk-doc to document the widgets
6041 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6043 * src/hildon-date-button.c: Document the widget.
6044 * src/hildon-time-button.c: Document the widget.
6046 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6048 * src/hildon-picker-button.c: Document the widget.
6049 * src/hildon-touch-selector-entry.c: Document the widget.
6051 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6053 * doc/hildon-docs.sgml
6056 * src/hildon-check-button.h
6057 * src/hildon-check-button.c: New functions to create the Hildon
6061 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6063 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6065 * src/hildon-button.h
6066 * src/hildon-button.c
6067 (hildon_button_add_title_size_group)
6068 (hildon_button_add_value_size_group)
6069 (hildon_button_add_image_size_group)
6070 (hildon_button_add_size_groups): New functions to set size groups
6071 for the button labels and image.
6072 (hildon_button_new_full): Removed
6074 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6076 * src/hildon-time-selector.c
6077 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6078 in order to avoid a crash if gconf is not available
6080 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6082 * src/hildon-button.c (hildon_button_set_arrangement)
6083 (hildon_button_construct_child): Don't construct the button child
6084 before setting the arrangement.
6086 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6088 * src/hildon-program-private.h
6089 * src/hildon-program.c
6090 * src/hildon-program.h
6091 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6092 (hildon_program_peek_window_stack)
6093 (hildon_program_pop_window_stack)
6094 (hildon_program_go_to_root_window): HildonProgram now has a
6095 separate list for stackable windows. Functions are provided to
6096 manage that list with a stack-like API.
6098 * src/hildon-stackable-window.c: Stackable window management is
6099 now much simpler with the new HildonProgram API. Windows no
6100 longer need to be manually added to the program, they're
6101 automatically pushed to the top of the stack when shown.
6103 * examples/hildon-stackable-window-example.c: Updated example to
6104 reflect the API changes.
6106 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6108 * src/hildon-touch-selector.c: Comment out unimplemented
6109 hildon_touch_selector_insert_column() to avoid a compile warning.
6111 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6113 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6114 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6115 (hildon_touch_selector_set_column_selection_mode),
6116 (_hildon_touch_selector_set_model),
6117 (hildon_touch_selector_set_model):
6119 Complete review of HildonTouchSelector documentation.
6121 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6123 * doc/hildon-docs.sgml
6127 * src/hildon-gtk.c: Convenience functions for standard Gtk
6128 widgets, used to easily perform frequent operations.
6130 * src/hildon-button-helpers.h
6131 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6133 * src/hildon-helper.h
6134 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6135 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6137 * src/hildon-button.h
6138 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6140 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6142 * src/hildon-button.c (hildon_button_init)
6143 (hildon_button_set_arrangement, hildon_button_construct_child):
6144 Pack the image and the labels inside the same GtkAlignment so
6145 gtk_button_set_alignment() can be used
6147 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6149 * src/hildon-button.h
6150 * src/hildon-button.c
6151 (hildon_button_init, hildon_button_set_image)
6152 (hildon_button_set_image_position)
6153 (hildon_button_construct_child): New functions to add an image to
6156 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6158 * src/hildon-date-button.c
6159 * src/hildon-picker-button.c
6160 * src/hildon-time-button.c
6161 * src/hildon-button.c:
6162 (hildon_button_class_init): "size-flags" renamed to "size"
6163 (hildon_button_set_title): Hide the title label if set to NULL.
6165 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6167 HildonButtonFlags split into HildonButtonArrangement (to set the
6168 button layout) and HildonSizeType (which can be used for any
6171 * src/hildon-button.h
6172 * src/hildon-button.c
6173 (hildon_button_class_init)
6174 (hildon_button_set_arrangement)
6175 (hildon_button_set_property): New "size-flags"
6176 property. "arrangement-flags" renamed to "arrangement".
6177 (hildon_button_new, hildon_button_new_with_text)
6178 (hildon_button_new_full): Constructors updated to reflect type changes.
6180 * src/hildon-helper.h
6181 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6182 to set the size of a widget.
6186 * src/hildon-button-helpers.c
6187 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6189 * src/hildon-date-button.c
6190 * src/hildon-date-button.h
6191 * src/hildon-picker-button.c
6192 * src/hildon-picker-button.h
6193 * src/hildon-time-button.c
6194 * src/hildon-time-button.h: Updated widgets to reflect
6195 HildonButton API changes.
6197 * examples/hildon-button-example.c
6198 * examples/hildon-date-button-example.c
6199 * examples/hildon-picker-button-example.c
6200 * examples/hildon-picker-button-multicolumn-example.c
6201 * examples/hildon-time-button-example.c
6202 * examples/hildon-touch-selector-entry-example.c
6203 * examples/hildon-touch-selector-example.c: Updated examples to
6204 reflect HildonButton API changes.
6206 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6208 * doc/hildon-docs.sgml:
6210 * examples/Makefile.am:
6211 * examples/hildon-touch-selector-entry-example.c:
6213 * src/hildon-touch-selector-entry.c:
6214 * src/hildon-touch-selector-entry.h:
6217 Moved HildonTouchSelectorEntry from sandbox. Added its
6218 documentation and examples.
6220 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6222 * src/hildon-touch-selector.h:
6223 * examples/hildon-picker-button-multicolumn-example.c:
6224 (hildon_touch_selector_append_text_column): Add a gboolean
6225 parameter to determine if text must be centered in the column.
6227 * src/hildon-date-selector.c: (hildon_date_selector_init):
6228 * src/hildon-time-selector.c: (hildon_time_selector_init):
6229 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6230 (create_touch_selector): Update widgets and example to reflect
6233 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6235 * src/hildon-touch-selector.c:
6236 (hildon_touch_selector_set_active_iter): Set also the cursor in
6239 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6241 * doc/hildon-docs.sgml
6244 * src/hildon-toggle-button.c
6245 * src/hildon-toggle-button.h
6246 * src/hildon.h: Removed HildonToggleButton widget, a derived
6247 class is not necessary for this.
6249 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6251 * src/hildon-pannable-area.c,
6252 (hildon_pannable_area_realize),
6253 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6256 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6258 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6259 "done" button the default widget for the dialog.
6261 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6263 * src/hildon-touch-selector.c:
6264 (hildon_touch_selector_class_init),
6265 (hildon_touch_selector_get_property),
6266 (_hildon_touch_selector_set_model),
6267 (_hildon_touch_selector_has_multiple_selection),
6268 (hildon_touch_selector_has_multiple_selection):
6269 Add a "has-multiple-selection" property with a virtual
6270 has_multiple_selection() method to allow derived classes to
6271 override the default value for it. See the method and property
6272 documentation for details.
6274 * src/hildon-touch-selector.h: Add the new API.
6276 * src/hildon-picker-dialog.c: (requires_done_button): Call
6277 hildon_touch_selector_has_multiple_selection() instead of
6278 determining the need for a button itself.
6280 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6282 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6283 (_hildon_touch_selector_set_model),
6284 (hildon_touch_selector_set_model): Move working code to
6285 _hildon_touch_selector_set_mode(). Call the class method instead.
6287 * src/hildon-touch-selector.h: Add (*set_model) to
6288 HildonTouchSelectorClass.
6290 Make hildon_touch_selector_set_model() a virtual method, so that
6291 derived classes can extend it and do fancy stuff with the model.
6293 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6295 * configure.ac: Set back the tarname in AC_INIT to hildon.
6297 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6301 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6302 instead of libesd (NB#86876). Volume handling is still an open issue.
6304 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6307 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6309 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6310 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6311 derived class to ease placement of an entry widget in
6312 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6313 end, where the selector columns are packed now.
6315 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6317 * src/hildon-picker-button.c: Removed the simple _text() API.
6318 * src/hildon-picker-button.h: Likewise.
6320 * src/hildon-touch-selector.h:
6321 * src/hildon-touch-selector.c:
6322 (hildon_touch_selector_new_text),
6323 (hildon_touch_selector_append_text),
6324 (hildon_touch_selector_prepend_text),
6325 (hildon_touch_selector_insert_text):
6327 Moved the simple _text() API from HildonPickerButton to
6328 HildonTouchPicker, to provide better escalability and not to tie
6329 that API to HildonPickerButton.
6331 * examples/hildon-picker-button-example.c: (main): Example updated.
6333 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6335 * src/hildon-button.c: Updated documentation.
6337 * examples/hildon-button-example.c: Add the posibility to create
6338 the buttons using horizontal layout for title and value.
6340 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6342 * src/hildon-app-menu-private.h
6343 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6344 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6345 GtkSizeGroup for the filters, use the 'homogeneous' property of
6348 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6350 * examples/hildon-button-example.c: Updated example.
6352 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6354 * doc/hildon-docs.sgml:
6357 Update documentation.
6359 * examples/Makefile.am: Update renamed examples.
6361 * examples/hildon-picker-button-multicolumn-example.c:
6362 (create_touch_selector), (main): Update after the rename.
6364 * examples/hildon-touch-picker-example.c: Removed.
6365 * examples/hildon-touch-selector-example.c: (value_changed),
6366 (create_selector), (get_visible_content), (main): Renamed from
6367 hildon-touch-picker-example.c
6369 * src/Makefile.am: Updated renamed files.
6371 * src/hildon-date-button.c: (hildon_date_button_init),
6372 (hildon_date_button_get_date), (hildon_date_button_set_date):
6373 * src/hildon-date-selector.c: (hildon_date_selector_init),
6374 (_custom_print_func), (_update_day_model),
6375 (_manage_selector_change_cb),
6376 (hildon_date_selector_select_current_date),
6377 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6378 * src/hildon-date-selector.h:
6379 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6380 (hildon_picker_button_set_property),
6381 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6382 (hildon_picker_button_init), (hildon_picker_button_new_text),
6383 (hildon_picker_button_append_text),
6384 (hildon_picker_button_prepend_text),
6385 (hildon_picker_button_insert_text),
6386 (hildon_picker_button_set_selector),
6387 (hildon_picker_button_get_selector):
6388 * src/hildon-picker-button.h:
6389 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6390 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6391 (_update_title_on_selector_changed_cb), (requires_done_button),
6392 (_hildon_picker_dialog_set_selector),
6393 (hildon_picker_dialog_set_selector),
6394 (hildon_picker_dialog_get_selector):
6395 * src/hildon-picker-dialog.h:
6396 * src/hildon-time-button.c: (hildon_time_button_init),
6397 (hildon_time_button_get_time), (hildon_time_button_set_time):
6398 * src/hildon-time-selector.c: (hildon_time_selector_init),
6399 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6400 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6401 * src/hildon-time-selector.h:
6404 Massive code updates after the rename.
6406 * src/hildon-touch-picker.c: Removed.
6407 * src/hildon-touch-picker.h: Removed.
6409 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6410 (hildon_touch_selector_init), (hildon_touch_selector_map),
6411 (hildon_touch_selector_remove), (_default_print_func),
6412 (_selection_changed_cb), (_create_new_column),
6413 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6414 (hildon_touch_selector_append_text_column),
6415 (hildon_touch_selector_remove_column),
6416 (hildon_touch_selector_set_column_attributes),
6417 (hildon_touch_selector_insert_column),
6418 (hildon_touch_selector_get_num_columns),
6419 (hildon_touch_selector_get_column_selection_mode),
6420 (hildon_touch_selector_set_column_selection_mode),
6421 (hildon_touch_selector_set_print_func),
6422 (hildon_touch_selector_get_print_func),
6423 (hildon_touch_selector_get_active_iter),
6424 (hildon_touch_selector_set_active_iter),
6425 (hildon_touch_selector_get_selected_rows),
6426 (hildon_touch_selector_get_model),
6427 (hildon_touch_selector_set_model),
6428 (hildon_touch_selector_get_current_text),
6429 (_hildon_touch_selector_center_on_selected_items):
6430 * src/hildon-touch-selector.h: Renamed from
6431 hildon-touch-picker.[ch]
6433 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6434 references, code examples, and related documentation.
6436 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6438 * doc/hildon-docs.sgml
6441 * src/hildon-toggle-button.c
6442 * src/hildon-toggle-button.h
6443 * src/hildon.h: New HildonToggleButton widget.
6445 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6447 * src/hildon-button.c: Add API documentation.
6448 (hildon_button_set_size_groups): Check input parameters
6450 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6452 * src/hildon-pannable-area.c
6453 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6454 effect after reaching the movement thredshold. This way we start
6455 using the distance after passing the thredshold.
6457 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6459 * src/hildon-button.c: (hildon_button_set_property): Use the
6460 appropriate g_value_get_flags() method.
6462 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6464 * doc/hildon-docs.sgml:
6467 Add the touch pickers, picker dialogs, and picker button widgets
6468 to the documentation.
6470 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6472 * src/hildon-button.c: (hildon_button_set_property),
6473 (hildon_button_class_init): Make "arrangement-flags" a proper
6474 G_TYPE_FLAGS derived property.
6476 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6478 * examples/Makefile.am: Add below examples.
6479 * examples/hildon-date-button-example.c:
6480 * examples/hildon-picker-button-example.c:
6481 * examples/hildon-picker-button-multicolumn-example.c:
6482 * examples/hildon-time-button-example.c:
6483 * examples/hildon-touch-picker-example.c:
6485 Add examples for the recently added touch pickers,
6486 picker dialogs, and picker button widgets.
6488 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6490 * src/hildon-button.c: Add some API documentation
6492 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6494 * src/hildon-button.h
6495 * src/hildon-button.c
6497 (hildon_button_new_with_text): New constructor to create a button
6498 with no text at all.
6499 (hildon_button_init, hildon_button_set_arrangement)
6500 (hildon_button_set_title, hildon_button_set_value)
6501 (hildon_button_set_text)
6502 (hildon_button_construct_child): Hide the value when it's not used
6503 so the rest of the text is properly aligned.
6504 Allow creating buttons with arbitrary widgets inside (not just
6505 title/value labels).
6507 * examples/hildon-button-example.c (vertical_buttons_window)
6508 (horizontal_buttons_window): Update example to use new API.
6510 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6512 * src/Makefile.am: Added HildonTimeButton.
6513 * src/hildon-time-button.c: Added missing LGPL header.
6514 * src/hildon-time-button.h: Added missing LGPL header.
6515 * src/hildon.h: Add hildon-time-button.h
6517 Copied HildonTimeButton from sandbox to trunk. Future work on this
6518 widget must take place in trunk.
6520 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6522 * src/Makefile.am: Added HildonDateButton.
6523 * src/hildon-date-button.c: Update includes.
6524 * src/hildon.h: Add hildon-date-button.h
6526 Copied HildonDateButton from sandbox to trunk. Future work on this
6527 widget must take place in trunk.
6529 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6531 * src/Makefile.am: Added HildonPickerButton.
6532 * src/hildon-picker-button.h: Update includes.
6533 * src/hildon.h: Add hildon-picker-button.h
6535 Copied HildonPickerButton from sandbox to trunk. Future work on
6536 this widget must take place in trunk.
6538 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6540 * src/Makefile.am: Added HildonPickerDialog.
6541 * src/hildon-picker-dialog.c: Update includes.
6542 * src/hildon.h: Add hildon-picker-dialog.h
6544 Copied HildonPickerDialog from sandbox to trunk. Future work
6545 on this widget must take place in trunk.
6547 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6549 * src/Makefile.am: Added HildonTimeSelector.
6550 * src/hildon.h: Add hildon-time-selector.h
6552 Copied HildonTimeSelector widget from sandbox to trunk. Future
6553 work on this widget must happen in trunk.
6555 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6557 * src/Makefile.am: Added HildonDateSelector.
6558 * src/hildon.h: Add hildon-date-selector.h
6560 Copied HildonDateSelector widget from sandbox to trunk. Future
6561 work on this widget must happen in trunk.
6563 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6565 * src/Makefile.am: Added HildonTouchPicker.
6566 * src/hildon-touch-picker.c: Update includes.
6567 * src/hildon.h: Add hildon-touch-picker.h
6569 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6570 on this widget must happen in trunk.
6572 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6574 * src/hildon-pannable-area.c:
6575 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6577 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6579 * examples/hildon-app-menu-example.c (main): Let the window
6582 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6584 * src/hildon-pannable-area.c
6585 (hildon_pannable_area_class_init): Set the min value of the
6586 overshoot properties to zero, which points out that not
6587 overshooting allowed.
6589 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6591 Modified the procedure to get the widget at a point inside the
6592 pannable area when using the movement type signals. Now the user
6593 has to call a function to get the child, that way we just
6594 calculate the child in case the user really want to use it and not
6597 * src/hildon-marshalers.list: Modified the marshallers, now we do
6598 not have the widget as a parameter.
6600 * src/hildon-pannable-area.c
6601 (hildon_pannable_area_motion_notify_cb),
6602 (hildon_pannable_area_class_init),
6603 (hildon_pannable_get_child_widget_at): Removed the widget
6604 parameter from the signal callback. We have also refactored the
6605 emission of the signals.
6607 * src/hildon-pannable-area.h: Added a new method to the API to
6608 calculate a widget at a point inside the pannable area,
6609 hildon_pannable_get_child_widget_at.
6611 * examples/hildon-pannable-area-example-4.c
6612 (horizontal_movement): Modified the example to use the new API,
6613 added condition to control which widget is under the event. This
6614 way we can avoid scrolling laterally over other widgets.
6616 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6618 * src/hildon-pannable-area.c
6619 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6620 modes, we stop getting the pointer events due to returning the
6621 callback without properly calling the get pointer again. Fixed
6622 also an error using the hscroll and vscroll.
6624 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6626 * src/hildon-app-menu-private.h
6627 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6628 (hildon_app_menu_button_release, hildon_app_menu_init)
6629 (hildon_app_menu_class_init): Don't hide the menu on button
6630 release if the user didn't press outside first.
6632 * src/hildon-window.h
6633 * src/hildon-window.c (hildon_window_toggle_menu)
6634 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6635 hildon_window_toggle_menu a virtual function for the stackable
6636 window to override it.
6638 * src/hildon-stackable-window.h
6639 * src/hildon-stackable-window-private.h
6640 * src/hildon-stackable-window.c
6641 (hildon_stackable_window_realize)
6642 (hildon_stackable_window_finalize)
6643 (hildon_stackable_window_class_init)
6644 (hildon_stackable_window_init)
6645 (hildon_stackable_window_set_main_menu): New function to set the
6646 app menu of a HildonStackableWindow.
6648 * examples/hildon-app-menu-example.c: Remove the button to show
6649 the app menu, now it'll be shown when clicking on the title bar
6652 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6654 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6655 set the widget name if the arrangement flags do not specify
6658 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6660 * src/hildon-button.c: (hildon_button_set_property),
6661 (hildon_button_class_init), (hildon_button_new_full),
6662 (hildon_button_set_arrangement): Added "arrangement-flags"
6665 Make the HildonButtonFlags a construction-only property, to allow
6666 subclasses to set them properly.
6668 2008-07-21 Tim Janik <timj@imendio.com>
6670 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6671 insertion position after backspace, so additional digits are appended,
6674 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6676 * src/hildon-pannable-area.c,
6677 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6678 TODO list, it was complete and removed the g_debug and g_print
6681 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6683 Added the movement modes to the hildon-pannable-area, with this
6684 modes the developers can control in which directions the widget
6685 can scroll. They can also connect to signals in order to do
6686 something when that happens, allowing applications scroll. There
6687 is an example uploaded showing how to use it.
6689 * examples/Makefile.am:
6690 * examples/hildon-pannable-area-example-4.c: Added this example of
6691 an application using the modes.
6693 * src/hildon-marshalers.list: Added a new marshaller for the new
6696 * src/hildon-pannable-area.h: Added new enumerations and flags in
6697 order to control the movement modes and the new signals to warn
6698 about the movements in the area.
6700 * src/hildon-pannable-area.c:
6701 (hildon_pannable_axis_scroll),
6702 (hildon_pannable_area_scroll),
6703 (hildon_pannable_area_motion_notify_cb),
6704 (hildon_pannable_area_get_property),
6705 (hildon_pannable_area_set_property),
6706 (hildon_pannable_area_map),
6707 (hildon_pannable_area_class_init),
6708 (hildon_pannable_area_init),
6709 (hildon_pannable_area_jump_to): Added the modes to control the
6710 movement in the widget. We have added properties to control it,
6711 signals to warn about the movements and refactored some code.
6713 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6715 Changes required in order to allow vfast_factor set to zero to
6718 * src/hildon-pannable-area.c:
6719 (hildon_pannable_area_button_press_cb): Changed the condition, it
6720 is required for not allowing click when vfast_factor is zero.
6721 (hildon_pannable_area_timeout): Initialized velocity variables
6722 when we stop moving, it was less than 1 but not zero and we need
6723 to check zero in some situations.
6724 (hildon_pannable_area_class_init): Changed the default value of
6725 the speed factor, now the button_press is just sent in case the
6726 speed is 2 per cent of the max speed.
6727 (hildon_pannable_area_init): Initialization with 0.
6729 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6731 * src/hildon-pannable-area.c,
6732 (hildon_pannable_area_get_topmost): replaced
6733 gdk_window_get_children with gdk_window_peek_children, this way we
6734 do not have to free the list because it is not a copy.
6736 (hildon_pannable_axis_scroll),
6737 (hildon_pannable_area_scroll),
6738 (hildon_pannable_area_timeout),
6739 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6740 two parameters that were only used inside the
6741 hildon_pannable_area_scroll function.
6743 * examples/hildon-pannable-area-example.c,
6744 (get_sawtooth_label): Fixed small memory leak.
6746 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6748 More checks for the case where the overshoot is bigger than the
6751 * src/hildon-pannable-area.c:
6752 (hildon_pannable_draw_vscroll),
6753 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6754 to draw the slider of the scrollbar under the other scrollbar.
6755 (hildon_pannable_area_expose_event): added new checks to control
6756 the drawing of the overshooting area rectangle, in case it is too
6757 big for the area of the widget.
6758 (hildon_pannable_area_size_allocate): add more checks to avoid
6759 setting a position to the child widget outside the area.
6761 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6763 * src/hildon-pannable-area.c
6764 (hildon_pannable_area_size_allocate): Added conditions to control
6765 when overshooting is bigger than the allocated space for the
6766 children, this avoids negative allocations.
6768 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6770 * doc/hildon-docs.sgml
6772 * examples/Makefile.am
6773 * examples/hildon-button-example.c
6775 * src/hildon-button.c
6776 * src/hildon-button.h
6777 * src/hildon.h: Initial version of the new HildonButton widget,
6780 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6782 * src/hildon-pannable-area.c:
6783 (hildon_pannable_area_button_press_cb),
6784 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6785 (hildon_pannable_area_motion_notify_cb),
6786 (hildon_pannable_area_button_release_cb),
6787 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6788 (hildon_pannable_area_jump_to_child):
6790 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6792 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6794 * examples/Makefile.am
6795 * examples/hildon-pannable-area-touch-grid-example.c
6796 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6797 the Hildon Touch List and Hildon Touch Grid using the
6798 HildonPannableArea widget.
6800 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6802 * src/hildon-pannable-area.c,
6803 (hildon_pannable_area_button_press_cb),
6804 (hildon_pannable_area_refresh),
6805 (hildon_pannable_area_scroll),
6806 (hildon_pannable_area_motion_notify_cb),
6807 (hildon_pannable_area_button_release_cb),
6808 (hildon_pannable_area_expose_event),
6809 (hildon_pannable_area_add),
6810 (hildon_pannable_area_remove),
6811 (hildon_pannable_area_realize),
6812 (hildon_pannable_area_size_allocate),
6813 (hildon_pannable_area_class_init),
6814 (hildon_pannable_area_init),
6815 (hildon_pannable_area_scroll_to_child),
6816 (hildon_pannable_area_jump_to_child): Fixed the problem of
6817 removing the child from the GtkBin, we have rearranged the widget
6818 hierarchy, now there is no GtkAlignment which was not doing
6819 anything interesting but breaking some of the assumptions of
6820 GtkContainer. Now developers if they want to add a GtkAlignment
6821 they could, but it is not inside the area.
6823 We had to review the whole allocation/expose process, now it is
6824 improved and we save at least three signals which would be saving
6825 some time when rendering the widget. The allocation of the
6826 scrollbars is now made in the allocate method as usual.
6828 We have also added some conditions in order to control when there
6829 is no child of the pannable area. Maybe we will need more work
6832 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6834 * src/hildon-pannable-area.c,
6835 (hildon_pannable_area_dispose): Released the fade-out timeout when
6836 disposing the widget.
6838 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6840 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6841 zero, we are going to use that property in order to deactivate the
6843 (hildon_pannable_axis_scroll),
6844 (hildon_pannable_area_size_allocate): Added conditions to control
6845 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6846 call, now it is called in all situations and we can remove calls
6847 in the allocate method.
6848 (hildon_pannable_area_map): Control the situation when
6849 overshoot_max is zero, we do not need the timeout.
6850 (hildon_pannable_area_class_init): Added documentation in order to
6851 point out that setting zero to overshoot_max means deactivate
6854 NOTE: removed trailing whitespaces from my previous comments of
6857 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6859 * src/hildon-pannable-area.c
6860 (hildon_pannable_area_get_property),
6861 (hildon_pannable_area_set_property),
6862 (hildon_pannable_area_map),
6863 (hildon_pannable_area_class_init),
6864 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6865 to cause the widget give a hint about its panning abilities upon
6868 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6870 * src/hildon-pannable-area.c: Several documentation improvements.
6872 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6874 * src/hildon-program.c
6875 * src/hildon-stackable-window.c: Update documentation.
6877 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6879 * src/hildon-stackable-window.c (get_previous_window_if_last):
6880 Renamed get_last_window()
6881 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6882 (hildon_stackable_window_unset_program):
6884 (get_previous_window_if_last):
6885 Detect if the window hasn't been added to a HildonProgram.
6887 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6889 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6891 * src/hildon-pannable-area.c
6892 (hildon_pannable_area_button_press_cb),
6893 (hildon_pannable_axis_scroll),
6894 (hildon_pannable_area_scroll),
6895 (hildon_pannable_area_timeout),
6896 (hildon_pannable_calculate_vel_factor),
6897 (hildon_pannable_area_get_property),
6898 (hildon_pannable_area_set_property),
6899 (hildon_pannable_area_class_init),
6900 (hildon_pannable_area_init),
6901 (hildon_pannable_area_scroll_to),
6902 (hildon_pannable_area_jump_to),
6903 (hildon_pannable_area_scroll_to_child),
6904 (hildon_pannable_area_jump_to_child):
6905 * src/hildon-pannable-area.h: Added the new API functions:
6906 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6907 hildon_pannable_area_scroll_to_child,
6908 hildon_pannable_area_jump_to_child
6911 * examples/Makefile.am
6912 * examples/hildon-pannable-area-example-2.c
6913 * examples/hildon-pannable-area-example-3.c: Added these two new
6914 examples in order to test and show how the new APIs work.
6916 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6918 * examples/hildon-stackable-window-example.c (new_window):
6919 * src/Makefile.am (noinst_HEADERS):
6920 * src/hildon-program.c (hildon_program_go_to_root_window):
6921 * src/hildon-program.h:
6922 * src/hildon-stackable-window-private.h:
6923 * src/hildon-stackable-window.c:
6924 * src/hildon-stackable-window.h:
6925 Create hildon-stackable-window-private.h
6926 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6928 * examples/hildon-app-menu-example.c (create_menu):
6929 * examples/hildon-hvolumebar-insensitive-example.c (main):
6930 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6931 * examples/hildon-toolbar-seekbar-example.c (main):
6932 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6933 * src/hildon-banner.c (hildon_banner_set_property):
6934 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6935 Fix compilation warnings
6937 * src/hildon-window.c:
6940 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6942 * src/hildon-stackable-window.c
6943 (hildon_stackable_window_unset_program):
6944 Calculate correctly whether to show the previous window if the
6945 last one is removed from the stack.
6946 (hildon_stackable_window_go_to_root_window):
6947 Send delete events starting from the topmost window.
6948 Stop if one of the windows is not destroyed.
6950 (hildon_stackable_window_delete_event)
6951 (hildon_stackable_window_class_init):
6952 Ignore the delete event if the window is not the topmost one.
6954 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6956 * src/hildon-pannable-area.c
6957 (hildon_pannable_area_expose_event): Fixed a problem when
6958 selecting the background color of the scrollbars.
6960 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6962 * examples/hildon-stackable-window-example.c
6963 * src/hildon-stackable-window.c
6964 * src/hildon-stackable-window.h
6965 hildon_stackable_window_go_home() renamed to
6966 hildon_stackable_window_go_to_root_window()
6967 Send delete events to windows rather than closing them with
6968 gtk_widget_destroy()
6970 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6972 * src/hildon-pannable-area.c
6973 (hildon_pannable_area_button_release_cb): Fix overshooting in
6976 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6978 * src/hildon-pannable-area.c
6979 (hildon_pannable_area_init): Initially show the scroll indicators.
6980 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6982 Add initial effect showing the widget is pannable.
6984 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6986 * src/hildon-pannable-area.c
6987 (hildon_pannable_area_class_init)
6988 (hildon_pannable_area_set_property)
6989 (hildon_pannable_area_get_property)
6990 (hildon_pannable_area_button_press_cb):
6991 New 'velocity_fast_factor' property to decide which velocity is
6994 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6996 * src/hildon-pannable-area.c
6997 (hildon_pannable_draw_hscroll)
6998 (hildon_pannable_draw_vscroll):
6999 Use float variables to calculate the size of the scrollbars to
7000 avoid error propagation and resizing during scrolling.
7002 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7004 * src/hildon-pannable-area.c
7005 (hildon_pannable_draw_vscroll)
7006 (hildon_pannable_draw_hscroll):
7007 Define a minimum size for the scroll bars
7009 * src/hildon-stackable-window.c
7010 (hildon_stackable_window_go_home): Fix compilation warning
7011 (get_last_window): Minor optimizations
7012 (hildon_stackable_window_class_init): Fix initialization of
7015 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7017 * src/hildon-stackable-window.c: Fixed typos in doc
7019 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7021 * src/hildon-pannable-area.c
7022 (hildon_pannable_area_scroll):
7023 Calculate here whether we need to scroll instead of using the booleans
7024 that tell us whether to /draw/ the scrolling bars.
7026 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7028 * src/hildon-app-menu.h
7030 * src/hildon-app-menu.c
7031 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7032 multiple filter groups related code and API. Now we support only
7034 * examples/hildon-app-menu-example.c:
7036 Update to reflect API changes.
7038 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7040 * src/hildon-stackable-window.c
7041 (hildon_stackable_window_class_init):
7042 Add hildon_stackable_window_realize.
7043 (hildon_stackable_window_realize):
7044 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7045 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7046 to apply theming and behavior specific to HildonStackableWindow
7049 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7051 * src/hildon-note.c (hildon_note_button_release):
7052 Close information notes also when tapping on them
7054 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7056 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7057 ELASTICITY, refactor and review, fix some issues with drawing
7060 * src/hildon-pannable-area.c:
7061 (hildon_pannable_area_button_press_cb): removed the conditions to
7062 avoid clicks when overshooting. It is not required
7064 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7065 define. Refatored and reviewed the code, now we do not need to
7066 manage velocity in motion_notify.
7068 (hildon_pannable_area_motion_notify_cb): We have moved the code
7069 that controls the area_scroll to the axis_scroll function and get
7070 rid of duplicated code.
7072 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7074 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7076 (hildon_pannable_draw_vscroll),
7077 (hildon_pannable_draw_hscroll): Fixed the problems with the
7078 scrollbar drawing, now we do not use two surfaces, it is easier
7079 and saves resources.
7081 (hildon_pannable_area_get_property): Style modification.
7083 (hildon_pannable_area_class_init): Changed some default values.
7085 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7087 * src/hildon-stackable-window.c: Fix some typos in the
7090 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7092 * src/hildon-dialog.c:
7093 Change indentation style
7096 (hildon_note_button_release):
7097 Use root coordinates to check if the release event happened
7100 * src/hildon-app-menu.c
7101 (hildon_app_menu_button_release):
7102 Remove unnecessary check
7104 * examples/hildon-app-menu-example.c
7106 Add cast to fix warning
7108 * src/hildon-app-menu.c
7109 (hildon_app_menu_class_init):
7110 New inner-border style property.
7111 Set all default spacings to 16
7112 (hildon_app_menu_init):
7113 Use vertical-spacing to set the space between filter buttons and
7114 regular menu buttons.
7115 Set the default container border using the inner-border value.
7117 * examples/hildon-app-menu-example.c
7119 Don't set the menu border explicitly, now we have the inner-border
7120 style property for that.
7122 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7124 * src/hildon-app-menu.c (hildon_app_menu_init):
7125 Make the window modal
7127 * src/hildon-note.c (hildon_note_map)
7128 * src/hildon-app-menu.c (hildon_app_menu_map):
7129 Destroy the grab window if we're unable to grab the pointer
7131 * src/hildon-app-menu-private.h
7132 * src/hildon-app-menu.c
7133 (hildon_app_menu_init, hildon_app_menu_finalize)
7134 (hildon_app_menu_map, hildon_app_menu_unmap)
7135 (hildon_app_menu_button_release)
7136 (grab_transfer_window_get):
7137 Bring back the grab window
7138 (hildon_app_menu_realize):
7139 Decorate the window, set WM hint for Matchbox
7141 * src/hildon-note.c (hildon_note_realize):
7142 * src/hildon-banner.c (hildon_banner_realize):
7143 Add WM hints for Matchbox
7145 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7147 * src/hildon-app-menu-private.h
7148 * src/hildon-app-menu.c
7149 (hildon_app_menu_init, hildon_app_menu_finalize)
7150 (hildon_app_menu_map, hildon_app_menu_unmap)
7151 (hildon_app_menu_button_release):
7152 Remove the grab window, it's not needed anymore
7154 * src/hildon-program.c
7155 Fixed typo in documentation
7157 * src/hildon-app-menu.h
7158 * src/hildon-app-menu.c
7159 * examples/hildon-app-menu-example.c
7160 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7162 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7165 Added new transfer_window and close_if_pressed_outside private
7167 (hildon_note_rebuild):
7168 Don't add a cancel button to the information note. It will be
7169 closed when tapping outside
7170 Remove the comment about the OK button in the documentation
7171 (hildon_note_realize):
7172 Set the notification type hint
7173 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7174 Grab/ungrab pointer and keyboard if the note has to be closed when
7176 (hildon_note_button_release):
7177 Close the note when tapping outside (if applicable)
7179 * src/hildon-app-menu.c
7180 Grab/ungrab pointer and keyboard on map/unmap
7181 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7182 Close the menu on button release, not button press
7184 * src/hildon-banner.c
7185 (hildon_banner_set_property)
7186 (hildon_banner_check_position):
7187 Make the banner use the full width of the screen
7188 (hildon_banner_show_information)
7189 (hildon_banner_show_information_with_markup):
7190 Don't display an icon by default
7192 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7194 Added fading scrollbars and adapted all the overshooting code to
7195 horizontal scrolling. We have also fixed bugs with overshooting
7196 and current fading implementation.
7198 * src/hildon-pannable-area.c
7199 (hildon_pannable_area_scroll_indicator_fade): Time out function
7200 used to change the transparency of the scrollbars.
7202 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7203 control and fixed a problem with fading, we now remove the fade
7204 timeout before adding a new one.
7206 (hildon_pannable_axis_scroll):
7207 (hildon_pannable_area_scroll):
7208 (hildon_pannable_area_timeout): Added this functions so we can use
7209 the scroll code both for vertical and horizontal.
7211 (hildon_pannable_area_motion_notify_cb):
7212 (hildon_pannable_area_button_release_cb): Added the horizontal
7213 scrolling control, fixed a problem with the overshooting timeout.
7215 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7216 painting of the scrolls.
7218 (hildon_pannable_draw_vscroll):
7219 (hildon_pannable_draw_hscroll):
7220 (hildon_pannable_area_expose_event):
7221 Draw both scrollbars and rectangles in the overshooting area.
7223 (hildon_pannable_area_get_property):
7224 (hildon_pannable_area_set_property):
7225 Modified the overshoot property to overshoot_max
7227 (hildon_pannable_area_map):
7228 Replaced the comments symbols.
7230 (hildon_pannable_area_size_allocate):
7231 (hildon_pannable_area_class_init):
7232 (hildon_pannable_area_init): Added horizontal scroll, fading
7233 effect properties, fixed a problem when overshooting in the bottom
7236 * examples/hildon-pannable-area-example.c:
7237 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7238 looks better in the example.
7240 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7242 * src/hildon-window.c
7243 * src/hildon-window.h
7244 (hildon_window_class_init)
7245 (hildon_window_unset_program)
7246 (hildon_window_unset_program_real):
7247 Make unset_program a virtual function
7249 * src/hildon-stackable-window.c
7250 * src/hildon-stackable-window.h
7251 Added hildon_stackable_window_go_home()
7253 * examples/Makefile.am
7254 * examples/hildon-stackable-window-example.c
7255 HildonStackableWindow example
7257 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7259 * hildon-pannable-area.c: Added the overshoot property and removed
7260 the OVERSHOOT define. Fixed an indent style error.
7261 (hildon_pannable_area_motion_notify_cb):
7262 (hildon_pannable_area_get_property):
7263 (hildon_pannable_area_set_property): Add overshoot property.
7265 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7268 (hildon_pannable_area_class_init): Installed the new property.
7270 * hildon-pannable-area-example.c: Added a sawtooth function, this
7271 way it is easier to check the movement in the pannable.
7272 (get_sawtooth_label): Added this function.
7273 (main): Now we get the labels from the new get_sawtooth_label
7276 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7278 * src/hildon-app-menu.h
7279 * src/hildon-app-menu.c
7280 Renamed API variables for consistency
7282 (hildon_app_menu_popup): Use also the default window size to
7283 decide where to place the menu
7285 (hildon_app_menu_init, hildon_app_menu_class_init): New
7286 external-border style property
7288 2008-05-26 Michael Natterer <mitch@imendio.com>
7290 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7291 widget_class->tap_and_hold_setup signal slot doesn't exist any
7292 longer, stop overriding it.
7294 (hildon_time_editor_init): g_signal_connect() to the
7295 tap-and-hold-setup signal instead.
7297 (hildon_time_editor_entry_keypress): add cast to fix warning.
7299 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7301 * doc/hildon-docs.sgml
7303 * examples/Makefile.am
7304 * examples/hildon-app-menu-example.c
7306 * src/hildon-app-menu-private.h
7307 * src/hildon-app-menu.c
7308 * src/hildon-app-menu.h
7310 New HildonAppMenu widget
7312 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7314 Rearranged the inheritance of the pannable area, now it inherits
7315 from GtkBin. This will allow us to control the event_window and
7316 the allocation process of the widget, required for some effects.
7318 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7319 GtkBin structures. * src/hildon-pannable-area.c: Added the
7320 event_window variable.
7321 (hildon_pannable_area_button_press_cb):
7322 (hildon_pannable_area_button_release_cb):
7323 (hildon_pannable_area_motion_notify_cb):
7324 Changed the signature of the method, now we override the event
7325 callback instead of connecting to the signal.
7327 (hildon_pannable_area_realize):
7328 (hildon_pannable_area_unrealize):
7329 (hildon_pannable_area_map):
7330 (hildon_pannable_area_unmap):
7331 (hildon_pannable_area_size_allocate):
7332 Added functions to control the widget construction. We add a
7333 INPUT_ONLY window and we put it over the widgets inside the
7334 container, this event_window handles the events.
7336 (hildon_pannable_area_class_init):
7337 Replaced the signal connections with overrides of the event
7340 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7342 Bouncing effect added when touching the borders, you can change
7343 the elasticity of the border changing the ELASTICITY define.
7345 * src/hildon-pannable-area.c: Added ELASTICITY define.
7346 (hildon_pannable_area_timeout): Added inverse velocity when
7347 touching the border of the child widget, that causes a bounce.
7349 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7351 Improved performance, we now do not go to the X server in order to
7352 get the list of window children. Apparently the effect is the
7353 same, we have to be careful and check if this breaks something in
7356 * src/hildon-pannable-area.c:
7357 (get_ordered_children): Removed this function.
7358 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7359 the children windows function with gdk_window_get_children.
7361 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7363 * src/hildon-pannable-area.c:
7364 (hildon_pannable_area_dispose): Fixed a crash when closing the
7365 window and kinetics is activated.
7367 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7369 * src/hildon-pannable-area.h
7370 * src/hildon-pannable-area.c
7371 Changed indentation style to meet the one used in Hildon
7373 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7375 Reviewed the interaction of the AUTO mode, now we use the time
7376 attribute of the events and calculate the velocity in the motion,
7377 doing a gimp like calculation. The velocity is calculated in each
7378 motion event using the last velocity and the current one, the
7379 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7381 * src/hildon-pannable-area.c: Replaced the time based algorithm
7383 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7384 timeout for the AUTO mode when we are still moving the cursor. We
7385 added also the velocity calculation in this function.
7386 (hildon_pannable_area_button_release_cb): launch the timeout in
7387 case we are in AUTO mode. There are still some constants here that
7388 come from the old implementation that should be reviewed and
7391 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7393 * doc/hildon-docs.sgml
7396 * src/hildon-stackable-window.c
7397 * src/hildon-stackable-window.h
7399 New HildonStackableWindow widget
7401 * examples/hildon-dialog-example.c
7402 * examples/hildon-pannable-area-example.c
7405 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7407 * src/hildon-dialog.c
7408 (hildon_dialog_new_with_buttons): New constructor.
7410 * examples/hildon-dialog-example.c
7411 (main): Update the example to use the new
7412 hildon_dialog_new_with_buttons().
7414 * examples/hildon-pannable-area-example.c
7415 (main): Update example.
7417 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7419 * doc/hildon-docs.sgml
7421 Added HildonPannableArea to the documentation.
7423 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7425 * doc/visual_index.xml
7426 Fix reference to HildonLoginDialog in documentation
7428 * doc/hildon-docs.sgml
7430 * examples/Makefile.am
7431 * examples/hildon-dialog-example.c
7433 * src/hildon-dialog.c
7434 * src/hildon-dialog.h
7436 New HildonDialog widget.
7438 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7440 * src/hildon-pannable-area.c
7441 Merge latest changes (r4318, r4342) from libmokoui trunk
7443 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7445 * examples/Makefile.am
7446 * examples/hildon-pannable-area-example.c
7448 * src/hildon-pannable-area.c
7449 * src/hildon-pannable-area.h
7451 New HildonPannableArea widget.
7453 2008-04-15 18:05:19 <timj@imendio.com>
7455 * src/hildon-banner.c: revert the recent change, that introduced
7456 gtk_window_present() calls. this reopens:
7457 Bug 78481 - [freetest] information banners are hidden under browser menu
7458 But resolves another variant of:
7459 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7461 2008-04-15 13:21:13 <timj@imendio.com>
7463 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7464 recreated its layout, spotted by Kris. this fixes all remaining
7465 artefacts and stability issues with the banner code. in particular:
7466 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7468 2008-04-14 16:52:59 <timj@imendio.com>
7470 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7471 operating on unrealized widgets, fixes:
7472 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7474 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7476 2008-04-09 Kristian Rietveld <kris@imendio.com>
7478 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7479 makes banner disappear.
7480 Fixes: NB#79182: info banner flickering with certain message lengts.
7482 * src/hildon-banner.c (hildon_banner_constructor),
7483 (hildon_banner_init), (hildon_banner_set_text),
7484 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7485 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7486 FALSE, reset size requests of label and banner,
7487 (force_to_wrap_truncated): when the text is too wide, always enforce
7488 the maximum possible width instead of recalculating it from the
7489 layout; enforce the maximum banner height of 3 lines,
7490 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7491 nicer wrapping and no truncated chars if space gets tight.
7493 * src/hildon-banner-private.h: add has_been_wrapped and
7494 has_been_truncated fields.
7496 2008-04-07 Sven Herzberg <sven@imendio.com>
7498 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7499 local values in hildon_date_editor_size_allocate
7501 * src/hildon-date-editor.c: moved the real allocation code into the
7504 2008-04-07 Sven Herzberg <sven@imendio.com>
7506 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7507 local values in hildon_date_editor_size_allocate
7509 * src/hildon-date-editor.c: merged the two if() branches together
7511 2008-04-07 Sven Herzberg <sven@imendio.com>
7513 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7514 local values in hildon_date_editor_size_allocate
7516 * src/hildon-date-editor.c: changed the arguments of the if()
7519 2008-04-07 Sven Herzberg <sven@imendio.com>
7521 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7522 local values in hildon_date_editor_size_allocate
7524 * src/hildon-date-editor.c: split the calculation of the allocation
7525 from the real allocation
7527 2008-03-27 Michael Natterer <mitch@imendio.com>
7529 Fixes: NB#81696: The passcode is not overwritten even after
7532 * src/hildon-code-dialog.c
7533 (hildon_code_dialog_button_clicked)
7534 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7535 because that doesn't overwrite selected text. Instead, emit the
7536 "commit" signal on the entry's im_context so the entry's normal
7537 insert logic is triggered. Set the cursor to the end of the entry
7538 after each insert operation so that we *only* insert in the middle
7539 of the text if something was selected.
7541 2008-03-27 Michael Natterer <mitch@imendio.com>
7543 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7544 selector cannot be opened
7546 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7547 when the popup color selector is created. Please connect to this
7548 signal in order to set the dialog's help ID.
7550 2008-03-25 Sven Herzberg <sven@imendio.com>
7552 Fixes: MB#1212: Hide info banners (infoprints) on click
7554 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7555 extracted the close event simulation into an extra function
7556 (hildon_banner_button_press_event): simulate a close event and destroy
7557 the widget if the event wasn't handled
7558 (hildon_banner_class_init): added the button_press_event handler
7559 (hildon_banner_init): added button-press events to the widget
7561 2008-03-25 Sven Herzberg <sven@imendio.com>
7563 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7564 Patch from: Mohammad Anwari <mdamt@maemo.org>
7566 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7567 instead of the right in RTL mode
7568 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7569 breadcrumb button list in RTL mode
7570 * src/hildon-caption.c: mirror the appearance of the caption widget in
7572 * src/hildon-date-editor.c: mirror appearance of the date editor in
7574 * src/hildon-time-editor.c: mirror appearance of the time editor in
7576 * src/hildon-window.c: fix the position of the popup in RTL mode
7578 2008-03-25 Sven Herzberg <sven@imendio.com>
7580 Amendment to the fix of NB#22072. Fix compilation.
7582 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7584 2008-03-19 Sven Herzberg <sven@imendio.com>
7586 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7589 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7590 timeout id properly when the timeout will disappear this leaves no
7591 artifacts around in the destroy(); there will only be the timeout
7592 created by hildon_banner_ensure_timeout() and adding a new timeout
7593 will also work if the timeout gets removed because the timeout_handler
7596 2008-03-19 Michael Natterer <mitch@imendio.com>
7598 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7600 * src/hildon-volumebar.c
7601 * src/hildon-vvolumebar.c
7602 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7603 the widget becomes focussable at all.
7605 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7606 set the focus to wither the mute button or the volumebar.
7608 Remove own "can-focus" property and instead listen to
7609 notify::can-focus in order to update the widget's state.
7611 Implement GtkWidget::focus() and make sure we can also *leave* the
7612 widget, not only enter it, depending on volumebar orientation and
7613 requested focus direction.
7615 Clean up set_mute() to cooperate nicely with all the above.
7617 2008-03-04 Michael Natterer <mitch@imendio.com>
7619 Fixes: NB#78481: information banners are hidden under browser menu
7621 * src/hildon-banner.c: call gtk_window_present() on the banners so
7622 they are risen if they are already visible.
7624 2008-03-03 Sven Herzberg <sven@imendio.com>
7626 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7628 * examples/hildon-window-menu-example.c: (main): extended the window
7629 menu example to serve as a testcase for automatically added
7630 accelerator groups, too
7631 * src/hildon-window.c: (hildon_window_add_accel_group),
7632 (hildon_window_set_menu): added patch by Tommi Komulainen
7634 2008-03-03 Sven Herzberg <sven@imendio.com>
7636 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7638 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7639 knowledge about the border allocators used within GTK+
7641 2008-02-26 Sven Herzberg <sven@imendio.com>
7643 Fixes: MB#2981: Build with asserts broken
7645 * src/hildon-date-editor.c,
7646 * src/hildon-number-editor.c,
7647 * src/hildon-time-editor.c,
7648 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7649 the proper GType instance check
7651 2008-02-25 Sven Herzberg <sven@imendio.com>
7653 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7655 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7656 * examples/hildon-window-menu-example.c: (main): explicitly show
7658 * src/hildon-window.c:
7659 (hildon_window_set_main_menu): moved most of the code from set_menu()
7660 to this place; skipped the call to gtk_widget_show_all(); also didn't
7661 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7662 (hildon_window_set_menu): removed most of the code, just keep the
7663 questionable gtk_widget_show_all()
7664 * src/hildon-window.h: added the new function and deprecate the old
7667 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7673 * debian/changelog: Updating.
7675 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7678 * pkgconfig/Makefile.am:
7679 * pkgconfig/hildon.pc.in:
7682 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7683 use newly created API_MAJOR_VERSION.
7685 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7691 * debian/changelog: Updating.
7693 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7695 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7697 Add outer_border style property, we use it but don't define it (!).
7701 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7703 * examples/hildon-bread-crumb-trail-example.c (main):
7707 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7709 Fix logic for the bread crumb trail node removal.
7713 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7719 * debian/changelog: Updating.
7721 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7723 Patch by Alejandro to get/set passwords dialogs accesibility.
7725 * hildon-1/src/hildon-get-password-dialog.c:
7726 * hildon-1/src/hildon-set-password-dialog.c:
7727 Set atk_set_name to the passwd entries in order to allow
7728 accessibility by name on this entries.
7730 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7735 * debian/control: Updating gtk dep.
7737 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7739 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7740 USE_MAEMO_GTK is enabled.
7742 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7744 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7745 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7747 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7753 * debian/changelog: Updating.
7755 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7757 * examples/Makefile.am:
7758 * examples/hildon-logical-color-example.c:
7759 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7760 applied + adding a test case. Fixes: NB#71660.
7762 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7764 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7765 to be visible, fixes warning on map for windows without toolbars.
7767 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7769 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7770 2.11.0, add a check for that besides the MAEMO_GTK check.
7772 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7778 * debian/changelog: Updating.
7780 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7782 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7783 visibility. Fixes: NB#70842 and MB#615.
7785 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7787 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7788 set the separator as no-show-all so it doesn't unintentionally appear when
7789 someone does a show_all.
7791 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7793 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7794 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7795 toplevel item. Fixes: NB#62031
7797 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7799 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7800 fix the name of the function in the docs.
7802 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7808 * debian/changelog: Updating.
7810 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7812 * examples/hildon-banner-long-example.c: Adding a test-case for long
7815 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7817 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7819 * src/hildon-color-chooser-dialog.c:
7820 * src/hildon-color-chooser.c:
7821 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7822 memory leaks in font selector and color selector. Fixes: NB#70499 and
7825 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7827 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7829 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7831 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7832 little bit bigger. Fixes: #NB63694.
7834 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7840 * debian/changelog: Updating.
7842 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7845 * doc/hildon-docs.sgml:
7846 * doc/images/bread-crumb-trail.png:
7847 * doc/images/calendar-popup.png:
7848 * doc/images/caption.png:
7849 * doc/images/code-dialog.png:
7850 * doc/images/color-button.png:
7851 * doc/images/color-chooser-dialog.png:
7852 * doc/images/color-chooser.png:
7853 * doc/images/controlbar.png:
7854 * doc/images/date-editor.png:
7855 * doc/images/font-selection-dialog.png:
7856 * doc/images/get-password-dialog.png:
7857 * doc/images/hvolumebar.png:
7858 * doc/images/login-dialog.png:
7859 * doc/images/note.png:
7860 * doc/images/number-editor.png:
7861 * doc/images/range-editor.png:
7862 * doc/images/seekbar.png:
7863 * doc/images/set-password-dialog.png:
7864 * doc/images/sort-dialog.png:
7865 * doc/images/time-editor.png:
7866 * doc/images/time-picker.png:
7867 * doc/images/vvolumebar.png:
7868 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7869 Adding the bread-crumb-trial and helpers to the documentation.
7871 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7873 * examples/hildon-find-toolbar-example.c:
7874 * src/hildon-find-toolbar.c:
7875 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7876 actually continue firing the other handlers if connected. Adding a new
7878 hildon_find_toolbar_get_last_index that gets the index of the most
7879 recently added (last) item. Fixes: NB#52301.
7881 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7883 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7884 behaviour. Fixes: NB#68610.
7886 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7888 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7891 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7893 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7894 when realizing the banner. Should make the infonbanner effect a bit more
7897 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7899 * src/hildon-volumebar.c:
7900 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7901 hildon_volumebar_set_range_insensitive_message and
7902 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7904 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7906 * src/hildon-window.c: Fixing the border freeing on destroy.
7908 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7910 * src/hildon-code-dialog-private.h:
7911 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7912 kw keyboard support in HildonCodeDialog.
7914 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7920 * debian/changelog: Updating.
7922 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7924 * src/hildon-date-editor.c:
7925 * src/hildon-number-editor.c:
7926 * src/hildon-private.c:
7927 * src/hildon-private.h:
7928 * src/hildon-time-editor.c:
7929 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7930 handling in subclassed composite widgets. Fixes: NB#66628.
7932 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7934 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7935 from destroy_ callback as it introduces problems in async dbus signal
7936 handlers. Fixes NB#66673.
7938 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7940 * examples/hildon-hvolumebar-example.c:
7941 * src/hildon-volumebar.c: Improving the focus handling in the
7942 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7943 set_property accessor so that "mute" property can be actually set. I'm
7944 scared that nobody noticed it's totally broken.
7946 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7948 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7951 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7953 * src/hildon-calendar.c:
7954 * src/hildon-number-editor.c:
7955 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7956 matches the spec of 6 chars per second. Fixes: NB#60489.
7958 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7960 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7961 gtk_style_lookup_color sometime returns FALSE even though color was
7962 found and values were filled properly. Weird. Removing the warning for the
7965 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7967 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7968 expand vertically. Adding some extra space to the find toolbar buttons to
7969 make them thumbable. Fixes NB#66060.
7971 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7973 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7974 popup with "Ok" and "Cancel". Fixes NB#59299.
7976 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7978 * src/hildon-calendar.c: Process all window updates before executing next
7979 timeout. Fixes: NB#54146.
7981 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7987 * debian/changelog: Updating.
7989 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7991 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7992 the client event and ignore it, since we use the delete event to close
7995 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7997 * src/hildon-helper.c: Remove the bogus warning about color not being
7998 found. Fixes NB#58352.
8000 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8002 * examples/Makefile.am:
8003 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8004 HildonSeekbar widget inside a toolbar.
8006 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8008 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8009 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8010 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8011 don't want to be closed by non-temporary windows on map.
8013 Also use G_DEFINE_TYPE instead of manually typed code.
8015 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8022 * debian/rules: Updating.
8024 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8026 * examples/Makefile.am:
8027 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8028 bug NB#61128. Strangely it works.
8030 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8032 * src/hildon-date-editor.c: When the date editor entry has been changed
8033 but the numbers of characters < max, turn off the skip validation flag.
8034 Prevents a situation when we enter first a valid year and later re-write
8035 it with an invalid one. Fixes NB#60154.
8037 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8039 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8040 code dialog. Fixes NB#64355.
8042 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8044 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8045 switching the page. Fixes NB#49374.
8047 * examples/Makefile.am:
8048 * examples/hildon-wizard-dialog-example.c: Adding an example for
8049 HildonWizardDialog that shows how to handle manual sensitivity setting on
8052 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8056 * src/hildon-version.h.in:
8057 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8059 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8061 * src/hildon-volumebar.c: Updating the docs.
8063 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8069 * debian/changelog: Updating.
8071 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8073 * src/hildon-find-toolbar.c:
8074 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8075 selected item: hildon_find_toolbar_set_active,
8076 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8077 hildon_find_toolbar_get_active_iter . They correspond to respective
8078 GtkComboBox functions.
8080 * examples/Makefile.am:
8081 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8084 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8086 * examples/Makefile.am:
8087 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8090 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8091 when font size > 32 and we pack a focusable widget inside. Actually using
8092 the default response would work too, but since we don't show default
8093 response state in any way (no theming) it would not be visible to the
8094 user. Fixes NB#63430.
8096 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8098 * src/hildon-date-editor.c: Adding the missing variable setter in the
8099 set_property handler. Fixes NB#54182.
8101 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8103 * src/hildon-window.h: Changing the long key press time from 1500ms to
8104 800ms as requested in NB#63700. I have a bad feeling about this, let's
8105 see... Fixes NB#63700.
8107 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8109 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8110 hildon_time_picker_map, hildon_time_picker_realize,
8111 hildon_time_picker_style_set): Split the contents of map to more
8112 appropriate functions; set window decorations on realize and update
8113 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8115 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8120 * debian/changelog: Updating.
8122 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8124 * src/Makefile.am: fixed installation of the header files
8126 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8132 * debian/changelog: Updating.
8134 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8136 * configure.ac: Removing some remaining of --enable-xan.
8138 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8140 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8141 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8143 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8144 2.10.12-osso6 because the move-focus signal needs to be available in
8147 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8149 * examples/Makefile.am:
8150 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8151 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8152 fine. Prolly NB#61128 is fixed now.
8154 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8156 * src/hildon-volumebar.c:
8157 * src/hildon-volumebar.h: Adding the
8158 hildon_volumebar_set_range_insensitive_message and
8159 hildon_volumebar_set_range_insensitive_messagef functions to set
8160 insensitive message on the slider of the volumebar. Fixes NB#61129.
8162 * examples/Makefile.am:
8163 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8164 test the new insensitive messsage functionality on HildonVolumebar.
8166 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8168 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8171 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8173 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8174 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8175 button on after clearing the trail.
8177 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8179 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8181 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8183 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8184 by splitting the installed headers in generated and non-generated groups. Use
8185 only the non-generated headers to create the hildon-enum-types.h file.
8187 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8189 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8191 * src/hildon-window.c: Hide the window before performing the destroy.
8192 Should make the app closing a little tiny bit more snappy.
8194 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8196 * src/hildon-seekbar.c: add gtkrange.h header
8197 * src/hildon-caption.c: remove unused variable
8199 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8201 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8204 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8210 * debian/changelog: Updating.
8212 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8214 * src/hildon-window.c (hildon_window_window_state_event,
8215 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8216 escape timeout on focus-out-event rather than notify::is-topmost; the
8217 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8219 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8221 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8222 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8224 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8226 * src/hildon-window: actually, you need to use the macro always, there's
8227 no private pointer in the instance structure. We should have cleaned this up
8228 when we had the chance...
8230 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8232 * src/hildon-window.c: do not get the private date from HildonWindow before
8233 it passes the g_return_if_fail check. Once it's passed the test, there's no
8234 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8235 if you are only going to access the data once. Whitespace cleanups.
8237 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8239 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8240 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8242 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8248 * debian/changelog: Updating.
8250 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8252 * src/hildon-window.c: When destroying the window, remove (if exists) the
8253 escape timeout handler. Fixes #NB59276.
8255 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8257 * src/hildon-banner.c: When realizing the widget, set the window
8258 transiency. Setting the transiency in the gobject constructor is not
8259 good, as the widget is not realized at that point. Fixes: #NB56624.
8261 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8263 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8264 Add padding for future expansions.
8266 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8268 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8269 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8270 will fake an activation on the previous to the last item of the trail, so
8271 the effect can be overrided by the developer as usual.
8272 Also change the callback for the back button to do the same thing, so its
8273 effect can be overrided too. Fixes: NB#58982
8275 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8277 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8278 HildonCaption. Fixes NB#52379.
8280 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8282 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8283 the internal state of the trail after the user has had the chance of executing
8284 his handler for the signal. Specifically, it may happen that the activated button
8285 is removed and the user still lets the default handler run. This would segfault
8288 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8290 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8291 scrollbar to the preview dialog. Fixes NB#54147.
8293 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8295 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8296 max/min year properties can be altered, so the client can modify it
8297 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8299 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8301 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8302 hildonlike by default. Fixing a problem with disappearing arrows when
8303 scrolling through months and years. Fixes NB#54127.
8305 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8307 * examples/hildon-date-editor-example.c: Adding error callback to the date
8310 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8316 * configure.ac: Updating.
8318 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8320 * configure.ac: Adding a special '--enable-xan' configure option that
8321 turns off the -Werror compilation setting. Usefull for development.
8323 * src/hildon-calendar.c:
8324 * src/hildon-number-editor.c:
8325 * src/hildon-time-picker.c: Adding the 5* multiplier to
8328 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8330 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8331 instead of g_object_ref + gtk_object_sink.
8333 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8339 * debian/changelog: Updating.
8341 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8343 * src/hildon-color-chooser-dialog.c:
8344 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8345 straight from Tommi labs.
8347 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8349 * examples/hildon-finger-example.c: Correcting the header file path.
8351 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8352 the changed signal. Fixes a small memory leak.
8354 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8358 * src/hildon-banner.c: Importing several usefull fixes from the
8359 ubuntu-mobile branch.
8361 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8363 * examples/Makefile.am:
8364 * examples/hildon-finger-example.c: Adding a finger-checking code
8367 * src/hildon-font-selection-dialog.c: Do not allocate the color
8368 structure using the g_new. Fixes NB#54061.
8370 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8372 * src/hildon-helper.c: Correcting tabs in file.
8374 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8376 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8377 control the visibility of the children.
8379 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8381 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8387 * debian/changelog: Updating.
8389 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8391 * src/hildon-bread-crumb-trail.c:
8392 (hildon_bread_crumb_trail_size_allocate):
8394 Make the back button always a square.
8396 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8398 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8399 from the .c file as it's a private file.
8401 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8403 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8404 uses slightly bigger height.
8406 * src/hildon-font-selection-dialog.c: Adding some checks before
8407 freeing memory in the font selection dialog.
8409 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8411 * src/hildon-font-selection-dialog.c: Adding a small check when
8414 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8415 buttons sensitivity on page switching.
8417 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8419 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8420 internal details of adding a bread crumb to the trail.
8422 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8428 * debian/changelog: Updating.
8430 * src/hildon-bread-crumb-trail.h:
8431 * src/hildon-bread-crumb.h: Changing the API guard to
8432 HILDON_ENABLE_UNSTABLE_API.
8434 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8442 * src/hildon-helper.h: Updating.
8444 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8452 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8456 * src/hildon-helper.h: Small fix to make the package actually compile.
8458 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8460 * src/hildon-bread-crumb-trail.h:
8461 * src/hildon-bread-crumb.h:
8463 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8464 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8466 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8468 * examples/hildon-bread-crumb-trail-example.c:
8470 * src/hildon-bread-crumb-trail.c:
8471 * src/hildon-bread-crumb-trail.h:
8472 * src/hildon-bread-crumb.c:
8473 * src/hildon-bread-crumb.h:
8474 * src/hildon-marshalers.list:
8475 * src/hildon-bread-crumb-widget.c:
8476 * src/hildon-bread-crumb-widget.h:
8478 Slight change in the widget design. The bread crumb trail API is
8479 unchanged, but HildonBreadCrumb is now an interface. A *private*
8480 implementation, hildon-bread-crumb-widget, is provided and used
8481 internally by the trail for the push_text/push_icon functions.
8483 The generic push API is still available, so anyone can implement
8484 and use its own bread crumb widget.
8486 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8488 * debian/rules: Fixing the shlibs.
8490 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8492 * src/hildon-banner.c: Fixing a problem with timed banners having
8493 their parrent destroyed before they are.
8495 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8497 * src/hildon-bread-crumb.c:
8498 * src/hildon-bread-crumb.h:
8500 Make the get_natural_size function a vfunc.
8502 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8504 * src/hildon-bread-crumb.c:
8505 * src/hildon-bread-crumb-trail.c:
8509 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8516 * debian/changelog: Updating for release.
8518 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8520 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8521 don't leak the pango layout.
8523 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8526 * examples/hildon-bread-crumb-trail-example.c:
8530 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8532 * debian/changelog: Removing the bug-fixed entries that were actually
8533 resolved as WONTFIX.
8535 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8538 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8540 * src/hildon-bread-crumb-trail.c:
8541 * src/hildon-bread-crumb-trail.h:
8542 * src/hildon-bread-crumb.c:
8543 * src/hildon-bread-crumb.h:
8547 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8549 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8550 until it's passed the type check.
8552 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8554 * examples/hildon-bread-crumb-trail-example.c
8558 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8560 * examples/Makefile.am
8561 * examples/hildon-bread-crumb-trail-example.c
8563 * src/hildon-bread-crumb-trail.c
8564 * src/hildon-bread-crumb-trail.h
8565 * src/hildon-bread-crumb.c
8566 * src/hildon-bread-crumb.h
8568 New HildonBreadCrumbTrail widget.
8570 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8572 * src/hildon-range-editor.c (hildon_range_editor_init),
8573 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8574 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8575 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8576 hildon_time_editor_class_init, hildon_time_editor_init),
8577 src/hildon-get-password-dialog.c (invalid_input,
8578 hildon_get_password_set_property, hildon_get_password_get_property,
8579 create_contents, hildon_get_password_dialog_set_max_characters),
8580 src/hildon-set-password-dialog.c (create_contents),
8581 src/hildon-date-editor.c (hildon_date_editor_init),
8582 src/hildon-login-dialog.c (hildon_login_dialog_init),
8583 src/hildon-number-editor.c (hildon_number_editor_init),
8584 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8585 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8586 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8587 configure option and adding the respective checks in the code.
8588 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8589 hildon_calendar_drag_data_received): fixed some build warnings.
8591 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8593 * debian/changelog: A 1.0.0 release notes.