1 2009-06-12 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-app-menu.c (hildon_app_menu_map):
4 Don't install a new idle function if there's already one
9 2009-06-11 Alberto Garcia <agarcia@igalia.com>
11 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
12 (+legacy_menu_realized, +legacy_menu_unmapped)
13 (+set_legacy_menu_type):
14 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
15 they can be identified by the window manager.
17 Fixes: NB#101437 (Invoking CSM on the left side of page area is
18 displayed in wrong location)
20 Fixes: MB#4563 (Popup menu won't locate at the left side of the
23 2009-06-11 Alberto Garcia <agarcia@igalia.com>
25 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
27 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
30 2009-06-11 Alberto Garcia <agarcia@igalia.com>
32 * hildon/hildon-code-dialog.c
33 * hildon/hildon-date-editor.c
34 * hildon/hildon-number-editor.c
35 * hildon/hildon-seekbar.c
36 * hildon/hildon-stackable-window.c
37 * hildon/hildon-window.c:
38 Misc documentation updates
40 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
42 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
43 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
45 Fixes: NB#117931 (Theming issues in accounts dialogs)
47 2009-06-09 Alejandro G. Castro <alex@igalia.com>
49 * hildon/hildon-pannable-area.c,
50 (hildon_pannable_area_button_release_cb): Changed the coordinates
51 of the original release in case we want to discard the release,
52 some widgets in Fremantle do not handle the leave-notify.
54 2009-06-09 Alejandro G. Castro <alex@igalia.com>
56 * hildon/hildon-pannable-area.c,
57 (hildon_pannable_area_button_release_cb): Reviewed the logic of
58 the release using the last refactored functions and avoiding the
59 movement if an element was selected.
61 2009-06-09 Alejandro G. Castro <alex@igalia.com>
63 * hildon/hildon-pannable-area.c,
64 (hildon_pannable_area_check_move),
65 (hildon_pannable_area_handle_move),
66 (hildon_pannable_area_motion_notify_cb): Refactored the
67 motion_notify method using a couple of new functions.
69 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
71 * hildon/hildon-date-selector.c:
72 (hildon_date_selector_construct_ui):
73 * hildon/hildon-time-selector.c:
74 (hildon_time_selector_constructor):
75 * hildon/hildon-touch-selector-entry.c:
76 (hildon_touch_selector_entry_set_text_column),
77 (hildon_touch_selector_entry_get_text_column):
78 * hildon/hildon-touch-selector.c: (_default_print_func),
79 (hildon_touch_selector_new_text): Use
80 hildon_touch_selector_set/get_text_column() instead of
81 setting/getting the "text-column" property.
83 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
85 * doc/hildon-sections.txt: Add the new public methods below.
87 * examples/hildon-picker-button-multicolumn-example.c:
88 (create_touch_selector):
89 * examples/hildon-touch-selector-example.c: (create_selector):
90 * examples/hildon-touch-selector-multi-cells-example.c:
92 Use hildon_touch_selector_column_set_text_column()
94 * hildon/hildon-touch-selector-column.h:
95 * hildon/hildon-touch-selector.c:
96 (hildon_touch_selector_column_set_text_column),
97 (hildon_touch_selector_column_get_text_column):
98 Make hildon_touch_selector_column_set/get_column() public, use
99 them in the inline example, document them, and reference to them
102 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
104 * hildon/hildon-time-selector.c: Fix the docs for
105 hildon_time_selector_new_step().
107 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
109 * hildon/hildon-touch-selector.c: Improve the documentation for
110 hildon_touch_selector_append_column().
112 Fixes MB#4641 (Documentation:
113 hildon_touch_selector_append_column() ref-counting)
115 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
117 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
118 Comment out test 5, since the hildon_controlbar_set_range() range
119 check is broken and fixing it would have side effects. Also,
120 this finally fixes make distcheck.
122 Fixes: NB#101420 (Update unit tests and fix make distcheck)
124 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
126 * tests/TEST-CASES.txt: Remove other bogus test.
127 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
128 Remove bogus test that was setting/retrieving a valid value.
130 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
132 * tests/TEST-CASES.txt: Remove bogus tests.
133 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
134 Remove three bogus tests that were actually setting valid colors.
136 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
138 * configure.ac: post release version bump
139 * debian/changelog: post release version bump
141 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
146 * configure.ac: Bump version.
147 * debian/changelog: Updates.
149 2009-06-08 Christian Dywan <christian@lanedo.com>
153 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
154 Correct errors in hildon_format_file-size_for_display and use
155 translations from the hildon-fm package instead of osso-filemanager.
157 2009-06-08 Alejandro G. Castro <alex@igalia.com>
159 * hildon/hildon-pannable-area.c,
160 (hildon_pannable_area_init): Initialized new values to handle the
162 (hildon_pannable_area_adjust_value_changed): Check if the values
163 changed before even call the redraw function.
164 (hildon_pannable_area_size_allocate),
165 (hildon_pannable_axis_scroll),
166 (hildon_pannable_area_scroll),
167 (hildon_pannable_area_jump_to): Improved the diagonal movement
170 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
173 2009-06-08 Alberto Garcia <agarcia@igalia.com>
175 * examples/hildon-banner-example.c:
176 Several style updates
177 (on_animation_clicked, on_animation_idle)
178 (on_progress_clicked, on_progress_idle):
179 Add additional reference for the cases when the parent window is
182 2009-06-08 Alberto Garcia <agarcia@igalia.com>
184 * doc/hildon-sections.txt
185 * hildon/hildon-pannable-area.c
186 * hildon/hildon-banner.h
187 * hildon/hildon-banner.c: Documentation updates.
189 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
192 2009-06-05 Alejandro G. Castro <alex@igalia.com>
194 * hildon/hildon-calendar-popup.h:
195 * hildon/hildon-caption.h:
196 * hildon/hildon-code-dialog.h:
197 * hildon/hildon-controlbar.h:
198 * hildon/hildon-date-editor.h:
199 * hildon/hildon-dialog.h:
200 * hildon/hildon-get-password-dialog.h:
201 * hildon/hildon-hvolumebar.h:
202 * hildon/hildon-login-dialog.h:
203 * hildon/hildon-note.h:
204 * hildon/hildon-number-editor.h:
205 * hildon/hildon-range-editor.h:
206 * hildon/hildon-seekbar.h:
207 * hildon/hildon-set-password-dialog.h:
208 * hildon/hildon-sort-dialog.h:
209 * hildon/hildon-time-editor.h:
210 * hildon/hildon-time-picker.h:
211 * hildon/hildon-volumebar-range.h:
212 * hildon/hildon-volumebar.h:
213 * hildon/hildon-vvolumebar.h:
214 * hildon/hildon-weekday-picker.h:
215 * hildon/hildon-window.h:
216 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
217 macros with the current replacements
219 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
221 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
223 * hildon/hildon-color-button.c (hildon_color_button_init): Use
224 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
225 itself, to make it fit better with Fremantle style.
227 Fixes: NB#109878 (height and width of focus on color icon is not
228 consistent with other item in the application tool bar)
230 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
232 * hildon/hildon-touch-selector.c:
233 (hildon_touch_selector_optimal_size_request): use the current requisition
234 as the base, in order to include any possible extra widget, like the
235 hildon entry on HildonTouchSelectorEntry
237 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
239 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
241 * configure.ac: post release version bump
242 * debian/changelog: post release version bump
244 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
249 * configure.ac: Bump version.
250 * debian/changelog: Updates.
252 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
254 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
256 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
257 to ensure the banner contents are centered, instead of relying on
258 the expand and fill properties in GtkHBox.
259 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
261 Fixes: NB#108265 (Animation banner not properly centered)
263 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
265 * hildon/hildon-pannable-area.c
266 (hildon_pannable_area_initial_effect): Remove the initial_effect
267 management, check initial_hint
268 (hildon_pannable_are_expose_event): Remove the initial_hint management,
269 set initial_effect to FALSE
270 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
271 by launching the fade_timeout if the scrollbars state has changed and are
273 * examples/hildon-pannable-area-initial-hint-example.c
274 Modified to allow to remove rows too. Add and remove rows one by one.
276 2009-05-28 Alberto Garcia <agarcia@igalia.com>
278 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
279 Don't close the menu if there's an animation actor below it.
281 Fixes: NB#117927 (Application menu not usable with animation
284 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
286 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
287 "focus-on-click" from the dialog button, to avoid stealing the
288 focus from the entry.
290 Fixes: NB#118903 (Account setup wizard: Text in Search field
291 should be focused when "Region" touch list picker is reopened
294 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
296 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
297 (prepare_action_area): Completely hide the dialog separator.
299 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
301 * hildon/hildon-touch-selector-entry.c
302 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
303 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
304 now that the entry is exposed.
306 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
308 * hildon/hildon-touch-selector-entry.c
309 (hildon_touch_selector_entry_init): Change the entry's size
310 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
312 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
314 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
315 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
316 avoid unnecessary scaling.
318 2009-05-27 Alberto Garcia <agarcia@igalia.com>
320 * hildon/hildon-app-menu.c (hildon_app_menu_map):
321 Create grab transfer window before calling parent's map function.
323 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
324 "crushed" button(s) in the top left corner)
326 2009-05-26 Alberto Garcia <agarcia@igalia.com>
328 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
329 Check if the window is already realized when pushing it.
331 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
333 * configure.ac: post release version bump
334 * debian/changelog: post release version bump
336 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
341 * configure.ac: Bump version.
342 * debian/changelog: Updates.
344 2009-05-25 Alberto Garcia <agarcia@igalia.com>
346 * hildon/hildon-app-menu.c: Doc updates.
348 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
350 * hildon/hildon-banner.c: Remove leftover macro.
352 2009-05-25 Alejandro G. Castro <alex@igalia.com>
354 * hildon/hildon-pannable-area.c,
355 (hildon_pannable_area_scroll_indicator_fade),
356 (hildon_pannable_area_button_release_cb): Reviewed vmin
357 conditions, it could cause problems in the fadeout procedure.
359 2009-05-25 Alejandro G. Castro <alex@igalia.com>
361 * hildon/hildon-pannable-area.c
362 (hildon_pannable_area_button_release_cb): Added a threshold to
363 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
365 2009-05-25 Alejandro G. Castro <alex@igalia.com>
367 * hildon/hildon-pannable-area.c,
368 (hildon_pannable_area_set_property): Added code to sync the gtk
369 dnd threshold with the panning threshold.
371 2009-05-25 Alejandro G. Castro <alex@igalia.com>
373 * hildon/hildon-pannable-area.c,
374 (hildon_pannable_area_class_init): Changed some of the default
375 values, now it should be less responsive and more accurate.
377 2009-05-25 Alejandro G. Castro <alex@igalia.com>
379 * hildon/hildon-pannable-area.c,
380 (hildon_pannable_area_init),
381 (hildon_pannable_area_scroll_indicator_fade),
382 (hildon_pannable_area_button_press_cb),
383 (hildon_pannable_axis_scroll),
384 (hildon_pannable_area_timeout),
385 (hildon_pannable_area_motion_notify_cb),
386 (hildon_pannable_area_button_release_cb): Changed the name of the
387 clicked attribute to button_pressed, it is more clear about its use.
389 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
391 * src/hildon-pannable-area.c
392 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
394 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
395 vertical scrollbar visibility, and use the data on private section instead,
396 remove the initial_hint check
397 (hildon_pannable_area_expose_event): add the initial_hint check here
399 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
401 * src/hildon-pannable-area.c
402 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
403 if the fadeout effect was used
404 (hildon_pannable_area_expose_event): check if it is required to
405 manage the initial effect on the begining of the function. Previously
406 it was made at the end, but this doesn't ensure that the scrollbars
407 will be painted on the first show. Do not set to FALSE initial_effect,
408 to ensure that the initial hint is showed the first time the pannable
410 * examples/Makefile.am
411 * examples/hildon-pannable-area-initial-hint-example.c:
412 New example, to show that the initial-hint is showed when the widget
415 Fixes: NB#116607 (Pannable area should always have scrollbar visible
416 initially if the application can be scrolled)
418 2009-05-25 Alberto Garcia <agarcia@igalia.com>
420 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
421 Resize table before adding new items to make sure that
422 gtk_table_resize() is called just once.
424 2009-05-25 Alberto Garcia <agarcia@igalia.com>
426 * hildon/hildon-app-menu-private.h
427 * hildon/hildon-app-menu.c (item_visibility_changed)
428 (filter_visibility_changed, hildon_app_menu_show_all)
429 (hildon_app_menu_hide_all, hildon_app_menu_init):
430 Rearrange items just once when gtk_widget_show_all()/hide_all()
433 2009-05-25 Alberto Garcia <agarcia@igalia.com>
435 * hildon/hildon-app-menu.c
436 (hildon_app_menu_insert, hildon_app_menu_add_filter):
437 Don't call gtk_widget_show() on added items.
439 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
440 automatically when they're added)
442 2009-05-20 Alberto Garcia <agarcia@igalia.com>
444 * hildon/hildon-banner.c
445 (hildon_banner_realize, +hildon_banner_unrealize)
446 (+screen_size_changed, hildon_banner_class_init):
447 Redisplay the banner if the screen is rotated.
449 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
450 on transition from landscape to portrait)
452 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
454 * hildon/hildon-banner.[ch]:
455 (hildon_banner_show_information_override_dnd): remove icon_name from the
456 method definition as it is ignored.
457 * examples/hildon-banner-dnd-example.c: updated with the change on
460 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
462 * hildon/hildon-banner-private.h: new require_override_dnd and
463 overrides_dnd variables
464 * hildon/hildon-banner.h:
465 (hildon_banner_show_information_override_dnd): new method, that shows
466 the information but sets the override flag, in order to show important
468 * hildon/hildon-banner.c
469 (hildon_banner_show_information_override_dnd): new method
470 (hildon_banner_set_override_flag): new utility function
471 (hildon_banner_real_show_information): new utility function, in order to
472 generalize the current hildon_banner_show_information_override_dnd and
473 hildon_banner_show_information_override_dnd
474 * examples/Makefile.am
475 * examples/hildon-banner-dnd-example.c: New example that show how to
476 use the new hildon_banner_show_information_override_dnd
478 Fixes: NB#114874 (There is no possibility to show hildon banners with
481 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
483 * hildon/hildon-pannable-area.c: Add a comment explaining the math
484 behind hildon_pannable_calculate_vel_factor().
486 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
488 * hildon/hildon-pannable-area.c
489 (hildon_pannable_calculate_vel_factor): Correct the sum of the
490 deceleration factors.
492 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
494 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
495 Reduce the default value for 'scroll_time' to 1 second, since the
496 current initial scrolling takes too much time.
498 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
500 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
501 calculate velocity factor during initialization, since the properties
504 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
506 * hildon/hildon-pannable-area.c
507 (hildon_pannable_area_set_property): Calculate the velocity factor
508 after setting the deceleration property and not after.
510 2009-05-20 Alberto Garcia <agarcia@igalia.com>
512 * hildon/hildon-entry.c
513 (hildon_entry_class_init, +set_property, hildon_entry_new)
514 * hildon/hildon-check-button.c
515 (hildon_check_button_class_init)
516 (+set_property, hildon_check_button_new):
517 Make the theme size a property.
519 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
520 others) do too much in the _new function)
522 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
524 * configure.ac: post release version bump
525 * debian/changelog: post release version bump
527 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
532 * configure.ac: Bump version.
533 * debian/changelog: Updates.
535 2009-05-15 Alberto Garcia <agarcia@igalia.com>
537 * hildon/hildon-gtk.h
538 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
539 New API function to take a screenshot of a window
541 Fixes: NB#106374 (Need API to take a loading screenshot)
543 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
545 * hildon/hildon-time-selector.c
546 (update_format_policy): prevent to use hours and minutes unitialized
548 2009-05-15 Alberto Garcia <agarcia@igalia.com>
550 * hildon/hildon-window.c (hildon_window_size_request):
551 Always request the full size of the screen (minus the title bar if
552 not in fullscreen mode).
554 Fixes: NB#107486 (HildonWindow should size itself properly)
556 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
558 * hildon/hildon-note-private.h: Add idle_handler to the private data.
559 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
560 (on_show_cb), (sound_handling): Disconnect the idle handler for
561 the sound when the note is finalized to avoid possible crashes.
563 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
566 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
568 * src/hildon-animation-actor.c,
569 * src/hildon-remote-texture.c:
570 Added proper object cleanup to remove signal handler and object
571 references as HildonAnimationActor and HildonRemoteTexture
572 objects get destroyed.
574 Fixes: NB#116682 (Destroying parented animation actors when
575 parent in unmapped leads to crash)
577 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
579 Based on a patch by Christian Dywan (christian@imendio.com)
581 * doc/hildon-sections.txt:
582 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
583 * hildon/hildon-helper.h: New file size formatting method.
585 * debian/control: Depend on osso-filemanager l10n package for
586 proper localization strings.
588 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
590 * tests/Makefile.am: Include top_srcdir to make possible to build
591 tests in a different builddir.
592 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
593 on a different builddir.
595 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
597 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
598 (hildon_touch_selector_remove): Disconnect model's signal handler
601 Fixes: NB#116289 (Hildon home crashes while adding task
604 2009-05-11 Alberto Garcia <agarcia@igalia.com>
606 * hildon/hildon-button.c
607 (hildon_button_set_title, hildon_button_set_value):
608 Hide labels containing an empty string.
610 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
612 * configure.ac: post release version bump
613 * debian/changelog: post release version bump
615 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
620 * configure.ac: Bump version.
621 * debian/changelog: Updates.
623 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
625 * hildon/hildon-note-private.h: Removed sound_signal_handler
626 * hildon/hildon-note.c
627 (on_show_cb): new callback on note "show" event, this simply adds
628 a idle, with the function sound_handling
629 (sound_handling): removed the sound_signal_handler management
630 (hildon_note_init): connect note "show" event to on_show_cb
631 (hildon_note_realize): remove the connection to "expose-event"
633 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
634 device?' confirmation note)
636 2009-05-08 Alberto Garcia <agarcia@igalia.com>
638 * hildon/hildon-note.c
639 (hildon_note_new_information_with_icon_name)
640 (hildon_note_new_confirmation_with_icon_name):
641 Terminate the list of parameters in g_object_set() calls
643 Fixes: NB#115166 (Formatting memory card is not taking place)
645 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
647 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
648 "dialog-information" role for the sound being played.
650 2009-05-06 Alberto Garcia <agarcia@igalia.com>
652 * hildon/hildon-app-menu.c (hildon_app_menu_init):
653 Don't make the menu a modal window, it causes strange interactions
654 with the pointer grab and it's not really needed.
656 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
658 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
660 * hildon/hildon-touch-selector.[ch]
661 (hildon_touch_selector_optimal_size_request): function added to get a
662 optimal size request from the touch selector, when you want a dialog to
663 show as much of the selector
664 * hildon/hildon-picker-dialog.c:
665 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
666 (hildon_app_menu_class_init):
667 New "max-height-landscape" and "max-height-portrait" style properties
668 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
669 (hildon_picker_dialog_get_max_height): returns the maximum height using
670 the style properties defined and checking the current portrait/landscape
672 (_hildon_picker_dialog_set_selector): removed the set_size_request
674 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
676 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
678 * hildon/hildon-bread-crumb-trail.c:
679 * hildon/hildon-bread-crumb.c:
680 * hildon/hildon-seekbar.c:
681 Add reference to replacements for these deprecated widgets.
683 Fixes: MB#4461 (Documentation: All deprecations should mention
686 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
688 * examples/hildon-remote-texture-example.c
690 Change the include to the hildon-remote-texture in order to compile
691 properly the examples on the installed libhildon1-examples package
693 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
695 * tests/Makefile.am: Add check for HildonPickerButton.
696 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
697 (START_TEST), (create_hildon_picker_button_suite): Add three simple
698 checks for the HildonPickerButton.
699 * tests/check_test.c (configure_tests): Add the test suite.
700 * tests/test_suites.h: likewise.
702 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
704 * hildon/hildon-touch-selector.c
705 (+on_row_changed): Emit HildonTouchSelector:changed when the
706 contents of a selected row change.
707 (_create_new_column), (_hildon_touch_selector_set_model): connect
708 to GtkTreeModel:row-changed on a newly set model.
710 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
712 2009-05-05 Alberto Garcia <agarcia@igalia.com>
714 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
716 * hildon/hildon-banner.c (hildon_banner_destroy)
717 (hildon_banner_show_progress, hildon_banner_set_fraction):
718 Remove the progress bar from HildonBanner and use a progress
721 Fixes: NB#113761 (Update progress banner to use progress
724 2009-05-04 Alberto Garcia <agarcia@igalia.com>
726 * hildon/hildon-banner.c:
727 Calculate size of the banner label using the actual screen width
728 rather than using a fixed value.
730 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
733 2009-05-04 Alejandro G. Castro <alex@igalia.com>
735 * hildon/hildon-pannable-area.c,
736 (hildon_pannable_area_class_init): Fixed signals documentation
739 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
741 * configure.ac: post release version bump
742 * debian/changelog: post release version bump
744 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
749 * configure.ac: Bump version.
750 * debian/changelog: Updates.
752 2009-05-01 Alberto Garcia <agarcia@igalia.com>
754 * hildon/hildon-edit-toolbar.c
755 (hildon_edit_toolbar_init):
756 Don't let buttons in HildonEditToolbar receive focus.
758 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
759 typing on an HW arrows key)
761 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
763 * doc/Makefile.am: Fix build.
765 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
767 * doc/Makefile.am: Do not redefine content_files.
769 2009-04-30 Alberto Garcia <agarcia@igalia.com>
777 Renamed src/ to hildon/
782 Include <hildon/hildon.h> directly in all examples.
784 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
786 * src/hildon-sort-dialog.c
787 (hildon_sort_dialog_add_sort_key_with_sorting)
791 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
793 * src/Makefile.am: Move generated sources to CLEANFILES, so that
794 make distcheck passes.
796 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
798 * Makefile.am: Enable gtk-doc during distcheck.
800 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
802 * Makefile.am: Do not distribute the debian/ directory.
804 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
806 * doc/Makefile.am: Add the extra SGML files to content_files,
807 so that they are distributed properly.
809 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
811 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
814 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
816 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
817 (hildon_note_new_information_with_icon_name): Set the "icon" property
818 to preserve soundness.
820 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
822 * src/hildon-font-selection-dialog.c
823 (hildon_font_selection_dialog_set_property): Fail when the "family"
824 property is set to NULL.
826 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
828 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
831 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
833 * src/hildon-time-selector.h:
834 Added HildonTimeSelectorFormatPolicy
835 * src/hildon-time-selector.c:
836 Added PROP_TIME_FORMAT_POLICY
837 (_check_ampm_format): renamed to check_automatic_ampm_format
838 (update_format_policy), (update_format_dependant_columns): new functions
839 (hildon_time_selector_class_init)
840 (hildon_time_selector_contructor)
841 (hildon_time_selector_init)
842 (hildon_time_selector_get_property)
843 (hildon_time_selector_set_property)
844 (hildon_time_selector_get_time)
845 (hildon_time_selector_set_time)
846 * src/hildon-touch-selector.h: new file
847 * src/hildon-touch-selector.c
848 (hildon_touch_selector_emit_changed)
849 (hildon_touch_selector_block_changed)
850 (hildon_touch_selector_unblock_changed)
851 Added functions to allow to block the emission of the "changed" signal
852 * src/hildon-picker-dialog.c
853 (hildon_picker_dialog_show): call the parent show before the custom code
854 * examples/hildon-time-button-example.c
855 Modified, so now you can configure the time format using the new property
857 Added a new property "time-format-policy" that allow to choose the time
858 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
859 case it uses gconf in order to check if the time selector must use
862 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
865 2009-04-28 Alberto Garcia <agarcia@igalia.com>
867 * src/hildon-note.c (hildon_note_init):
868 Label in HildonNote must be left aligned, not centered. This
869 reverts the last commit in HildonNote.
871 Fixes: NB#112933 (text is not left aligned in confirmation dialog
872 is connectivity dialog)
874 2009-04-27 Alberto Garcia <agarcia@igalia.com>
879 * doc/hildon-sections.txt:
880 Added hildon_gtk_window_set_do_not_disturb()
882 2009-04-27 Alberto Garcia <agarcia@igalia.com>
884 * src/hildon-note.c (hildon_note_init): Center label.
886 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
889 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
894 * configure.ac: Bump version.
895 * debian/changelog: Updates.
897 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
899 * src/hildon-note-private.h: Add button-width to the private data.
900 * src/hildon-note.c (+resize_button),
901 (+hildon_note_orientation_update): methods to repack widgets on orientation
903 (screen_size_changed): Call above method for confirmation notes.
904 (hildon_note_realize): Always connect to the "screen-size" changed signal.
905 (hildon_note_rebuild): Store the original width request from buttons.
907 Fixes: NB#109635 (Confirmation notes do not support portrait)
909 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
911 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
912 when it is a progress note.
914 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
916 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
917 in the note, since there are no horizontally arranged contents.
919 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
921 * src/hildon-gtk.c (+set_flag): new generic method to
922 set/delay a flag setting in a window.
923 (hildon_gtk_window_set_progress_indicator):
924 (hildon_gtk_window_set_do_not_disturb),
925 (hildon_gtk_window_set_portrait_flags): use set_flag() to
926 avoid code redundance.
928 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
930 Based on a patch by Alberto Garcia (agarcia@igalia.com)
932 * src/hildon-gtk.c (set_clear_window_flag),
933 (do_set_progress_indicator), (do_set_do_not_disturb),
934 (do_set_portrait_flags),
935 (hildon_gtk_window_set_progress_indicator),
936 (hildon_gtk_window_set_do_not_disturb),
937 (hildon_gtk_window_set_portrait_flags):
938 Allow setting dnd-flag, progress indicator, and portrait flags
939 when the window is not realized.
941 2009-04-24 Alejandro G. Castro <alex@igalia.com>
943 * src/hildon-pannable-area.c,
944 * src/hildon-pannable-area.h: Add the hildon deprecated define to
945 the size request policy function and defines.
947 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
949 * doc/hildon-sections.txt: Add the new API.
950 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
951 method to set the portrait flags.
952 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
954 Fixes: NB#112328 (Adding helpers for setting portrait properties)
956 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
958 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
959 to allow using this method with other flags.
960 (hildon_gtk_window_set_progress_indicator): Update accordingly.
961 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
963 2009-04-22 Alberto Garcia <agarcia@igalia.com>
965 * src/hildon-touch-selector.c
966 (hildon_touch_selector_append_text_column):
967 Make the cell renderer use the smallest width possible.
969 Fixes: NB#108470 (Selected items in multiple selection are either
970 having a tick that is cut or not visible at all.)
972 2009-04-22 Alberto Garcia <agarcia@igalia.com>
974 * src/hildon-touch-selector.c
975 (hildon_touch_selector_append_text_column):
978 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
980 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
981 Use g_strdup_printf() instead of a fixed size buffer.
983 2009-04-21 Alberto Garcia <agarcia@igalia.com>
985 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
986 Close banners when a HildonAppMenu is popped up.
988 Fixes: NB#111027 (Title menu closed immediately if activated when
989 "Invalid e-mail address" banner is shown)
991 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
996 * configure.ac: Bump version.
997 * debian/changelog: Updates.
999 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1001 * src/hildon-banner.c (hildon_banner_realize):
1002 Mark HildonBanner as supporting portrait mode.
1003 Use GDK to set window properties insetad of direct Xlib calls.
1005 Fixes: NB#111830 (HildonBanner should be marked as supporting
1008 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1010 * src/hildon-note.c (hildon_note_rebuild):
1011 Hide action area in information notes. Prevents text from being
1012 slightly aligned to the left.
1014 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1017 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1019 Patch by Mox Soini (ext-mox.soini@nokia.com)
1021 * src/hildon-banner.c (hildon_banner_create_animation):
1022 Use stylus-sized icons in animation banner.
1024 Fixes: NB#111206 (stylus sized icon for animation banner)
1026 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1030 (+hildon_gtk_window_set_do_not_disturb):
1031 New API to set the do-not-disturb flag.
1033 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1035 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1037 * examples/hildon-progress-indicator-example.c: Fix example
1039 * src/hildon-gtk.c (set_clear_window_flag)
1040 (hildon_gtk_window_set_progress_indicator):
1041 Create a generic function for setting flags to a window.
1042 Use GDK instead of direct Xlib calls.
1044 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1046 * src/hildon-button.c (hildon_button_set_arrangement):
1047 Due to NB#88126, if one of the labels is too long it will be
1048 painted outside the button. The 'value' label is more likely to be
1049 the longest one, so we change its packing options in order to
1050 truncate it if necessary. As a side effect, the 'title' label will
1051 no longer be truncated.
1053 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1055 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1060 * configure.ac: Bump version.
1061 * debian/changelog: Updates.
1063 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1065 Deprecation of the hildon_pannable_area_set_size_request_policy
1066 API, the only policy properly supported in gtk+ nowadays is the
1069 * src/hildon-pannable-area.c,
1070 (hildon_pannable_area_size_request): Added a workaround for the
1071 size_request to avoid the problems of huge pixmaps in case someone
1072 is still using the function.
1073 * src/hildon-pannable-area.h: Deprecated the enum with the
1076 Fixes: NB#110244 (Problems with the
1077 hildon_pannable_area_set_size_request_policy API)
1079 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1081 * src/hildon-pannable-area.c,
1082 (hildon_pannable_area_init),
1083 (hildon_pannable_area_size_request),
1084 (hildon_pannable_area_style_set),
1085 (hildon_pannable_draw_vscroll),
1086 (hildon_pannable_draw_hscroll),
1087 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1088 indicator_width to clarify the use of the attribute.
1090 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1095 * configure.ac: Bump version.
1096 * debian/changelog: Updates.
1098 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1100 * src/hildon-picker-dialog.c
1101 * src/hildon-touch-selector.c
1102 Reverting the change that tried to avoid the hardcoded height on
1103 the picker dialog, as causes problems on the hildon-touch-selector
1106 Fixes: NB#110029 (selectors not scrolling to selected value)
1108 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1110 * src/hildon-touch-selector.c: Fix typos
1112 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1114 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1115 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1116 request more motions after using it.
1118 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1120 * src/hildon-calendar.c (hildon_calendar_expose),
1121 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1122 Remove unused variables.
1124 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1126 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1127 variable assignment.
1129 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1131 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1132 Check the return value of gtk_tree_selection_get_selected()
1135 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1137 * src/hildon-animation-actor.c
1138 * src/hildon-button.c
1140 * src/hildon-pannable-area.c
1141 * src/hildon-picker-button.c
1142 * src/hildon-program.c
1143 * src/hildon-remote-texture.c
1144 * src/hildon-text-view.c
1145 * src/hildon-touch-selector.c
1146 * src/hildon-window-stack.c
1147 * src/hildon-window.c:
1148 Add missing 'Since: 2.2' tags.
1150 * doc/hildon-sections.txt:
1151 Add some missing symbols.
1153 * doc/hildon-docs.sgml:
1154 New 'Other' section for HildonAnimationActor and
1157 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1159 Patch by Iván Gómez (igomez@igalia.com)
1162 * doc/compiling.sgml
1163 * doc/hildon-docs.sgml
1164 * doc/hildon-sections.txt
1165 * doc/migration.sgml
1166 * doc/resources.sgml
1168 New chapters on using the Hildon library.
1169 Updated the general structure of the reference manual.
1170 Other minor documentation fixes.
1172 * src/hildon-calendar-popup.c
1173 * src/hildon-calendar.c
1174 * src/hildon-controlbar.c
1175 * src/hildon-date-editor.c
1176 * src/hildon-dialog.c
1177 * src/hildon-hvolumebar.c
1178 * src/hildon-number-editor.c
1179 * src/hildon-range-editor.c
1180 * src/hildon-sort-dialog.c
1181 * src/hildon-time-editor.c
1182 * src/hildon-time-picker.c
1183 * src/hildon-volumebar-range.c
1184 * src/hildon-volumebar.c
1185 * src/hildon-vvolumebar.c
1186 * src/hildon-weekday-picker.c:
1187 Add deprecation notes
1189 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1190 Document 'horizontal-movement' and 'vertical-movement' signals.
1192 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1197 * configure.ac: Bump version.
1198 * debian/changelog: Updates.
1200 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1202 * src/hildon-pannable-area.c,
1203 (hildon_pannable_area_class_init): increased the minimum velocity.
1204 (hildon_pannable_area_button_release_cb): Updated the
1205 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1206 setup. Review the code to control that last event.
1208 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1211 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1213 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1215 * src/hildon-get-password-dialog.c
1216 (hildon_get_password_set_property),
1217 (hildon_get_password_get_property), (create_contents):
1218 * src/hildon-login-dialog-private.h:
1219 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1220 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1221 (hildon_login_dialog_get_password):
1222 * src/hildon-set-password-dialog-private.h:
1223 * src/hildon-set-password-dialog.c
1224 (hildon_set_password_set_property),
1225 (hildon_set_password_get_property), (create_contents),
1226 (hildon_set_password_response_change),
1227 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1229 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1230 instead and look more Fremantle style.
1232 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1234 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1236 * doc/hildon-sections.txt
1237 * src/hildon-window-stack.h
1238 * src/hildon-window-stack.c
1239 (+hildon_window_stack_get_windows):
1240 New API to obtain the list of windows on a stack.
1242 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1244 * src/hildon-app-menu.c (hildon_app_menu_popup)
1245 (hildon_app_menu_class_init, -hildon_app_menu_show):
1246 Remove hildon_app_menu_show() and move all its checks to
1247 hildon_app_menu_popup()
1249 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1251 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1252 (_hildon_picker_dialog_set_selector): removed call to
1253 gtk_widget_set_size_request
1254 * src/hildon-touch-selector.c
1255 (_create_new_column): change the pannable size request policy
1257 Avoid to use a hardcoded height for the hildon picker dialog. In order
1258 to get that, we needed to change the hildon pannable size request
1260 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1262 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1264 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1265 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1268 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1270 * debian/control: Depend on osso-system-lock localization package.
1271 * src/hildon-code-dialog.c: Obtain the secu_application_title
1272 translation from osso-system-lock.
1273 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1274 for translation the atk related strings, that's not necessary.
1275 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1276 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1277 cancel button, it is not required.
1279 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1281 * src/hildon-pannable-area.c,
1282 (hildon_pannable_area_class_init): Modified the default value of
1283 the overshooting max speed, we have reduced it.
1285 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1287 * doc/hildon-sections.txt
1288 * src/hildon-window-private.h
1289 * src/hildon-window.h
1290 * src/hildon-window.c (hildon_window_class_init)
1291 (hildon_window_init, hildon_window_finalize)
1292 (hildon_window_realize, hildon_window_get_property)
1293 (hildon_window_set_property, hildon_window_update_markup)
1294 (hildon_window_get_markup, hildon_window_set_markup):
1295 New "markup" property and hildon_window_{get,set}_markup() methods.
1297 * examples/hildon-stackable-window-example.c (new_window):
1298 Update example to use hildon_window_set_markup()
1300 Fixes: NB#106375 (Need API to retitle a window with a title
1303 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1305 * src/hildon-pannable-area.c,
1306 (hildon_pannable_area_class_init): Changed the default value of
1307 the initial_hint to TRUE.
1308 (hildon_pannable_area_initial_effect): Changed the initial effect,
1309 not the effect is just the fade-out of the scrollbars.
1311 Fixes: NB#107775 (No scrollbars can be seen when several items are
1312 available in a dialog)
1314 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1316 * src/hildon-program.c (hildon_program_update_top_most):
1319 Fixes: NB#109179 (Memory leak in Hildon program)
1321 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1323 * src/hildon-banner.c (-get_current_app_window):
1324 Remove unused function.
1326 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1328 * src/hildon-pannable-area.c: Modified the documentation of the
1329 get adjustments functions to explain the problem of using the
1330 adjustment directly.
1331 (hildon_pannable_area_class_init): Improved the explanation about
1334 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1336 * src/hildon-app-menu-private.h
1337 * src/hildon-app-menu.c
1338 (hildon_app_menu_class_init):
1339 Bring back the 'external-border' style property
1340 (hildon_app_menu_class_init, hildon_app_menu_init)
1341 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1342 Set a fixed width-request for the menu, independent of the number
1345 Fixes: NB#94957 (Smoothly opened application menu)
1347 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1349 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1351 * src/hildon-banner.c
1352 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1354 Make sure that the banner is correctly placed the first time it's
1356 (hildon_banner_check_position, -check_fullscreen_state):
1357 Show the banner in the same place no matter if the window is in
1358 fullscreen mode or not.
1360 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1362 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1364 * src/hildon-touch-selector.c (_default_print_func): reorder
1365 concatenation for clarity.
1367 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1369 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1370 for multicolumn selectors.
1372 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1374 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1379 * configure.ac: Bump version.
1380 * debian/changelog: Updates.
1382 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1384 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1387 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1389 * configure.ac: removed libcangerra-gtk dependency
1390 * debian/control: removed libcanberra-gtk dependency
1391 * src/Makefile.am: removed libcanberra gtk related flags
1392 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1393 context, and manage a global canberra context instead
1395 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1397 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1399 Patch by Daniel Borgmann (danielb@openismus.com)
1401 * src/hildon-edit-toolbar.c:
1402 Adjust the left padding.
1403 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1404 Paint background of the edit toolbar.
1406 Fixes: NB#107897 (Patch to make editmodetoolbar background
1407 themeable and adjust margin)
1409 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1411 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1413 * src/hildon-program.c (hildon_program_update_top_most):
1414 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1416 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1417 change when the user tasks in/out of an application)
1419 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1421 * configure.ac: added libcangerra-gtk dependency
1422 * debian/control: added libcanberra-gtk dependency
1423 * src/Makefile.am: added libcanberra gtk related flags
1424 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1427 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1429 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1431 * src/hildon-program.c (hildon_program_remove_window)
1432 (hildon_program_add_window): Add checks for the window
1433 parameter. Don't decrease the window counter if the window is not
1436 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1438 * src/hildon-pannable-area.c,
1439 (hildon_pannable_area_realize): Fixed position of the event_window
1440 in the realize method.
1442 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1444 * src/hildon-app-menu-private.h
1445 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1446 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1447 (hildon_app_menu_key_press, hildon_app_menu_init)
1448 (hildon_app_menu_finalize):
1449 Make sure that all idle functions are removed when the widget is
1452 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1454 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1459 * configure.ac: Bump version.
1460 * debian/changelog: Updates.
1462 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1464 * src/hildon-entry.c
1465 (+hildon_entry_show_placeholder),
1466 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1467 that replace hildon_entry_update_contents().
1468 (hildon_entry_set_text),
1469 (hildon_entry_set_placeholder),
1470 (hildon_entry_focus_in_event),
1471 (hildon_entry_focus_out_event): Determine when it is needed
1472 either to show or hide the placeholder and call the above methods.
1474 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1475 when the placeholder text is already set)
1477 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1479 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1480 simple GdkPixbufAnim using the new icons for the banner.
1481 (hildon_banner_show_animation): Use the above mentioned method to
1482 create the animation widget.
1484 Fixes: NB#103564 (Make hildon animation banner use individual
1485 image files as the animation)
1487 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1489 * src/hildon-pannable-area.c,
1490 (hildon_pannable_leave_notify_event): Check if the child is NULL
1491 to avoid sending the leave.
1493 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1495 * src/hildon-pannable-area.c,
1496 (hildon_pannable_area_class_init),
1497 (hildon_pannable_leave_notify_event): Added a handler of the
1498 leave-notify-signal to consider when no motion notify before
1501 Fixes: NB#107494 (Items stay selected when clicking and moving
1502 away when inside pannable area)
1504 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1509 * configure.ac: Bump version.
1510 * debian/changelog: Updates.
1512 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1514 Patch by Alberto Garcia (agarcia@igalia.com)
1516 * src/hildon-date-button.c,
1517 (hildon_date_button_class_init),
1518 (hildon_date_button_init): Removed the construct property handling
1519 and created a default selector in the init method.
1520 * src/hildon-picker-button.c,
1521 (hildon_picker_button_class_init): Removed the construct flag of the
1524 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1526 * src/hildon-main.c (hildon_init):
1527 Don't allow hildon_init() to be called more than once.
1529 Fixes: NB#106607 (hildon_init should issue error message upon
1532 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1534 * examples/hildon-pannable-area-touch-list-example.c
1535 * examples/hildon-pannagle-area-touch-grid-example.c
1536 * examples/hildon-edit-toolbar-example.c
1537 * examples/hildon-touch-selector-multi-cells-example.c
1538 Removed the call to gtk_rc_parse_string, as it is not required since
1541 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1543 * src/hildon-pannable-area.c,
1544 (hildon_pannable_area_class_init): Modified the default panning
1545 threshold of the widget to 6px.
1547 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1548 than the threshold value ) within the button is not sending the
1551 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1553 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1554 for the treeview in the new column. This way, the touch list will never
1557 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1558 be selected manually for the HW keys to work)
1560 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1562 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1563 comparison instead of using strcmp(). Fixes a compiler warning as well.
1565 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1567 * doc/hildon-docs.sgml: Do not set the library version in the
1568 document title, use the releaseinfo tag for that purpose instead.
1570 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1572 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1573 Do not jump to the first item if the text in the entry is removed.
1575 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1580 * configure.ac: Bump version.
1581 * debian/changelog: Updates.
1583 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1585 * src/hildon-entry.c (hildon_entry_refresh_contents):
1586 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1587 Use "ReversedSecondaryTextColor" for the placeholder text.
1589 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1591 * src/hildon-text-view.c: Fix compilation warning.
1593 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1595 * src/hildon-button.c (hildon_button_class_init): Don't make
1596 "title" and "value" construction properties, to prevent them from
1597 overwriting labels set from derived classes.
1599 * src/hildon-picker-button.c
1600 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1601 (hildon_picker_button_class_init): Make touch-selector a
1602 construction property.
1604 * src/hildon-date-button.c (hildon_date_button_class_init)
1605 (+hildon_date_button_constructed): Add a default date selector if
1608 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1610 * src/hildon-touch-selector.c: Small documentation fixes.
1612 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1614 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1616 * src/hildon-entry.c (hildon_entry_refresh_contents),
1617 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1618 widget name, set the logical color directly instead and a boolean
1619 showing_placeholder instead.
1620 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1621 use the widget name here either.
1623 Fixes: NB#105678 (HildonTextView should use logical colours
1624 instead of setting widget name)
1626 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1628 Patch by Daniel Elster (danielk@openismus.com)
1630 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1631 Add user_data parameter.
1632 (hildon_touch_selector_set_print_func_full): New function akin
1633 hildon_touch_selector_set_print_func() but with support for user
1634 data and a destroy callback.
1635 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1636 to clean up the print function user data.
1637 (hildon_touch_selector_class_init): Install dispose function.
1638 (HildonTouchSelectorPrivate::print_user_data),
1639 (HildonTouchSelectorPrivate::print_destroy_func): New private
1641 (hildon_touch_selector_init): Initialize new private members.
1642 (hildon_touch_selector_get_current_text): Pass along user data
1643 to the print function.
1644 (_default_print_func): Add dummy user_data to parameter list.
1645 * hildon-date-selector.c (_custom_print_func): ditto,
1646 * hildon-time-selector.c (_custom_print_func): ditto,
1647 * hildon-touch-selector-entry.c
1648 (hildon_touch_selector_entry_print_func): ditto.
1650 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1652 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1654 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1656 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1658 * src/hildon-pannable-area.c,
1659 (hildon_pannable_area_init),
1660 (hildon_pannable_area_button_press_cb),
1661 (hildon_pannable_area_motion_notify_cb): We have added code to
1662 handle the leave and enter events when using the motion events.
1664 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1666 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1668 * src/hildon-date-button.c (hildon_date_button_get_date)
1669 (hildon_date_button_set_date): Make sure that the button has a
1672 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1674 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1676 * src/hildon-pannable-area.c,
1677 (hildon_pannable_area_class_init),
1678 (hildon_pannable_area_calculate_velocity): Modify the use of the
1679 force and adapt the value.
1681 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1683 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1684 (hildon_app_menu_class_init): Hide the menu if it receives a
1685 delete-event, but don't destroy it
1687 Fixes: NB#104485 (Not able to address the call when application
1688 menu is opened at background)
1690 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1692 * src/hildon-app-menu.c
1693 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1694 Remove the "external-border" style property, let the menu take its
1695 natural size (or the one set by the window manager)
1696 (hildon_app_menu_repack_items):
1697 Don't reshow the menu, avoid flickers.
1699 Partially fixes NB#94957 (Smoothly opened application menu)
1701 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1706 * configure.ac: Bump version.
1707 * debian/changelog: Updates.
1709 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1711 * src/hildon-pannable-area.c,
1712 (hildon_pannable_area_motion_notify_cb): We control that the
1713 direction error margin is used just in case the movement is
1714 allowed in the other direction.
1716 Fixes: NB#105012 (buttons inside a pannable area not getting
1717 release event when dragging/releasing)
1719 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1721 * src/hildon-pannable-area.c,
1722 (hildon_pannable_area_class_init),
1723 (hildon_pannable_area_get_property),
1724 (hildon_pannable_area_set_property),
1725 (hildon_pannable_area_initial_effect),
1726 (hildon_pannable_axis_scroll),
1727 (hildon_pannable_area_button_release_cb): Reviewed the
1728 overshooting effect, now it has its own max
1729 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1730 speed when bouncing.
1732 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1737 * configure.ac: Bump version.
1738 * debian/changelog: Updates.
1740 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1742 * src/hildon-pannable-area.c,
1743 (hildon_pannable_area_class_init): Changed the max speed, now
1744 users can launch the widget very fast. Reduced the default force,
1745 that way it is easier to control the launch speed.
1747 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1749 * src/hildon-pannable-area.c,
1750 (hildon_pannable_area_button_release_cb): Removed this check
1751 because it causes problems when the device is overloaded.
1753 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1755 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1756 add a current_text field to store the text entered in the
1757 touch selector entry.
1758 (_clean_current_selection): clean up the current text as well.
1759 (_save_current_selection), (_restore_current_selection):
1760 Save/restore the text in the entry if the selector is a
1761 HildonTouchSelectorEntry.
1763 Fixes: NB#102541 (value entered in the touch selector entry is not
1764 shown when opened for second time)
1766 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1768 * doc/hildon-sections.txt:
1769 * src/hildon-touch-selector-entry.c
1770 (+hildon_touch_selector_entry_get_entry):
1771 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1773 Fixes: NB#104815 (I need accessor to the entry inside
1774 HildonTouchSelectorEntry)
1776 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1778 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1779 (hildon_app_menu_class_init):
1780 New "filter-vertical-spacing" style property.
1782 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1784 * src/hildon-find-toolbar.c
1785 (hildon_find_toolbar_emit_close)
1786 (hildon_find_toolbar_emit_invalid_input)
1787 (hildon_find_toolbar_entry_activate):
1788 Use g_signal_emit() instead of g_signal_emit_by_name()
1790 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1792 Patch by Mox Soini (ext-mox.soini@nokia.com)
1794 * tests/TEST-CASES.txt
1795 * tests/check-hildon-banner.c
1796 * tests/check-hildon-note.c
1797 * src/hildon-banner.c
1798 * src/hildon-code-dialog.c
1799 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1800 * src/hildon-time-editor.c
1801 * examples/hildon-lookup-example.c (main):
1802 Replace obsolete icon names with new ones.
1804 * src/hildon-find-toolbar-private.h:
1805 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1806 (-hildon_find_toolbar_emit_search):
1807 Remove find button and change icon of close button.
1809 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1811 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1813 * src/hildon-time-button.c (hildon_time_button_new_step):
1814 Use the "touch-selector" property to set the selector directly
1815 when creating the object.
1817 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1819 Added a new example application that allows tuning the pannable
1820 area and replaced defines with properties in order to simplify the
1821 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1822 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1823 PROP_DIRECTION_ERROR_MARGIN.
1825 * examples/hildon-pannable-area-tuning-example.c: New example
1827 * src/hildon-pannable-area.c,
1828 (hildon_pannable_area_class_init),
1829 (hildon_pannable_area_init),
1830 (hildon_pannable_area_get_property),
1831 (hildon_pannable_area_set_property),
1832 (hildon_pannable_area_launch_fade_timeout),
1833 (hildon_pannable_area_adjust_value_changed),
1834 (hildon_pannable_axis_scroll),
1835 (hildon_pannable_area_motion_notify_cb),
1836 (hildon_pannable_area_scroll_cb),
1837 (hildon_pannable_area_button_release_cb): We have converted some
1838 of the defines that control the widget to properties to simplify
1841 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1843 * src/hildon-app-menu.c (hildon_app_menu_map)
1844 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1845 so it's closed if a new window appears.
1847 Fixes: NB#104485 (Not able to address the call when application
1848 menu is opened at background)
1850 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1852 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1853 missing 'break' statement in in 'case' construct to avoid
1856 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1858 * src/hildon-touch-selector-entry.c
1859 (hildon_touch_selector_entry_get_property),
1860 (hildon_touch_selector_entry_set_property): Add missing 'break'
1861 statements in in 'case' constructs to avoid incorrect warnings.
1863 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1865 * src/hildon-time-editor.c
1866 (hildon_time_editor_get_time_separators): Do not crash if
1867 the first label is NULL.
1869 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1871 * src/hildon-date-selector.c (_month_days): Check for month to be
1872 strictly less than 12, since otherwise we may overrun the array.
1874 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1876 * src/hildon-date-button.c (+hildon_date_button_new_full)
1877 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1878 (hildon_date_button_init): Set the date selector using a
1879 construction property, to make it happen after HildonButton's
1880 "value" property is set.
1882 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1883 current date by default)
1885 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1887 * doc/hildon-sections.txt
1888 * src/hildon-program.c
1889 * src/hildon-stackable-window.c
1890 * src/hildon-window.c:
1891 Documentation updates
1893 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1895 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1896 (hildon_window_stack_new, +hildon_window_stack_set_property)
1897 (+hildon_window_stack_get_property)
1898 (hildon_window_stack_class_init)
1899 (+hildon_window_stack_set_window_group)
1900 (+hildon_window_stack_get_window_group):
1901 Make the window group a construction property.
1903 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1905 * doc/hildon-sections.txt
1906 * src/hildon-stackable-window-private.h
1907 * src/hildon-stackable-window.h
1908 * src/hildon-stackable-window.c
1909 (-hildon_stackable_window_set_app_menu)
1910 (-hildon_stackable_window_get_app_menu)
1911 (-hildon_stackable_window_toggle_menu)
1912 (-hildon_stackable_window_finalize)
1913 (hildon_stackable_window_class_init)
1914 (hildon_stackable_window_init)
1915 * src/hildon-window-private.h
1916 * src/hildon-window.h
1917 * src/hildon-window.c (hildon_window_init)
1918 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1919 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1920 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1921 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1922 Moved all HildonAppMenu code to HildonWindow. The menu does not
1923 require a HildonStackableWindow anymore.
1925 * src/hildon-app-menu.c
1926 * src/hildon-program.c
1927 * examples/hildon-app-menu-example.c (main):
1928 Update examples and documentation to reflect HildonAppMenu
1931 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1933 * src/hildon-remote-texture.c
1934 * src/hildon-animation-actor.c:
1935 Don't include unused private headers.
1937 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1939 * src/hildon-program-private.h
1940 * src/hildon-program.c
1941 (hildon_program_set_common_menu)
1942 (hildon_program_get_common_menu)
1943 (hildon_program_set_common_app_menu)
1944 (hildon_program_get_common_app_menu):
1945 Change common menu pointers from GtkWidget* to GtkMenu* and
1946 HildonAppMenu* to avoid unnecessary casts.
1948 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1950 * src/hildon-window.c (hildon_window_set_main_menu):
1951 Removed incorrect 'Since:' tag
1953 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1955 * src/hildon-pannable-area.c,
1956 (hildon_pannable_area_calculate_velocity): We use now the
1957 RATIO_TOLERANCE here to check the distance, fixed typo in the
1959 (hildon_pannable_area_motion_notify_cb): We have to set the type
1960 and time even if we are not sending the motion.
1962 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1964 * doc/hildon-sections.txt
1965 * src/hildon-app-menu.h
1966 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1967 (+hildon_app_menu_get_filters): New methods to get the contents of
1970 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1973 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1975 * src/hildon-app-menu.c (hildon_app_menu_popup):
1978 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1980 * src/hildon-window.h
1981 * src/hildon-window.c (+hildon_window_get_main_menu)
1982 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1983 and deprecated hildon_window_get_menu().
1985 * src/hildon-stackable-window.h
1986 * src/hildon-stackable-window.c
1987 (+hildon_stackable_window_set_app_menu)
1988 (+hildon_stackable_window_get_app_menu)
1989 (hildon_stackable_window_set_main_menu): Created
1990 hildon_stackable_window_{get,set}_app_menu() and deprecated
1991 hildon_stackable_window_set_main_menu().
1993 * doc/hildon-sections.txt
1994 * examples/hildon-app-menu-example.c (main)
1995 * src/hildon-app-menu.c
1996 * src/hildon-program.c:
1997 Updated examples and documentation.
1999 Fixes: NB#103758 (No way to obtain a menu from a
2000 HildonStackableWindow)
2002 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2007 * configure.ac: Bump version.
2008 * debian/changelog: Updates.
2010 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2012 * examples/hildon-remote-texture-example.c: Include
2013 hildon-remote-texture.h explicitely.
2014 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2015 applications not defining _XOPEN_SOURCE which don't require this header.
2017 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2019 * doc/hildon-sections.txt
2020 * src/hildon-app-menu.h
2021 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2022 New function to pop up a HildonAppMenu
2024 * src/hildon-stackable-window.c
2025 (hildon_stackable_window_toggle_menu):
2026 Use hildon_app_menu_popup() to show the menu.
2028 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2030 * src/hildon-app-menu.c (hildon_app_menu_show)
2031 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2032 menu if there's another window between it and its parent window.
2034 Fixes: NB#100468 (Application menu window is launched even when a
2035 new secondary-window/dialog is pending to be shown/realized)
2037 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2039 * src/hildon-window-stack.c (hildon_window_stack_push)
2040 (hildon_window_stack_pop_and_push):
2041 Don't forget to push/pop the first window.
2042 Reverse the window list before calling _push_list()
2044 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2046 * src/hildon-picker-button.h
2047 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2048 Remove "value_changed" slot to avoid ABI breakage
2050 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2052 * src/hildon-pannable-area.c,
2053 (hildon_pannable_area_realize),
2054 (hildon_pannable_area_unrealize),
2055 (hildon_pannable_draw_vscroll),
2056 (hildon_pannable_draw_hscroll): Changed the method to handle the
2057 GC used to draw the transparent scrollbar, this way we avoid
2058 creating the GC all the time when drawing the scrollbars.
2060 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2062 * src/hildon-pannable-area.c,
2063 (hildon_pannable_area_init),
2064 (hildon_pannable_area_remove): Removed some unnecessary casts.
2065 (hildon_pannable_area_dispose): Disconnected some signals before
2066 releasing the adjustments.
2068 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2070 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2071 Make sure that all widgets contained in the toolbar are shown.
2073 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2075 * doc/hildon-sections.txt
2076 * src/hildon-picker-button.h
2077 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2078 (_selection_changed, hildon_picker_button_on_dialog_response)
2079 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2080 New hildon_picker_button_value_changed() method.
2083 * src/hildon-picker-button-private.h
2084 * src/hildon-picker-button.c (hildon_picker_button_init)
2085 (+hildon_picker_button_disable_value_changed): Add protected
2086 function for disabling the "value-changed" signal.
2088 * src/hildon-date-button.c (hildon_date_button_set_date):
2089 Don't emit "value-changed" for each one of the three columns.
2091 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2092 before actual change of values)
2094 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2096 * src/hildon-pannable-area.c,
2097 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2098 for the treeview overshooting.
2100 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2102 * src/hildon-banner.c (+hildon_banner_bind_style):
2103 Renamed from hildon_banner_bind_label_style(), now naming the
2104 banner itself as well.
2105 (hildon_banner_show_information),
2106 (hildon_banner_show_information_with_markup),
2107 (hildon_banner_show_animation), (hildon_banner_show_progress):
2108 Name the widgets and labels, based on their type.
2110 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2113 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2115 * src/hildon-note.c (hildon_note_set_property): call
2116 hildon_note_rename() on HildonNote:note-type set.
2117 (hildon_note_rename): Name the note and its label, based on the
2118 HildonNote:note-type property.
2120 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2123 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2125 * src/hildon-pannable-area.c,
2126 (hildon_pannable_area_class_init),
2127 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2128 panning parameters, increased SPS and deceleration factor. Added
2129 also a margin to control fake directions.
2131 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2133 Patch by Sven Herzberg (sven@imendio.com)
2135 * configure.ac: Add missing AM_PROG_CC_C_0
2136 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2138 See NB#101420 (Update unit tests and fix make check)
2140 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2142 This patch was applied before but reverted because it caused
2143 problems, we have changed the main condition and tested the
2144 regressions we detected before and they work ok. We have done a
2145 complete review of the topmost algorithm in order to get a more
2148 * src/hildon-pannable-area.c,
2149 (hildon_pannable_area_get_topmost): Added a new parameter to
2150 filter the the windows that do not include those events.
2151 (hildon_pannable_area_button_press_cb),
2152 (hildon_pannable_area_button_release_cb),
2153 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2154 topmost function, we have added the new parameter.
2156 Fixes: NB#97458 (Pannable area prevents propagation of button
2159 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2161 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2162 if all columns in the selector have an item selected.
2163 (_on_dialog_response): Stop "response" signal emission if there is
2164 any selector column without selected items.
2166 Fixes: NB#101889 (Picker dialog should not close when nothing is
2167 selected in multiple selection list)
2169 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2171 * src/hildon-font-selection-dialog.c
2172 (hildon_font_selection_dialog_class_init),
2173 (hildon_font_selection_dialog_init): Remove the preview
2174 button and dialog, since previewing with default theming is likely
2175 to be overcomplicated. The :preview property has now no effect.
2176 Update documentation blurbs to inform about this.
2178 Fixes: NB#92297 (Preview content is not clearly visible for
2179 default colour text)
2181 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2183 Reviewed the geometry that handles the children size and
2184 scrollbar, now it tries a size and reviews the results depending
2185 on the scrollbars visibility.
2187 * src/hildon-pannable-area.c,
2188 (hildon_pannable_area_realize): Fixed a typo.
2189 (hildon_pannable_area_child_allocate_calculate): Added this
2190 function to calculate the child allocation.
2191 (hildon_pannable_area_size_allocate): Reviewed the allocation
2193 (hildon_pannable_area_check_scrollbars),
2194 (hildon_pannable_area_refresh): Refactored refresh function, this
2195 way we can call the code handling the scrollbars without causing a
2196 size_request, it is interesting in the allocate.
2197 (hildon_pannable_area_init): Replace the callbacks of the
2198 value_changed and changed signals to propertly deal with the
2200 (hildon_pannable_area_grab_notify),
2201 (hildon_pannable_area_initial_effect),
2202 (hildon_pannable_area_launch_fade_timeout),
2203 (hildon_pannable_area_adjust_changed),
2204 (hildon_pannable_area_adjust_value_changed),
2205 (hildon_pannable_area_redraw),
2206 (hildon_pannable_area_button_press_cb),
2207 (hildon_pannable_area_button_release_cb),
2208 (hildon_pannable_area_scroll_cb),
2209 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2210 code and use the new functions adjust_changed and
2211 adjust_value_changed.
2213 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2214 Contact editor dialog)
2216 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2221 * configure.ac: Bump version.
2222 * debian/changelog: Updates.
2224 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2226 * src/hildon-pannable-area.c,
2227 (hildon_pannable_area_get_topmost),
2228 (hildon_pannable_area_button_press_cb),
2229 (hildon_pannable_area_button_release_cb),
2230 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2231 topmost function adding the event mask. We have to try a
2232 differente approach because it is still causing problems (NB#9745,
2235 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2237 * src/hildon-banner.c:
2238 Update the maximum width of timed banners.
2239 (force_to_wrap_truncated): Enforce the maximum text width if the
2242 Fixes: NB#102413 (The text margins (wrapping) in information
2243 banner should be HILDON_MARGIN_TRIPLE)
2245 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2247 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2249 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2250 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2251 bound when calculating the scroll indicator position.
2253 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2254 treat ->lower correctly)
2256 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2258 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2259 expose event handling, since it is not necessary to draw the focus
2262 Fixes: NB#102467 (Do not show highlight on the text in
2265 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2267 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2268 full height of the toolbar for the button and the label.
2270 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2272 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2273 padding before the label and after the button.
2275 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2277 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2279 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2280 Add a GtkVSeparator between the button and the back arrow.
2281 Let the button have automatic size.
2282 Set a name to the widget for theming handling.
2284 Fixes: NB#101793 (Make edit toolbar the same height as window
2285 title bar (use title area theming))
2287 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2289 * src/hildon-helper.c (attach_new_color_element): Fix memory
2292 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2294 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2296 * examples/hildon-button-example.c (common_buttons_window): Don't
2299 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2301 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2302 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2304 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2306 * src/hildon-gtk.c: Check that the window is realized.
2308 Fixes: NB#102225 (Crash setting the progress indicator to a non
2311 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2313 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2314 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2315 instead of modifying the one in the widget style.
2317 Fixes: NB#101043 (Second row of all the command button are
2318 displayed in transparent mode.)
2320 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2322 * src/hildon-date-button.c
2323 * src/hildon-time-button.c: Add gettext macros
2325 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2327 * src/hildon-date-button.c (hildon_date_button_new):
2328 * src/hildon-time-button.c (hildon_time_button_new_step):
2329 Use new logical strings to set the button default title.
2331 Fixes: NB#99915 (Date and Time options are not localised in Date
2334 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2336 * src/hildon-pannable-area.c
2337 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2338 the PANNING_THRESHOLD.
2340 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2342 * src/hildon-pannable-area.c,
2343 (hildon_pannable_area_class_init): Increased the maximum speed.
2344 (hildon_pannable_area_get_property),
2345 (hildon_pannable_area_set_property),
2346 (hildon_pannable_area_timeout): Added a new low friction mode, it
2347 allows the user avoid friction when launching the widget fast
2348 enough. It is interesting to traverse long lists.
2350 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2352 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2353 (+hildon_stackable_window_delete_event): Ignore delete events if
2354 the window is not the topmost one.
2356 Fixes: NB#101698 (Back button long press and delete-event handling)
2358 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2360 * src/hildon-pannable-area.c,
2361 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2362 gtk-dnd-drag-threshold, it was too big. We have defined our own
2363 dnd define and set a smaller value: PANNIG_THRESHOLD.
2365 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2367 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2368 user-defined icons, use always the default one.
2370 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2372 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2374 This patch was applied before but reverted because it caused
2375 problems, we have changed the main condition and tested the
2376 regressions we detected before and they work ok.
2378 * src/hildon-pannable-area.c,
2379 (hildon_pannable_area_get_topmost): Added a new parameter to
2380 filter the the windows that do not include those events. Added
2381 also a condition when finding the window to filter windows that do
2382 not ask for those events.
2383 (hildon_pannable_area_button_press_cb),
2384 (hildon_pannable_area_button_release_cb),
2385 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2386 topmost function, we have added the new parameter.
2388 Fixes: NB#97458 (Pannable area prevents propagation of button
2391 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2393 * tests/check-hildon-color-button.c (START_TEST): do not leak
2396 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2398 * src/hildon-font-selection-dialog.c
2399 (hildon_font_selection_dialog_get_preview_text): Return NULL
2400 instead of FALSE on the g_return_val_if_fail().
2402 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2404 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2405 * src/hildon-date-selector.c
2406 (hildon_date_selector_select_current_date):
2407 Do not compare unsigned integers to be greater than or equal 0,
2408 because it's always TRUE.
2410 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2412 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2413 (hildon_date_selector_constructor): Do not select the current
2414 date until we are handle the "changed" signal, to avoid having bogus
2415 elements in the days model.
2417 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2419 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2420 for num_days, since _month_days() can return a negative value.
2422 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2424 * src/hildon-caption.c (hildon_caption_size_allocate):
2425 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2426 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2428 Initialize allocation variables to 0, to avoid eventually using
2429 unitialized variables.
2431 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2433 * src/hildon-bread-crumb-trail.c
2434 (hildon_bread_crumb_trail_size_allocate):
2435 * src/hildon-calendar.c (hildon_calendar_set_background):
2436 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2437 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2438 * src/hildon-seekbar.c (hildon_seekbar_init):
2439 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2440 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2441 * src/hildon-touch-selector-entry.c
2442 (hildon_touch_selector_get_text_from_model):
2443 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2444 * src/hildon-window.c (hildon_window_finalize):
2446 Remove many unused variables.
2448 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2450 * src/hildon-seekbar.c: (hildon_seekbar_init),
2451 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2453 Remove unnecessary g_assert() calls.
2455 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2457 * src/hildon-caption.c: (hildon_caption_expose),
2458 (hildon_caption_set_property), (hildon_caption_init),
2459 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2460 (hildon_caption_size_request), (hildon_caption_size_allocate),
2461 (hildon_caption_forall), (hildon_caption_set_separator),
2462 (hildon_caption_activate), (hildon_caption_set_child_expand),
2463 (hildon_caption_set_label_text),
2464 (hildon_caption_get_label_alignment):
2466 Remove unnecessary g_assert() calls.
2468 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2470 * src/hildon-banner.c
2471 (hildon_banner_map, hildon_banner_init): Make banner temporary
2472 before mapping it to avoid closing other temporary windows, but
2473 make it non-temporary afterwards to avoid being closed by other
2474 non-temporary windows.
2475 (-hildon_banner_client_event, hildon_banner_init):
2476 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2478 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2481 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2483 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2486 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2488 * src/hildon-remote-texture.c
2489 * src/hildon-remote-texture.h
2490 * src/hildon-remote-texture-private.h
2491 * examples/hildon-remote-texture-example.c:
2492 Updates/fixes to remote-texture and its example.
2494 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2496 Patch by Mox Soini (ext-mox.soini@nokia.com)
2498 * src/hildon-code-dialog.c: Update logical id.
2499 * src/hildon-set-password-dialog.c: Update logical id.
2501 Fixes: NB#100646 (Logical strings is shown for ok in set
2502 password,Password needed dialogs)
2504 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2507 * src/hildon-remote-texture.c
2508 * src/hildon-remote-texture.h
2509 * src/hildon-remote-texture-private.h
2511 Added remote texture widget (for Clutter shared memory textures)
2513 * examples/hildon-remote-texture-example.c
2514 * examples/Makefile.am
2515 Added example file for remote texture usage
2517 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2519 * configure.ac: post release version bump.
2520 * debian/changelog: version bump.
2522 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2527 * configure.ac: Bump version.
2528 * debian/changelog: Updates.
2530 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2532 * src/hildon-date-selector.c (hildon_date_selector_init)
2533 (hildon_date_selector_constructor): Don't connect to the "changed"
2534 signal until the selector is completely constructed.
2536 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2538 * src/hildon-touch-selector.c: (_create_new_column),
2539 (hildon_touch_selector_append_column),
2540 (hildon_touch_selector_set_column_selection_mode),
2541 (hildon_touch_selector_set_active),
2542 (hildon_touch_selector_select_iter):
2543 Emit the HildonTouchSelector::changed signal every time selection
2544 is changed in any of the methods above. This behavior was already
2545 documented but not fully functional.
2547 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2548 selection is programmatically changed)
2550 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2552 * doc/hildon-sections.txt: Remove obsolete icon
2553 sizes from here as well.
2555 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2557 * examples/hildon-stackable-window-example.c (add_window): Remove
2560 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2562 * src/hildon-app-menu.c
2563 (hildon_app_menu_show): Check whether the parent window of a menu
2564 is topmost before popping it up.
2566 Fixes: NB#100468 (Application menu window is launched even when a
2567 new secondary-window/dialog is pending to be shown/realized.)
2569 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2571 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2574 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2576 Patch by Mox Soini (ext-mox.soini@nokia.com)
2578 * src/hildon-banner.c: (hildon_banner_show_animation):
2579 use stylus size instead of obsolete note size.
2580 * src/hildon-defines.h: Update icon sizes.
2582 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2584 * src/hildon-touch-selector-entry.c:
2585 (hildon_touch_selector_entry_init): Disable unsupported
2587 (hildon_touch_selector_entry_get_text_column): Emit a warning
2588 if an unsupported input modes is used and explicitile state
2589 these modes in the documentation.
2591 Fixes: NB#99802 (Hildon touch selector entry not working properly
2592 for some of the input modes)
2594 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2596 * src/hildon-pannable-area.c,
2597 (hildon_pannable_area_init): Added the changed signal handlers of
2600 Fixes: NB#100320 (HildonPannableArea does not listen to
2601 GtkAdjustment "change" signals)
2603 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2605 * doc/hildon-sections.txt
2606 * src/hildon-window-private.h
2607 * src/hildon-window.h
2608 * src/hildon-window.c (hildon_window_init)
2609 (hildon_window_realize, hildon_window_unrealize)
2610 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2611 (hildon_window_size_request, hildon_window_size_allocate)
2612 (hildon_window_forall, hildon_window_show_all)
2613 (hildon_window_destroy, +paint_edit_toolbar)
2614 (+hildon_window_set_edit_toolbar):
2615 New hildon_window_set_edit_toolbar() method, to add a
2616 HildonEditToolbar to a window without having to pack it manually.
2618 Reorganize hildon_window_size_allocate()
2620 * src/hildon-edit-toolbar.c: Update documentation.
2622 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2623 example to use the new API.
2625 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2627 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2629 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2630 Remove from stack before calling parent's hide.
2632 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2634 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2635 window is removed from the middle of the stack, update the
2636 transiency of the previous one.
2638 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2641 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2643 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2644 block/unblock the signal handler if it's not actually being used.
2645 Fixes some critical warnings.
2647 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2649 Based on a patch by Iván Gómez (igomez@igalia.com)
2651 * src/hildon-banner.c
2655 * src/hildon-pannable-area.c
2656 * src/hildon-picker-dialog.c
2657 * src/hildon-wizard-dialog.h
2658 * src/hildon-wizard-dialog.c: Documentation updates.
2660 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2661 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2663 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2665 * configure.ac: post release version bump.
2666 * debian/changelog: version bump.
2668 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2673 * configure.ac: Bump version.
2674 * debian/changelog: Updates.
2676 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2678 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2679 a stock icon nor change the relief of the back arrow.
2681 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2682 graphics from theme)
2684 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2686 * src/hildon-button.c (hildon_button_set_alignment): Use
2687 priv->alignment if the button has no child yet.
2689 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2691 * src/hildon-button.c: (hildon_button_init): Set the
2692 button style during initialization to give it the proper
2695 Fixes: NB#99713 (HildonButton value label color is wrong)
2697 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2699 * src/hildon-touch-selector.c: Document
2700 hildon_touch_selector_center_on_selected()
2702 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2704 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2705 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2706 all menu items, but not the menu itself.
2707 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2708 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2709 items after adding them to the menu so keyboard accelerators work.
2710 (hildon_app_menu_show): Don't show the menu if it contains items
2711 but none of them are visible.
2713 * examples/hildon-app-menu-example.c (create_menu): Use
2714 gtk_widget_show_all() to show all menu items.
2716 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2718 * src/hildon-picker-dialog.c:
2719 (-_update_title_on_selector_changed_cb),
2720 (-_dialog_update_title): Removed.
2721 (_select_on_selector_changed_cb), (_on_dialog_response),
2722 (on_selector_columns_changed): Do not update the dialog title.
2723 (setup_interaction_mode): Do not connect to
2724 HildonTouchSelector::changed signal if there's a "done" button, as
2725 the dialog title doesn't need to be updated.
2727 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2730 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2732 Patch by Kristian Rietveld (kris@imendio.com)
2734 * src/hildon-touch-selector.c: (_create_new_column): Use new
2735 GtkTreeView::hildon-row-tapped signal to react to user interactions
2736 instead of ::changed.
2738 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2739 with some dynamic tree model)
2741 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2743 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2744 (+screen_size_changed, +label_size_request)
2745 (hildon_note_class_init): Make the Hildon information note have a
2746 minimum height, and make its text hvae a maximum width.
2748 Fixes: NB#98614 (Hildon information note (background) should have
2749 minimum height and maximum text width)
2751 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2753 * src/hildon-banner.h
2754 * src/hildon-banner.c (hildon_banner_show_information)
2755 (hildon_banner_show_informationf)
2756 (hildon_banner_show_information_with_markup): Update documentation
2757 to reflect that the icon_name parameter is not used anymore.
2758 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2759 Remove all code from these functions and mark them as deprecated.
2760 (hildon_banner_show_progress): Mark as deprecated.
2762 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2764 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2766 * src/hildon-pannable-area.c,
2767 (hildon_pannable_area_class_init),
2768 (tranparency_color),
2769 (hildon_pannable_draw_vscroll),
2770 (hildon_pannable_draw_hscroll),
2771 (hildon_pannable_area_expose_event): Added a new way to render the
2772 scrollbars of the pannable area avoiding using cairo at all. This
2773 way we improve the performance of the pannable area rendering. The
2774 cairo rendering procedure is still in the code, we can control
2775 which one to use changing the value of the define
2776 USE_CAIRO_SCROLLBARS.
2778 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2780 * configure.ac: post release version bump.
2781 * debian/changelog: version bump.
2783 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2788 * configure.ac: Bump version.
2789 * debian/changelog: Updates.
2791 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2793 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2794 banners instead of destroying them when they receive a button
2797 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2799 Reverted commit 34028, it was causing regressions, probably the
2800 topmost condition is not correct, we have to check it in more
2801 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2802 propagation of button press events)
2804 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2806 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2807 that the selection is not empty before attempting to retrieve the
2808 current ampm selection.
2810 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2812 * src/hildon-picker-button.c:
2813 (hildon_picker_button_on_dialog_response): Directly update the
2814 button contents when required instead of calling _selection_changed.
2816 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2818 * src/hildon-program.c (hildon_program_update_top_most): Update
2819 'is-topmost' property also when wm_hints is not set.
2821 Fixes: NB#98383 (is-topmost signal is not emitted when task
2822 switcher is clicked.)
2824 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2826 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2830 * src/hildon-animation-actor.c,
2831 * src/hildon-animation-actor.h: Added the animation actor class,
2832 this widget represents an animation actor for WM-assisted
2833 animation effects in the Hildon framework.
2835 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2837 * src/hildon-window-stack-private.h
2838 * src/hildon-window-stack.c
2839 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2840 Avoid calling gtk_widget_show() again indirectly from
2841 hildon_stackable_window_show()
2843 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2845 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2848 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2850 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2851 (hildon_time_selector_init): Move the construction of the hours and
2852 ampm columns to the constructor to preserve the order the columns
2855 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2857 * src/hildon-picker-dialog.c:
2858 (hildon_picker_dialog_class_init): Connect a realize method.
2859 (+hildon_picker_dialog_realize): Setup the interaction mode here
2861 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2862 yet, do it during the realize instead.
2863 (_on_dialog_response):
2864 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2865 if the widget is not realized, to avoid the dialog response before it
2868 Avoid premature responses in the HildonPickerDialog that can cause it
2869 to be hidden before it's even shown.
2871 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2873 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2874 (on_selector_columns_changed), (requires_done_button),
2875 (+prepare_action_area), (setup_interaction_mode),
2876 (_hildon_picker_dialog_set_selector):
2878 Split the interaction mode setup into preparation of the
2879 action area (prepare_action_area()) and the connection of
2880 the signals in setup_interaction_mode() and update the code to
2883 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2885 * src/hildon-pannable-area.c,
2886 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2887 per second to 15, we will check if this is ok regarding
2890 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2892 * src/hildon-pannable-area.c,
2893 (hildon_pannable_axis_scroll): Avoid resize if we already have
2894 reached overshoot_max.
2896 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2898 * src/hildon-pannable-area.c,
2899 (hildon_pannable_area_init),
2900 (hildon_pannable_area_realize),
2901 (hildon_pannable_area_size_allocate),
2902 (hildon_pannable_area_map),
2903 (hildon_pannable_area_unmap),
2904 (hildon_pannable_draw_vscroll),
2905 (hildon_pannable_draw_hscroll),
2906 (hildon_pannable_area_expose_event),
2907 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2908 pannable are to avoid the expose events go to the window and
2909 redraw the window. We save this way that part of the stack and the
2910 paint_boxes. We had to change the positions of the elements when
2913 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2915 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2916 * src/hildon-color-chooser-dialog.c:
2917 (hildon_color_chooser_dialog_init):
2918 * src/hildon-font-selection-dialog.c:
2919 (hildon_font_selection_dialog_init),
2920 (hildon_font_selection_dialog_show_preview):
2921 * src/hildon-get-password-dialog.c:
2922 * src/hildon-login-dialog.c:
2923 * src/hildon-set-password-dialog.c:
2924 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2925 * src/hildon-time-picker.c: (hildon_time_picker_init):
2927 Remove obsolete logical string IDs and update to the appropriate ones.
2929 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2931 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2933 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2934 that happens if the window hasn't been realized yet.
2936 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2937 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2939 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2941 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2942 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2945 Fixes: NB#98537 (Device hangs in account settings dialog)
2947 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2949 * configure.ac: post release version bump.
2950 * debian/changelog: version bump
2952 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2957 * configure.ac: Bump version.
2958 * debian/changelog: Updates.
2960 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2962 Added a new function to the HildonTimeButton widget that allows to
2963 change the step of the minutes in the selector associated with the
2964 button: hildon_time_button_new_step
2966 * src/hildon-time-button.c,
2967 (hildon_time_button_init),
2968 (hildon_time_button_new),
2969 (hildon_time_button_new_step):
2970 * src/hildon-time-button.h: Added the new function and refactored
2972 * examples/hildon-time-button-example.c,
2973 (main): We have replaced the function without parameters with the
2974 function with the steps set to 5
2976 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2978 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2980 * src/hildon-time-selector.c,
2981 (hildon_time_selector_class_init),
2982 (hildon_time_selector_constructor),
2983 (hildon_time_selector_get_property),
2984 (hildon_time_selector_set_property),
2985 (_create_minutes_model),
2986 (hildon_time_selector_new_step),
2987 (hildon_time_selector_set_time),
2988 * src/hildon-time-selector.h: Added a new property to the
2989 HildonTimeSelector (minutes-step), we use that property to control
2990 the steps between the minutes in the list of the selector. We have
2991 added a new function to the API to create a widget changing the
2992 step: hildon_time_selector_new_step.
2994 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2996 * src/hildon-time-selector.c,
2997 (hildon_time_selector_class_init),
2998 (hildon_time_selector_constructor),
2999 (hildon_time_selector_init): Overrided the construct function when
3000 creating the time selector object. We have moved the minutes model
3001 handling code from the init to the new construction function:
3002 hildon_time_selector_constructor.
3004 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3006 * examples/hildon-date-button-example.c: (main): Use the new
3007 hildon_date_button_new_with_year_range() method in the example.
3008 * src/hildon-date-button.c:
3009 (+hildon_date_button_new_with_year_range): New public method
3010 to conveniently create a HildonDateButton with a custom year range
3011 in its HildonDateSelector.
3012 * src/hildon-date-button.h: Add the new public method definition.
3014 Fixes: NB#97908 (Not possible to change the year range in
3015 HildonDateSelector/HildonDateButton)
3017 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3019 * src/hildon-date-selector.c:
3020 (+hildon_date_selector_set_property),
3021 (+hildon_date_selector_get_property),
3022 (hildon_date_selector_class_init): Install new properties "min-year"
3023 and "max-year" to define boundaries for the year column.
3024 (_create_year_model): Use the boundary properties to populate the model.
3025 (+hildon_date_selector_new_with_year_range): New public method to
3026 create a HildonDateSelector with a user defined year range.
3027 (hildon_date_selector_select_current_date): Use the new boundaries to
3028 calculate the iterator of current year.
3029 * src/hildon-date-selector.h: Add the new public method definition.
3031 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3033 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3034 Install a constructor method.
3035 (+hildon_date_selector_construct_ui): construct the widget.
3036 (+hildon_date_selector_constructor): new constructor.
3037 (+hildon_date_selector_init): move out widget construction code to
3038 the new constructor.
3040 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3042 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3043 that there's actually a month or year selected before obtaining them.
3044 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3045 of the HildonTouchSelector::changed signal, as it was emitted on every
3046 single item selection.
3048 Fix some warnings and possible crashers due to the selection restoring.
3050 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3052 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3053 the signal handlers only after creating the dialog instead of on every
3056 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3058 * src/hildon-button.c (hildon_button_init)
3059 * src/hildon-check-button.c (hildon_check_button_init)
3060 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3061 focus when clicked by default.
3063 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3065 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3068 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3070 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3071 Alejandro G. Castro (alex@igalia.com)
3073 * src/hildon-picker-dialog.c:
3074 (hildon_picker_dialog_class_init): install new "center-on-show"
3076 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3077 (hildon_picker_dialog_set_property): add setter code for the new
3079 (hildon_picker_dialog_get_property): add getter code for the new
3081 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3082 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3085 Fixes: NB#92849 (Selected item is not always visible when
3086 HildonTouchSelector is shown)
3088 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3090 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3091 Alejandro G. Castro (alex@igalia.com)
3093 * src/hildon-touch-selector.c:
3094 (_create_new_column): Do not connect to the "realize" signal of the
3096 (hildon_touch_selector_append_column): center on the selected items
3097 when a new column is appended.
3098 (hildon_touch_selector_select_iter): Factor out the code to select a
3099 column to hildon_touch_selector_scroll_to().
3100 (+search_nearest_element): Method to retrieve the nearest selected
3101 element to the visible area of the pannable area in a column.
3102 (+on_realize_cb): scroll to the initially selected item.
3103 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3104 the pannable area is realized, otherwise delay this until it is.
3105 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3106 selected items of a given column.
3107 (+hildon_touch_selector_center_on_selected): Public method to center
3108 all columns on the nearest selected item.
3109 * src/hildon-touch-selector.h: Add definition for
3110 hildon_touch_selector_center_on_selected().
3112 Implement public API to ensure visibility of all selected items in
3113 a HildonTouchSelector.
3115 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3117 Fixed a problem in the fading when calling the scroll_to API, and
3118 improve scrollbar fading handling.
3120 * src/hildon-pannable-area.c,
3121 (hildon_pannable_area_grab_notify): avoid the timeout when the
3123 (hildon_pannable_area_button_press_cb),
3124 (hildon_pannable_area_motion_notify_cb): Code style changes.
3125 (hildon_pannable_area_button_release_cb): Review the conditions
3126 when releasing the mouse button to avoid unrequired fading
3128 (hildon_pannable_area_scroll_to): Do not calculate and set the
3129 velocity if the scroll is not required.
3131 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3133 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3134 Don't check whether the new selector is NULL: it cannot be.
3135 Hold a reference to the selector while doing the replacement.
3137 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3139 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3140 unnecessary size_request in a removed widget.
3142 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3144 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3145 an unnecessary reference tracking that was leaking.
3147 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3149 Added delayed motion notify event handling, this way we can
3150 discard redrawing if more than 25 events arrive per second.
3152 * src/hildon-pannable-area.c,
3153 (hildon_pannable_area_init): Initialized the new private atributes
3154 controlling this timeout
3155 (hildon_pannable_area_dispose): Remove the timeout that controls
3156 the motion notify events.
3157 (hildon_pannable_area_scroll): Added a condition to control the
3158 use of the acceleration.
3159 (hildon_pannable_area_motion_event_scroll_timeout),
3160 (hildon_pannable_area_motion_event_scroll): Added this two
3161 functions, they handle the motion notify events inside the
3163 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3164 to the scroll method with the new function.
3165 (hildon_pannable_area_button_release_cb): We have to remove the
3166 timeout handler and move to the last position if the last motion
3167 events were not handled.
3169 Fixes: NB#97028 (Pannable area updates on every motion event)
3171 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3173 * src/hildon-pannable-area.c,
3174 (hildon_pannable_area_get_topmost): Added a new parameter to
3175 filter the the windows that do not include those events. Added
3176 also a condition when finding the window to filter windows that do
3177 not ask for those events.
3178 (hildon_pannable_area_button_press_cb),
3179 (hildon_pannable_area_button_release_cb),
3180 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3181 topmost function, we have added the new parameter.
3183 Fixes: NB#97458 (Pannable area prevents propagation of button
3186 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3188 * src/hildon-pannable-area.c,
3189 (hildon_pannable_area_initial_effect): Added controls before
3190 launching the timeout and the idle functions.
3191 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3192 of the method, in some situations it can return with TRUE and 0 in
3194 (hildon_pannable_area_button_press_cb): We do not need to set
3195 DELAY for fading out here.
3197 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3199 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3201 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3202 post-cleaning if the selection is not NULL.
3204 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3206 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3207 all items before restoring the selection.
3209 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3211 * src/hildon-touch-selector.c:
3212 (+hildon_touch_selector_unselect_all):
3213 * src/hildon-touch-selector.h: New API to unselect all items in a
3214 column of the touch selector.
3216 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3218 * src/hildon-pannable-area.c,
3219 (hildon_pannable_area_redraw): Added a call to the refresh
3220 function inside the redraw because apparently in some cases the
3221 change in the adjustment does not imply a size allocate.
3223 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3224 despite the view not being scrollable)
3226 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3228 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3229 leak. Check for NULL before attempting to set the window title.
3231 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3233 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3234 whether to show or not the 'Done' button each time the dialog is
3235 shown, as it depends on the HildonTouchSelector selection mode.
3237 Fixes: NB#96226 (In multiple selection mode Done button is shown
3238 sometimes in listpicker)
3240 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3242 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3243 for the number of columns in the HildonTouchSelector more than once.
3245 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3247 * src/hildon-touch-selector.c: Minor documentation fixes.
3249 * src/hildon-picker-dialog.c (+_dialog_update_title)
3250 (_select_on_selector_changed_cb)
3251 (_update_title_on_selector_changed_cb)
3252 (on_selector_columns_changed): Update dialog title when there's no
3253 'Done' button and also when the number of columns in the selector
3257 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3258 (+_selection_changed, hildon_picker_button_on_dialog_response)
3259 (hildon_picker_button_selector_selection_changed)
3260 (+hildon_picker_button_selector_columns_changed)
3261 (hildon_picker_button_set_selector): Update button value and emit
3262 'value-changed' when the number of columns in the selector
3266 Fixes: NB#96225 (Dialog titles are not shown according to the
3267 values selected in the list picker)
3269 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3271 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3272 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3273 New "arrow-width" and "arrow-height" style properties to set the
3274 size of the arrow button.
3275 Set name of arrow button ("hildon-edit-toolbar-arrow").
3277 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3278 graphics from theme)
3280 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3282 * src/hildon-picker-button.c:
3283 (hildon_picker_button_selector_selection_changed): Use
3284 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3285 the dialog is present.
3287 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3288 the selection is accepted in the dialog)
3290 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3292 * src/hildon-color-chooser.h
3293 * src/hildon-color-chooser-dialog.h:
3294 Added G_BEGIN_DECLS and G_END_DECLS
3296 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3298 (_clean_current_selection): plug a leak in the list.
3300 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3302 * src/hildon-picker-dialog.c:
3303 (+free_path_list): Method to free a GList of GtkTreePaths.
3304 (_clean_current_selection), (_save_current_selection),
3305 (_restore_current_selection): Save the current selection in
3306 as a list of lists, to support multiple selection properly.
3308 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3310 patch by Claudio Saavedra (csaavedra@igalia.com)
3312 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3313 Store the press position.
3314 (+hildon_text_view_button_release_event): If the release position is
3315 close enough to the press position, move the cursor here. Otherwise,
3317 (hildon_text_view_class_init): Override GtkTextView press, release, and
3318 motion event handlers, disabling this way text selection through
3319 pointer interaction, and allowing the container widget to handle the
3322 Fixes: NB#95828 (HildonTextView functionality)
3324 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3326 Based on a patch by Iván Gómez (igomez@igalia.com)
3328 * src/hildon-button.[ch]
3329 * src/hildon-calendar.c
3330 * src/hildon-check-button.c
3331 * src/hildon-date-editor.c
3332 * src/hildon-date-selector.c
3333 * src/hildon-picker-button.c
3334 * src/hildon-time-editor.c
3335 * src/hildon-time-selector.c
3336 * src/hildon-touch-selector.[ch]:
3337 Documentation updates
3339 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3341 * src/hildon-pannable-area.c,
3342 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3343 threshold, it was required due to X events handling.
3345 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3347 * src/hildon-pannable-area.c,
3348 (hildon_pannable_area_grab_notify),
3349 (hildon_pannable_area_initial_effect),
3350 (hildon_pannable_area_button_press_cb),
3351 (hildon_pannable_area_button_release_cb),
3352 (hildon_pannable_area_scroll_cb),
3353 (hildon_pannable_area_scroll_to): Review the timeout management of
3354 the scrollbar, the frecuency was incorrectly set.
3356 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3358 * src/hildon-picker-button.c:
3359 (+hildon_picker_button_on_dialog_response),
3360 (hildon_picker_button_clicked): Present the dialog instead of
3361 running it with gtk_dialog_run().
3363 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3366 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3368 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3369 (hildon_app_menu_finalize): When a window is hidden it doesn't
3370 emit notify::is-topmost, so make sure than the menu also
3371 disappears in that case.
3372 (parent_window_topmost_notify): Renamed from parent_window_hidden
3374 Fixes: NB#94460 (stackable window's menu is not closed when its
3377 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3379 * src/hildon-touch-selector-entry.c:
3380 (+hildon_touch_selector_entry_set_input_mode),
3381 (+hildon_touch_selector_entry_get_input_mode):
3382 * src/hildon-touch-selector-entry.h: New methods to access the input
3383 mode in the selector's entry.
3385 Fixes: NB#93410 (API required for setting IM mode in
3386 HildonTouchSelectorEntry)
3388 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3390 * configure.ac: post release version bump.
3391 * debian/changelog: version bump
3393 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3398 * configure.ac: Bump version.
3399 * debian/changelog: Updates.
3401 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3403 * src/hildon-touch-selector.c:
3404 (_hildon_touch_selector_has_multiple_selection): No need
3405 to initialize the variables here.
3407 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3409 * src/hildon-note-private.h
3410 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3411 (hildon_note_finalize, hildon_note_rebuild): Close information
3412 notes when they receive a button press.
3414 Fixes: NB#89890 (Information notes does not get disappeared after
3417 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3419 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3420 mark from the wizard title, as it's not really necessary. Also,
3421 do not display the page title if not set.
3423 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3425 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3426 (parent_window_hidden): Use the window's "is-topmost" property to
3427 detect when to hide the menu.
3429 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3431 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3432 (hildon_app_menu_finalize): If the parent window of the menu is
3433 hidden, hide the menu too.
3435 Fixes: NB#94460 (stackable window's menu is not closed when its
3438 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3441 * debian/libhildon1-examples.install
3443 * examples/Makefile.am:
3444 Use dh_install to install all examples.
3445 Use DEB_SRCDIR instead of defining SOURCE_DIR
3447 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3449 * configure.ac: post release version bump.
3450 * debian/changelog: version bump
3452 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3457 * configure.ac: bump version
3458 * debian/changelog: updates
3459 * debian/control: bump gtk+ dependency
3461 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3463 patch by Christian Dywan (christian@imendio.com)
3465 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3466 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3468 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3470 * src/hildon-check-button.c (hildon_check_button_init)
3471 (hildon_check_button_class_init, hildon_check_button_style_set)
3472 (hildon_check_button_apply_style):
3473 New "checkbox-size" style property.
3475 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3476 larger / configurable size)
3478 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3480 * configure.ac: post release version bump.
3481 * debian/changelog: version bump
3483 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3488 * configure.ac: bump version
3489 * debian/changelog: updates
3491 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3493 * doc/hildon-sections.txt
3494 * src/hildon-pannable-area.c
3495 * src/hildon-program.c
3496 * src/hildon-time-editor.c
3497 * src/hildon-touch-selector-entry.c:
3499 More documentation updates.
3501 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3503 * doc/hildon-sections.txt
3504 * src/hildon-caption.c
3505 * src/hildon-code-dialog.c
3506 * src/hildon-color-button.c
3507 * src/hildon-controlbar.c
3508 * src/hildon-date-editor.c
3509 * src/hildon-date-selector.c
3510 * src/hildon-edit-toolbar.c
3511 * src/hildon-find-toolbar.c
3512 * src/hildon-font-selection-dialog.c
3514 * src/hildon-program.c
3515 * src/hildon-range-editor.c
3516 * src/hildon-seekbar.c
3517 * src/hildon-time-editor.c
3518 * src/hildon-time-selector.c
3519 * src/hildon-volumebar-range.c
3520 * src/hildon-volumebar.c
3521 * src/hildon-vvolumebar.c
3522 * src/hildon-weekday-picker.c
3523 * src/hildon-window.c
3524 * src/hildon-wizard-dialog.c:
3526 Lots of documentation fixes.
3528 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3530 Patch contributed by Iván Gómez (igomez@igalia.com)
3532 * src/hildon-check-button.c:
3533 * src/hildon-date-button.c:
3534 * src/hildon-date-selector.c:
3535 * src/hildon-dialog.c:
3536 * src/hildon-edit-toolbar.c:
3537 * src/hildon-entry.c:
3538 * src/hildon-picker-button.c:
3539 * src/hildon-program.c:
3540 * src/hildon-text-view.c:
3541 * src/hildon-time-button.c:
3542 * src/hildon-touch-selector-entry.c:
3543 * src/hildon-window-stack.c:
3545 Add more "since" tags to the new API.
3547 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3549 * doc/hildon-sections.txt: Add below method.
3550 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3551 version for the hildonized scale.
3552 * src/hildon-gtk.h: Add the definition.
3554 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3556 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3558 * doc/hildon-sections.txt: Add missing entries for new methods.
3560 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3562 Added API to pannable are in order to get its adjustments. We
3563 added two properties to manage the values we had in the private
3566 * src/hildon-pannable-area.c:
3567 (hildon_pannable_area_class_init): Added hadjustment and
3568 vadjustment properties in order to expose horizontal and vertical
3570 (hildon_pannable_area_get_property),
3571 (hildon_pannable_area_set_property): Added code to handle the new
3573 (hildon_pannable_area_get_hadjustment),
3574 (hildon_pannable_area_get_vadjustment): API functions to get the
3576 * src/hildon-pannable-area.h:
3577 (hildon_pannable_area_get_hadjustment),
3578 (hildon_pannable_area_get_vadjustment): API functions to get the
3581 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3583 Fixed some leaks, after valgrinding.
3585 * src/hildon-touch-selector.c:
3586 (_default_print_func): Fixed a leak.
3587 (hildon_touch_selector_append_column): Fixed a leak.
3588 * src/hildon-date-button.c:
3589 (hildon_date_button_init): Fixed a leak.
3590 * src/hildon-date-selector.c
3591 (hildon_date_selector_finalize): Fixed a leak.
3593 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3595 Based on a patch by Christian Dywan (christian@imendio.com)
3597 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3599 * src/hildon-gtk.h: Add definition.
3601 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3603 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3605 * src/hildon-picker-button.c: (hildon_picker_button_init),
3606 (hildon_picker_button_new): Set the HildonButton::style property
3607 in the init method, to propagate the value to the derived classes.
3609 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3611 * src/hildon-button.c: (hildon_button_class_init): Do not make
3612 the "style" property a construct property.
3614 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3616 * src/hildon-wizard-dialog.h
3617 * src/hildon-wizard-dialog.c
3618 (hildon_wizard_dialog_set_forward_page_func)
3619 * src/hildon-pannable-area.h
3620 * src/hildon-pannable-area.c
3621 (hildon_pannable_area_set_size_request_policy):
3622 Documentation fixes.
3624 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3626 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3628 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3630 * doc/hildon-sections.txt: Added sections file.
3632 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3635 * src/*.[ch]: Updates.
3637 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3639 * examples/hildon-progress-indicator-example.c: new file
3640 * examples/Makefile.am: include the new example program
3642 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3644 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3646 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3648 * configure.ac: post release version bump
3649 * debian/changelog: version bump
3651 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3656 * configure.ac: bump version
3657 * debian/changelog: updates
3658 * debian/control: bump gtk+ dependency
3660 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3662 * src/hildon-dialog.c: Mark as deprecated.
3663 * src/hildon-dialog.h: Mark as deprecated.
3664 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3665 from HildonDialog and still work, even if
3666 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3667 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3669 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3670 maemo changes) instead)
3672 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3674 * src/hildon-pannable_area.h:
3675 * src/hildon-pannable_area.c:
3676 (hildon_pannable_area_class_init),
3677 (hildon_pannable_area_set_property),
3678 (hildon_pannable_area_get_property),
3679 (hildon_pannable_area_size_request),
3680 (hildon_pannable_area_get_size_request_policy),
3681 (hildon_pannable_area_set_size_request_policy): Added new API
3682 allowing applications to control the request policy. Now they can
3683 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3684 children allocation (HILDON_MOVEMENT_CHILDREN).
3686 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3690 (hildon_gtk_tree_view_set_ui_mode)
3691 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3692 mode of treeviews and iconviews.
3694 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3696 * src/hildon-touch-selector-entry.c:
3697 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3698 of a GtkEntry to get proper theming.
3700 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3701 widget, not GtkEntry)
3703 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3705 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3706 no HildonWizardDialogPageFunc.
3708 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3710 Patch contributed by Iván Gómez (igomez@igalia.com)
3712 * src/hildon-app-menu.c:
3713 * src/hildon-button.c:
3714 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3715 * src/hildon-stackable-window.c:
3716 * src/hildon-time-selector.c:
3717 * src/hildon-touch-selector.c:
3718 * src/hildon-window.c:
3720 Add more "since" tags to the new API in hildon 2.2.
3722 2008-12-05 Tim Janik <timj@imendio.com>
3724 Patch contributed by Christian Dywan (christian@imendio.com)
3726 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3727 HildonSizeType, which are supplied by Gtk+ now.
3729 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3731 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3732 (with maemo changes) instead)
3734 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3736 Patch contributed by Iván Gómez (igomez@igalia.com)
3738 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3741 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3743 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3744 (some_page_func), (main): Update the example to use a
3745 HildonWizardDialogPageFunc function.
3747 * src/hildon-wizard-dialog-private.h: Add private data for
3748 the HildonWizardDialogPageFunc function usage.
3750 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3751 (destroy), (hildon_wizard_dialog_init), (response),
3752 (hildon_wizard_dialog_set_forward_page_func):
3753 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3754 that applications can use to stop a HildonWizardDialog to jump to
3757 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3760 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3762 * src/hildon-program.h
3763 * src/hildon-program-private.h
3764 * src/hildon-program.c (hildon_program_init)
3765 (hildon_program_set_common_app_menu)
3766 (hildon_program_get_common_app_menu):
3767 New API for setting a common HildonAppMenu for all
3768 HildonStackableWindows registered with the HildonProgram.
3770 * src/hildon-stackable-window.c
3771 (hildon_stackable_window_toggle_menu):
3772 Use the common HildonAppMenu if a window doesn't have a specific
3775 * src/hildon-app-menu-private.h
3776 * src/hildon-app-menu.c
3777 (hildon_app_menu_get_parent_window):
3778 Function to obtain the window a HildonAppMenu is attached to.
3779 (hildon_app_menu_set_parent_window):
3780 Hide the menu if the parent window is set to NULL.
3782 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3784 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3785 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3786 search widget to popup.
3788 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3790 * configure.ac: post release version bump
3791 * debian/changelog: version bump
3793 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3798 * configure.ac: bump version
3799 * debian/changelog: updates
3801 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3803 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3805 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3806 (hildon_window_stack_window_realized)
3807 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3808 Set the leader GdkWindow when a window is stacked and realized,
3809 unset it when it's unstacked.
3810 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3812 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3814 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3816 * src/hildon-stackable-window.h
3817 * src/hildon-window-stack.h:
3818 Protect definition of HildonWindowStack using the preprocessor.
3820 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3822 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3823 Fix warning if all menu items are hidden.
3825 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3827 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3829 * src/hildon-controlbar.c:
3830 * src/hildon-hvolumebar.c:
3831 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3832 Multiple scale size defines updates.
3834 Fixes: NB#94322 (Scale Updates)
3836 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3838 * examples/hildon-app-menu-example.c (create_menu)
3839 Show items after adding them to the menu, as in the future the
3840 menu will no longer call gtk_widget_show() on the added items.
3842 * src/hildon-app-menu.c:
3843 Update example as explained above.
3845 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3847 * src/hildon-app-menu.c
3848 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3849 Make sure that all menu items have finger height.
3851 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3853 * src/hildon-picker-dialog.c:
3854 (_on_dialog_response), (_save_current_selection),
3855 (_restore_current_selection), (_clean_current_selection),
3856 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3857 Defined new functions in order to save the current internal selector
3858 selection previous open the dialog, in case that the use cancel the
3859 interaction, so the widget restores the previous selection.
3861 Fixes: NB#92032 (In calendar application, date values in 'new event'
3864 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3866 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3868 * src/hildon-button.c: Add a reference to the button examples in
3869 hildon-button-example.c
3871 * examples/hildon-button-example.c: Added examples of the most
3872 common button layouts.
3874 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3876 * src/hildon-app-menu.c (hildon_app_menu_show)
3877 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3879 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3881 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3883 * src/hildon-picker-dialog.c:
3884 (hildon_picker_dialog_init): Initialize the signal id for
3885 HildonTouchSelector::columns-changed.
3886 (+on_selector_columns_changed): Set up the interaction mode everytime a
3887 column is added or removed from the HildonTouchSelector.
3888 (_hildon_picker_dialog_set_selector): Connect to
3889 HildonTouchSelector::columns-changed and keep track of it.
3891 Make sure to update the interaction mode of the dialog everytime a
3892 column is added or removed in the HildonTouchSelector.
3894 Fixes: NB#93228 (Done button is not shown always in listpicker)
3896 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3898 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3899 a new ::columns-changed signal.
3900 (hildon_touch_selector_append_column): Emit ::columns-changed.
3901 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3903 Add a ::columns-changed signal, emitted when the number of columns in a
3904 HildonTouchSelector changes.
3906 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3908 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3909 (_hildon_picker_dialog_set_selector): Factor out the code
3910 to set up the dialog interaction mode.
3912 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3914 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3915 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3916 to signal_changed_id.
3918 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3920 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3923 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3925 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3926 Updated the logical ids related to ampm format, as now it is required to
3927 show it correctly localized even on languages with no default
3928 abbreviations for am or pm
3929 (_check_am_pm_format): check correctly the 24h format gconf property
3931 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3933 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3935 * src/hildon-button.c: Documentation updates.
3937 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3939 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3940 * src/hildon-caption.c: (hildon_caption_class_init):
3941 * src/hildon-color-button.c: (hildon_color_button_class_init):
3942 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3943 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3944 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3945 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3947 Remove deprecated GTK+ marshalers and replace them with the ones
3948 provided by GLib, for those available, add a marshaler for
3949 BOOLEAN:VOID, which is not available in GLib, and use it.
3951 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3953 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3954 the text from the previous column if there is no
3955 HildonTouchSelectorColumn::text-property set.
3957 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3959 * src/hildon-button.h
3960 * src/hildon-button.c (hildon_button_set_property)
3961 (hildon_button_get_property, hildon_button_class_init)
3962 (hildon_button_set_style, hildon_button_get_style):
3963 New "style" property to change the visual appearance of the
3966 * src/hildon-picker-button.c (hildon_picker_button_new):
3967 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3969 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3970 HildonButton look like PickerButton)
3972 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3974 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3975 column while building the default string.
3977 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3979 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3980 scroll indicator by default.
3982 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3984 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3986 * src/hildon-main.c: Fix the documentation for hildon_init()
3988 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3990 * doc/hildon-docs.sgml
3994 * src/hildon-window-stack-private.h
3995 * src/hildon-window-stack.h
3996 * src/hildon-window-stack.c:
3997 New HildonWindowStack object, that adds support for multiple
3998 stacks of windows per process.
4000 * src/hildon-stackable-window-private.h
4001 * src/hildon-stackable-window.h
4002 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4003 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4004 (hildon_stackable_window_show, hildon_stackable_window_hide)
4005 (hildon_stackable_window_class_init)
4006 (hildon_stackable_window_init):
4007 Use HildonWindowStack for stack management.
4009 * src/hildon-program.c (hildon_program_pop_window_stack)
4010 (hildon_program_peek_window_stack)
4011 (hildon_program_go_to_root_window):
4012 Add a fallback implementation to the deprecated functions using
4015 * examples/hildon-stackable-window-example.c:
4016 Use the new HildonWindowStack API.
4018 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4020 * src/hildon-stackable-window-private.h
4021 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4022 (hildon_stackable_window_hide, hildon_stackable_window_init):
4023 Remove all window stack management.
4025 * src/hildon-program-private.h
4026 * src/hildon-program.h
4027 * src/hildon-program.c (hildon_program_init)
4028 (hildon_program_pop_window_stack)
4029 (hildon_program_peek_window_stack)
4030 (hildon_program_go_to_root_window):
4031 Remove all window stack management and mark functions as
4034 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4036 * src/hildon-app-menu.c (hildon_app_menu_realize):
4037 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4039 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4041 * configure.ac: post release version bump
4042 * debian/changelog: version bump
4044 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4049 * configure.ac: bump version
4050 * debian/changelog: updates
4052 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4054 Based on initial code by Christian Dywan (christian@imendio.com)
4056 * doc/hildon-docs.sgml: Add section for hildon-main.
4057 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4058 * src/Makefile.am: Add new hildon-main.[ch]
4059 * src/hildon-defines.h: Update the icon sizes.
4060 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4061 new library initialization files and register icon sizes.
4062 * src/hildon-main.h: New declarations.
4063 * src/hildon.h: Include hildon-main.h
4065 Add new initialization functions to the library. These methods
4066 will register the hildon specific icon sizes and can be used in the
4067 future for other hildon specific bits.
4069 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4071 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4073 * src/hildon-window.c: (hildon_window_realize),
4074 (hildon_window_notify), (-hildon_window_update_title): Do not set
4075 the application name in the window title.
4077 Fixes: NB#89754 (Applications shouldn't display their names in the
4080 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4082 * src/hildon-note-private.h:
4083 * src/hildon-note.c: (hildon_note_set_property),
4084 (hildon_note_get_property), (hildon_note_class_init),
4085 (hildon_note_init), (hildon_note_finalize),
4086 (hildon_note_new_confirmation_with_icon_name),
4087 (hildon_note_new_information_with_icon_name):
4089 No need to mark as deprecated the actual code. Revert
4090 to avoid missing symbols in widgets using deprecated API.
4092 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4094 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4096 * src/hildon-volumebar.h
4097 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4098 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4100 * src/hildon-helper.h
4101 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4102 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4104 * examples/Makefile.am:
4105 Deprecate hildon-insensitive-example
4107 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4109 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4111 * examples/hildon-pannable-area-buttons-scroll-example.c:
4112 Make all buttons finger height
4114 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4116 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4118 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4119 update the day model only if it is really required, and to avoid the
4120 full-reconstruction aproach. Now it only add or remove the required days.
4122 The purpose of this is avoid superfluous HildonTouchSelector::changed
4125 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4126 with strange parameters)
4128 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4130 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4132 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4133 the WINDOW_TYPE property.
4135 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4137 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4140 Fix dependency to allow parallel compilation with make -jX
4142 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4144 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4145 color frame and some minor tweaks to make it more consistent with
4148 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4149 highlighted but not visible)
4151 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4153 * examples/Makefile.am: Fixed typo in the Makefile.am.
4155 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4157 Reviewed the use of MAEMO_GTK define, now we add the define in the
4158 compilation line, and we also add it to the pc file.
4160 * configure.ac: Added MAEMO_GTK define to the compilation command
4161 and removed it from the config.h.
4163 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4164 do not have to take care about this define if the library was
4168 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4170 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4172 * examples/Makefile.am,
4173 * examples/hildon-pannable-area-buttons-scroll-example.c,
4174 * examples/hildon-pannable-area-gesture-signals-example.c,
4175 * examples/hildon-pannable-area-scroll-jump-example.c,
4176 * examples/hildon-pannable-area-tree-view-example.c:
4177 Renamed the pannable area examples, now they have more meaningful
4180 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4182 * src/hildon-touch-selector.c:
4183 (hildon_touch_selector_set_column_selection_mode): Used of
4184 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4185 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4186 to avoid re-seting the same selection mode.
4188 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4189 breaks HildonPickerDialog)
4191 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4193 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4194 conditional in the Makefile.am
4196 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4198 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4199 Remove unused methods.
4201 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4203 * src/hildon-button.c (hildon_button_init):
4204 Make button images center-aligned by default
4206 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4209 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4210 activated, we have to think about how to deal with both defines
4211 MAEMO_GTK and MAEMO_CHANGES.
4213 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4215 * examples/hildon-app-menu-example.c (create_menu): Make all
4216 buttons finger size.
4218 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4220 Fixed the compilation without maemo gtk adding ifdefs with
4221 MAEMO_GTK define to the code, we have to check this version more
4224 * examples/Makefile.am: Added control to avoid some examples that
4225 just make sense with maemo gtk.
4228 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4229 hildon modes with the define.
4231 * examples/hildon-edit-toolbar-example.c,
4232 (create_icon_view): Create the icon view without hildon-gtk
4233 helpers if we are not using maemo gtk.
4235 * src/hildon-touch-selector.c,
4236 (_create_new_column): Create the treeview without hildon-gtk
4237 helpers if we are not using maemo gtk.
4239 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4241 * src/hildon-pnnable-area.c,
4242 (hildon_pannable_area_dispose),
4243 (hildon_pannable_area_button_press_cb),
4244 (hildon_pannable_area_child_mapped),
4245 (hildon_pannable_area_add),
4246 (hildon_pannable_area_remove): Added code to control the position
4247 of the event_window when adding and removing children from the
4248 pannable. We have to raise the event window when the child is
4251 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4252 selection mode using custom widget inside pannable)
4254 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4256 * configure.ac: post release version bump
4257 * debian/changelog: version bump
4259 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4264 * configure.ac: bump version
4265 * debian/changelog: updates
4267 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4269 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4270 search mode, in order to avoid lose the focus on the treeview when
4271 a hw key (like enter) is pressed.
4273 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4274 in HildonDateSelector dialog)
4276 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4278 * debian/rules: Added --enable-maintainer-mode
4279 * Makefile.am: Added ACLOCAL_AMFLAGS
4281 This allows to properly regenerate the Makefiles if you modify the
4282 configure.ac or any Makefile.am.
4284 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4286 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4287 properties, not needed at all.
4289 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4291 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4293 * src/hildon-note.c: (hildon_note_set_property),
4294 (hildon_note_get_property), (hildon_note_class_init),
4295 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4296 (hildon_note_new_confirmation_add_buttons): Remove icons.
4297 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4298 (hildon_note_new_information_with_icon_name): Deprecate.
4299 (hildon_note_new_confirmation): Act directly, without calling
4300 the deprecated constructor.
4301 (hildon_note_new_information): Act directly, without calling
4302 the deprecated constructor.
4303 * src/hildon-note.h: Mark deprecate methods as such.
4304 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4305 not run tests on the deprecated methods if built with deprecation
4308 Fixes: NB#91688 (Never show icons in information notes/confirmation
4311 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4313 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4314 (hildon_app_menu_key_press): Remove leftover usage of the
4315 private structure in HildonAppMenu struct.
4316 * src/hildon-app-menu.h: Remove leftover private structure
4317 from the HildonAppMenu struct.
4319 Fixes a crasher when using the HildonAppMenu.
4321 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4323 * src/hildon-picker-dialog.c: Use appropriate logical id
4324 for the default "Done" text.
4326 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4328 * configure.ac: post release version bump
4329 * debian/changelog: version bump
4331 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4333 Modified the way to scroll to the current selection just when the touch
4334 selector is shown on the screen, avoiding a g_idle. Added too a property
4335 to configure this behaviour. See hildon_pannable_area_jump_to_child
4336 documentation for more information.
4338 * src/hildon-touch-selector.c
4339 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4340 Added 'initial-scroll' property
4341 (hildon_touch_selector_set_property): Added
4342 (hildon_touch_selector_map): Removed as not required anymore
4343 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4344 only a concrete column, instead of iterate along all the columns
4346 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4351 * configure.ac: bump version
4352 * debian/changelog: updates
4354 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4356 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4357 compilation time warnings.
4359 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4361 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4362 the default value for HildonPannableArea::mov-mode to
4363 HILDON_PANNABLE_AREA_MODE_VERT.
4365 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4367 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4369 Reverting following commit:
4371 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4373 * src/hildon-app-menu-private.h
4374 * src/hildon-app-menu.[ch]
4375 * src/hildon-button.[ch]
4376 * src/hildon-check-button.[ch]
4377 * src/hildon-entry.[ch]
4378 * src/hildon-pannable-area.[ch]
4379 * src/hildon-text-view.[ch]:
4380 Added private field to the object's structure.
4382 because it causes an ABI breakage. We will need to introduce these
4383 changes later at some point. See NB#91636 for an extensive
4384 explanation and status.
4386 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4388 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4390 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4391 remove special cases that are no longer necessary.
4393 Fixes: NB#91016 (Change toolbar sizes, simplification)
4395 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4397 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4398 is shown in the cancel note.
4400 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4402 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4403 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4404 (hildon_seekbar_init): Remove steppers, remove expose event.
4405 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4407 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4409 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4411 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4412 label font to "SmallSystemFont" for vertically arranged buttons.
4414 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4417 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4419 * src/hildon-check-button.c
4420 (hildon_check_button_set_active, hildon_check_button_clicked):
4421 Don't access private parts directly, use getters instead.
4423 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4425 * src/hildon-check-button.c (hildon_check_button_new):
4426 Align the contents of the check button to the left.
4428 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4430 * src/hildon-pannable-area.c,
4431 (hildon_pannable_area_scroll_to),
4432 (hildon_pannable_area_jump_to),
4433 (hildon_pannable_area_scroll_to_child),
4434 (hildon_pannable_area_jump_to_child): Replace the mapped
4435 precondition of these functions with the realized, it is the
4436 correct state of the widget in this case. Changed the
4437 documentation according to this modification.
4439 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4441 Added a new EXTRA_CFLAGS option to add the deprecated define to
4442 the compilation command. This way we can avoid using the define in
4443 the documentation compilation.
4445 * configure.ac: Defined EXTRA_CFLAGS.
4447 * examples/Makefile.am:
4449 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4451 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4453 * src/hildon-picker-dialog.c:
4454 Defined a utility macro with the desired touch selector height
4455 Removed currently unused separator, and title_label variables from
4457 (hildon_picker_dialog_init): Removed code related to the creation
4458 of unused private variables title_label and separator.
4459 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4460 to ensure correct visualization of the touch selector inside the dialog.
4461 * src/hildon-touch-selector.c
4462 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4463 ensure a concrete height of the widget.
4465 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4468 * tests/Makefile.am:
4470 Remove spurious whitespaces.
4472 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4474 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4475 compilation warning after the cancel button removal.
4477 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4479 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4481 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4482 Makefile.am, that way we can choose not to compile some examples
4483 and tests of the deprecated widgets.
4485 * examples/Makefile.am: Divided the sources in deprecated and
4488 * src/Makefile.am: Added undef statement of the deprecated
4489 symbol to the enums file generation process.
4491 * src/hildon-color-chooser-dialog.c
4492 * src/hildon-color-chooser-dialog.h
4493 * src/hildon-color-button.c
4494 * src/hildon-color-button.h
4495 * src/hildon-color-chooser.c
4496 * src/hildon-color-chooser.h
4497 * src/hildon-controlbar.c
4498 * src/hildon-controlbar.h
4499 * src/hildon-date-editor.c
4500 * src/hildon-date-editor.h
4501 * src/hildon-hvolumebar.c
4502 * src/hildon-hvolumebar.h
4503 * src/hildon-private.c
4504 * src/hildon-private.h
4505 * src/hildon-range-editor.c
4506 * src/hildon-range-editor.h
4507 * src/hildon-seekbar.c
4508 * src/hildon-seekbar.h
4509 * src/hildon-time-editor.c
4510 * src/hildon-time-editor.h
4511 * src/hildon-time-picker.c
4512 * src/hildon-time-picker.h
4513 * src/hildon-volumebar.c
4514 * src/hildon-volumebar.h
4515 * src/hildon-vvolumebar.c
4516 * src/hildon-vvolumebar.h
4517 * src/hildon-bread-crumb-trail.h
4518 * src/hildon-bread-crumb-trail.c
4519 * src/hildon-calendar-popup.c
4520 * src/hildon-calendar-popup.h
4521 * src/hildon-weekday-picker.c:
4522 * src/hildon-weekday-picker.h:
4523 * src/hildon-bread-crumb-widget.c:
4524 * src/hildon-bread-crumb-widget.h:
4525 * src/hildon-bread-crumb.c:
4526 * src/hildon-bread-crumb.h:
4527 * src/hildon-calendar.c:
4528 * src/hildon-calendar.h:
4529 * src/hildon-caption.c:
4530 * src/hildon-code-dialog.c:
4531 * src/hildon-code-dialog.h:
4532 * src/hildon-font-selection-dialog.c:
4533 * src/hildon-font-selection-dialog.h:
4534 * src/hildon-get-password-dialog.c:
4535 * src/hildon-get-password-dialog.h:
4536 * src/hildon-login-dialog.c:
4537 * src/hildon-login-dialog.h:
4538 * src/hildon-number-editor.c:
4539 * src/hildon-number-editor.h:
4540 * src/hildon-set-password-dialog.c:
4541 * src/hildon-set-password-dialog.h:
4542 * src/hildon-sort-dialog.c:
4543 * src/hildon-sort-dialog.h: This is the list of deprecated
4546 * src/hildon-touch-selector.c:
4547 * src/hildon-window.c: Added undef statement to avoid compilation
4550 * tests/Makefile.am: Divided the sources in deprecated and
4553 * tests/check_test.c,
4554 (configure_tests): Marked the deprecated code that was adding
4555 suites with deprecated tests.
4557 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4559 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4561 * src/hildon-touch-selector.c: (_default_print_func): Do not
4562 duplicate a string returned by gtk_tree_model_get(), it is already
4565 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4568 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4570 * src/hildon-pannable-area.c
4571 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4572 method, it had problems when adding a widget with viewport the
4573 second time. Now checks if it already has a viewport and uses it.
4575 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4578 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4580 * src/hildon-pannable-area.c,
4581 (hildon_pannable_area_scroll_to),
4582 (hildon_pannable_area_jump_to),
4583 (hildon_pannable_area_scroll_to_child),
4584 (hildon_pannable_area_jump_to_child): Added a precondition to the
4585 scroll and jump to functions: the widget must be mapped before we
4586 can safely call these functions. We have also added documentation
4587 to the functions to explain how to use them in this situation.
4590 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4592 Reviewed the threading handling of the pannable widget, we have
4593 used the gdk_threads_add_timeout function instead of the usual
4594 glib handlers. This avoids some problems with the threads.
4596 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4597 (hildon_pannable_area_initial_effect),
4598 (hildon_pannable_area_scroll_indicator_fade),
4599 (hildon_pannable_area_button_press_cb),
4600 (hildon_pannable_area_timeout),
4601 (hildon_pannable_area_motion_notify_cb),
4602 (hildon_pannable_area_button_release_cb),
4603 (hildon_pannable_area_scroll_cb),
4604 (hildon_pannable_area_scroll_to): Removed the
4605 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4606 gdk_threads_add_timeout.
4608 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4610 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4615 * configure.ac: bump version
4616 * debian/changelog: updates
4618 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4620 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4621 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4622 * src/hildon-color-chooser-dialog.c:
4623 (hildon_color_chooser_dialog_init):
4624 * src/hildon-font-selection-dialog.c:
4625 (hildon_font_selection_dialog_init):
4626 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4628 Remove all cancel/close-like dialogs, as these are not going to be
4631 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4633 * src/hildon-note.c: (hildon_note_rebuild),
4634 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4637 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4639 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4641 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4642 sure all buttons are shown, even the Cancel/Close-like ones.
4644 Fixes: NB#90861 (Custom Confirmation dialogs should be
4645 protected from cancel button removal)
4647 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4649 * debian/control: Change libhildon1-examples dependency from libhildon1
4651 * debian/libhildon1-examples.install
4653 * Makefile.am: Modified the final install directory for the examples on
4654 package libhildon1-examples
4655 * Makefile.static: Update clean target in order to remove all the binary
4658 Changes suggested by Claudio after review new libhildon1-examples package
4660 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4662 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4663 * src/hildon-touch-selector.c: Ditto.
4665 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4667 * debian/control: Added new package libhildon1-examples, in order to pack
4668 the current hildon examples as documentation
4669 * debian/rules: Not to compress .c files, modify some includes on the
4670 examples (as normally are compiled locally, but when installed it will
4671 require to include the installed libhildon1 library), and rename
4673 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4674 install all the example files on the new example package
4675 * examples/Makefile.static: Added static makefile that can be used to
4676 compile the examples, once installed the new example package
4677 * examples: Most of the examples were modified in order to grant that
4678 all use only '#include "hildon.h"', in order to be easy to prepare
4679 it on the example package
4681 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4684 * debian/libhildon1-dev.install
4685 * debian/libhildon1-doc.install:
4686 Move all gtk-doc files to a separate libhildon1-doc package.
4688 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4690 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4692 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4694 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4696 * debian/rules: Fixed a error in order to avoid unnecessary calls
4697 to autogen.sh on package building
4699 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4701 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4703 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4705 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4708 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4710 * src/hildon-picker-button.c
4711 (hildon_picker_button_finalize):
4712 Free priv->done_button_text
4714 * src/hildon-time-button.c
4715 (hildon_time_button_set_time)
4716 * src/hildon-picker-button.c
4717 (hildon_picker_button_clicked)
4718 (hildon_picker_button_selector_selection_changed)
4719 (hildon_picker_button_set_selector)
4720 * src/hildon-date-button.c
4721 (hildon_date_button_set_date):
4722 Free strings returned by hildon_touch_selector_get_current_text()
4724 * src/hildon-button.c (hildon_button_construct_child):
4725 Fix leaks in priv->image and priv->label_box
4727 Fixes: NB#90535 (Memory leak in picker button)
4729 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4731 * src/hildon-button.c: (hildon_button_get_property): Do not access
4732 private elements directly, use getters instead.
4734 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4736 * src/hildon-app-menu-private.h
4737 * src/hildon-app-menu.c
4738 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4739 Store the menu's parent window.
4741 * src/hildon-stackable-window.c
4742 (hildon_stackable_window_toggle_menu)
4743 (hildon_stackable_window_finalize):
4744 Set the menu's parent window when the menu is shown, unset it when
4747 * src/hildon-app-menu.c
4748 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4749 (hildon_app_menu_class_init):
4750 Send unhandled keyboard accelerators to the parent window.
4752 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4754 * src/hildon-stackable-window.c
4755 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4757 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4759 * configure.ac: post release version bump
4761 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4764 * configure.ac: Bump version
4765 * debian/changelog: Updates
4766 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4769 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4771 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4774 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4775 GtkMenu with Hildon style.
4777 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4779 * src/hildon-picker-button.c:
4780 (hildon_picker_button_set_done_button_text): Set the dialog's
4781 done button text here as well.
4783 Fixes: NB#90232 (Picker button does not set the label on done button
4784 for the second time)
4786 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4788 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4791 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4793 * src/hildon-app-menu.c (hildon_app_menu_insert)
4794 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4795 the HildonAppMenu to be activatable using keyboard accelerators
4796 when the menu is not being shown.
4798 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4800 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4802 * src/hildon-stackable-window.c
4803 (hildon_stackable_window_show):
4804 Don't hide old windows automatically when new windows are shown:
4805 this is now a task for the window manager.
4806 (hildon_stackable_window_class_init)
4807 (hildon_stackable_window_hide):
4808 Remove windows from the stack everytime they're hidden.
4809 (hildon_stackable_window_realize):
4810 Don't change the _NET_WM_WINDOW_TYPE property. Use
4811 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4812 it as a stackable window.
4814 * src/hildon-program.c
4815 (hildon_program_pop_window_stack):
4816 Just hide the window to remove it from the stack.
4817 (hildon_program_go_to_root_window):
4818 Don't call gtk_widget_show(), this is now a task for the window
4821 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4823 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4825 * src/hildon-button.c
4826 (hildon_button_construct_child):
4827 Don't pack anything in the button until text or image are
4828 set. This allows adding a custom child after creating the button
4829 with hildon_button_new().
4830 (hildon_button_finalize, hildon_button_class_init)
4831 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4832 alignment and the label box even when they're not packed in the
4835 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4837 * src/hildon-touch-selector.h:
4838 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4839 currently the type definition was using GTK_TYPE_VBOX
4840 * src/hildon-touch-selector.c:
4841 Added some implementation notes in order to clarify that any other widget
4842 added without the column related API will not be included on the
4843 selection logic, and how the widget is freed, as some people ask about
4845 (hildon_touch_selector_remove): Reimplemented in order to free properly
4846 the column related data when you remove the private hbox.
4847 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4848 to get a proper HildonTouchSelectorColumn documentation
4850 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4852 * src/hildon-touch-selector-entry.c:
4853 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4854 text in the GtkEntry and there is no item selected. Fixes a
4857 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4859 * src/hildon-app-menu-private.h
4860 * src/hildon-app-menu.[ch]
4861 * src/hildon-button.[ch]
4862 * src/hildon-check-button.[ch]
4863 * src/hildon-entry.[ch]
4864 * src/hildon-pannable-area.[ch]
4865 * src/hildon-text-view.[ch]:
4866 Added private field to the object's structure.
4868 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4870 * configure.ac: post-release version bump
4872 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4876 * configure.ac: pre-release version bump
4878 * debian/changelog: updates.
4880 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4882 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4883 Disconnect the handler for HildonTouchSelector::changed.
4885 (hildon_picker_button_selector_selection_changed): Update the button
4886 value if the selection change was not triggered by the
4889 (hildon_picker_button_set_selector): connect to
4890 HildonTouchSelector::changed.
4892 Fixes: NB#89650 (Picker button is not updated, when selection in
4893 selector has changed)
4895 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4897 * src/hildon-picker-dialog.c
4898 (hildon_picker_dialog_realize): Removed as not required
4899 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4900 * src/hildon-picker-button.c
4901 (_current_selector_empty): New function, checks if the selector is empty
4902 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4903 if the current selector is empty, in order to avoid to show the dialog
4904 close the dialog in this case (and shows a g_warning).
4906 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4908 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4910 * src/hildon-pannable-area.c,
4911 (hildon_pannable_area_scroll): Added clause to stop movement when
4912 the child of pannable is smaller than one page.
4913 (hildon_pannable_area_scroll_to): Added conditions to avoid
4914 starting the scrolling movement if the child is smaller than one
4915 page, the complete child is in the screen, we do not have to move.
4917 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4919 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4921 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4922 this is managed automatically by the widget when the size of the
4925 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4927 * src/hildon-picker-button.c
4928 (hildon_picker_button_set_done_button_text): Make a copy of the
4929 text, and free the previous value.
4931 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4933 * src/hildon-touch-selector-entry.c:
4934 (hildon_touch_selector_entry_print_func): Return the selected row's
4935 text if the entry is empty.
4937 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4940 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4942 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4944 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4947 * src/hildon-check-button.h
4948 * src/hildon-check-button.c
4949 * examples/hildon-check-button-example.c:
4950 HildonCheckButton is now a new widget. 'toggled' signal added.
4952 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4954 * src/hildon-program-private.h
4955 * src/hildon-program.c (hildon_program_init)
4956 (hildon_program_finalize): Removed unused variables group_leader
4957 and name from HildonProgramPrivate.
4959 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4961 * src/hildon-check-button.c (hildon_check_button_set_active)
4962 (hildon_check_button_get_active, hildon_check_button_new): Use
4963 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4965 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4967 * src/hildon-touch-selector.h
4968 (hildon_touch_selector_set_column_attributes): added deprecation
4969 guard HILDON_DISABLE_DEPRECATED
4970 * src/hildon-time-selector.c
4971 (hildon_time_selector_set_time)
4972 (hildon_time_selector_get_time): Fixed a typo on documentation
4973 * src/hildon-touch-selector.c: update HildonTouchSelector and
4974 HildonTouchSelectorColumn documentation
4975 * src/hildon-touch-selector-entry.c: update "text-column" property
4977 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4978 to be added to the general documentation.
4980 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4982 * examples/hildon-pannable-area-example-4.c,
4984 * examples/hildon-pannable-area-example.c,
4985 (main): Modified the code in order to use the container add, with
4986 viewport treeviews could have problems if they are really big.
4988 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4990 * src/hildon-weekday-picker.c,
4991 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4992 the agreement regarding deprecation in the library.
4994 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4996 * examples/hildon-picker-button-multicolumn-example.c:
4997 (main): Use custom "done" button text.
4999 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5000 (hildon_picker_button_set_property),
5001 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5002 (hildon_picker_button_init),
5003 (+hildon_picker_button_get_done_button_text),
5004 (+hildon_picker_button_set_done_button_text): New methods to customize
5005 the "done" button label in the launched HildonPickerDialog. Also,
5008 * src/hildon-picker-button.h: add the public API.
5010 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5012 * src/hildon-date-selector.h:
5013 * src/hildon-picker-dialog.h:
5014 * src/hildon-time-selector.h:
5015 * src/hildon-touch-selector-column.h:
5016 * src/hildon-touch-selector.h:
5018 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5019 declarations. Fixes gtk-doc warnings.
5021 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5023 * src/hildon-picker-dialog.h
5024 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5025 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5027 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5028 long text is set as label for done button)
5030 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5032 * src/hildon-dialog.c (hildon_dialog_add_button):
5033 Set fixed width to all buttons in the HildonDialog.
5035 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5037 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5039 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5040 Set widget name using class name plus "-finger" or "-thumb".
5042 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5044 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5045 'clicked' when the state of the button is manually changed.
5047 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5049 * src/hildon-app-menu.c (hildon_app_menu_realize)
5050 (hildon_app_menu_unrealize, hildon_app_menu_init)
5051 (hildon_app_menu_class_init, item_visibility_changed):
5052 Change the menu layout when the size of the screen changes.
5053 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5054 Show warning only when changing the number of colums using the
5057 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5059 * debian/compat: Set to 5
5060 * debian/control: Update dependencies.
5061 * debian/libhildon1-dbg.install: Remove.
5062 * debian/libhildon1-dev.install: Update according to cdbs paths.
5063 * debian/libhildon1.install: Update according to cdbs paths.
5064 * debian/rules: Switch to cdbs.
5066 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5068 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5069 'item' variable renamed to 'filter'
5071 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5073 * src/hildon-app-menu.c (hildon_app_menu_insert)
5074 (hildon_app_menu_add_filter, remove_item_from_list)
5075 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5076 Don't leak hidden items when the menu is destroyed.
5078 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5080 * src/hildon-app-menu.c (hildon_app_menu_insert)
5081 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5082 (hildon_app_menu_set_columns, item_visibility_changed)
5083 (filter_visibility_changed, hildon_app_menu_repack_filters)
5084 (hildon_app_menu_repack_items):
5085 Repack items and filters separately.
5087 Don't repack all items, change only the ones that are needed to
5090 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5092 * src/Makefile.am: added hildon-touch-selector-column.h
5094 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5096 * src/hildon-touch-selector.c: added the property "text-column" to the
5097 class HildonTouchSelectorColumn, and related get/set functions
5098 (_default_printf_func): updated to use "text-column" property
5099 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5100 "text-column" in his documentation, as this is now included on
5101 HildonTouchSelectorColumn. The get/set_property can still be used,
5102 working as a wrapper to the concrete column "text-column" property
5103 (_text_column_modified): callback added in order to handle the signal
5104 "notify::text-column" of the concrete HildonTouchSelectorColumn
5105 (hildon_touch_selector_entry_get_text_column)
5106 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5107 modified in order to use the HildonTouchSelectorColumn "text-column"
5109 * src/hildon-time-selector.c:
5110 * src/hildon-date-selector.c:
5111 * examples/hildon-touch-selector-example.c
5112 * examples/hildon-touch-selector-multi-cells-example.c
5113 * examples/hildon-picker-button-multicolumn-example.c
5114 Set the right value to "text-column" property on the creation of a new
5115 column using hildon_touch_selector_append_column()
5117 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5119 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5121 * src/hildon-app-menu.c
5122 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5123 updating the layout of the menu, don't create all widgets again,
5124 just repack the items in their new places.
5126 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5128 * src/hildon-time-selector.c
5129 (hildon_time_selector_get_time)
5130 (hildon_time_selector_set_time)
5131 Added documentation of these public methods
5133 * src/hildon-date-button.h
5134 * src/hildon-touch-selector-column.h
5135 * src/hildon-time-button.h
5136 * src/hildon-picker-dialog.h
5137 * src/hildon-time-selector.h
5138 * src/hildon-picker-button.h
5139 * src/hildon-touch-selector.h
5140 * src/hildon-time-picker.h
5141 * src/hildon-date-selector.h
5142 * src/hildon-touch-selector-entry.h
5143 Modified in order to use hildon-widgets code style
5145 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5147 Added deprecated support to the compilation process using
5148 HILDON_DISABLE_DEPRECATED
5150 * configure.ac: Added the --disable-deprecated to the configure
5153 * src/hildon-weekday-picker.c:
5154 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5155 to use the deprecated support. We will update the other deprecated
5156 widgets status in a new patch.
5158 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5160 * configure.ac: Fixed typo with fatal warnings support, the
5161 variable name was not correct
5163 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5165 * src/hildon-app-menu.c
5166 * src/hildon-program.c: Update documentation.
5168 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5170 * configure.ac: Post-release version bump.
5172 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5177 * configure.ac: Pre-release version bump.
5178 * debian/changelog: Updates.
5180 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5182 * NEWS: Update news for previous releases.
5184 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5186 * examples/hildon-touch-selector-multi-cells-example.c:
5187 (create_selector): Update the example to use
5188 hildon_touch_selector_append_column() with a NULL renderer and set
5189 the renderers later.
5190 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5191 passed a NULL renderer. This is documented behavior now.
5193 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5194 This must be used if the developer wants full control on the layout of
5195 the renderers to be added to the column.
5197 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5199 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5201 * src/hildon-touch-selector.c: Documentation fixes.
5203 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5205 * src/hildon-wizard-dialog-private.h: Remove image and box.
5206 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5207 (hildon_wizard_dialog_set_property), (response): Completely remove
5208 image/icon support, and the containers required for the layout.
5210 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5212 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5214 * src/hildon-app-menu.c: Updated documentation.
5216 * src/hildon-stackable-window.c
5217 (hildon_stackable_window_set_main_menu): Unref the old menu after
5218 ref'ing the new one.
5220 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5222 * src/hildon-stackable-window.c
5223 (hildon_stackable_window_set_main_menu): Unref the previous menu
5224 instead of destroying it.
5226 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5227 floating reference and set has_user_ref_count to FALSE to make
5228 HildonAppMenu act like a normal ref-counted widget and not a
5231 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5234 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5236 * src/hildon-touch-selector-column.h: new file
5237 * src/hildon-touch-selector.h
5238 * src/hildon-touch-selector.c
5239 Implemented GtkCellLayout interface, in order to allow to configure
5240 the cell layout on each individual selector column
5241 (hildon_touch_selector_set_column_attributes): marked as deprecated
5242 * examples/hildon-touch-selector-multi-cells-example.c
5243 Example of how to use the GtkCellLayout interface on the selector
5245 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5247 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5249 * src/hildon-app-menu.h
5250 * src/hildon-app-menu.c
5251 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5252 (hildon_app_menu_append, hildon_app_menu_prepend):
5253 New methods to prepend, insert and move items in the menu.
5255 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5257 * src/hildon-wizard-dialog.c:
5259 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5261 (create_title): Update logical IDs and related code.
5262 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5264 * src/hildon-wizard-dialog.h: Note that
5265 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5266 point, as it is not used anymore.
5268 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5270 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5272 * src/hildon-note.c:
5273 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5274 shown. Do not display an icon in confirmation notes nor information
5276 (hildon_note_set_button_text): Update logical ID for cancel button.
5278 Fixes: NB#88850 (Update HildonNote button strings + signals)
5280 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5282 * src/hildon-stackable-window.c
5283 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5285 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5287 * src/hildon-app-menu-private.h
5288 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5289 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5290 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5291 temporary property 'columns' to change the number of columns.
5293 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5295 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5297 * examples/hildon-note-example.c: (on_information_clicked),
5298 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5299 debugging information.
5300 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5302 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5303 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5304 in order to close: this will be handled by the WM from now on.
5306 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5308 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5310 * src/hildon-app-menu-private.h
5311 * src/hildon-app-menu.c
5312 (hildon_app_menu_append, hildon_app_menu_add_filter)
5313 (button_visibility_changed, hildon_app_menu_apply_style)
5314 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5315 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5316 layout everytime a button (item or filter) is shown or hidden.
5318 * src/hildon-stackable-window.c
5319 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5322 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5324 * src/hildon-touch-selector.c:
5325 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5326 that the treeview inside the touch selector is in fremantle hildon mode
5327 * examples/hildon-date-button-example.c
5328 * examples/hildon-picker-button-multicolumn-example.c
5329 * examples/hildon-touch-selector-entry-example.c
5330 * examples/hildon-touch-selector-example.c
5331 * examples/hildon-time-button-example.c
5332 * examples/hildon-picker-button-example.c:
5333 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5335 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5337 * examples/hildon-text-view-example.c: (main): Remove the
5338 gtkrc bits, now handled by the theme.
5340 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5342 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5345 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5347 * po/Makefile.am: Install properly the mo files.
5348 * po/en_GB.po: Update translation, to ease testing purposes.
5350 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5352 * examples/hildon-picker-button-example.c: (main): Select an item
5353 in the selector before setting it to the button.
5355 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5357 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5358 Update button's value if the selector has an item active.
5360 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5361 'value' with the selector)
5363 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5365 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5366 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5367 (hildon_picker_button_class_init): Plug the finalize method.
5368 (hildon_picker_button_set_selector): If there's a previously set
5369 selector, unref'it before setting a new one.
5371 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5372 HildonTouchSelector)
5374 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5376 * src/hildon-touch-selector-entry.c:
5377 (hildon_touch_selector_entry_changed): Check if there is no text
5378 selected before setting the entry text.
5381 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5383 * src/hildon-touch-selector.h
5384 * src/hildon-touch-selector.c
5385 (hildon_touch_selector_get_active)
5386 (hildon_touch_selector_set_active): New methods to set/get the
5387 index of the selected item.
5389 * src/hildon-picker-button.h
5390 * src/hildon-picker-button.c
5391 (hildon_picker_button_get_active)
5392 (hildon_picker_button_set_active): New methods to set/get the
5393 index of the selected item.
5395 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5397 * configure.ac: post-release version bump.
5399 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5403 * configure.ac: Pre-release version bump.
5404 * debian/changelog: Updates.
5405 * debian/control: Add myself as maintainer and depend on l10n
5408 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5410 * src/hildon-window.c
5411 (hildon_window_set_main_menu)
5412 * src/hildon-stackable-window.c
5413 (hildon_stackable_window_set_main_menu):
5414 Updated documentation.
5416 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5418 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5419 Don't free selector->priv manually.
5422 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5425 (hildon_gtk_window_set_progress_indicator):
5426 * src/hildon-gtk.h: Added the new API
5427 hildon_gtk_window_set_progress_indicator, it changes the state of
5428 the window progress hint.
5430 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5432 * src/hildon-button.c
5433 * src/hildon-stackable-window.c: Minor documentation updates.
5435 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5437 * src/hildon-stackable-window.c: Updated documentation.
5439 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5441 * src/hildon-defines.h: Update margins definitions
5442 to the Fremantle sizes.
5445 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5447 * src/hildon-touch-selector.c,
5448 (_hildon_touch_selector_set_model): Cleaning the code after
5449 review, removed g_print and #if 0 from the code.
5451 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5453 * src/hildon-edit-toolbar.c: Update documentation.
5455 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5457 * src/hildon-check-button.h
5458 * src/hildon-check-button.c
5459 (hildon_check_button_set_label, hildon_check_button_get_label)
5460 * examples/hildon-check-button-example.c
5461 (button_clicked_cb):
5462 Removed deprecated methods.
5464 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5466 * src/hildon-text-view.c:
5467 Add sample code to the documentation.
5469 * src/hildon-entry.h
5470 * src/hildon-text-view.h:
5471 Minor cosmetic changes.
5473 * src/hildon-entry.c:
5474 Add sample code to the documentation.
5475 (hildon_entry_init, hildon_entry_refresh_contents):
5476 Don't allow NULL values in the placeholder.
5478 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5480 * doc/hildon-docs.sgml
5482 * examples/Makefile.am
5483 * examples/hildon-text-view-example.c
5485 * src/hildon-text-view.c
5486 * src/hildon-text-view.h
5488 New HildonTextView widget, with example.
5490 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5492 * po/POTFILES.in: Add missing files with translatable strings.
5493 Partially fixes NB#88287.
5495 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5497 * examples/hildon-pannable-area-example-2.c: (main): No need to
5498 set the cellrenderer height inside hildon touch lists, the theme does
5501 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5503 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5504 they are integrated in the theme.
5506 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5508 * examples/hildon-entry-example.c: Update the example adding
5509 widgets to modify the text and the placeholder of the HildonEntry.
5511 * src/hildon-entry.c: Show the placeholder everytime the widget
5512 is empty and loses the focus.
5514 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5516 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5518 * src/hildon-pannable-area.c,
5519 (hildon_pannable_area_size_request): Fixed bug in height
5520 requisition, avoid increasing size and add border twice.
5522 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5524 * configure.ac: postrelease version bump.
5526 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5530 * configure.ac: Prerelease version bump.
5531 * debian/changelog: update.
5532 * debian/rules: make -dbg package contain useful debugging symbols.
5534 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5536 * src/hildon-dialog.h
5537 * src/hildon-dialog.c
5538 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5539 New methods to add buttons with finger size.
5540 (hildon_dialog_new_with_buttons):
5541 Create buttons with finger size.
5543 * examples/hildon-dialog-example.c (main): Use HildonDialog
5544 methods to add buttons.
5546 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5548 * src/hildon-entry.c: Updated HildonButton documentation.
5550 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5552 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5553 button value label with (FALSE, FALSE) to prevent NB#88126 from
5556 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5558 * examples/hildon-pannable-area-example.c,
5559 (main): Removed examples panning a vbox inside a pannable
5560 area. Check bug NB#87965
5562 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5564 Patch contributed by Kris Rietveld (kris@imendio.com)
5566 * src/hildon-pannable-area.c,
5567 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5568 get_size and get_position, this saves an X server roundtrip.
5570 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5572 * doc/hildon-docs.sgml
5574 * examples/Makefile.am
5575 * examples/hildon-entry-example.c
5577 * src/hildon-entry.c
5578 * src/hildon-entry.h
5580 New HildonEntry widget, with example.
5582 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5584 * src/hildon-button.c (hildon_button_construct_child): Pack the
5585 image with expand == fill == FALSE. This is a workaround for a bug
5588 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5590 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5591 labels for the text column, to make it more look more dynamic.
5593 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5595 * src/hildon-time-selector.c
5596 Define gettext auxiliar macro N_
5597 (_create_minutes_model)
5598 (_create_hours_model)
5599 (_create_ampm_model): use of strftime in order to fill the model
5600 * src/hildon-date-selector.c
5601 (hildon_date_selector_finalize):
5602 (_locales_init): remove the logic related to get the name of the months
5603 using nl_langinfo, as it is not required anymore
5605 (_create_year_model)
5606 (_create_month_model)
5607 (_update_day_model): use of strftime in order to fill the model properly
5610 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5612 * src/hildon-button.h
5613 * src/hildon-button.c (hildon_button_get_image): New method to
5616 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5618 * src/hildon-touch-selector.c:
5619 (hildon_touch_selector_remove_column): Remove from the correct parent
5620 and also remove the list element and free it.
5623 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5625 * src/hildon-time-selector.c
5626 (_create_hours_model): change the range on 12h ampm format in order to use
5627 a 12-11 range instead of previous 01-12 range
5628 (hildon_time_selector_set_time): change the way to select the current time
5629 on 12h ampm format, due the change on the range
5630 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5633 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5635 * src/hildon-touch-selector.c
5636 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5637 in order to allow use this function on multiple row selection mode if
5638 the column is different that the first one
5641 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5643 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5644 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5646 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5648 * src/hildon-date-selector.h: clean some comments, now on the .c
5649 * src/hildon-date-selector.c
5650 (hildon_date_selector_select_month): first implementation
5651 (hildon_date_selector_select_day): added documentation, reimplemented
5652 using hildon_date_selector_select_current_date to avoid repeat code
5655 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5657 Reviewed interaction logic based on device experiences, refactored
5660 * src/hildon-pannable-area.c,
5661 (hildon_pannable_area_class_init): Updated default vmax speed.
5662 (hildon_pannable_area_calculate_velocity): Added this function, it
5663 avoids duplicate valocity calculation. Adjusted calculation to
5664 avoid problems with zero dist events.
5666 (hildon_pannable_area_motion_notify_cb): Now we use the
5667 calculate_velocity function.
5669 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5671 * src/hildon-date-selector.c
5672 (hildon_date_selector_select_current_date): fix the day range check
5673 as it failed using the last day of the current month
5676 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5678 * src/hildon-touch-selector.c
5679 (hildon_touch_selector_get_num_columns): added a parameter validation
5682 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5684 * examples/Makefile.am
5685 * examples/hildon-edit-toolbar-example.c: Example of the
5686 HildonEditToolbar widget.
5688 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5690 * configure.ac: postrelease version bump.
5692 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5696 * configure.ac: prerelease version bump.
5697 * debian/changelog: update.
5699 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5701 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5702 renderer to display stock icons in the touch list. Also, set the sizes
5703 to the recommended in the style guide.
5705 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5706 * src/hildon-touch-selector.h
5707 (hildon_touch_selector_set_active_iter): renamed, now is
5708 hildon_touch_selector_select_iter
5709 (hildon_touch_selector_get_active_iter): renamed, now is
5710 hildon_touch_selector_get_selected
5711 (hildon_touch_selector_unselect_iter): added
5712 * src/hildon-touch-selector.c
5713 Update after API modification (methods renamed)
5714 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5715 order to avoid problems selecting multiple elements on the column
5716 (hildon_touch_selector_unselect_iter): added the implementation
5717 * src/hildon-time-selector.c
5718 * src/hildon-date-selector.c
5719 * src/hildon-touch-selector-entry.c
5720 Update methods calls after hildon-touch-selector.h API modification (methods
5723 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5725 * src/hildon-stackable-window.c
5726 (hildon_stackable_window_finalize): Call the parent class's finalize.
5728 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5730 * examples/hildon-touch-selector-example.c: (create_selector): Use
5731 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5734 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5736 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5737 set a cell background color, to respect theming.
5739 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5741 * doc/hildon-docs.sgml
5744 * src/hildon-edit-toolbar.c
5745 * src/hildon-edit-toolbar.h
5746 * src/hildon.h: New HildonEditToolbar widget.
5748 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5750 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5753 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5754 * src/hildon-touch-selector.c
5755 (_create_new_column): use g_object_set instead of two g_object_set_property
5757 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5758 * src/hildon-touch-selector.c
5759 (_create_new_column): use of hildon_gtk_tree_view_new to create
5760 the treeview, instead of use directly g_object_new
5761 (_create_new_column): update the property name "vindicator-mode" for the
5762 new one "vscrollbar-policy"
5763 * examples/hildon-date-button-example.c
5764 * examples/hildon-picker-button-multicolumn-example.c
5765 * examples/hildon-touch-selector-entry-example.c
5766 * examples/hildon-touch-selector-example.c
5767 * examples/hildon-time-button-example.c
5768 * examples/hildon-picker-button-example.c
5769 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5770 to all the treeviews inside a pannable area.
5772 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5774 * src/hildon-button.h
5775 * src/hildon-button.c (hildon_button_init)
5776 (hildon_button_set_arrangement, hildon_button_set_alignment)
5777 (hildon_button_set_title_alignment)
5778 (hildon_button_set_value_alignment)
5779 (hildon_button_set_image_alignment)
5780 (hildon_button_construct_child): New methods to set the alignment
5781 of the individual components of the button (title, value,
5782 image). Also, new method to alter the xscale and yscale properties
5783 of the GtkAlignment inside the button, so more complex layouts can
5786 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5788 * src/hildon-button.c (hildon_button_style_set)
5789 (hildon_button_class_init, hildon_button_set_arrangement)
5790 (hildon_button_construct_child): Apply style properties
5791 correctly. Use the 'image-spacing' style property too.
5793 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5795 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5796 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5799 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5801 * src/hildon-pannable-area.c,
5802 (hildon_pannable_area_size_request): Fixed problem with
5803 pannable-area size_request.
5805 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5807 Added management for the grab-focus to a child widget, like a
5808 range, we need to fade out the scrollbar when releasing.
5810 * src/hildon-pannable-area.c,
5811 (hildon_pannable_area_init): Connected the grab-focus signal to
5813 (hildon_pannable_area_grab_notify): Added this function in order
5814 to manage the situation when the grab-focus ends. We have to
5815 fade-out the scrollbar.
5817 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5819 * src/hildon-app-menu.c: Minor documentation update.
5821 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5823 * src/hildon-app-menu.c
5824 * examples/hildon-app-menu-example.c (create_menu): Update
5825 examples and documentation to explain how to connect callbacks.
5827 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5829 * examples/hildon-button-example.c
5830 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5831 hildon_stackable_window_new instead of gtk_window_new
5833 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5835 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5836 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5837 (hildon_pannable_area_set_property),
5838 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5839 (hildon_pannable_area_unrealize),
5840 (hildon_pannable_area_size_request),
5841 (hildon_pannable_area_size_allocate),
5842 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5843 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5844 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5845 (hildon_pannable_area_initial_effect),
5846 (hildon_pannable_area_redraw),
5847 (hildon_pannable_area_scroll_indicator_fade),
5848 (hildon_pannable_area_expose_event),
5849 (hildon_pannable_area_get_topmost), (synth_crossing),
5850 (hildon_pannable_area_button_press_cb),
5851 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5852 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5853 (hildon_pannable_area_motion_notify_cb),
5854 (hildon_pannable_area_button_release_cb),
5855 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5856 (hildon_pannable_area_remove),
5857 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5858 chage the code layout to a more GtkWidget like. Review the use of
5861 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5863 * examples/hildon-pannable-area-example-4.c,
5864 (main): Modified the name of the hindicator_mode to
5867 * src/hildon-pannable-area.c,
5868 (hildon_pannable_area_class_init),
5869 (hildon_pannable_area_motion_notify_cb),
5870 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5871 we have reduced the amount of signals and managed reviewed its
5872 rationale. Changed the default decelerate value.
5874 (hildon_pannable_area_add),
5875 (hildon_pannable_area_redraw): Refactored functions.
5877 (hildon_pannable_area_init),
5878 (hildon_pannable_area_get_property),
5879 (hildon_pannable_area_set_property):
5880 (hildon_pannable_draw_vscroll),
5881 (hildon_pannable_draw_hscroll),
5882 (hildon_pannable_area_initial_effect),
5883 (hildon_pannable_area_expose_event),
5884 (hildon_pannable_area_scroll),
5885 (hildon_pannable_area_button_press_cb),
5886 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5887 and vindicator_mode with hscrollbar_policy and
5888 vscrollbar_policy. Replaced hscroll and vscroll with
5889 hscroll_visible and vscroll_visible.
5891 (hildon_pannable_area_refresh): Refactor the function, remove
5892 variables and check the calls to this function, added resize
5893 conditions in case the children change their layout.
5895 (hildon_pannable_area_size_request): Added more detailed
5896 size_request calculation.
5899 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5901 * src/hildon-color-chooser.c
5902 (init_borders): use the correct gtk_border_free instead of g_free, to
5903 avoid a crash when this widget is used (ie: the three color selection
5906 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5908 * src/hildon-check-button.c,
5909 (hildon_check_button_set_active): Fixed problem when setting the
5910 active value, the widget was not redrawn.
5912 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5914 * src/hildon-pannable-area.c,
5915 (hildon_pannable_area_refresh),
5916 (hildon_pannable_area_scroll),
5917 (hildon_pannable_area_motion_notify_cb): Small code style change.
5919 (hildon_pannable_area_class_init): Default initial_hint set to
5920 FALSE, it is not in the specs.
5922 (hildon_pannable_area_initial_effect),
5923 (hildon_pannable_area_expose_event),
5924 (hildon_pannable_area_map),
5925 (hildon_pannable_area_init): Moved the launching point of the
5926 initial effect, it was in map but the sizes where not correct in
5927 that method so we do not know if we have the reproduce it. Now it
5928 is placed in the expose_event method and uses a variable to
5929 reproduce it just once.
5931 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5933 * src/hildon-pannable-area.c,
5934 (hildon_pannable_draw_vscroll),
5935 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5936 position allowed for the scrollbars.
5938 (hildon_pannable_area_size_allocate): Small style change.
5940 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5942 * src/hildon-pannable-area.c,
5943 (hildon_pannable_area_scroll_indicator_fade),
5944 (hildon_pannable_area_button_press_cb),
5945 (hildon_pannable_area_button_release_cb),
5946 (hildon_pannable_area_scroll_cb),
5947 (hildon_pannable_area_expose_event),
5948 (hildon_pannable_area_init): Added the define parameter
5949 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5950 and refactor the fade variable.
5952 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5954 * src/hildon-pannable-area.c,
5955 (hildon_pannable_area_redraw),
5956 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5957 lines, we were reimplemeting the redraw code.
5959 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5961 * src/hildon-pannable-area.c,
5962 (hildon_pannable_area_scroll_cb),
5963 (hildon_pannable_area_realize),
5964 (hildon_pannable_area_class_init): Added scroll_event management
5965 for pannable area, now we can scroll the usual desktop method.
5967 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5968 initialization of the parameters should depend on idle_id.
5970 (hildon_pannable_area_init),
5971 (hildon_pannable_area_map): Small code style modifications
5973 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5975 * src/hildon-pannable-area.c
5976 (hildon_pannable_area_button_press_cb),
5977 (hildon_pannable_area_motion_notify_cb),
5978 (hildon_pannable_area_button_release_cb),
5979 (hildon_pannable_area_size_allocate),
5980 (hildon_pannable_area_scroll_to): Improved the timeouts
5981 management, we avoid creating them each time.
5983 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5985 * src/hildon-pannable-area.c:
5986 (hildon_pannable_area_refresh),
5987 (hildon_pannable_area_motion_notify_cb),
5988 (hildon_pannable_area_class_init):
5989 * src/hildon-pannable-area.h:
5990 * src/hildon-touch-selector.c
5991 (_create_new_column):
5992 * examples/hildon-pannable-area-example-4.c:
5993 (horizontal_movement),
5994 (vertical_movement),
5996 Replaced the names of enums in the HildonPannableArea:
5997 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5998 HILDON_MOVEMENT_MODE_*
5999 - HILDON_PANNABLE_AREA_MOV_* ->
6001 - Removed HildonPannableAreaIndicatorMode, now we
6004 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6006 * examples/hildon-pannable-area-touch-grid-example.c
6007 * examples/hildon-pannable-area-touch-list-example.c: Fix
6008 compilation warnings.
6010 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6012 * src/hildon-gtk.c (hildon_gtk_button_new)
6013 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6014 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6015 images overriding the value of the "gtk-button-images" setting.
6017 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6019 * src/hildon-check-button.c (hildon_check_button_new):
6020 Instead of using a custom container, display the label and the
6021 checkbox using the standard GtkButton API.
6023 * examples/hildon-check-button-example.c (main): Don't use
6024 hildon_check_button_set_label() anymore
6026 * src/hildon-check-button.h
6027 * src/hildon-check-button.c
6028 (hildon_check_button_set_label, hildon_check_button_get_label):
6029 Set as deprecated, now we're using gtk_button_{get,set}_label()
6031 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6033 * src/hildon-pannable-area.c,
6034 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6035 GtkTreeview first line we detected it after the inclusion of the
6036 GtkWindowImpl in gtk+. We now check if the window is visible, not
6037 just if the pointer is over the window.
6038 (hildon_pannable_axis_scroll),
6039 (hildon_pannable_area_expose_event): Small style changes.
6041 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6043 * src/hildon-button.c: Update documentation.
6045 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6047 * examples/hildon-button-example.c: Add a switch to show images in
6050 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6052 * doc/hildon-docs.sgml: Some docs reorganization.
6054 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6056 * examples/hildon-pannable-area-touch-list-example.c
6058 * examples/hildon-pannable-area-touch-grid-example.c
6059 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6060 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6061 Fix memory leak when setting the tree model.
6063 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6067 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6069 * doc/hildon.types: Remove duplicated hildon_window_get_type
6070 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6071 documentation comment.
6073 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6075 * doc/Makefile.am: Complete list of private headers.
6077 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6079 * doc/hildon-docs.sgml
6080 * src/hildon-app-menu.c
6081 * src/hildon-bread-crumb.c
6082 * src/hildon-button.c
6084 * src/hildon-program.c
6085 * src/hildon-stackable-window.c
6086 * src/hildon-window.c: Lots of documentation updates.
6088 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6090 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6092 * configure.ac: Require Gtk+ 2.12.9 at least
6094 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6096 * src/hildon-pannable-area.c
6097 (hildon_pannable_area_scroll_indicator_fade),
6098 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6099 to protect the return of this timeout callbacks, avoiding deadlocks.
6101 2008-08-12 Christian Dywan <christian@imendio.com>
6104 * src/hildon-*.h: Ensure a consistent include order,
6105 include <gtk/gtk.h> instead of particular files and
6106 only include the topmost header in the gtk stack. See NB #39857
6108 2008-08-12 Christian Dywan <christian@imendio.com>
6110 * src/hildon-picker-dialog.c
6111 * src/hildon-touch-selector.c: Fix warnings about unused and
6112 uninitialized variables.
6114 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6116 * examples/Makefile.am
6117 * examples/hildon-check-button-example.c: Example of the hildon
6120 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6122 * src/hildon-window.h
6123 * src/hildon-window.c (hildon_window_class_init)
6124 (hildon_window_unset_program): Don't make
6125 hildon_window_unset_program a virtual function anymore.
6127 * src/hildon-stackable-window.c: Update documentation
6129 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6132 * doc/hildon-docs.sgml
6133 * doc/visual_index.xml
6134 * src/hildon-defines.c
6136 * src/hildon-helper.c
6137 * src/hildon-range-editor.c: Lots of documentation fixes.
6139 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6141 * examples/hildon-picker-button-multicolumn-example.c
6142 (create_touch_selector): Fix compilation warning.
6144 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6146 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6147 (hildon_pannable_area_button_release_cb)
6148 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6150 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6152 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6155 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6157 * src/hildon-bread-crumb-trail.h
6158 * src/hildon-date-editor.c
6159 * src/hildon-date-selector.c
6160 * src/hildon-pannable-area.c
6161 * src/hildon-picker-dialog.c
6162 * src/hildon-time-selector.c
6163 * src/hildon-touch-selector-entry.c
6164 * src/hildon-touch-selector.c
6165 * src/hildon-touch-selector.h: Misc documentation fixes
6167 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6169 * examples/hildon-date-editor-example.c (main): Updated date
6172 * examples/hildon-note-example.c (on_confirmation_clicked):
6173 Updated confirmation note example.
6175 * src/hildon-date-editor.c
6176 * src/hildon-note.c: Updated sample programs in documentation.
6179 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6181 * src/hildon-date-button.h:
6182 * src/hildon-picker-button.h:
6183 * src/hildon-time-button.c:
6184 * src/hildon-time-button.h:
6186 Some declarations changes to allow gtk-doc to document the widgets
6189 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6191 * src/hildon-date-button.c: Document the widget.
6192 * src/hildon-time-button.c: Document the widget.
6194 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6196 * src/hildon-picker-button.c: Document the widget.
6197 * src/hildon-touch-selector-entry.c: Document the widget.
6199 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6201 * doc/hildon-docs.sgml
6204 * src/hildon-check-button.h
6205 * src/hildon-check-button.c: New functions to create the Hildon
6209 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6211 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6213 * src/hildon-button.h
6214 * src/hildon-button.c
6215 (hildon_button_add_title_size_group)
6216 (hildon_button_add_value_size_group)
6217 (hildon_button_add_image_size_group)
6218 (hildon_button_add_size_groups): New functions to set size groups
6219 for the button labels and image.
6220 (hildon_button_new_full): Removed
6222 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6224 * src/hildon-time-selector.c
6225 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6226 in order to avoid a crash if gconf is not available
6228 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6230 * src/hildon-button.c (hildon_button_set_arrangement)
6231 (hildon_button_construct_child): Don't construct the button child
6232 before setting the arrangement.
6234 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6236 * src/hildon-program-private.h
6237 * src/hildon-program.c
6238 * src/hildon-program.h
6239 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6240 (hildon_program_peek_window_stack)
6241 (hildon_program_pop_window_stack)
6242 (hildon_program_go_to_root_window): HildonProgram now has a
6243 separate list for stackable windows. Functions are provided to
6244 manage that list with a stack-like API.
6246 * src/hildon-stackable-window.c: Stackable window management is
6247 now much simpler with the new HildonProgram API. Windows no
6248 longer need to be manually added to the program, they're
6249 automatically pushed to the top of the stack when shown.
6251 * examples/hildon-stackable-window-example.c: Updated example to
6252 reflect the API changes.
6254 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6256 * src/hildon-touch-selector.c: Comment out unimplemented
6257 hildon_touch_selector_insert_column() to avoid a compile warning.
6259 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6261 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6262 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6263 (hildon_touch_selector_set_column_selection_mode),
6264 (_hildon_touch_selector_set_model),
6265 (hildon_touch_selector_set_model):
6267 Complete review of HildonTouchSelector documentation.
6269 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6271 * doc/hildon-docs.sgml
6275 * src/hildon-gtk.c: Convenience functions for standard Gtk
6276 widgets, used to easily perform frequent operations.
6278 * src/hildon-button-helpers.h
6279 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6281 * src/hildon-helper.h
6282 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6283 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6285 * src/hildon-button.h
6286 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6288 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6290 * src/hildon-button.c (hildon_button_init)
6291 (hildon_button_set_arrangement, hildon_button_construct_child):
6292 Pack the image and the labels inside the same GtkAlignment so
6293 gtk_button_set_alignment() can be used
6295 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6297 * src/hildon-button.h
6298 * src/hildon-button.c
6299 (hildon_button_init, hildon_button_set_image)
6300 (hildon_button_set_image_position)
6301 (hildon_button_construct_child): New functions to add an image to
6304 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6306 * src/hildon-date-button.c
6307 * src/hildon-picker-button.c
6308 * src/hildon-time-button.c
6309 * src/hildon-button.c:
6310 (hildon_button_class_init): "size-flags" renamed to "size"
6311 (hildon_button_set_title): Hide the title label if set to NULL.
6313 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6315 HildonButtonFlags split into HildonButtonArrangement (to set the
6316 button layout) and HildonSizeType (which can be used for any
6319 * src/hildon-button.h
6320 * src/hildon-button.c
6321 (hildon_button_class_init)
6322 (hildon_button_set_arrangement)
6323 (hildon_button_set_property): New "size-flags"
6324 property. "arrangement-flags" renamed to "arrangement".
6325 (hildon_button_new, hildon_button_new_with_text)
6326 (hildon_button_new_full): Constructors updated to reflect type changes.
6328 * src/hildon-helper.h
6329 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6330 to set the size of a widget.
6334 * src/hildon-button-helpers.c
6335 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6337 * src/hildon-date-button.c
6338 * src/hildon-date-button.h
6339 * src/hildon-picker-button.c
6340 * src/hildon-picker-button.h
6341 * src/hildon-time-button.c
6342 * src/hildon-time-button.h: Updated widgets to reflect
6343 HildonButton API changes.
6345 * examples/hildon-button-example.c
6346 * examples/hildon-date-button-example.c
6347 * examples/hildon-picker-button-example.c
6348 * examples/hildon-picker-button-multicolumn-example.c
6349 * examples/hildon-time-button-example.c
6350 * examples/hildon-touch-selector-entry-example.c
6351 * examples/hildon-touch-selector-example.c: Updated examples to
6352 reflect HildonButton API changes.
6354 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6356 * doc/hildon-docs.sgml:
6358 * examples/Makefile.am:
6359 * examples/hildon-touch-selector-entry-example.c:
6361 * src/hildon-touch-selector-entry.c:
6362 * src/hildon-touch-selector-entry.h:
6365 Moved HildonTouchSelectorEntry from sandbox. Added its
6366 documentation and examples.
6368 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6370 * src/hildon-touch-selector.h:
6371 * examples/hildon-picker-button-multicolumn-example.c:
6372 (hildon_touch_selector_append_text_column): Add a gboolean
6373 parameter to determine if text must be centered in the column.
6375 * src/hildon-date-selector.c: (hildon_date_selector_init):
6376 * src/hildon-time-selector.c: (hildon_time_selector_init):
6377 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6378 (create_touch_selector): Update widgets and example to reflect
6381 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6383 * src/hildon-touch-selector.c:
6384 (hildon_touch_selector_set_active_iter): Set also the cursor in
6387 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6389 * doc/hildon-docs.sgml
6392 * src/hildon-toggle-button.c
6393 * src/hildon-toggle-button.h
6394 * src/hildon.h: Removed HildonToggleButton widget, a derived
6395 class is not necessary for this.
6397 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6399 * src/hildon-pannable-area.c,
6400 (hildon_pannable_area_realize),
6401 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6404 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6406 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6407 "done" button the default widget for the dialog.
6409 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6411 * src/hildon-touch-selector.c:
6412 (hildon_touch_selector_class_init),
6413 (hildon_touch_selector_get_property),
6414 (_hildon_touch_selector_set_model),
6415 (_hildon_touch_selector_has_multiple_selection),
6416 (hildon_touch_selector_has_multiple_selection):
6417 Add a "has-multiple-selection" property with a virtual
6418 has_multiple_selection() method to allow derived classes to
6419 override the default value for it. See the method and property
6420 documentation for details.
6422 * src/hildon-touch-selector.h: Add the new API.
6424 * src/hildon-picker-dialog.c: (requires_done_button): Call
6425 hildon_touch_selector_has_multiple_selection() instead of
6426 determining the need for a button itself.
6428 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6430 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6431 (_hildon_touch_selector_set_model),
6432 (hildon_touch_selector_set_model): Move working code to
6433 _hildon_touch_selector_set_mode(). Call the class method instead.
6435 * src/hildon-touch-selector.h: Add (*set_model) to
6436 HildonTouchSelectorClass.
6438 Make hildon_touch_selector_set_model() a virtual method, so that
6439 derived classes can extend it and do fancy stuff with the model.
6441 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6443 * configure.ac: Set back the tarname in AC_INIT to hildon.
6445 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6449 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6450 instead of libesd (NB#86876). Volume handling is still an open issue.
6452 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6455 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6457 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6458 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6459 derived class to ease placement of an entry widget in
6460 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6461 end, where the selector columns are packed now.
6463 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6465 * src/hildon-picker-button.c: Removed the simple _text() API.
6466 * src/hildon-picker-button.h: Likewise.
6468 * src/hildon-touch-selector.h:
6469 * src/hildon-touch-selector.c:
6470 (hildon_touch_selector_new_text),
6471 (hildon_touch_selector_append_text),
6472 (hildon_touch_selector_prepend_text),
6473 (hildon_touch_selector_insert_text):
6475 Moved the simple _text() API from HildonPickerButton to
6476 HildonTouchPicker, to provide better escalability and not to tie
6477 that API to HildonPickerButton.
6479 * examples/hildon-picker-button-example.c: (main): Example updated.
6481 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6483 * src/hildon-button.c: Updated documentation.
6485 * examples/hildon-button-example.c: Add the posibility to create
6486 the buttons using horizontal layout for title and value.
6488 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6490 * src/hildon-app-menu-private.h
6491 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6492 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6493 GtkSizeGroup for the filters, use the 'homogeneous' property of
6496 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6498 * examples/hildon-button-example.c: Updated example.
6500 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6502 * doc/hildon-docs.sgml:
6505 Update documentation.
6507 * examples/Makefile.am: Update renamed examples.
6509 * examples/hildon-picker-button-multicolumn-example.c:
6510 (create_touch_selector), (main): Update after the rename.
6512 * examples/hildon-touch-picker-example.c: Removed.
6513 * examples/hildon-touch-selector-example.c: (value_changed),
6514 (create_selector), (get_visible_content), (main): Renamed from
6515 hildon-touch-picker-example.c
6517 * src/Makefile.am: Updated renamed files.
6519 * src/hildon-date-button.c: (hildon_date_button_init),
6520 (hildon_date_button_get_date), (hildon_date_button_set_date):
6521 * src/hildon-date-selector.c: (hildon_date_selector_init),
6522 (_custom_print_func), (_update_day_model),
6523 (_manage_selector_change_cb),
6524 (hildon_date_selector_select_current_date),
6525 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6526 * src/hildon-date-selector.h:
6527 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6528 (hildon_picker_button_set_property),
6529 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6530 (hildon_picker_button_init), (hildon_picker_button_new_text),
6531 (hildon_picker_button_append_text),
6532 (hildon_picker_button_prepend_text),
6533 (hildon_picker_button_insert_text),
6534 (hildon_picker_button_set_selector),
6535 (hildon_picker_button_get_selector):
6536 * src/hildon-picker-button.h:
6537 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6538 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6539 (_update_title_on_selector_changed_cb), (requires_done_button),
6540 (_hildon_picker_dialog_set_selector),
6541 (hildon_picker_dialog_set_selector),
6542 (hildon_picker_dialog_get_selector):
6543 * src/hildon-picker-dialog.h:
6544 * src/hildon-time-button.c: (hildon_time_button_init),
6545 (hildon_time_button_get_time), (hildon_time_button_set_time):
6546 * src/hildon-time-selector.c: (hildon_time_selector_init),
6547 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6548 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6549 * src/hildon-time-selector.h:
6552 Massive code updates after the rename.
6554 * src/hildon-touch-picker.c: Removed.
6555 * src/hildon-touch-picker.h: Removed.
6557 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6558 (hildon_touch_selector_init), (hildon_touch_selector_map),
6559 (hildon_touch_selector_remove), (_default_print_func),
6560 (_selection_changed_cb), (_create_new_column),
6561 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6562 (hildon_touch_selector_append_text_column),
6563 (hildon_touch_selector_remove_column),
6564 (hildon_touch_selector_set_column_attributes),
6565 (hildon_touch_selector_insert_column),
6566 (hildon_touch_selector_get_num_columns),
6567 (hildon_touch_selector_get_column_selection_mode),
6568 (hildon_touch_selector_set_column_selection_mode),
6569 (hildon_touch_selector_set_print_func),
6570 (hildon_touch_selector_get_print_func),
6571 (hildon_touch_selector_get_active_iter),
6572 (hildon_touch_selector_set_active_iter),
6573 (hildon_touch_selector_get_selected_rows),
6574 (hildon_touch_selector_get_model),
6575 (hildon_touch_selector_set_model),
6576 (hildon_touch_selector_get_current_text),
6577 (_hildon_touch_selector_center_on_selected_items):
6578 * src/hildon-touch-selector.h: Renamed from
6579 hildon-touch-picker.[ch]
6581 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6582 references, code examples, and related documentation.
6584 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6586 * doc/hildon-docs.sgml
6589 * src/hildon-toggle-button.c
6590 * src/hildon-toggle-button.h
6591 * src/hildon.h: New HildonToggleButton widget.
6593 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6595 * src/hildon-button.c: Add API documentation.
6596 (hildon_button_set_size_groups): Check input parameters
6598 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6600 * src/hildon-pannable-area.c
6601 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6602 effect after reaching the movement thredshold. This way we start
6603 using the distance after passing the thredshold.
6605 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6607 * src/hildon-button.c: (hildon_button_set_property): Use the
6608 appropriate g_value_get_flags() method.
6610 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6612 * doc/hildon-docs.sgml:
6615 Add the touch pickers, picker dialogs, and picker button widgets
6616 to the documentation.
6618 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6620 * src/hildon-button.c: (hildon_button_set_property),
6621 (hildon_button_class_init): Make "arrangement-flags" a proper
6622 G_TYPE_FLAGS derived property.
6624 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6626 * examples/Makefile.am: Add below examples.
6627 * examples/hildon-date-button-example.c:
6628 * examples/hildon-picker-button-example.c:
6629 * examples/hildon-picker-button-multicolumn-example.c:
6630 * examples/hildon-time-button-example.c:
6631 * examples/hildon-touch-picker-example.c:
6633 Add examples for the recently added touch pickers,
6634 picker dialogs, and picker button widgets.
6636 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6638 * src/hildon-button.c: Add some API documentation
6640 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6642 * src/hildon-button.h
6643 * src/hildon-button.c
6645 (hildon_button_new_with_text): New constructor to create a button
6646 with no text at all.
6647 (hildon_button_init, hildon_button_set_arrangement)
6648 (hildon_button_set_title, hildon_button_set_value)
6649 (hildon_button_set_text)
6650 (hildon_button_construct_child): Hide the value when it's not used
6651 so the rest of the text is properly aligned.
6652 Allow creating buttons with arbitrary widgets inside (not just
6653 title/value labels).
6655 * examples/hildon-button-example.c (vertical_buttons_window)
6656 (horizontal_buttons_window): Update example to use new API.
6658 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6660 * src/Makefile.am: Added HildonTimeButton.
6661 * src/hildon-time-button.c: Added missing LGPL header.
6662 * src/hildon-time-button.h: Added missing LGPL header.
6663 * src/hildon.h: Add hildon-time-button.h
6665 Copied HildonTimeButton from sandbox to trunk. Future work on this
6666 widget must take place in trunk.
6668 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6670 * src/Makefile.am: Added HildonDateButton.
6671 * src/hildon-date-button.c: Update includes.
6672 * src/hildon.h: Add hildon-date-button.h
6674 Copied HildonDateButton from sandbox to trunk. Future work on this
6675 widget must take place in trunk.
6677 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6679 * src/Makefile.am: Added HildonPickerButton.
6680 * src/hildon-picker-button.h: Update includes.
6681 * src/hildon.h: Add hildon-picker-button.h
6683 Copied HildonPickerButton from sandbox to trunk. Future work on
6684 this widget must take place in trunk.
6686 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6688 * src/Makefile.am: Added HildonPickerDialog.
6689 * src/hildon-picker-dialog.c: Update includes.
6690 * src/hildon.h: Add hildon-picker-dialog.h
6692 Copied HildonPickerDialog from sandbox to trunk. Future work
6693 on this widget must take place in trunk.
6695 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6697 * src/Makefile.am: Added HildonTimeSelector.
6698 * src/hildon.h: Add hildon-time-selector.h
6700 Copied HildonTimeSelector widget from sandbox to trunk. Future
6701 work on this widget must happen in trunk.
6703 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6705 * src/Makefile.am: Added HildonDateSelector.
6706 * src/hildon.h: Add hildon-date-selector.h
6708 Copied HildonDateSelector widget from sandbox to trunk. Future
6709 work on this widget must happen in trunk.
6711 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6713 * src/Makefile.am: Added HildonTouchPicker.
6714 * src/hildon-touch-picker.c: Update includes.
6715 * src/hildon.h: Add hildon-touch-picker.h
6717 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6718 on this widget must happen in trunk.
6720 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6722 * src/hildon-pannable-area.c:
6723 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6725 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6727 * examples/hildon-app-menu-example.c (main): Let the window
6730 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6732 * src/hildon-pannable-area.c
6733 (hildon_pannable_area_class_init): Set the min value of the
6734 overshoot properties to zero, which points out that not
6735 overshooting allowed.
6737 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6739 Modified the procedure to get the widget at a point inside the
6740 pannable area when using the movement type signals. Now the user
6741 has to call a function to get the child, that way we just
6742 calculate the child in case the user really want to use it and not
6745 * src/hildon-marshalers.list: Modified the marshallers, now we do
6746 not have the widget as a parameter.
6748 * src/hildon-pannable-area.c
6749 (hildon_pannable_area_motion_notify_cb),
6750 (hildon_pannable_area_class_init),
6751 (hildon_pannable_get_child_widget_at): Removed the widget
6752 parameter from the signal callback. We have also refactored the
6753 emission of the signals.
6755 * src/hildon-pannable-area.h: Added a new method to the API to
6756 calculate a widget at a point inside the pannable area,
6757 hildon_pannable_get_child_widget_at.
6759 * examples/hildon-pannable-area-example-4.c
6760 (horizontal_movement): Modified the example to use the new API,
6761 added condition to control which widget is under the event. This
6762 way we can avoid scrolling laterally over other widgets.
6764 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6766 * src/hildon-pannable-area.c
6767 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6768 modes, we stop getting the pointer events due to returning the
6769 callback without properly calling the get pointer again. Fixed
6770 also an error using the hscroll and vscroll.
6772 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6774 * src/hildon-app-menu-private.h
6775 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6776 (hildon_app_menu_button_release, hildon_app_menu_init)
6777 (hildon_app_menu_class_init): Don't hide the menu on button
6778 release if the user didn't press outside first.
6780 * src/hildon-window.h
6781 * src/hildon-window.c (hildon_window_toggle_menu)
6782 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6783 hildon_window_toggle_menu a virtual function for the stackable
6784 window to override it.
6786 * src/hildon-stackable-window.h
6787 * src/hildon-stackable-window-private.h
6788 * src/hildon-stackable-window.c
6789 (hildon_stackable_window_realize)
6790 (hildon_stackable_window_finalize)
6791 (hildon_stackable_window_class_init)
6792 (hildon_stackable_window_init)
6793 (hildon_stackable_window_set_main_menu): New function to set the
6794 app menu of a HildonStackableWindow.
6796 * examples/hildon-app-menu-example.c: Remove the button to show
6797 the app menu, now it'll be shown when clicking on the title bar
6800 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6802 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6803 set the widget name if the arrangement flags do not specify
6806 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6808 * src/hildon-button.c: (hildon_button_set_property),
6809 (hildon_button_class_init), (hildon_button_new_full),
6810 (hildon_button_set_arrangement): Added "arrangement-flags"
6813 Make the HildonButtonFlags a construction-only property, to allow
6814 subclasses to set them properly.
6816 2008-07-21 Tim Janik <timj@imendio.com>
6818 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6819 insertion position after backspace, so additional digits are appended,
6822 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6824 * src/hildon-pannable-area.c,
6825 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6826 TODO list, it was complete and removed the g_debug and g_print
6829 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6831 Added the movement modes to the hildon-pannable-area, with this
6832 modes the developers can control in which directions the widget
6833 can scroll. They can also connect to signals in order to do
6834 something when that happens, allowing applications scroll. There
6835 is an example uploaded showing how to use it.
6837 * examples/Makefile.am:
6838 * examples/hildon-pannable-area-example-4.c: Added this example of
6839 an application using the modes.
6841 * src/hildon-marshalers.list: Added a new marshaller for the new
6844 * src/hildon-pannable-area.h: Added new enumerations and flags in
6845 order to control the movement modes and the new signals to warn
6846 about the movements in the area.
6848 * src/hildon-pannable-area.c:
6849 (hildon_pannable_axis_scroll),
6850 (hildon_pannable_area_scroll),
6851 (hildon_pannable_area_motion_notify_cb),
6852 (hildon_pannable_area_get_property),
6853 (hildon_pannable_area_set_property),
6854 (hildon_pannable_area_map),
6855 (hildon_pannable_area_class_init),
6856 (hildon_pannable_area_init),
6857 (hildon_pannable_area_jump_to): Added the modes to control the
6858 movement in the widget. We have added properties to control it,
6859 signals to warn about the movements and refactored some code.
6861 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6863 Changes required in order to allow vfast_factor set to zero to
6866 * src/hildon-pannable-area.c:
6867 (hildon_pannable_area_button_press_cb): Changed the condition, it
6868 is required for not allowing click when vfast_factor is zero.
6869 (hildon_pannable_area_timeout): Initialized velocity variables
6870 when we stop moving, it was less than 1 but not zero and we need
6871 to check zero in some situations.
6872 (hildon_pannable_area_class_init): Changed the default value of
6873 the speed factor, now the button_press is just sent in case the
6874 speed is 2 per cent of the max speed.
6875 (hildon_pannable_area_init): Initialization with 0.
6877 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6879 * src/hildon-pannable-area.c,
6880 (hildon_pannable_area_get_topmost): replaced
6881 gdk_window_get_children with gdk_window_peek_children, this way we
6882 do not have to free the list because it is not a copy.
6884 (hildon_pannable_axis_scroll),
6885 (hildon_pannable_area_scroll),
6886 (hildon_pannable_area_timeout),
6887 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6888 two parameters that were only used inside the
6889 hildon_pannable_area_scroll function.
6891 * examples/hildon-pannable-area-example.c,
6892 (get_sawtooth_label): Fixed small memory leak.
6894 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6896 More checks for the case where the overshoot is bigger than the
6899 * src/hildon-pannable-area.c:
6900 (hildon_pannable_draw_vscroll),
6901 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6902 to draw the slider of the scrollbar under the other scrollbar.
6903 (hildon_pannable_area_expose_event): added new checks to control
6904 the drawing of the overshooting area rectangle, in case it is too
6905 big for the area of the widget.
6906 (hildon_pannable_area_size_allocate): add more checks to avoid
6907 setting a position to the child widget outside the area.
6909 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6911 * src/hildon-pannable-area.c
6912 (hildon_pannable_area_size_allocate): Added conditions to control
6913 when overshooting is bigger than the allocated space for the
6914 children, this avoids negative allocations.
6916 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6918 * doc/hildon-docs.sgml
6920 * examples/Makefile.am
6921 * examples/hildon-button-example.c
6923 * src/hildon-button.c
6924 * src/hildon-button.h
6925 * src/hildon.h: Initial version of the new HildonButton widget,
6928 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6930 * src/hildon-pannable-area.c:
6931 (hildon_pannable_area_button_press_cb),
6932 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6933 (hildon_pannable_area_motion_notify_cb),
6934 (hildon_pannable_area_button_release_cb),
6935 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6936 (hildon_pannable_area_jump_to_child):
6938 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6940 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6942 * examples/Makefile.am
6943 * examples/hildon-pannable-area-touch-grid-example.c
6944 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6945 the Hildon Touch List and Hildon Touch Grid using the
6946 HildonPannableArea widget.
6948 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6950 * src/hildon-pannable-area.c,
6951 (hildon_pannable_area_button_press_cb),
6952 (hildon_pannable_area_refresh),
6953 (hildon_pannable_area_scroll),
6954 (hildon_pannable_area_motion_notify_cb),
6955 (hildon_pannable_area_button_release_cb),
6956 (hildon_pannable_area_expose_event),
6957 (hildon_pannable_area_add),
6958 (hildon_pannable_area_remove),
6959 (hildon_pannable_area_realize),
6960 (hildon_pannable_area_size_allocate),
6961 (hildon_pannable_area_class_init),
6962 (hildon_pannable_area_init),
6963 (hildon_pannable_area_scroll_to_child),
6964 (hildon_pannable_area_jump_to_child): Fixed the problem of
6965 removing the child from the GtkBin, we have rearranged the widget
6966 hierarchy, now there is no GtkAlignment which was not doing
6967 anything interesting but breaking some of the assumptions of
6968 GtkContainer. Now developers if they want to add a GtkAlignment
6969 they could, but it is not inside the area.
6971 We had to review the whole allocation/expose process, now it is
6972 improved and we save at least three signals which would be saving
6973 some time when rendering the widget. The allocation of the
6974 scrollbars is now made in the allocate method as usual.
6976 We have also added some conditions in order to control when there
6977 is no child of the pannable area. Maybe we will need more work
6980 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6982 * src/hildon-pannable-area.c,
6983 (hildon_pannable_area_dispose): Released the fade-out timeout when
6984 disposing the widget.
6986 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6988 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6989 zero, we are going to use that property in order to deactivate the
6991 (hildon_pannable_axis_scroll),
6992 (hildon_pannable_area_size_allocate): Added conditions to control
6993 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6994 call, now it is called in all situations and we can remove calls
6995 in the allocate method.
6996 (hildon_pannable_area_map): Control the situation when
6997 overshoot_max is zero, we do not need the timeout.
6998 (hildon_pannable_area_class_init): Added documentation in order to
6999 point out that setting zero to overshoot_max means deactivate
7002 NOTE: removed trailing whitespaces from my previous comments of
7005 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7007 * src/hildon-pannable-area.c
7008 (hildon_pannable_area_get_property),
7009 (hildon_pannable_area_set_property),
7010 (hildon_pannable_area_map),
7011 (hildon_pannable_area_class_init),
7012 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7013 to cause the widget give a hint about its panning abilities upon
7016 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7018 * src/hildon-pannable-area.c: Several documentation improvements.
7020 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7022 * src/hildon-program.c
7023 * src/hildon-stackable-window.c: Update documentation.
7025 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7027 * src/hildon-stackable-window.c (get_previous_window_if_last):
7028 Renamed get_last_window()
7029 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7030 (hildon_stackable_window_unset_program):
7032 (get_previous_window_if_last):
7033 Detect if the window hasn't been added to a HildonProgram.
7035 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7037 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7039 * src/hildon-pannable-area.c
7040 (hildon_pannable_area_button_press_cb),
7041 (hildon_pannable_axis_scroll),
7042 (hildon_pannable_area_scroll),
7043 (hildon_pannable_area_timeout),
7044 (hildon_pannable_calculate_vel_factor),
7045 (hildon_pannable_area_get_property),
7046 (hildon_pannable_area_set_property),
7047 (hildon_pannable_area_class_init),
7048 (hildon_pannable_area_init),
7049 (hildon_pannable_area_scroll_to),
7050 (hildon_pannable_area_jump_to),
7051 (hildon_pannable_area_scroll_to_child),
7052 (hildon_pannable_area_jump_to_child):
7053 * src/hildon-pannable-area.h: Added the new API functions:
7054 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7055 hildon_pannable_area_scroll_to_child,
7056 hildon_pannable_area_jump_to_child
7059 * examples/Makefile.am
7060 * examples/hildon-pannable-area-example-2.c
7061 * examples/hildon-pannable-area-example-3.c: Added these two new
7062 examples in order to test and show how the new APIs work.
7064 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7066 * examples/hildon-stackable-window-example.c (new_window):
7067 * src/Makefile.am (noinst_HEADERS):
7068 * src/hildon-program.c (hildon_program_go_to_root_window):
7069 * src/hildon-program.h:
7070 * src/hildon-stackable-window-private.h:
7071 * src/hildon-stackable-window.c:
7072 * src/hildon-stackable-window.h:
7073 Create hildon-stackable-window-private.h
7074 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7076 * examples/hildon-app-menu-example.c (create_menu):
7077 * examples/hildon-hvolumebar-insensitive-example.c (main):
7078 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7079 * examples/hildon-toolbar-seekbar-example.c (main):
7080 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7081 * src/hildon-banner.c (hildon_banner_set_property):
7082 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7083 Fix compilation warnings
7085 * src/hildon-window.c:
7088 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7090 * src/hildon-stackable-window.c
7091 (hildon_stackable_window_unset_program):
7092 Calculate correctly whether to show the previous window if the
7093 last one is removed from the stack.
7094 (hildon_stackable_window_go_to_root_window):
7095 Send delete events starting from the topmost window.
7096 Stop if one of the windows is not destroyed.
7098 (hildon_stackable_window_delete_event)
7099 (hildon_stackable_window_class_init):
7100 Ignore the delete event if the window is not the topmost one.
7102 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7104 * src/hildon-pannable-area.c
7105 (hildon_pannable_area_expose_event): Fixed a problem when
7106 selecting the background color of the scrollbars.
7108 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7110 * examples/hildon-stackable-window-example.c
7111 * src/hildon-stackable-window.c
7112 * src/hildon-stackable-window.h
7113 hildon_stackable_window_go_home() renamed to
7114 hildon_stackable_window_go_to_root_window()
7115 Send delete events to windows rather than closing them with
7116 gtk_widget_destroy()
7118 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7120 * src/hildon-pannable-area.c
7121 (hildon_pannable_area_button_release_cb): Fix overshooting in
7124 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7126 * src/hildon-pannable-area.c
7127 (hildon_pannable_area_init): Initially show the scroll indicators.
7128 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7130 Add initial effect showing the widget is pannable.
7132 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7134 * src/hildon-pannable-area.c
7135 (hildon_pannable_area_class_init)
7136 (hildon_pannable_area_set_property)
7137 (hildon_pannable_area_get_property)
7138 (hildon_pannable_area_button_press_cb):
7139 New 'velocity_fast_factor' property to decide which velocity is
7142 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7144 * src/hildon-pannable-area.c
7145 (hildon_pannable_draw_hscroll)
7146 (hildon_pannable_draw_vscroll):
7147 Use float variables to calculate the size of the scrollbars to
7148 avoid error propagation and resizing during scrolling.
7150 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7152 * src/hildon-pannable-area.c
7153 (hildon_pannable_draw_vscroll)
7154 (hildon_pannable_draw_hscroll):
7155 Define a minimum size for the scroll bars
7157 * src/hildon-stackable-window.c
7158 (hildon_stackable_window_go_home): Fix compilation warning
7159 (get_last_window): Minor optimizations
7160 (hildon_stackable_window_class_init): Fix initialization of
7163 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7165 * src/hildon-stackable-window.c: Fixed typos in doc
7167 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7169 * src/hildon-pannable-area.c
7170 (hildon_pannable_area_scroll):
7171 Calculate here whether we need to scroll instead of using the booleans
7172 that tell us whether to /draw/ the scrolling bars.
7174 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7176 * src/hildon-app-menu.h
7178 * src/hildon-app-menu.c
7179 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7180 multiple filter groups related code and API. Now we support only
7182 * examples/hildon-app-menu-example.c:
7184 Update to reflect API changes.
7186 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7188 * src/hildon-stackable-window.c
7189 (hildon_stackable_window_class_init):
7190 Add hildon_stackable_window_realize.
7191 (hildon_stackable_window_realize):
7192 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7193 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7194 to apply theming and behavior specific to HildonStackableWindow
7197 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7199 * src/hildon-note.c (hildon_note_button_release):
7200 Close information notes also when tapping on them
7202 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7204 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7205 ELASTICITY, refactor and review, fix some issues with drawing
7208 * src/hildon-pannable-area.c:
7209 (hildon_pannable_area_button_press_cb): removed the conditions to
7210 avoid clicks when overshooting. It is not required
7212 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7213 define. Refatored and reviewed the code, now we do not need to
7214 manage velocity in motion_notify.
7216 (hildon_pannable_area_motion_notify_cb): We have moved the code
7217 that controls the area_scroll to the axis_scroll function and get
7218 rid of duplicated code.
7220 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7222 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7224 (hildon_pannable_draw_vscroll),
7225 (hildon_pannable_draw_hscroll): Fixed the problems with the
7226 scrollbar drawing, now we do not use two surfaces, it is easier
7227 and saves resources.
7229 (hildon_pannable_area_get_property): Style modification.
7231 (hildon_pannable_area_class_init): Changed some default values.
7233 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7235 * src/hildon-stackable-window.c: Fix some typos in the
7238 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7240 * src/hildon-dialog.c:
7241 Change indentation style
7244 (hildon_note_button_release):
7245 Use root coordinates to check if the release event happened
7248 * src/hildon-app-menu.c
7249 (hildon_app_menu_button_release):
7250 Remove unnecessary check
7252 * examples/hildon-app-menu-example.c
7254 Add cast to fix warning
7256 * src/hildon-app-menu.c
7257 (hildon_app_menu_class_init):
7258 New inner-border style property.
7259 Set all default spacings to 16
7260 (hildon_app_menu_init):
7261 Use vertical-spacing to set the space between filter buttons and
7262 regular menu buttons.
7263 Set the default container border using the inner-border value.
7265 * examples/hildon-app-menu-example.c
7267 Don't set the menu border explicitly, now we have the inner-border
7268 style property for that.
7270 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7272 * src/hildon-app-menu.c (hildon_app_menu_init):
7273 Make the window modal
7275 * src/hildon-note.c (hildon_note_map)
7276 * src/hildon-app-menu.c (hildon_app_menu_map):
7277 Destroy the grab window if we're unable to grab the pointer
7279 * src/hildon-app-menu-private.h
7280 * src/hildon-app-menu.c
7281 (hildon_app_menu_init, hildon_app_menu_finalize)
7282 (hildon_app_menu_map, hildon_app_menu_unmap)
7283 (hildon_app_menu_button_release)
7284 (grab_transfer_window_get):
7285 Bring back the grab window
7286 (hildon_app_menu_realize):
7287 Decorate the window, set WM hint for Matchbox
7289 * src/hildon-note.c (hildon_note_realize):
7290 * src/hildon-banner.c (hildon_banner_realize):
7291 Add WM hints for Matchbox
7293 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7295 * src/hildon-app-menu-private.h
7296 * src/hildon-app-menu.c
7297 (hildon_app_menu_init, hildon_app_menu_finalize)
7298 (hildon_app_menu_map, hildon_app_menu_unmap)
7299 (hildon_app_menu_button_release):
7300 Remove the grab window, it's not needed anymore
7302 * src/hildon-program.c
7303 Fixed typo in documentation
7305 * src/hildon-app-menu.h
7306 * src/hildon-app-menu.c
7307 * examples/hildon-app-menu-example.c
7308 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7310 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7313 Added new transfer_window and close_if_pressed_outside private
7315 (hildon_note_rebuild):
7316 Don't add a cancel button to the information note. It will be
7317 closed when tapping outside
7318 Remove the comment about the OK button in the documentation
7319 (hildon_note_realize):
7320 Set the notification type hint
7321 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7322 Grab/ungrab pointer and keyboard if the note has to be closed when
7324 (hildon_note_button_release):
7325 Close the note when tapping outside (if applicable)
7327 * src/hildon-app-menu.c
7328 Grab/ungrab pointer and keyboard on map/unmap
7329 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7330 Close the menu on button release, not button press
7332 * src/hildon-banner.c
7333 (hildon_banner_set_property)
7334 (hildon_banner_check_position):
7335 Make the banner use the full width of the screen
7336 (hildon_banner_show_information)
7337 (hildon_banner_show_information_with_markup):
7338 Don't display an icon by default
7340 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7342 Added fading scrollbars and adapted all the overshooting code to
7343 horizontal scrolling. We have also fixed bugs with overshooting
7344 and current fading implementation.
7346 * src/hildon-pannable-area.c
7347 (hildon_pannable_area_scroll_indicator_fade): Time out function
7348 used to change the transparency of the scrollbars.
7350 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7351 control and fixed a problem with fading, we now remove the fade
7352 timeout before adding a new one.
7354 (hildon_pannable_axis_scroll):
7355 (hildon_pannable_area_scroll):
7356 (hildon_pannable_area_timeout): Added this functions so we can use
7357 the scroll code both for vertical and horizontal.
7359 (hildon_pannable_area_motion_notify_cb):
7360 (hildon_pannable_area_button_release_cb): Added the horizontal
7361 scrolling control, fixed a problem with the overshooting timeout.
7363 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7364 painting of the scrolls.
7366 (hildon_pannable_draw_vscroll):
7367 (hildon_pannable_draw_hscroll):
7368 (hildon_pannable_area_expose_event):
7369 Draw both scrollbars and rectangles in the overshooting area.
7371 (hildon_pannable_area_get_property):
7372 (hildon_pannable_area_set_property):
7373 Modified the overshoot property to overshoot_max
7375 (hildon_pannable_area_map):
7376 Replaced the comments symbols.
7378 (hildon_pannable_area_size_allocate):
7379 (hildon_pannable_area_class_init):
7380 (hildon_pannable_area_init): Added horizontal scroll, fading
7381 effect properties, fixed a problem when overshooting in the bottom
7384 * examples/hildon-pannable-area-example.c:
7385 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7386 looks better in the example.
7388 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7390 * src/hildon-window.c
7391 * src/hildon-window.h
7392 (hildon_window_class_init)
7393 (hildon_window_unset_program)
7394 (hildon_window_unset_program_real):
7395 Make unset_program a virtual function
7397 * src/hildon-stackable-window.c
7398 * src/hildon-stackable-window.h
7399 Added hildon_stackable_window_go_home()
7401 * examples/Makefile.am
7402 * examples/hildon-stackable-window-example.c
7403 HildonStackableWindow example
7405 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7407 * hildon-pannable-area.c: Added the overshoot property and removed
7408 the OVERSHOOT define. Fixed an indent style error.
7409 (hildon_pannable_area_motion_notify_cb):
7410 (hildon_pannable_area_get_property):
7411 (hildon_pannable_area_set_property): Add overshoot property.
7413 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7416 (hildon_pannable_area_class_init): Installed the new property.
7418 * hildon-pannable-area-example.c: Added a sawtooth function, this
7419 way it is easier to check the movement in the pannable.
7420 (get_sawtooth_label): Added this function.
7421 (main): Now we get the labels from the new get_sawtooth_label
7424 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7426 * src/hildon-app-menu.h
7427 * src/hildon-app-menu.c
7428 Renamed API variables for consistency
7430 (hildon_app_menu_popup): Use also the default window size to
7431 decide where to place the menu
7433 (hildon_app_menu_init, hildon_app_menu_class_init): New
7434 external-border style property
7436 2008-05-26 Michael Natterer <mitch@imendio.com>
7438 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7439 widget_class->tap_and_hold_setup signal slot doesn't exist any
7440 longer, stop overriding it.
7442 (hildon_time_editor_init): g_signal_connect() to the
7443 tap-and-hold-setup signal instead.
7445 (hildon_time_editor_entry_keypress): add cast to fix warning.
7447 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7449 * doc/hildon-docs.sgml
7451 * examples/Makefile.am
7452 * examples/hildon-app-menu-example.c
7454 * src/hildon-app-menu-private.h
7455 * src/hildon-app-menu.c
7456 * src/hildon-app-menu.h
7458 New HildonAppMenu widget
7460 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7462 Rearranged the inheritance of the pannable area, now it inherits
7463 from GtkBin. This will allow us to control the event_window and
7464 the allocation process of the widget, required for some effects.
7466 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7467 GtkBin structures. * src/hildon-pannable-area.c: Added the
7468 event_window variable.
7469 (hildon_pannable_area_button_press_cb):
7470 (hildon_pannable_area_button_release_cb):
7471 (hildon_pannable_area_motion_notify_cb):
7472 Changed the signature of the method, now we override the event
7473 callback instead of connecting to the signal.
7475 (hildon_pannable_area_realize):
7476 (hildon_pannable_area_unrealize):
7477 (hildon_pannable_area_map):
7478 (hildon_pannable_area_unmap):
7479 (hildon_pannable_area_size_allocate):
7480 Added functions to control the widget construction. We add a
7481 INPUT_ONLY window and we put it over the widgets inside the
7482 container, this event_window handles the events.
7484 (hildon_pannable_area_class_init):
7485 Replaced the signal connections with overrides of the event
7488 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7490 Bouncing effect added when touching the borders, you can change
7491 the elasticity of the border changing the ELASTICITY define.
7493 * src/hildon-pannable-area.c: Added ELASTICITY define.
7494 (hildon_pannable_area_timeout): Added inverse velocity when
7495 touching the border of the child widget, that causes a bounce.
7497 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7499 Improved performance, we now do not go to the X server in order to
7500 get the list of window children. Apparently the effect is the
7501 same, we have to be careful and check if this breaks something in
7504 * src/hildon-pannable-area.c:
7505 (get_ordered_children): Removed this function.
7506 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7507 the children windows function with gdk_window_get_children.
7509 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7511 * src/hildon-pannable-area.c:
7512 (hildon_pannable_area_dispose): Fixed a crash when closing the
7513 window and kinetics is activated.
7515 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7517 * src/hildon-pannable-area.h
7518 * src/hildon-pannable-area.c
7519 Changed indentation style to meet the one used in Hildon
7521 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7523 Reviewed the interaction of the AUTO mode, now we use the time
7524 attribute of the events and calculate the velocity in the motion,
7525 doing a gimp like calculation. The velocity is calculated in each
7526 motion event using the last velocity and the current one, the
7527 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7529 * src/hildon-pannable-area.c: Replaced the time based algorithm
7531 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7532 timeout for the AUTO mode when we are still moving the cursor. We
7533 added also the velocity calculation in this function.
7534 (hildon_pannable_area_button_release_cb): launch the timeout in
7535 case we are in AUTO mode. There are still some constants here that
7536 come from the old implementation that should be reviewed and
7539 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7541 * doc/hildon-docs.sgml
7544 * src/hildon-stackable-window.c
7545 * src/hildon-stackable-window.h
7547 New HildonStackableWindow widget
7549 * examples/hildon-dialog-example.c
7550 * examples/hildon-pannable-area-example.c
7553 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7555 * src/hildon-dialog.c
7556 (hildon_dialog_new_with_buttons): New constructor.
7558 * examples/hildon-dialog-example.c
7559 (main): Update the example to use the new
7560 hildon_dialog_new_with_buttons().
7562 * examples/hildon-pannable-area-example.c
7563 (main): Update example.
7565 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7567 * doc/hildon-docs.sgml
7569 Added HildonPannableArea to the documentation.
7571 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7573 * doc/visual_index.xml
7574 Fix reference to HildonLoginDialog in documentation
7576 * doc/hildon-docs.sgml
7578 * examples/Makefile.am
7579 * examples/hildon-dialog-example.c
7581 * src/hildon-dialog.c
7582 * src/hildon-dialog.h
7584 New HildonDialog widget.
7586 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7588 * src/hildon-pannable-area.c
7589 Merge latest changes (r4318, r4342) from libmokoui trunk
7591 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7593 * examples/Makefile.am
7594 * examples/hildon-pannable-area-example.c
7596 * src/hildon-pannable-area.c
7597 * src/hildon-pannable-area.h
7599 New HildonPannableArea widget.
7601 2008-04-15 18:05:19 <timj@imendio.com>
7603 * src/hildon-banner.c: revert the recent change, that introduced
7604 gtk_window_present() calls. this reopens:
7605 Bug 78481 - [freetest] information banners are hidden under browser menu
7606 But resolves another variant of:
7607 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7609 2008-04-15 13:21:13 <timj@imendio.com>
7611 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7612 recreated its layout, spotted by Kris. this fixes all remaining
7613 artefacts and stability issues with the banner code. in particular:
7614 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7616 2008-04-14 16:52:59 <timj@imendio.com>
7618 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7619 operating on unrealized widgets, fixes:
7620 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7622 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7624 2008-04-09 Kristian Rietveld <kris@imendio.com>
7626 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7627 makes banner disappear.
7628 Fixes: NB#79182: info banner flickering with certain message lengts.
7630 * src/hildon-banner.c (hildon_banner_constructor),
7631 (hildon_banner_init), (hildon_banner_set_text),
7632 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7633 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7634 FALSE, reset size requests of label and banner,
7635 (force_to_wrap_truncated): when the text is too wide, always enforce
7636 the maximum possible width instead of recalculating it from the
7637 layout; enforce the maximum banner height of 3 lines,
7638 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7639 nicer wrapping and no truncated chars if space gets tight.
7641 * src/hildon-banner-private.h: add has_been_wrapped and
7642 has_been_truncated fields.
7644 2008-04-07 Sven Herzberg <sven@imendio.com>
7646 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7647 local values in hildon_date_editor_size_allocate
7649 * src/hildon-date-editor.c: moved the real allocation code into the
7652 2008-04-07 Sven Herzberg <sven@imendio.com>
7654 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7655 local values in hildon_date_editor_size_allocate
7657 * src/hildon-date-editor.c: merged the two if() branches together
7659 2008-04-07 Sven Herzberg <sven@imendio.com>
7661 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7662 local values in hildon_date_editor_size_allocate
7664 * src/hildon-date-editor.c: changed the arguments of the if()
7667 2008-04-07 Sven Herzberg <sven@imendio.com>
7669 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7670 local values in hildon_date_editor_size_allocate
7672 * src/hildon-date-editor.c: split the calculation of the allocation
7673 from the real allocation
7675 2008-03-27 Michael Natterer <mitch@imendio.com>
7677 Fixes: NB#81696: The passcode is not overwritten even after
7680 * src/hildon-code-dialog.c
7681 (hildon_code_dialog_button_clicked)
7682 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7683 because that doesn't overwrite selected text. Instead, emit the
7684 "commit" signal on the entry's im_context so the entry's normal
7685 insert logic is triggered. Set the cursor to the end of the entry
7686 after each insert operation so that we *only* insert in the middle
7687 of the text if something was selected.
7689 2008-03-27 Michael Natterer <mitch@imendio.com>
7691 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7692 selector cannot be opened
7694 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7695 when the popup color selector is created. Please connect to this
7696 signal in order to set the dialog's help ID.
7698 2008-03-25 Sven Herzberg <sven@imendio.com>
7700 Fixes: MB#1212: Hide info banners (infoprints) on click
7702 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7703 extracted the close event simulation into an extra function
7704 (hildon_banner_button_press_event): simulate a close event and destroy
7705 the widget if the event wasn't handled
7706 (hildon_banner_class_init): added the button_press_event handler
7707 (hildon_banner_init): added button-press events to the widget
7709 2008-03-25 Sven Herzberg <sven@imendio.com>
7711 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7712 Patch from: Mohammad Anwari <mdamt@maemo.org>
7714 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7715 instead of the right in RTL mode
7716 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7717 breadcrumb button list in RTL mode
7718 * src/hildon-caption.c: mirror the appearance of the caption widget in
7720 * src/hildon-date-editor.c: mirror appearance of the date editor in
7722 * src/hildon-time-editor.c: mirror appearance of the time editor in
7724 * src/hildon-window.c: fix the position of the popup in RTL mode
7726 2008-03-25 Sven Herzberg <sven@imendio.com>
7728 Amendment to the fix of NB#22072. Fix compilation.
7730 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7732 2008-03-19 Sven Herzberg <sven@imendio.com>
7734 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7737 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7738 timeout id properly when the timeout will disappear this leaves no
7739 artifacts around in the destroy(); there will only be the timeout
7740 created by hildon_banner_ensure_timeout() and adding a new timeout
7741 will also work if the timeout gets removed because the timeout_handler
7744 2008-03-19 Michael Natterer <mitch@imendio.com>
7746 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7748 * src/hildon-volumebar.c
7749 * src/hildon-vvolumebar.c
7750 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7751 the widget becomes focussable at all.
7753 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7754 set the focus to wither the mute button or the volumebar.
7756 Remove own "can-focus" property and instead listen to
7757 notify::can-focus in order to update the widget's state.
7759 Implement GtkWidget::focus() and make sure we can also *leave* the
7760 widget, not only enter it, depending on volumebar orientation and
7761 requested focus direction.
7763 Clean up set_mute() to cooperate nicely with all the above.
7765 2008-03-04 Michael Natterer <mitch@imendio.com>
7767 Fixes: NB#78481: information banners are hidden under browser menu
7769 * src/hildon-banner.c: call gtk_window_present() on the banners so
7770 they are risen if they are already visible.
7772 2008-03-03 Sven Herzberg <sven@imendio.com>
7774 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7776 * examples/hildon-window-menu-example.c: (main): extended the window
7777 menu example to serve as a testcase for automatically added
7778 accelerator groups, too
7779 * src/hildon-window.c: (hildon_window_add_accel_group),
7780 (hildon_window_set_menu): added patch by Tommi Komulainen
7782 2008-03-03 Sven Herzberg <sven@imendio.com>
7784 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7786 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7787 knowledge about the border allocators used within GTK+
7789 2008-02-26 Sven Herzberg <sven@imendio.com>
7791 Fixes: MB#2981: Build with asserts broken
7793 * src/hildon-date-editor.c,
7794 * src/hildon-number-editor.c,
7795 * src/hildon-time-editor.c,
7796 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7797 the proper GType instance check
7799 2008-02-25 Sven Herzberg <sven@imendio.com>
7801 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7803 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7804 * examples/hildon-window-menu-example.c: (main): explicitly show
7806 * src/hildon-window.c:
7807 (hildon_window_set_main_menu): moved most of the code from set_menu()
7808 to this place; skipped the call to gtk_widget_show_all(); also didn't
7809 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7810 (hildon_window_set_menu): removed most of the code, just keep the
7811 questionable gtk_widget_show_all()
7812 * src/hildon-window.h: added the new function and deprecate the old
7815 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7821 * debian/changelog: Updating.
7823 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7826 * pkgconfig/Makefile.am:
7827 * pkgconfig/hildon.pc.in:
7830 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7831 use newly created API_MAJOR_VERSION.
7833 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7839 * debian/changelog: Updating.
7841 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7843 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7845 Add outer_border style property, we use it but don't define it (!).
7849 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7851 * examples/hildon-bread-crumb-trail-example.c (main):
7855 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7857 Fix logic for the bread crumb trail node removal.
7861 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7867 * debian/changelog: Updating.
7869 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7871 Patch by Alejandro to get/set passwords dialogs accesibility.
7873 * hildon-1/src/hildon-get-password-dialog.c:
7874 * hildon-1/src/hildon-set-password-dialog.c:
7875 Set atk_set_name to the passwd entries in order to allow
7876 accessibility by name on this entries.
7878 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7883 * debian/control: Updating gtk dep.
7885 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7887 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7888 USE_MAEMO_GTK is enabled.
7890 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7892 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7893 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7895 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7901 * debian/changelog: Updating.
7903 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7905 * examples/Makefile.am:
7906 * examples/hildon-logical-color-example.c:
7907 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7908 applied + adding a test case. Fixes: NB#71660.
7910 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7912 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7913 to be visible, fixes warning on map for windows without toolbars.
7915 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7917 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7918 2.11.0, add a check for that besides the MAEMO_GTK check.
7920 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7926 * debian/changelog: Updating.
7928 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7930 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7931 visibility. Fixes: NB#70842 and MB#615.
7933 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7935 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7936 set the separator as no-show-all so it doesn't unintentionally appear when
7937 someone does a show_all.
7939 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7941 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7942 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7943 toplevel item. Fixes: NB#62031
7945 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7947 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7948 fix the name of the function in the docs.
7950 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7956 * debian/changelog: Updating.
7958 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7960 * examples/hildon-banner-long-example.c: Adding a test-case for long
7963 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7965 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7967 * src/hildon-color-chooser-dialog.c:
7968 * src/hildon-color-chooser.c:
7969 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7970 memory leaks in font selector and color selector. Fixes: NB#70499 and
7973 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7975 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7977 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7979 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7980 little bit bigger. Fixes: #NB63694.
7982 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7988 * debian/changelog: Updating.
7990 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7993 * doc/hildon-docs.sgml:
7994 * doc/images/bread-crumb-trail.png:
7995 * doc/images/calendar-popup.png:
7996 * doc/images/caption.png:
7997 * doc/images/code-dialog.png:
7998 * doc/images/color-button.png:
7999 * doc/images/color-chooser-dialog.png:
8000 * doc/images/color-chooser.png:
8001 * doc/images/controlbar.png:
8002 * doc/images/date-editor.png:
8003 * doc/images/font-selection-dialog.png:
8004 * doc/images/get-password-dialog.png:
8005 * doc/images/hvolumebar.png:
8006 * doc/images/login-dialog.png:
8007 * doc/images/note.png:
8008 * doc/images/number-editor.png:
8009 * doc/images/range-editor.png:
8010 * doc/images/seekbar.png:
8011 * doc/images/set-password-dialog.png:
8012 * doc/images/sort-dialog.png:
8013 * doc/images/time-editor.png:
8014 * doc/images/time-picker.png:
8015 * doc/images/vvolumebar.png:
8016 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8017 Adding the bread-crumb-trial and helpers to the documentation.
8019 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8021 * examples/hildon-find-toolbar-example.c:
8022 * src/hildon-find-toolbar.c:
8023 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8024 actually continue firing the other handlers if connected. Adding a new
8026 hildon_find_toolbar_get_last_index that gets the index of the most
8027 recently added (last) item. Fixes: NB#52301.
8029 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8031 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8032 behaviour. Fixes: NB#68610.
8034 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8036 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8039 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8041 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8042 when realizing the banner. Should make the infonbanner effect a bit more
8045 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8047 * src/hildon-volumebar.c:
8048 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8049 hildon_volumebar_set_range_insensitive_message and
8050 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8052 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8054 * src/hildon-window.c: Fixing the border freeing on destroy.
8056 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8058 * src/hildon-code-dialog-private.h:
8059 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8060 kw keyboard support in HildonCodeDialog.
8062 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8068 * debian/changelog: Updating.
8070 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8072 * src/hildon-date-editor.c:
8073 * src/hildon-number-editor.c:
8074 * src/hildon-private.c:
8075 * src/hildon-private.h:
8076 * src/hildon-time-editor.c:
8077 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8078 handling in subclassed composite widgets. Fixes: NB#66628.
8080 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8082 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8083 from destroy_ callback as it introduces problems in async dbus signal
8084 handlers. Fixes NB#66673.
8086 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8088 * examples/hildon-hvolumebar-example.c:
8089 * src/hildon-volumebar.c: Improving the focus handling in the
8090 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8091 set_property accessor so that "mute" property can be actually set. I'm
8092 scared that nobody noticed it's totally broken.
8094 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8096 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8099 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8101 * src/hildon-calendar.c:
8102 * src/hildon-number-editor.c:
8103 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8104 matches the spec of 6 chars per second. Fixes: NB#60489.
8106 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8108 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8109 gtk_style_lookup_color sometime returns FALSE even though color was
8110 found and values were filled properly. Weird. Removing the warning for the
8113 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8115 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8116 expand vertically. Adding some extra space to the find toolbar buttons to
8117 make them thumbable. Fixes NB#66060.
8119 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8121 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8122 popup with "Ok" and "Cancel". Fixes NB#59299.
8124 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8126 * src/hildon-calendar.c: Process all window updates before executing next
8127 timeout. Fixes: NB#54146.
8129 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8135 * debian/changelog: Updating.
8137 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8139 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8140 the client event and ignore it, since we use the delete event to close
8143 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8145 * src/hildon-helper.c: Remove the bogus warning about color not being
8146 found. Fixes NB#58352.
8148 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8150 * examples/Makefile.am:
8151 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8152 HildonSeekbar widget inside a toolbar.
8154 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8156 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8157 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8158 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8159 don't want to be closed by non-temporary windows on map.
8161 Also use G_DEFINE_TYPE instead of manually typed code.
8163 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8170 * debian/rules: Updating.
8172 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8174 * examples/Makefile.am:
8175 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8176 bug NB#61128. Strangely it works.
8178 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8180 * src/hildon-date-editor.c: When the date editor entry has been changed
8181 but the numbers of characters < max, turn off the skip validation flag.
8182 Prevents a situation when we enter first a valid year and later re-write
8183 it with an invalid one. Fixes NB#60154.
8185 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8187 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8188 code dialog. Fixes NB#64355.
8190 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8192 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8193 switching the page. Fixes NB#49374.
8195 * examples/Makefile.am:
8196 * examples/hildon-wizard-dialog-example.c: Adding an example for
8197 HildonWizardDialog that shows how to handle manual sensitivity setting on
8200 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8204 * src/hildon-version.h.in:
8205 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8207 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8209 * src/hildon-volumebar.c: Updating the docs.
8211 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8217 * debian/changelog: Updating.
8219 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8221 * src/hildon-find-toolbar.c:
8222 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8223 selected item: hildon_find_toolbar_set_active,
8224 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8225 hildon_find_toolbar_get_active_iter . They correspond to respective
8226 GtkComboBox functions.
8228 * examples/Makefile.am:
8229 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8232 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8234 * examples/Makefile.am:
8235 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8238 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8239 when font size > 32 and we pack a focusable widget inside. Actually using
8240 the default response would work too, but since we don't show default
8241 response state in any way (no theming) it would not be visible to the
8242 user. Fixes NB#63430.
8244 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8246 * src/hildon-date-editor.c: Adding the missing variable setter in the
8247 set_property handler. Fixes NB#54182.
8249 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8251 * src/hildon-window.h: Changing the long key press time from 1500ms to
8252 800ms as requested in NB#63700. I have a bad feeling about this, let's
8253 see... Fixes NB#63700.
8255 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8257 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8258 hildon_time_picker_map, hildon_time_picker_realize,
8259 hildon_time_picker_style_set): Split the contents of map to more
8260 appropriate functions; set window decorations on realize and update
8261 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8263 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8268 * debian/changelog: Updating.
8270 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8272 * src/Makefile.am: fixed installation of the header files
8274 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8280 * debian/changelog: Updating.
8282 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8284 * configure.ac: Removing some remaining of --enable-xan.
8286 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8288 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8289 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8291 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8292 2.10.12-osso6 because the move-focus signal needs to be available in
8295 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8297 * examples/Makefile.am:
8298 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8299 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8300 fine. Prolly NB#61128 is fixed now.
8302 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8304 * src/hildon-volumebar.c:
8305 * src/hildon-volumebar.h: Adding the
8306 hildon_volumebar_set_range_insensitive_message and
8307 hildon_volumebar_set_range_insensitive_messagef functions to set
8308 insensitive message on the slider of the volumebar. Fixes NB#61129.
8310 * examples/Makefile.am:
8311 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8312 test the new insensitive messsage functionality on HildonVolumebar.
8314 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8316 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8319 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8321 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8322 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8323 button on after clearing the trail.
8325 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8327 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8329 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8331 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8332 by splitting the installed headers in generated and non-generated groups. Use
8333 only the non-generated headers to create the hildon-enum-types.h file.
8335 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8337 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8339 * src/hildon-window.c: Hide the window before performing the destroy.
8340 Should make the app closing a little tiny bit more snappy.
8342 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8344 * src/hildon-seekbar.c: add gtkrange.h header
8345 * src/hildon-caption.c: remove unused variable
8347 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8349 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8352 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8358 * debian/changelog: Updating.
8360 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8362 * src/hildon-window.c (hildon_window_window_state_event,
8363 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8364 escape timeout on focus-out-event rather than notify::is-topmost; the
8365 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8367 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8369 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8370 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8372 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8374 * src/hildon-window: actually, you need to use the macro always, there's
8375 no private pointer in the instance structure. We should have cleaned this up
8376 when we had the chance...
8378 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8380 * src/hildon-window.c: do not get the private date from HildonWindow before
8381 it passes the g_return_if_fail check. Once it's passed the test, there's no
8382 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8383 if you are only going to access the data once. Whitespace cleanups.
8385 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8387 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8388 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8390 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8396 * debian/changelog: Updating.
8398 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8400 * src/hildon-window.c: When destroying the window, remove (if exists) the
8401 escape timeout handler. Fixes #NB59276.
8403 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8405 * src/hildon-banner.c: When realizing the widget, set the window
8406 transiency. Setting the transiency in the gobject constructor is not
8407 good, as the widget is not realized at that point. Fixes: #NB56624.
8409 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8411 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8412 Add padding for future expansions.
8414 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8416 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8417 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8418 will fake an activation on the previous to the last item of the trail, so
8419 the effect can be overrided by the developer as usual.
8420 Also change the callback for the back button to do the same thing, so its
8421 effect can be overrided too. Fixes: NB#58982
8423 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8425 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8426 HildonCaption. Fixes NB#52379.
8428 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8430 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8431 the internal state of the trail after the user has had the chance of executing
8432 his handler for the signal. Specifically, it may happen that the activated button
8433 is removed and the user still lets the default handler run. This would segfault
8436 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8438 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8439 scrollbar to the preview dialog. Fixes NB#54147.
8441 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8443 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8444 max/min year properties can be altered, so the client can modify it
8445 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8447 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8449 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8450 hildonlike by default. Fixing a problem with disappearing arrows when
8451 scrolling through months and years. Fixes NB#54127.
8453 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8455 * examples/hildon-date-editor-example.c: Adding error callback to the date
8458 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8464 * configure.ac: Updating.
8466 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8468 * configure.ac: Adding a special '--enable-xan' configure option that
8469 turns off the -Werror compilation setting. Usefull for development.
8471 * src/hildon-calendar.c:
8472 * src/hildon-number-editor.c:
8473 * src/hildon-time-picker.c: Adding the 5* multiplier to
8476 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8478 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8479 instead of g_object_ref + gtk_object_sink.
8481 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8487 * debian/changelog: Updating.
8489 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8491 * src/hildon-color-chooser-dialog.c:
8492 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8493 straight from Tommi labs.
8495 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8497 * examples/hildon-finger-example.c: Correcting the header file path.
8499 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8500 the changed signal. Fixes a small memory leak.
8502 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8506 * src/hildon-banner.c: Importing several usefull fixes from the
8507 ubuntu-mobile branch.
8509 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8511 * examples/Makefile.am:
8512 * examples/hildon-finger-example.c: Adding a finger-checking code
8515 * src/hildon-font-selection-dialog.c: Do not allocate the color
8516 structure using the g_new. Fixes NB#54061.
8518 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8520 * src/hildon-helper.c: Correcting tabs in file.
8522 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8524 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8525 control the visibility of the children.
8527 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8529 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8535 * debian/changelog: Updating.
8537 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8539 * src/hildon-bread-crumb-trail.c:
8540 (hildon_bread_crumb_trail_size_allocate):
8542 Make the back button always a square.
8544 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8546 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8547 from the .c file as it's a private file.
8549 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8551 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8552 uses slightly bigger height.
8554 * src/hildon-font-selection-dialog.c: Adding some checks before
8555 freeing memory in the font selection dialog.
8557 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8559 * src/hildon-font-selection-dialog.c: Adding a small check when
8562 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8563 buttons sensitivity on page switching.
8565 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8567 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8568 internal details of adding a bread crumb to the trail.
8570 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8576 * debian/changelog: Updating.
8578 * src/hildon-bread-crumb-trail.h:
8579 * src/hildon-bread-crumb.h: Changing the API guard to
8580 HILDON_ENABLE_UNSTABLE_API.
8582 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8590 * src/hildon-helper.h: Updating.
8592 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8600 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8604 * src/hildon-helper.h: Small fix to make the package actually compile.
8606 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8608 * src/hildon-bread-crumb-trail.h:
8609 * src/hildon-bread-crumb.h:
8611 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8612 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8614 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8616 * examples/hildon-bread-crumb-trail-example.c:
8618 * src/hildon-bread-crumb-trail.c:
8619 * src/hildon-bread-crumb-trail.h:
8620 * src/hildon-bread-crumb.c:
8621 * src/hildon-bread-crumb.h:
8622 * src/hildon-marshalers.list:
8623 * src/hildon-bread-crumb-widget.c:
8624 * src/hildon-bread-crumb-widget.h:
8626 Slight change in the widget design. The bread crumb trail API is
8627 unchanged, but HildonBreadCrumb is now an interface. A *private*
8628 implementation, hildon-bread-crumb-widget, is provided and used
8629 internally by the trail for the push_text/push_icon functions.
8631 The generic push API is still available, so anyone can implement
8632 and use its own bread crumb widget.
8634 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8636 * debian/rules: Fixing the shlibs.
8638 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8640 * src/hildon-banner.c: Fixing a problem with timed banners having
8641 their parrent destroyed before they are.
8643 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8645 * src/hildon-bread-crumb.c:
8646 * src/hildon-bread-crumb.h:
8648 Make the get_natural_size function a vfunc.
8650 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8652 * src/hildon-bread-crumb.c:
8653 * src/hildon-bread-crumb-trail.c:
8657 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8664 * debian/changelog: Updating for release.
8666 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8668 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8669 don't leak the pango layout.
8671 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8674 * examples/hildon-bread-crumb-trail-example.c:
8678 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8680 * debian/changelog: Removing the bug-fixed entries that were actually
8681 resolved as WONTFIX.
8683 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8686 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8688 * src/hildon-bread-crumb-trail.c:
8689 * src/hildon-bread-crumb-trail.h:
8690 * src/hildon-bread-crumb.c:
8691 * src/hildon-bread-crumb.h:
8695 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8697 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8698 until it's passed the type check.
8700 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8702 * examples/hildon-bread-crumb-trail-example.c
8706 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8708 * examples/Makefile.am
8709 * examples/hildon-bread-crumb-trail-example.c
8711 * src/hildon-bread-crumb-trail.c
8712 * src/hildon-bread-crumb-trail.h
8713 * src/hildon-bread-crumb.c
8714 * src/hildon-bread-crumb.h
8716 New HildonBreadCrumbTrail widget.
8718 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8720 * src/hildon-range-editor.c (hildon_range_editor_init),
8721 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8722 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8723 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8724 hildon_time_editor_class_init, hildon_time_editor_init),
8725 src/hildon-get-password-dialog.c (invalid_input,
8726 hildon_get_password_set_property, hildon_get_password_get_property,
8727 create_contents, hildon_get_password_dialog_set_max_characters),
8728 src/hildon-set-password-dialog.c (create_contents),
8729 src/hildon-date-editor.c (hildon_date_editor_init),
8730 src/hildon-login-dialog.c (hildon_login_dialog_init),
8731 src/hildon-number-editor.c (hildon_number_editor_init),
8732 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8733 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8734 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8735 configure option and adding the respective checks in the code.
8736 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8737 hildon_calendar_drag_data_received): fixed some build warnings.
8739 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8741 * debian/changelog: A 1.0.0 release notes.