1 2009-06-11 Alberto Garcia <agarcia@igalia.com>
3 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
5 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
8 2009-06-11 Alberto Garcia <agarcia@igalia.com>
10 * hildon/hildon-code-dialog.c
11 * hildon/hildon-date-editor.c
12 * hildon/hildon-number-editor.c
13 * hildon/hildon-seekbar.c
14 * hildon/hildon-stackable-window.c
15 * hildon/hildon-window.c:
16 Misc documentation updates
18 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
20 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
21 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
23 Fixes: NB#117931 (Theming issues in accounts dialogs)
25 2009-06-09 Alejandro G. Castro <alex@igalia.com>
27 * hildon/hildon-pannable-area.c,
28 (hildon_pannable_area_button_release_cb): Changed the coordinates
29 of the original release in case we want to discard the release,
30 some widgets in Fremantle do not handle the leave-notify.
32 2009-06-09 Alejandro G. Castro <alex@igalia.com>
34 * hildon/hildon-pannable-area.c,
35 (hildon_pannable_area_button_release_cb): Reviewed the logic of
36 the release using the last refactored functions and avoiding the
37 movement if an element was selected.
39 2009-06-09 Alejandro G. Castro <alex@igalia.com>
41 * hildon/hildon-pannable-area.c,
42 (hildon_pannable_area_check_move),
43 (hildon_pannable_area_handle_move),
44 (hildon_pannable_area_motion_notify_cb): Refactored the
45 motion_notify method using a couple of new functions.
47 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
49 * hildon/hildon-date-selector.c:
50 (hildon_date_selector_construct_ui):
51 * hildon/hildon-time-selector.c:
52 (hildon_time_selector_constructor):
53 * hildon/hildon-touch-selector-entry.c:
54 (hildon_touch_selector_entry_set_text_column),
55 (hildon_touch_selector_entry_get_text_column):
56 * hildon/hildon-touch-selector.c: (_default_print_func),
57 (hildon_touch_selector_new_text): Use
58 hildon_touch_selector_set/get_text_column() instead of
59 setting/getting the "text-column" property.
61 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
63 * doc/hildon-sections.txt: Add the new public methods below.
65 * examples/hildon-picker-button-multicolumn-example.c:
66 (create_touch_selector):
67 * examples/hildon-touch-selector-example.c: (create_selector):
68 * examples/hildon-touch-selector-multi-cells-example.c:
70 Use hildon_touch_selector_column_set_text_column()
72 * hildon/hildon-touch-selector-column.h:
73 * hildon/hildon-touch-selector.c:
74 (hildon_touch_selector_column_set_text_column),
75 (hildon_touch_selector_column_get_text_column):
76 Make hildon_touch_selector_column_set/get_column() public, use
77 them in the inline example, document them, and reference to them
80 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
82 * hildon/hildon-time-selector.c: Fix the docs for
83 hildon_time_selector_new_step().
85 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
87 * hildon/hildon-touch-selector.c: Improve the documentation for
88 hildon_touch_selector_append_column().
90 Fixes MB#4641 (Documentation:
91 hildon_touch_selector_append_column() ref-counting)
93 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
95 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
96 Comment out test 5, since the hildon_controlbar_set_range() range
97 check is broken and fixing it would have side effects. Also,
98 this finally fixes make distcheck.
100 Fixes: NB#101420 (Update unit tests and fix make distcheck)
102 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
104 * tests/TEST-CASES.txt: Remove other bogus test.
105 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
106 Remove bogus test that was setting/retrieving a valid value.
108 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
110 * tests/TEST-CASES.txt: Remove bogus tests.
111 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
112 Remove three bogus tests that were actually setting valid colors.
114 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
116 * configure.ac: post release version bump
117 * debian/changelog: post release version bump
119 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
124 * configure.ac: Bump version.
125 * debian/changelog: Updates.
127 2009-06-08 Christian Dywan <christian@lanedo.com>
131 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
132 Correct errors in hildon_format_file-size_for_display and use
133 translations from the hildon-fm package instead of osso-filemanager.
135 2009-06-08 Alejandro G. Castro <alex@igalia.com>
137 * hildon/hildon-pannable-area.c,
138 (hildon_pannable_area_init): Initialized new values to handle the
140 (hildon_pannable_area_adjust_value_changed): Check if the values
141 changed before even call the redraw function.
142 (hildon_pannable_area_size_allocate),
143 (hildon_pannable_axis_scroll),
144 (hildon_pannable_area_scroll),
145 (hildon_pannable_area_jump_to): Improved the diagonal movement
148 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
151 2009-06-08 Alberto Garcia <agarcia@igalia.com>
153 * examples/hildon-banner-example.c:
154 Several style updates
155 (on_animation_clicked, on_animation_idle)
156 (on_progress_clicked, on_progress_idle):
157 Add additional reference for the cases when the parent window is
160 2009-06-08 Alberto Garcia <agarcia@igalia.com>
162 * doc/hildon-sections.txt
163 * hildon/hildon-pannable-area.c
164 * hildon/hildon-banner.h
165 * hildon/hildon-banner.c: Documentation updates.
167 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
170 2009-06-05 Alejandro G. Castro <alex@igalia.com>
172 * hildon/hildon-calendar-popup.h:
173 * hildon/hildon-caption.h:
174 * hildon/hildon-code-dialog.h:
175 * hildon/hildon-controlbar.h:
176 * hildon/hildon-date-editor.h:
177 * hildon/hildon-dialog.h:
178 * hildon/hildon-get-password-dialog.h:
179 * hildon/hildon-hvolumebar.h:
180 * hildon/hildon-login-dialog.h:
181 * hildon/hildon-note.h:
182 * hildon/hildon-number-editor.h:
183 * hildon/hildon-range-editor.h:
184 * hildon/hildon-seekbar.h:
185 * hildon/hildon-set-password-dialog.h:
186 * hildon/hildon-sort-dialog.h:
187 * hildon/hildon-time-editor.h:
188 * hildon/hildon-time-picker.h:
189 * hildon/hildon-volumebar-range.h:
190 * hildon/hildon-volumebar.h:
191 * hildon/hildon-vvolumebar.h:
192 * hildon/hildon-weekday-picker.h:
193 * hildon/hildon-window.h:
194 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
195 macros with the current replacements
197 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
199 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
201 * hildon/hildon-color-button.c (hildon_color_button_init): Use
202 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
203 itself, to make it fit better with Fremantle style.
205 Fixes: NB#109878 (height and width of focus on color icon is not
206 consistent with other item in the application tool bar)
208 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
210 * hildon/hildon-touch-selector.c:
211 (hildon_touch_selector_optimal_size_request): use the current requisition
212 as the base, in order to include any possible extra widget, like the
213 hildon entry on HildonTouchSelectorEntry
215 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
217 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
219 * configure.ac: post release version bump
220 * debian/changelog: post release version bump
222 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
227 * configure.ac: Bump version.
228 * debian/changelog: Updates.
230 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
232 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
234 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
235 to ensure the banner contents are centered, instead of relying on
236 the expand and fill properties in GtkHBox.
237 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
239 Fixes: NB#108265 (Animation banner not properly centered)
241 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
243 * hildon/hildon-pannable-area.c
244 (hildon_pannable_area_initial_effect): Remove the initial_effect
245 management, check initial_hint
246 (hildon_pannable_are_expose_event): Remove the initial_hint management,
247 set initial_effect to FALSE
248 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
249 by launching the fade_timeout if the scrollbars state has changed and are
251 * examples/hildon-pannable-area-initial-hint-example.c
252 Modified to allow to remove rows too. Add and remove rows one by one.
254 2009-05-28 Alberto Garcia <agarcia@igalia.com>
256 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
257 Don't close the menu if there's an animation actor below it.
259 Fixes: NB#117927 (Application menu not usable with animation
262 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
264 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
265 "focus-on-click" from the dialog button, to avoid stealing the
266 focus from the entry.
268 Fixes: NB#118903 (Account setup wizard: Text in Search field
269 should be focused when "Region" touch list picker is reopened
272 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
274 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
275 (prepare_action_area): Completely hide the dialog separator.
277 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
279 * hildon/hildon-touch-selector-entry.c
280 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
281 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
282 now that the entry is exposed.
284 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
286 * hildon/hildon-touch-selector-entry.c
287 (hildon_touch_selector_entry_init): Change the entry's size
288 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
290 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
292 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
293 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
294 avoid unnecessary scaling.
296 2009-05-27 Alberto Garcia <agarcia@igalia.com>
298 * hildon/hildon-app-menu.c (hildon_app_menu_map):
299 Create grab transfer window before calling parent's map function.
301 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
302 "crushed" button(s) in the top left corner)
304 2009-05-26 Alberto Garcia <agarcia@igalia.com>
306 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
307 Check if the window is already realized when pushing it.
309 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
311 * configure.ac: post release version bump
312 * debian/changelog: post release version bump
314 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
319 * configure.ac: Bump version.
320 * debian/changelog: Updates.
322 2009-05-25 Alberto Garcia <agarcia@igalia.com>
324 * hildon/hildon-app-menu.c: Doc updates.
326 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
328 * hildon/hildon-banner.c: Remove leftover macro.
330 2009-05-25 Alejandro G. Castro <alex@igalia.com>
332 * hildon/hildon-pannable-area.c,
333 (hildon_pannable_area_scroll_indicator_fade),
334 (hildon_pannable_area_button_release_cb): Reviewed vmin
335 conditions, it could cause problems in the fadeout procedure.
337 2009-05-25 Alejandro G. Castro <alex@igalia.com>
339 * hildon/hildon-pannable-area.c
340 (hildon_pannable_area_button_release_cb): Added a threshold to
341 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
343 2009-05-25 Alejandro G. Castro <alex@igalia.com>
345 * hildon/hildon-pannable-area.c,
346 (hildon_pannable_area_set_property): Added code to sync the gtk
347 dnd threshold with the panning threshold.
349 2009-05-25 Alejandro G. Castro <alex@igalia.com>
351 * hildon/hildon-pannable-area.c,
352 (hildon_pannable_area_class_init): Changed some of the default
353 values, now it should be less responsive and more accurate.
355 2009-05-25 Alejandro G. Castro <alex@igalia.com>
357 * hildon/hildon-pannable-area.c,
358 (hildon_pannable_area_init),
359 (hildon_pannable_area_scroll_indicator_fade),
360 (hildon_pannable_area_button_press_cb),
361 (hildon_pannable_axis_scroll),
362 (hildon_pannable_area_timeout),
363 (hildon_pannable_area_motion_notify_cb),
364 (hildon_pannable_area_button_release_cb): Changed the name of the
365 clicked attribute to button_pressed, it is more clear about its use.
367 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
369 * src/hildon-pannable-area.c
370 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
372 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
373 vertical scrollbar visibility, and use the data on private section instead,
374 remove the initial_hint check
375 (hildon_pannable_area_expose_event): add the initial_hint check here
377 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
379 * src/hildon-pannable-area.c
380 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
381 if the fadeout effect was used
382 (hildon_pannable_area_expose_event): check if it is required to
383 manage the initial effect on the begining of the function. Previously
384 it was made at the end, but this doesn't ensure that the scrollbars
385 will be painted on the first show. Do not set to FALSE initial_effect,
386 to ensure that the initial hint is showed the first time the pannable
388 * examples/Makefile.am
389 * examples/hildon-pannable-area-initial-hint-example.c:
390 New example, to show that the initial-hint is showed when the widget
393 Fixes: NB#116607 (Pannable area should always have scrollbar visible
394 initially if the application can be scrolled)
396 2009-05-25 Alberto Garcia <agarcia@igalia.com>
398 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
399 Resize table before adding new items to make sure that
400 gtk_table_resize() is called just once.
402 2009-05-25 Alberto Garcia <agarcia@igalia.com>
404 * hildon/hildon-app-menu-private.h
405 * hildon/hildon-app-menu.c (item_visibility_changed)
406 (filter_visibility_changed, hildon_app_menu_show_all)
407 (hildon_app_menu_hide_all, hildon_app_menu_init):
408 Rearrange items just once when gtk_widget_show_all()/hide_all()
411 2009-05-25 Alberto Garcia <agarcia@igalia.com>
413 * hildon/hildon-app-menu.c
414 (hildon_app_menu_insert, hildon_app_menu_add_filter):
415 Don't call gtk_widget_show() on added items.
417 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
418 automatically when they're added)
420 2009-05-20 Alberto Garcia <agarcia@igalia.com>
422 * hildon/hildon-banner.c
423 (hildon_banner_realize, +hildon_banner_unrealize)
424 (+screen_size_changed, hildon_banner_class_init):
425 Redisplay the banner if the screen is rotated.
427 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
428 on transition from landscape to portrait)
430 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
432 * hildon/hildon-banner.[ch]:
433 (hildon_banner_show_information_override_dnd): remove icon_name from the
434 method definition as it is ignored.
435 * examples/hildon-banner-dnd-example.c: updated with the change on
438 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
440 * hildon/hildon-banner-private.h: new require_override_dnd and
441 overrides_dnd variables
442 * hildon/hildon-banner.h:
443 (hildon_banner_show_information_override_dnd): new method, that shows
444 the information but sets the override flag, in order to show important
446 * hildon/hildon-banner.c
447 (hildon_banner_show_information_override_dnd): new method
448 (hildon_banner_set_override_flag): new utility function
449 (hildon_banner_real_show_information): new utility function, in order to
450 generalize the current hildon_banner_show_information_override_dnd and
451 hildon_banner_show_information_override_dnd
452 * examples/Makefile.am
453 * examples/hildon-banner-dnd-example.c: New example that show how to
454 use the new hildon_banner_show_information_override_dnd
456 Fixes: NB#114874 (There is no possibility to show hildon banners with
459 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
461 * hildon/hildon-pannable-area.c: Add a comment explaining the math
462 behind hildon_pannable_calculate_vel_factor().
464 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
466 * hildon/hildon-pannable-area.c
467 (hildon_pannable_calculate_vel_factor): Correct the sum of the
468 deceleration factors.
470 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
472 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
473 Reduce the default value for 'scroll_time' to 1 second, since the
474 current initial scrolling takes too much time.
476 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
478 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
479 calculate velocity factor during initialization, since the properties
482 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
484 * hildon/hildon-pannable-area.c
485 (hildon_pannable_area_set_property): Calculate the velocity factor
486 after setting the deceleration property and not after.
488 2009-05-20 Alberto Garcia <agarcia@igalia.com>
490 * hildon/hildon-entry.c
491 (hildon_entry_class_init, +set_property, hildon_entry_new)
492 * hildon/hildon-check-button.c
493 (hildon_check_button_class_init)
494 (+set_property, hildon_check_button_new):
495 Make the theme size a property.
497 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
498 others) do too much in the _new function)
500 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
502 * configure.ac: post release version bump
503 * debian/changelog: post release version bump
505 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
510 * configure.ac: Bump version.
511 * debian/changelog: Updates.
513 2009-05-15 Alberto Garcia <agarcia@igalia.com>
515 * hildon/hildon-gtk.h
516 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
517 New API function to take a screenshot of a window
519 Fixes: NB#106374 (Need API to take a loading screenshot)
521 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
523 * hildon/hildon-time-selector.c
524 (update_format_policy): prevent to use hours and minutes unitialized
526 2009-05-15 Alberto Garcia <agarcia@igalia.com>
528 * hildon/hildon-window.c (hildon_window_size_request):
529 Always request the full size of the screen (minus the title bar if
530 not in fullscreen mode).
532 Fixes: NB#107486 (HildonWindow should size itself properly)
534 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
536 * hildon/hildon-note-private.h: Add idle_handler to the private data.
537 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
538 (on_show_cb), (sound_handling): Disconnect the idle handler for
539 the sound when the note is finalized to avoid possible crashes.
541 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
544 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
546 * src/hildon-animation-actor.c,
547 * src/hildon-remote-texture.c:
548 Added proper object cleanup to remove signal handler and object
549 references as HildonAnimationActor and HildonRemoteTexture
550 objects get destroyed.
552 Fixes: NB#116682 (Destroying parented animation actors when
553 parent in unmapped leads to crash)
555 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
557 Based on a patch by Christian Dywan (christian@imendio.com)
559 * doc/hildon-sections.txt:
560 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
561 * hildon/hildon-helper.h: New file size formatting method.
563 * debian/control: Depend on osso-filemanager l10n package for
564 proper localization strings.
566 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
568 * tests/Makefile.am: Include top_srcdir to make possible to build
569 tests in a different builddir.
570 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
571 on a different builddir.
573 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
575 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
576 (hildon_touch_selector_remove): Disconnect model's signal handler
579 Fixes: NB#116289 (Hildon home crashes while adding task
582 2009-05-11 Alberto Garcia <agarcia@igalia.com>
584 * hildon/hildon-button.c
585 (hildon_button_set_title, hildon_button_set_value):
586 Hide labels containing an empty string.
588 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
590 * configure.ac: post release version bump
591 * debian/changelog: post release version bump
593 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
598 * configure.ac: Bump version.
599 * debian/changelog: Updates.
601 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
603 * hildon/hildon-note-private.h: Removed sound_signal_handler
604 * hildon/hildon-note.c
605 (on_show_cb): new callback on note "show" event, this simply adds
606 a idle, with the function sound_handling
607 (sound_handling): removed the sound_signal_handler management
608 (hildon_note_init): connect note "show" event to on_show_cb
609 (hildon_note_realize): remove the connection to "expose-event"
611 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
612 device?' confirmation note)
614 2009-05-08 Alberto Garcia <agarcia@igalia.com>
616 * hildon/hildon-note.c
617 (hildon_note_new_information_with_icon_name)
618 (hildon_note_new_confirmation_with_icon_name):
619 Terminate the list of parameters in g_object_set() calls
621 Fixes: NB#115166 (Formatting memory card is not taking place)
623 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
625 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
626 "dialog-information" role for the sound being played.
628 2009-05-06 Alberto Garcia <agarcia@igalia.com>
630 * hildon/hildon-app-menu.c (hildon_app_menu_init):
631 Don't make the menu a modal window, it causes strange interactions
632 with the pointer grab and it's not really needed.
634 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
636 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
638 * hildon/hildon-touch-selector.[ch]
639 (hildon_touch_selector_optimal_size_request): function added to get a
640 optimal size request from the touch selector, when you want a dialog to
641 show as much of the selector
642 * hildon/hildon-picker-dialog.c:
643 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
644 (hildon_app_menu_class_init):
645 New "max-height-landscape" and "max-height-portrait" style properties
646 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
647 (hildon_picker_dialog_get_max_height): returns the maximum height using
648 the style properties defined and checking the current portrait/landscape
650 (_hildon_picker_dialog_set_selector): removed the set_size_request
652 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
654 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
656 * hildon/hildon-bread-crumb-trail.c:
657 * hildon/hildon-bread-crumb.c:
658 * hildon/hildon-seekbar.c:
659 Add reference to replacements for these deprecated widgets.
661 Fixes: MB#4461 (Documentation: All deprecations should mention
664 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
666 * examples/hildon-remote-texture-example.c
668 Change the include to the hildon-remote-texture in order to compile
669 properly the examples on the installed libhildon1-examples package
671 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
673 * tests/Makefile.am: Add check for HildonPickerButton.
674 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
675 (START_TEST), (create_hildon_picker_button_suite): Add three simple
676 checks for the HildonPickerButton.
677 * tests/check_test.c (configure_tests): Add the test suite.
678 * tests/test_suites.h: likewise.
680 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
682 * hildon/hildon-touch-selector.c
683 (+on_row_changed): Emit HildonTouchSelector:changed when the
684 contents of a selected row change.
685 (_create_new_column), (_hildon_touch_selector_set_model): connect
686 to GtkTreeModel:row-changed on a newly set model.
688 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
690 2009-05-05 Alberto Garcia <agarcia@igalia.com>
692 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
694 * hildon/hildon-banner.c (hildon_banner_destroy)
695 (hildon_banner_show_progress, hildon_banner_set_fraction):
696 Remove the progress bar from HildonBanner and use a progress
699 Fixes: NB#113761 (Update progress banner to use progress
702 2009-05-04 Alberto Garcia <agarcia@igalia.com>
704 * hildon/hildon-banner.c:
705 Calculate size of the banner label using the actual screen width
706 rather than using a fixed value.
708 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
711 2009-05-04 Alejandro G. Castro <alex@igalia.com>
713 * hildon/hildon-pannable-area.c,
714 (hildon_pannable_area_class_init): Fixed signals documentation
717 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
719 * configure.ac: post release version bump
720 * debian/changelog: post release version bump
722 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
727 * configure.ac: Bump version.
728 * debian/changelog: Updates.
730 2009-05-01 Alberto Garcia <agarcia@igalia.com>
732 * hildon/hildon-edit-toolbar.c
733 (hildon_edit_toolbar_init):
734 Don't let buttons in HildonEditToolbar receive focus.
736 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
737 typing on an HW arrows key)
739 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
741 * doc/Makefile.am: Fix build.
743 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
745 * doc/Makefile.am: Do not redefine content_files.
747 2009-04-30 Alberto Garcia <agarcia@igalia.com>
755 Renamed src/ to hildon/
760 Include <hildon/hildon.h> directly in all examples.
762 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
764 * src/hildon-sort-dialog.c
765 (hildon_sort_dialog_add_sort_key_with_sorting)
769 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
771 * src/Makefile.am: Move generated sources to CLEANFILES, so that
772 make distcheck passes.
774 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
776 * Makefile.am: Enable gtk-doc during distcheck.
778 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
780 * Makefile.am: Do not distribute the debian/ directory.
782 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
784 * doc/Makefile.am: Add the extra SGML files to content_files,
785 so that they are distributed properly.
787 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
789 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
792 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
794 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
795 (hildon_note_new_information_with_icon_name): Set the "icon" property
796 to preserve soundness.
798 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
800 * src/hildon-font-selection-dialog.c
801 (hildon_font_selection_dialog_set_property): Fail when the "family"
802 property is set to NULL.
804 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
806 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
809 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
811 * src/hildon-time-selector.h:
812 Added HildonTimeSelectorFormatPolicy
813 * src/hildon-time-selector.c:
814 Added PROP_TIME_FORMAT_POLICY
815 (_check_ampm_format): renamed to check_automatic_ampm_format
816 (update_format_policy), (update_format_dependant_columns): new functions
817 (hildon_time_selector_class_init)
818 (hildon_time_selector_contructor)
819 (hildon_time_selector_init)
820 (hildon_time_selector_get_property)
821 (hildon_time_selector_set_property)
822 (hildon_time_selector_get_time)
823 (hildon_time_selector_set_time)
824 * src/hildon-touch-selector.h: new file
825 * src/hildon-touch-selector.c
826 (hildon_touch_selector_emit_changed)
827 (hildon_touch_selector_block_changed)
828 (hildon_touch_selector_unblock_changed)
829 Added functions to allow to block the emission of the "changed" signal
830 * src/hildon-picker-dialog.c
831 (hildon_picker_dialog_show): call the parent show before the custom code
832 * examples/hildon-time-button-example.c
833 Modified, so now you can configure the time format using the new property
835 Added a new property "time-format-policy" that allow to choose the time
836 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
837 case it uses gconf in order to check if the time selector must use
840 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
843 2009-04-28 Alberto Garcia <agarcia@igalia.com>
845 * src/hildon-note.c (hildon_note_init):
846 Label in HildonNote must be left aligned, not centered. This
847 reverts the last commit in HildonNote.
849 Fixes: NB#112933 (text is not left aligned in confirmation dialog
850 is connectivity dialog)
852 2009-04-27 Alberto Garcia <agarcia@igalia.com>
857 * doc/hildon-sections.txt:
858 Added hildon_gtk_window_set_do_not_disturb()
860 2009-04-27 Alberto Garcia <agarcia@igalia.com>
862 * src/hildon-note.c (hildon_note_init): Center label.
864 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
867 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
872 * configure.ac: Bump version.
873 * debian/changelog: Updates.
875 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
877 * src/hildon-note-private.h: Add button-width to the private data.
878 * src/hildon-note.c (+resize_button),
879 (+hildon_note_orientation_update): methods to repack widgets on orientation
881 (screen_size_changed): Call above method for confirmation notes.
882 (hildon_note_realize): Always connect to the "screen-size" changed signal.
883 (hildon_note_rebuild): Store the original width request from buttons.
885 Fixes: NB#109635 (Confirmation notes do not support portrait)
887 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
889 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
890 when it is a progress note.
892 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
894 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
895 in the note, since there are no horizontally arranged contents.
897 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
899 * src/hildon-gtk.c (+set_flag): new generic method to
900 set/delay a flag setting in a window.
901 (hildon_gtk_window_set_progress_indicator):
902 (hildon_gtk_window_set_do_not_disturb),
903 (hildon_gtk_window_set_portrait_flags): use set_flag() to
904 avoid code redundance.
906 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
908 Based on a patch by Alberto Garcia (agarcia@igalia.com)
910 * src/hildon-gtk.c (set_clear_window_flag),
911 (do_set_progress_indicator), (do_set_do_not_disturb),
912 (do_set_portrait_flags),
913 (hildon_gtk_window_set_progress_indicator),
914 (hildon_gtk_window_set_do_not_disturb),
915 (hildon_gtk_window_set_portrait_flags):
916 Allow setting dnd-flag, progress indicator, and portrait flags
917 when the window is not realized.
919 2009-04-24 Alejandro G. Castro <alex@igalia.com>
921 * src/hildon-pannable-area.c,
922 * src/hildon-pannable-area.h: Add the hildon deprecated define to
923 the size request policy function and defines.
925 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
927 * doc/hildon-sections.txt: Add the new API.
928 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
929 method to set the portrait flags.
930 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
932 Fixes: NB#112328 (Adding helpers for setting portrait properties)
934 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
936 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
937 to allow using this method with other flags.
938 (hildon_gtk_window_set_progress_indicator): Update accordingly.
939 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
941 2009-04-22 Alberto Garcia <agarcia@igalia.com>
943 * src/hildon-touch-selector.c
944 (hildon_touch_selector_append_text_column):
945 Make the cell renderer use the smallest width possible.
947 Fixes: NB#108470 (Selected items in multiple selection are either
948 having a tick that is cut or not visible at all.)
950 2009-04-22 Alberto Garcia <agarcia@igalia.com>
952 * src/hildon-touch-selector.c
953 (hildon_touch_selector_append_text_column):
956 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
958 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
959 Use g_strdup_printf() instead of a fixed size buffer.
961 2009-04-21 Alberto Garcia <agarcia@igalia.com>
963 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
964 Close banners when a HildonAppMenu is popped up.
966 Fixes: NB#111027 (Title menu closed immediately if activated when
967 "Invalid e-mail address" banner is shown)
969 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
974 * configure.ac: Bump version.
975 * debian/changelog: Updates.
977 2009-04-20 Alberto Garcia <agarcia@igalia.com>
979 * src/hildon-banner.c (hildon_banner_realize):
980 Mark HildonBanner as supporting portrait mode.
981 Use GDK to set window properties insetad of direct Xlib calls.
983 Fixes: NB#111830 (HildonBanner should be marked as supporting
986 2009-04-20 Alberto Garcia <agarcia@igalia.com>
988 * src/hildon-note.c (hildon_note_rebuild):
989 Hide action area in information notes. Prevents text from being
990 slightly aligned to the left.
992 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
995 2009-04-20 Alberto Garcia <agarcia@igalia.com>
997 Patch by Mox Soini (ext-mox.soini@nokia.com)
999 * src/hildon-banner.c (hildon_banner_create_animation):
1000 Use stylus-sized icons in animation banner.
1002 Fixes: NB#111206 (stylus sized icon for animation banner)
1004 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1008 (+hildon_gtk_window_set_do_not_disturb):
1009 New API to set the do-not-disturb flag.
1011 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1013 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1015 * examples/hildon-progress-indicator-example.c: Fix example
1017 * src/hildon-gtk.c (set_clear_window_flag)
1018 (hildon_gtk_window_set_progress_indicator):
1019 Create a generic function for setting flags to a window.
1020 Use GDK instead of direct Xlib calls.
1022 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1024 * src/hildon-button.c (hildon_button_set_arrangement):
1025 Due to NB#88126, if one of the labels is too long it will be
1026 painted outside the button. The 'value' label is more likely to be
1027 the longest one, so we change its packing options in order to
1028 truncate it if necessary. As a side effect, the 'title' label will
1029 no longer be truncated.
1031 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1033 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1038 * configure.ac: Bump version.
1039 * debian/changelog: Updates.
1041 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1043 Deprecation of the hildon_pannable_area_set_size_request_policy
1044 API, the only policy properly supported in gtk+ nowadays is the
1047 * src/hildon-pannable-area.c,
1048 (hildon_pannable_area_size_request): Added a workaround for the
1049 size_request to avoid the problems of huge pixmaps in case someone
1050 is still using the function.
1051 * src/hildon-pannable-area.h: Deprecated the enum with the
1054 Fixes: NB#110244 (Problems with the
1055 hildon_pannable_area_set_size_request_policy API)
1057 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1059 * src/hildon-pannable-area.c,
1060 (hildon_pannable_area_init),
1061 (hildon_pannable_area_size_request),
1062 (hildon_pannable_area_style_set),
1063 (hildon_pannable_draw_vscroll),
1064 (hildon_pannable_draw_hscroll),
1065 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1066 indicator_width to clarify the use of the attribute.
1068 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1073 * configure.ac: Bump version.
1074 * debian/changelog: Updates.
1076 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1078 * src/hildon-picker-dialog.c
1079 * src/hildon-touch-selector.c
1080 Reverting the change that tried to avoid the hardcoded height on
1081 the picker dialog, as causes problems on the hildon-touch-selector
1084 Fixes: NB#110029 (selectors not scrolling to selected value)
1086 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1088 * src/hildon-touch-selector.c: Fix typos
1090 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1092 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1093 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1094 request more motions after using it.
1096 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1098 * src/hildon-calendar.c (hildon_calendar_expose),
1099 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1100 Remove unused variables.
1102 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1104 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1105 variable assignment.
1107 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1109 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1110 Check the return value of gtk_tree_selection_get_selected()
1113 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1115 * src/hildon-animation-actor.c
1116 * src/hildon-button.c
1118 * src/hildon-pannable-area.c
1119 * src/hildon-picker-button.c
1120 * src/hildon-program.c
1121 * src/hildon-remote-texture.c
1122 * src/hildon-text-view.c
1123 * src/hildon-touch-selector.c
1124 * src/hildon-window-stack.c
1125 * src/hildon-window.c:
1126 Add missing 'Since: 2.2' tags.
1128 * doc/hildon-sections.txt:
1129 Add some missing symbols.
1131 * doc/hildon-docs.sgml:
1132 New 'Other' section for HildonAnimationActor and
1135 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1137 Patch by Iván Gómez (igomez@igalia.com)
1140 * doc/compiling.sgml
1141 * doc/hildon-docs.sgml
1142 * doc/hildon-sections.txt
1143 * doc/migration.sgml
1144 * doc/resources.sgml
1146 New chapters on using the Hildon library.
1147 Updated the general structure of the reference manual.
1148 Other minor documentation fixes.
1150 * src/hildon-calendar-popup.c
1151 * src/hildon-calendar.c
1152 * src/hildon-controlbar.c
1153 * src/hildon-date-editor.c
1154 * src/hildon-dialog.c
1155 * src/hildon-hvolumebar.c
1156 * src/hildon-number-editor.c
1157 * src/hildon-range-editor.c
1158 * src/hildon-sort-dialog.c
1159 * src/hildon-time-editor.c
1160 * src/hildon-time-picker.c
1161 * src/hildon-volumebar-range.c
1162 * src/hildon-volumebar.c
1163 * src/hildon-vvolumebar.c
1164 * src/hildon-weekday-picker.c:
1165 Add deprecation notes
1167 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1168 Document 'horizontal-movement' and 'vertical-movement' signals.
1170 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1175 * configure.ac: Bump version.
1176 * debian/changelog: Updates.
1178 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1180 * src/hildon-pannable-area.c,
1181 (hildon_pannable_area_class_init): increased the minimum velocity.
1182 (hildon_pannable_area_button_release_cb): Updated the
1183 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1184 setup. Review the code to control that last event.
1186 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1189 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1191 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1193 * src/hildon-get-password-dialog.c
1194 (hildon_get_password_set_property),
1195 (hildon_get_password_get_property), (create_contents):
1196 * src/hildon-login-dialog-private.h:
1197 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1198 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1199 (hildon_login_dialog_get_password):
1200 * src/hildon-set-password-dialog-private.h:
1201 * src/hildon-set-password-dialog.c
1202 (hildon_set_password_set_property),
1203 (hildon_set_password_get_property), (create_contents),
1204 (hildon_set_password_response_change),
1205 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1207 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1208 instead and look more Fremantle style.
1210 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1212 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1214 * doc/hildon-sections.txt
1215 * src/hildon-window-stack.h
1216 * src/hildon-window-stack.c
1217 (+hildon_window_stack_get_windows):
1218 New API to obtain the list of windows on a stack.
1220 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1222 * src/hildon-app-menu.c (hildon_app_menu_popup)
1223 (hildon_app_menu_class_init, -hildon_app_menu_show):
1224 Remove hildon_app_menu_show() and move all its checks to
1225 hildon_app_menu_popup()
1227 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1229 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1230 (_hildon_picker_dialog_set_selector): removed call to
1231 gtk_widget_set_size_request
1232 * src/hildon-touch-selector.c
1233 (_create_new_column): change the pannable size request policy
1235 Avoid to use a hardcoded height for the hildon picker dialog. In order
1236 to get that, we needed to change the hildon pannable size request
1238 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1240 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1242 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1243 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1246 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1248 * debian/control: Depend on osso-system-lock localization package.
1249 * src/hildon-code-dialog.c: Obtain the secu_application_title
1250 translation from osso-system-lock.
1251 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1252 for translation the atk related strings, that's not necessary.
1253 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1254 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1255 cancel button, it is not required.
1257 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1259 * src/hildon-pannable-area.c,
1260 (hildon_pannable_area_class_init): Modified the default value of
1261 the overshooting max speed, we have reduced it.
1263 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1265 * doc/hildon-sections.txt
1266 * src/hildon-window-private.h
1267 * src/hildon-window.h
1268 * src/hildon-window.c (hildon_window_class_init)
1269 (hildon_window_init, hildon_window_finalize)
1270 (hildon_window_realize, hildon_window_get_property)
1271 (hildon_window_set_property, hildon_window_update_markup)
1272 (hildon_window_get_markup, hildon_window_set_markup):
1273 New "markup" property and hildon_window_{get,set}_markup() methods.
1275 * examples/hildon-stackable-window-example.c (new_window):
1276 Update example to use hildon_window_set_markup()
1278 Fixes: NB#106375 (Need API to retitle a window with a title
1281 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1283 * src/hildon-pannable-area.c,
1284 (hildon_pannable_area_class_init): Changed the default value of
1285 the initial_hint to TRUE.
1286 (hildon_pannable_area_initial_effect): Changed the initial effect,
1287 not the effect is just the fade-out of the scrollbars.
1289 Fixes: NB#107775 (No scrollbars can be seen when several items are
1290 available in a dialog)
1292 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1294 * src/hildon-program.c (hildon_program_update_top_most):
1297 Fixes: NB#109179 (Memory leak in Hildon program)
1299 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1301 * src/hildon-banner.c (-get_current_app_window):
1302 Remove unused function.
1304 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1306 * src/hildon-pannable-area.c: Modified the documentation of the
1307 get adjustments functions to explain the problem of using the
1308 adjustment directly.
1309 (hildon_pannable_area_class_init): Improved the explanation about
1312 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1314 * src/hildon-app-menu-private.h
1315 * src/hildon-app-menu.c
1316 (hildon_app_menu_class_init):
1317 Bring back the 'external-border' style property
1318 (hildon_app_menu_class_init, hildon_app_menu_init)
1319 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1320 Set a fixed width-request for the menu, independent of the number
1323 Fixes: NB#94957 (Smoothly opened application menu)
1325 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1327 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1329 * src/hildon-banner.c
1330 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1332 Make sure that the banner is correctly placed the first time it's
1334 (hildon_banner_check_position, -check_fullscreen_state):
1335 Show the banner in the same place no matter if the window is in
1336 fullscreen mode or not.
1338 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1340 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1342 * src/hildon-touch-selector.c (_default_print_func): reorder
1343 concatenation for clarity.
1345 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1347 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1348 for multicolumn selectors.
1350 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1352 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1357 * configure.ac: Bump version.
1358 * debian/changelog: Updates.
1360 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1362 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1365 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1367 * configure.ac: removed libcangerra-gtk dependency
1368 * debian/control: removed libcanberra-gtk dependency
1369 * src/Makefile.am: removed libcanberra gtk related flags
1370 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1371 context, and manage a global canberra context instead
1373 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1375 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1377 Patch by Daniel Borgmann (danielb@openismus.com)
1379 * src/hildon-edit-toolbar.c:
1380 Adjust the left padding.
1381 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1382 Paint background of the edit toolbar.
1384 Fixes: NB#107897 (Patch to make editmodetoolbar background
1385 themeable and adjust margin)
1387 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1389 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1391 * src/hildon-program.c (hildon_program_update_top_most):
1392 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1394 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1395 change when the user tasks in/out of an application)
1397 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1399 * configure.ac: added libcangerra-gtk dependency
1400 * debian/control: added libcanberra-gtk dependency
1401 * src/Makefile.am: added libcanberra gtk related flags
1402 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1405 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1407 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1409 * src/hildon-program.c (hildon_program_remove_window)
1410 (hildon_program_add_window): Add checks for the window
1411 parameter. Don't decrease the window counter if the window is not
1414 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1416 * src/hildon-pannable-area.c,
1417 (hildon_pannable_area_realize): Fixed position of the event_window
1418 in the realize method.
1420 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1422 * src/hildon-app-menu-private.h
1423 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1424 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1425 (hildon_app_menu_key_press, hildon_app_menu_init)
1426 (hildon_app_menu_finalize):
1427 Make sure that all idle functions are removed when the widget is
1430 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1432 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1437 * configure.ac: Bump version.
1438 * debian/changelog: Updates.
1440 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1442 * src/hildon-entry.c
1443 (+hildon_entry_show_placeholder),
1444 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1445 that replace hildon_entry_update_contents().
1446 (hildon_entry_set_text),
1447 (hildon_entry_set_placeholder),
1448 (hildon_entry_focus_in_event),
1449 (hildon_entry_focus_out_event): Determine when it is needed
1450 either to show or hide the placeholder and call the above methods.
1452 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1453 when the placeholder text is already set)
1455 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1457 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1458 simple GdkPixbufAnim using the new icons for the banner.
1459 (hildon_banner_show_animation): Use the above mentioned method to
1460 create the animation widget.
1462 Fixes: NB#103564 (Make hildon animation banner use individual
1463 image files as the animation)
1465 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1467 * src/hildon-pannable-area.c,
1468 (hildon_pannable_leave_notify_event): Check if the child is NULL
1469 to avoid sending the leave.
1471 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1473 * src/hildon-pannable-area.c,
1474 (hildon_pannable_area_class_init),
1475 (hildon_pannable_leave_notify_event): Added a handler of the
1476 leave-notify-signal to consider when no motion notify before
1479 Fixes: NB#107494 (Items stay selected when clicking and moving
1480 away when inside pannable area)
1482 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1487 * configure.ac: Bump version.
1488 * debian/changelog: Updates.
1490 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1492 Patch by Alberto Garcia (agarcia@igalia.com)
1494 * src/hildon-date-button.c,
1495 (hildon_date_button_class_init),
1496 (hildon_date_button_init): Removed the construct property handling
1497 and created a default selector in the init method.
1498 * src/hildon-picker-button.c,
1499 (hildon_picker_button_class_init): Removed the construct flag of the
1502 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1504 * src/hildon-main.c (hildon_init):
1505 Don't allow hildon_init() to be called more than once.
1507 Fixes: NB#106607 (hildon_init should issue error message upon
1510 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1512 * examples/hildon-pannable-area-touch-list-example.c
1513 * examples/hildon-pannagle-area-touch-grid-example.c
1514 * examples/hildon-edit-toolbar-example.c
1515 * examples/hildon-touch-selector-multi-cells-example.c
1516 Removed the call to gtk_rc_parse_string, as it is not required since
1519 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1521 * src/hildon-pannable-area.c,
1522 (hildon_pannable_area_class_init): Modified the default panning
1523 threshold of the widget to 6px.
1525 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1526 than the threshold value ) within the button is not sending the
1529 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1531 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1532 for the treeview in the new column. This way, the touch list will never
1535 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1536 be selected manually for the HW keys to work)
1538 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1540 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1541 comparison instead of using strcmp(). Fixes a compiler warning as well.
1543 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1545 * doc/hildon-docs.sgml: Do not set the library version in the
1546 document title, use the releaseinfo tag for that purpose instead.
1548 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1550 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1551 Do not jump to the first item if the text in the entry is removed.
1553 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1558 * configure.ac: Bump version.
1559 * debian/changelog: Updates.
1561 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1563 * src/hildon-entry.c (hildon_entry_refresh_contents):
1564 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1565 Use "ReversedSecondaryTextColor" for the placeholder text.
1567 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1569 * src/hildon-text-view.c: Fix compilation warning.
1571 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1573 * src/hildon-button.c (hildon_button_class_init): Don't make
1574 "title" and "value" construction properties, to prevent them from
1575 overwriting labels set from derived classes.
1577 * src/hildon-picker-button.c
1578 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1579 (hildon_picker_button_class_init): Make touch-selector a
1580 construction property.
1582 * src/hildon-date-button.c (hildon_date_button_class_init)
1583 (+hildon_date_button_constructed): Add a default date selector if
1586 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1588 * src/hildon-touch-selector.c: Small documentation fixes.
1590 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1592 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1594 * src/hildon-entry.c (hildon_entry_refresh_contents),
1595 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1596 widget name, set the logical color directly instead and a boolean
1597 showing_placeholder instead.
1598 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1599 use the widget name here either.
1601 Fixes: NB#105678 (HildonTextView should use logical colours
1602 instead of setting widget name)
1604 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1606 Patch by Daniel Elster (danielk@openismus.com)
1608 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1609 Add user_data parameter.
1610 (hildon_touch_selector_set_print_func_full): New function akin
1611 hildon_touch_selector_set_print_func() but with support for user
1612 data and a destroy callback.
1613 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1614 to clean up the print function user data.
1615 (hildon_touch_selector_class_init): Install dispose function.
1616 (HildonTouchSelectorPrivate::print_user_data),
1617 (HildonTouchSelectorPrivate::print_destroy_func): New private
1619 (hildon_touch_selector_init): Initialize new private members.
1620 (hildon_touch_selector_get_current_text): Pass along user data
1621 to the print function.
1622 (_default_print_func): Add dummy user_data to parameter list.
1623 * hildon-date-selector.c (_custom_print_func): ditto,
1624 * hildon-time-selector.c (_custom_print_func): ditto,
1625 * hildon-touch-selector-entry.c
1626 (hildon_touch_selector_entry_print_func): ditto.
1628 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1630 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1632 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1634 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1636 * src/hildon-pannable-area.c,
1637 (hildon_pannable_area_init),
1638 (hildon_pannable_area_button_press_cb),
1639 (hildon_pannable_area_motion_notify_cb): We have added code to
1640 handle the leave and enter events when using the motion events.
1642 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1644 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1646 * src/hildon-date-button.c (hildon_date_button_get_date)
1647 (hildon_date_button_set_date): Make sure that the button has a
1650 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1652 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1654 * src/hildon-pannable-area.c,
1655 (hildon_pannable_area_class_init),
1656 (hildon_pannable_area_calculate_velocity): Modify the use of the
1657 force and adapt the value.
1659 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1661 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1662 (hildon_app_menu_class_init): Hide the menu if it receives a
1663 delete-event, but don't destroy it
1665 Fixes: NB#104485 (Not able to address the call when application
1666 menu is opened at background)
1668 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1670 * src/hildon-app-menu.c
1671 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1672 Remove the "external-border" style property, let the menu take its
1673 natural size (or the one set by the window manager)
1674 (hildon_app_menu_repack_items):
1675 Don't reshow the menu, avoid flickers.
1677 Partially fixes NB#94957 (Smoothly opened application menu)
1679 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1684 * configure.ac: Bump version.
1685 * debian/changelog: Updates.
1687 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1689 * src/hildon-pannable-area.c,
1690 (hildon_pannable_area_motion_notify_cb): We control that the
1691 direction error margin is used just in case the movement is
1692 allowed in the other direction.
1694 Fixes: NB#105012 (buttons inside a pannable area not getting
1695 release event when dragging/releasing)
1697 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1699 * src/hildon-pannable-area.c,
1700 (hildon_pannable_area_class_init),
1701 (hildon_pannable_area_get_property),
1702 (hildon_pannable_area_set_property),
1703 (hildon_pannable_area_initial_effect),
1704 (hildon_pannable_axis_scroll),
1705 (hildon_pannable_area_button_release_cb): Reviewed the
1706 overshooting effect, now it has its own max
1707 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1708 speed when bouncing.
1710 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1715 * configure.ac: Bump version.
1716 * debian/changelog: Updates.
1718 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1720 * src/hildon-pannable-area.c,
1721 (hildon_pannable_area_class_init): Changed the max speed, now
1722 users can launch the widget very fast. Reduced the default force,
1723 that way it is easier to control the launch speed.
1725 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1727 * src/hildon-pannable-area.c,
1728 (hildon_pannable_area_button_release_cb): Removed this check
1729 because it causes problems when the device is overloaded.
1731 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1733 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1734 add a current_text field to store the text entered in the
1735 touch selector entry.
1736 (_clean_current_selection): clean up the current text as well.
1737 (_save_current_selection), (_restore_current_selection):
1738 Save/restore the text in the entry if the selector is a
1739 HildonTouchSelectorEntry.
1741 Fixes: NB#102541 (value entered in the touch selector entry is not
1742 shown when opened for second time)
1744 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1746 * doc/hildon-sections.txt:
1747 * src/hildon-touch-selector-entry.c
1748 (+hildon_touch_selector_entry_get_entry):
1749 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1751 Fixes: NB#104815 (I need accessor to the entry inside
1752 HildonTouchSelectorEntry)
1754 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1756 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1757 (hildon_app_menu_class_init):
1758 New "filter-vertical-spacing" style property.
1760 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1762 * src/hildon-find-toolbar.c
1763 (hildon_find_toolbar_emit_close)
1764 (hildon_find_toolbar_emit_invalid_input)
1765 (hildon_find_toolbar_entry_activate):
1766 Use g_signal_emit() instead of g_signal_emit_by_name()
1768 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1770 Patch by Mox Soini (ext-mox.soini@nokia.com)
1772 * tests/TEST-CASES.txt
1773 * tests/check-hildon-banner.c
1774 * tests/check-hildon-note.c
1775 * src/hildon-banner.c
1776 * src/hildon-code-dialog.c
1777 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1778 * src/hildon-time-editor.c
1779 * examples/hildon-lookup-example.c (main):
1780 Replace obsolete icon names with new ones.
1782 * src/hildon-find-toolbar-private.h:
1783 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1784 (-hildon_find_toolbar_emit_search):
1785 Remove find button and change icon of close button.
1787 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1789 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1791 * src/hildon-time-button.c (hildon_time_button_new_step):
1792 Use the "touch-selector" property to set the selector directly
1793 when creating the object.
1795 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1797 Added a new example application that allows tuning the pannable
1798 area and replaced defines with properties in order to simplify the
1799 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1800 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1801 PROP_DIRECTION_ERROR_MARGIN.
1803 * examples/hildon-pannable-area-tuning-example.c: New example
1805 * src/hildon-pannable-area.c,
1806 (hildon_pannable_area_class_init),
1807 (hildon_pannable_area_init),
1808 (hildon_pannable_area_get_property),
1809 (hildon_pannable_area_set_property),
1810 (hildon_pannable_area_launch_fade_timeout),
1811 (hildon_pannable_area_adjust_value_changed),
1812 (hildon_pannable_axis_scroll),
1813 (hildon_pannable_area_motion_notify_cb),
1814 (hildon_pannable_area_scroll_cb),
1815 (hildon_pannable_area_button_release_cb): We have converted some
1816 of the defines that control the widget to properties to simplify
1819 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1821 * src/hildon-app-menu.c (hildon_app_menu_map)
1822 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1823 so it's closed if a new window appears.
1825 Fixes: NB#104485 (Not able to address the call when application
1826 menu is opened at background)
1828 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1830 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1831 missing 'break' statement in in 'case' construct to avoid
1834 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1836 * src/hildon-touch-selector-entry.c
1837 (hildon_touch_selector_entry_get_property),
1838 (hildon_touch_selector_entry_set_property): Add missing 'break'
1839 statements in in 'case' constructs to avoid incorrect warnings.
1841 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1843 * src/hildon-time-editor.c
1844 (hildon_time_editor_get_time_separators): Do not crash if
1845 the first label is NULL.
1847 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1849 * src/hildon-date-selector.c (_month_days): Check for month to be
1850 strictly less than 12, since otherwise we may overrun the array.
1852 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1854 * src/hildon-date-button.c (+hildon_date_button_new_full)
1855 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1856 (hildon_date_button_init): Set the date selector using a
1857 construction property, to make it happen after HildonButton's
1858 "value" property is set.
1860 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1861 current date by default)
1863 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1865 * doc/hildon-sections.txt
1866 * src/hildon-program.c
1867 * src/hildon-stackable-window.c
1868 * src/hildon-window.c:
1869 Documentation updates
1871 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1873 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1874 (hildon_window_stack_new, +hildon_window_stack_set_property)
1875 (+hildon_window_stack_get_property)
1876 (hildon_window_stack_class_init)
1877 (+hildon_window_stack_set_window_group)
1878 (+hildon_window_stack_get_window_group):
1879 Make the window group a construction property.
1881 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1883 * doc/hildon-sections.txt
1884 * src/hildon-stackable-window-private.h
1885 * src/hildon-stackable-window.h
1886 * src/hildon-stackable-window.c
1887 (-hildon_stackable_window_set_app_menu)
1888 (-hildon_stackable_window_get_app_menu)
1889 (-hildon_stackable_window_toggle_menu)
1890 (-hildon_stackable_window_finalize)
1891 (hildon_stackable_window_class_init)
1892 (hildon_stackable_window_init)
1893 * src/hildon-window-private.h
1894 * src/hildon-window.h
1895 * src/hildon-window.c (hildon_window_init)
1896 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1897 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1898 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1899 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1900 Moved all HildonAppMenu code to HildonWindow. The menu does not
1901 require a HildonStackableWindow anymore.
1903 * src/hildon-app-menu.c
1904 * src/hildon-program.c
1905 * examples/hildon-app-menu-example.c (main):
1906 Update examples and documentation to reflect HildonAppMenu
1909 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1911 * src/hildon-remote-texture.c
1912 * src/hildon-animation-actor.c:
1913 Don't include unused private headers.
1915 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1917 * src/hildon-program-private.h
1918 * src/hildon-program.c
1919 (hildon_program_set_common_menu)
1920 (hildon_program_get_common_menu)
1921 (hildon_program_set_common_app_menu)
1922 (hildon_program_get_common_app_menu):
1923 Change common menu pointers from GtkWidget* to GtkMenu* and
1924 HildonAppMenu* to avoid unnecessary casts.
1926 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1928 * src/hildon-window.c (hildon_window_set_main_menu):
1929 Removed incorrect 'Since:' tag
1931 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1933 * src/hildon-pannable-area.c,
1934 (hildon_pannable_area_calculate_velocity): We use now the
1935 RATIO_TOLERANCE here to check the distance, fixed typo in the
1937 (hildon_pannable_area_motion_notify_cb): We have to set the type
1938 and time even if we are not sending the motion.
1940 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1942 * doc/hildon-sections.txt
1943 * src/hildon-app-menu.h
1944 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1945 (+hildon_app_menu_get_filters): New methods to get the contents of
1948 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1951 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1953 * src/hildon-app-menu.c (hildon_app_menu_popup):
1956 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1958 * src/hildon-window.h
1959 * src/hildon-window.c (+hildon_window_get_main_menu)
1960 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1961 and deprecated hildon_window_get_menu().
1963 * src/hildon-stackable-window.h
1964 * src/hildon-stackable-window.c
1965 (+hildon_stackable_window_set_app_menu)
1966 (+hildon_stackable_window_get_app_menu)
1967 (hildon_stackable_window_set_main_menu): Created
1968 hildon_stackable_window_{get,set}_app_menu() and deprecated
1969 hildon_stackable_window_set_main_menu().
1971 * doc/hildon-sections.txt
1972 * examples/hildon-app-menu-example.c (main)
1973 * src/hildon-app-menu.c
1974 * src/hildon-program.c:
1975 Updated examples and documentation.
1977 Fixes: NB#103758 (No way to obtain a menu from a
1978 HildonStackableWindow)
1980 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1985 * configure.ac: Bump version.
1986 * debian/changelog: Updates.
1988 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1990 * examples/hildon-remote-texture-example.c: Include
1991 hildon-remote-texture.h explicitely.
1992 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1993 applications not defining _XOPEN_SOURCE which don't require this header.
1995 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1997 * doc/hildon-sections.txt
1998 * src/hildon-app-menu.h
1999 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2000 New function to pop up a HildonAppMenu
2002 * src/hildon-stackable-window.c
2003 (hildon_stackable_window_toggle_menu):
2004 Use hildon_app_menu_popup() to show the menu.
2006 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2008 * src/hildon-app-menu.c (hildon_app_menu_show)
2009 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2010 menu if there's another window between it and its parent window.
2012 Fixes: NB#100468 (Application menu window is launched even when a
2013 new secondary-window/dialog is pending to be shown/realized)
2015 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2017 * src/hildon-window-stack.c (hildon_window_stack_push)
2018 (hildon_window_stack_pop_and_push):
2019 Don't forget to push/pop the first window.
2020 Reverse the window list before calling _push_list()
2022 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2024 * src/hildon-picker-button.h
2025 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2026 Remove "value_changed" slot to avoid ABI breakage
2028 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2030 * src/hildon-pannable-area.c,
2031 (hildon_pannable_area_realize),
2032 (hildon_pannable_area_unrealize),
2033 (hildon_pannable_draw_vscroll),
2034 (hildon_pannable_draw_hscroll): Changed the method to handle the
2035 GC used to draw the transparent scrollbar, this way we avoid
2036 creating the GC all the time when drawing the scrollbars.
2038 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2040 * src/hildon-pannable-area.c,
2041 (hildon_pannable_area_init),
2042 (hildon_pannable_area_remove): Removed some unnecessary casts.
2043 (hildon_pannable_area_dispose): Disconnected some signals before
2044 releasing the adjustments.
2046 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2048 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2049 Make sure that all widgets contained in the toolbar are shown.
2051 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2053 * doc/hildon-sections.txt
2054 * src/hildon-picker-button.h
2055 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2056 (_selection_changed, hildon_picker_button_on_dialog_response)
2057 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2058 New hildon_picker_button_value_changed() method.
2061 * src/hildon-picker-button-private.h
2062 * src/hildon-picker-button.c (hildon_picker_button_init)
2063 (+hildon_picker_button_disable_value_changed): Add protected
2064 function for disabling the "value-changed" signal.
2066 * src/hildon-date-button.c (hildon_date_button_set_date):
2067 Don't emit "value-changed" for each one of the three columns.
2069 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2070 before actual change of values)
2072 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2074 * src/hildon-pannable-area.c,
2075 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2076 for the treeview overshooting.
2078 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2080 * src/hildon-banner.c (+hildon_banner_bind_style):
2081 Renamed from hildon_banner_bind_label_style(), now naming the
2082 banner itself as well.
2083 (hildon_banner_show_information),
2084 (hildon_banner_show_information_with_markup),
2085 (hildon_banner_show_animation), (hildon_banner_show_progress):
2086 Name the widgets and labels, based on their type.
2088 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2091 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2093 * src/hildon-note.c (hildon_note_set_property): call
2094 hildon_note_rename() on HildonNote:note-type set.
2095 (hildon_note_rename): Name the note and its label, based on the
2096 HildonNote:note-type property.
2098 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2101 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2103 * src/hildon-pannable-area.c,
2104 (hildon_pannable_area_class_init),
2105 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2106 panning parameters, increased SPS and deceleration factor. Added
2107 also a margin to control fake directions.
2109 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2111 Patch by Sven Herzberg (sven@imendio.com)
2113 * configure.ac: Add missing AM_PROG_CC_C_0
2114 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2116 See NB#101420 (Update unit tests and fix make check)
2118 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2120 This patch was applied before but reverted because it caused
2121 problems, we have changed the main condition and tested the
2122 regressions we detected before and they work ok. We have done a
2123 complete review of the topmost algorithm in order to get a more
2126 * src/hildon-pannable-area.c,
2127 (hildon_pannable_area_get_topmost): Added a new parameter to
2128 filter the the windows that do not include those events.
2129 (hildon_pannable_area_button_press_cb),
2130 (hildon_pannable_area_button_release_cb),
2131 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2132 topmost function, we have added the new parameter.
2134 Fixes: NB#97458 (Pannable area prevents propagation of button
2137 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2139 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2140 if all columns in the selector have an item selected.
2141 (_on_dialog_response): Stop "response" signal emission if there is
2142 any selector column without selected items.
2144 Fixes: NB#101889 (Picker dialog should not close when nothing is
2145 selected in multiple selection list)
2147 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2149 * src/hildon-font-selection-dialog.c
2150 (hildon_font_selection_dialog_class_init),
2151 (hildon_font_selection_dialog_init): Remove the preview
2152 button and dialog, since previewing with default theming is likely
2153 to be overcomplicated. The :preview property has now no effect.
2154 Update documentation blurbs to inform about this.
2156 Fixes: NB#92297 (Preview content is not clearly visible for
2157 default colour text)
2159 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2161 Reviewed the geometry that handles the children size and
2162 scrollbar, now it tries a size and reviews the results depending
2163 on the scrollbars visibility.
2165 * src/hildon-pannable-area.c,
2166 (hildon_pannable_area_realize): Fixed a typo.
2167 (hildon_pannable_area_child_allocate_calculate): Added this
2168 function to calculate the child allocation.
2169 (hildon_pannable_area_size_allocate): Reviewed the allocation
2171 (hildon_pannable_area_check_scrollbars),
2172 (hildon_pannable_area_refresh): Refactored refresh function, this
2173 way we can call the code handling the scrollbars without causing a
2174 size_request, it is interesting in the allocate.
2175 (hildon_pannable_area_init): Replace the callbacks of the
2176 value_changed and changed signals to propertly deal with the
2178 (hildon_pannable_area_grab_notify),
2179 (hildon_pannable_area_initial_effect),
2180 (hildon_pannable_area_launch_fade_timeout),
2181 (hildon_pannable_area_adjust_changed),
2182 (hildon_pannable_area_adjust_value_changed),
2183 (hildon_pannable_area_redraw),
2184 (hildon_pannable_area_button_press_cb),
2185 (hildon_pannable_area_button_release_cb),
2186 (hildon_pannable_area_scroll_cb),
2187 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2188 code and use the new functions adjust_changed and
2189 adjust_value_changed.
2191 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2192 Contact editor dialog)
2194 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2199 * configure.ac: Bump version.
2200 * debian/changelog: Updates.
2202 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2204 * src/hildon-pannable-area.c,
2205 (hildon_pannable_area_get_topmost),
2206 (hildon_pannable_area_button_press_cb),
2207 (hildon_pannable_area_button_release_cb),
2208 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2209 topmost function adding the event mask. We have to try a
2210 differente approach because it is still causing problems (NB#9745,
2213 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2215 * src/hildon-banner.c:
2216 Update the maximum width of timed banners.
2217 (force_to_wrap_truncated): Enforce the maximum text width if the
2220 Fixes: NB#102413 (The text margins (wrapping) in information
2221 banner should be HILDON_MARGIN_TRIPLE)
2223 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2225 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2227 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2228 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2229 bound when calculating the scroll indicator position.
2231 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2232 treat ->lower correctly)
2234 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2236 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2237 expose event handling, since it is not necessary to draw the focus
2240 Fixes: NB#102467 (Do not show highlight on the text in
2243 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2245 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2246 full height of the toolbar for the button and the label.
2248 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2250 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2251 padding before the label and after the button.
2253 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2255 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2257 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2258 Add a GtkVSeparator between the button and the back arrow.
2259 Let the button have automatic size.
2260 Set a name to the widget for theming handling.
2262 Fixes: NB#101793 (Make edit toolbar the same height as window
2263 title bar (use title area theming))
2265 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2267 * src/hildon-helper.c (attach_new_color_element): Fix memory
2270 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2272 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2274 * examples/hildon-button-example.c (common_buttons_window): Don't
2277 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2279 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2280 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2282 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2284 * src/hildon-gtk.c: Check that the window is realized.
2286 Fixes: NB#102225 (Crash setting the progress indicator to a non
2289 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2291 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2292 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2293 instead of modifying the one in the widget style.
2295 Fixes: NB#101043 (Second row of all the command button are
2296 displayed in transparent mode.)
2298 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2300 * src/hildon-date-button.c
2301 * src/hildon-time-button.c: Add gettext macros
2303 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2305 * src/hildon-date-button.c (hildon_date_button_new):
2306 * src/hildon-time-button.c (hildon_time_button_new_step):
2307 Use new logical strings to set the button default title.
2309 Fixes: NB#99915 (Date and Time options are not localised in Date
2312 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2314 * src/hildon-pannable-area.c
2315 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2316 the PANNING_THRESHOLD.
2318 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2320 * src/hildon-pannable-area.c,
2321 (hildon_pannable_area_class_init): Increased the maximum speed.
2322 (hildon_pannable_area_get_property),
2323 (hildon_pannable_area_set_property),
2324 (hildon_pannable_area_timeout): Added a new low friction mode, it
2325 allows the user avoid friction when launching the widget fast
2326 enough. It is interesting to traverse long lists.
2328 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2330 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2331 (+hildon_stackable_window_delete_event): Ignore delete events if
2332 the window is not the topmost one.
2334 Fixes: NB#101698 (Back button long press and delete-event handling)
2336 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2338 * src/hildon-pannable-area.c,
2339 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2340 gtk-dnd-drag-threshold, it was too big. We have defined our own
2341 dnd define and set a smaller value: PANNIG_THRESHOLD.
2343 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2345 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2346 user-defined icons, use always the default one.
2348 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2350 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2352 This patch was applied before but reverted because it caused
2353 problems, we have changed the main condition and tested the
2354 regressions we detected before and they work ok.
2356 * src/hildon-pannable-area.c,
2357 (hildon_pannable_area_get_topmost): Added a new parameter to
2358 filter the the windows that do not include those events. Added
2359 also a condition when finding the window to filter windows that do
2360 not ask for those events.
2361 (hildon_pannable_area_button_press_cb),
2362 (hildon_pannable_area_button_release_cb),
2363 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2364 topmost function, we have added the new parameter.
2366 Fixes: NB#97458 (Pannable area prevents propagation of button
2369 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2371 * tests/check-hildon-color-button.c (START_TEST): do not leak
2374 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2376 * src/hildon-font-selection-dialog.c
2377 (hildon_font_selection_dialog_get_preview_text): Return NULL
2378 instead of FALSE on the g_return_val_if_fail().
2380 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2382 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2383 * src/hildon-date-selector.c
2384 (hildon_date_selector_select_current_date):
2385 Do not compare unsigned integers to be greater than or equal 0,
2386 because it's always TRUE.
2388 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2390 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2391 (hildon_date_selector_constructor): Do not select the current
2392 date until we are handle the "changed" signal, to avoid having bogus
2393 elements in the days model.
2395 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2397 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2398 for num_days, since _month_days() can return a negative value.
2400 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2402 * src/hildon-caption.c (hildon_caption_size_allocate):
2403 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2404 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2406 Initialize allocation variables to 0, to avoid eventually using
2407 unitialized variables.
2409 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2411 * src/hildon-bread-crumb-trail.c
2412 (hildon_bread_crumb_trail_size_allocate):
2413 * src/hildon-calendar.c (hildon_calendar_set_background):
2414 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2415 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2416 * src/hildon-seekbar.c (hildon_seekbar_init):
2417 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2418 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2419 * src/hildon-touch-selector-entry.c
2420 (hildon_touch_selector_get_text_from_model):
2421 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2422 * src/hildon-window.c (hildon_window_finalize):
2424 Remove many unused variables.
2426 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2428 * src/hildon-seekbar.c: (hildon_seekbar_init),
2429 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2431 Remove unnecessary g_assert() calls.
2433 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2435 * src/hildon-caption.c: (hildon_caption_expose),
2436 (hildon_caption_set_property), (hildon_caption_init),
2437 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2438 (hildon_caption_size_request), (hildon_caption_size_allocate),
2439 (hildon_caption_forall), (hildon_caption_set_separator),
2440 (hildon_caption_activate), (hildon_caption_set_child_expand),
2441 (hildon_caption_set_label_text),
2442 (hildon_caption_get_label_alignment):
2444 Remove unnecessary g_assert() calls.
2446 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2448 * src/hildon-banner.c
2449 (hildon_banner_map, hildon_banner_init): Make banner temporary
2450 before mapping it to avoid closing other temporary windows, but
2451 make it non-temporary afterwards to avoid being closed by other
2452 non-temporary windows.
2453 (-hildon_banner_client_event, hildon_banner_init):
2454 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2456 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2459 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2461 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2464 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2466 * src/hildon-remote-texture.c
2467 * src/hildon-remote-texture.h
2468 * src/hildon-remote-texture-private.h
2469 * examples/hildon-remote-texture-example.c:
2470 Updates/fixes to remote-texture and its example.
2472 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2474 Patch by Mox Soini (ext-mox.soini@nokia.com)
2476 * src/hildon-code-dialog.c: Update logical id.
2477 * src/hildon-set-password-dialog.c: Update logical id.
2479 Fixes: NB#100646 (Logical strings is shown for ok in set
2480 password,Password needed dialogs)
2482 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2485 * src/hildon-remote-texture.c
2486 * src/hildon-remote-texture.h
2487 * src/hildon-remote-texture-private.h
2489 Added remote texture widget (for Clutter shared memory textures)
2491 * examples/hildon-remote-texture-example.c
2492 * examples/Makefile.am
2493 Added example file for remote texture usage
2495 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2497 * configure.ac: post release version bump.
2498 * debian/changelog: version bump.
2500 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2505 * configure.ac: Bump version.
2506 * debian/changelog: Updates.
2508 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2510 * src/hildon-date-selector.c (hildon_date_selector_init)
2511 (hildon_date_selector_constructor): Don't connect to the "changed"
2512 signal until the selector is completely constructed.
2514 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2516 * src/hildon-touch-selector.c: (_create_new_column),
2517 (hildon_touch_selector_append_column),
2518 (hildon_touch_selector_set_column_selection_mode),
2519 (hildon_touch_selector_set_active),
2520 (hildon_touch_selector_select_iter):
2521 Emit the HildonTouchSelector::changed signal every time selection
2522 is changed in any of the methods above. This behavior was already
2523 documented but not fully functional.
2525 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2526 selection is programmatically changed)
2528 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2530 * doc/hildon-sections.txt: Remove obsolete icon
2531 sizes from here as well.
2533 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2535 * examples/hildon-stackable-window-example.c (add_window): Remove
2538 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2540 * src/hildon-app-menu.c
2541 (hildon_app_menu_show): Check whether the parent window of a menu
2542 is topmost before popping it up.
2544 Fixes: NB#100468 (Application menu window is launched even when a
2545 new secondary-window/dialog is pending to be shown/realized.)
2547 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2549 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2552 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2554 Patch by Mox Soini (ext-mox.soini@nokia.com)
2556 * src/hildon-banner.c: (hildon_banner_show_animation):
2557 use stylus size instead of obsolete note size.
2558 * src/hildon-defines.h: Update icon sizes.
2560 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2562 * src/hildon-touch-selector-entry.c:
2563 (hildon_touch_selector_entry_init): Disable unsupported
2565 (hildon_touch_selector_entry_get_text_column): Emit a warning
2566 if an unsupported input modes is used and explicitile state
2567 these modes in the documentation.
2569 Fixes: NB#99802 (Hildon touch selector entry not working properly
2570 for some of the input modes)
2572 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2574 * src/hildon-pannable-area.c,
2575 (hildon_pannable_area_init): Added the changed signal handlers of
2578 Fixes: NB#100320 (HildonPannableArea does not listen to
2579 GtkAdjustment "change" signals)
2581 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2583 * doc/hildon-sections.txt
2584 * src/hildon-window-private.h
2585 * src/hildon-window.h
2586 * src/hildon-window.c (hildon_window_init)
2587 (hildon_window_realize, hildon_window_unrealize)
2588 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2589 (hildon_window_size_request, hildon_window_size_allocate)
2590 (hildon_window_forall, hildon_window_show_all)
2591 (hildon_window_destroy, +paint_edit_toolbar)
2592 (+hildon_window_set_edit_toolbar):
2593 New hildon_window_set_edit_toolbar() method, to add a
2594 HildonEditToolbar to a window without having to pack it manually.
2596 Reorganize hildon_window_size_allocate()
2598 * src/hildon-edit-toolbar.c: Update documentation.
2600 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2601 example to use the new API.
2603 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2605 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2607 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2608 Remove from stack before calling parent's hide.
2610 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2612 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2613 window is removed from the middle of the stack, update the
2614 transiency of the previous one.
2616 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2619 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2621 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2622 block/unblock the signal handler if it's not actually being used.
2623 Fixes some critical warnings.
2625 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2627 Based on a patch by Iván Gómez (igomez@igalia.com)
2629 * src/hildon-banner.c
2633 * src/hildon-pannable-area.c
2634 * src/hildon-picker-dialog.c
2635 * src/hildon-wizard-dialog.h
2636 * src/hildon-wizard-dialog.c: Documentation updates.
2638 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2639 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2641 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2643 * configure.ac: post release version bump.
2644 * debian/changelog: version bump.
2646 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2651 * configure.ac: Bump version.
2652 * debian/changelog: Updates.
2654 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2656 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2657 a stock icon nor change the relief of the back arrow.
2659 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2660 graphics from theme)
2662 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2664 * src/hildon-button.c (hildon_button_set_alignment): Use
2665 priv->alignment if the button has no child yet.
2667 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2669 * src/hildon-button.c: (hildon_button_init): Set the
2670 button style during initialization to give it the proper
2673 Fixes: NB#99713 (HildonButton value label color is wrong)
2675 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2677 * src/hildon-touch-selector.c: Document
2678 hildon_touch_selector_center_on_selected()
2680 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2682 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2683 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2684 all menu items, but not the menu itself.
2685 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2686 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2687 items after adding them to the menu so keyboard accelerators work.
2688 (hildon_app_menu_show): Don't show the menu if it contains items
2689 but none of them are visible.
2691 * examples/hildon-app-menu-example.c (create_menu): Use
2692 gtk_widget_show_all() to show all menu items.
2694 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2696 * src/hildon-picker-dialog.c:
2697 (-_update_title_on_selector_changed_cb),
2698 (-_dialog_update_title): Removed.
2699 (_select_on_selector_changed_cb), (_on_dialog_response),
2700 (on_selector_columns_changed): Do not update the dialog title.
2701 (setup_interaction_mode): Do not connect to
2702 HildonTouchSelector::changed signal if there's a "done" button, as
2703 the dialog title doesn't need to be updated.
2705 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2708 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2710 Patch by Kristian Rietveld (kris@imendio.com)
2712 * src/hildon-touch-selector.c: (_create_new_column): Use new
2713 GtkTreeView::hildon-row-tapped signal to react to user interactions
2714 instead of ::changed.
2716 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2717 with some dynamic tree model)
2719 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2721 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2722 (+screen_size_changed, +label_size_request)
2723 (hildon_note_class_init): Make the Hildon information note have a
2724 minimum height, and make its text hvae a maximum width.
2726 Fixes: NB#98614 (Hildon information note (background) should have
2727 minimum height and maximum text width)
2729 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2731 * src/hildon-banner.h
2732 * src/hildon-banner.c (hildon_banner_show_information)
2733 (hildon_banner_show_informationf)
2734 (hildon_banner_show_information_with_markup): Update documentation
2735 to reflect that the icon_name parameter is not used anymore.
2736 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2737 Remove all code from these functions and mark them as deprecated.
2738 (hildon_banner_show_progress): Mark as deprecated.
2740 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2742 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2744 * src/hildon-pannable-area.c,
2745 (hildon_pannable_area_class_init),
2746 (tranparency_color),
2747 (hildon_pannable_draw_vscroll),
2748 (hildon_pannable_draw_hscroll),
2749 (hildon_pannable_area_expose_event): Added a new way to render the
2750 scrollbars of the pannable area avoiding using cairo at all. This
2751 way we improve the performance of the pannable area rendering. The
2752 cairo rendering procedure is still in the code, we can control
2753 which one to use changing the value of the define
2754 USE_CAIRO_SCROLLBARS.
2756 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2758 * configure.ac: post release version bump.
2759 * debian/changelog: version bump.
2761 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2766 * configure.ac: Bump version.
2767 * debian/changelog: Updates.
2769 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2771 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2772 banners instead of destroying them when they receive a button
2775 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2777 Reverted commit 34028, it was causing regressions, probably the
2778 topmost condition is not correct, we have to check it in more
2779 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2780 propagation of button press events)
2782 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2784 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2785 that the selection is not empty before attempting to retrieve the
2786 current ampm selection.
2788 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2790 * src/hildon-picker-button.c:
2791 (hildon_picker_button_on_dialog_response): Directly update the
2792 button contents when required instead of calling _selection_changed.
2794 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2796 * src/hildon-program.c (hildon_program_update_top_most): Update
2797 'is-topmost' property also when wm_hints is not set.
2799 Fixes: NB#98383 (is-topmost signal is not emitted when task
2800 switcher is clicked.)
2802 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2804 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2808 * src/hildon-animation-actor.c,
2809 * src/hildon-animation-actor.h: Added the animation actor class,
2810 this widget represents an animation actor for WM-assisted
2811 animation effects in the Hildon framework.
2813 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2815 * src/hildon-window-stack-private.h
2816 * src/hildon-window-stack.c
2817 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2818 Avoid calling gtk_widget_show() again indirectly from
2819 hildon_stackable_window_show()
2821 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2823 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2826 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2828 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2829 (hildon_time_selector_init): Move the construction of the hours and
2830 ampm columns to the constructor to preserve the order the columns
2833 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2835 * src/hildon-picker-dialog.c:
2836 (hildon_picker_dialog_class_init): Connect a realize method.
2837 (+hildon_picker_dialog_realize): Setup the interaction mode here
2839 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2840 yet, do it during the realize instead.
2841 (_on_dialog_response):
2842 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2843 if the widget is not realized, to avoid the dialog response before it
2846 Avoid premature responses in the HildonPickerDialog that can cause it
2847 to be hidden before it's even shown.
2849 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2851 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2852 (on_selector_columns_changed), (requires_done_button),
2853 (+prepare_action_area), (setup_interaction_mode),
2854 (_hildon_picker_dialog_set_selector):
2856 Split the interaction mode setup into preparation of the
2857 action area (prepare_action_area()) and the connection of
2858 the signals in setup_interaction_mode() and update the code to
2861 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2863 * src/hildon-pannable-area.c,
2864 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2865 per second to 15, we will check if this is ok regarding
2868 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2870 * src/hildon-pannable-area.c,
2871 (hildon_pannable_axis_scroll): Avoid resize if we already have
2872 reached overshoot_max.
2874 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2876 * src/hildon-pannable-area.c,
2877 (hildon_pannable_area_init),
2878 (hildon_pannable_area_realize),
2879 (hildon_pannable_area_size_allocate),
2880 (hildon_pannable_area_map),
2881 (hildon_pannable_area_unmap),
2882 (hildon_pannable_draw_vscroll),
2883 (hildon_pannable_draw_hscroll),
2884 (hildon_pannable_area_expose_event),
2885 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2886 pannable are to avoid the expose events go to the window and
2887 redraw the window. We save this way that part of the stack and the
2888 paint_boxes. We had to change the positions of the elements when
2891 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2893 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2894 * src/hildon-color-chooser-dialog.c:
2895 (hildon_color_chooser_dialog_init):
2896 * src/hildon-font-selection-dialog.c:
2897 (hildon_font_selection_dialog_init),
2898 (hildon_font_selection_dialog_show_preview):
2899 * src/hildon-get-password-dialog.c:
2900 * src/hildon-login-dialog.c:
2901 * src/hildon-set-password-dialog.c:
2902 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2903 * src/hildon-time-picker.c: (hildon_time_picker_init):
2905 Remove obsolete logical string IDs and update to the appropriate ones.
2907 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2909 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2911 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2912 that happens if the window hasn't been realized yet.
2914 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2915 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2917 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2919 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2920 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2923 Fixes: NB#98537 (Device hangs in account settings dialog)
2925 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2927 * configure.ac: post release version bump.
2928 * debian/changelog: version bump
2930 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2935 * configure.ac: Bump version.
2936 * debian/changelog: Updates.
2938 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2940 Added a new function to the HildonTimeButton widget that allows to
2941 change the step of the minutes in the selector associated with the
2942 button: hildon_time_button_new_step
2944 * src/hildon-time-button.c,
2945 (hildon_time_button_init),
2946 (hildon_time_button_new),
2947 (hildon_time_button_new_step):
2948 * src/hildon-time-button.h: Added the new function and refactored
2950 * examples/hildon-time-button-example.c,
2951 (main): We have replaced the function without parameters with the
2952 function with the steps set to 5
2954 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2956 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2958 * src/hildon-time-selector.c,
2959 (hildon_time_selector_class_init),
2960 (hildon_time_selector_constructor),
2961 (hildon_time_selector_get_property),
2962 (hildon_time_selector_set_property),
2963 (_create_minutes_model),
2964 (hildon_time_selector_new_step),
2965 (hildon_time_selector_set_time),
2966 * src/hildon-time-selector.h: Added a new property to the
2967 HildonTimeSelector (minutes-step), we use that property to control
2968 the steps between the minutes in the list of the selector. We have
2969 added a new function to the API to create a widget changing the
2970 step: hildon_time_selector_new_step.
2972 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2974 * src/hildon-time-selector.c,
2975 (hildon_time_selector_class_init),
2976 (hildon_time_selector_constructor),
2977 (hildon_time_selector_init): Overrided the construct function when
2978 creating the time selector object. We have moved the minutes model
2979 handling code from the init to the new construction function:
2980 hildon_time_selector_constructor.
2982 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2984 * examples/hildon-date-button-example.c: (main): Use the new
2985 hildon_date_button_new_with_year_range() method in the example.
2986 * src/hildon-date-button.c:
2987 (+hildon_date_button_new_with_year_range): New public method
2988 to conveniently create a HildonDateButton with a custom year range
2989 in its HildonDateSelector.
2990 * src/hildon-date-button.h: Add the new public method definition.
2992 Fixes: NB#97908 (Not possible to change the year range in
2993 HildonDateSelector/HildonDateButton)
2995 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2997 * src/hildon-date-selector.c:
2998 (+hildon_date_selector_set_property),
2999 (+hildon_date_selector_get_property),
3000 (hildon_date_selector_class_init): Install new properties "min-year"
3001 and "max-year" to define boundaries for the year column.
3002 (_create_year_model): Use the boundary properties to populate the model.
3003 (+hildon_date_selector_new_with_year_range): New public method to
3004 create a HildonDateSelector with a user defined year range.
3005 (hildon_date_selector_select_current_date): Use the new boundaries to
3006 calculate the iterator of current year.
3007 * src/hildon-date-selector.h: Add the new public method definition.
3009 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3011 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3012 Install a constructor method.
3013 (+hildon_date_selector_construct_ui): construct the widget.
3014 (+hildon_date_selector_constructor): new constructor.
3015 (+hildon_date_selector_init): move out widget construction code to
3016 the new constructor.
3018 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3020 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3021 that there's actually a month or year selected before obtaining them.
3022 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3023 of the HildonTouchSelector::changed signal, as it was emitted on every
3024 single item selection.
3026 Fix some warnings and possible crashers due to the selection restoring.
3028 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3030 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3031 the signal handlers only after creating the dialog instead of on every
3034 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3036 * src/hildon-button.c (hildon_button_init)
3037 * src/hildon-check-button.c (hildon_check_button_init)
3038 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3039 focus when clicked by default.
3041 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3043 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3046 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3048 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3049 Alejandro G. Castro (alex@igalia.com)
3051 * src/hildon-picker-dialog.c:
3052 (hildon_picker_dialog_class_init): install new "center-on-show"
3054 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3055 (hildon_picker_dialog_set_property): add setter code for the new
3057 (hildon_picker_dialog_get_property): add getter code for the new
3059 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3060 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3063 Fixes: NB#92849 (Selected item is not always visible when
3064 HildonTouchSelector is shown)
3066 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3068 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3069 Alejandro G. Castro (alex@igalia.com)
3071 * src/hildon-touch-selector.c:
3072 (_create_new_column): Do not connect to the "realize" signal of the
3074 (hildon_touch_selector_append_column): center on the selected items
3075 when a new column is appended.
3076 (hildon_touch_selector_select_iter): Factor out the code to select a
3077 column to hildon_touch_selector_scroll_to().
3078 (+search_nearest_element): Method to retrieve the nearest selected
3079 element to the visible area of the pannable area in a column.
3080 (+on_realize_cb): scroll to the initially selected item.
3081 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3082 the pannable area is realized, otherwise delay this until it is.
3083 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3084 selected items of a given column.
3085 (+hildon_touch_selector_center_on_selected): Public method to center
3086 all columns on the nearest selected item.
3087 * src/hildon-touch-selector.h: Add definition for
3088 hildon_touch_selector_center_on_selected().
3090 Implement public API to ensure visibility of all selected items in
3091 a HildonTouchSelector.
3093 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3095 Fixed a problem in the fading when calling the scroll_to API, and
3096 improve scrollbar fading handling.
3098 * src/hildon-pannable-area.c,
3099 (hildon_pannable_area_grab_notify): avoid the timeout when the
3101 (hildon_pannable_area_button_press_cb),
3102 (hildon_pannable_area_motion_notify_cb): Code style changes.
3103 (hildon_pannable_area_button_release_cb): Review the conditions
3104 when releasing the mouse button to avoid unrequired fading
3106 (hildon_pannable_area_scroll_to): Do not calculate and set the
3107 velocity if the scroll is not required.
3109 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3111 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3112 Don't check whether the new selector is NULL: it cannot be.
3113 Hold a reference to the selector while doing the replacement.
3115 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3117 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3118 unnecessary size_request in a removed widget.
3120 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3122 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3123 an unnecessary reference tracking that was leaking.
3125 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3127 Added delayed motion notify event handling, this way we can
3128 discard redrawing if more than 25 events arrive per second.
3130 * src/hildon-pannable-area.c,
3131 (hildon_pannable_area_init): Initialized the new private atributes
3132 controlling this timeout
3133 (hildon_pannable_area_dispose): Remove the timeout that controls
3134 the motion notify events.
3135 (hildon_pannable_area_scroll): Added a condition to control the
3136 use of the acceleration.
3137 (hildon_pannable_area_motion_event_scroll_timeout),
3138 (hildon_pannable_area_motion_event_scroll): Added this two
3139 functions, they handle the motion notify events inside the
3141 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3142 to the scroll method with the new function.
3143 (hildon_pannable_area_button_release_cb): We have to remove the
3144 timeout handler and move to the last position if the last motion
3145 events were not handled.
3147 Fixes: NB#97028 (Pannable area updates on every motion event)
3149 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3151 * src/hildon-pannable-area.c,
3152 (hildon_pannable_area_get_topmost): Added a new parameter to
3153 filter the the windows that do not include those events. Added
3154 also a condition when finding the window to filter windows that do
3155 not ask for those events.
3156 (hildon_pannable_area_button_press_cb),
3157 (hildon_pannable_area_button_release_cb),
3158 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3159 topmost function, we have added the new parameter.
3161 Fixes: NB#97458 (Pannable area prevents propagation of button
3164 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3166 * src/hildon-pannable-area.c,
3167 (hildon_pannable_area_initial_effect): Added controls before
3168 launching the timeout and the idle functions.
3169 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3170 of the method, in some situations it can return with TRUE and 0 in
3172 (hildon_pannable_area_button_press_cb): We do not need to set
3173 DELAY for fading out here.
3175 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3177 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3179 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3180 post-cleaning if the selection is not NULL.
3182 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3184 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3185 all items before restoring the selection.
3187 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3189 * src/hildon-touch-selector.c:
3190 (+hildon_touch_selector_unselect_all):
3191 * src/hildon-touch-selector.h: New API to unselect all items in a
3192 column of the touch selector.
3194 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3196 * src/hildon-pannable-area.c,
3197 (hildon_pannable_area_redraw): Added a call to the refresh
3198 function inside the redraw because apparently in some cases the
3199 change in the adjustment does not imply a size allocate.
3201 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3202 despite the view not being scrollable)
3204 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3206 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3207 leak. Check for NULL before attempting to set the window title.
3209 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3211 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3212 whether to show or not the 'Done' button each time the dialog is
3213 shown, as it depends on the HildonTouchSelector selection mode.
3215 Fixes: NB#96226 (In multiple selection mode Done button is shown
3216 sometimes in listpicker)
3218 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3220 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3221 for the number of columns in the HildonTouchSelector more than once.
3223 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3225 * src/hildon-touch-selector.c: Minor documentation fixes.
3227 * src/hildon-picker-dialog.c (+_dialog_update_title)
3228 (_select_on_selector_changed_cb)
3229 (_update_title_on_selector_changed_cb)
3230 (on_selector_columns_changed): Update dialog title when there's no
3231 'Done' button and also when the number of columns in the selector
3235 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3236 (+_selection_changed, hildon_picker_button_on_dialog_response)
3237 (hildon_picker_button_selector_selection_changed)
3238 (+hildon_picker_button_selector_columns_changed)
3239 (hildon_picker_button_set_selector): Update button value and emit
3240 'value-changed' when the number of columns in the selector
3244 Fixes: NB#96225 (Dialog titles are not shown according to the
3245 values selected in the list picker)
3247 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3249 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3250 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3251 New "arrow-width" and "arrow-height" style properties to set the
3252 size of the arrow button.
3253 Set name of arrow button ("hildon-edit-toolbar-arrow").
3255 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3256 graphics from theme)
3258 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3260 * src/hildon-picker-button.c:
3261 (hildon_picker_button_selector_selection_changed): Use
3262 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3263 the dialog is present.
3265 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3266 the selection is accepted in the dialog)
3268 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3270 * src/hildon-color-chooser.h
3271 * src/hildon-color-chooser-dialog.h:
3272 Added G_BEGIN_DECLS and G_END_DECLS
3274 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3276 (_clean_current_selection): plug a leak in the list.
3278 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3280 * src/hildon-picker-dialog.c:
3281 (+free_path_list): Method to free a GList of GtkTreePaths.
3282 (_clean_current_selection), (_save_current_selection),
3283 (_restore_current_selection): Save the current selection in
3284 as a list of lists, to support multiple selection properly.
3286 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3288 patch by Claudio Saavedra (csaavedra@igalia.com)
3290 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3291 Store the press position.
3292 (+hildon_text_view_button_release_event): If the release position is
3293 close enough to the press position, move the cursor here. Otherwise,
3295 (hildon_text_view_class_init): Override GtkTextView press, release, and
3296 motion event handlers, disabling this way text selection through
3297 pointer interaction, and allowing the container widget to handle the
3300 Fixes: NB#95828 (HildonTextView functionality)
3302 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3304 Based on a patch by Iván Gómez (igomez@igalia.com)
3306 * src/hildon-button.[ch]
3307 * src/hildon-calendar.c
3308 * src/hildon-check-button.c
3309 * src/hildon-date-editor.c
3310 * src/hildon-date-selector.c
3311 * src/hildon-picker-button.c
3312 * src/hildon-time-editor.c
3313 * src/hildon-time-selector.c
3314 * src/hildon-touch-selector.[ch]:
3315 Documentation updates
3317 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3319 * src/hildon-pannable-area.c,
3320 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3321 threshold, it was required due to X events handling.
3323 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3325 * src/hildon-pannable-area.c,
3326 (hildon_pannable_area_grab_notify),
3327 (hildon_pannable_area_initial_effect),
3328 (hildon_pannable_area_button_press_cb),
3329 (hildon_pannable_area_button_release_cb),
3330 (hildon_pannable_area_scroll_cb),
3331 (hildon_pannable_area_scroll_to): Review the timeout management of
3332 the scrollbar, the frecuency was incorrectly set.
3334 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3336 * src/hildon-picker-button.c:
3337 (+hildon_picker_button_on_dialog_response),
3338 (hildon_picker_button_clicked): Present the dialog instead of
3339 running it with gtk_dialog_run().
3341 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3344 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3346 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3347 (hildon_app_menu_finalize): When a window is hidden it doesn't
3348 emit notify::is-topmost, so make sure than the menu also
3349 disappears in that case.
3350 (parent_window_topmost_notify): Renamed from parent_window_hidden
3352 Fixes: NB#94460 (stackable window's menu is not closed when its
3355 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3357 * src/hildon-touch-selector-entry.c:
3358 (+hildon_touch_selector_entry_set_input_mode),
3359 (+hildon_touch_selector_entry_get_input_mode):
3360 * src/hildon-touch-selector-entry.h: New methods to access the input
3361 mode in the selector's entry.
3363 Fixes: NB#93410 (API required for setting IM mode in
3364 HildonTouchSelectorEntry)
3366 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3368 * configure.ac: post release version bump.
3369 * debian/changelog: version bump
3371 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3376 * configure.ac: Bump version.
3377 * debian/changelog: Updates.
3379 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3381 * src/hildon-touch-selector.c:
3382 (_hildon_touch_selector_has_multiple_selection): No need
3383 to initialize the variables here.
3385 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3387 * src/hildon-note-private.h
3388 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3389 (hildon_note_finalize, hildon_note_rebuild): Close information
3390 notes when they receive a button press.
3392 Fixes: NB#89890 (Information notes does not get disappeared after
3395 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3397 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3398 mark from the wizard title, as it's not really necessary. Also,
3399 do not display the page title if not set.
3401 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3403 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3404 (parent_window_hidden): Use the window's "is-topmost" property to
3405 detect when to hide the menu.
3407 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3409 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3410 (hildon_app_menu_finalize): If the parent window of the menu is
3411 hidden, hide the menu too.
3413 Fixes: NB#94460 (stackable window's menu is not closed when its
3416 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3419 * debian/libhildon1-examples.install
3421 * examples/Makefile.am:
3422 Use dh_install to install all examples.
3423 Use DEB_SRCDIR instead of defining SOURCE_DIR
3425 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3427 * configure.ac: post release version bump.
3428 * debian/changelog: version bump
3430 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3435 * configure.ac: bump version
3436 * debian/changelog: updates
3437 * debian/control: bump gtk+ dependency
3439 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3441 patch by Christian Dywan (christian@imendio.com)
3443 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3444 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3446 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3448 * src/hildon-check-button.c (hildon_check_button_init)
3449 (hildon_check_button_class_init, hildon_check_button_style_set)
3450 (hildon_check_button_apply_style):
3451 New "checkbox-size" style property.
3453 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3454 larger / configurable size)
3456 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3458 * configure.ac: post release version bump.
3459 * debian/changelog: version bump
3461 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3466 * configure.ac: bump version
3467 * debian/changelog: updates
3469 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3471 * doc/hildon-sections.txt
3472 * src/hildon-pannable-area.c
3473 * src/hildon-program.c
3474 * src/hildon-time-editor.c
3475 * src/hildon-touch-selector-entry.c:
3477 More documentation updates.
3479 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3481 * doc/hildon-sections.txt
3482 * src/hildon-caption.c
3483 * src/hildon-code-dialog.c
3484 * src/hildon-color-button.c
3485 * src/hildon-controlbar.c
3486 * src/hildon-date-editor.c
3487 * src/hildon-date-selector.c
3488 * src/hildon-edit-toolbar.c
3489 * src/hildon-find-toolbar.c
3490 * src/hildon-font-selection-dialog.c
3492 * src/hildon-program.c
3493 * src/hildon-range-editor.c
3494 * src/hildon-seekbar.c
3495 * src/hildon-time-editor.c
3496 * src/hildon-time-selector.c
3497 * src/hildon-volumebar-range.c
3498 * src/hildon-volumebar.c
3499 * src/hildon-vvolumebar.c
3500 * src/hildon-weekday-picker.c
3501 * src/hildon-window.c
3502 * src/hildon-wizard-dialog.c:
3504 Lots of documentation fixes.
3506 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3508 Patch contributed by Iván Gómez (igomez@igalia.com)
3510 * src/hildon-check-button.c:
3511 * src/hildon-date-button.c:
3512 * src/hildon-date-selector.c:
3513 * src/hildon-dialog.c:
3514 * src/hildon-edit-toolbar.c:
3515 * src/hildon-entry.c:
3516 * src/hildon-picker-button.c:
3517 * src/hildon-program.c:
3518 * src/hildon-text-view.c:
3519 * src/hildon-time-button.c:
3520 * src/hildon-touch-selector-entry.c:
3521 * src/hildon-window-stack.c:
3523 Add more "since" tags to the new API.
3525 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3527 * doc/hildon-sections.txt: Add below method.
3528 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3529 version for the hildonized scale.
3530 * src/hildon-gtk.h: Add the definition.
3532 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3534 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3536 * doc/hildon-sections.txt: Add missing entries for new methods.
3538 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3540 Added API to pannable are in order to get its adjustments. We
3541 added two properties to manage the values we had in the private
3544 * src/hildon-pannable-area.c:
3545 (hildon_pannable_area_class_init): Added hadjustment and
3546 vadjustment properties in order to expose horizontal and vertical
3548 (hildon_pannable_area_get_property),
3549 (hildon_pannable_area_set_property): Added code to handle the new
3551 (hildon_pannable_area_get_hadjustment),
3552 (hildon_pannable_area_get_vadjustment): API functions to get the
3554 * src/hildon-pannable-area.h:
3555 (hildon_pannable_area_get_hadjustment),
3556 (hildon_pannable_area_get_vadjustment): API functions to get the
3559 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3561 Fixed some leaks, after valgrinding.
3563 * src/hildon-touch-selector.c:
3564 (_default_print_func): Fixed a leak.
3565 (hildon_touch_selector_append_column): Fixed a leak.
3566 * src/hildon-date-button.c:
3567 (hildon_date_button_init): Fixed a leak.
3568 * src/hildon-date-selector.c
3569 (hildon_date_selector_finalize): Fixed a leak.
3571 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3573 Based on a patch by Christian Dywan (christian@imendio.com)
3575 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3577 * src/hildon-gtk.h: Add definition.
3579 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3581 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3583 * src/hildon-picker-button.c: (hildon_picker_button_init),
3584 (hildon_picker_button_new): Set the HildonButton::style property
3585 in the init method, to propagate the value to the derived classes.
3587 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3589 * src/hildon-button.c: (hildon_button_class_init): Do not make
3590 the "style" property a construct property.
3592 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3594 * src/hildon-wizard-dialog.h
3595 * src/hildon-wizard-dialog.c
3596 (hildon_wizard_dialog_set_forward_page_func)
3597 * src/hildon-pannable-area.h
3598 * src/hildon-pannable-area.c
3599 (hildon_pannable_area_set_size_request_policy):
3600 Documentation fixes.
3602 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3604 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3606 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3608 * doc/hildon-sections.txt: Added sections file.
3610 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3613 * src/*.[ch]: Updates.
3615 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3617 * examples/hildon-progress-indicator-example.c: new file
3618 * examples/Makefile.am: include the new example program
3620 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3622 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3624 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3626 * configure.ac: post release version bump
3627 * debian/changelog: version bump
3629 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3634 * configure.ac: bump version
3635 * debian/changelog: updates
3636 * debian/control: bump gtk+ dependency
3638 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3640 * src/hildon-dialog.c: Mark as deprecated.
3641 * src/hildon-dialog.h: Mark as deprecated.
3642 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3643 from HildonDialog and still work, even if
3644 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3645 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3647 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3648 maemo changes) instead)
3650 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3652 * src/hildon-pannable_area.h:
3653 * src/hildon-pannable_area.c:
3654 (hildon_pannable_area_class_init),
3655 (hildon_pannable_area_set_property),
3656 (hildon_pannable_area_get_property),
3657 (hildon_pannable_area_size_request),
3658 (hildon_pannable_area_get_size_request_policy),
3659 (hildon_pannable_area_set_size_request_policy): Added new API
3660 allowing applications to control the request policy. Now they can
3661 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3662 children allocation (HILDON_MOVEMENT_CHILDREN).
3664 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3668 (hildon_gtk_tree_view_set_ui_mode)
3669 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3670 mode of treeviews and iconviews.
3672 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3674 * src/hildon-touch-selector-entry.c:
3675 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3676 of a GtkEntry to get proper theming.
3678 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3679 widget, not GtkEntry)
3681 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3683 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3684 no HildonWizardDialogPageFunc.
3686 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3688 Patch contributed by Iván Gómez (igomez@igalia.com)
3690 * src/hildon-app-menu.c:
3691 * src/hildon-button.c:
3692 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3693 * src/hildon-stackable-window.c:
3694 * src/hildon-time-selector.c:
3695 * src/hildon-touch-selector.c:
3696 * src/hildon-window.c:
3698 Add more "since" tags to the new API in hildon 2.2.
3700 2008-12-05 Tim Janik <timj@imendio.com>
3702 Patch contributed by Christian Dywan (christian@imendio.com)
3704 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3705 HildonSizeType, which are supplied by Gtk+ now.
3707 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3709 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3710 (with maemo changes) instead)
3712 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3714 Patch contributed by Iván Gómez (igomez@igalia.com)
3716 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3719 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3721 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3722 (some_page_func), (main): Update the example to use a
3723 HildonWizardDialogPageFunc function.
3725 * src/hildon-wizard-dialog-private.h: Add private data for
3726 the HildonWizardDialogPageFunc function usage.
3728 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3729 (destroy), (hildon_wizard_dialog_init), (response),
3730 (hildon_wizard_dialog_set_forward_page_func):
3731 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3732 that applications can use to stop a HildonWizardDialog to jump to
3735 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3738 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3740 * src/hildon-program.h
3741 * src/hildon-program-private.h
3742 * src/hildon-program.c (hildon_program_init)
3743 (hildon_program_set_common_app_menu)
3744 (hildon_program_get_common_app_menu):
3745 New API for setting a common HildonAppMenu for all
3746 HildonStackableWindows registered with the HildonProgram.
3748 * src/hildon-stackable-window.c
3749 (hildon_stackable_window_toggle_menu):
3750 Use the common HildonAppMenu if a window doesn't have a specific
3753 * src/hildon-app-menu-private.h
3754 * src/hildon-app-menu.c
3755 (hildon_app_menu_get_parent_window):
3756 Function to obtain the window a HildonAppMenu is attached to.
3757 (hildon_app_menu_set_parent_window):
3758 Hide the menu if the parent window is set to NULL.
3760 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3762 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3763 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3764 search widget to popup.
3766 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3768 * configure.ac: post release version bump
3769 * debian/changelog: version bump
3771 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3776 * configure.ac: bump version
3777 * debian/changelog: updates
3779 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3781 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3783 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3784 (hildon_window_stack_window_realized)
3785 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3786 Set the leader GdkWindow when a window is stacked and realized,
3787 unset it when it's unstacked.
3788 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3790 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3792 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3794 * src/hildon-stackable-window.h
3795 * src/hildon-window-stack.h:
3796 Protect definition of HildonWindowStack using the preprocessor.
3798 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3800 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3801 Fix warning if all menu items are hidden.
3803 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3805 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3807 * src/hildon-controlbar.c:
3808 * src/hildon-hvolumebar.c:
3809 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3810 Multiple scale size defines updates.
3812 Fixes: NB#94322 (Scale Updates)
3814 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3816 * examples/hildon-app-menu-example.c (create_menu)
3817 Show items after adding them to the menu, as in the future the
3818 menu will no longer call gtk_widget_show() on the added items.
3820 * src/hildon-app-menu.c:
3821 Update example as explained above.
3823 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3825 * src/hildon-app-menu.c
3826 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3827 Make sure that all menu items have finger height.
3829 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3831 * src/hildon-picker-dialog.c:
3832 (_on_dialog_response), (_save_current_selection),
3833 (_restore_current_selection), (_clean_current_selection),
3834 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3835 Defined new functions in order to save the current internal selector
3836 selection previous open the dialog, in case that the use cancel the
3837 interaction, so the widget restores the previous selection.
3839 Fixes: NB#92032 (In calendar application, date values in 'new event'
3842 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3844 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3846 * src/hildon-button.c: Add a reference to the button examples in
3847 hildon-button-example.c
3849 * examples/hildon-button-example.c: Added examples of the most
3850 common button layouts.
3852 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3854 * src/hildon-app-menu.c (hildon_app_menu_show)
3855 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3857 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3859 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3861 * src/hildon-picker-dialog.c:
3862 (hildon_picker_dialog_init): Initialize the signal id for
3863 HildonTouchSelector::columns-changed.
3864 (+on_selector_columns_changed): Set up the interaction mode everytime a
3865 column is added or removed from the HildonTouchSelector.
3866 (_hildon_picker_dialog_set_selector): Connect to
3867 HildonTouchSelector::columns-changed and keep track of it.
3869 Make sure to update the interaction mode of the dialog everytime a
3870 column is added or removed in the HildonTouchSelector.
3872 Fixes: NB#93228 (Done button is not shown always in listpicker)
3874 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3876 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3877 a new ::columns-changed signal.
3878 (hildon_touch_selector_append_column): Emit ::columns-changed.
3879 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3881 Add a ::columns-changed signal, emitted when the number of columns in a
3882 HildonTouchSelector changes.
3884 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3886 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3887 (_hildon_picker_dialog_set_selector): Factor out the code
3888 to set up the dialog interaction mode.
3890 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3892 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3893 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3894 to signal_changed_id.
3896 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3898 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3901 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3903 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3904 Updated the logical ids related to ampm format, as now it is required to
3905 show it correctly localized even on languages with no default
3906 abbreviations for am or pm
3907 (_check_am_pm_format): check correctly the 24h format gconf property
3909 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3911 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3913 * src/hildon-button.c: Documentation updates.
3915 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3917 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3918 * src/hildon-caption.c: (hildon_caption_class_init):
3919 * src/hildon-color-button.c: (hildon_color_button_class_init):
3920 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3921 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3922 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3923 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3925 Remove deprecated GTK+ marshalers and replace them with the ones
3926 provided by GLib, for those available, add a marshaler for
3927 BOOLEAN:VOID, which is not available in GLib, and use it.
3929 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3931 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3932 the text from the previous column if there is no
3933 HildonTouchSelectorColumn::text-property set.
3935 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3937 * src/hildon-button.h
3938 * src/hildon-button.c (hildon_button_set_property)
3939 (hildon_button_get_property, hildon_button_class_init)
3940 (hildon_button_set_style, hildon_button_get_style):
3941 New "style" property to change the visual appearance of the
3944 * src/hildon-picker-button.c (hildon_picker_button_new):
3945 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3947 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3948 HildonButton look like PickerButton)
3950 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3952 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3953 column while building the default string.
3955 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3957 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3958 scroll indicator by default.
3960 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3962 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3964 * src/hildon-main.c: Fix the documentation for hildon_init()
3966 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3968 * doc/hildon-docs.sgml
3972 * src/hildon-window-stack-private.h
3973 * src/hildon-window-stack.h
3974 * src/hildon-window-stack.c:
3975 New HildonWindowStack object, that adds support for multiple
3976 stacks of windows per process.
3978 * src/hildon-stackable-window-private.h
3979 * src/hildon-stackable-window.h
3980 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3981 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3982 (hildon_stackable_window_show, hildon_stackable_window_hide)
3983 (hildon_stackable_window_class_init)
3984 (hildon_stackable_window_init):
3985 Use HildonWindowStack for stack management.
3987 * src/hildon-program.c (hildon_program_pop_window_stack)
3988 (hildon_program_peek_window_stack)
3989 (hildon_program_go_to_root_window):
3990 Add a fallback implementation to the deprecated functions using
3993 * examples/hildon-stackable-window-example.c:
3994 Use the new HildonWindowStack API.
3996 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3998 * src/hildon-stackable-window-private.h
3999 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4000 (hildon_stackable_window_hide, hildon_stackable_window_init):
4001 Remove all window stack management.
4003 * src/hildon-program-private.h
4004 * src/hildon-program.h
4005 * src/hildon-program.c (hildon_program_init)
4006 (hildon_program_pop_window_stack)
4007 (hildon_program_peek_window_stack)
4008 (hildon_program_go_to_root_window):
4009 Remove all window stack management and mark functions as
4012 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4014 * src/hildon-app-menu.c (hildon_app_menu_realize):
4015 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4017 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4019 * configure.ac: post release version bump
4020 * debian/changelog: version bump
4022 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4027 * configure.ac: bump version
4028 * debian/changelog: updates
4030 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4032 Based on initial code by Christian Dywan (christian@imendio.com)
4034 * doc/hildon-docs.sgml: Add section for hildon-main.
4035 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4036 * src/Makefile.am: Add new hildon-main.[ch]
4037 * src/hildon-defines.h: Update the icon sizes.
4038 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4039 new library initialization files and register icon sizes.
4040 * src/hildon-main.h: New declarations.
4041 * src/hildon.h: Include hildon-main.h
4043 Add new initialization functions to the library. These methods
4044 will register the hildon specific icon sizes and can be used in the
4045 future for other hildon specific bits.
4047 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4049 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4051 * src/hildon-window.c: (hildon_window_realize),
4052 (hildon_window_notify), (-hildon_window_update_title): Do not set
4053 the application name in the window title.
4055 Fixes: NB#89754 (Applications shouldn't display their names in the
4058 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4060 * src/hildon-note-private.h:
4061 * src/hildon-note.c: (hildon_note_set_property),
4062 (hildon_note_get_property), (hildon_note_class_init),
4063 (hildon_note_init), (hildon_note_finalize),
4064 (hildon_note_new_confirmation_with_icon_name),
4065 (hildon_note_new_information_with_icon_name):
4067 No need to mark as deprecated the actual code. Revert
4068 to avoid missing symbols in widgets using deprecated API.
4070 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4072 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4074 * src/hildon-volumebar.h
4075 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4076 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4078 * src/hildon-helper.h
4079 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4080 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4082 * examples/Makefile.am:
4083 Deprecate hildon-insensitive-example
4085 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4087 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4089 * examples/hildon-pannable-area-buttons-scroll-example.c:
4090 Make all buttons finger height
4092 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4094 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4096 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4097 update the day model only if it is really required, and to avoid the
4098 full-reconstruction aproach. Now it only add or remove the required days.
4100 The purpose of this is avoid superfluous HildonTouchSelector::changed
4103 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4104 with strange parameters)
4106 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4108 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4110 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4111 the WINDOW_TYPE property.
4113 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4115 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4118 Fix dependency to allow parallel compilation with make -jX
4120 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4122 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4123 color frame and some minor tweaks to make it more consistent with
4126 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4127 highlighted but not visible)
4129 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4131 * examples/Makefile.am: Fixed typo in the Makefile.am.
4133 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4135 Reviewed the use of MAEMO_GTK define, now we add the define in the
4136 compilation line, and we also add it to the pc file.
4138 * configure.ac: Added MAEMO_GTK define to the compilation command
4139 and removed it from the config.h.
4141 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4142 do not have to take care about this define if the library was
4146 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4148 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4150 * examples/Makefile.am,
4151 * examples/hildon-pannable-area-buttons-scroll-example.c,
4152 * examples/hildon-pannable-area-gesture-signals-example.c,
4153 * examples/hildon-pannable-area-scroll-jump-example.c,
4154 * examples/hildon-pannable-area-tree-view-example.c:
4155 Renamed the pannable area examples, now they have more meaningful
4158 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4160 * src/hildon-touch-selector.c:
4161 (hildon_touch_selector_set_column_selection_mode): Used of
4162 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4163 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4164 to avoid re-seting the same selection mode.
4166 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4167 breaks HildonPickerDialog)
4169 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4171 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4172 conditional in the Makefile.am
4174 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4176 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4177 Remove unused methods.
4179 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4181 * src/hildon-button.c (hildon_button_init):
4182 Make button images center-aligned by default
4184 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4187 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4188 activated, we have to think about how to deal with both defines
4189 MAEMO_GTK and MAEMO_CHANGES.
4191 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4193 * examples/hildon-app-menu-example.c (create_menu): Make all
4194 buttons finger size.
4196 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4198 Fixed the compilation without maemo gtk adding ifdefs with
4199 MAEMO_GTK define to the code, we have to check this version more
4202 * examples/Makefile.am: Added control to avoid some examples that
4203 just make sense with maemo gtk.
4206 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4207 hildon modes with the define.
4209 * examples/hildon-edit-toolbar-example.c,
4210 (create_icon_view): Create the icon view without hildon-gtk
4211 helpers if we are not using maemo gtk.
4213 * src/hildon-touch-selector.c,
4214 (_create_new_column): Create the treeview without hildon-gtk
4215 helpers if we are not using maemo gtk.
4217 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4219 * src/hildon-pnnable-area.c,
4220 (hildon_pannable_area_dispose),
4221 (hildon_pannable_area_button_press_cb),
4222 (hildon_pannable_area_child_mapped),
4223 (hildon_pannable_area_add),
4224 (hildon_pannable_area_remove): Added code to control the position
4225 of the event_window when adding and removing children from the
4226 pannable. We have to raise the event window when the child is
4229 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4230 selection mode using custom widget inside pannable)
4232 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4234 * configure.ac: post release version bump
4235 * debian/changelog: version bump
4237 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4242 * configure.ac: bump version
4243 * debian/changelog: updates
4245 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4247 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4248 search mode, in order to avoid lose the focus on the treeview when
4249 a hw key (like enter) is pressed.
4251 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4252 in HildonDateSelector dialog)
4254 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4256 * debian/rules: Added --enable-maintainer-mode
4257 * Makefile.am: Added ACLOCAL_AMFLAGS
4259 This allows to properly regenerate the Makefiles if you modify the
4260 configure.ac or any Makefile.am.
4262 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4264 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4265 properties, not needed at all.
4267 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4269 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4271 * src/hildon-note.c: (hildon_note_set_property),
4272 (hildon_note_get_property), (hildon_note_class_init),
4273 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4274 (hildon_note_new_confirmation_add_buttons): Remove icons.
4275 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4276 (hildon_note_new_information_with_icon_name): Deprecate.
4277 (hildon_note_new_confirmation): Act directly, without calling
4278 the deprecated constructor.
4279 (hildon_note_new_information): Act directly, without calling
4280 the deprecated constructor.
4281 * src/hildon-note.h: Mark deprecate methods as such.
4282 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4283 not run tests on the deprecated methods if built with deprecation
4286 Fixes: NB#91688 (Never show icons in information notes/confirmation
4289 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4291 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4292 (hildon_app_menu_key_press): Remove leftover usage of the
4293 private structure in HildonAppMenu struct.
4294 * src/hildon-app-menu.h: Remove leftover private structure
4295 from the HildonAppMenu struct.
4297 Fixes a crasher when using the HildonAppMenu.
4299 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4301 * src/hildon-picker-dialog.c: Use appropriate logical id
4302 for the default "Done" text.
4304 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4306 * configure.ac: post release version bump
4307 * debian/changelog: version bump
4309 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4311 Modified the way to scroll to the current selection just when the touch
4312 selector is shown on the screen, avoiding a g_idle. Added too a property
4313 to configure this behaviour. See hildon_pannable_area_jump_to_child
4314 documentation for more information.
4316 * src/hildon-touch-selector.c
4317 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4318 Added 'initial-scroll' property
4319 (hildon_touch_selector_set_property): Added
4320 (hildon_touch_selector_map): Removed as not required anymore
4321 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4322 only a concrete column, instead of iterate along all the columns
4324 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4329 * configure.ac: bump version
4330 * debian/changelog: updates
4332 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4334 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4335 compilation time warnings.
4337 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4339 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4340 the default value for HildonPannableArea::mov-mode to
4341 HILDON_PANNABLE_AREA_MODE_VERT.
4343 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4345 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4347 Reverting following commit:
4349 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4351 * src/hildon-app-menu-private.h
4352 * src/hildon-app-menu.[ch]
4353 * src/hildon-button.[ch]
4354 * src/hildon-check-button.[ch]
4355 * src/hildon-entry.[ch]
4356 * src/hildon-pannable-area.[ch]
4357 * src/hildon-text-view.[ch]:
4358 Added private field to the object's structure.
4360 because it causes an ABI breakage. We will need to introduce these
4361 changes later at some point. See NB#91636 for an extensive
4362 explanation and status.
4364 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4366 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4368 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4369 remove special cases that are no longer necessary.
4371 Fixes: NB#91016 (Change toolbar sizes, simplification)
4373 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4375 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4376 is shown in the cancel note.
4378 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4380 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4381 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4382 (hildon_seekbar_init): Remove steppers, remove expose event.
4383 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4385 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4387 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4389 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4390 label font to "SmallSystemFont" for vertically arranged buttons.
4392 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4395 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4397 * src/hildon-check-button.c
4398 (hildon_check_button_set_active, hildon_check_button_clicked):
4399 Don't access private parts directly, use getters instead.
4401 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4403 * src/hildon-check-button.c (hildon_check_button_new):
4404 Align the contents of the check button to the left.
4406 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4408 * src/hildon-pannable-area.c,
4409 (hildon_pannable_area_scroll_to),
4410 (hildon_pannable_area_jump_to),
4411 (hildon_pannable_area_scroll_to_child),
4412 (hildon_pannable_area_jump_to_child): Replace the mapped
4413 precondition of these functions with the realized, it is the
4414 correct state of the widget in this case. Changed the
4415 documentation according to this modification.
4417 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4419 Added a new EXTRA_CFLAGS option to add the deprecated define to
4420 the compilation command. This way we can avoid using the define in
4421 the documentation compilation.
4423 * configure.ac: Defined EXTRA_CFLAGS.
4425 * examples/Makefile.am:
4427 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4429 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4431 * src/hildon-picker-dialog.c:
4432 Defined a utility macro with the desired touch selector height
4433 Removed currently unused separator, and title_label variables from
4435 (hildon_picker_dialog_init): Removed code related to the creation
4436 of unused private variables title_label and separator.
4437 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4438 to ensure correct visualization of the touch selector inside the dialog.
4439 * src/hildon-touch-selector.c
4440 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4441 ensure a concrete height of the widget.
4443 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4446 * tests/Makefile.am:
4448 Remove spurious whitespaces.
4450 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4452 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4453 compilation warning after the cancel button removal.
4455 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4457 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4459 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4460 Makefile.am, that way we can choose not to compile some examples
4461 and tests of the deprecated widgets.
4463 * examples/Makefile.am: Divided the sources in deprecated and
4466 * src/Makefile.am: Added undef statement of the deprecated
4467 symbol to the enums file generation process.
4469 * src/hildon-color-chooser-dialog.c
4470 * src/hildon-color-chooser-dialog.h
4471 * src/hildon-color-button.c
4472 * src/hildon-color-button.h
4473 * src/hildon-color-chooser.c
4474 * src/hildon-color-chooser.h
4475 * src/hildon-controlbar.c
4476 * src/hildon-controlbar.h
4477 * src/hildon-date-editor.c
4478 * src/hildon-date-editor.h
4479 * src/hildon-hvolumebar.c
4480 * src/hildon-hvolumebar.h
4481 * src/hildon-private.c
4482 * src/hildon-private.h
4483 * src/hildon-range-editor.c
4484 * src/hildon-range-editor.h
4485 * src/hildon-seekbar.c
4486 * src/hildon-seekbar.h
4487 * src/hildon-time-editor.c
4488 * src/hildon-time-editor.h
4489 * src/hildon-time-picker.c
4490 * src/hildon-time-picker.h
4491 * src/hildon-volumebar.c
4492 * src/hildon-volumebar.h
4493 * src/hildon-vvolumebar.c
4494 * src/hildon-vvolumebar.h
4495 * src/hildon-bread-crumb-trail.h
4496 * src/hildon-bread-crumb-trail.c
4497 * src/hildon-calendar-popup.c
4498 * src/hildon-calendar-popup.h
4499 * src/hildon-weekday-picker.c:
4500 * src/hildon-weekday-picker.h:
4501 * src/hildon-bread-crumb-widget.c:
4502 * src/hildon-bread-crumb-widget.h:
4503 * src/hildon-bread-crumb.c:
4504 * src/hildon-bread-crumb.h:
4505 * src/hildon-calendar.c:
4506 * src/hildon-calendar.h:
4507 * src/hildon-caption.c:
4508 * src/hildon-code-dialog.c:
4509 * src/hildon-code-dialog.h:
4510 * src/hildon-font-selection-dialog.c:
4511 * src/hildon-font-selection-dialog.h:
4512 * src/hildon-get-password-dialog.c:
4513 * src/hildon-get-password-dialog.h:
4514 * src/hildon-login-dialog.c:
4515 * src/hildon-login-dialog.h:
4516 * src/hildon-number-editor.c:
4517 * src/hildon-number-editor.h:
4518 * src/hildon-set-password-dialog.c:
4519 * src/hildon-set-password-dialog.h:
4520 * src/hildon-sort-dialog.c:
4521 * src/hildon-sort-dialog.h: This is the list of deprecated
4524 * src/hildon-touch-selector.c:
4525 * src/hildon-window.c: Added undef statement to avoid compilation
4528 * tests/Makefile.am: Divided the sources in deprecated and
4531 * tests/check_test.c,
4532 (configure_tests): Marked the deprecated code that was adding
4533 suites with deprecated tests.
4535 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4537 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4539 * src/hildon-touch-selector.c: (_default_print_func): Do not
4540 duplicate a string returned by gtk_tree_model_get(), it is already
4543 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4546 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4548 * src/hildon-pannable-area.c
4549 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4550 method, it had problems when adding a widget with viewport the
4551 second time. Now checks if it already has a viewport and uses it.
4553 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4556 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4558 * src/hildon-pannable-area.c,
4559 (hildon_pannable_area_scroll_to),
4560 (hildon_pannable_area_jump_to),
4561 (hildon_pannable_area_scroll_to_child),
4562 (hildon_pannable_area_jump_to_child): Added a precondition to the
4563 scroll and jump to functions: the widget must be mapped before we
4564 can safely call these functions. We have also added documentation
4565 to the functions to explain how to use them in this situation.
4568 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4570 Reviewed the threading handling of the pannable widget, we have
4571 used the gdk_threads_add_timeout function instead of the usual
4572 glib handlers. This avoids some problems with the threads.
4574 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4575 (hildon_pannable_area_initial_effect),
4576 (hildon_pannable_area_scroll_indicator_fade),
4577 (hildon_pannable_area_button_press_cb),
4578 (hildon_pannable_area_timeout),
4579 (hildon_pannable_area_motion_notify_cb),
4580 (hildon_pannable_area_button_release_cb),
4581 (hildon_pannable_area_scroll_cb),
4582 (hildon_pannable_area_scroll_to): Removed the
4583 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4584 gdk_threads_add_timeout.
4586 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4588 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4593 * configure.ac: bump version
4594 * debian/changelog: updates
4596 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4598 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4599 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4600 * src/hildon-color-chooser-dialog.c:
4601 (hildon_color_chooser_dialog_init):
4602 * src/hildon-font-selection-dialog.c:
4603 (hildon_font_selection_dialog_init):
4604 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4606 Remove all cancel/close-like dialogs, as these are not going to be
4609 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4611 * src/hildon-note.c: (hildon_note_rebuild),
4612 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4615 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4617 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4619 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4620 sure all buttons are shown, even the Cancel/Close-like ones.
4622 Fixes: NB#90861 (Custom Confirmation dialogs should be
4623 protected from cancel button removal)
4625 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4627 * debian/control: Change libhildon1-examples dependency from libhildon1
4629 * debian/libhildon1-examples.install
4631 * Makefile.am: Modified the final install directory for the examples on
4632 package libhildon1-examples
4633 * Makefile.static: Update clean target in order to remove all the binary
4636 Changes suggested by Claudio after review new libhildon1-examples package
4638 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4640 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4641 * src/hildon-touch-selector.c: Ditto.
4643 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4645 * debian/control: Added new package libhildon1-examples, in order to pack
4646 the current hildon examples as documentation
4647 * debian/rules: Not to compress .c files, modify some includes on the
4648 examples (as normally are compiled locally, but when installed it will
4649 require to include the installed libhildon1 library), and rename
4651 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4652 install all the example files on the new example package
4653 * examples/Makefile.static: Added static makefile that can be used to
4654 compile the examples, once installed the new example package
4655 * examples: Most of the examples were modified in order to grant that
4656 all use only '#include "hildon.h"', in order to be easy to prepare
4657 it on the example package
4659 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4662 * debian/libhildon1-dev.install
4663 * debian/libhildon1-doc.install:
4664 Move all gtk-doc files to a separate libhildon1-doc package.
4666 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4668 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4670 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4672 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4674 * debian/rules: Fixed a error in order to avoid unnecessary calls
4675 to autogen.sh on package building
4677 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4679 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4681 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4683 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4686 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4688 * src/hildon-picker-button.c
4689 (hildon_picker_button_finalize):
4690 Free priv->done_button_text
4692 * src/hildon-time-button.c
4693 (hildon_time_button_set_time)
4694 * src/hildon-picker-button.c
4695 (hildon_picker_button_clicked)
4696 (hildon_picker_button_selector_selection_changed)
4697 (hildon_picker_button_set_selector)
4698 * src/hildon-date-button.c
4699 (hildon_date_button_set_date):
4700 Free strings returned by hildon_touch_selector_get_current_text()
4702 * src/hildon-button.c (hildon_button_construct_child):
4703 Fix leaks in priv->image and priv->label_box
4705 Fixes: NB#90535 (Memory leak in picker button)
4707 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4709 * src/hildon-button.c: (hildon_button_get_property): Do not access
4710 private elements directly, use getters instead.
4712 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4714 * src/hildon-app-menu-private.h
4715 * src/hildon-app-menu.c
4716 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4717 Store the menu's parent window.
4719 * src/hildon-stackable-window.c
4720 (hildon_stackable_window_toggle_menu)
4721 (hildon_stackable_window_finalize):
4722 Set the menu's parent window when the menu is shown, unset it when
4725 * src/hildon-app-menu.c
4726 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4727 (hildon_app_menu_class_init):
4728 Send unhandled keyboard accelerators to the parent window.
4730 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4732 * src/hildon-stackable-window.c
4733 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4735 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4737 * configure.ac: post release version bump
4739 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4742 * configure.ac: Bump version
4743 * debian/changelog: Updates
4744 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4747 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4749 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4752 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4753 GtkMenu with Hildon style.
4755 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4757 * src/hildon-picker-button.c:
4758 (hildon_picker_button_set_done_button_text): Set the dialog's
4759 done button text here as well.
4761 Fixes: NB#90232 (Picker button does not set the label on done button
4762 for the second time)
4764 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4766 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4769 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4771 * src/hildon-app-menu.c (hildon_app_menu_insert)
4772 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4773 the HildonAppMenu to be activatable using keyboard accelerators
4774 when the menu is not being shown.
4776 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4778 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4780 * src/hildon-stackable-window.c
4781 (hildon_stackable_window_show):
4782 Don't hide old windows automatically when new windows are shown:
4783 this is now a task for the window manager.
4784 (hildon_stackable_window_class_init)
4785 (hildon_stackable_window_hide):
4786 Remove windows from the stack everytime they're hidden.
4787 (hildon_stackable_window_realize):
4788 Don't change the _NET_WM_WINDOW_TYPE property. Use
4789 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4790 it as a stackable window.
4792 * src/hildon-program.c
4793 (hildon_program_pop_window_stack):
4794 Just hide the window to remove it from the stack.
4795 (hildon_program_go_to_root_window):
4796 Don't call gtk_widget_show(), this is now a task for the window
4799 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4801 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4803 * src/hildon-button.c
4804 (hildon_button_construct_child):
4805 Don't pack anything in the button until text or image are
4806 set. This allows adding a custom child after creating the button
4807 with hildon_button_new().
4808 (hildon_button_finalize, hildon_button_class_init)
4809 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4810 alignment and the label box even when they're not packed in the
4813 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4815 * src/hildon-touch-selector.h:
4816 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4817 currently the type definition was using GTK_TYPE_VBOX
4818 * src/hildon-touch-selector.c:
4819 Added some implementation notes in order to clarify that any other widget
4820 added without the column related API will not be included on the
4821 selection logic, and how the widget is freed, as some people ask about
4823 (hildon_touch_selector_remove): Reimplemented in order to free properly
4824 the column related data when you remove the private hbox.
4825 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4826 to get a proper HildonTouchSelectorColumn documentation
4828 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4830 * src/hildon-touch-selector-entry.c:
4831 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4832 text in the GtkEntry and there is no item selected. Fixes a
4835 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4837 * src/hildon-app-menu-private.h
4838 * src/hildon-app-menu.[ch]
4839 * src/hildon-button.[ch]
4840 * src/hildon-check-button.[ch]
4841 * src/hildon-entry.[ch]
4842 * src/hildon-pannable-area.[ch]
4843 * src/hildon-text-view.[ch]:
4844 Added private field to the object's structure.
4846 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4848 * configure.ac: post-release version bump
4850 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4854 * configure.ac: pre-release version bump
4856 * debian/changelog: updates.
4858 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4860 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4861 Disconnect the handler for HildonTouchSelector::changed.
4863 (hildon_picker_button_selector_selection_changed): Update the button
4864 value if the selection change was not triggered by the
4867 (hildon_picker_button_set_selector): connect to
4868 HildonTouchSelector::changed.
4870 Fixes: NB#89650 (Picker button is not updated, when selection in
4871 selector has changed)
4873 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4875 * src/hildon-picker-dialog.c
4876 (hildon_picker_dialog_realize): Removed as not required
4877 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4878 * src/hildon-picker-button.c
4879 (_current_selector_empty): New function, checks if the selector is empty
4880 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4881 if the current selector is empty, in order to avoid to show the dialog
4882 close the dialog in this case (and shows a g_warning).
4884 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4886 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4888 * src/hildon-pannable-area.c,
4889 (hildon_pannable_area_scroll): Added clause to stop movement when
4890 the child of pannable is smaller than one page.
4891 (hildon_pannable_area_scroll_to): Added conditions to avoid
4892 starting the scrolling movement if the child is smaller than one
4893 page, the complete child is in the screen, we do not have to move.
4895 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4897 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4899 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4900 this is managed automatically by the widget when the size of the
4903 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4905 * src/hildon-picker-button.c
4906 (hildon_picker_button_set_done_button_text): Make a copy of the
4907 text, and free the previous value.
4909 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4911 * src/hildon-touch-selector-entry.c:
4912 (hildon_touch_selector_entry_print_func): Return the selected row's
4913 text if the entry is empty.
4915 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4918 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4920 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4922 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4925 * src/hildon-check-button.h
4926 * src/hildon-check-button.c
4927 * examples/hildon-check-button-example.c:
4928 HildonCheckButton is now a new widget. 'toggled' signal added.
4930 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4932 * src/hildon-program-private.h
4933 * src/hildon-program.c (hildon_program_init)
4934 (hildon_program_finalize): Removed unused variables group_leader
4935 and name from HildonProgramPrivate.
4937 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4939 * src/hildon-check-button.c (hildon_check_button_set_active)
4940 (hildon_check_button_get_active, hildon_check_button_new): Use
4941 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4943 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4945 * src/hildon-touch-selector.h
4946 (hildon_touch_selector_set_column_attributes): added deprecation
4947 guard HILDON_DISABLE_DEPRECATED
4948 * src/hildon-time-selector.c
4949 (hildon_time_selector_set_time)
4950 (hildon_time_selector_get_time): Fixed a typo on documentation
4951 * src/hildon-touch-selector.c: update HildonTouchSelector and
4952 HildonTouchSelectorColumn documentation
4953 * src/hildon-touch-selector-entry.c: update "text-column" property
4955 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4956 to be added to the general documentation.
4958 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4960 * examples/hildon-pannable-area-example-4.c,
4962 * examples/hildon-pannable-area-example.c,
4963 (main): Modified the code in order to use the container add, with
4964 viewport treeviews could have problems if they are really big.
4966 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4968 * src/hildon-weekday-picker.c,
4969 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4970 the agreement regarding deprecation in the library.
4972 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4974 * examples/hildon-picker-button-multicolumn-example.c:
4975 (main): Use custom "done" button text.
4977 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4978 (hildon_picker_button_set_property),
4979 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4980 (hildon_picker_button_init),
4981 (+hildon_picker_button_get_done_button_text),
4982 (+hildon_picker_button_set_done_button_text): New methods to customize
4983 the "done" button label in the launched HildonPickerDialog. Also,
4986 * src/hildon-picker-button.h: add the public API.
4988 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4990 * src/hildon-date-selector.h:
4991 * src/hildon-picker-dialog.h:
4992 * src/hildon-time-selector.h:
4993 * src/hildon-touch-selector-column.h:
4994 * src/hildon-touch-selector.h:
4996 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4997 declarations. Fixes gtk-doc warnings.
4999 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5001 * src/hildon-picker-dialog.h
5002 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5003 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5005 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5006 long text is set as label for done button)
5008 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5010 * src/hildon-dialog.c (hildon_dialog_add_button):
5011 Set fixed width to all buttons in the HildonDialog.
5013 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5015 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5017 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5018 Set widget name using class name plus "-finger" or "-thumb".
5020 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5022 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5023 'clicked' when the state of the button is manually changed.
5025 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5027 * src/hildon-app-menu.c (hildon_app_menu_realize)
5028 (hildon_app_menu_unrealize, hildon_app_menu_init)
5029 (hildon_app_menu_class_init, item_visibility_changed):
5030 Change the menu layout when the size of the screen changes.
5031 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5032 Show warning only when changing the number of colums using the
5035 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5037 * debian/compat: Set to 5
5038 * debian/control: Update dependencies.
5039 * debian/libhildon1-dbg.install: Remove.
5040 * debian/libhildon1-dev.install: Update according to cdbs paths.
5041 * debian/libhildon1.install: Update according to cdbs paths.
5042 * debian/rules: Switch to cdbs.
5044 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5046 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5047 'item' variable renamed to 'filter'
5049 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5051 * src/hildon-app-menu.c (hildon_app_menu_insert)
5052 (hildon_app_menu_add_filter, remove_item_from_list)
5053 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5054 Don't leak hidden items when the menu is destroyed.
5056 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5058 * src/hildon-app-menu.c (hildon_app_menu_insert)
5059 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5060 (hildon_app_menu_set_columns, item_visibility_changed)
5061 (filter_visibility_changed, hildon_app_menu_repack_filters)
5062 (hildon_app_menu_repack_items):
5063 Repack items and filters separately.
5065 Don't repack all items, change only the ones that are needed to
5068 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5070 * src/Makefile.am: added hildon-touch-selector-column.h
5072 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5074 * src/hildon-touch-selector.c: added the property "text-column" to the
5075 class HildonTouchSelectorColumn, and related get/set functions
5076 (_default_printf_func): updated to use "text-column" property
5077 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5078 "text-column" in his documentation, as this is now included on
5079 HildonTouchSelectorColumn. The get/set_property can still be used,
5080 working as a wrapper to the concrete column "text-column" property
5081 (_text_column_modified): callback added in order to handle the signal
5082 "notify::text-column" of the concrete HildonTouchSelectorColumn
5083 (hildon_touch_selector_entry_get_text_column)
5084 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5085 modified in order to use the HildonTouchSelectorColumn "text-column"
5087 * src/hildon-time-selector.c:
5088 * src/hildon-date-selector.c:
5089 * examples/hildon-touch-selector-example.c
5090 * examples/hildon-touch-selector-multi-cells-example.c
5091 * examples/hildon-picker-button-multicolumn-example.c
5092 Set the right value to "text-column" property on the creation of a new
5093 column using hildon_touch_selector_append_column()
5095 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5097 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5099 * src/hildon-app-menu.c
5100 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5101 updating the layout of the menu, don't create all widgets again,
5102 just repack the items in their new places.
5104 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5106 * src/hildon-time-selector.c
5107 (hildon_time_selector_get_time)
5108 (hildon_time_selector_set_time)
5109 Added documentation of these public methods
5111 * src/hildon-date-button.h
5112 * src/hildon-touch-selector-column.h
5113 * src/hildon-time-button.h
5114 * src/hildon-picker-dialog.h
5115 * src/hildon-time-selector.h
5116 * src/hildon-picker-button.h
5117 * src/hildon-touch-selector.h
5118 * src/hildon-time-picker.h
5119 * src/hildon-date-selector.h
5120 * src/hildon-touch-selector-entry.h
5121 Modified in order to use hildon-widgets code style
5123 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5125 Added deprecated support to the compilation process using
5126 HILDON_DISABLE_DEPRECATED
5128 * configure.ac: Added the --disable-deprecated to the configure
5131 * src/hildon-weekday-picker.c:
5132 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5133 to use the deprecated support. We will update the other deprecated
5134 widgets status in a new patch.
5136 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5138 * configure.ac: Fixed typo with fatal warnings support, the
5139 variable name was not correct
5141 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5143 * src/hildon-app-menu.c
5144 * src/hildon-program.c: Update documentation.
5146 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5148 * configure.ac: Post-release version bump.
5150 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5155 * configure.ac: Pre-release version bump.
5156 * debian/changelog: Updates.
5158 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5160 * NEWS: Update news for previous releases.
5162 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5164 * examples/hildon-touch-selector-multi-cells-example.c:
5165 (create_selector): Update the example to use
5166 hildon_touch_selector_append_column() with a NULL renderer and set
5167 the renderers later.
5168 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5169 passed a NULL renderer. This is documented behavior now.
5171 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5172 This must be used if the developer wants full control on the layout of
5173 the renderers to be added to the column.
5175 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5177 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5179 * src/hildon-touch-selector.c: Documentation fixes.
5181 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5183 * src/hildon-wizard-dialog-private.h: Remove image and box.
5184 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5185 (hildon_wizard_dialog_set_property), (response): Completely remove
5186 image/icon support, and the containers required for the layout.
5188 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5190 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5192 * src/hildon-app-menu.c: Updated documentation.
5194 * src/hildon-stackable-window.c
5195 (hildon_stackable_window_set_main_menu): Unref the old menu after
5196 ref'ing the new one.
5198 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5200 * src/hildon-stackable-window.c
5201 (hildon_stackable_window_set_main_menu): Unref the previous menu
5202 instead of destroying it.
5204 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5205 floating reference and set has_user_ref_count to FALSE to make
5206 HildonAppMenu act like a normal ref-counted widget and not a
5209 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5212 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5214 * src/hildon-touch-selector-column.h: new file
5215 * src/hildon-touch-selector.h
5216 * src/hildon-touch-selector.c
5217 Implemented GtkCellLayout interface, in order to allow to configure
5218 the cell layout on each individual selector column
5219 (hildon_touch_selector_set_column_attributes): marked as deprecated
5220 * examples/hildon-touch-selector-multi-cells-example.c
5221 Example of how to use the GtkCellLayout interface on the selector
5223 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5225 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5227 * src/hildon-app-menu.h
5228 * src/hildon-app-menu.c
5229 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5230 (hildon_app_menu_append, hildon_app_menu_prepend):
5231 New methods to prepend, insert and move items in the menu.
5233 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5235 * src/hildon-wizard-dialog.c:
5237 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5239 (create_title): Update logical IDs and related code.
5240 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5242 * src/hildon-wizard-dialog.h: Note that
5243 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5244 point, as it is not used anymore.
5246 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5248 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5250 * src/hildon-note.c:
5251 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5252 shown. Do not display an icon in confirmation notes nor information
5254 (hildon_note_set_button_text): Update logical ID for cancel button.
5256 Fixes: NB#88850 (Update HildonNote button strings + signals)
5258 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5260 * src/hildon-stackable-window.c
5261 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5263 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5265 * src/hildon-app-menu-private.h
5266 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5267 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5268 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5269 temporary property 'columns' to change the number of columns.
5271 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5273 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5275 * examples/hildon-note-example.c: (on_information_clicked),
5276 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5277 debugging information.
5278 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5280 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5281 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5282 in order to close: this will be handled by the WM from now on.
5284 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5286 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5288 * src/hildon-app-menu-private.h
5289 * src/hildon-app-menu.c
5290 (hildon_app_menu_append, hildon_app_menu_add_filter)
5291 (button_visibility_changed, hildon_app_menu_apply_style)
5292 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5293 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5294 layout everytime a button (item or filter) is shown or hidden.
5296 * src/hildon-stackable-window.c
5297 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5300 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5302 * src/hildon-touch-selector.c:
5303 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5304 that the treeview inside the touch selector is in fremantle hildon mode
5305 * examples/hildon-date-button-example.c
5306 * examples/hildon-picker-button-multicolumn-example.c
5307 * examples/hildon-touch-selector-entry-example.c
5308 * examples/hildon-touch-selector-example.c
5309 * examples/hildon-time-button-example.c
5310 * examples/hildon-picker-button-example.c:
5311 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5313 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5315 * examples/hildon-text-view-example.c: (main): Remove the
5316 gtkrc bits, now handled by the theme.
5318 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5320 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5323 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5325 * po/Makefile.am: Install properly the mo files.
5326 * po/en_GB.po: Update translation, to ease testing purposes.
5328 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5330 * examples/hildon-picker-button-example.c: (main): Select an item
5331 in the selector before setting it to the button.
5333 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5335 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5336 Update button's value if the selector has an item active.
5338 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5339 'value' with the selector)
5341 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5343 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5344 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5345 (hildon_picker_button_class_init): Plug the finalize method.
5346 (hildon_picker_button_set_selector): If there's a previously set
5347 selector, unref'it before setting a new one.
5349 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5350 HildonTouchSelector)
5352 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5354 * src/hildon-touch-selector-entry.c:
5355 (hildon_touch_selector_entry_changed): Check if there is no text
5356 selected before setting the entry text.
5359 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5361 * src/hildon-touch-selector.h
5362 * src/hildon-touch-selector.c
5363 (hildon_touch_selector_get_active)
5364 (hildon_touch_selector_set_active): New methods to set/get the
5365 index of the selected item.
5367 * src/hildon-picker-button.h
5368 * src/hildon-picker-button.c
5369 (hildon_picker_button_get_active)
5370 (hildon_picker_button_set_active): New methods to set/get the
5371 index of the selected item.
5373 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5375 * configure.ac: post-release version bump.
5377 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5381 * configure.ac: Pre-release version bump.
5382 * debian/changelog: Updates.
5383 * debian/control: Add myself as maintainer and depend on l10n
5386 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5388 * src/hildon-window.c
5389 (hildon_window_set_main_menu)
5390 * src/hildon-stackable-window.c
5391 (hildon_stackable_window_set_main_menu):
5392 Updated documentation.
5394 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5396 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5397 Don't free selector->priv manually.
5400 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5403 (hildon_gtk_window_set_progress_indicator):
5404 * src/hildon-gtk.h: Added the new API
5405 hildon_gtk_window_set_progress_indicator, it changes the state of
5406 the window progress hint.
5408 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5410 * src/hildon-button.c
5411 * src/hildon-stackable-window.c: Minor documentation updates.
5413 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5415 * src/hildon-stackable-window.c: Updated documentation.
5417 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5419 * src/hildon-defines.h: Update margins definitions
5420 to the Fremantle sizes.
5423 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5425 * src/hildon-touch-selector.c,
5426 (_hildon_touch_selector_set_model): Cleaning the code after
5427 review, removed g_print and #if 0 from the code.
5429 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5431 * src/hildon-edit-toolbar.c: Update documentation.
5433 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5435 * src/hildon-check-button.h
5436 * src/hildon-check-button.c
5437 (hildon_check_button_set_label, hildon_check_button_get_label)
5438 * examples/hildon-check-button-example.c
5439 (button_clicked_cb):
5440 Removed deprecated methods.
5442 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5444 * src/hildon-text-view.c:
5445 Add sample code to the documentation.
5447 * src/hildon-entry.h
5448 * src/hildon-text-view.h:
5449 Minor cosmetic changes.
5451 * src/hildon-entry.c:
5452 Add sample code to the documentation.
5453 (hildon_entry_init, hildon_entry_refresh_contents):
5454 Don't allow NULL values in the placeholder.
5456 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5458 * doc/hildon-docs.sgml
5460 * examples/Makefile.am
5461 * examples/hildon-text-view-example.c
5463 * src/hildon-text-view.c
5464 * src/hildon-text-view.h
5466 New HildonTextView widget, with example.
5468 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5470 * po/POTFILES.in: Add missing files with translatable strings.
5471 Partially fixes NB#88287.
5473 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5475 * examples/hildon-pannable-area-example-2.c: (main): No need to
5476 set the cellrenderer height inside hildon touch lists, the theme does
5479 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5481 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5482 they are integrated in the theme.
5484 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5486 * examples/hildon-entry-example.c: Update the example adding
5487 widgets to modify the text and the placeholder of the HildonEntry.
5489 * src/hildon-entry.c: Show the placeholder everytime the widget
5490 is empty and loses the focus.
5492 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5494 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5496 * src/hildon-pannable-area.c,
5497 (hildon_pannable_area_size_request): Fixed bug in height
5498 requisition, avoid increasing size and add border twice.
5500 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5502 * configure.ac: postrelease version bump.
5504 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5508 * configure.ac: Prerelease version bump.
5509 * debian/changelog: update.
5510 * debian/rules: make -dbg package contain useful debugging symbols.
5512 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5514 * src/hildon-dialog.h
5515 * src/hildon-dialog.c
5516 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5517 New methods to add buttons with finger size.
5518 (hildon_dialog_new_with_buttons):
5519 Create buttons with finger size.
5521 * examples/hildon-dialog-example.c (main): Use HildonDialog
5522 methods to add buttons.
5524 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5526 * src/hildon-entry.c: Updated HildonButton documentation.
5528 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5530 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5531 button value label with (FALSE, FALSE) to prevent NB#88126 from
5534 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5536 * examples/hildon-pannable-area-example.c,
5537 (main): Removed examples panning a vbox inside a pannable
5538 area. Check bug NB#87965
5540 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5542 Patch contributed by Kris Rietveld (kris@imendio.com)
5544 * src/hildon-pannable-area.c,
5545 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5546 get_size and get_position, this saves an X server roundtrip.
5548 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5550 * doc/hildon-docs.sgml
5552 * examples/Makefile.am
5553 * examples/hildon-entry-example.c
5555 * src/hildon-entry.c
5556 * src/hildon-entry.h
5558 New HildonEntry widget, with example.
5560 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5562 * src/hildon-button.c (hildon_button_construct_child): Pack the
5563 image with expand == fill == FALSE. This is a workaround for a bug
5566 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5568 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5569 labels for the text column, to make it more look more dynamic.
5571 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5573 * src/hildon-time-selector.c
5574 Define gettext auxiliar macro N_
5575 (_create_minutes_model)
5576 (_create_hours_model)
5577 (_create_ampm_model): use of strftime in order to fill the model
5578 * src/hildon-date-selector.c
5579 (hildon_date_selector_finalize):
5580 (_locales_init): remove the logic related to get the name of the months
5581 using nl_langinfo, as it is not required anymore
5583 (_create_year_model)
5584 (_create_month_model)
5585 (_update_day_model): use of strftime in order to fill the model properly
5588 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5590 * src/hildon-button.h
5591 * src/hildon-button.c (hildon_button_get_image): New method to
5594 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5596 * src/hildon-touch-selector.c:
5597 (hildon_touch_selector_remove_column): Remove from the correct parent
5598 and also remove the list element and free it.
5601 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5603 * src/hildon-time-selector.c
5604 (_create_hours_model): change the range on 12h ampm format in order to use
5605 a 12-11 range instead of previous 01-12 range
5606 (hildon_time_selector_set_time): change the way to select the current time
5607 on 12h ampm format, due the change on the range
5608 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5611 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5613 * src/hildon-touch-selector.c
5614 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5615 in order to allow use this function on multiple row selection mode if
5616 the column is different that the first one
5619 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5621 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5622 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5624 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5626 * src/hildon-date-selector.h: clean some comments, now on the .c
5627 * src/hildon-date-selector.c
5628 (hildon_date_selector_select_month): first implementation
5629 (hildon_date_selector_select_day): added documentation, reimplemented
5630 using hildon_date_selector_select_current_date to avoid repeat code
5633 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5635 Reviewed interaction logic based on device experiences, refactored
5638 * src/hildon-pannable-area.c,
5639 (hildon_pannable_area_class_init): Updated default vmax speed.
5640 (hildon_pannable_area_calculate_velocity): Added this function, it
5641 avoids duplicate valocity calculation. Adjusted calculation to
5642 avoid problems with zero dist events.
5644 (hildon_pannable_area_motion_notify_cb): Now we use the
5645 calculate_velocity function.
5647 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5649 * src/hildon-date-selector.c
5650 (hildon_date_selector_select_current_date): fix the day range check
5651 as it failed using the last day of the current month
5654 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5656 * src/hildon-touch-selector.c
5657 (hildon_touch_selector_get_num_columns): added a parameter validation
5660 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5662 * examples/Makefile.am
5663 * examples/hildon-edit-toolbar-example.c: Example of the
5664 HildonEditToolbar widget.
5666 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5668 * configure.ac: postrelease version bump.
5670 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5674 * configure.ac: prerelease version bump.
5675 * debian/changelog: update.
5677 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5679 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5680 renderer to display stock icons in the touch list. Also, set the sizes
5681 to the recommended in the style guide.
5683 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5684 * src/hildon-touch-selector.h
5685 (hildon_touch_selector_set_active_iter): renamed, now is
5686 hildon_touch_selector_select_iter
5687 (hildon_touch_selector_get_active_iter): renamed, now is
5688 hildon_touch_selector_get_selected
5689 (hildon_touch_selector_unselect_iter): added
5690 * src/hildon-touch-selector.c
5691 Update after API modification (methods renamed)
5692 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5693 order to avoid problems selecting multiple elements on the column
5694 (hildon_touch_selector_unselect_iter): added the implementation
5695 * src/hildon-time-selector.c
5696 * src/hildon-date-selector.c
5697 * src/hildon-touch-selector-entry.c
5698 Update methods calls after hildon-touch-selector.h API modification (methods
5701 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5703 * src/hildon-stackable-window.c
5704 (hildon_stackable_window_finalize): Call the parent class's finalize.
5706 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5708 * examples/hildon-touch-selector-example.c: (create_selector): Use
5709 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5712 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5714 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5715 set a cell background color, to respect theming.
5717 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5719 * doc/hildon-docs.sgml
5722 * src/hildon-edit-toolbar.c
5723 * src/hildon-edit-toolbar.h
5724 * src/hildon.h: New HildonEditToolbar widget.
5726 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5728 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5731 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5732 * src/hildon-touch-selector.c
5733 (_create_new_column): use g_object_set instead of two g_object_set_property
5735 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5736 * src/hildon-touch-selector.c
5737 (_create_new_column): use of hildon_gtk_tree_view_new to create
5738 the treeview, instead of use directly g_object_new
5739 (_create_new_column): update the property name "vindicator-mode" for the
5740 new one "vscrollbar-policy"
5741 * examples/hildon-date-button-example.c
5742 * examples/hildon-picker-button-multicolumn-example.c
5743 * examples/hildon-touch-selector-entry-example.c
5744 * examples/hildon-touch-selector-example.c
5745 * examples/hildon-time-button-example.c
5746 * examples/hildon-picker-button-example.c
5747 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5748 to all the treeviews inside a pannable area.
5750 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5752 * src/hildon-button.h
5753 * src/hildon-button.c (hildon_button_init)
5754 (hildon_button_set_arrangement, hildon_button_set_alignment)
5755 (hildon_button_set_title_alignment)
5756 (hildon_button_set_value_alignment)
5757 (hildon_button_set_image_alignment)
5758 (hildon_button_construct_child): New methods to set the alignment
5759 of the individual components of the button (title, value,
5760 image). Also, new method to alter the xscale and yscale properties
5761 of the GtkAlignment inside the button, so more complex layouts can
5764 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5766 * src/hildon-button.c (hildon_button_style_set)
5767 (hildon_button_class_init, hildon_button_set_arrangement)
5768 (hildon_button_construct_child): Apply style properties
5769 correctly. Use the 'image-spacing' style property too.
5771 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5773 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5774 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5777 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5779 * src/hildon-pannable-area.c,
5780 (hildon_pannable_area_size_request): Fixed problem with
5781 pannable-area size_request.
5783 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5785 Added management for the grab-focus to a child widget, like a
5786 range, we need to fade out the scrollbar when releasing.
5788 * src/hildon-pannable-area.c,
5789 (hildon_pannable_area_init): Connected the grab-focus signal to
5791 (hildon_pannable_area_grab_notify): Added this function in order
5792 to manage the situation when the grab-focus ends. We have to
5793 fade-out the scrollbar.
5795 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5797 * src/hildon-app-menu.c: Minor documentation update.
5799 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5801 * src/hildon-app-menu.c
5802 * examples/hildon-app-menu-example.c (create_menu): Update
5803 examples and documentation to explain how to connect callbacks.
5805 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5807 * examples/hildon-button-example.c
5808 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5809 hildon_stackable_window_new instead of gtk_window_new
5811 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5813 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5814 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5815 (hildon_pannable_area_set_property),
5816 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5817 (hildon_pannable_area_unrealize),
5818 (hildon_pannable_area_size_request),
5819 (hildon_pannable_area_size_allocate),
5820 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5821 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5822 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5823 (hildon_pannable_area_initial_effect),
5824 (hildon_pannable_area_redraw),
5825 (hildon_pannable_area_scroll_indicator_fade),
5826 (hildon_pannable_area_expose_event),
5827 (hildon_pannable_area_get_topmost), (synth_crossing),
5828 (hildon_pannable_area_button_press_cb),
5829 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5830 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5831 (hildon_pannable_area_motion_notify_cb),
5832 (hildon_pannable_area_button_release_cb),
5833 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5834 (hildon_pannable_area_remove),
5835 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5836 chage the code layout to a more GtkWidget like. Review the use of
5839 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5841 * examples/hildon-pannable-area-example-4.c,
5842 (main): Modified the name of the hindicator_mode to
5845 * src/hildon-pannable-area.c,
5846 (hildon_pannable_area_class_init),
5847 (hildon_pannable_area_motion_notify_cb),
5848 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5849 we have reduced the amount of signals and managed reviewed its
5850 rationale. Changed the default decelerate value.
5852 (hildon_pannable_area_add),
5853 (hildon_pannable_area_redraw): Refactored functions.
5855 (hildon_pannable_area_init),
5856 (hildon_pannable_area_get_property),
5857 (hildon_pannable_area_set_property):
5858 (hildon_pannable_draw_vscroll),
5859 (hildon_pannable_draw_hscroll),
5860 (hildon_pannable_area_initial_effect),
5861 (hildon_pannable_area_expose_event),
5862 (hildon_pannable_area_scroll),
5863 (hildon_pannable_area_button_press_cb),
5864 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5865 and vindicator_mode with hscrollbar_policy and
5866 vscrollbar_policy. Replaced hscroll and vscroll with
5867 hscroll_visible and vscroll_visible.
5869 (hildon_pannable_area_refresh): Refactor the function, remove
5870 variables and check the calls to this function, added resize
5871 conditions in case the children change their layout.
5873 (hildon_pannable_area_size_request): Added more detailed
5874 size_request calculation.
5877 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5879 * src/hildon-color-chooser.c
5880 (init_borders): use the correct gtk_border_free instead of g_free, to
5881 avoid a crash when this widget is used (ie: the three color selection
5884 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5886 * src/hildon-check-button.c,
5887 (hildon_check_button_set_active): Fixed problem when setting the
5888 active value, the widget was not redrawn.
5890 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5892 * src/hildon-pannable-area.c,
5893 (hildon_pannable_area_refresh),
5894 (hildon_pannable_area_scroll),
5895 (hildon_pannable_area_motion_notify_cb): Small code style change.
5897 (hildon_pannable_area_class_init): Default initial_hint set to
5898 FALSE, it is not in the specs.
5900 (hildon_pannable_area_initial_effect),
5901 (hildon_pannable_area_expose_event),
5902 (hildon_pannable_area_map),
5903 (hildon_pannable_area_init): Moved the launching point of the
5904 initial effect, it was in map but the sizes where not correct in
5905 that method so we do not know if we have the reproduce it. Now it
5906 is placed in the expose_event method and uses a variable to
5907 reproduce it just once.
5909 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5911 * src/hildon-pannable-area.c,
5912 (hildon_pannable_draw_vscroll),
5913 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5914 position allowed for the scrollbars.
5916 (hildon_pannable_area_size_allocate): Small style change.
5918 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5920 * src/hildon-pannable-area.c,
5921 (hildon_pannable_area_scroll_indicator_fade),
5922 (hildon_pannable_area_button_press_cb),
5923 (hildon_pannable_area_button_release_cb),
5924 (hildon_pannable_area_scroll_cb),
5925 (hildon_pannable_area_expose_event),
5926 (hildon_pannable_area_init): Added the define parameter
5927 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5928 and refactor the fade variable.
5930 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5932 * src/hildon-pannable-area.c,
5933 (hildon_pannable_area_redraw),
5934 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5935 lines, we were reimplemeting the redraw code.
5937 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5939 * src/hildon-pannable-area.c,
5940 (hildon_pannable_area_scroll_cb),
5941 (hildon_pannable_area_realize),
5942 (hildon_pannable_area_class_init): Added scroll_event management
5943 for pannable area, now we can scroll the usual desktop method.
5945 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5946 initialization of the parameters should depend on idle_id.
5948 (hildon_pannable_area_init),
5949 (hildon_pannable_area_map): Small code style modifications
5951 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5953 * src/hildon-pannable-area.c
5954 (hildon_pannable_area_button_press_cb),
5955 (hildon_pannable_area_motion_notify_cb),
5956 (hildon_pannable_area_button_release_cb),
5957 (hildon_pannable_area_size_allocate),
5958 (hildon_pannable_area_scroll_to): Improved the timeouts
5959 management, we avoid creating them each time.
5961 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5963 * src/hildon-pannable-area.c:
5964 (hildon_pannable_area_refresh),
5965 (hildon_pannable_area_motion_notify_cb),
5966 (hildon_pannable_area_class_init):
5967 * src/hildon-pannable-area.h:
5968 * src/hildon-touch-selector.c
5969 (_create_new_column):
5970 * examples/hildon-pannable-area-example-4.c:
5971 (horizontal_movement),
5972 (vertical_movement),
5974 Replaced the names of enums in the HildonPannableArea:
5975 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5976 HILDON_MOVEMENT_MODE_*
5977 - HILDON_PANNABLE_AREA_MOV_* ->
5979 - Removed HildonPannableAreaIndicatorMode, now we
5982 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5984 * examples/hildon-pannable-area-touch-grid-example.c
5985 * examples/hildon-pannable-area-touch-list-example.c: Fix
5986 compilation warnings.
5988 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5990 * src/hildon-gtk.c (hildon_gtk_button_new)
5991 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5992 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5993 images overriding the value of the "gtk-button-images" setting.
5995 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5997 * src/hildon-check-button.c (hildon_check_button_new):
5998 Instead of using a custom container, display the label and the
5999 checkbox using the standard GtkButton API.
6001 * examples/hildon-check-button-example.c (main): Don't use
6002 hildon_check_button_set_label() anymore
6004 * src/hildon-check-button.h
6005 * src/hildon-check-button.c
6006 (hildon_check_button_set_label, hildon_check_button_get_label):
6007 Set as deprecated, now we're using gtk_button_{get,set}_label()
6009 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6011 * src/hildon-pannable-area.c,
6012 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6013 GtkTreeview first line we detected it after the inclusion of the
6014 GtkWindowImpl in gtk+. We now check if the window is visible, not
6015 just if the pointer is over the window.
6016 (hildon_pannable_axis_scroll),
6017 (hildon_pannable_area_expose_event): Small style changes.
6019 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6021 * src/hildon-button.c: Update documentation.
6023 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6025 * examples/hildon-button-example.c: Add a switch to show images in
6028 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6030 * doc/hildon-docs.sgml: Some docs reorganization.
6032 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6034 * examples/hildon-pannable-area-touch-list-example.c
6036 * examples/hildon-pannable-area-touch-grid-example.c
6037 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6038 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6039 Fix memory leak when setting the tree model.
6041 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6045 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6047 * doc/hildon.types: Remove duplicated hildon_window_get_type
6048 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6049 documentation comment.
6051 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6053 * doc/Makefile.am: Complete list of private headers.
6055 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6057 * doc/hildon-docs.sgml
6058 * src/hildon-app-menu.c
6059 * src/hildon-bread-crumb.c
6060 * src/hildon-button.c
6062 * src/hildon-program.c
6063 * src/hildon-stackable-window.c
6064 * src/hildon-window.c: Lots of documentation updates.
6066 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6068 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6070 * configure.ac: Require Gtk+ 2.12.9 at least
6072 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6074 * src/hildon-pannable-area.c
6075 (hildon_pannable_area_scroll_indicator_fade),
6076 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6077 to protect the return of this timeout callbacks, avoiding deadlocks.
6079 2008-08-12 Christian Dywan <christian@imendio.com>
6082 * src/hildon-*.h: Ensure a consistent include order,
6083 include <gtk/gtk.h> instead of particular files and
6084 only include the topmost header in the gtk stack. See NB #39857
6086 2008-08-12 Christian Dywan <christian@imendio.com>
6088 * src/hildon-picker-dialog.c
6089 * src/hildon-touch-selector.c: Fix warnings about unused and
6090 uninitialized variables.
6092 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6094 * examples/Makefile.am
6095 * examples/hildon-check-button-example.c: Example of the hildon
6098 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6100 * src/hildon-window.h
6101 * src/hildon-window.c (hildon_window_class_init)
6102 (hildon_window_unset_program): Don't make
6103 hildon_window_unset_program a virtual function anymore.
6105 * src/hildon-stackable-window.c: Update documentation
6107 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6110 * doc/hildon-docs.sgml
6111 * doc/visual_index.xml
6112 * src/hildon-defines.c
6114 * src/hildon-helper.c
6115 * src/hildon-range-editor.c: Lots of documentation fixes.
6117 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6119 * examples/hildon-picker-button-multicolumn-example.c
6120 (create_touch_selector): Fix compilation warning.
6122 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6124 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6125 (hildon_pannable_area_button_release_cb)
6126 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6128 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6130 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6133 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6135 * src/hildon-bread-crumb-trail.h
6136 * src/hildon-date-editor.c
6137 * src/hildon-date-selector.c
6138 * src/hildon-pannable-area.c
6139 * src/hildon-picker-dialog.c
6140 * src/hildon-time-selector.c
6141 * src/hildon-touch-selector-entry.c
6142 * src/hildon-touch-selector.c
6143 * src/hildon-touch-selector.h: Misc documentation fixes
6145 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6147 * examples/hildon-date-editor-example.c (main): Updated date
6150 * examples/hildon-note-example.c (on_confirmation_clicked):
6151 Updated confirmation note example.
6153 * src/hildon-date-editor.c
6154 * src/hildon-note.c: Updated sample programs in documentation.
6157 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6159 * src/hildon-date-button.h:
6160 * src/hildon-picker-button.h:
6161 * src/hildon-time-button.c:
6162 * src/hildon-time-button.h:
6164 Some declarations changes to allow gtk-doc to document the widgets
6167 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6169 * src/hildon-date-button.c: Document the widget.
6170 * src/hildon-time-button.c: Document the widget.
6172 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6174 * src/hildon-picker-button.c: Document the widget.
6175 * src/hildon-touch-selector-entry.c: Document the widget.
6177 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6179 * doc/hildon-docs.sgml
6182 * src/hildon-check-button.h
6183 * src/hildon-check-button.c: New functions to create the Hildon
6187 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6189 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6191 * src/hildon-button.h
6192 * src/hildon-button.c
6193 (hildon_button_add_title_size_group)
6194 (hildon_button_add_value_size_group)
6195 (hildon_button_add_image_size_group)
6196 (hildon_button_add_size_groups): New functions to set size groups
6197 for the button labels and image.
6198 (hildon_button_new_full): Removed
6200 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6202 * src/hildon-time-selector.c
6203 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6204 in order to avoid a crash if gconf is not available
6206 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6208 * src/hildon-button.c (hildon_button_set_arrangement)
6209 (hildon_button_construct_child): Don't construct the button child
6210 before setting the arrangement.
6212 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6214 * src/hildon-program-private.h
6215 * src/hildon-program.c
6216 * src/hildon-program.h
6217 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6218 (hildon_program_peek_window_stack)
6219 (hildon_program_pop_window_stack)
6220 (hildon_program_go_to_root_window): HildonProgram now has a
6221 separate list for stackable windows. Functions are provided to
6222 manage that list with a stack-like API.
6224 * src/hildon-stackable-window.c: Stackable window management is
6225 now much simpler with the new HildonProgram API. Windows no
6226 longer need to be manually added to the program, they're
6227 automatically pushed to the top of the stack when shown.
6229 * examples/hildon-stackable-window-example.c: Updated example to
6230 reflect the API changes.
6232 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6234 * src/hildon-touch-selector.c: Comment out unimplemented
6235 hildon_touch_selector_insert_column() to avoid a compile warning.
6237 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6239 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6240 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6241 (hildon_touch_selector_set_column_selection_mode),
6242 (_hildon_touch_selector_set_model),
6243 (hildon_touch_selector_set_model):
6245 Complete review of HildonTouchSelector documentation.
6247 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6249 * doc/hildon-docs.sgml
6253 * src/hildon-gtk.c: Convenience functions for standard Gtk
6254 widgets, used to easily perform frequent operations.
6256 * src/hildon-button-helpers.h
6257 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6259 * src/hildon-helper.h
6260 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6261 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6263 * src/hildon-button.h
6264 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6266 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6268 * src/hildon-button.c (hildon_button_init)
6269 (hildon_button_set_arrangement, hildon_button_construct_child):
6270 Pack the image and the labels inside the same GtkAlignment so
6271 gtk_button_set_alignment() can be used
6273 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6275 * src/hildon-button.h
6276 * src/hildon-button.c
6277 (hildon_button_init, hildon_button_set_image)
6278 (hildon_button_set_image_position)
6279 (hildon_button_construct_child): New functions to add an image to
6282 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6284 * src/hildon-date-button.c
6285 * src/hildon-picker-button.c
6286 * src/hildon-time-button.c
6287 * src/hildon-button.c:
6288 (hildon_button_class_init): "size-flags" renamed to "size"
6289 (hildon_button_set_title): Hide the title label if set to NULL.
6291 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6293 HildonButtonFlags split into HildonButtonArrangement (to set the
6294 button layout) and HildonSizeType (which can be used for any
6297 * src/hildon-button.h
6298 * src/hildon-button.c
6299 (hildon_button_class_init)
6300 (hildon_button_set_arrangement)
6301 (hildon_button_set_property): New "size-flags"
6302 property. "arrangement-flags" renamed to "arrangement".
6303 (hildon_button_new, hildon_button_new_with_text)
6304 (hildon_button_new_full): Constructors updated to reflect type changes.
6306 * src/hildon-helper.h
6307 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6308 to set the size of a widget.
6312 * src/hildon-button-helpers.c
6313 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6315 * src/hildon-date-button.c
6316 * src/hildon-date-button.h
6317 * src/hildon-picker-button.c
6318 * src/hildon-picker-button.h
6319 * src/hildon-time-button.c
6320 * src/hildon-time-button.h: Updated widgets to reflect
6321 HildonButton API changes.
6323 * examples/hildon-button-example.c
6324 * examples/hildon-date-button-example.c
6325 * examples/hildon-picker-button-example.c
6326 * examples/hildon-picker-button-multicolumn-example.c
6327 * examples/hildon-time-button-example.c
6328 * examples/hildon-touch-selector-entry-example.c
6329 * examples/hildon-touch-selector-example.c: Updated examples to
6330 reflect HildonButton API changes.
6332 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6334 * doc/hildon-docs.sgml:
6336 * examples/Makefile.am:
6337 * examples/hildon-touch-selector-entry-example.c:
6339 * src/hildon-touch-selector-entry.c:
6340 * src/hildon-touch-selector-entry.h:
6343 Moved HildonTouchSelectorEntry from sandbox. Added its
6344 documentation and examples.
6346 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6348 * src/hildon-touch-selector.h:
6349 * examples/hildon-picker-button-multicolumn-example.c:
6350 (hildon_touch_selector_append_text_column): Add a gboolean
6351 parameter to determine if text must be centered in the column.
6353 * src/hildon-date-selector.c: (hildon_date_selector_init):
6354 * src/hildon-time-selector.c: (hildon_time_selector_init):
6355 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6356 (create_touch_selector): Update widgets and example to reflect
6359 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6361 * src/hildon-touch-selector.c:
6362 (hildon_touch_selector_set_active_iter): Set also the cursor in
6365 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6367 * doc/hildon-docs.sgml
6370 * src/hildon-toggle-button.c
6371 * src/hildon-toggle-button.h
6372 * src/hildon.h: Removed HildonToggleButton widget, a derived
6373 class is not necessary for this.
6375 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6377 * src/hildon-pannable-area.c,
6378 (hildon_pannable_area_realize),
6379 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6382 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6384 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6385 "done" button the default widget for the dialog.
6387 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6389 * src/hildon-touch-selector.c:
6390 (hildon_touch_selector_class_init),
6391 (hildon_touch_selector_get_property),
6392 (_hildon_touch_selector_set_model),
6393 (_hildon_touch_selector_has_multiple_selection),
6394 (hildon_touch_selector_has_multiple_selection):
6395 Add a "has-multiple-selection" property with a virtual
6396 has_multiple_selection() method to allow derived classes to
6397 override the default value for it. See the method and property
6398 documentation for details.
6400 * src/hildon-touch-selector.h: Add the new API.
6402 * src/hildon-picker-dialog.c: (requires_done_button): Call
6403 hildon_touch_selector_has_multiple_selection() instead of
6404 determining the need for a button itself.
6406 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6408 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6409 (_hildon_touch_selector_set_model),
6410 (hildon_touch_selector_set_model): Move working code to
6411 _hildon_touch_selector_set_mode(). Call the class method instead.
6413 * src/hildon-touch-selector.h: Add (*set_model) to
6414 HildonTouchSelectorClass.
6416 Make hildon_touch_selector_set_model() a virtual method, so that
6417 derived classes can extend it and do fancy stuff with the model.
6419 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6421 * configure.ac: Set back the tarname in AC_INIT to hildon.
6423 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6427 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6428 instead of libesd (NB#86876). Volume handling is still an open issue.
6430 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6433 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6435 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6436 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6437 derived class to ease placement of an entry widget in
6438 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6439 end, where the selector columns are packed now.
6441 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6443 * src/hildon-picker-button.c: Removed the simple _text() API.
6444 * src/hildon-picker-button.h: Likewise.
6446 * src/hildon-touch-selector.h:
6447 * src/hildon-touch-selector.c:
6448 (hildon_touch_selector_new_text),
6449 (hildon_touch_selector_append_text),
6450 (hildon_touch_selector_prepend_text),
6451 (hildon_touch_selector_insert_text):
6453 Moved the simple _text() API from HildonPickerButton to
6454 HildonTouchPicker, to provide better escalability and not to tie
6455 that API to HildonPickerButton.
6457 * examples/hildon-picker-button-example.c: (main): Example updated.
6459 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6461 * src/hildon-button.c: Updated documentation.
6463 * examples/hildon-button-example.c: Add the posibility to create
6464 the buttons using horizontal layout for title and value.
6466 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6468 * src/hildon-app-menu-private.h
6469 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6470 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6471 GtkSizeGroup for the filters, use the 'homogeneous' property of
6474 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6476 * examples/hildon-button-example.c: Updated example.
6478 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6480 * doc/hildon-docs.sgml:
6483 Update documentation.
6485 * examples/Makefile.am: Update renamed examples.
6487 * examples/hildon-picker-button-multicolumn-example.c:
6488 (create_touch_selector), (main): Update after the rename.
6490 * examples/hildon-touch-picker-example.c: Removed.
6491 * examples/hildon-touch-selector-example.c: (value_changed),
6492 (create_selector), (get_visible_content), (main): Renamed from
6493 hildon-touch-picker-example.c
6495 * src/Makefile.am: Updated renamed files.
6497 * src/hildon-date-button.c: (hildon_date_button_init),
6498 (hildon_date_button_get_date), (hildon_date_button_set_date):
6499 * src/hildon-date-selector.c: (hildon_date_selector_init),
6500 (_custom_print_func), (_update_day_model),
6501 (_manage_selector_change_cb),
6502 (hildon_date_selector_select_current_date),
6503 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6504 * src/hildon-date-selector.h:
6505 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6506 (hildon_picker_button_set_property),
6507 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6508 (hildon_picker_button_init), (hildon_picker_button_new_text),
6509 (hildon_picker_button_append_text),
6510 (hildon_picker_button_prepend_text),
6511 (hildon_picker_button_insert_text),
6512 (hildon_picker_button_set_selector),
6513 (hildon_picker_button_get_selector):
6514 * src/hildon-picker-button.h:
6515 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6516 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6517 (_update_title_on_selector_changed_cb), (requires_done_button),
6518 (_hildon_picker_dialog_set_selector),
6519 (hildon_picker_dialog_set_selector),
6520 (hildon_picker_dialog_get_selector):
6521 * src/hildon-picker-dialog.h:
6522 * src/hildon-time-button.c: (hildon_time_button_init),
6523 (hildon_time_button_get_time), (hildon_time_button_set_time):
6524 * src/hildon-time-selector.c: (hildon_time_selector_init),
6525 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6526 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6527 * src/hildon-time-selector.h:
6530 Massive code updates after the rename.
6532 * src/hildon-touch-picker.c: Removed.
6533 * src/hildon-touch-picker.h: Removed.
6535 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6536 (hildon_touch_selector_init), (hildon_touch_selector_map),
6537 (hildon_touch_selector_remove), (_default_print_func),
6538 (_selection_changed_cb), (_create_new_column),
6539 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6540 (hildon_touch_selector_append_text_column),
6541 (hildon_touch_selector_remove_column),
6542 (hildon_touch_selector_set_column_attributes),
6543 (hildon_touch_selector_insert_column),
6544 (hildon_touch_selector_get_num_columns),
6545 (hildon_touch_selector_get_column_selection_mode),
6546 (hildon_touch_selector_set_column_selection_mode),
6547 (hildon_touch_selector_set_print_func),
6548 (hildon_touch_selector_get_print_func),
6549 (hildon_touch_selector_get_active_iter),
6550 (hildon_touch_selector_set_active_iter),
6551 (hildon_touch_selector_get_selected_rows),
6552 (hildon_touch_selector_get_model),
6553 (hildon_touch_selector_set_model),
6554 (hildon_touch_selector_get_current_text),
6555 (_hildon_touch_selector_center_on_selected_items):
6556 * src/hildon-touch-selector.h: Renamed from
6557 hildon-touch-picker.[ch]
6559 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6560 references, code examples, and related documentation.
6562 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6564 * doc/hildon-docs.sgml
6567 * src/hildon-toggle-button.c
6568 * src/hildon-toggle-button.h
6569 * src/hildon.h: New HildonToggleButton widget.
6571 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6573 * src/hildon-button.c: Add API documentation.
6574 (hildon_button_set_size_groups): Check input parameters
6576 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6578 * src/hildon-pannable-area.c
6579 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6580 effect after reaching the movement thredshold. This way we start
6581 using the distance after passing the thredshold.
6583 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6585 * src/hildon-button.c: (hildon_button_set_property): Use the
6586 appropriate g_value_get_flags() method.
6588 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6590 * doc/hildon-docs.sgml:
6593 Add the touch pickers, picker dialogs, and picker button widgets
6594 to the documentation.
6596 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6598 * src/hildon-button.c: (hildon_button_set_property),
6599 (hildon_button_class_init): Make "arrangement-flags" a proper
6600 G_TYPE_FLAGS derived property.
6602 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6604 * examples/Makefile.am: Add below examples.
6605 * examples/hildon-date-button-example.c:
6606 * examples/hildon-picker-button-example.c:
6607 * examples/hildon-picker-button-multicolumn-example.c:
6608 * examples/hildon-time-button-example.c:
6609 * examples/hildon-touch-picker-example.c:
6611 Add examples for the recently added touch pickers,
6612 picker dialogs, and picker button widgets.
6614 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6616 * src/hildon-button.c: Add some API documentation
6618 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6620 * src/hildon-button.h
6621 * src/hildon-button.c
6623 (hildon_button_new_with_text): New constructor to create a button
6624 with no text at all.
6625 (hildon_button_init, hildon_button_set_arrangement)
6626 (hildon_button_set_title, hildon_button_set_value)
6627 (hildon_button_set_text)
6628 (hildon_button_construct_child): Hide the value when it's not used
6629 so the rest of the text is properly aligned.
6630 Allow creating buttons with arbitrary widgets inside (not just
6631 title/value labels).
6633 * examples/hildon-button-example.c (vertical_buttons_window)
6634 (horizontal_buttons_window): Update example to use new API.
6636 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6638 * src/Makefile.am: Added HildonTimeButton.
6639 * src/hildon-time-button.c: Added missing LGPL header.
6640 * src/hildon-time-button.h: Added missing LGPL header.
6641 * src/hildon.h: Add hildon-time-button.h
6643 Copied HildonTimeButton from sandbox to trunk. Future work on this
6644 widget must take place in trunk.
6646 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6648 * src/Makefile.am: Added HildonDateButton.
6649 * src/hildon-date-button.c: Update includes.
6650 * src/hildon.h: Add hildon-date-button.h
6652 Copied HildonDateButton from sandbox to trunk. Future work on this
6653 widget must take place in trunk.
6655 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6657 * src/Makefile.am: Added HildonPickerButton.
6658 * src/hildon-picker-button.h: Update includes.
6659 * src/hildon.h: Add hildon-picker-button.h
6661 Copied HildonPickerButton from sandbox to trunk. Future work on
6662 this widget must take place in trunk.
6664 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6666 * src/Makefile.am: Added HildonPickerDialog.
6667 * src/hildon-picker-dialog.c: Update includes.
6668 * src/hildon.h: Add hildon-picker-dialog.h
6670 Copied HildonPickerDialog from sandbox to trunk. Future work
6671 on this widget must take place in trunk.
6673 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6675 * src/Makefile.am: Added HildonTimeSelector.
6676 * src/hildon.h: Add hildon-time-selector.h
6678 Copied HildonTimeSelector widget from sandbox to trunk. Future
6679 work on this widget must happen in trunk.
6681 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6683 * src/Makefile.am: Added HildonDateSelector.
6684 * src/hildon.h: Add hildon-date-selector.h
6686 Copied HildonDateSelector widget from sandbox to trunk. Future
6687 work on this widget must happen in trunk.
6689 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6691 * src/Makefile.am: Added HildonTouchPicker.
6692 * src/hildon-touch-picker.c: Update includes.
6693 * src/hildon.h: Add hildon-touch-picker.h
6695 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6696 on this widget must happen in trunk.
6698 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6700 * src/hildon-pannable-area.c:
6701 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6703 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6705 * examples/hildon-app-menu-example.c (main): Let the window
6708 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6710 * src/hildon-pannable-area.c
6711 (hildon_pannable_area_class_init): Set the min value of the
6712 overshoot properties to zero, which points out that not
6713 overshooting allowed.
6715 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6717 Modified the procedure to get the widget at a point inside the
6718 pannable area when using the movement type signals. Now the user
6719 has to call a function to get the child, that way we just
6720 calculate the child in case the user really want to use it and not
6723 * src/hildon-marshalers.list: Modified the marshallers, now we do
6724 not have the widget as a parameter.
6726 * src/hildon-pannable-area.c
6727 (hildon_pannable_area_motion_notify_cb),
6728 (hildon_pannable_area_class_init),
6729 (hildon_pannable_get_child_widget_at): Removed the widget
6730 parameter from the signal callback. We have also refactored the
6731 emission of the signals.
6733 * src/hildon-pannable-area.h: Added a new method to the API to
6734 calculate a widget at a point inside the pannable area,
6735 hildon_pannable_get_child_widget_at.
6737 * examples/hildon-pannable-area-example-4.c
6738 (horizontal_movement): Modified the example to use the new API,
6739 added condition to control which widget is under the event. This
6740 way we can avoid scrolling laterally over other widgets.
6742 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6744 * src/hildon-pannable-area.c
6745 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6746 modes, we stop getting the pointer events due to returning the
6747 callback without properly calling the get pointer again. Fixed
6748 also an error using the hscroll and vscroll.
6750 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6752 * src/hildon-app-menu-private.h
6753 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6754 (hildon_app_menu_button_release, hildon_app_menu_init)
6755 (hildon_app_menu_class_init): Don't hide the menu on button
6756 release if the user didn't press outside first.
6758 * src/hildon-window.h
6759 * src/hildon-window.c (hildon_window_toggle_menu)
6760 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6761 hildon_window_toggle_menu a virtual function for the stackable
6762 window to override it.
6764 * src/hildon-stackable-window.h
6765 * src/hildon-stackable-window-private.h
6766 * src/hildon-stackable-window.c
6767 (hildon_stackable_window_realize)
6768 (hildon_stackable_window_finalize)
6769 (hildon_stackable_window_class_init)
6770 (hildon_stackable_window_init)
6771 (hildon_stackable_window_set_main_menu): New function to set the
6772 app menu of a HildonStackableWindow.
6774 * examples/hildon-app-menu-example.c: Remove the button to show
6775 the app menu, now it'll be shown when clicking on the title bar
6778 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6780 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6781 set the widget name if the arrangement flags do not specify
6784 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6786 * src/hildon-button.c: (hildon_button_set_property),
6787 (hildon_button_class_init), (hildon_button_new_full),
6788 (hildon_button_set_arrangement): Added "arrangement-flags"
6791 Make the HildonButtonFlags a construction-only property, to allow
6792 subclasses to set them properly.
6794 2008-07-21 Tim Janik <timj@imendio.com>
6796 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6797 insertion position after backspace, so additional digits are appended,
6800 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6802 * src/hildon-pannable-area.c,
6803 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6804 TODO list, it was complete and removed the g_debug and g_print
6807 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6809 Added the movement modes to the hildon-pannable-area, with this
6810 modes the developers can control in which directions the widget
6811 can scroll. They can also connect to signals in order to do
6812 something when that happens, allowing applications scroll. There
6813 is an example uploaded showing how to use it.
6815 * examples/Makefile.am:
6816 * examples/hildon-pannable-area-example-4.c: Added this example of
6817 an application using the modes.
6819 * src/hildon-marshalers.list: Added a new marshaller for the new
6822 * src/hildon-pannable-area.h: Added new enumerations and flags in
6823 order to control the movement modes and the new signals to warn
6824 about the movements in the area.
6826 * src/hildon-pannable-area.c:
6827 (hildon_pannable_axis_scroll),
6828 (hildon_pannable_area_scroll),
6829 (hildon_pannable_area_motion_notify_cb),
6830 (hildon_pannable_area_get_property),
6831 (hildon_pannable_area_set_property),
6832 (hildon_pannable_area_map),
6833 (hildon_pannable_area_class_init),
6834 (hildon_pannable_area_init),
6835 (hildon_pannable_area_jump_to): Added the modes to control the
6836 movement in the widget. We have added properties to control it,
6837 signals to warn about the movements and refactored some code.
6839 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6841 Changes required in order to allow vfast_factor set to zero to
6844 * src/hildon-pannable-area.c:
6845 (hildon_pannable_area_button_press_cb): Changed the condition, it
6846 is required for not allowing click when vfast_factor is zero.
6847 (hildon_pannable_area_timeout): Initialized velocity variables
6848 when we stop moving, it was less than 1 but not zero and we need
6849 to check zero in some situations.
6850 (hildon_pannable_area_class_init): Changed the default value of
6851 the speed factor, now the button_press is just sent in case the
6852 speed is 2 per cent of the max speed.
6853 (hildon_pannable_area_init): Initialization with 0.
6855 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6857 * src/hildon-pannable-area.c,
6858 (hildon_pannable_area_get_topmost): replaced
6859 gdk_window_get_children with gdk_window_peek_children, this way we
6860 do not have to free the list because it is not a copy.
6862 (hildon_pannable_axis_scroll),
6863 (hildon_pannable_area_scroll),
6864 (hildon_pannable_area_timeout),
6865 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6866 two parameters that were only used inside the
6867 hildon_pannable_area_scroll function.
6869 * examples/hildon-pannable-area-example.c,
6870 (get_sawtooth_label): Fixed small memory leak.
6872 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6874 More checks for the case where the overshoot is bigger than the
6877 * src/hildon-pannable-area.c:
6878 (hildon_pannable_draw_vscroll),
6879 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6880 to draw the slider of the scrollbar under the other scrollbar.
6881 (hildon_pannable_area_expose_event): added new checks to control
6882 the drawing of the overshooting area rectangle, in case it is too
6883 big for the area of the widget.
6884 (hildon_pannable_area_size_allocate): add more checks to avoid
6885 setting a position to the child widget outside the area.
6887 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6889 * src/hildon-pannable-area.c
6890 (hildon_pannable_area_size_allocate): Added conditions to control
6891 when overshooting is bigger than the allocated space for the
6892 children, this avoids negative allocations.
6894 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6896 * doc/hildon-docs.sgml
6898 * examples/Makefile.am
6899 * examples/hildon-button-example.c
6901 * src/hildon-button.c
6902 * src/hildon-button.h
6903 * src/hildon.h: Initial version of the new HildonButton widget,
6906 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6908 * src/hildon-pannable-area.c:
6909 (hildon_pannable_area_button_press_cb),
6910 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6911 (hildon_pannable_area_motion_notify_cb),
6912 (hildon_pannable_area_button_release_cb),
6913 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6914 (hildon_pannable_area_jump_to_child):
6916 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6918 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6920 * examples/Makefile.am
6921 * examples/hildon-pannable-area-touch-grid-example.c
6922 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6923 the Hildon Touch List and Hildon Touch Grid using the
6924 HildonPannableArea widget.
6926 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6928 * src/hildon-pannable-area.c,
6929 (hildon_pannable_area_button_press_cb),
6930 (hildon_pannable_area_refresh),
6931 (hildon_pannable_area_scroll),
6932 (hildon_pannable_area_motion_notify_cb),
6933 (hildon_pannable_area_button_release_cb),
6934 (hildon_pannable_area_expose_event),
6935 (hildon_pannable_area_add),
6936 (hildon_pannable_area_remove),
6937 (hildon_pannable_area_realize),
6938 (hildon_pannable_area_size_allocate),
6939 (hildon_pannable_area_class_init),
6940 (hildon_pannable_area_init),
6941 (hildon_pannable_area_scroll_to_child),
6942 (hildon_pannable_area_jump_to_child): Fixed the problem of
6943 removing the child from the GtkBin, we have rearranged the widget
6944 hierarchy, now there is no GtkAlignment which was not doing
6945 anything interesting but breaking some of the assumptions of
6946 GtkContainer. Now developers if they want to add a GtkAlignment
6947 they could, but it is not inside the area.
6949 We had to review the whole allocation/expose process, now it is
6950 improved and we save at least three signals which would be saving
6951 some time when rendering the widget. The allocation of the
6952 scrollbars is now made in the allocate method as usual.
6954 We have also added some conditions in order to control when there
6955 is no child of the pannable area. Maybe we will need more work
6958 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6960 * src/hildon-pannable-area.c,
6961 (hildon_pannable_area_dispose): Released the fade-out timeout when
6962 disposing the widget.
6964 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6966 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6967 zero, we are going to use that property in order to deactivate the
6969 (hildon_pannable_axis_scroll),
6970 (hildon_pannable_area_size_allocate): Added conditions to control
6971 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6972 call, now it is called in all situations and we can remove calls
6973 in the allocate method.
6974 (hildon_pannable_area_map): Control the situation when
6975 overshoot_max is zero, we do not need the timeout.
6976 (hildon_pannable_area_class_init): Added documentation in order to
6977 point out that setting zero to overshoot_max means deactivate
6980 NOTE: removed trailing whitespaces from my previous comments of
6983 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6985 * src/hildon-pannable-area.c
6986 (hildon_pannable_area_get_property),
6987 (hildon_pannable_area_set_property),
6988 (hildon_pannable_area_map),
6989 (hildon_pannable_area_class_init),
6990 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6991 to cause the widget give a hint about its panning abilities upon
6994 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6996 * src/hildon-pannable-area.c: Several documentation improvements.
6998 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7000 * src/hildon-program.c
7001 * src/hildon-stackable-window.c: Update documentation.
7003 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7005 * src/hildon-stackable-window.c (get_previous_window_if_last):
7006 Renamed get_last_window()
7007 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7008 (hildon_stackable_window_unset_program):
7010 (get_previous_window_if_last):
7011 Detect if the window hasn't been added to a HildonProgram.
7013 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7015 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7017 * src/hildon-pannable-area.c
7018 (hildon_pannable_area_button_press_cb),
7019 (hildon_pannable_axis_scroll),
7020 (hildon_pannable_area_scroll),
7021 (hildon_pannable_area_timeout),
7022 (hildon_pannable_calculate_vel_factor),
7023 (hildon_pannable_area_get_property),
7024 (hildon_pannable_area_set_property),
7025 (hildon_pannable_area_class_init),
7026 (hildon_pannable_area_init),
7027 (hildon_pannable_area_scroll_to),
7028 (hildon_pannable_area_jump_to),
7029 (hildon_pannable_area_scroll_to_child),
7030 (hildon_pannable_area_jump_to_child):
7031 * src/hildon-pannable-area.h: Added the new API functions:
7032 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7033 hildon_pannable_area_scroll_to_child,
7034 hildon_pannable_area_jump_to_child
7037 * examples/Makefile.am
7038 * examples/hildon-pannable-area-example-2.c
7039 * examples/hildon-pannable-area-example-3.c: Added these two new
7040 examples in order to test and show how the new APIs work.
7042 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7044 * examples/hildon-stackable-window-example.c (new_window):
7045 * src/Makefile.am (noinst_HEADERS):
7046 * src/hildon-program.c (hildon_program_go_to_root_window):
7047 * src/hildon-program.h:
7048 * src/hildon-stackable-window-private.h:
7049 * src/hildon-stackable-window.c:
7050 * src/hildon-stackable-window.h:
7051 Create hildon-stackable-window-private.h
7052 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7054 * examples/hildon-app-menu-example.c (create_menu):
7055 * examples/hildon-hvolumebar-insensitive-example.c (main):
7056 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7057 * examples/hildon-toolbar-seekbar-example.c (main):
7058 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7059 * src/hildon-banner.c (hildon_banner_set_property):
7060 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7061 Fix compilation warnings
7063 * src/hildon-window.c:
7066 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7068 * src/hildon-stackable-window.c
7069 (hildon_stackable_window_unset_program):
7070 Calculate correctly whether to show the previous window if the
7071 last one is removed from the stack.
7072 (hildon_stackable_window_go_to_root_window):
7073 Send delete events starting from the topmost window.
7074 Stop if one of the windows is not destroyed.
7076 (hildon_stackable_window_delete_event)
7077 (hildon_stackable_window_class_init):
7078 Ignore the delete event if the window is not the topmost one.
7080 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7082 * src/hildon-pannable-area.c
7083 (hildon_pannable_area_expose_event): Fixed a problem when
7084 selecting the background color of the scrollbars.
7086 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7088 * examples/hildon-stackable-window-example.c
7089 * src/hildon-stackable-window.c
7090 * src/hildon-stackable-window.h
7091 hildon_stackable_window_go_home() renamed to
7092 hildon_stackable_window_go_to_root_window()
7093 Send delete events to windows rather than closing them with
7094 gtk_widget_destroy()
7096 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7098 * src/hildon-pannable-area.c
7099 (hildon_pannable_area_button_release_cb): Fix overshooting in
7102 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7104 * src/hildon-pannable-area.c
7105 (hildon_pannable_area_init): Initially show the scroll indicators.
7106 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7108 Add initial effect showing the widget is pannable.
7110 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7112 * src/hildon-pannable-area.c
7113 (hildon_pannable_area_class_init)
7114 (hildon_pannable_area_set_property)
7115 (hildon_pannable_area_get_property)
7116 (hildon_pannable_area_button_press_cb):
7117 New 'velocity_fast_factor' property to decide which velocity is
7120 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7122 * src/hildon-pannable-area.c
7123 (hildon_pannable_draw_hscroll)
7124 (hildon_pannable_draw_vscroll):
7125 Use float variables to calculate the size of the scrollbars to
7126 avoid error propagation and resizing during scrolling.
7128 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7130 * src/hildon-pannable-area.c
7131 (hildon_pannable_draw_vscroll)
7132 (hildon_pannable_draw_hscroll):
7133 Define a minimum size for the scroll bars
7135 * src/hildon-stackable-window.c
7136 (hildon_stackable_window_go_home): Fix compilation warning
7137 (get_last_window): Minor optimizations
7138 (hildon_stackable_window_class_init): Fix initialization of
7141 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7143 * src/hildon-stackable-window.c: Fixed typos in doc
7145 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7147 * src/hildon-pannable-area.c
7148 (hildon_pannable_area_scroll):
7149 Calculate here whether we need to scroll instead of using the booleans
7150 that tell us whether to /draw/ the scrolling bars.
7152 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7154 * src/hildon-app-menu.h
7156 * src/hildon-app-menu.c
7157 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7158 multiple filter groups related code and API. Now we support only
7160 * examples/hildon-app-menu-example.c:
7162 Update to reflect API changes.
7164 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7166 * src/hildon-stackable-window.c
7167 (hildon_stackable_window_class_init):
7168 Add hildon_stackable_window_realize.
7169 (hildon_stackable_window_realize):
7170 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7171 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7172 to apply theming and behavior specific to HildonStackableWindow
7175 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7177 * src/hildon-note.c (hildon_note_button_release):
7178 Close information notes also when tapping on them
7180 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7182 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7183 ELASTICITY, refactor and review, fix some issues with drawing
7186 * src/hildon-pannable-area.c:
7187 (hildon_pannable_area_button_press_cb): removed the conditions to
7188 avoid clicks when overshooting. It is not required
7190 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7191 define. Refatored and reviewed the code, now we do not need to
7192 manage velocity in motion_notify.
7194 (hildon_pannable_area_motion_notify_cb): We have moved the code
7195 that controls the area_scroll to the axis_scroll function and get
7196 rid of duplicated code.
7198 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7200 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7202 (hildon_pannable_draw_vscroll),
7203 (hildon_pannable_draw_hscroll): Fixed the problems with the
7204 scrollbar drawing, now we do not use two surfaces, it is easier
7205 and saves resources.
7207 (hildon_pannable_area_get_property): Style modification.
7209 (hildon_pannable_area_class_init): Changed some default values.
7211 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7213 * src/hildon-stackable-window.c: Fix some typos in the
7216 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7218 * src/hildon-dialog.c:
7219 Change indentation style
7222 (hildon_note_button_release):
7223 Use root coordinates to check if the release event happened
7226 * src/hildon-app-menu.c
7227 (hildon_app_menu_button_release):
7228 Remove unnecessary check
7230 * examples/hildon-app-menu-example.c
7232 Add cast to fix warning
7234 * src/hildon-app-menu.c
7235 (hildon_app_menu_class_init):
7236 New inner-border style property.
7237 Set all default spacings to 16
7238 (hildon_app_menu_init):
7239 Use vertical-spacing to set the space between filter buttons and
7240 regular menu buttons.
7241 Set the default container border using the inner-border value.
7243 * examples/hildon-app-menu-example.c
7245 Don't set the menu border explicitly, now we have the inner-border
7246 style property for that.
7248 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7250 * src/hildon-app-menu.c (hildon_app_menu_init):
7251 Make the window modal
7253 * src/hildon-note.c (hildon_note_map)
7254 * src/hildon-app-menu.c (hildon_app_menu_map):
7255 Destroy the grab window if we're unable to grab the pointer
7257 * src/hildon-app-menu-private.h
7258 * src/hildon-app-menu.c
7259 (hildon_app_menu_init, hildon_app_menu_finalize)
7260 (hildon_app_menu_map, hildon_app_menu_unmap)
7261 (hildon_app_menu_button_release)
7262 (grab_transfer_window_get):
7263 Bring back the grab window
7264 (hildon_app_menu_realize):
7265 Decorate the window, set WM hint for Matchbox
7267 * src/hildon-note.c (hildon_note_realize):
7268 * src/hildon-banner.c (hildon_banner_realize):
7269 Add WM hints for Matchbox
7271 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7273 * src/hildon-app-menu-private.h
7274 * src/hildon-app-menu.c
7275 (hildon_app_menu_init, hildon_app_menu_finalize)
7276 (hildon_app_menu_map, hildon_app_menu_unmap)
7277 (hildon_app_menu_button_release):
7278 Remove the grab window, it's not needed anymore
7280 * src/hildon-program.c
7281 Fixed typo in documentation
7283 * src/hildon-app-menu.h
7284 * src/hildon-app-menu.c
7285 * examples/hildon-app-menu-example.c
7286 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7288 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7291 Added new transfer_window and close_if_pressed_outside private
7293 (hildon_note_rebuild):
7294 Don't add a cancel button to the information note. It will be
7295 closed when tapping outside
7296 Remove the comment about the OK button in the documentation
7297 (hildon_note_realize):
7298 Set the notification type hint
7299 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7300 Grab/ungrab pointer and keyboard if the note has to be closed when
7302 (hildon_note_button_release):
7303 Close the note when tapping outside (if applicable)
7305 * src/hildon-app-menu.c
7306 Grab/ungrab pointer and keyboard on map/unmap
7307 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7308 Close the menu on button release, not button press
7310 * src/hildon-banner.c
7311 (hildon_banner_set_property)
7312 (hildon_banner_check_position):
7313 Make the banner use the full width of the screen
7314 (hildon_banner_show_information)
7315 (hildon_banner_show_information_with_markup):
7316 Don't display an icon by default
7318 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7320 Added fading scrollbars and adapted all the overshooting code to
7321 horizontal scrolling. We have also fixed bugs with overshooting
7322 and current fading implementation.
7324 * src/hildon-pannable-area.c
7325 (hildon_pannable_area_scroll_indicator_fade): Time out function
7326 used to change the transparency of the scrollbars.
7328 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7329 control and fixed a problem with fading, we now remove the fade
7330 timeout before adding a new one.
7332 (hildon_pannable_axis_scroll):
7333 (hildon_pannable_area_scroll):
7334 (hildon_pannable_area_timeout): Added this functions so we can use
7335 the scroll code both for vertical and horizontal.
7337 (hildon_pannable_area_motion_notify_cb):
7338 (hildon_pannable_area_button_release_cb): Added the horizontal
7339 scrolling control, fixed a problem with the overshooting timeout.
7341 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7342 painting of the scrolls.
7344 (hildon_pannable_draw_vscroll):
7345 (hildon_pannable_draw_hscroll):
7346 (hildon_pannable_area_expose_event):
7347 Draw both scrollbars and rectangles in the overshooting area.
7349 (hildon_pannable_area_get_property):
7350 (hildon_pannable_area_set_property):
7351 Modified the overshoot property to overshoot_max
7353 (hildon_pannable_area_map):
7354 Replaced the comments symbols.
7356 (hildon_pannable_area_size_allocate):
7357 (hildon_pannable_area_class_init):
7358 (hildon_pannable_area_init): Added horizontal scroll, fading
7359 effect properties, fixed a problem when overshooting in the bottom
7362 * examples/hildon-pannable-area-example.c:
7363 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7364 looks better in the example.
7366 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7368 * src/hildon-window.c
7369 * src/hildon-window.h
7370 (hildon_window_class_init)
7371 (hildon_window_unset_program)
7372 (hildon_window_unset_program_real):
7373 Make unset_program a virtual function
7375 * src/hildon-stackable-window.c
7376 * src/hildon-stackable-window.h
7377 Added hildon_stackable_window_go_home()
7379 * examples/Makefile.am
7380 * examples/hildon-stackable-window-example.c
7381 HildonStackableWindow example
7383 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7385 * hildon-pannable-area.c: Added the overshoot property and removed
7386 the OVERSHOOT define. Fixed an indent style error.
7387 (hildon_pannable_area_motion_notify_cb):
7388 (hildon_pannable_area_get_property):
7389 (hildon_pannable_area_set_property): Add overshoot property.
7391 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7394 (hildon_pannable_area_class_init): Installed the new property.
7396 * hildon-pannable-area-example.c: Added a sawtooth function, this
7397 way it is easier to check the movement in the pannable.
7398 (get_sawtooth_label): Added this function.
7399 (main): Now we get the labels from the new get_sawtooth_label
7402 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7404 * src/hildon-app-menu.h
7405 * src/hildon-app-menu.c
7406 Renamed API variables for consistency
7408 (hildon_app_menu_popup): Use also the default window size to
7409 decide where to place the menu
7411 (hildon_app_menu_init, hildon_app_menu_class_init): New
7412 external-border style property
7414 2008-05-26 Michael Natterer <mitch@imendio.com>
7416 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7417 widget_class->tap_and_hold_setup signal slot doesn't exist any
7418 longer, stop overriding it.
7420 (hildon_time_editor_init): g_signal_connect() to the
7421 tap-and-hold-setup signal instead.
7423 (hildon_time_editor_entry_keypress): add cast to fix warning.
7425 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7427 * doc/hildon-docs.sgml
7429 * examples/Makefile.am
7430 * examples/hildon-app-menu-example.c
7432 * src/hildon-app-menu-private.h
7433 * src/hildon-app-menu.c
7434 * src/hildon-app-menu.h
7436 New HildonAppMenu widget
7438 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7440 Rearranged the inheritance of the pannable area, now it inherits
7441 from GtkBin. This will allow us to control the event_window and
7442 the allocation process of the widget, required for some effects.
7444 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7445 GtkBin structures. * src/hildon-pannable-area.c: Added the
7446 event_window variable.
7447 (hildon_pannable_area_button_press_cb):
7448 (hildon_pannable_area_button_release_cb):
7449 (hildon_pannable_area_motion_notify_cb):
7450 Changed the signature of the method, now we override the event
7451 callback instead of connecting to the signal.
7453 (hildon_pannable_area_realize):
7454 (hildon_pannable_area_unrealize):
7455 (hildon_pannable_area_map):
7456 (hildon_pannable_area_unmap):
7457 (hildon_pannable_area_size_allocate):
7458 Added functions to control the widget construction. We add a
7459 INPUT_ONLY window and we put it over the widgets inside the
7460 container, this event_window handles the events.
7462 (hildon_pannable_area_class_init):
7463 Replaced the signal connections with overrides of the event
7466 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7468 Bouncing effect added when touching the borders, you can change
7469 the elasticity of the border changing the ELASTICITY define.
7471 * src/hildon-pannable-area.c: Added ELASTICITY define.
7472 (hildon_pannable_area_timeout): Added inverse velocity when
7473 touching the border of the child widget, that causes a bounce.
7475 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7477 Improved performance, we now do not go to the X server in order to
7478 get the list of window children. Apparently the effect is the
7479 same, we have to be careful and check if this breaks something in
7482 * src/hildon-pannable-area.c:
7483 (get_ordered_children): Removed this function.
7484 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7485 the children windows function with gdk_window_get_children.
7487 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7489 * src/hildon-pannable-area.c:
7490 (hildon_pannable_area_dispose): Fixed a crash when closing the
7491 window and kinetics is activated.
7493 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7495 * src/hildon-pannable-area.h
7496 * src/hildon-pannable-area.c
7497 Changed indentation style to meet the one used in Hildon
7499 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7501 Reviewed the interaction of the AUTO mode, now we use the time
7502 attribute of the events and calculate the velocity in the motion,
7503 doing a gimp like calculation. The velocity is calculated in each
7504 motion event using the last velocity and the current one, the
7505 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7507 * src/hildon-pannable-area.c: Replaced the time based algorithm
7509 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7510 timeout for the AUTO mode when we are still moving the cursor. We
7511 added also the velocity calculation in this function.
7512 (hildon_pannable_area_button_release_cb): launch the timeout in
7513 case we are in AUTO mode. There are still some constants here that
7514 come from the old implementation that should be reviewed and
7517 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7519 * doc/hildon-docs.sgml
7522 * src/hildon-stackable-window.c
7523 * src/hildon-stackable-window.h
7525 New HildonStackableWindow widget
7527 * examples/hildon-dialog-example.c
7528 * examples/hildon-pannable-area-example.c
7531 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7533 * src/hildon-dialog.c
7534 (hildon_dialog_new_with_buttons): New constructor.
7536 * examples/hildon-dialog-example.c
7537 (main): Update the example to use the new
7538 hildon_dialog_new_with_buttons().
7540 * examples/hildon-pannable-area-example.c
7541 (main): Update example.
7543 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7545 * doc/hildon-docs.sgml
7547 Added HildonPannableArea to the documentation.
7549 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7551 * doc/visual_index.xml
7552 Fix reference to HildonLoginDialog in documentation
7554 * doc/hildon-docs.sgml
7556 * examples/Makefile.am
7557 * examples/hildon-dialog-example.c
7559 * src/hildon-dialog.c
7560 * src/hildon-dialog.h
7562 New HildonDialog widget.
7564 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7566 * src/hildon-pannable-area.c
7567 Merge latest changes (r4318, r4342) from libmokoui trunk
7569 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7571 * examples/Makefile.am
7572 * examples/hildon-pannable-area-example.c
7574 * src/hildon-pannable-area.c
7575 * src/hildon-pannable-area.h
7577 New HildonPannableArea widget.
7579 2008-04-15 18:05:19 <timj@imendio.com>
7581 * src/hildon-banner.c: revert the recent change, that introduced
7582 gtk_window_present() calls. this reopens:
7583 Bug 78481 - [freetest] information banners are hidden under browser menu
7584 But resolves another variant of:
7585 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7587 2008-04-15 13:21:13 <timj@imendio.com>
7589 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7590 recreated its layout, spotted by Kris. this fixes all remaining
7591 artefacts and stability issues with the banner code. in particular:
7592 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7594 2008-04-14 16:52:59 <timj@imendio.com>
7596 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7597 operating on unrealized widgets, fixes:
7598 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7600 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7602 2008-04-09 Kristian Rietveld <kris@imendio.com>
7604 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7605 makes banner disappear.
7606 Fixes: NB#79182: info banner flickering with certain message lengts.
7608 * src/hildon-banner.c (hildon_banner_constructor),
7609 (hildon_banner_init), (hildon_banner_set_text),
7610 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7611 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7612 FALSE, reset size requests of label and banner,
7613 (force_to_wrap_truncated): when the text is too wide, always enforce
7614 the maximum possible width instead of recalculating it from the
7615 layout; enforce the maximum banner height of 3 lines,
7616 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7617 nicer wrapping and no truncated chars if space gets tight.
7619 * src/hildon-banner-private.h: add has_been_wrapped and
7620 has_been_truncated fields.
7622 2008-04-07 Sven Herzberg <sven@imendio.com>
7624 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7625 local values in hildon_date_editor_size_allocate
7627 * src/hildon-date-editor.c: moved the real allocation code into the
7630 2008-04-07 Sven Herzberg <sven@imendio.com>
7632 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7633 local values in hildon_date_editor_size_allocate
7635 * src/hildon-date-editor.c: merged the two if() branches together
7637 2008-04-07 Sven Herzberg <sven@imendio.com>
7639 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7640 local values in hildon_date_editor_size_allocate
7642 * src/hildon-date-editor.c: changed the arguments of the if()
7645 2008-04-07 Sven Herzberg <sven@imendio.com>
7647 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7648 local values in hildon_date_editor_size_allocate
7650 * src/hildon-date-editor.c: split the calculation of the allocation
7651 from the real allocation
7653 2008-03-27 Michael Natterer <mitch@imendio.com>
7655 Fixes: NB#81696: The passcode is not overwritten even after
7658 * src/hildon-code-dialog.c
7659 (hildon_code_dialog_button_clicked)
7660 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7661 because that doesn't overwrite selected text. Instead, emit the
7662 "commit" signal on the entry's im_context so the entry's normal
7663 insert logic is triggered. Set the cursor to the end of the entry
7664 after each insert operation so that we *only* insert in the middle
7665 of the text if something was selected.
7667 2008-03-27 Michael Natterer <mitch@imendio.com>
7669 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7670 selector cannot be opened
7672 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7673 when the popup color selector is created. Please connect to this
7674 signal in order to set the dialog's help ID.
7676 2008-03-25 Sven Herzberg <sven@imendio.com>
7678 Fixes: MB#1212: Hide info banners (infoprints) on click
7680 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7681 extracted the close event simulation into an extra function
7682 (hildon_banner_button_press_event): simulate a close event and destroy
7683 the widget if the event wasn't handled
7684 (hildon_banner_class_init): added the button_press_event handler
7685 (hildon_banner_init): added button-press events to the widget
7687 2008-03-25 Sven Herzberg <sven@imendio.com>
7689 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7690 Patch from: Mohammad Anwari <mdamt@maemo.org>
7692 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7693 instead of the right in RTL mode
7694 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7695 breadcrumb button list in RTL mode
7696 * src/hildon-caption.c: mirror the appearance of the caption widget in
7698 * src/hildon-date-editor.c: mirror appearance of the date editor in
7700 * src/hildon-time-editor.c: mirror appearance of the time editor in
7702 * src/hildon-window.c: fix the position of the popup in RTL mode
7704 2008-03-25 Sven Herzberg <sven@imendio.com>
7706 Amendment to the fix of NB#22072. Fix compilation.
7708 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7710 2008-03-19 Sven Herzberg <sven@imendio.com>
7712 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7715 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7716 timeout id properly when the timeout will disappear this leaves no
7717 artifacts around in the destroy(); there will only be the timeout
7718 created by hildon_banner_ensure_timeout() and adding a new timeout
7719 will also work if the timeout gets removed because the timeout_handler
7722 2008-03-19 Michael Natterer <mitch@imendio.com>
7724 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7726 * src/hildon-volumebar.c
7727 * src/hildon-vvolumebar.c
7728 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7729 the widget becomes focussable at all.
7731 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7732 set the focus to wither the mute button or the volumebar.
7734 Remove own "can-focus" property and instead listen to
7735 notify::can-focus in order to update the widget's state.
7737 Implement GtkWidget::focus() and make sure we can also *leave* the
7738 widget, not only enter it, depending on volumebar orientation and
7739 requested focus direction.
7741 Clean up set_mute() to cooperate nicely with all the above.
7743 2008-03-04 Michael Natterer <mitch@imendio.com>
7745 Fixes: NB#78481: information banners are hidden under browser menu
7747 * src/hildon-banner.c: call gtk_window_present() on the banners so
7748 they are risen if they are already visible.
7750 2008-03-03 Sven Herzberg <sven@imendio.com>
7752 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7754 * examples/hildon-window-menu-example.c: (main): extended the window
7755 menu example to serve as a testcase for automatically added
7756 accelerator groups, too
7757 * src/hildon-window.c: (hildon_window_add_accel_group),
7758 (hildon_window_set_menu): added patch by Tommi Komulainen
7760 2008-03-03 Sven Herzberg <sven@imendio.com>
7762 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7764 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7765 knowledge about the border allocators used within GTK+
7767 2008-02-26 Sven Herzberg <sven@imendio.com>
7769 Fixes: MB#2981: Build with asserts broken
7771 * src/hildon-date-editor.c,
7772 * src/hildon-number-editor.c,
7773 * src/hildon-time-editor.c,
7774 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7775 the proper GType instance check
7777 2008-02-25 Sven Herzberg <sven@imendio.com>
7779 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7781 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7782 * examples/hildon-window-menu-example.c: (main): explicitly show
7784 * src/hildon-window.c:
7785 (hildon_window_set_main_menu): moved most of the code from set_menu()
7786 to this place; skipped the call to gtk_widget_show_all(); also didn't
7787 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7788 (hildon_window_set_menu): removed most of the code, just keep the
7789 questionable gtk_widget_show_all()
7790 * src/hildon-window.h: added the new function and deprecate the old
7793 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7799 * debian/changelog: Updating.
7801 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7804 * pkgconfig/Makefile.am:
7805 * pkgconfig/hildon.pc.in:
7808 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7809 use newly created API_MAJOR_VERSION.
7811 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7817 * debian/changelog: Updating.
7819 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7821 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7823 Add outer_border style property, we use it but don't define it (!).
7827 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7829 * examples/hildon-bread-crumb-trail-example.c (main):
7833 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7835 Fix logic for the bread crumb trail node removal.
7839 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7845 * debian/changelog: Updating.
7847 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7849 Patch by Alejandro to get/set passwords dialogs accesibility.
7851 * hildon-1/src/hildon-get-password-dialog.c:
7852 * hildon-1/src/hildon-set-password-dialog.c:
7853 Set atk_set_name to the passwd entries in order to allow
7854 accessibility by name on this entries.
7856 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7861 * debian/control: Updating gtk dep.
7863 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7865 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7866 USE_MAEMO_GTK is enabled.
7868 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7870 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7871 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7873 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7879 * debian/changelog: Updating.
7881 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7883 * examples/Makefile.am:
7884 * examples/hildon-logical-color-example.c:
7885 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7886 applied + adding a test case. Fixes: NB#71660.
7888 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7890 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7891 to be visible, fixes warning on map for windows without toolbars.
7893 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7895 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7896 2.11.0, add a check for that besides the MAEMO_GTK check.
7898 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7904 * debian/changelog: Updating.
7906 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7908 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7909 visibility. Fixes: NB#70842 and MB#615.
7911 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7913 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7914 set the separator as no-show-all so it doesn't unintentionally appear when
7915 someone does a show_all.
7917 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7919 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7920 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7921 toplevel item. Fixes: NB#62031
7923 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7925 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7926 fix the name of the function in the docs.
7928 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7934 * debian/changelog: Updating.
7936 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7938 * examples/hildon-banner-long-example.c: Adding a test-case for long
7941 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7943 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7945 * src/hildon-color-chooser-dialog.c:
7946 * src/hildon-color-chooser.c:
7947 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7948 memory leaks in font selector and color selector. Fixes: NB#70499 and
7951 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7953 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7955 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7957 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7958 little bit bigger. Fixes: #NB63694.
7960 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7966 * debian/changelog: Updating.
7968 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7971 * doc/hildon-docs.sgml:
7972 * doc/images/bread-crumb-trail.png:
7973 * doc/images/calendar-popup.png:
7974 * doc/images/caption.png:
7975 * doc/images/code-dialog.png:
7976 * doc/images/color-button.png:
7977 * doc/images/color-chooser-dialog.png:
7978 * doc/images/color-chooser.png:
7979 * doc/images/controlbar.png:
7980 * doc/images/date-editor.png:
7981 * doc/images/font-selection-dialog.png:
7982 * doc/images/get-password-dialog.png:
7983 * doc/images/hvolumebar.png:
7984 * doc/images/login-dialog.png:
7985 * doc/images/note.png:
7986 * doc/images/number-editor.png:
7987 * doc/images/range-editor.png:
7988 * doc/images/seekbar.png:
7989 * doc/images/set-password-dialog.png:
7990 * doc/images/sort-dialog.png:
7991 * doc/images/time-editor.png:
7992 * doc/images/time-picker.png:
7993 * doc/images/vvolumebar.png:
7994 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7995 Adding the bread-crumb-trial and helpers to the documentation.
7997 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7999 * examples/hildon-find-toolbar-example.c:
8000 * src/hildon-find-toolbar.c:
8001 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8002 actually continue firing the other handlers if connected. Adding a new
8004 hildon_find_toolbar_get_last_index that gets the index of the most
8005 recently added (last) item. Fixes: NB#52301.
8007 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8009 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8010 behaviour. Fixes: NB#68610.
8012 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8014 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8017 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8019 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8020 when realizing the banner. Should make the infonbanner effect a bit more
8023 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8025 * src/hildon-volumebar.c:
8026 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8027 hildon_volumebar_set_range_insensitive_message and
8028 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8030 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8032 * src/hildon-window.c: Fixing the border freeing on destroy.
8034 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8036 * src/hildon-code-dialog-private.h:
8037 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8038 kw keyboard support in HildonCodeDialog.
8040 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8046 * debian/changelog: Updating.
8048 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8050 * src/hildon-date-editor.c:
8051 * src/hildon-number-editor.c:
8052 * src/hildon-private.c:
8053 * src/hildon-private.h:
8054 * src/hildon-time-editor.c:
8055 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8056 handling in subclassed composite widgets. Fixes: NB#66628.
8058 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8060 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8061 from destroy_ callback as it introduces problems in async dbus signal
8062 handlers. Fixes NB#66673.
8064 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8066 * examples/hildon-hvolumebar-example.c:
8067 * src/hildon-volumebar.c: Improving the focus handling in the
8068 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8069 set_property accessor so that "mute" property can be actually set. I'm
8070 scared that nobody noticed it's totally broken.
8072 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8074 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8077 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8079 * src/hildon-calendar.c:
8080 * src/hildon-number-editor.c:
8081 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8082 matches the spec of 6 chars per second. Fixes: NB#60489.
8084 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8086 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8087 gtk_style_lookup_color sometime returns FALSE even though color was
8088 found and values were filled properly. Weird. Removing the warning for the
8091 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8093 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8094 expand vertically. Adding some extra space to the find toolbar buttons to
8095 make them thumbable. Fixes NB#66060.
8097 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8099 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8100 popup with "Ok" and "Cancel". Fixes NB#59299.
8102 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8104 * src/hildon-calendar.c: Process all window updates before executing next
8105 timeout. Fixes: NB#54146.
8107 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8113 * debian/changelog: Updating.
8115 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8117 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8118 the client event and ignore it, since we use the delete event to close
8121 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8123 * src/hildon-helper.c: Remove the bogus warning about color not being
8124 found. Fixes NB#58352.
8126 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8128 * examples/Makefile.am:
8129 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8130 HildonSeekbar widget inside a toolbar.
8132 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8134 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8135 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8136 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8137 don't want to be closed by non-temporary windows on map.
8139 Also use G_DEFINE_TYPE instead of manually typed code.
8141 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8148 * debian/rules: Updating.
8150 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8152 * examples/Makefile.am:
8153 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8154 bug NB#61128. Strangely it works.
8156 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8158 * src/hildon-date-editor.c: When the date editor entry has been changed
8159 but the numbers of characters < max, turn off the skip validation flag.
8160 Prevents a situation when we enter first a valid year and later re-write
8161 it with an invalid one. Fixes NB#60154.
8163 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8165 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8166 code dialog. Fixes NB#64355.
8168 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8170 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8171 switching the page. Fixes NB#49374.
8173 * examples/Makefile.am:
8174 * examples/hildon-wizard-dialog-example.c: Adding an example for
8175 HildonWizardDialog that shows how to handle manual sensitivity setting on
8178 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8182 * src/hildon-version.h.in:
8183 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8185 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8187 * src/hildon-volumebar.c: Updating the docs.
8189 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8195 * debian/changelog: Updating.
8197 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8199 * src/hildon-find-toolbar.c:
8200 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8201 selected item: hildon_find_toolbar_set_active,
8202 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8203 hildon_find_toolbar_get_active_iter . They correspond to respective
8204 GtkComboBox functions.
8206 * examples/Makefile.am:
8207 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8210 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8212 * examples/Makefile.am:
8213 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8216 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8217 when font size > 32 and we pack a focusable widget inside. Actually using
8218 the default response would work too, but since we don't show default
8219 response state in any way (no theming) it would not be visible to the
8220 user. Fixes NB#63430.
8222 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8224 * src/hildon-date-editor.c: Adding the missing variable setter in the
8225 set_property handler. Fixes NB#54182.
8227 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8229 * src/hildon-window.h: Changing the long key press time from 1500ms to
8230 800ms as requested in NB#63700. I have a bad feeling about this, let's
8231 see... Fixes NB#63700.
8233 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8235 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8236 hildon_time_picker_map, hildon_time_picker_realize,
8237 hildon_time_picker_style_set): Split the contents of map to more
8238 appropriate functions; set window decorations on realize and update
8239 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8241 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8246 * debian/changelog: Updating.
8248 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8250 * src/Makefile.am: fixed installation of the header files
8252 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8258 * debian/changelog: Updating.
8260 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8262 * configure.ac: Removing some remaining of --enable-xan.
8264 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8266 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8267 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8269 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8270 2.10.12-osso6 because the move-focus signal needs to be available in
8273 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8275 * examples/Makefile.am:
8276 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8277 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8278 fine. Prolly NB#61128 is fixed now.
8280 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8282 * src/hildon-volumebar.c:
8283 * src/hildon-volumebar.h: Adding the
8284 hildon_volumebar_set_range_insensitive_message and
8285 hildon_volumebar_set_range_insensitive_messagef functions to set
8286 insensitive message on the slider of the volumebar. Fixes NB#61129.
8288 * examples/Makefile.am:
8289 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8290 test the new insensitive messsage functionality on HildonVolumebar.
8292 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8294 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8297 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8299 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8300 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8301 button on after clearing the trail.
8303 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8305 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8307 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8309 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8310 by splitting the installed headers in generated and non-generated groups. Use
8311 only the non-generated headers to create the hildon-enum-types.h file.
8313 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8315 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8317 * src/hildon-window.c: Hide the window before performing the destroy.
8318 Should make the app closing a little tiny bit more snappy.
8320 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8322 * src/hildon-seekbar.c: add gtkrange.h header
8323 * src/hildon-caption.c: remove unused variable
8325 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8327 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8330 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8336 * debian/changelog: Updating.
8338 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8340 * src/hildon-window.c (hildon_window_window_state_event,
8341 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8342 escape timeout on focus-out-event rather than notify::is-topmost; the
8343 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8345 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8347 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8348 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8350 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8352 * src/hildon-window: actually, you need to use the macro always, there's
8353 no private pointer in the instance structure. We should have cleaned this up
8354 when we had the chance...
8356 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8358 * src/hildon-window.c: do not get the private date from HildonWindow before
8359 it passes the g_return_if_fail check. Once it's passed the test, there's no
8360 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8361 if you are only going to access the data once. Whitespace cleanups.
8363 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8365 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8366 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8368 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8374 * debian/changelog: Updating.
8376 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8378 * src/hildon-window.c: When destroying the window, remove (if exists) the
8379 escape timeout handler. Fixes #NB59276.
8381 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8383 * src/hildon-banner.c: When realizing the widget, set the window
8384 transiency. Setting the transiency in the gobject constructor is not
8385 good, as the widget is not realized at that point. Fixes: #NB56624.
8387 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8389 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8390 Add padding for future expansions.
8392 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8394 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8395 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8396 will fake an activation on the previous to the last item of the trail, so
8397 the effect can be overrided by the developer as usual.
8398 Also change the callback for the back button to do the same thing, so its
8399 effect can be overrided too. Fixes: NB#58982
8401 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8403 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8404 HildonCaption. Fixes NB#52379.
8406 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8408 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8409 the internal state of the trail after the user has had the chance of executing
8410 his handler for the signal. Specifically, it may happen that the activated button
8411 is removed and the user still lets the default handler run. This would segfault
8414 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8416 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8417 scrollbar to the preview dialog. Fixes NB#54147.
8419 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8421 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8422 max/min year properties can be altered, so the client can modify it
8423 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8425 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8427 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8428 hildonlike by default. Fixing a problem with disappearing arrows when
8429 scrolling through months and years. Fixes NB#54127.
8431 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8433 * examples/hildon-date-editor-example.c: Adding error callback to the date
8436 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8442 * configure.ac: Updating.
8444 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8446 * configure.ac: Adding a special '--enable-xan' configure option that
8447 turns off the -Werror compilation setting. Usefull for development.
8449 * src/hildon-calendar.c:
8450 * src/hildon-number-editor.c:
8451 * src/hildon-time-picker.c: Adding the 5* multiplier to
8454 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8456 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8457 instead of g_object_ref + gtk_object_sink.
8459 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8465 * debian/changelog: Updating.
8467 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8469 * src/hildon-color-chooser-dialog.c:
8470 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8471 straight from Tommi labs.
8473 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8475 * examples/hildon-finger-example.c: Correcting the header file path.
8477 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8478 the changed signal. Fixes a small memory leak.
8480 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8484 * src/hildon-banner.c: Importing several usefull fixes from the
8485 ubuntu-mobile branch.
8487 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8489 * examples/Makefile.am:
8490 * examples/hildon-finger-example.c: Adding a finger-checking code
8493 * src/hildon-font-selection-dialog.c: Do not allocate the color
8494 structure using the g_new. Fixes NB#54061.
8496 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8498 * src/hildon-helper.c: Correcting tabs in file.
8500 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8502 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8503 control the visibility of the children.
8505 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8507 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8513 * debian/changelog: Updating.
8515 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8517 * src/hildon-bread-crumb-trail.c:
8518 (hildon_bread_crumb_trail_size_allocate):
8520 Make the back button always a square.
8522 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8524 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8525 from the .c file as it's a private file.
8527 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8529 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8530 uses slightly bigger height.
8532 * src/hildon-font-selection-dialog.c: Adding some checks before
8533 freeing memory in the font selection dialog.
8535 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8537 * src/hildon-font-selection-dialog.c: Adding a small check when
8540 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8541 buttons sensitivity on page switching.
8543 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8545 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8546 internal details of adding a bread crumb to the trail.
8548 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8554 * debian/changelog: Updating.
8556 * src/hildon-bread-crumb-trail.h:
8557 * src/hildon-bread-crumb.h: Changing the API guard to
8558 HILDON_ENABLE_UNSTABLE_API.
8560 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8568 * src/hildon-helper.h: Updating.
8570 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8578 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8582 * src/hildon-helper.h: Small fix to make the package actually compile.
8584 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8586 * src/hildon-bread-crumb-trail.h:
8587 * src/hildon-bread-crumb.h:
8589 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8590 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8592 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8594 * examples/hildon-bread-crumb-trail-example.c:
8596 * src/hildon-bread-crumb-trail.c:
8597 * src/hildon-bread-crumb-trail.h:
8598 * src/hildon-bread-crumb.c:
8599 * src/hildon-bread-crumb.h:
8600 * src/hildon-marshalers.list:
8601 * src/hildon-bread-crumb-widget.c:
8602 * src/hildon-bread-crumb-widget.h:
8604 Slight change in the widget design. The bread crumb trail API is
8605 unchanged, but HildonBreadCrumb is now an interface. A *private*
8606 implementation, hildon-bread-crumb-widget, is provided and used
8607 internally by the trail for the push_text/push_icon functions.
8609 The generic push API is still available, so anyone can implement
8610 and use its own bread crumb widget.
8612 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8614 * debian/rules: Fixing the shlibs.
8616 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8618 * src/hildon-banner.c: Fixing a problem with timed banners having
8619 their parrent destroyed before they are.
8621 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8623 * src/hildon-bread-crumb.c:
8624 * src/hildon-bread-crumb.h:
8626 Make the get_natural_size function a vfunc.
8628 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8630 * src/hildon-bread-crumb.c:
8631 * src/hildon-bread-crumb-trail.c:
8635 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8642 * debian/changelog: Updating for release.
8644 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8646 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8647 don't leak the pango layout.
8649 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8652 * examples/hildon-bread-crumb-trail-example.c:
8656 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8658 * debian/changelog: Removing the bug-fixed entries that were actually
8659 resolved as WONTFIX.
8661 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8664 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8666 * src/hildon-bread-crumb-trail.c:
8667 * src/hildon-bread-crumb-trail.h:
8668 * src/hildon-bread-crumb.c:
8669 * src/hildon-bread-crumb.h:
8673 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8675 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8676 until it's passed the type check.
8678 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8680 * examples/hildon-bread-crumb-trail-example.c
8684 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8686 * examples/Makefile.am
8687 * examples/hildon-bread-crumb-trail-example.c
8689 * src/hildon-bread-crumb-trail.c
8690 * src/hildon-bread-crumb-trail.h
8691 * src/hildon-bread-crumb.c
8692 * src/hildon-bread-crumb.h
8694 New HildonBreadCrumbTrail widget.
8696 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8698 * src/hildon-range-editor.c (hildon_range_editor_init),
8699 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8700 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8701 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8702 hildon_time_editor_class_init, hildon_time_editor_init),
8703 src/hildon-get-password-dialog.c (invalid_input,
8704 hildon_get_password_set_property, hildon_get_password_get_property,
8705 create_contents, hildon_get_password_dialog_set_max_characters),
8706 src/hildon-set-password-dialog.c (create_contents),
8707 src/hildon-date-editor.c (hildon_date_editor_init),
8708 src/hildon-login-dialog.c (hildon_login_dialog_init),
8709 src/hildon-number-editor.c (hildon_number_editor_init),
8710 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8711 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8712 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8713 configure option and adding the respective checks in the code.
8714 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8715 hildon_calendar_drag_data_received): fixed some build warnings.
8717 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8719 * debian/changelog: A 1.0.0 release notes.