1 2009-06-12 Alberto Garcia <agarcia@igalia.com>
6 * hildon/hildon-banner-private.h
7 * hildon/hildon-banner.c:
8 Move HildonBannerPrivate to hildon-banner.c and remove
9 hildon-banner-private.h
10 Use a bit field to store private booleans.
12 2009-06-12 Alberto Garcia <agarcia@igalia.com>
14 * hildon/hildon-app-menu.c (hildon_app_menu_map):
15 Don't install a new idle function if there's already one
20 2009-06-11 Alberto Garcia <agarcia@igalia.com>
22 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
23 (+legacy_menu_realized, +legacy_menu_unmapped)
24 (+set_legacy_menu_type):
25 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
26 they can be identified by the window manager.
28 Fixes: NB#101437 (Invoking CSM on the left side of page area is
29 displayed in wrong location)
31 Fixes: MB#4563 (Popup menu won't locate at the left side of the
34 2009-06-11 Alberto Garcia <agarcia@igalia.com>
36 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
38 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
41 2009-06-11 Alberto Garcia <agarcia@igalia.com>
43 * hildon/hildon-code-dialog.c
44 * hildon/hildon-date-editor.c
45 * hildon/hildon-number-editor.c
46 * hildon/hildon-seekbar.c
47 * hildon/hildon-stackable-window.c
48 * hildon/hildon-window.c:
49 Misc documentation updates
51 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
53 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
54 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
56 Fixes: NB#117931 (Theming issues in accounts dialogs)
58 2009-06-09 Alejandro G. Castro <alex@igalia.com>
60 * hildon/hildon-pannable-area.c,
61 (hildon_pannable_area_button_release_cb): Changed the coordinates
62 of the original release in case we want to discard the release,
63 some widgets in Fremantle do not handle the leave-notify.
65 2009-06-09 Alejandro G. Castro <alex@igalia.com>
67 * hildon/hildon-pannable-area.c,
68 (hildon_pannable_area_button_release_cb): Reviewed the logic of
69 the release using the last refactored functions and avoiding the
70 movement if an element was selected.
72 2009-06-09 Alejandro G. Castro <alex@igalia.com>
74 * hildon/hildon-pannable-area.c,
75 (hildon_pannable_area_check_move),
76 (hildon_pannable_area_handle_move),
77 (hildon_pannable_area_motion_notify_cb): Refactored the
78 motion_notify method using a couple of new functions.
80 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
82 * hildon/hildon-date-selector.c:
83 (hildon_date_selector_construct_ui):
84 * hildon/hildon-time-selector.c:
85 (hildon_time_selector_constructor):
86 * hildon/hildon-touch-selector-entry.c:
87 (hildon_touch_selector_entry_set_text_column),
88 (hildon_touch_selector_entry_get_text_column):
89 * hildon/hildon-touch-selector.c: (_default_print_func),
90 (hildon_touch_selector_new_text): Use
91 hildon_touch_selector_set/get_text_column() instead of
92 setting/getting the "text-column" property.
94 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
96 * doc/hildon-sections.txt: Add the new public methods below.
98 * examples/hildon-picker-button-multicolumn-example.c:
99 (create_touch_selector):
100 * examples/hildon-touch-selector-example.c: (create_selector):
101 * examples/hildon-touch-selector-multi-cells-example.c:
103 Use hildon_touch_selector_column_set_text_column()
105 * hildon/hildon-touch-selector-column.h:
106 * hildon/hildon-touch-selector.c:
107 (hildon_touch_selector_column_set_text_column),
108 (hildon_touch_selector_column_get_text_column):
109 Make hildon_touch_selector_column_set/get_column() public, use
110 them in the inline example, document them, and reference to them
113 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
115 * hildon/hildon-time-selector.c: Fix the docs for
116 hildon_time_selector_new_step().
118 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
120 * hildon/hildon-touch-selector.c: Improve the documentation for
121 hildon_touch_selector_append_column().
123 Fixes MB#4641 (Documentation:
124 hildon_touch_selector_append_column() ref-counting)
126 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
128 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
129 Comment out test 5, since the hildon_controlbar_set_range() range
130 check is broken and fixing it would have side effects. Also,
131 this finally fixes make distcheck.
133 Fixes: NB#101420 (Update unit tests and fix make distcheck)
135 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
137 * tests/TEST-CASES.txt: Remove other bogus test.
138 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
139 Remove bogus test that was setting/retrieving a valid value.
141 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
143 * tests/TEST-CASES.txt: Remove bogus tests.
144 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
145 Remove three bogus tests that were actually setting valid colors.
147 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
149 * configure.ac: post release version bump
150 * debian/changelog: post release version bump
152 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
157 * configure.ac: Bump version.
158 * debian/changelog: Updates.
160 2009-06-08 Christian Dywan <christian@lanedo.com>
164 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
165 Correct errors in hildon_format_file-size_for_display and use
166 translations from the hildon-fm package instead of osso-filemanager.
168 2009-06-08 Alejandro G. Castro <alex@igalia.com>
170 * hildon/hildon-pannable-area.c,
171 (hildon_pannable_area_init): Initialized new values to handle the
173 (hildon_pannable_area_adjust_value_changed): Check if the values
174 changed before even call the redraw function.
175 (hildon_pannable_area_size_allocate),
176 (hildon_pannable_axis_scroll),
177 (hildon_pannable_area_scroll),
178 (hildon_pannable_area_jump_to): Improved the diagonal movement
181 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
184 2009-06-08 Alberto Garcia <agarcia@igalia.com>
186 * examples/hildon-banner-example.c:
187 Several style updates
188 (on_animation_clicked, on_animation_idle)
189 (on_progress_clicked, on_progress_idle):
190 Add additional reference for the cases when the parent window is
193 2009-06-08 Alberto Garcia <agarcia@igalia.com>
195 * doc/hildon-sections.txt
196 * hildon/hildon-pannable-area.c
197 * hildon/hildon-banner.h
198 * hildon/hildon-banner.c: Documentation updates.
200 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
203 2009-06-05 Alejandro G. Castro <alex@igalia.com>
205 * hildon/hildon-calendar-popup.h:
206 * hildon/hildon-caption.h:
207 * hildon/hildon-code-dialog.h:
208 * hildon/hildon-controlbar.h:
209 * hildon/hildon-date-editor.h:
210 * hildon/hildon-dialog.h:
211 * hildon/hildon-get-password-dialog.h:
212 * hildon/hildon-hvolumebar.h:
213 * hildon/hildon-login-dialog.h:
214 * hildon/hildon-note.h:
215 * hildon/hildon-number-editor.h:
216 * hildon/hildon-range-editor.h:
217 * hildon/hildon-seekbar.h:
218 * hildon/hildon-set-password-dialog.h:
219 * hildon/hildon-sort-dialog.h:
220 * hildon/hildon-time-editor.h:
221 * hildon/hildon-time-picker.h:
222 * hildon/hildon-volumebar-range.h:
223 * hildon/hildon-volumebar.h:
224 * hildon/hildon-vvolumebar.h:
225 * hildon/hildon-weekday-picker.h:
226 * hildon/hildon-window.h:
227 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
228 macros with the current replacements
230 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
232 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
234 * hildon/hildon-color-button.c (hildon_color_button_init): Use
235 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
236 itself, to make it fit better with Fremantle style.
238 Fixes: NB#109878 (height and width of focus on color icon is not
239 consistent with other item in the application tool bar)
241 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
243 * hildon/hildon-touch-selector.c:
244 (hildon_touch_selector_optimal_size_request): use the current requisition
245 as the base, in order to include any possible extra widget, like the
246 hildon entry on HildonTouchSelectorEntry
248 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
250 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
252 * configure.ac: post release version bump
253 * debian/changelog: post release version bump
255 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
260 * configure.ac: Bump version.
261 * debian/changelog: Updates.
263 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
265 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
267 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
268 to ensure the banner contents are centered, instead of relying on
269 the expand and fill properties in GtkHBox.
270 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
272 Fixes: NB#108265 (Animation banner not properly centered)
274 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
276 * hildon/hildon-pannable-area.c
277 (hildon_pannable_area_initial_effect): Remove the initial_effect
278 management, check initial_hint
279 (hildon_pannable_are_expose_event): Remove the initial_hint management,
280 set initial_effect to FALSE
281 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
282 by launching the fade_timeout if the scrollbars state has changed and are
284 * examples/hildon-pannable-area-initial-hint-example.c
285 Modified to allow to remove rows too. Add and remove rows one by one.
287 2009-05-28 Alberto Garcia <agarcia@igalia.com>
289 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
290 Don't close the menu if there's an animation actor below it.
292 Fixes: NB#117927 (Application menu not usable with animation
295 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
297 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
298 "focus-on-click" from the dialog button, to avoid stealing the
299 focus from the entry.
301 Fixes: NB#118903 (Account setup wizard: Text in Search field
302 should be focused when "Region" touch list picker is reopened
305 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
307 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
308 (prepare_action_area): Completely hide the dialog separator.
310 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
312 * hildon/hildon-touch-selector-entry.c
313 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
314 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
315 now that the entry is exposed.
317 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
319 * hildon/hildon-touch-selector-entry.c
320 (hildon_touch_selector_entry_init): Change the entry's size
321 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
323 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
325 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
326 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
327 avoid unnecessary scaling.
329 2009-05-27 Alberto Garcia <agarcia@igalia.com>
331 * hildon/hildon-app-menu.c (hildon_app_menu_map):
332 Create grab transfer window before calling parent's map function.
334 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
335 "crushed" button(s) in the top left corner)
337 2009-05-26 Alberto Garcia <agarcia@igalia.com>
339 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
340 Check if the window is already realized when pushing it.
342 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
344 * configure.ac: post release version bump
345 * debian/changelog: post release version bump
347 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
352 * configure.ac: Bump version.
353 * debian/changelog: Updates.
355 2009-05-25 Alberto Garcia <agarcia@igalia.com>
357 * hildon/hildon-app-menu.c: Doc updates.
359 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
361 * hildon/hildon-banner.c: Remove leftover macro.
363 2009-05-25 Alejandro G. Castro <alex@igalia.com>
365 * hildon/hildon-pannable-area.c,
366 (hildon_pannable_area_scroll_indicator_fade),
367 (hildon_pannable_area_button_release_cb): Reviewed vmin
368 conditions, it could cause problems in the fadeout procedure.
370 2009-05-25 Alejandro G. Castro <alex@igalia.com>
372 * hildon/hildon-pannable-area.c
373 (hildon_pannable_area_button_release_cb): Added a threshold to
374 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
376 2009-05-25 Alejandro G. Castro <alex@igalia.com>
378 * hildon/hildon-pannable-area.c,
379 (hildon_pannable_area_set_property): Added code to sync the gtk
380 dnd threshold with the panning threshold.
382 2009-05-25 Alejandro G. Castro <alex@igalia.com>
384 * hildon/hildon-pannable-area.c,
385 (hildon_pannable_area_class_init): Changed some of the default
386 values, now it should be less responsive and more accurate.
388 2009-05-25 Alejandro G. Castro <alex@igalia.com>
390 * hildon/hildon-pannable-area.c,
391 (hildon_pannable_area_init),
392 (hildon_pannable_area_scroll_indicator_fade),
393 (hildon_pannable_area_button_press_cb),
394 (hildon_pannable_axis_scroll),
395 (hildon_pannable_area_timeout),
396 (hildon_pannable_area_motion_notify_cb),
397 (hildon_pannable_area_button_release_cb): Changed the name of the
398 clicked attribute to button_pressed, it is more clear about its use.
400 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
402 * src/hildon-pannable-area.c
403 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
405 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
406 vertical scrollbar visibility, and use the data on private section instead,
407 remove the initial_hint check
408 (hildon_pannable_area_expose_event): add the initial_hint check here
410 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
412 * src/hildon-pannable-area.c
413 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
414 if the fadeout effect was used
415 (hildon_pannable_area_expose_event): check if it is required to
416 manage the initial effect on the begining of the function. Previously
417 it was made at the end, but this doesn't ensure that the scrollbars
418 will be painted on the first show. Do not set to FALSE initial_effect,
419 to ensure that the initial hint is showed the first time the pannable
421 * examples/Makefile.am
422 * examples/hildon-pannable-area-initial-hint-example.c:
423 New example, to show that the initial-hint is showed when the widget
426 Fixes: NB#116607 (Pannable area should always have scrollbar visible
427 initially if the application can be scrolled)
429 2009-05-25 Alberto Garcia <agarcia@igalia.com>
431 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
432 Resize table before adding new items to make sure that
433 gtk_table_resize() is called just once.
435 2009-05-25 Alberto Garcia <agarcia@igalia.com>
437 * hildon/hildon-app-menu-private.h
438 * hildon/hildon-app-menu.c (item_visibility_changed)
439 (filter_visibility_changed, hildon_app_menu_show_all)
440 (hildon_app_menu_hide_all, hildon_app_menu_init):
441 Rearrange items just once when gtk_widget_show_all()/hide_all()
444 2009-05-25 Alberto Garcia <agarcia@igalia.com>
446 * hildon/hildon-app-menu.c
447 (hildon_app_menu_insert, hildon_app_menu_add_filter):
448 Don't call gtk_widget_show() on added items.
450 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
451 automatically when they're added)
453 2009-05-20 Alberto Garcia <agarcia@igalia.com>
455 * hildon/hildon-banner.c
456 (hildon_banner_realize, +hildon_banner_unrealize)
457 (+screen_size_changed, hildon_banner_class_init):
458 Redisplay the banner if the screen is rotated.
460 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
461 on transition from landscape to portrait)
463 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
465 * hildon/hildon-banner.[ch]:
466 (hildon_banner_show_information_override_dnd): remove icon_name from the
467 method definition as it is ignored.
468 * examples/hildon-banner-dnd-example.c: updated with the change on
471 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
473 * hildon/hildon-banner-private.h: new require_override_dnd and
474 overrides_dnd variables
475 * hildon/hildon-banner.h:
476 (hildon_banner_show_information_override_dnd): new method, that shows
477 the information but sets the override flag, in order to show important
479 * hildon/hildon-banner.c
480 (hildon_banner_show_information_override_dnd): new method
481 (hildon_banner_set_override_flag): new utility function
482 (hildon_banner_real_show_information): new utility function, in order to
483 generalize the current hildon_banner_show_information_override_dnd and
484 hildon_banner_show_information_override_dnd
485 * examples/Makefile.am
486 * examples/hildon-banner-dnd-example.c: New example that show how to
487 use the new hildon_banner_show_information_override_dnd
489 Fixes: NB#114874 (There is no possibility to show hildon banners with
492 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
494 * hildon/hildon-pannable-area.c: Add a comment explaining the math
495 behind hildon_pannable_calculate_vel_factor().
497 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
499 * hildon/hildon-pannable-area.c
500 (hildon_pannable_calculate_vel_factor): Correct the sum of the
501 deceleration factors.
503 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
505 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
506 Reduce the default value for 'scroll_time' to 1 second, since the
507 current initial scrolling takes too much time.
509 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
511 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
512 calculate velocity factor during initialization, since the properties
515 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
517 * hildon/hildon-pannable-area.c
518 (hildon_pannable_area_set_property): Calculate the velocity factor
519 after setting the deceleration property and not after.
521 2009-05-20 Alberto Garcia <agarcia@igalia.com>
523 * hildon/hildon-entry.c
524 (hildon_entry_class_init, +set_property, hildon_entry_new)
525 * hildon/hildon-check-button.c
526 (hildon_check_button_class_init)
527 (+set_property, hildon_check_button_new):
528 Make the theme size a property.
530 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
531 others) do too much in the _new function)
533 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
535 * configure.ac: post release version bump
536 * debian/changelog: post release version bump
538 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
543 * configure.ac: Bump version.
544 * debian/changelog: Updates.
546 2009-05-15 Alberto Garcia <agarcia@igalia.com>
548 * hildon/hildon-gtk.h
549 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
550 New API function to take a screenshot of a window
552 Fixes: NB#106374 (Need API to take a loading screenshot)
554 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
556 * hildon/hildon-time-selector.c
557 (update_format_policy): prevent to use hours and minutes unitialized
559 2009-05-15 Alberto Garcia <agarcia@igalia.com>
561 * hildon/hildon-window.c (hildon_window_size_request):
562 Always request the full size of the screen (minus the title bar if
563 not in fullscreen mode).
565 Fixes: NB#107486 (HildonWindow should size itself properly)
567 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
569 * hildon/hildon-note-private.h: Add idle_handler to the private data.
570 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
571 (on_show_cb), (sound_handling): Disconnect the idle handler for
572 the sound when the note is finalized to avoid possible crashes.
574 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
577 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
579 * src/hildon-animation-actor.c,
580 * src/hildon-remote-texture.c:
581 Added proper object cleanup to remove signal handler and object
582 references as HildonAnimationActor and HildonRemoteTexture
583 objects get destroyed.
585 Fixes: NB#116682 (Destroying parented animation actors when
586 parent in unmapped leads to crash)
588 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
590 Based on a patch by Christian Dywan (christian@imendio.com)
592 * doc/hildon-sections.txt:
593 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
594 * hildon/hildon-helper.h: New file size formatting method.
596 * debian/control: Depend on osso-filemanager l10n package for
597 proper localization strings.
599 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
601 * tests/Makefile.am: Include top_srcdir to make possible to build
602 tests in a different builddir.
603 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
604 on a different builddir.
606 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
608 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
609 (hildon_touch_selector_remove): Disconnect model's signal handler
612 Fixes: NB#116289 (Hildon home crashes while adding task
615 2009-05-11 Alberto Garcia <agarcia@igalia.com>
617 * hildon/hildon-button.c
618 (hildon_button_set_title, hildon_button_set_value):
619 Hide labels containing an empty string.
621 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
623 * configure.ac: post release version bump
624 * debian/changelog: post release version bump
626 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
631 * configure.ac: Bump version.
632 * debian/changelog: Updates.
634 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
636 * hildon/hildon-note-private.h: Removed sound_signal_handler
637 * hildon/hildon-note.c
638 (on_show_cb): new callback on note "show" event, this simply adds
639 a idle, with the function sound_handling
640 (sound_handling): removed the sound_signal_handler management
641 (hildon_note_init): connect note "show" event to on_show_cb
642 (hildon_note_realize): remove the connection to "expose-event"
644 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
645 device?' confirmation note)
647 2009-05-08 Alberto Garcia <agarcia@igalia.com>
649 * hildon/hildon-note.c
650 (hildon_note_new_information_with_icon_name)
651 (hildon_note_new_confirmation_with_icon_name):
652 Terminate the list of parameters in g_object_set() calls
654 Fixes: NB#115166 (Formatting memory card is not taking place)
656 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
658 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
659 "dialog-information" role for the sound being played.
661 2009-05-06 Alberto Garcia <agarcia@igalia.com>
663 * hildon/hildon-app-menu.c (hildon_app_menu_init):
664 Don't make the menu a modal window, it causes strange interactions
665 with the pointer grab and it's not really needed.
667 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
669 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
671 * hildon/hildon-touch-selector.[ch]
672 (hildon_touch_selector_optimal_size_request): function added to get a
673 optimal size request from the touch selector, when you want a dialog to
674 show as much of the selector
675 * hildon/hildon-picker-dialog.c:
676 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
677 (hildon_app_menu_class_init):
678 New "max-height-landscape" and "max-height-portrait" style properties
679 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
680 (hildon_picker_dialog_get_max_height): returns the maximum height using
681 the style properties defined and checking the current portrait/landscape
683 (_hildon_picker_dialog_set_selector): removed the set_size_request
685 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
687 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
689 * hildon/hildon-bread-crumb-trail.c:
690 * hildon/hildon-bread-crumb.c:
691 * hildon/hildon-seekbar.c:
692 Add reference to replacements for these deprecated widgets.
694 Fixes: MB#4461 (Documentation: All deprecations should mention
697 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
699 * examples/hildon-remote-texture-example.c
701 Change the include to the hildon-remote-texture in order to compile
702 properly the examples on the installed libhildon1-examples package
704 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
706 * tests/Makefile.am: Add check for HildonPickerButton.
707 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
708 (START_TEST), (create_hildon_picker_button_suite): Add three simple
709 checks for the HildonPickerButton.
710 * tests/check_test.c (configure_tests): Add the test suite.
711 * tests/test_suites.h: likewise.
713 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
715 * hildon/hildon-touch-selector.c
716 (+on_row_changed): Emit HildonTouchSelector:changed when the
717 contents of a selected row change.
718 (_create_new_column), (_hildon_touch_selector_set_model): connect
719 to GtkTreeModel:row-changed on a newly set model.
721 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
723 2009-05-05 Alberto Garcia <agarcia@igalia.com>
725 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
727 * hildon/hildon-banner.c (hildon_banner_destroy)
728 (hildon_banner_show_progress, hildon_banner_set_fraction):
729 Remove the progress bar from HildonBanner and use a progress
732 Fixes: NB#113761 (Update progress banner to use progress
735 2009-05-04 Alberto Garcia <agarcia@igalia.com>
737 * hildon/hildon-banner.c:
738 Calculate size of the banner label using the actual screen width
739 rather than using a fixed value.
741 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
744 2009-05-04 Alejandro G. Castro <alex@igalia.com>
746 * hildon/hildon-pannable-area.c,
747 (hildon_pannable_area_class_init): Fixed signals documentation
750 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
752 * configure.ac: post release version bump
753 * debian/changelog: post release version bump
755 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
760 * configure.ac: Bump version.
761 * debian/changelog: Updates.
763 2009-05-01 Alberto Garcia <agarcia@igalia.com>
765 * hildon/hildon-edit-toolbar.c
766 (hildon_edit_toolbar_init):
767 Don't let buttons in HildonEditToolbar receive focus.
769 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
770 typing on an HW arrows key)
772 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
774 * doc/Makefile.am: Fix build.
776 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
778 * doc/Makefile.am: Do not redefine content_files.
780 2009-04-30 Alberto Garcia <agarcia@igalia.com>
788 Renamed src/ to hildon/
793 Include <hildon/hildon.h> directly in all examples.
795 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
797 * src/hildon-sort-dialog.c
798 (hildon_sort_dialog_add_sort_key_with_sorting)
802 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
804 * src/Makefile.am: Move generated sources to CLEANFILES, so that
805 make distcheck passes.
807 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
809 * Makefile.am: Enable gtk-doc during distcheck.
811 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
813 * Makefile.am: Do not distribute the debian/ directory.
815 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
817 * doc/Makefile.am: Add the extra SGML files to content_files,
818 so that they are distributed properly.
820 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
822 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
825 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
827 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
828 (hildon_note_new_information_with_icon_name): Set the "icon" property
829 to preserve soundness.
831 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
833 * src/hildon-font-selection-dialog.c
834 (hildon_font_selection_dialog_set_property): Fail when the "family"
835 property is set to NULL.
837 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
839 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
842 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
844 * src/hildon-time-selector.h:
845 Added HildonTimeSelectorFormatPolicy
846 * src/hildon-time-selector.c:
847 Added PROP_TIME_FORMAT_POLICY
848 (_check_ampm_format): renamed to check_automatic_ampm_format
849 (update_format_policy), (update_format_dependant_columns): new functions
850 (hildon_time_selector_class_init)
851 (hildon_time_selector_contructor)
852 (hildon_time_selector_init)
853 (hildon_time_selector_get_property)
854 (hildon_time_selector_set_property)
855 (hildon_time_selector_get_time)
856 (hildon_time_selector_set_time)
857 * src/hildon-touch-selector.h: new file
858 * src/hildon-touch-selector.c
859 (hildon_touch_selector_emit_changed)
860 (hildon_touch_selector_block_changed)
861 (hildon_touch_selector_unblock_changed)
862 Added functions to allow to block the emission of the "changed" signal
863 * src/hildon-picker-dialog.c
864 (hildon_picker_dialog_show): call the parent show before the custom code
865 * examples/hildon-time-button-example.c
866 Modified, so now you can configure the time format using the new property
868 Added a new property "time-format-policy" that allow to choose the time
869 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
870 case it uses gconf in order to check if the time selector must use
873 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
876 2009-04-28 Alberto Garcia <agarcia@igalia.com>
878 * src/hildon-note.c (hildon_note_init):
879 Label in HildonNote must be left aligned, not centered. This
880 reverts the last commit in HildonNote.
882 Fixes: NB#112933 (text is not left aligned in confirmation dialog
883 is connectivity dialog)
885 2009-04-27 Alberto Garcia <agarcia@igalia.com>
890 * doc/hildon-sections.txt:
891 Added hildon_gtk_window_set_do_not_disturb()
893 2009-04-27 Alberto Garcia <agarcia@igalia.com>
895 * src/hildon-note.c (hildon_note_init): Center label.
897 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
900 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
905 * configure.ac: Bump version.
906 * debian/changelog: Updates.
908 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
910 * src/hildon-note-private.h: Add button-width to the private data.
911 * src/hildon-note.c (+resize_button),
912 (+hildon_note_orientation_update): methods to repack widgets on orientation
914 (screen_size_changed): Call above method for confirmation notes.
915 (hildon_note_realize): Always connect to the "screen-size" changed signal.
916 (hildon_note_rebuild): Store the original width request from buttons.
918 Fixes: NB#109635 (Confirmation notes do not support portrait)
920 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
922 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
923 when it is a progress note.
925 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
927 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
928 in the note, since there are no horizontally arranged contents.
930 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
932 * src/hildon-gtk.c (+set_flag): new generic method to
933 set/delay a flag setting in a window.
934 (hildon_gtk_window_set_progress_indicator):
935 (hildon_gtk_window_set_do_not_disturb),
936 (hildon_gtk_window_set_portrait_flags): use set_flag() to
937 avoid code redundance.
939 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
941 Based on a patch by Alberto Garcia (agarcia@igalia.com)
943 * src/hildon-gtk.c (set_clear_window_flag),
944 (do_set_progress_indicator), (do_set_do_not_disturb),
945 (do_set_portrait_flags),
946 (hildon_gtk_window_set_progress_indicator),
947 (hildon_gtk_window_set_do_not_disturb),
948 (hildon_gtk_window_set_portrait_flags):
949 Allow setting dnd-flag, progress indicator, and portrait flags
950 when the window is not realized.
952 2009-04-24 Alejandro G. Castro <alex@igalia.com>
954 * src/hildon-pannable-area.c,
955 * src/hildon-pannable-area.h: Add the hildon deprecated define to
956 the size request policy function and defines.
958 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
960 * doc/hildon-sections.txt: Add the new API.
961 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
962 method to set the portrait flags.
963 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
965 Fixes: NB#112328 (Adding helpers for setting portrait properties)
967 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
969 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
970 to allow using this method with other flags.
971 (hildon_gtk_window_set_progress_indicator): Update accordingly.
972 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
974 2009-04-22 Alberto Garcia <agarcia@igalia.com>
976 * src/hildon-touch-selector.c
977 (hildon_touch_selector_append_text_column):
978 Make the cell renderer use the smallest width possible.
980 Fixes: NB#108470 (Selected items in multiple selection are either
981 having a tick that is cut or not visible at all.)
983 2009-04-22 Alberto Garcia <agarcia@igalia.com>
985 * src/hildon-touch-selector.c
986 (hildon_touch_selector_append_text_column):
989 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
991 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
992 Use g_strdup_printf() instead of a fixed size buffer.
994 2009-04-21 Alberto Garcia <agarcia@igalia.com>
996 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
997 Close banners when a HildonAppMenu is popped up.
999 Fixes: NB#111027 (Title menu closed immediately if activated when
1000 "Invalid e-mail address" banner is shown)
1002 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1007 * configure.ac: Bump version.
1008 * debian/changelog: Updates.
1010 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1012 * src/hildon-banner.c (hildon_banner_realize):
1013 Mark HildonBanner as supporting portrait mode.
1014 Use GDK to set window properties insetad of direct Xlib calls.
1016 Fixes: NB#111830 (HildonBanner should be marked as supporting
1019 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1021 * src/hildon-note.c (hildon_note_rebuild):
1022 Hide action area in information notes. Prevents text from being
1023 slightly aligned to the left.
1025 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1028 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1030 Patch by Mox Soini (ext-mox.soini@nokia.com)
1032 * src/hildon-banner.c (hildon_banner_create_animation):
1033 Use stylus-sized icons in animation banner.
1035 Fixes: NB#111206 (stylus sized icon for animation banner)
1037 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1041 (+hildon_gtk_window_set_do_not_disturb):
1042 New API to set the do-not-disturb flag.
1044 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1046 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1048 * examples/hildon-progress-indicator-example.c: Fix example
1050 * src/hildon-gtk.c (set_clear_window_flag)
1051 (hildon_gtk_window_set_progress_indicator):
1052 Create a generic function for setting flags to a window.
1053 Use GDK instead of direct Xlib calls.
1055 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1057 * src/hildon-button.c (hildon_button_set_arrangement):
1058 Due to NB#88126, if one of the labels is too long it will be
1059 painted outside the button. The 'value' label is more likely to be
1060 the longest one, so we change its packing options in order to
1061 truncate it if necessary. As a side effect, the 'title' label will
1062 no longer be truncated.
1064 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1066 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1071 * configure.ac: Bump version.
1072 * debian/changelog: Updates.
1074 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1076 Deprecation of the hildon_pannable_area_set_size_request_policy
1077 API, the only policy properly supported in gtk+ nowadays is the
1080 * src/hildon-pannable-area.c,
1081 (hildon_pannable_area_size_request): Added a workaround for the
1082 size_request to avoid the problems of huge pixmaps in case someone
1083 is still using the function.
1084 * src/hildon-pannable-area.h: Deprecated the enum with the
1087 Fixes: NB#110244 (Problems with the
1088 hildon_pannable_area_set_size_request_policy API)
1090 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1092 * src/hildon-pannable-area.c,
1093 (hildon_pannable_area_init),
1094 (hildon_pannable_area_size_request),
1095 (hildon_pannable_area_style_set),
1096 (hildon_pannable_draw_vscroll),
1097 (hildon_pannable_draw_hscroll),
1098 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1099 indicator_width to clarify the use of the attribute.
1101 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1106 * configure.ac: Bump version.
1107 * debian/changelog: Updates.
1109 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1111 * src/hildon-picker-dialog.c
1112 * src/hildon-touch-selector.c
1113 Reverting the change that tried to avoid the hardcoded height on
1114 the picker dialog, as causes problems on the hildon-touch-selector
1117 Fixes: NB#110029 (selectors not scrolling to selected value)
1119 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1121 * src/hildon-touch-selector.c: Fix typos
1123 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1125 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1126 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1127 request more motions after using it.
1129 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1131 * src/hildon-calendar.c (hildon_calendar_expose),
1132 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1133 Remove unused variables.
1135 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1137 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1138 variable assignment.
1140 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1142 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1143 Check the return value of gtk_tree_selection_get_selected()
1146 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1148 * src/hildon-animation-actor.c
1149 * src/hildon-button.c
1151 * src/hildon-pannable-area.c
1152 * src/hildon-picker-button.c
1153 * src/hildon-program.c
1154 * src/hildon-remote-texture.c
1155 * src/hildon-text-view.c
1156 * src/hildon-touch-selector.c
1157 * src/hildon-window-stack.c
1158 * src/hildon-window.c:
1159 Add missing 'Since: 2.2' tags.
1161 * doc/hildon-sections.txt:
1162 Add some missing symbols.
1164 * doc/hildon-docs.sgml:
1165 New 'Other' section for HildonAnimationActor and
1168 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1170 Patch by Iván Gómez (igomez@igalia.com)
1173 * doc/compiling.sgml
1174 * doc/hildon-docs.sgml
1175 * doc/hildon-sections.txt
1176 * doc/migration.sgml
1177 * doc/resources.sgml
1179 New chapters on using the Hildon library.
1180 Updated the general structure of the reference manual.
1181 Other minor documentation fixes.
1183 * src/hildon-calendar-popup.c
1184 * src/hildon-calendar.c
1185 * src/hildon-controlbar.c
1186 * src/hildon-date-editor.c
1187 * src/hildon-dialog.c
1188 * src/hildon-hvolumebar.c
1189 * src/hildon-number-editor.c
1190 * src/hildon-range-editor.c
1191 * src/hildon-sort-dialog.c
1192 * src/hildon-time-editor.c
1193 * src/hildon-time-picker.c
1194 * src/hildon-volumebar-range.c
1195 * src/hildon-volumebar.c
1196 * src/hildon-vvolumebar.c
1197 * src/hildon-weekday-picker.c:
1198 Add deprecation notes
1200 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1201 Document 'horizontal-movement' and 'vertical-movement' signals.
1203 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1208 * configure.ac: Bump version.
1209 * debian/changelog: Updates.
1211 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1213 * src/hildon-pannable-area.c,
1214 (hildon_pannable_area_class_init): increased the minimum velocity.
1215 (hildon_pannable_area_button_release_cb): Updated the
1216 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1217 setup. Review the code to control that last event.
1219 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1222 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1224 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1226 * src/hildon-get-password-dialog.c
1227 (hildon_get_password_set_property),
1228 (hildon_get_password_get_property), (create_contents):
1229 * src/hildon-login-dialog-private.h:
1230 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1231 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1232 (hildon_login_dialog_get_password):
1233 * src/hildon-set-password-dialog-private.h:
1234 * src/hildon-set-password-dialog.c
1235 (hildon_set_password_set_property),
1236 (hildon_set_password_get_property), (create_contents),
1237 (hildon_set_password_response_change),
1238 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1240 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1241 instead and look more Fremantle style.
1243 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1245 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1247 * doc/hildon-sections.txt
1248 * src/hildon-window-stack.h
1249 * src/hildon-window-stack.c
1250 (+hildon_window_stack_get_windows):
1251 New API to obtain the list of windows on a stack.
1253 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1255 * src/hildon-app-menu.c (hildon_app_menu_popup)
1256 (hildon_app_menu_class_init, -hildon_app_menu_show):
1257 Remove hildon_app_menu_show() and move all its checks to
1258 hildon_app_menu_popup()
1260 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1262 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1263 (_hildon_picker_dialog_set_selector): removed call to
1264 gtk_widget_set_size_request
1265 * src/hildon-touch-selector.c
1266 (_create_new_column): change the pannable size request policy
1268 Avoid to use a hardcoded height for the hildon picker dialog. In order
1269 to get that, we needed to change the hildon pannable size request
1271 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1273 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1275 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1276 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1279 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1281 * debian/control: Depend on osso-system-lock localization package.
1282 * src/hildon-code-dialog.c: Obtain the secu_application_title
1283 translation from osso-system-lock.
1284 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1285 for translation the atk related strings, that's not necessary.
1286 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1287 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1288 cancel button, it is not required.
1290 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1292 * src/hildon-pannable-area.c,
1293 (hildon_pannable_area_class_init): Modified the default value of
1294 the overshooting max speed, we have reduced it.
1296 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1298 * doc/hildon-sections.txt
1299 * src/hildon-window-private.h
1300 * src/hildon-window.h
1301 * src/hildon-window.c (hildon_window_class_init)
1302 (hildon_window_init, hildon_window_finalize)
1303 (hildon_window_realize, hildon_window_get_property)
1304 (hildon_window_set_property, hildon_window_update_markup)
1305 (hildon_window_get_markup, hildon_window_set_markup):
1306 New "markup" property and hildon_window_{get,set}_markup() methods.
1308 * examples/hildon-stackable-window-example.c (new_window):
1309 Update example to use hildon_window_set_markup()
1311 Fixes: NB#106375 (Need API to retitle a window with a title
1314 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1316 * src/hildon-pannable-area.c,
1317 (hildon_pannable_area_class_init): Changed the default value of
1318 the initial_hint to TRUE.
1319 (hildon_pannable_area_initial_effect): Changed the initial effect,
1320 not the effect is just the fade-out of the scrollbars.
1322 Fixes: NB#107775 (No scrollbars can be seen when several items are
1323 available in a dialog)
1325 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1327 * src/hildon-program.c (hildon_program_update_top_most):
1330 Fixes: NB#109179 (Memory leak in Hildon program)
1332 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1334 * src/hildon-banner.c (-get_current_app_window):
1335 Remove unused function.
1337 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1339 * src/hildon-pannable-area.c: Modified the documentation of the
1340 get adjustments functions to explain the problem of using the
1341 adjustment directly.
1342 (hildon_pannable_area_class_init): Improved the explanation about
1345 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1347 * src/hildon-app-menu-private.h
1348 * src/hildon-app-menu.c
1349 (hildon_app_menu_class_init):
1350 Bring back the 'external-border' style property
1351 (hildon_app_menu_class_init, hildon_app_menu_init)
1352 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1353 Set a fixed width-request for the menu, independent of the number
1356 Fixes: NB#94957 (Smoothly opened application menu)
1358 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1360 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1362 * src/hildon-banner.c
1363 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1365 Make sure that the banner is correctly placed the first time it's
1367 (hildon_banner_check_position, -check_fullscreen_state):
1368 Show the banner in the same place no matter if the window is in
1369 fullscreen mode or not.
1371 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1373 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1375 * src/hildon-touch-selector.c (_default_print_func): reorder
1376 concatenation for clarity.
1378 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1380 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1381 for multicolumn selectors.
1383 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1385 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1390 * configure.ac: Bump version.
1391 * debian/changelog: Updates.
1393 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1395 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1398 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1400 * configure.ac: removed libcangerra-gtk dependency
1401 * debian/control: removed libcanberra-gtk dependency
1402 * src/Makefile.am: removed libcanberra gtk related flags
1403 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1404 context, and manage a global canberra context instead
1406 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1408 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1410 Patch by Daniel Borgmann (danielb@openismus.com)
1412 * src/hildon-edit-toolbar.c:
1413 Adjust the left padding.
1414 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1415 Paint background of the edit toolbar.
1417 Fixes: NB#107897 (Patch to make editmodetoolbar background
1418 themeable and adjust margin)
1420 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1422 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1424 * src/hildon-program.c (hildon_program_update_top_most):
1425 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1427 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1428 change when the user tasks in/out of an application)
1430 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1432 * configure.ac: added libcangerra-gtk dependency
1433 * debian/control: added libcanberra-gtk dependency
1434 * src/Makefile.am: added libcanberra gtk related flags
1435 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1438 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1440 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1442 * src/hildon-program.c (hildon_program_remove_window)
1443 (hildon_program_add_window): Add checks for the window
1444 parameter. Don't decrease the window counter if the window is not
1447 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1449 * src/hildon-pannable-area.c,
1450 (hildon_pannable_area_realize): Fixed position of the event_window
1451 in the realize method.
1453 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1455 * src/hildon-app-menu-private.h
1456 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1457 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1458 (hildon_app_menu_key_press, hildon_app_menu_init)
1459 (hildon_app_menu_finalize):
1460 Make sure that all idle functions are removed when the widget is
1463 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1465 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1470 * configure.ac: Bump version.
1471 * debian/changelog: Updates.
1473 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1475 * src/hildon-entry.c
1476 (+hildon_entry_show_placeholder),
1477 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1478 that replace hildon_entry_update_contents().
1479 (hildon_entry_set_text),
1480 (hildon_entry_set_placeholder),
1481 (hildon_entry_focus_in_event),
1482 (hildon_entry_focus_out_event): Determine when it is needed
1483 either to show or hide the placeholder and call the above methods.
1485 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1486 when the placeholder text is already set)
1488 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1490 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1491 simple GdkPixbufAnim using the new icons for the banner.
1492 (hildon_banner_show_animation): Use the above mentioned method to
1493 create the animation widget.
1495 Fixes: NB#103564 (Make hildon animation banner use individual
1496 image files as the animation)
1498 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1500 * src/hildon-pannable-area.c,
1501 (hildon_pannable_leave_notify_event): Check if the child is NULL
1502 to avoid sending the leave.
1504 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1506 * src/hildon-pannable-area.c,
1507 (hildon_pannable_area_class_init),
1508 (hildon_pannable_leave_notify_event): Added a handler of the
1509 leave-notify-signal to consider when no motion notify before
1512 Fixes: NB#107494 (Items stay selected when clicking and moving
1513 away when inside pannable area)
1515 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1520 * configure.ac: Bump version.
1521 * debian/changelog: Updates.
1523 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1525 Patch by Alberto Garcia (agarcia@igalia.com)
1527 * src/hildon-date-button.c,
1528 (hildon_date_button_class_init),
1529 (hildon_date_button_init): Removed the construct property handling
1530 and created a default selector in the init method.
1531 * src/hildon-picker-button.c,
1532 (hildon_picker_button_class_init): Removed the construct flag of the
1535 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1537 * src/hildon-main.c (hildon_init):
1538 Don't allow hildon_init() to be called more than once.
1540 Fixes: NB#106607 (hildon_init should issue error message upon
1543 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1545 * examples/hildon-pannable-area-touch-list-example.c
1546 * examples/hildon-pannagle-area-touch-grid-example.c
1547 * examples/hildon-edit-toolbar-example.c
1548 * examples/hildon-touch-selector-multi-cells-example.c
1549 Removed the call to gtk_rc_parse_string, as it is not required since
1552 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1554 * src/hildon-pannable-area.c,
1555 (hildon_pannable_area_class_init): Modified the default panning
1556 threshold of the widget to 6px.
1558 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1559 than the threshold value ) within the button is not sending the
1562 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1564 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1565 for the treeview in the new column. This way, the touch list will never
1568 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1569 be selected manually for the HW keys to work)
1571 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1573 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1574 comparison instead of using strcmp(). Fixes a compiler warning as well.
1576 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1578 * doc/hildon-docs.sgml: Do not set the library version in the
1579 document title, use the releaseinfo tag for that purpose instead.
1581 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1583 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1584 Do not jump to the first item if the text in the entry is removed.
1586 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1591 * configure.ac: Bump version.
1592 * debian/changelog: Updates.
1594 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1596 * src/hildon-entry.c (hildon_entry_refresh_contents):
1597 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1598 Use "ReversedSecondaryTextColor" for the placeholder text.
1600 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1602 * src/hildon-text-view.c: Fix compilation warning.
1604 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1606 * src/hildon-button.c (hildon_button_class_init): Don't make
1607 "title" and "value" construction properties, to prevent them from
1608 overwriting labels set from derived classes.
1610 * src/hildon-picker-button.c
1611 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1612 (hildon_picker_button_class_init): Make touch-selector a
1613 construction property.
1615 * src/hildon-date-button.c (hildon_date_button_class_init)
1616 (+hildon_date_button_constructed): Add a default date selector if
1619 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1621 * src/hildon-touch-selector.c: Small documentation fixes.
1623 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1625 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1627 * src/hildon-entry.c (hildon_entry_refresh_contents),
1628 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1629 widget name, set the logical color directly instead and a boolean
1630 showing_placeholder instead.
1631 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1632 use the widget name here either.
1634 Fixes: NB#105678 (HildonTextView should use logical colours
1635 instead of setting widget name)
1637 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1639 Patch by Daniel Elster (danielk@openismus.com)
1641 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1642 Add user_data parameter.
1643 (hildon_touch_selector_set_print_func_full): New function akin
1644 hildon_touch_selector_set_print_func() but with support for user
1645 data and a destroy callback.
1646 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1647 to clean up the print function user data.
1648 (hildon_touch_selector_class_init): Install dispose function.
1649 (HildonTouchSelectorPrivate::print_user_data),
1650 (HildonTouchSelectorPrivate::print_destroy_func): New private
1652 (hildon_touch_selector_init): Initialize new private members.
1653 (hildon_touch_selector_get_current_text): Pass along user data
1654 to the print function.
1655 (_default_print_func): Add dummy user_data to parameter list.
1656 * hildon-date-selector.c (_custom_print_func): ditto,
1657 * hildon-time-selector.c (_custom_print_func): ditto,
1658 * hildon-touch-selector-entry.c
1659 (hildon_touch_selector_entry_print_func): ditto.
1661 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1663 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1665 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1667 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1669 * src/hildon-pannable-area.c,
1670 (hildon_pannable_area_init),
1671 (hildon_pannable_area_button_press_cb),
1672 (hildon_pannable_area_motion_notify_cb): We have added code to
1673 handle the leave and enter events when using the motion events.
1675 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1677 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1679 * src/hildon-date-button.c (hildon_date_button_get_date)
1680 (hildon_date_button_set_date): Make sure that the button has a
1683 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1685 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1687 * src/hildon-pannable-area.c,
1688 (hildon_pannable_area_class_init),
1689 (hildon_pannable_area_calculate_velocity): Modify the use of the
1690 force and adapt the value.
1692 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1694 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1695 (hildon_app_menu_class_init): Hide the menu if it receives a
1696 delete-event, but don't destroy it
1698 Fixes: NB#104485 (Not able to address the call when application
1699 menu is opened at background)
1701 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1703 * src/hildon-app-menu.c
1704 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1705 Remove the "external-border" style property, let the menu take its
1706 natural size (or the one set by the window manager)
1707 (hildon_app_menu_repack_items):
1708 Don't reshow the menu, avoid flickers.
1710 Partially fixes NB#94957 (Smoothly opened application menu)
1712 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1717 * configure.ac: Bump version.
1718 * debian/changelog: Updates.
1720 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1722 * src/hildon-pannable-area.c,
1723 (hildon_pannable_area_motion_notify_cb): We control that the
1724 direction error margin is used just in case the movement is
1725 allowed in the other direction.
1727 Fixes: NB#105012 (buttons inside a pannable area not getting
1728 release event when dragging/releasing)
1730 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1732 * src/hildon-pannable-area.c,
1733 (hildon_pannable_area_class_init),
1734 (hildon_pannable_area_get_property),
1735 (hildon_pannable_area_set_property),
1736 (hildon_pannable_area_initial_effect),
1737 (hildon_pannable_axis_scroll),
1738 (hildon_pannable_area_button_release_cb): Reviewed the
1739 overshooting effect, now it has its own max
1740 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1741 speed when bouncing.
1743 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1748 * configure.ac: Bump version.
1749 * debian/changelog: Updates.
1751 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1753 * src/hildon-pannable-area.c,
1754 (hildon_pannable_area_class_init): Changed the max speed, now
1755 users can launch the widget very fast. Reduced the default force,
1756 that way it is easier to control the launch speed.
1758 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1760 * src/hildon-pannable-area.c,
1761 (hildon_pannable_area_button_release_cb): Removed this check
1762 because it causes problems when the device is overloaded.
1764 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1766 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1767 add a current_text field to store the text entered in the
1768 touch selector entry.
1769 (_clean_current_selection): clean up the current text as well.
1770 (_save_current_selection), (_restore_current_selection):
1771 Save/restore the text in the entry if the selector is a
1772 HildonTouchSelectorEntry.
1774 Fixes: NB#102541 (value entered in the touch selector entry is not
1775 shown when opened for second time)
1777 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1779 * doc/hildon-sections.txt:
1780 * src/hildon-touch-selector-entry.c
1781 (+hildon_touch_selector_entry_get_entry):
1782 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1784 Fixes: NB#104815 (I need accessor to the entry inside
1785 HildonTouchSelectorEntry)
1787 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1789 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1790 (hildon_app_menu_class_init):
1791 New "filter-vertical-spacing" style property.
1793 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1795 * src/hildon-find-toolbar.c
1796 (hildon_find_toolbar_emit_close)
1797 (hildon_find_toolbar_emit_invalid_input)
1798 (hildon_find_toolbar_entry_activate):
1799 Use g_signal_emit() instead of g_signal_emit_by_name()
1801 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1803 Patch by Mox Soini (ext-mox.soini@nokia.com)
1805 * tests/TEST-CASES.txt
1806 * tests/check-hildon-banner.c
1807 * tests/check-hildon-note.c
1808 * src/hildon-banner.c
1809 * src/hildon-code-dialog.c
1810 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1811 * src/hildon-time-editor.c
1812 * examples/hildon-lookup-example.c (main):
1813 Replace obsolete icon names with new ones.
1815 * src/hildon-find-toolbar-private.h:
1816 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1817 (-hildon_find_toolbar_emit_search):
1818 Remove find button and change icon of close button.
1820 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1822 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1824 * src/hildon-time-button.c (hildon_time_button_new_step):
1825 Use the "touch-selector" property to set the selector directly
1826 when creating the object.
1828 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1830 Added a new example application that allows tuning the pannable
1831 area and replaced defines with properties in order to simplify the
1832 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1833 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1834 PROP_DIRECTION_ERROR_MARGIN.
1836 * examples/hildon-pannable-area-tuning-example.c: New example
1838 * src/hildon-pannable-area.c,
1839 (hildon_pannable_area_class_init),
1840 (hildon_pannable_area_init),
1841 (hildon_pannable_area_get_property),
1842 (hildon_pannable_area_set_property),
1843 (hildon_pannable_area_launch_fade_timeout),
1844 (hildon_pannable_area_adjust_value_changed),
1845 (hildon_pannable_axis_scroll),
1846 (hildon_pannable_area_motion_notify_cb),
1847 (hildon_pannable_area_scroll_cb),
1848 (hildon_pannable_area_button_release_cb): We have converted some
1849 of the defines that control the widget to properties to simplify
1852 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1854 * src/hildon-app-menu.c (hildon_app_menu_map)
1855 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1856 so it's closed if a new window appears.
1858 Fixes: NB#104485 (Not able to address the call when application
1859 menu is opened at background)
1861 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1863 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1864 missing 'break' statement in in 'case' construct to avoid
1867 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1869 * src/hildon-touch-selector-entry.c
1870 (hildon_touch_selector_entry_get_property),
1871 (hildon_touch_selector_entry_set_property): Add missing 'break'
1872 statements in in 'case' constructs to avoid incorrect warnings.
1874 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1876 * src/hildon-time-editor.c
1877 (hildon_time_editor_get_time_separators): Do not crash if
1878 the first label is NULL.
1880 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1882 * src/hildon-date-selector.c (_month_days): Check for month to be
1883 strictly less than 12, since otherwise we may overrun the array.
1885 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1887 * src/hildon-date-button.c (+hildon_date_button_new_full)
1888 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1889 (hildon_date_button_init): Set the date selector using a
1890 construction property, to make it happen after HildonButton's
1891 "value" property is set.
1893 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1894 current date by default)
1896 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1898 * doc/hildon-sections.txt
1899 * src/hildon-program.c
1900 * src/hildon-stackable-window.c
1901 * src/hildon-window.c:
1902 Documentation updates
1904 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1906 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1907 (hildon_window_stack_new, +hildon_window_stack_set_property)
1908 (+hildon_window_stack_get_property)
1909 (hildon_window_stack_class_init)
1910 (+hildon_window_stack_set_window_group)
1911 (+hildon_window_stack_get_window_group):
1912 Make the window group a construction property.
1914 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1916 * doc/hildon-sections.txt
1917 * src/hildon-stackable-window-private.h
1918 * src/hildon-stackable-window.h
1919 * src/hildon-stackable-window.c
1920 (-hildon_stackable_window_set_app_menu)
1921 (-hildon_stackable_window_get_app_menu)
1922 (-hildon_stackable_window_toggle_menu)
1923 (-hildon_stackable_window_finalize)
1924 (hildon_stackable_window_class_init)
1925 (hildon_stackable_window_init)
1926 * src/hildon-window-private.h
1927 * src/hildon-window.h
1928 * src/hildon-window.c (hildon_window_init)
1929 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1930 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1931 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1932 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1933 Moved all HildonAppMenu code to HildonWindow. The menu does not
1934 require a HildonStackableWindow anymore.
1936 * src/hildon-app-menu.c
1937 * src/hildon-program.c
1938 * examples/hildon-app-menu-example.c (main):
1939 Update examples and documentation to reflect HildonAppMenu
1942 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1944 * src/hildon-remote-texture.c
1945 * src/hildon-animation-actor.c:
1946 Don't include unused private headers.
1948 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1950 * src/hildon-program-private.h
1951 * src/hildon-program.c
1952 (hildon_program_set_common_menu)
1953 (hildon_program_get_common_menu)
1954 (hildon_program_set_common_app_menu)
1955 (hildon_program_get_common_app_menu):
1956 Change common menu pointers from GtkWidget* to GtkMenu* and
1957 HildonAppMenu* to avoid unnecessary casts.
1959 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1961 * src/hildon-window.c (hildon_window_set_main_menu):
1962 Removed incorrect 'Since:' tag
1964 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1966 * src/hildon-pannable-area.c,
1967 (hildon_pannable_area_calculate_velocity): We use now the
1968 RATIO_TOLERANCE here to check the distance, fixed typo in the
1970 (hildon_pannable_area_motion_notify_cb): We have to set the type
1971 and time even if we are not sending the motion.
1973 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1975 * doc/hildon-sections.txt
1976 * src/hildon-app-menu.h
1977 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1978 (+hildon_app_menu_get_filters): New methods to get the contents of
1981 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1984 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1986 * src/hildon-app-menu.c (hildon_app_menu_popup):
1989 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1991 * src/hildon-window.h
1992 * src/hildon-window.c (+hildon_window_get_main_menu)
1993 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1994 and deprecated hildon_window_get_menu().
1996 * src/hildon-stackable-window.h
1997 * src/hildon-stackable-window.c
1998 (+hildon_stackable_window_set_app_menu)
1999 (+hildon_stackable_window_get_app_menu)
2000 (hildon_stackable_window_set_main_menu): Created
2001 hildon_stackable_window_{get,set}_app_menu() and deprecated
2002 hildon_stackable_window_set_main_menu().
2004 * doc/hildon-sections.txt
2005 * examples/hildon-app-menu-example.c (main)
2006 * src/hildon-app-menu.c
2007 * src/hildon-program.c:
2008 Updated examples and documentation.
2010 Fixes: NB#103758 (No way to obtain a menu from a
2011 HildonStackableWindow)
2013 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2018 * configure.ac: Bump version.
2019 * debian/changelog: Updates.
2021 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2023 * examples/hildon-remote-texture-example.c: Include
2024 hildon-remote-texture.h explicitely.
2025 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2026 applications not defining _XOPEN_SOURCE which don't require this header.
2028 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2030 * doc/hildon-sections.txt
2031 * src/hildon-app-menu.h
2032 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2033 New function to pop up a HildonAppMenu
2035 * src/hildon-stackable-window.c
2036 (hildon_stackable_window_toggle_menu):
2037 Use hildon_app_menu_popup() to show the menu.
2039 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2041 * src/hildon-app-menu.c (hildon_app_menu_show)
2042 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2043 menu if there's another window between it and its parent window.
2045 Fixes: NB#100468 (Application menu window is launched even when a
2046 new secondary-window/dialog is pending to be shown/realized)
2048 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2050 * src/hildon-window-stack.c (hildon_window_stack_push)
2051 (hildon_window_stack_pop_and_push):
2052 Don't forget to push/pop the first window.
2053 Reverse the window list before calling _push_list()
2055 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2057 * src/hildon-picker-button.h
2058 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2059 Remove "value_changed" slot to avoid ABI breakage
2061 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2063 * src/hildon-pannable-area.c,
2064 (hildon_pannable_area_realize),
2065 (hildon_pannable_area_unrealize),
2066 (hildon_pannable_draw_vscroll),
2067 (hildon_pannable_draw_hscroll): Changed the method to handle the
2068 GC used to draw the transparent scrollbar, this way we avoid
2069 creating the GC all the time when drawing the scrollbars.
2071 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2073 * src/hildon-pannable-area.c,
2074 (hildon_pannable_area_init),
2075 (hildon_pannable_area_remove): Removed some unnecessary casts.
2076 (hildon_pannable_area_dispose): Disconnected some signals before
2077 releasing the adjustments.
2079 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2081 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2082 Make sure that all widgets contained in the toolbar are shown.
2084 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2086 * doc/hildon-sections.txt
2087 * src/hildon-picker-button.h
2088 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2089 (_selection_changed, hildon_picker_button_on_dialog_response)
2090 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2091 New hildon_picker_button_value_changed() method.
2094 * src/hildon-picker-button-private.h
2095 * src/hildon-picker-button.c (hildon_picker_button_init)
2096 (+hildon_picker_button_disable_value_changed): Add protected
2097 function for disabling the "value-changed" signal.
2099 * src/hildon-date-button.c (hildon_date_button_set_date):
2100 Don't emit "value-changed" for each one of the three columns.
2102 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2103 before actual change of values)
2105 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2107 * src/hildon-pannable-area.c,
2108 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2109 for the treeview overshooting.
2111 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2113 * src/hildon-banner.c (+hildon_banner_bind_style):
2114 Renamed from hildon_banner_bind_label_style(), now naming the
2115 banner itself as well.
2116 (hildon_banner_show_information),
2117 (hildon_banner_show_information_with_markup),
2118 (hildon_banner_show_animation), (hildon_banner_show_progress):
2119 Name the widgets and labels, based on their type.
2121 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2124 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2126 * src/hildon-note.c (hildon_note_set_property): call
2127 hildon_note_rename() on HildonNote:note-type set.
2128 (hildon_note_rename): Name the note and its label, based on the
2129 HildonNote:note-type property.
2131 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2134 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2136 * src/hildon-pannable-area.c,
2137 (hildon_pannable_area_class_init),
2138 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2139 panning parameters, increased SPS and deceleration factor. Added
2140 also a margin to control fake directions.
2142 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2144 Patch by Sven Herzberg (sven@imendio.com)
2146 * configure.ac: Add missing AM_PROG_CC_C_0
2147 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2149 See NB#101420 (Update unit tests and fix make check)
2151 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2153 This patch was applied before but reverted because it caused
2154 problems, we have changed the main condition and tested the
2155 regressions we detected before and they work ok. We have done a
2156 complete review of the topmost algorithm in order to get a more
2159 * src/hildon-pannable-area.c,
2160 (hildon_pannable_area_get_topmost): Added a new parameter to
2161 filter the the windows that do not include those events.
2162 (hildon_pannable_area_button_press_cb),
2163 (hildon_pannable_area_button_release_cb),
2164 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2165 topmost function, we have added the new parameter.
2167 Fixes: NB#97458 (Pannable area prevents propagation of button
2170 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2172 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2173 if all columns in the selector have an item selected.
2174 (_on_dialog_response): Stop "response" signal emission if there is
2175 any selector column without selected items.
2177 Fixes: NB#101889 (Picker dialog should not close when nothing is
2178 selected in multiple selection list)
2180 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2182 * src/hildon-font-selection-dialog.c
2183 (hildon_font_selection_dialog_class_init),
2184 (hildon_font_selection_dialog_init): Remove the preview
2185 button and dialog, since previewing with default theming is likely
2186 to be overcomplicated. The :preview property has now no effect.
2187 Update documentation blurbs to inform about this.
2189 Fixes: NB#92297 (Preview content is not clearly visible for
2190 default colour text)
2192 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2194 Reviewed the geometry that handles the children size and
2195 scrollbar, now it tries a size and reviews the results depending
2196 on the scrollbars visibility.
2198 * src/hildon-pannable-area.c,
2199 (hildon_pannable_area_realize): Fixed a typo.
2200 (hildon_pannable_area_child_allocate_calculate): Added this
2201 function to calculate the child allocation.
2202 (hildon_pannable_area_size_allocate): Reviewed the allocation
2204 (hildon_pannable_area_check_scrollbars),
2205 (hildon_pannable_area_refresh): Refactored refresh function, this
2206 way we can call the code handling the scrollbars without causing a
2207 size_request, it is interesting in the allocate.
2208 (hildon_pannable_area_init): Replace the callbacks of the
2209 value_changed and changed signals to propertly deal with the
2211 (hildon_pannable_area_grab_notify),
2212 (hildon_pannable_area_initial_effect),
2213 (hildon_pannable_area_launch_fade_timeout),
2214 (hildon_pannable_area_adjust_changed),
2215 (hildon_pannable_area_adjust_value_changed),
2216 (hildon_pannable_area_redraw),
2217 (hildon_pannable_area_button_press_cb),
2218 (hildon_pannable_area_button_release_cb),
2219 (hildon_pannable_area_scroll_cb),
2220 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2221 code and use the new functions adjust_changed and
2222 adjust_value_changed.
2224 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2225 Contact editor dialog)
2227 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2232 * configure.ac: Bump version.
2233 * debian/changelog: Updates.
2235 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2237 * src/hildon-pannable-area.c,
2238 (hildon_pannable_area_get_topmost),
2239 (hildon_pannable_area_button_press_cb),
2240 (hildon_pannable_area_button_release_cb),
2241 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2242 topmost function adding the event mask. We have to try a
2243 differente approach because it is still causing problems (NB#9745,
2246 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2248 * src/hildon-banner.c:
2249 Update the maximum width of timed banners.
2250 (force_to_wrap_truncated): Enforce the maximum text width if the
2253 Fixes: NB#102413 (The text margins (wrapping) in information
2254 banner should be HILDON_MARGIN_TRIPLE)
2256 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2258 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2260 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2261 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2262 bound when calculating the scroll indicator position.
2264 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2265 treat ->lower correctly)
2267 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2269 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2270 expose event handling, since it is not necessary to draw the focus
2273 Fixes: NB#102467 (Do not show highlight on the text in
2276 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2278 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2279 full height of the toolbar for the button and the label.
2281 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2283 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2284 padding before the label and after the button.
2286 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2288 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2290 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2291 Add a GtkVSeparator between the button and the back arrow.
2292 Let the button have automatic size.
2293 Set a name to the widget for theming handling.
2295 Fixes: NB#101793 (Make edit toolbar the same height as window
2296 title bar (use title area theming))
2298 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2300 * src/hildon-helper.c (attach_new_color_element): Fix memory
2303 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2305 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2307 * examples/hildon-button-example.c (common_buttons_window): Don't
2310 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2312 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2313 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2315 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2317 * src/hildon-gtk.c: Check that the window is realized.
2319 Fixes: NB#102225 (Crash setting the progress indicator to a non
2322 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2324 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2325 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2326 instead of modifying the one in the widget style.
2328 Fixes: NB#101043 (Second row of all the command button are
2329 displayed in transparent mode.)
2331 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2333 * src/hildon-date-button.c
2334 * src/hildon-time-button.c: Add gettext macros
2336 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2338 * src/hildon-date-button.c (hildon_date_button_new):
2339 * src/hildon-time-button.c (hildon_time_button_new_step):
2340 Use new logical strings to set the button default title.
2342 Fixes: NB#99915 (Date and Time options are not localised in Date
2345 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2347 * src/hildon-pannable-area.c
2348 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2349 the PANNING_THRESHOLD.
2351 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2353 * src/hildon-pannable-area.c,
2354 (hildon_pannable_area_class_init): Increased the maximum speed.
2355 (hildon_pannable_area_get_property),
2356 (hildon_pannable_area_set_property),
2357 (hildon_pannable_area_timeout): Added a new low friction mode, it
2358 allows the user avoid friction when launching the widget fast
2359 enough. It is interesting to traverse long lists.
2361 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2363 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2364 (+hildon_stackable_window_delete_event): Ignore delete events if
2365 the window is not the topmost one.
2367 Fixes: NB#101698 (Back button long press and delete-event handling)
2369 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2371 * src/hildon-pannable-area.c,
2372 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2373 gtk-dnd-drag-threshold, it was too big. We have defined our own
2374 dnd define and set a smaller value: PANNIG_THRESHOLD.
2376 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2378 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2379 user-defined icons, use always the default one.
2381 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2383 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2385 This patch was applied before but reverted because it caused
2386 problems, we have changed the main condition and tested the
2387 regressions we detected before and they work ok.
2389 * src/hildon-pannable-area.c,
2390 (hildon_pannable_area_get_topmost): Added a new parameter to
2391 filter the the windows that do not include those events. Added
2392 also a condition when finding the window to filter windows that do
2393 not ask for those events.
2394 (hildon_pannable_area_button_press_cb),
2395 (hildon_pannable_area_button_release_cb),
2396 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2397 topmost function, we have added the new parameter.
2399 Fixes: NB#97458 (Pannable area prevents propagation of button
2402 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2404 * tests/check-hildon-color-button.c (START_TEST): do not leak
2407 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2409 * src/hildon-font-selection-dialog.c
2410 (hildon_font_selection_dialog_get_preview_text): Return NULL
2411 instead of FALSE on the g_return_val_if_fail().
2413 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2415 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2416 * src/hildon-date-selector.c
2417 (hildon_date_selector_select_current_date):
2418 Do not compare unsigned integers to be greater than or equal 0,
2419 because it's always TRUE.
2421 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2423 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2424 (hildon_date_selector_constructor): Do not select the current
2425 date until we are handle the "changed" signal, to avoid having bogus
2426 elements in the days model.
2428 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2430 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2431 for num_days, since _month_days() can return a negative value.
2433 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2435 * src/hildon-caption.c (hildon_caption_size_allocate):
2436 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2437 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2439 Initialize allocation variables to 0, to avoid eventually using
2440 unitialized variables.
2442 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2444 * src/hildon-bread-crumb-trail.c
2445 (hildon_bread_crumb_trail_size_allocate):
2446 * src/hildon-calendar.c (hildon_calendar_set_background):
2447 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2448 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2449 * src/hildon-seekbar.c (hildon_seekbar_init):
2450 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2451 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2452 * src/hildon-touch-selector-entry.c
2453 (hildon_touch_selector_get_text_from_model):
2454 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2455 * src/hildon-window.c (hildon_window_finalize):
2457 Remove many unused variables.
2459 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2461 * src/hildon-seekbar.c: (hildon_seekbar_init),
2462 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2464 Remove unnecessary g_assert() calls.
2466 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2468 * src/hildon-caption.c: (hildon_caption_expose),
2469 (hildon_caption_set_property), (hildon_caption_init),
2470 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2471 (hildon_caption_size_request), (hildon_caption_size_allocate),
2472 (hildon_caption_forall), (hildon_caption_set_separator),
2473 (hildon_caption_activate), (hildon_caption_set_child_expand),
2474 (hildon_caption_set_label_text),
2475 (hildon_caption_get_label_alignment):
2477 Remove unnecessary g_assert() calls.
2479 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2481 * src/hildon-banner.c
2482 (hildon_banner_map, hildon_banner_init): Make banner temporary
2483 before mapping it to avoid closing other temporary windows, but
2484 make it non-temporary afterwards to avoid being closed by other
2485 non-temporary windows.
2486 (-hildon_banner_client_event, hildon_banner_init):
2487 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2489 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2492 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2494 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2497 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2499 * src/hildon-remote-texture.c
2500 * src/hildon-remote-texture.h
2501 * src/hildon-remote-texture-private.h
2502 * examples/hildon-remote-texture-example.c:
2503 Updates/fixes to remote-texture and its example.
2505 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2507 Patch by Mox Soini (ext-mox.soini@nokia.com)
2509 * src/hildon-code-dialog.c: Update logical id.
2510 * src/hildon-set-password-dialog.c: Update logical id.
2512 Fixes: NB#100646 (Logical strings is shown for ok in set
2513 password,Password needed dialogs)
2515 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2518 * src/hildon-remote-texture.c
2519 * src/hildon-remote-texture.h
2520 * src/hildon-remote-texture-private.h
2522 Added remote texture widget (for Clutter shared memory textures)
2524 * examples/hildon-remote-texture-example.c
2525 * examples/Makefile.am
2526 Added example file for remote texture usage
2528 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2530 * configure.ac: post release version bump.
2531 * debian/changelog: version bump.
2533 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2538 * configure.ac: Bump version.
2539 * debian/changelog: Updates.
2541 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2543 * src/hildon-date-selector.c (hildon_date_selector_init)
2544 (hildon_date_selector_constructor): Don't connect to the "changed"
2545 signal until the selector is completely constructed.
2547 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2549 * src/hildon-touch-selector.c: (_create_new_column),
2550 (hildon_touch_selector_append_column),
2551 (hildon_touch_selector_set_column_selection_mode),
2552 (hildon_touch_selector_set_active),
2553 (hildon_touch_selector_select_iter):
2554 Emit the HildonTouchSelector::changed signal every time selection
2555 is changed in any of the methods above. This behavior was already
2556 documented but not fully functional.
2558 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2559 selection is programmatically changed)
2561 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2563 * doc/hildon-sections.txt: Remove obsolete icon
2564 sizes from here as well.
2566 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2568 * examples/hildon-stackable-window-example.c (add_window): Remove
2571 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2573 * src/hildon-app-menu.c
2574 (hildon_app_menu_show): Check whether the parent window of a menu
2575 is topmost before popping it up.
2577 Fixes: NB#100468 (Application menu window is launched even when a
2578 new secondary-window/dialog is pending to be shown/realized.)
2580 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2582 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2585 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2587 Patch by Mox Soini (ext-mox.soini@nokia.com)
2589 * src/hildon-banner.c: (hildon_banner_show_animation):
2590 use stylus size instead of obsolete note size.
2591 * src/hildon-defines.h: Update icon sizes.
2593 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2595 * src/hildon-touch-selector-entry.c:
2596 (hildon_touch_selector_entry_init): Disable unsupported
2598 (hildon_touch_selector_entry_get_text_column): Emit a warning
2599 if an unsupported input modes is used and explicitile state
2600 these modes in the documentation.
2602 Fixes: NB#99802 (Hildon touch selector entry not working properly
2603 for some of the input modes)
2605 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2607 * src/hildon-pannable-area.c,
2608 (hildon_pannable_area_init): Added the changed signal handlers of
2611 Fixes: NB#100320 (HildonPannableArea does not listen to
2612 GtkAdjustment "change" signals)
2614 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2616 * doc/hildon-sections.txt
2617 * src/hildon-window-private.h
2618 * src/hildon-window.h
2619 * src/hildon-window.c (hildon_window_init)
2620 (hildon_window_realize, hildon_window_unrealize)
2621 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2622 (hildon_window_size_request, hildon_window_size_allocate)
2623 (hildon_window_forall, hildon_window_show_all)
2624 (hildon_window_destroy, +paint_edit_toolbar)
2625 (+hildon_window_set_edit_toolbar):
2626 New hildon_window_set_edit_toolbar() method, to add a
2627 HildonEditToolbar to a window without having to pack it manually.
2629 Reorganize hildon_window_size_allocate()
2631 * src/hildon-edit-toolbar.c: Update documentation.
2633 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2634 example to use the new API.
2636 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2638 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2640 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2641 Remove from stack before calling parent's hide.
2643 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2645 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2646 window is removed from the middle of the stack, update the
2647 transiency of the previous one.
2649 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2652 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2654 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2655 block/unblock the signal handler if it's not actually being used.
2656 Fixes some critical warnings.
2658 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2660 Based on a patch by Iván Gómez (igomez@igalia.com)
2662 * src/hildon-banner.c
2666 * src/hildon-pannable-area.c
2667 * src/hildon-picker-dialog.c
2668 * src/hildon-wizard-dialog.h
2669 * src/hildon-wizard-dialog.c: Documentation updates.
2671 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2672 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2674 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2676 * configure.ac: post release version bump.
2677 * debian/changelog: version bump.
2679 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2684 * configure.ac: Bump version.
2685 * debian/changelog: Updates.
2687 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2689 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2690 a stock icon nor change the relief of the back arrow.
2692 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2693 graphics from theme)
2695 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2697 * src/hildon-button.c (hildon_button_set_alignment): Use
2698 priv->alignment if the button has no child yet.
2700 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2702 * src/hildon-button.c: (hildon_button_init): Set the
2703 button style during initialization to give it the proper
2706 Fixes: NB#99713 (HildonButton value label color is wrong)
2708 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2710 * src/hildon-touch-selector.c: Document
2711 hildon_touch_selector_center_on_selected()
2713 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2715 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2716 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2717 all menu items, but not the menu itself.
2718 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2719 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2720 items after adding them to the menu so keyboard accelerators work.
2721 (hildon_app_menu_show): Don't show the menu if it contains items
2722 but none of them are visible.
2724 * examples/hildon-app-menu-example.c (create_menu): Use
2725 gtk_widget_show_all() to show all menu items.
2727 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2729 * src/hildon-picker-dialog.c:
2730 (-_update_title_on_selector_changed_cb),
2731 (-_dialog_update_title): Removed.
2732 (_select_on_selector_changed_cb), (_on_dialog_response),
2733 (on_selector_columns_changed): Do not update the dialog title.
2734 (setup_interaction_mode): Do not connect to
2735 HildonTouchSelector::changed signal if there's a "done" button, as
2736 the dialog title doesn't need to be updated.
2738 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2741 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2743 Patch by Kristian Rietveld (kris@imendio.com)
2745 * src/hildon-touch-selector.c: (_create_new_column): Use new
2746 GtkTreeView::hildon-row-tapped signal to react to user interactions
2747 instead of ::changed.
2749 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2750 with some dynamic tree model)
2752 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2754 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2755 (+screen_size_changed, +label_size_request)
2756 (hildon_note_class_init): Make the Hildon information note have a
2757 minimum height, and make its text hvae a maximum width.
2759 Fixes: NB#98614 (Hildon information note (background) should have
2760 minimum height and maximum text width)
2762 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2764 * src/hildon-banner.h
2765 * src/hildon-banner.c (hildon_banner_show_information)
2766 (hildon_banner_show_informationf)
2767 (hildon_banner_show_information_with_markup): Update documentation
2768 to reflect that the icon_name parameter is not used anymore.
2769 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2770 Remove all code from these functions and mark them as deprecated.
2771 (hildon_banner_show_progress): Mark as deprecated.
2773 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2775 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2777 * src/hildon-pannable-area.c,
2778 (hildon_pannable_area_class_init),
2779 (tranparency_color),
2780 (hildon_pannable_draw_vscroll),
2781 (hildon_pannable_draw_hscroll),
2782 (hildon_pannable_area_expose_event): Added a new way to render the
2783 scrollbars of the pannable area avoiding using cairo at all. This
2784 way we improve the performance of the pannable area rendering. The
2785 cairo rendering procedure is still in the code, we can control
2786 which one to use changing the value of the define
2787 USE_CAIRO_SCROLLBARS.
2789 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2791 * configure.ac: post release version bump.
2792 * debian/changelog: version bump.
2794 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2799 * configure.ac: Bump version.
2800 * debian/changelog: Updates.
2802 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2804 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2805 banners instead of destroying them when they receive a button
2808 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2810 Reverted commit 34028, it was causing regressions, probably the
2811 topmost condition is not correct, we have to check it in more
2812 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2813 propagation of button press events)
2815 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2817 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2818 that the selection is not empty before attempting to retrieve the
2819 current ampm selection.
2821 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2823 * src/hildon-picker-button.c:
2824 (hildon_picker_button_on_dialog_response): Directly update the
2825 button contents when required instead of calling _selection_changed.
2827 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2829 * src/hildon-program.c (hildon_program_update_top_most): Update
2830 'is-topmost' property also when wm_hints is not set.
2832 Fixes: NB#98383 (is-topmost signal is not emitted when task
2833 switcher is clicked.)
2835 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2837 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2841 * src/hildon-animation-actor.c,
2842 * src/hildon-animation-actor.h: Added the animation actor class,
2843 this widget represents an animation actor for WM-assisted
2844 animation effects in the Hildon framework.
2846 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2848 * src/hildon-window-stack-private.h
2849 * src/hildon-window-stack.c
2850 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2851 Avoid calling gtk_widget_show() again indirectly from
2852 hildon_stackable_window_show()
2854 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2856 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2859 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2861 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2862 (hildon_time_selector_init): Move the construction of the hours and
2863 ampm columns to the constructor to preserve the order the columns
2866 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2868 * src/hildon-picker-dialog.c:
2869 (hildon_picker_dialog_class_init): Connect a realize method.
2870 (+hildon_picker_dialog_realize): Setup the interaction mode here
2872 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2873 yet, do it during the realize instead.
2874 (_on_dialog_response):
2875 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2876 if the widget is not realized, to avoid the dialog response before it
2879 Avoid premature responses in the HildonPickerDialog that can cause it
2880 to be hidden before it's even shown.
2882 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2884 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2885 (on_selector_columns_changed), (requires_done_button),
2886 (+prepare_action_area), (setup_interaction_mode),
2887 (_hildon_picker_dialog_set_selector):
2889 Split the interaction mode setup into preparation of the
2890 action area (prepare_action_area()) and the connection of
2891 the signals in setup_interaction_mode() and update the code to
2894 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2896 * src/hildon-pannable-area.c,
2897 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2898 per second to 15, we will check if this is ok regarding
2901 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2903 * src/hildon-pannable-area.c,
2904 (hildon_pannable_axis_scroll): Avoid resize if we already have
2905 reached overshoot_max.
2907 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2909 * src/hildon-pannable-area.c,
2910 (hildon_pannable_area_init),
2911 (hildon_pannable_area_realize),
2912 (hildon_pannable_area_size_allocate),
2913 (hildon_pannable_area_map),
2914 (hildon_pannable_area_unmap),
2915 (hildon_pannable_draw_vscroll),
2916 (hildon_pannable_draw_hscroll),
2917 (hildon_pannable_area_expose_event),
2918 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2919 pannable are to avoid the expose events go to the window and
2920 redraw the window. We save this way that part of the stack and the
2921 paint_boxes. We had to change the positions of the elements when
2924 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2926 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2927 * src/hildon-color-chooser-dialog.c:
2928 (hildon_color_chooser_dialog_init):
2929 * src/hildon-font-selection-dialog.c:
2930 (hildon_font_selection_dialog_init),
2931 (hildon_font_selection_dialog_show_preview):
2932 * src/hildon-get-password-dialog.c:
2933 * src/hildon-login-dialog.c:
2934 * src/hildon-set-password-dialog.c:
2935 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2936 * src/hildon-time-picker.c: (hildon_time_picker_init):
2938 Remove obsolete logical string IDs and update to the appropriate ones.
2940 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2942 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2944 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2945 that happens if the window hasn't been realized yet.
2947 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2948 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2950 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2952 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2953 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2956 Fixes: NB#98537 (Device hangs in account settings dialog)
2958 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2960 * configure.ac: post release version bump.
2961 * debian/changelog: version bump
2963 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2968 * configure.ac: Bump version.
2969 * debian/changelog: Updates.
2971 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2973 Added a new function to the HildonTimeButton widget that allows to
2974 change the step of the minutes in the selector associated with the
2975 button: hildon_time_button_new_step
2977 * src/hildon-time-button.c,
2978 (hildon_time_button_init),
2979 (hildon_time_button_new),
2980 (hildon_time_button_new_step):
2981 * src/hildon-time-button.h: Added the new function and refactored
2983 * examples/hildon-time-button-example.c,
2984 (main): We have replaced the function without parameters with the
2985 function with the steps set to 5
2987 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2989 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2991 * src/hildon-time-selector.c,
2992 (hildon_time_selector_class_init),
2993 (hildon_time_selector_constructor),
2994 (hildon_time_selector_get_property),
2995 (hildon_time_selector_set_property),
2996 (_create_minutes_model),
2997 (hildon_time_selector_new_step),
2998 (hildon_time_selector_set_time),
2999 * src/hildon-time-selector.h: Added a new property to the
3000 HildonTimeSelector (minutes-step), we use that property to control
3001 the steps between the minutes in the list of the selector. We have
3002 added a new function to the API to create a widget changing the
3003 step: hildon_time_selector_new_step.
3005 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3007 * src/hildon-time-selector.c,
3008 (hildon_time_selector_class_init),
3009 (hildon_time_selector_constructor),
3010 (hildon_time_selector_init): Overrided the construct function when
3011 creating the time selector object. We have moved the minutes model
3012 handling code from the init to the new construction function:
3013 hildon_time_selector_constructor.
3015 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3017 * examples/hildon-date-button-example.c: (main): Use the new
3018 hildon_date_button_new_with_year_range() method in the example.
3019 * src/hildon-date-button.c:
3020 (+hildon_date_button_new_with_year_range): New public method
3021 to conveniently create a HildonDateButton with a custom year range
3022 in its HildonDateSelector.
3023 * src/hildon-date-button.h: Add the new public method definition.
3025 Fixes: NB#97908 (Not possible to change the year range in
3026 HildonDateSelector/HildonDateButton)
3028 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3030 * src/hildon-date-selector.c:
3031 (+hildon_date_selector_set_property),
3032 (+hildon_date_selector_get_property),
3033 (hildon_date_selector_class_init): Install new properties "min-year"
3034 and "max-year" to define boundaries for the year column.
3035 (_create_year_model): Use the boundary properties to populate the model.
3036 (+hildon_date_selector_new_with_year_range): New public method to
3037 create a HildonDateSelector with a user defined year range.
3038 (hildon_date_selector_select_current_date): Use the new boundaries to
3039 calculate the iterator of current year.
3040 * src/hildon-date-selector.h: Add the new public method definition.
3042 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3044 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3045 Install a constructor method.
3046 (+hildon_date_selector_construct_ui): construct the widget.
3047 (+hildon_date_selector_constructor): new constructor.
3048 (+hildon_date_selector_init): move out widget construction code to
3049 the new constructor.
3051 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3053 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3054 that there's actually a month or year selected before obtaining them.
3055 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3056 of the HildonTouchSelector::changed signal, as it was emitted on every
3057 single item selection.
3059 Fix some warnings and possible crashers due to the selection restoring.
3061 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3063 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3064 the signal handlers only after creating the dialog instead of on every
3067 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3069 * src/hildon-button.c (hildon_button_init)
3070 * src/hildon-check-button.c (hildon_check_button_init)
3071 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3072 focus when clicked by default.
3074 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3076 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3079 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3081 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3082 Alejandro G. Castro (alex@igalia.com)
3084 * src/hildon-picker-dialog.c:
3085 (hildon_picker_dialog_class_init): install new "center-on-show"
3087 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3088 (hildon_picker_dialog_set_property): add setter code for the new
3090 (hildon_picker_dialog_get_property): add getter code for the new
3092 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3093 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3096 Fixes: NB#92849 (Selected item is not always visible when
3097 HildonTouchSelector is shown)
3099 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3101 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3102 Alejandro G. Castro (alex@igalia.com)
3104 * src/hildon-touch-selector.c:
3105 (_create_new_column): Do not connect to the "realize" signal of the
3107 (hildon_touch_selector_append_column): center on the selected items
3108 when a new column is appended.
3109 (hildon_touch_selector_select_iter): Factor out the code to select a
3110 column to hildon_touch_selector_scroll_to().
3111 (+search_nearest_element): Method to retrieve the nearest selected
3112 element to the visible area of the pannable area in a column.
3113 (+on_realize_cb): scroll to the initially selected item.
3114 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3115 the pannable area is realized, otherwise delay this until it is.
3116 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3117 selected items of a given column.
3118 (+hildon_touch_selector_center_on_selected): Public method to center
3119 all columns on the nearest selected item.
3120 * src/hildon-touch-selector.h: Add definition for
3121 hildon_touch_selector_center_on_selected().
3123 Implement public API to ensure visibility of all selected items in
3124 a HildonTouchSelector.
3126 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3128 Fixed a problem in the fading when calling the scroll_to API, and
3129 improve scrollbar fading handling.
3131 * src/hildon-pannable-area.c,
3132 (hildon_pannable_area_grab_notify): avoid the timeout when the
3134 (hildon_pannable_area_button_press_cb),
3135 (hildon_pannable_area_motion_notify_cb): Code style changes.
3136 (hildon_pannable_area_button_release_cb): Review the conditions
3137 when releasing the mouse button to avoid unrequired fading
3139 (hildon_pannable_area_scroll_to): Do not calculate and set the
3140 velocity if the scroll is not required.
3142 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3144 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3145 Don't check whether the new selector is NULL: it cannot be.
3146 Hold a reference to the selector while doing the replacement.
3148 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3150 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3151 unnecessary size_request in a removed widget.
3153 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3155 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3156 an unnecessary reference tracking that was leaking.
3158 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3160 Added delayed motion notify event handling, this way we can
3161 discard redrawing if more than 25 events arrive per second.
3163 * src/hildon-pannable-area.c,
3164 (hildon_pannable_area_init): Initialized the new private atributes
3165 controlling this timeout
3166 (hildon_pannable_area_dispose): Remove the timeout that controls
3167 the motion notify events.
3168 (hildon_pannable_area_scroll): Added a condition to control the
3169 use of the acceleration.
3170 (hildon_pannable_area_motion_event_scroll_timeout),
3171 (hildon_pannable_area_motion_event_scroll): Added this two
3172 functions, they handle the motion notify events inside the
3174 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3175 to the scroll method with the new function.
3176 (hildon_pannable_area_button_release_cb): We have to remove the
3177 timeout handler and move to the last position if the last motion
3178 events were not handled.
3180 Fixes: NB#97028 (Pannable area updates on every motion event)
3182 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3184 * src/hildon-pannable-area.c,
3185 (hildon_pannable_area_get_topmost): Added a new parameter to
3186 filter the the windows that do not include those events. Added
3187 also a condition when finding the window to filter windows that do
3188 not ask for those events.
3189 (hildon_pannable_area_button_press_cb),
3190 (hildon_pannable_area_button_release_cb),
3191 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3192 topmost function, we have added the new parameter.
3194 Fixes: NB#97458 (Pannable area prevents propagation of button
3197 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3199 * src/hildon-pannable-area.c,
3200 (hildon_pannable_area_initial_effect): Added controls before
3201 launching the timeout and the idle functions.
3202 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3203 of the method, in some situations it can return with TRUE and 0 in
3205 (hildon_pannable_area_button_press_cb): We do not need to set
3206 DELAY for fading out here.
3208 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3210 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3212 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3213 post-cleaning if the selection is not NULL.
3215 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3217 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3218 all items before restoring the selection.
3220 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3222 * src/hildon-touch-selector.c:
3223 (+hildon_touch_selector_unselect_all):
3224 * src/hildon-touch-selector.h: New API to unselect all items in a
3225 column of the touch selector.
3227 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3229 * src/hildon-pannable-area.c,
3230 (hildon_pannable_area_redraw): Added a call to the refresh
3231 function inside the redraw because apparently in some cases the
3232 change in the adjustment does not imply a size allocate.
3234 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3235 despite the view not being scrollable)
3237 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3239 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3240 leak. Check for NULL before attempting to set the window title.
3242 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3244 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3245 whether to show or not the 'Done' button each time the dialog is
3246 shown, as it depends on the HildonTouchSelector selection mode.
3248 Fixes: NB#96226 (In multiple selection mode Done button is shown
3249 sometimes in listpicker)
3251 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3253 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3254 for the number of columns in the HildonTouchSelector more than once.
3256 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3258 * src/hildon-touch-selector.c: Minor documentation fixes.
3260 * src/hildon-picker-dialog.c (+_dialog_update_title)
3261 (_select_on_selector_changed_cb)
3262 (_update_title_on_selector_changed_cb)
3263 (on_selector_columns_changed): Update dialog title when there's no
3264 'Done' button and also when the number of columns in the selector
3268 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3269 (+_selection_changed, hildon_picker_button_on_dialog_response)
3270 (hildon_picker_button_selector_selection_changed)
3271 (+hildon_picker_button_selector_columns_changed)
3272 (hildon_picker_button_set_selector): Update button value and emit
3273 'value-changed' when the number of columns in the selector
3277 Fixes: NB#96225 (Dialog titles are not shown according to the
3278 values selected in the list picker)
3280 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3282 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3283 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3284 New "arrow-width" and "arrow-height" style properties to set the
3285 size of the arrow button.
3286 Set name of arrow button ("hildon-edit-toolbar-arrow").
3288 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3289 graphics from theme)
3291 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3293 * src/hildon-picker-button.c:
3294 (hildon_picker_button_selector_selection_changed): Use
3295 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3296 the dialog is present.
3298 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3299 the selection is accepted in the dialog)
3301 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3303 * src/hildon-color-chooser.h
3304 * src/hildon-color-chooser-dialog.h:
3305 Added G_BEGIN_DECLS and G_END_DECLS
3307 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3309 (_clean_current_selection): plug a leak in the list.
3311 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3313 * src/hildon-picker-dialog.c:
3314 (+free_path_list): Method to free a GList of GtkTreePaths.
3315 (_clean_current_selection), (_save_current_selection),
3316 (_restore_current_selection): Save the current selection in
3317 as a list of lists, to support multiple selection properly.
3319 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3321 patch by Claudio Saavedra (csaavedra@igalia.com)
3323 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3324 Store the press position.
3325 (+hildon_text_view_button_release_event): If the release position is
3326 close enough to the press position, move the cursor here. Otherwise,
3328 (hildon_text_view_class_init): Override GtkTextView press, release, and
3329 motion event handlers, disabling this way text selection through
3330 pointer interaction, and allowing the container widget to handle the
3333 Fixes: NB#95828 (HildonTextView functionality)
3335 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3337 Based on a patch by Iván Gómez (igomez@igalia.com)
3339 * src/hildon-button.[ch]
3340 * src/hildon-calendar.c
3341 * src/hildon-check-button.c
3342 * src/hildon-date-editor.c
3343 * src/hildon-date-selector.c
3344 * src/hildon-picker-button.c
3345 * src/hildon-time-editor.c
3346 * src/hildon-time-selector.c
3347 * src/hildon-touch-selector.[ch]:
3348 Documentation updates
3350 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3352 * src/hildon-pannable-area.c,
3353 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3354 threshold, it was required due to X events handling.
3356 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3358 * src/hildon-pannable-area.c,
3359 (hildon_pannable_area_grab_notify),
3360 (hildon_pannable_area_initial_effect),
3361 (hildon_pannable_area_button_press_cb),
3362 (hildon_pannable_area_button_release_cb),
3363 (hildon_pannable_area_scroll_cb),
3364 (hildon_pannable_area_scroll_to): Review the timeout management of
3365 the scrollbar, the frecuency was incorrectly set.
3367 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3369 * src/hildon-picker-button.c:
3370 (+hildon_picker_button_on_dialog_response),
3371 (hildon_picker_button_clicked): Present the dialog instead of
3372 running it with gtk_dialog_run().
3374 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3377 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3379 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3380 (hildon_app_menu_finalize): When a window is hidden it doesn't
3381 emit notify::is-topmost, so make sure than the menu also
3382 disappears in that case.
3383 (parent_window_topmost_notify): Renamed from parent_window_hidden
3385 Fixes: NB#94460 (stackable window's menu is not closed when its
3388 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3390 * src/hildon-touch-selector-entry.c:
3391 (+hildon_touch_selector_entry_set_input_mode),
3392 (+hildon_touch_selector_entry_get_input_mode):
3393 * src/hildon-touch-selector-entry.h: New methods to access the input
3394 mode in the selector's entry.
3396 Fixes: NB#93410 (API required for setting IM mode in
3397 HildonTouchSelectorEntry)
3399 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3401 * configure.ac: post release version bump.
3402 * debian/changelog: version bump
3404 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3409 * configure.ac: Bump version.
3410 * debian/changelog: Updates.
3412 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3414 * src/hildon-touch-selector.c:
3415 (_hildon_touch_selector_has_multiple_selection): No need
3416 to initialize the variables here.
3418 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3420 * src/hildon-note-private.h
3421 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3422 (hildon_note_finalize, hildon_note_rebuild): Close information
3423 notes when they receive a button press.
3425 Fixes: NB#89890 (Information notes does not get disappeared after
3428 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3430 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3431 mark from the wizard title, as it's not really necessary. Also,
3432 do not display the page title if not set.
3434 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3436 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3437 (parent_window_hidden): Use the window's "is-topmost" property to
3438 detect when to hide the menu.
3440 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3442 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3443 (hildon_app_menu_finalize): If the parent window of the menu is
3444 hidden, hide the menu too.
3446 Fixes: NB#94460 (stackable window's menu is not closed when its
3449 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3452 * debian/libhildon1-examples.install
3454 * examples/Makefile.am:
3455 Use dh_install to install all examples.
3456 Use DEB_SRCDIR instead of defining SOURCE_DIR
3458 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3460 * configure.ac: post release version bump.
3461 * debian/changelog: version bump
3463 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3468 * configure.ac: bump version
3469 * debian/changelog: updates
3470 * debian/control: bump gtk+ dependency
3472 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3474 patch by Christian Dywan (christian@imendio.com)
3476 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3477 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3479 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3481 * src/hildon-check-button.c (hildon_check_button_init)
3482 (hildon_check_button_class_init, hildon_check_button_style_set)
3483 (hildon_check_button_apply_style):
3484 New "checkbox-size" style property.
3486 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3487 larger / configurable size)
3489 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3491 * configure.ac: post release version bump.
3492 * debian/changelog: version bump
3494 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3499 * configure.ac: bump version
3500 * debian/changelog: updates
3502 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3504 * doc/hildon-sections.txt
3505 * src/hildon-pannable-area.c
3506 * src/hildon-program.c
3507 * src/hildon-time-editor.c
3508 * src/hildon-touch-selector-entry.c:
3510 More documentation updates.
3512 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3514 * doc/hildon-sections.txt
3515 * src/hildon-caption.c
3516 * src/hildon-code-dialog.c
3517 * src/hildon-color-button.c
3518 * src/hildon-controlbar.c
3519 * src/hildon-date-editor.c
3520 * src/hildon-date-selector.c
3521 * src/hildon-edit-toolbar.c
3522 * src/hildon-find-toolbar.c
3523 * src/hildon-font-selection-dialog.c
3525 * src/hildon-program.c
3526 * src/hildon-range-editor.c
3527 * src/hildon-seekbar.c
3528 * src/hildon-time-editor.c
3529 * src/hildon-time-selector.c
3530 * src/hildon-volumebar-range.c
3531 * src/hildon-volumebar.c
3532 * src/hildon-vvolumebar.c
3533 * src/hildon-weekday-picker.c
3534 * src/hildon-window.c
3535 * src/hildon-wizard-dialog.c:
3537 Lots of documentation fixes.
3539 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3541 Patch contributed by Iván Gómez (igomez@igalia.com)
3543 * src/hildon-check-button.c:
3544 * src/hildon-date-button.c:
3545 * src/hildon-date-selector.c:
3546 * src/hildon-dialog.c:
3547 * src/hildon-edit-toolbar.c:
3548 * src/hildon-entry.c:
3549 * src/hildon-picker-button.c:
3550 * src/hildon-program.c:
3551 * src/hildon-text-view.c:
3552 * src/hildon-time-button.c:
3553 * src/hildon-touch-selector-entry.c:
3554 * src/hildon-window-stack.c:
3556 Add more "since" tags to the new API.
3558 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3560 * doc/hildon-sections.txt: Add below method.
3561 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3562 version for the hildonized scale.
3563 * src/hildon-gtk.h: Add the definition.
3565 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3567 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3569 * doc/hildon-sections.txt: Add missing entries for new methods.
3571 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3573 Added API to pannable are in order to get its adjustments. We
3574 added two properties to manage the values we had in the private
3577 * src/hildon-pannable-area.c:
3578 (hildon_pannable_area_class_init): Added hadjustment and
3579 vadjustment properties in order to expose horizontal and vertical
3581 (hildon_pannable_area_get_property),
3582 (hildon_pannable_area_set_property): Added code to handle the new
3584 (hildon_pannable_area_get_hadjustment),
3585 (hildon_pannable_area_get_vadjustment): API functions to get the
3587 * src/hildon-pannable-area.h:
3588 (hildon_pannable_area_get_hadjustment),
3589 (hildon_pannable_area_get_vadjustment): API functions to get the
3592 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3594 Fixed some leaks, after valgrinding.
3596 * src/hildon-touch-selector.c:
3597 (_default_print_func): Fixed a leak.
3598 (hildon_touch_selector_append_column): Fixed a leak.
3599 * src/hildon-date-button.c:
3600 (hildon_date_button_init): Fixed a leak.
3601 * src/hildon-date-selector.c
3602 (hildon_date_selector_finalize): Fixed a leak.
3604 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3606 Based on a patch by Christian Dywan (christian@imendio.com)
3608 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3610 * src/hildon-gtk.h: Add definition.
3612 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3614 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3616 * src/hildon-picker-button.c: (hildon_picker_button_init),
3617 (hildon_picker_button_new): Set the HildonButton::style property
3618 in the init method, to propagate the value to the derived classes.
3620 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3622 * src/hildon-button.c: (hildon_button_class_init): Do not make
3623 the "style" property a construct property.
3625 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3627 * src/hildon-wizard-dialog.h
3628 * src/hildon-wizard-dialog.c
3629 (hildon_wizard_dialog_set_forward_page_func)
3630 * src/hildon-pannable-area.h
3631 * src/hildon-pannable-area.c
3632 (hildon_pannable_area_set_size_request_policy):
3633 Documentation fixes.
3635 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3637 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3639 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3641 * doc/hildon-sections.txt: Added sections file.
3643 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3646 * src/*.[ch]: Updates.
3648 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3650 * examples/hildon-progress-indicator-example.c: new file
3651 * examples/Makefile.am: include the new example program
3653 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3655 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3657 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3659 * configure.ac: post release version bump
3660 * debian/changelog: version bump
3662 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3667 * configure.ac: bump version
3668 * debian/changelog: updates
3669 * debian/control: bump gtk+ dependency
3671 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3673 * src/hildon-dialog.c: Mark as deprecated.
3674 * src/hildon-dialog.h: Mark as deprecated.
3675 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3676 from HildonDialog and still work, even if
3677 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3678 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3680 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3681 maemo changes) instead)
3683 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3685 * src/hildon-pannable_area.h:
3686 * src/hildon-pannable_area.c:
3687 (hildon_pannable_area_class_init),
3688 (hildon_pannable_area_set_property),
3689 (hildon_pannable_area_get_property),
3690 (hildon_pannable_area_size_request),
3691 (hildon_pannable_area_get_size_request_policy),
3692 (hildon_pannable_area_set_size_request_policy): Added new API
3693 allowing applications to control the request policy. Now they can
3694 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3695 children allocation (HILDON_MOVEMENT_CHILDREN).
3697 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3701 (hildon_gtk_tree_view_set_ui_mode)
3702 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3703 mode of treeviews and iconviews.
3705 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3707 * src/hildon-touch-selector-entry.c:
3708 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3709 of a GtkEntry to get proper theming.
3711 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3712 widget, not GtkEntry)
3714 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3716 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3717 no HildonWizardDialogPageFunc.
3719 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3721 Patch contributed by Iván Gómez (igomez@igalia.com)
3723 * src/hildon-app-menu.c:
3724 * src/hildon-button.c:
3725 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3726 * src/hildon-stackable-window.c:
3727 * src/hildon-time-selector.c:
3728 * src/hildon-touch-selector.c:
3729 * src/hildon-window.c:
3731 Add more "since" tags to the new API in hildon 2.2.
3733 2008-12-05 Tim Janik <timj@imendio.com>
3735 Patch contributed by Christian Dywan (christian@imendio.com)
3737 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3738 HildonSizeType, which are supplied by Gtk+ now.
3740 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3742 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3743 (with maemo changes) instead)
3745 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3747 Patch contributed by Iván Gómez (igomez@igalia.com)
3749 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3752 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3754 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3755 (some_page_func), (main): Update the example to use a
3756 HildonWizardDialogPageFunc function.
3758 * src/hildon-wizard-dialog-private.h: Add private data for
3759 the HildonWizardDialogPageFunc function usage.
3761 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3762 (destroy), (hildon_wizard_dialog_init), (response),
3763 (hildon_wizard_dialog_set_forward_page_func):
3764 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3765 that applications can use to stop a HildonWizardDialog to jump to
3768 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3771 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3773 * src/hildon-program.h
3774 * src/hildon-program-private.h
3775 * src/hildon-program.c (hildon_program_init)
3776 (hildon_program_set_common_app_menu)
3777 (hildon_program_get_common_app_menu):
3778 New API for setting a common HildonAppMenu for all
3779 HildonStackableWindows registered with the HildonProgram.
3781 * src/hildon-stackable-window.c
3782 (hildon_stackable_window_toggle_menu):
3783 Use the common HildonAppMenu if a window doesn't have a specific
3786 * src/hildon-app-menu-private.h
3787 * src/hildon-app-menu.c
3788 (hildon_app_menu_get_parent_window):
3789 Function to obtain the window a HildonAppMenu is attached to.
3790 (hildon_app_menu_set_parent_window):
3791 Hide the menu if the parent window is set to NULL.
3793 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3795 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3796 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3797 search widget to popup.
3799 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3801 * configure.ac: post release version bump
3802 * debian/changelog: version bump
3804 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3809 * configure.ac: bump version
3810 * debian/changelog: updates
3812 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3814 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3816 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3817 (hildon_window_stack_window_realized)
3818 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3819 Set the leader GdkWindow when a window is stacked and realized,
3820 unset it when it's unstacked.
3821 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3823 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3825 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3827 * src/hildon-stackable-window.h
3828 * src/hildon-window-stack.h:
3829 Protect definition of HildonWindowStack using the preprocessor.
3831 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3833 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3834 Fix warning if all menu items are hidden.
3836 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3838 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3840 * src/hildon-controlbar.c:
3841 * src/hildon-hvolumebar.c:
3842 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3843 Multiple scale size defines updates.
3845 Fixes: NB#94322 (Scale Updates)
3847 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3849 * examples/hildon-app-menu-example.c (create_menu)
3850 Show items after adding them to the menu, as in the future the
3851 menu will no longer call gtk_widget_show() on the added items.
3853 * src/hildon-app-menu.c:
3854 Update example as explained above.
3856 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3858 * src/hildon-app-menu.c
3859 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3860 Make sure that all menu items have finger height.
3862 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3864 * src/hildon-picker-dialog.c:
3865 (_on_dialog_response), (_save_current_selection),
3866 (_restore_current_selection), (_clean_current_selection),
3867 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3868 Defined new functions in order to save the current internal selector
3869 selection previous open the dialog, in case that the use cancel the
3870 interaction, so the widget restores the previous selection.
3872 Fixes: NB#92032 (In calendar application, date values in 'new event'
3875 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3877 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3879 * src/hildon-button.c: Add a reference to the button examples in
3880 hildon-button-example.c
3882 * examples/hildon-button-example.c: Added examples of the most
3883 common button layouts.
3885 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3887 * src/hildon-app-menu.c (hildon_app_menu_show)
3888 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3890 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3892 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3894 * src/hildon-picker-dialog.c:
3895 (hildon_picker_dialog_init): Initialize the signal id for
3896 HildonTouchSelector::columns-changed.
3897 (+on_selector_columns_changed): Set up the interaction mode everytime a
3898 column is added or removed from the HildonTouchSelector.
3899 (_hildon_picker_dialog_set_selector): Connect to
3900 HildonTouchSelector::columns-changed and keep track of it.
3902 Make sure to update the interaction mode of the dialog everytime a
3903 column is added or removed in the HildonTouchSelector.
3905 Fixes: NB#93228 (Done button is not shown always in listpicker)
3907 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3909 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3910 a new ::columns-changed signal.
3911 (hildon_touch_selector_append_column): Emit ::columns-changed.
3912 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3914 Add a ::columns-changed signal, emitted when the number of columns in a
3915 HildonTouchSelector changes.
3917 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3919 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3920 (_hildon_picker_dialog_set_selector): Factor out the code
3921 to set up the dialog interaction mode.
3923 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3925 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3926 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3927 to signal_changed_id.
3929 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3931 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3934 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3936 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3937 Updated the logical ids related to ampm format, as now it is required to
3938 show it correctly localized even on languages with no default
3939 abbreviations for am or pm
3940 (_check_am_pm_format): check correctly the 24h format gconf property
3942 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3944 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3946 * src/hildon-button.c: Documentation updates.
3948 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3950 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3951 * src/hildon-caption.c: (hildon_caption_class_init):
3952 * src/hildon-color-button.c: (hildon_color_button_class_init):
3953 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3954 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3955 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3956 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3958 Remove deprecated GTK+ marshalers and replace them with the ones
3959 provided by GLib, for those available, add a marshaler for
3960 BOOLEAN:VOID, which is not available in GLib, and use it.
3962 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3964 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3965 the text from the previous column if there is no
3966 HildonTouchSelectorColumn::text-property set.
3968 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3970 * src/hildon-button.h
3971 * src/hildon-button.c (hildon_button_set_property)
3972 (hildon_button_get_property, hildon_button_class_init)
3973 (hildon_button_set_style, hildon_button_get_style):
3974 New "style" property to change the visual appearance of the
3977 * src/hildon-picker-button.c (hildon_picker_button_new):
3978 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3980 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3981 HildonButton look like PickerButton)
3983 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3985 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3986 column while building the default string.
3988 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3990 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3991 scroll indicator by default.
3993 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3995 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3997 * src/hildon-main.c: Fix the documentation for hildon_init()
3999 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4001 * doc/hildon-docs.sgml
4005 * src/hildon-window-stack-private.h
4006 * src/hildon-window-stack.h
4007 * src/hildon-window-stack.c:
4008 New HildonWindowStack object, that adds support for multiple
4009 stacks of windows per process.
4011 * src/hildon-stackable-window-private.h
4012 * src/hildon-stackable-window.h
4013 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4014 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4015 (hildon_stackable_window_show, hildon_stackable_window_hide)
4016 (hildon_stackable_window_class_init)
4017 (hildon_stackable_window_init):
4018 Use HildonWindowStack for stack management.
4020 * src/hildon-program.c (hildon_program_pop_window_stack)
4021 (hildon_program_peek_window_stack)
4022 (hildon_program_go_to_root_window):
4023 Add a fallback implementation to the deprecated functions using
4026 * examples/hildon-stackable-window-example.c:
4027 Use the new HildonWindowStack API.
4029 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4031 * src/hildon-stackable-window-private.h
4032 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4033 (hildon_stackable_window_hide, hildon_stackable_window_init):
4034 Remove all window stack management.
4036 * src/hildon-program-private.h
4037 * src/hildon-program.h
4038 * src/hildon-program.c (hildon_program_init)
4039 (hildon_program_pop_window_stack)
4040 (hildon_program_peek_window_stack)
4041 (hildon_program_go_to_root_window):
4042 Remove all window stack management and mark functions as
4045 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4047 * src/hildon-app-menu.c (hildon_app_menu_realize):
4048 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4050 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4052 * configure.ac: post release version bump
4053 * debian/changelog: version bump
4055 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4060 * configure.ac: bump version
4061 * debian/changelog: updates
4063 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4065 Based on initial code by Christian Dywan (christian@imendio.com)
4067 * doc/hildon-docs.sgml: Add section for hildon-main.
4068 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4069 * src/Makefile.am: Add new hildon-main.[ch]
4070 * src/hildon-defines.h: Update the icon sizes.
4071 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4072 new library initialization files and register icon sizes.
4073 * src/hildon-main.h: New declarations.
4074 * src/hildon.h: Include hildon-main.h
4076 Add new initialization functions to the library. These methods
4077 will register the hildon specific icon sizes and can be used in the
4078 future for other hildon specific bits.
4080 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4082 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4084 * src/hildon-window.c: (hildon_window_realize),
4085 (hildon_window_notify), (-hildon_window_update_title): Do not set
4086 the application name in the window title.
4088 Fixes: NB#89754 (Applications shouldn't display their names in the
4091 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4093 * src/hildon-note-private.h:
4094 * src/hildon-note.c: (hildon_note_set_property),
4095 (hildon_note_get_property), (hildon_note_class_init),
4096 (hildon_note_init), (hildon_note_finalize),
4097 (hildon_note_new_confirmation_with_icon_name),
4098 (hildon_note_new_information_with_icon_name):
4100 No need to mark as deprecated the actual code. Revert
4101 to avoid missing symbols in widgets using deprecated API.
4103 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4105 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4107 * src/hildon-volumebar.h
4108 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4109 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4111 * src/hildon-helper.h
4112 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4113 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4115 * examples/Makefile.am:
4116 Deprecate hildon-insensitive-example
4118 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4120 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4122 * examples/hildon-pannable-area-buttons-scroll-example.c:
4123 Make all buttons finger height
4125 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4127 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4129 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4130 update the day model only if it is really required, and to avoid the
4131 full-reconstruction aproach. Now it only add or remove the required days.
4133 The purpose of this is avoid superfluous HildonTouchSelector::changed
4136 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4137 with strange parameters)
4139 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4141 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4143 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4144 the WINDOW_TYPE property.
4146 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4148 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4151 Fix dependency to allow parallel compilation with make -jX
4153 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4155 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4156 color frame and some minor tweaks to make it more consistent with
4159 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4160 highlighted but not visible)
4162 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4164 * examples/Makefile.am: Fixed typo in the Makefile.am.
4166 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4168 Reviewed the use of MAEMO_GTK define, now we add the define in the
4169 compilation line, and we also add it to the pc file.
4171 * configure.ac: Added MAEMO_GTK define to the compilation command
4172 and removed it from the config.h.
4174 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4175 do not have to take care about this define if the library was
4179 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4181 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4183 * examples/Makefile.am,
4184 * examples/hildon-pannable-area-buttons-scroll-example.c,
4185 * examples/hildon-pannable-area-gesture-signals-example.c,
4186 * examples/hildon-pannable-area-scroll-jump-example.c,
4187 * examples/hildon-pannable-area-tree-view-example.c:
4188 Renamed the pannable area examples, now they have more meaningful
4191 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4193 * src/hildon-touch-selector.c:
4194 (hildon_touch_selector_set_column_selection_mode): Used of
4195 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4196 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4197 to avoid re-seting the same selection mode.
4199 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4200 breaks HildonPickerDialog)
4202 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4204 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4205 conditional in the Makefile.am
4207 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4209 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4210 Remove unused methods.
4212 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4214 * src/hildon-button.c (hildon_button_init):
4215 Make button images center-aligned by default
4217 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4220 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4221 activated, we have to think about how to deal with both defines
4222 MAEMO_GTK and MAEMO_CHANGES.
4224 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4226 * examples/hildon-app-menu-example.c (create_menu): Make all
4227 buttons finger size.
4229 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4231 Fixed the compilation without maemo gtk adding ifdefs with
4232 MAEMO_GTK define to the code, we have to check this version more
4235 * examples/Makefile.am: Added control to avoid some examples that
4236 just make sense with maemo gtk.
4239 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4240 hildon modes with the define.
4242 * examples/hildon-edit-toolbar-example.c,
4243 (create_icon_view): Create the icon view without hildon-gtk
4244 helpers if we are not using maemo gtk.
4246 * src/hildon-touch-selector.c,
4247 (_create_new_column): Create the treeview without hildon-gtk
4248 helpers if we are not using maemo gtk.
4250 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4252 * src/hildon-pnnable-area.c,
4253 (hildon_pannable_area_dispose),
4254 (hildon_pannable_area_button_press_cb),
4255 (hildon_pannable_area_child_mapped),
4256 (hildon_pannable_area_add),
4257 (hildon_pannable_area_remove): Added code to control the position
4258 of the event_window when adding and removing children from the
4259 pannable. We have to raise the event window when the child is
4262 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4263 selection mode using custom widget inside pannable)
4265 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4267 * configure.ac: post release version bump
4268 * debian/changelog: version bump
4270 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4275 * configure.ac: bump version
4276 * debian/changelog: updates
4278 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4280 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4281 search mode, in order to avoid lose the focus on the treeview when
4282 a hw key (like enter) is pressed.
4284 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4285 in HildonDateSelector dialog)
4287 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4289 * debian/rules: Added --enable-maintainer-mode
4290 * Makefile.am: Added ACLOCAL_AMFLAGS
4292 This allows to properly regenerate the Makefiles if you modify the
4293 configure.ac or any Makefile.am.
4295 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4297 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4298 properties, not needed at all.
4300 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4302 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4304 * src/hildon-note.c: (hildon_note_set_property),
4305 (hildon_note_get_property), (hildon_note_class_init),
4306 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4307 (hildon_note_new_confirmation_add_buttons): Remove icons.
4308 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4309 (hildon_note_new_information_with_icon_name): Deprecate.
4310 (hildon_note_new_confirmation): Act directly, without calling
4311 the deprecated constructor.
4312 (hildon_note_new_information): Act directly, without calling
4313 the deprecated constructor.
4314 * src/hildon-note.h: Mark deprecate methods as such.
4315 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4316 not run tests on the deprecated methods if built with deprecation
4319 Fixes: NB#91688 (Never show icons in information notes/confirmation
4322 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4324 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4325 (hildon_app_menu_key_press): Remove leftover usage of the
4326 private structure in HildonAppMenu struct.
4327 * src/hildon-app-menu.h: Remove leftover private structure
4328 from the HildonAppMenu struct.
4330 Fixes a crasher when using the HildonAppMenu.
4332 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4334 * src/hildon-picker-dialog.c: Use appropriate logical id
4335 for the default "Done" text.
4337 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4339 * configure.ac: post release version bump
4340 * debian/changelog: version bump
4342 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4344 Modified the way to scroll to the current selection just when the touch
4345 selector is shown on the screen, avoiding a g_idle. Added too a property
4346 to configure this behaviour. See hildon_pannable_area_jump_to_child
4347 documentation for more information.
4349 * src/hildon-touch-selector.c
4350 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4351 Added 'initial-scroll' property
4352 (hildon_touch_selector_set_property): Added
4353 (hildon_touch_selector_map): Removed as not required anymore
4354 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4355 only a concrete column, instead of iterate along all the columns
4357 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4362 * configure.ac: bump version
4363 * debian/changelog: updates
4365 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4367 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4368 compilation time warnings.
4370 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4372 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4373 the default value for HildonPannableArea::mov-mode to
4374 HILDON_PANNABLE_AREA_MODE_VERT.
4376 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4378 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4380 Reverting following commit:
4382 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4384 * src/hildon-app-menu-private.h
4385 * src/hildon-app-menu.[ch]
4386 * src/hildon-button.[ch]
4387 * src/hildon-check-button.[ch]
4388 * src/hildon-entry.[ch]
4389 * src/hildon-pannable-area.[ch]
4390 * src/hildon-text-view.[ch]:
4391 Added private field to the object's structure.
4393 because it causes an ABI breakage. We will need to introduce these
4394 changes later at some point. See NB#91636 for an extensive
4395 explanation and status.
4397 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4399 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4401 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4402 remove special cases that are no longer necessary.
4404 Fixes: NB#91016 (Change toolbar sizes, simplification)
4406 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4408 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4409 is shown in the cancel note.
4411 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4413 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4414 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4415 (hildon_seekbar_init): Remove steppers, remove expose event.
4416 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4418 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4420 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4422 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4423 label font to "SmallSystemFont" for vertically arranged buttons.
4425 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4428 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4430 * src/hildon-check-button.c
4431 (hildon_check_button_set_active, hildon_check_button_clicked):
4432 Don't access private parts directly, use getters instead.
4434 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4436 * src/hildon-check-button.c (hildon_check_button_new):
4437 Align the contents of the check button to the left.
4439 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4441 * src/hildon-pannable-area.c,
4442 (hildon_pannable_area_scroll_to),
4443 (hildon_pannable_area_jump_to),
4444 (hildon_pannable_area_scroll_to_child),
4445 (hildon_pannable_area_jump_to_child): Replace the mapped
4446 precondition of these functions with the realized, it is the
4447 correct state of the widget in this case. Changed the
4448 documentation according to this modification.
4450 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4452 Added a new EXTRA_CFLAGS option to add the deprecated define to
4453 the compilation command. This way we can avoid using the define in
4454 the documentation compilation.
4456 * configure.ac: Defined EXTRA_CFLAGS.
4458 * examples/Makefile.am:
4460 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4462 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4464 * src/hildon-picker-dialog.c:
4465 Defined a utility macro with the desired touch selector height
4466 Removed currently unused separator, and title_label variables from
4468 (hildon_picker_dialog_init): Removed code related to the creation
4469 of unused private variables title_label and separator.
4470 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4471 to ensure correct visualization of the touch selector inside the dialog.
4472 * src/hildon-touch-selector.c
4473 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4474 ensure a concrete height of the widget.
4476 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4479 * tests/Makefile.am:
4481 Remove spurious whitespaces.
4483 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4485 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4486 compilation warning after the cancel button removal.
4488 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4490 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4492 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4493 Makefile.am, that way we can choose not to compile some examples
4494 and tests of the deprecated widgets.
4496 * examples/Makefile.am: Divided the sources in deprecated and
4499 * src/Makefile.am: Added undef statement of the deprecated
4500 symbol to the enums file generation process.
4502 * src/hildon-color-chooser-dialog.c
4503 * src/hildon-color-chooser-dialog.h
4504 * src/hildon-color-button.c
4505 * src/hildon-color-button.h
4506 * src/hildon-color-chooser.c
4507 * src/hildon-color-chooser.h
4508 * src/hildon-controlbar.c
4509 * src/hildon-controlbar.h
4510 * src/hildon-date-editor.c
4511 * src/hildon-date-editor.h
4512 * src/hildon-hvolumebar.c
4513 * src/hildon-hvolumebar.h
4514 * src/hildon-private.c
4515 * src/hildon-private.h
4516 * src/hildon-range-editor.c
4517 * src/hildon-range-editor.h
4518 * src/hildon-seekbar.c
4519 * src/hildon-seekbar.h
4520 * src/hildon-time-editor.c
4521 * src/hildon-time-editor.h
4522 * src/hildon-time-picker.c
4523 * src/hildon-time-picker.h
4524 * src/hildon-volumebar.c
4525 * src/hildon-volumebar.h
4526 * src/hildon-vvolumebar.c
4527 * src/hildon-vvolumebar.h
4528 * src/hildon-bread-crumb-trail.h
4529 * src/hildon-bread-crumb-trail.c
4530 * src/hildon-calendar-popup.c
4531 * src/hildon-calendar-popup.h
4532 * src/hildon-weekday-picker.c:
4533 * src/hildon-weekday-picker.h:
4534 * src/hildon-bread-crumb-widget.c:
4535 * src/hildon-bread-crumb-widget.h:
4536 * src/hildon-bread-crumb.c:
4537 * src/hildon-bread-crumb.h:
4538 * src/hildon-calendar.c:
4539 * src/hildon-calendar.h:
4540 * src/hildon-caption.c:
4541 * src/hildon-code-dialog.c:
4542 * src/hildon-code-dialog.h:
4543 * src/hildon-font-selection-dialog.c:
4544 * src/hildon-font-selection-dialog.h:
4545 * src/hildon-get-password-dialog.c:
4546 * src/hildon-get-password-dialog.h:
4547 * src/hildon-login-dialog.c:
4548 * src/hildon-login-dialog.h:
4549 * src/hildon-number-editor.c:
4550 * src/hildon-number-editor.h:
4551 * src/hildon-set-password-dialog.c:
4552 * src/hildon-set-password-dialog.h:
4553 * src/hildon-sort-dialog.c:
4554 * src/hildon-sort-dialog.h: This is the list of deprecated
4557 * src/hildon-touch-selector.c:
4558 * src/hildon-window.c: Added undef statement to avoid compilation
4561 * tests/Makefile.am: Divided the sources in deprecated and
4564 * tests/check_test.c,
4565 (configure_tests): Marked the deprecated code that was adding
4566 suites with deprecated tests.
4568 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4570 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4572 * src/hildon-touch-selector.c: (_default_print_func): Do not
4573 duplicate a string returned by gtk_tree_model_get(), it is already
4576 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4579 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4581 * src/hildon-pannable-area.c
4582 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4583 method, it had problems when adding a widget with viewport the
4584 second time. Now checks if it already has a viewport and uses it.
4586 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4589 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4591 * src/hildon-pannable-area.c,
4592 (hildon_pannable_area_scroll_to),
4593 (hildon_pannable_area_jump_to),
4594 (hildon_pannable_area_scroll_to_child),
4595 (hildon_pannable_area_jump_to_child): Added a precondition to the
4596 scroll and jump to functions: the widget must be mapped before we
4597 can safely call these functions. We have also added documentation
4598 to the functions to explain how to use them in this situation.
4601 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4603 Reviewed the threading handling of the pannable widget, we have
4604 used the gdk_threads_add_timeout function instead of the usual
4605 glib handlers. This avoids some problems with the threads.
4607 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4608 (hildon_pannable_area_initial_effect),
4609 (hildon_pannable_area_scroll_indicator_fade),
4610 (hildon_pannable_area_button_press_cb),
4611 (hildon_pannable_area_timeout),
4612 (hildon_pannable_area_motion_notify_cb),
4613 (hildon_pannable_area_button_release_cb),
4614 (hildon_pannable_area_scroll_cb),
4615 (hildon_pannable_area_scroll_to): Removed the
4616 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4617 gdk_threads_add_timeout.
4619 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4621 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4626 * configure.ac: bump version
4627 * debian/changelog: updates
4629 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4631 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4632 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4633 * src/hildon-color-chooser-dialog.c:
4634 (hildon_color_chooser_dialog_init):
4635 * src/hildon-font-selection-dialog.c:
4636 (hildon_font_selection_dialog_init):
4637 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4639 Remove all cancel/close-like dialogs, as these are not going to be
4642 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4644 * src/hildon-note.c: (hildon_note_rebuild),
4645 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4648 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4650 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4652 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4653 sure all buttons are shown, even the Cancel/Close-like ones.
4655 Fixes: NB#90861 (Custom Confirmation dialogs should be
4656 protected from cancel button removal)
4658 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4660 * debian/control: Change libhildon1-examples dependency from libhildon1
4662 * debian/libhildon1-examples.install
4664 * Makefile.am: Modified the final install directory for the examples on
4665 package libhildon1-examples
4666 * Makefile.static: Update clean target in order to remove all the binary
4669 Changes suggested by Claudio after review new libhildon1-examples package
4671 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4673 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4674 * src/hildon-touch-selector.c: Ditto.
4676 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4678 * debian/control: Added new package libhildon1-examples, in order to pack
4679 the current hildon examples as documentation
4680 * debian/rules: Not to compress .c files, modify some includes on the
4681 examples (as normally are compiled locally, but when installed it will
4682 require to include the installed libhildon1 library), and rename
4684 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4685 install all the example files on the new example package
4686 * examples/Makefile.static: Added static makefile that can be used to
4687 compile the examples, once installed the new example package
4688 * examples: Most of the examples were modified in order to grant that
4689 all use only '#include "hildon.h"', in order to be easy to prepare
4690 it on the example package
4692 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4695 * debian/libhildon1-dev.install
4696 * debian/libhildon1-doc.install:
4697 Move all gtk-doc files to a separate libhildon1-doc package.
4699 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4701 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4703 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4705 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4707 * debian/rules: Fixed a error in order to avoid unnecessary calls
4708 to autogen.sh on package building
4710 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4712 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4714 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4716 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4719 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4721 * src/hildon-picker-button.c
4722 (hildon_picker_button_finalize):
4723 Free priv->done_button_text
4725 * src/hildon-time-button.c
4726 (hildon_time_button_set_time)
4727 * src/hildon-picker-button.c
4728 (hildon_picker_button_clicked)
4729 (hildon_picker_button_selector_selection_changed)
4730 (hildon_picker_button_set_selector)
4731 * src/hildon-date-button.c
4732 (hildon_date_button_set_date):
4733 Free strings returned by hildon_touch_selector_get_current_text()
4735 * src/hildon-button.c (hildon_button_construct_child):
4736 Fix leaks in priv->image and priv->label_box
4738 Fixes: NB#90535 (Memory leak in picker button)
4740 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4742 * src/hildon-button.c: (hildon_button_get_property): Do not access
4743 private elements directly, use getters instead.
4745 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4747 * src/hildon-app-menu-private.h
4748 * src/hildon-app-menu.c
4749 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4750 Store the menu's parent window.
4752 * src/hildon-stackable-window.c
4753 (hildon_stackable_window_toggle_menu)
4754 (hildon_stackable_window_finalize):
4755 Set the menu's parent window when the menu is shown, unset it when
4758 * src/hildon-app-menu.c
4759 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4760 (hildon_app_menu_class_init):
4761 Send unhandled keyboard accelerators to the parent window.
4763 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4765 * src/hildon-stackable-window.c
4766 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4768 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4770 * configure.ac: post release version bump
4772 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4775 * configure.ac: Bump version
4776 * debian/changelog: Updates
4777 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4780 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4782 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4785 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4786 GtkMenu with Hildon style.
4788 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4790 * src/hildon-picker-button.c:
4791 (hildon_picker_button_set_done_button_text): Set the dialog's
4792 done button text here as well.
4794 Fixes: NB#90232 (Picker button does not set the label on done button
4795 for the second time)
4797 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4799 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4802 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4804 * src/hildon-app-menu.c (hildon_app_menu_insert)
4805 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4806 the HildonAppMenu to be activatable using keyboard accelerators
4807 when the menu is not being shown.
4809 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4811 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4813 * src/hildon-stackable-window.c
4814 (hildon_stackable_window_show):
4815 Don't hide old windows automatically when new windows are shown:
4816 this is now a task for the window manager.
4817 (hildon_stackable_window_class_init)
4818 (hildon_stackable_window_hide):
4819 Remove windows from the stack everytime they're hidden.
4820 (hildon_stackable_window_realize):
4821 Don't change the _NET_WM_WINDOW_TYPE property. Use
4822 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4823 it as a stackable window.
4825 * src/hildon-program.c
4826 (hildon_program_pop_window_stack):
4827 Just hide the window to remove it from the stack.
4828 (hildon_program_go_to_root_window):
4829 Don't call gtk_widget_show(), this is now a task for the window
4832 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4834 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4836 * src/hildon-button.c
4837 (hildon_button_construct_child):
4838 Don't pack anything in the button until text or image are
4839 set. This allows adding a custom child after creating the button
4840 with hildon_button_new().
4841 (hildon_button_finalize, hildon_button_class_init)
4842 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4843 alignment and the label box even when they're not packed in the
4846 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4848 * src/hildon-touch-selector.h:
4849 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4850 currently the type definition was using GTK_TYPE_VBOX
4851 * src/hildon-touch-selector.c:
4852 Added some implementation notes in order to clarify that any other widget
4853 added without the column related API will not be included on the
4854 selection logic, and how the widget is freed, as some people ask about
4856 (hildon_touch_selector_remove): Reimplemented in order to free properly
4857 the column related data when you remove the private hbox.
4858 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4859 to get a proper HildonTouchSelectorColumn documentation
4861 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4863 * src/hildon-touch-selector-entry.c:
4864 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4865 text in the GtkEntry and there is no item selected. Fixes a
4868 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4870 * src/hildon-app-menu-private.h
4871 * src/hildon-app-menu.[ch]
4872 * src/hildon-button.[ch]
4873 * src/hildon-check-button.[ch]
4874 * src/hildon-entry.[ch]
4875 * src/hildon-pannable-area.[ch]
4876 * src/hildon-text-view.[ch]:
4877 Added private field to the object's structure.
4879 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4881 * configure.ac: post-release version bump
4883 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4887 * configure.ac: pre-release version bump
4889 * debian/changelog: updates.
4891 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4893 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4894 Disconnect the handler for HildonTouchSelector::changed.
4896 (hildon_picker_button_selector_selection_changed): Update the button
4897 value if the selection change was not triggered by the
4900 (hildon_picker_button_set_selector): connect to
4901 HildonTouchSelector::changed.
4903 Fixes: NB#89650 (Picker button is not updated, when selection in
4904 selector has changed)
4906 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4908 * src/hildon-picker-dialog.c
4909 (hildon_picker_dialog_realize): Removed as not required
4910 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4911 * src/hildon-picker-button.c
4912 (_current_selector_empty): New function, checks if the selector is empty
4913 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4914 if the current selector is empty, in order to avoid to show the dialog
4915 close the dialog in this case (and shows a g_warning).
4917 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4919 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4921 * src/hildon-pannable-area.c,
4922 (hildon_pannable_area_scroll): Added clause to stop movement when
4923 the child of pannable is smaller than one page.
4924 (hildon_pannable_area_scroll_to): Added conditions to avoid
4925 starting the scrolling movement if the child is smaller than one
4926 page, the complete child is in the screen, we do not have to move.
4928 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4930 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4932 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4933 this is managed automatically by the widget when the size of the
4936 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4938 * src/hildon-picker-button.c
4939 (hildon_picker_button_set_done_button_text): Make a copy of the
4940 text, and free the previous value.
4942 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4944 * src/hildon-touch-selector-entry.c:
4945 (hildon_touch_selector_entry_print_func): Return the selected row's
4946 text if the entry is empty.
4948 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4951 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4953 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4955 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4958 * src/hildon-check-button.h
4959 * src/hildon-check-button.c
4960 * examples/hildon-check-button-example.c:
4961 HildonCheckButton is now a new widget. 'toggled' signal added.
4963 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4965 * src/hildon-program-private.h
4966 * src/hildon-program.c (hildon_program_init)
4967 (hildon_program_finalize): Removed unused variables group_leader
4968 and name from HildonProgramPrivate.
4970 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4972 * src/hildon-check-button.c (hildon_check_button_set_active)
4973 (hildon_check_button_get_active, hildon_check_button_new): Use
4974 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4976 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4978 * src/hildon-touch-selector.h
4979 (hildon_touch_selector_set_column_attributes): added deprecation
4980 guard HILDON_DISABLE_DEPRECATED
4981 * src/hildon-time-selector.c
4982 (hildon_time_selector_set_time)
4983 (hildon_time_selector_get_time): Fixed a typo on documentation
4984 * src/hildon-touch-selector.c: update HildonTouchSelector and
4985 HildonTouchSelectorColumn documentation
4986 * src/hildon-touch-selector-entry.c: update "text-column" property
4988 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4989 to be added to the general documentation.
4991 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4993 * examples/hildon-pannable-area-example-4.c,
4995 * examples/hildon-pannable-area-example.c,
4996 (main): Modified the code in order to use the container add, with
4997 viewport treeviews could have problems if they are really big.
4999 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5001 * src/hildon-weekday-picker.c,
5002 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5003 the agreement regarding deprecation in the library.
5005 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5007 * examples/hildon-picker-button-multicolumn-example.c:
5008 (main): Use custom "done" button text.
5010 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5011 (hildon_picker_button_set_property),
5012 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5013 (hildon_picker_button_init),
5014 (+hildon_picker_button_get_done_button_text),
5015 (+hildon_picker_button_set_done_button_text): New methods to customize
5016 the "done" button label in the launched HildonPickerDialog. Also,
5019 * src/hildon-picker-button.h: add the public API.
5021 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5023 * src/hildon-date-selector.h:
5024 * src/hildon-picker-dialog.h:
5025 * src/hildon-time-selector.h:
5026 * src/hildon-touch-selector-column.h:
5027 * src/hildon-touch-selector.h:
5029 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5030 declarations. Fixes gtk-doc warnings.
5032 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5034 * src/hildon-picker-dialog.h
5035 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5036 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5038 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5039 long text is set as label for done button)
5041 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5043 * src/hildon-dialog.c (hildon_dialog_add_button):
5044 Set fixed width to all buttons in the HildonDialog.
5046 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5048 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5050 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5051 Set widget name using class name plus "-finger" or "-thumb".
5053 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5055 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5056 'clicked' when the state of the button is manually changed.
5058 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5060 * src/hildon-app-menu.c (hildon_app_menu_realize)
5061 (hildon_app_menu_unrealize, hildon_app_menu_init)
5062 (hildon_app_menu_class_init, item_visibility_changed):
5063 Change the menu layout when the size of the screen changes.
5064 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5065 Show warning only when changing the number of colums using the
5068 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5070 * debian/compat: Set to 5
5071 * debian/control: Update dependencies.
5072 * debian/libhildon1-dbg.install: Remove.
5073 * debian/libhildon1-dev.install: Update according to cdbs paths.
5074 * debian/libhildon1.install: Update according to cdbs paths.
5075 * debian/rules: Switch to cdbs.
5077 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5079 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5080 'item' variable renamed to 'filter'
5082 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5084 * src/hildon-app-menu.c (hildon_app_menu_insert)
5085 (hildon_app_menu_add_filter, remove_item_from_list)
5086 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5087 Don't leak hidden items when the menu is destroyed.
5089 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5091 * src/hildon-app-menu.c (hildon_app_menu_insert)
5092 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5093 (hildon_app_menu_set_columns, item_visibility_changed)
5094 (filter_visibility_changed, hildon_app_menu_repack_filters)
5095 (hildon_app_menu_repack_items):
5096 Repack items and filters separately.
5098 Don't repack all items, change only the ones that are needed to
5101 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5103 * src/Makefile.am: added hildon-touch-selector-column.h
5105 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5107 * src/hildon-touch-selector.c: added the property "text-column" to the
5108 class HildonTouchSelectorColumn, and related get/set functions
5109 (_default_printf_func): updated to use "text-column" property
5110 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5111 "text-column" in his documentation, as this is now included on
5112 HildonTouchSelectorColumn. The get/set_property can still be used,
5113 working as a wrapper to the concrete column "text-column" property
5114 (_text_column_modified): callback added in order to handle the signal
5115 "notify::text-column" of the concrete HildonTouchSelectorColumn
5116 (hildon_touch_selector_entry_get_text_column)
5117 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5118 modified in order to use the HildonTouchSelectorColumn "text-column"
5120 * src/hildon-time-selector.c:
5121 * src/hildon-date-selector.c:
5122 * examples/hildon-touch-selector-example.c
5123 * examples/hildon-touch-selector-multi-cells-example.c
5124 * examples/hildon-picker-button-multicolumn-example.c
5125 Set the right value to "text-column" property on the creation of a new
5126 column using hildon_touch_selector_append_column()
5128 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5130 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5132 * src/hildon-app-menu.c
5133 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5134 updating the layout of the menu, don't create all widgets again,
5135 just repack the items in their new places.
5137 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5139 * src/hildon-time-selector.c
5140 (hildon_time_selector_get_time)
5141 (hildon_time_selector_set_time)
5142 Added documentation of these public methods
5144 * src/hildon-date-button.h
5145 * src/hildon-touch-selector-column.h
5146 * src/hildon-time-button.h
5147 * src/hildon-picker-dialog.h
5148 * src/hildon-time-selector.h
5149 * src/hildon-picker-button.h
5150 * src/hildon-touch-selector.h
5151 * src/hildon-time-picker.h
5152 * src/hildon-date-selector.h
5153 * src/hildon-touch-selector-entry.h
5154 Modified in order to use hildon-widgets code style
5156 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5158 Added deprecated support to the compilation process using
5159 HILDON_DISABLE_DEPRECATED
5161 * configure.ac: Added the --disable-deprecated to the configure
5164 * src/hildon-weekday-picker.c:
5165 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5166 to use the deprecated support. We will update the other deprecated
5167 widgets status in a new patch.
5169 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5171 * configure.ac: Fixed typo with fatal warnings support, the
5172 variable name was not correct
5174 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5176 * src/hildon-app-menu.c
5177 * src/hildon-program.c: Update documentation.
5179 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5181 * configure.ac: Post-release version bump.
5183 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5188 * configure.ac: Pre-release version bump.
5189 * debian/changelog: Updates.
5191 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5193 * NEWS: Update news for previous releases.
5195 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5197 * examples/hildon-touch-selector-multi-cells-example.c:
5198 (create_selector): Update the example to use
5199 hildon_touch_selector_append_column() with a NULL renderer and set
5200 the renderers later.
5201 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5202 passed a NULL renderer. This is documented behavior now.
5204 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5205 This must be used if the developer wants full control on the layout of
5206 the renderers to be added to the column.
5208 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5210 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5212 * src/hildon-touch-selector.c: Documentation fixes.
5214 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5216 * src/hildon-wizard-dialog-private.h: Remove image and box.
5217 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5218 (hildon_wizard_dialog_set_property), (response): Completely remove
5219 image/icon support, and the containers required for the layout.
5221 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5223 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5225 * src/hildon-app-menu.c: Updated documentation.
5227 * src/hildon-stackable-window.c
5228 (hildon_stackable_window_set_main_menu): Unref the old menu after
5229 ref'ing the new one.
5231 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5233 * src/hildon-stackable-window.c
5234 (hildon_stackable_window_set_main_menu): Unref the previous menu
5235 instead of destroying it.
5237 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5238 floating reference and set has_user_ref_count to FALSE to make
5239 HildonAppMenu act like a normal ref-counted widget and not a
5242 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5245 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5247 * src/hildon-touch-selector-column.h: new file
5248 * src/hildon-touch-selector.h
5249 * src/hildon-touch-selector.c
5250 Implemented GtkCellLayout interface, in order to allow to configure
5251 the cell layout on each individual selector column
5252 (hildon_touch_selector_set_column_attributes): marked as deprecated
5253 * examples/hildon-touch-selector-multi-cells-example.c
5254 Example of how to use the GtkCellLayout interface on the selector
5256 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5258 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5260 * src/hildon-app-menu.h
5261 * src/hildon-app-menu.c
5262 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5263 (hildon_app_menu_append, hildon_app_menu_prepend):
5264 New methods to prepend, insert and move items in the menu.
5266 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5268 * src/hildon-wizard-dialog.c:
5270 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5272 (create_title): Update logical IDs and related code.
5273 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5275 * src/hildon-wizard-dialog.h: Note that
5276 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5277 point, as it is not used anymore.
5279 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5281 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5283 * src/hildon-note.c:
5284 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5285 shown. Do not display an icon in confirmation notes nor information
5287 (hildon_note_set_button_text): Update logical ID for cancel button.
5289 Fixes: NB#88850 (Update HildonNote button strings + signals)
5291 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5293 * src/hildon-stackable-window.c
5294 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5296 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5298 * src/hildon-app-menu-private.h
5299 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5300 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5301 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5302 temporary property 'columns' to change the number of columns.
5304 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5306 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5308 * examples/hildon-note-example.c: (on_information_clicked),
5309 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5310 debugging information.
5311 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5313 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5314 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5315 in order to close: this will be handled by the WM from now on.
5317 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5319 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5321 * src/hildon-app-menu-private.h
5322 * src/hildon-app-menu.c
5323 (hildon_app_menu_append, hildon_app_menu_add_filter)
5324 (button_visibility_changed, hildon_app_menu_apply_style)
5325 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5326 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5327 layout everytime a button (item or filter) is shown or hidden.
5329 * src/hildon-stackable-window.c
5330 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5333 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5335 * src/hildon-touch-selector.c:
5336 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5337 that the treeview inside the touch selector is in fremantle hildon mode
5338 * examples/hildon-date-button-example.c
5339 * examples/hildon-picker-button-multicolumn-example.c
5340 * examples/hildon-touch-selector-entry-example.c
5341 * examples/hildon-touch-selector-example.c
5342 * examples/hildon-time-button-example.c
5343 * examples/hildon-picker-button-example.c:
5344 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5346 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5348 * examples/hildon-text-view-example.c: (main): Remove the
5349 gtkrc bits, now handled by the theme.
5351 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5353 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5356 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5358 * po/Makefile.am: Install properly the mo files.
5359 * po/en_GB.po: Update translation, to ease testing purposes.
5361 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5363 * examples/hildon-picker-button-example.c: (main): Select an item
5364 in the selector before setting it to the button.
5366 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5368 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5369 Update button's value if the selector has an item active.
5371 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5372 'value' with the selector)
5374 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5376 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5377 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5378 (hildon_picker_button_class_init): Plug the finalize method.
5379 (hildon_picker_button_set_selector): If there's a previously set
5380 selector, unref'it before setting a new one.
5382 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5383 HildonTouchSelector)
5385 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5387 * src/hildon-touch-selector-entry.c:
5388 (hildon_touch_selector_entry_changed): Check if there is no text
5389 selected before setting the entry text.
5392 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5394 * src/hildon-touch-selector.h
5395 * src/hildon-touch-selector.c
5396 (hildon_touch_selector_get_active)
5397 (hildon_touch_selector_set_active): New methods to set/get the
5398 index of the selected item.
5400 * src/hildon-picker-button.h
5401 * src/hildon-picker-button.c
5402 (hildon_picker_button_get_active)
5403 (hildon_picker_button_set_active): New methods to set/get the
5404 index of the selected item.
5406 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5408 * configure.ac: post-release version bump.
5410 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5414 * configure.ac: Pre-release version bump.
5415 * debian/changelog: Updates.
5416 * debian/control: Add myself as maintainer and depend on l10n
5419 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5421 * src/hildon-window.c
5422 (hildon_window_set_main_menu)
5423 * src/hildon-stackable-window.c
5424 (hildon_stackable_window_set_main_menu):
5425 Updated documentation.
5427 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5429 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5430 Don't free selector->priv manually.
5433 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5436 (hildon_gtk_window_set_progress_indicator):
5437 * src/hildon-gtk.h: Added the new API
5438 hildon_gtk_window_set_progress_indicator, it changes the state of
5439 the window progress hint.
5441 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5443 * src/hildon-button.c
5444 * src/hildon-stackable-window.c: Minor documentation updates.
5446 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5448 * src/hildon-stackable-window.c: Updated documentation.
5450 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5452 * src/hildon-defines.h: Update margins definitions
5453 to the Fremantle sizes.
5456 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5458 * src/hildon-touch-selector.c,
5459 (_hildon_touch_selector_set_model): Cleaning the code after
5460 review, removed g_print and #if 0 from the code.
5462 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5464 * src/hildon-edit-toolbar.c: Update documentation.
5466 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5468 * src/hildon-check-button.h
5469 * src/hildon-check-button.c
5470 (hildon_check_button_set_label, hildon_check_button_get_label)
5471 * examples/hildon-check-button-example.c
5472 (button_clicked_cb):
5473 Removed deprecated methods.
5475 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5477 * src/hildon-text-view.c:
5478 Add sample code to the documentation.
5480 * src/hildon-entry.h
5481 * src/hildon-text-view.h:
5482 Minor cosmetic changes.
5484 * src/hildon-entry.c:
5485 Add sample code to the documentation.
5486 (hildon_entry_init, hildon_entry_refresh_contents):
5487 Don't allow NULL values in the placeholder.
5489 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5491 * doc/hildon-docs.sgml
5493 * examples/Makefile.am
5494 * examples/hildon-text-view-example.c
5496 * src/hildon-text-view.c
5497 * src/hildon-text-view.h
5499 New HildonTextView widget, with example.
5501 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5503 * po/POTFILES.in: Add missing files with translatable strings.
5504 Partially fixes NB#88287.
5506 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5508 * examples/hildon-pannable-area-example-2.c: (main): No need to
5509 set the cellrenderer height inside hildon touch lists, the theme does
5512 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5514 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5515 they are integrated in the theme.
5517 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5519 * examples/hildon-entry-example.c: Update the example adding
5520 widgets to modify the text and the placeholder of the HildonEntry.
5522 * src/hildon-entry.c: Show the placeholder everytime the widget
5523 is empty and loses the focus.
5525 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5527 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5529 * src/hildon-pannable-area.c,
5530 (hildon_pannable_area_size_request): Fixed bug in height
5531 requisition, avoid increasing size and add border twice.
5533 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5535 * configure.ac: postrelease version bump.
5537 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5541 * configure.ac: Prerelease version bump.
5542 * debian/changelog: update.
5543 * debian/rules: make -dbg package contain useful debugging symbols.
5545 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5547 * src/hildon-dialog.h
5548 * src/hildon-dialog.c
5549 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5550 New methods to add buttons with finger size.
5551 (hildon_dialog_new_with_buttons):
5552 Create buttons with finger size.
5554 * examples/hildon-dialog-example.c (main): Use HildonDialog
5555 methods to add buttons.
5557 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5559 * src/hildon-entry.c: Updated HildonButton documentation.
5561 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5563 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5564 button value label with (FALSE, FALSE) to prevent NB#88126 from
5567 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5569 * examples/hildon-pannable-area-example.c,
5570 (main): Removed examples panning a vbox inside a pannable
5571 area. Check bug NB#87965
5573 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5575 Patch contributed by Kris Rietveld (kris@imendio.com)
5577 * src/hildon-pannable-area.c,
5578 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5579 get_size and get_position, this saves an X server roundtrip.
5581 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5583 * doc/hildon-docs.sgml
5585 * examples/Makefile.am
5586 * examples/hildon-entry-example.c
5588 * src/hildon-entry.c
5589 * src/hildon-entry.h
5591 New HildonEntry widget, with example.
5593 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5595 * src/hildon-button.c (hildon_button_construct_child): Pack the
5596 image with expand == fill == FALSE. This is a workaround for a bug
5599 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5601 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5602 labels for the text column, to make it more look more dynamic.
5604 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5606 * src/hildon-time-selector.c
5607 Define gettext auxiliar macro N_
5608 (_create_minutes_model)
5609 (_create_hours_model)
5610 (_create_ampm_model): use of strftime in order to fill the model
5611 * src/hildon-date-selector.c
5612 (hildon_date_selector_finalize):
5613 (_locales_init): remove the logic related to get the name of the months
5614 using nl_langinfo, as it is not required anymore
5616 (_create_year_model)
5617 (_create_month_model)
5618 (_update_day_model): use of strftime in order to fill the model properly
5621 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5623 * src/hildon-button.h
5624 * src/hildon-button.c (hildon_button_get_image): New method to
5627 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5629 * src/hildon-touch-selector.c:
5630 (hildon_touch_selector_remove_column): Remove from the correct parent
5631 and also remove the list element and free it.
5634 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5636 * src/hildon-time-selector.c
5637 (_create_hours_model): change the range on 12h ampm format in order to use
5638 a 12-11 range instead of previous 01-12 range
5639 (hildon_time_selector_set_time): change the way to select the current time
5640 on 12h ampm format, due the change on the range
5641 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5644 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5646 * src/hildon-touch-selector.c
5647 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5648 in order to allow use this function on multiple row selection mode if
5649 the column is different that the first one
5652 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5654 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5655 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5657 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5659 * src/hildon-date-selector.h: clean some comments, now on the .c
5660 * src/hildon-date-selector.c
5661 (hildon_date_selector_select_month): first implementation
5662 (hildon_date_selector_select_day): added documentation, reimplemented
5663 using hildon_date_selector_select_current_date to avoid repeat code
5666 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5668 Reviewed interaction logic based on device experiences, refactored
5671 * src/hildon-pannable-area.c,
5672 (hildon_pannable_area_class_init): Updated default vmax speed.
5673 (hildon_pannable_area_calculate_velocity): Added this function, it
5674 avoids duplicate valocity calculation. Adjusted calculation to
5675 avoid problems with zero dist events.
5677 (hildon_pannable_area_motion_notify_cb): Now we use the
5678 calculate_velocity function.
5680 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5682 * src/hildon-date-selector.c
5683 (hildon_date_selector_select_current_date): fix the day range check
5684 as it failed using the last day of the current month
5687 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5689 * src/hildon-touch-selector.c
5690 (hildon_touch_selector_get_num_columns): added a parameter validation
5693 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5695 * examples/Makefile.am
5696 * examples/hildon-edit-toolbar-example.c: Example of the
5697 HildonEditToolbar widget.
5699 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5701 * configure.ac: postrelease version bump.
5703 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5707 * configure.ac: prerelease version bump.
5708 * debian/changelog: update.
5710 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5712 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5713 renderer to display stock icons in the touch list. Also, set the sizes
5714 to the recommended in the style guide.
5716 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5717 * src/hildon-touch-selector.h
5718 (hildon_touch_selector_set_active_iter): renamed, now is
5719 hildon_touch_selector_select_iter
5720 (hildon_touch_selector_get_active_iter): renamed, now is
5721 hildon_touch_selector_get_selected
5722 (hildon_touch_selector_unselect_iter): added
5723 * src/hildon-touch-selector.c
5724 Update after API modification (methods renamed)
5725 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5726 order to avoid problems selecting multiple elements on the column
5727 (hildon_touch_selector_unselect_iter): added the implementation
5728 * src/hildon-time-selector.c
5729 * src/hildon-date-selector.c
5730 * src/hildon-touch-selector-entry.c
5731 Update methods calls after hildon-touch-selector.h API modification (methods
5734 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5736 * src/hildon-stackable-window.c
5737 (hildon_stackable_window_finalize): Call the parent class's finalize.
5739 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5741 * examples/hildon-touch-selector-example.c: (create_selector): Use
5742 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5745 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5747 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5748 set a cell background color, to respect theming.
5750 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5752 * doc/hildon-docs.sgml
5755 * src/hildon-edit-toolbar.c
5756 * src/hildon-edit-toolbar.h
5757 * src/hildon.h: New HildonEditToolbar widget.
5759 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5761 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5764 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5765 * src/hildon-touch-selector.c
5766 (_create_new_column): use g_object_set instead of two g_object_set_property
5768 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5769 * src/hildon-touch-selector.c
5770 (_create_new_column): use of hildon_gtk_tree_view_new to create
5771 the treeview, instead of use directly g_object_new
5772 (_create_new_column): update the property name "vindicator-mode" for the
5773 new one "vscrollbar-policy"
5774 * examples/hildon-date-button-example.c
5775 * examples/hildon-picker-button-multicolumn-example.c
5776 * examples/hildon-touch-selector-entry-example.c
5777 * examples/hildon-touch-selector-example.c
5778 * examples/hildon-time-button-example.c
5779 * examples/hildon-picker-button-example.c
5780 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5781 to all the treeviews inside a pannable area.
5783 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5785 * src/hildon-button.h
5786 * src/hildon-button.c (hildon_button_init)
5787 (hildon_button_set_arrangement, hildon_button_set_alignment)
5788 (hildon_button_set_title_alignment)
5789 (hildon_button_set_value_alignment)
5790 (hildon_button_set_image_alignment)
5791 (hildon_button_construct_child): New methods to set the alignment
5792 of the individual components of the button (title, value,
5793 image). Also, new method to alter the xscale and yscale properties
5794 of the GtkAlignment inside the button, so more complex layouts can
5797 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5799 * src/hildon-button.c (hildon_button_style_set)
5800 (hildon_button_class_init, hildon_button_set_arrangement)
5801 (hildon_button_construct_child): Apply style properties
5802 correctly. Use the 'image-spacing' style property too.
5804 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5806 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5807 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5810 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5812 * src/hildon-pannable-area.c,
5813 (hildon_pannable_area_size_request): Fixed problem with
5814 pannable-area size_request.
5816 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5818 Added management for the grab-focus to a child widget, like a
5819 range, we need to fade out the scrollbar when releasing.
5821 * src/hildon-pannable-area.c,
5822 (hildon_pannable_area_init): Connected the grab-focus signal to
5824 (hildon_pannable_area_grab_notify): Added this function in order
5825 to manage the situation when the grab-focus ends. We have to
5826 fade-out the scrollbar.
5828 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5830 * src/hildon-app-menu.c: Minor documentation update.
5832 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5834 * src/hildon-app-menu.c
5835 * examples/hildon-app-menu-example.c (create_menu): Update
5836 examples and documentation to explain how to connect callbacks.
5838 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5840 * examples/hildon-button-example.c
5841 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5842 hildon_stackable_window_new instead of gtk_window_new
5844 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5846 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5847 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5848 (hildon_pannable_area_set_property),
5849 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5850 (hildon_pannable_area_unrealize),
5851 (hildon_pannable_area_size_request),
5852 (hildon_pannable_area_size_allocate),
5853 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5854 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5855 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5856 (hildon_pannable_area_initial_effect),
5857 (hildon_pannable_area_redraw),
5858 (hildon_pannable_area_scroll_indicator_fade),
5859 (hildon_pannable_area_expose_event),
5860 (hildon_pannable_area_get_topmost), (synth_crossing),
5861 (hildon_pannable_area_button_press_cb),
5862 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5863 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5864 (hildon_pannable_area_motion_notify_cb),
5865 (hildon_pannable_area_button_release_cb),
5866 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5867 (hildon_pannable_area_remove),
5868 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5869 chage the code layout to a more GtkWidget like. Review the use of
5872 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5874 * examples/hildon-pannable-area-example-4.c,
5875 (main): Modified the name of the hindicator_mode to
5878 * src/hildon-pannable-area.c,
5879 (hildon_pannable_area_class_init),
5880 (hildon_pannable_area_motion_notify_cb),
5881 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5882 we have reduced the amount of signals and managed reviewed its
5883 rationale. Changed the default decelerate value.
5885 (hildon_pannable_area_add),
5886 (hildon_pannable_area_redraw): Refactored functions.
5888 (hildon_pannable_area_init),
5889 (hildon_pannable_area_get_property),
5890 (hildon_pannable_area_set_property):
5891 (hildon_pannable_draw_vscroll),
5892 (hildon_pannable_draw_hscroll),
5893 (hildon_pannable_area_initial_effect),
5894 (hildon_pannable_area_expose_event),
5895 (hildon_pannable_area_scroll),
5896 (hildon_pannable_area_button_press_cb),
5897 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5898 and vindicator_mode with hscrollbar_policy and
5899 vscrollbar_policy. Replaced hscroll and vscroll with
5900 hscroll_visible and vscroll_visible.
5902 (hildon_pannable_area_refresh): Refactor the function, remove
5903 variables and check the calls to this function, added resize
5904 conditions in case the children change their layout.
5906 (hildon_pannable_area_size_request): Added more detailed
5907 size_request calculation.
5910 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5912 * src/hildon-color-chooser.c
5913 (init_borders): use the correct gtk_border_free instead of g_free, to
5914 avoid a crash when this widget is used (ie: the three color selection
5917 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5919 * src/hildon-check-button.c,
5920 (hildon_check_button_set_active): Fixed problem when setting the
5921 active value, the widget was not redrawn.
5923 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5925 * src/hildon-pannable-area.c,
5926 (hildon_pannable_area_refresh),
5927 (hildon_pannable_area_scroll),
5928 (hildon_pannable_area_motion_notify_cb): Small code style change.
5930 (hildon_pannable_area_class_init): Default initial_hint set to
5931 FALSE, it is not in the specs.
5933 (hildon_pannable_area_initial_effect),
5934 (hildon_pannable_area_expose_event),
5935 (hildon_pannable_area_map),
5936 (hildon_pannable_area_init): Moved the launching point of the
5937 initial effect, it was in map but the sizes where not correct in
5938 that method so we do not know if we have the reproduce it. Now it
5939 is placed in the expose_event method and uses a variable to
5940 reproduce it just once.
5942 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5944 * src/hildon-pannable-area.c,
5945 (hildon_pannable_draw_vscroll),
5946 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5947 position allowed for the scrollbars.
5949 (hildon_pannable_area_size_allocate): Small style change.
5951 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5953 * src/hildon-pannable-area.c,
5954 (hildon_pannable_area_scroll_indicator_fade),
5955 (hildon_pannable_area_button_press_cb),
5956 (hildon_pannable_area_button_release_cb),
5957 (hildon_pannable_area_scroll_cb),
5958 (hildon_pannable_area_expose_event),
5959 (hildon_pannable_area_init): Added the define parameter
5960 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5961 and refactor the fade variable.
5963 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5965 * src/hildon-pannable-area.c,
5966 (hildon_pannable_area_redraw),
5967 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5968 lines, we were reimplemeting the redraw code.
5970 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5972 * src/hildon-pannable-area.c,
5973 (hildon_pannable_area_scroll_cb),
5974 (hildon_pannable_area_realize),
5975 (hildon_pannable_area_class_init): Added scroll_event management
5976 for pannable area, now we can scroll the usual desktop method.
5978 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5979 initialization of the parameters should depend on idle_id.
5981 (hildon_pannable_area_init),
5982 (hildon_pannable_area_map): Small code style modifications
5984 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5986 * src/hildon-pannable-area.c
5987 (hildon_pannable_area_button_press_cb),
5988 (hildon_pannable_area_motion_notify_cb),
5989 (hildon_pannable_area_button_release_cb),
5990 (hildon_pannable_area_size_allocate),
5991 (hildon_pannable_area_scroll_to): Improved the timeouts
5992 management, we avoid creating them each time.
5994 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5996 * src/hildon-pannable-area.c:
5997 (hildon_pannable_area_refresh),
5998 (hildon_pannable_area_motion_notify_cb),
5999 (hildon_pannable_area_class_init):
6000 * src/hildon-pannable-area.h:
6001 * src/hildon-touch-selector.c
6002 (_create_new_column):
6003 * examples/hildon-pannable-area-example-4.c:
6004 (horizontal_movement),
6005 (vertical_movement),
6007 Replaced the names of enums in the HildonPannableArea:
6008 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6009 HILDON_MOVEMENT_MODE_*
6010 - HILDON_PANNABLE_AREA_MOV_* ->
6012 - Removed HildonPannableAreaIndicatorMode, now we
6015 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6017 * examples/hildon-pannable-area-touch-grid-example.c
6018 * examples/hildon-pannable-area-touch-list-example.c: Fix
6019 compilation warnings.
6021 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6023 * src/hildon-gtk.c (hildon_gtk_button_new)
6024 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6025 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6026 images overriding the value of the "gtk-button-images" setting.
6028 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6030 * src/hildon-check-button.c (hildon_check_button_new):
6031 Instead of using a custom container, display the label and the
6032 checkbox using the standard GtkButton API.
6034 * examples/hildon-check-button-example.c (main): Don't use
6035 hildon_check_button_set_label() anymore
6037 * src/hildon-check-button.h
6038 * src/hildon-check-button.c
6039 (hildon_check_button_set_label, hildon_check_button_get_label):
6040 Set as deprecated, now we're using gtk_button_{get,set}_label()
6042 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6044 * src/hildon-pannable-area.c,
6045 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6046 GtkTreeview first line we detected it after the inclusion of the
6047 GtkWindowImpl in gtk+. We now check if the window is visible, not
6048 just if the pointer is over the window.
6049 (hildon_pannable_axis_scroll),
6050 (hildon_pannable_area_expose_event): Small style changes.
6052 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6054 * src/hildon-button.c: Update documentation.
6056 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6058 * examples/hildon-button-example.c: Add a switch to show images in
6061 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6063 * doc/hildon-docs.sgml: Some docs reorganization.
6065 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6067 * examples/hildon-pannable-area-touch-list-example.c
6069 * examples/hildon-pannable-area-touch-grid-example.c
6070 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6071 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6072 Fix memory leak when setting the tree model.
6074 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6078 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6080 * doc/hildon.types: Remove duplicated hildon_window_get_type
6081 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6082 documentation comment.
6084 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6086 * doc/Makefile.am: Complete list of private headers.
6088 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6090 * doc/hildon-docs.sgml
6091 * src/hildon-app-menu.c
6092 * src/hildon-bread-crumb.c
6093 * src/hildon-button.c
6095 * src/hildon-program.c
6096 * src/hildon-stackable-window.c
6097 * src/hildon-window.c: Lots of documentation updates.
6099 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6101 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6103 * configure.ac: Require Gtk+ 2.12.9 at least
6105 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6107 * src/hildon-pannable-area.c
6108 (hildon_pannable_area_scroll_indicator_fade),
6109 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6110 to protect the return of this timeout callbacks, avoiding deadlocks.
6112 2008-08-12 Christian Dywan <christian@imendio.com>
6115 * src/hildon-*.h: Ensure a consistent include order,
6116 include <gtk/gtk.h> instead of particular files and
6117 only include the topmost header in the gtk stack. See NB #39857
6119 2008-08-12 Christian Dywan <christian@imendio.com>
6121 * src/hildon-picker-dialog.c
6122 * src/hildon-touch-selector.c: Fix warnings about unused and
6123 uninitialized variables.
6125 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6127 * examples/Makefile.am
6128 * examples/hildon-check-button-example.c: Example of the hildon
6131 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6133 * src/hildon-window.h
6134 * src/hildon-window.c (hildon_window_class_init)
6135 (hildon_window_unset_program): Don't make
6136 hildon_window_unset_program a virtual function anymore.
6138 * src/hildon-stackable-window.c: Update documentation
6140 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6143 * doc/hildon-docs.sgml
6144 * doc/visual_index.xml
6145 * src/hildon-defines.c
6147 * src/hildon-helper.c
6148 * src/hildon-range-editor.c: Lots of documentation fixes.
6150 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6152 * examples/hildon-picker-button-multicolumn-example.c
6153 (create_touch_selector): Fix compilation warning.
6155 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6157 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6158 (hildon_pannable_area_button_release_cb)
6159 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6161 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6163 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6166 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6168 * src/hildon-bread-crumb-trail.h
6169 * src/hildon-date-editor.c
6170 * src/hildon-date-selector.c
6171 * src/hildon-pannable-area.c
6172 * src/hildon-picker-dialog.c
6173 * src/hildon-time-selector.c
6174 * src/hildon-touch-selector-entry.c
6175 * src/hildon-touch-selector.c
6176 * src/hildon-touch-selector.h: Misc documentation fixes
6178 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6180 * examples/hildon-date-editor-example.c (main): Updated date
6183 * examples/hildon-note-example.c (on_confirmation_clicked):
6184 Updated confirmation note example.
6186 * src/hildon-date-editor.c
6187 * src/hildon-note.c: Updated sample programs in documentation.
6190 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6192 * src/hildon-date-button.h:
6193 * src/hildon-picker-button.h:
6194 * src/hildon-time-button.c:
6195 * src/hildon-time-button.h:
6197 Some declarations changes to allow gtk-doc to document the widgets
6200 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6202 * src/hildon-date-button.c: Document the widget.
6203 * src/hildon-time-button.c: Document the widget.
6205 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6207 * src/hildon-picker-button.c: Document the widget.
6208 * src/hildon-touch-selector-entry.c: Document the widget.
6210 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6212 * doc/hildon-docs.sgml
6215 * src/hildon-check-button.h
6216 * src/hildon-check-button.c: New functions to create the Hildon
6220 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6222 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6224 * src/hildon-button.h
6225 * src/hildon-button.c
6226 (hildon_button_add_title_size_group)
6227 (hildon_button_add_value_size_group)
6228 (hildon_button_add_image_size_group)
6229 (hildon_button_add_size_groups): New functions to set size groups
6230 for the button labels and image.
6231 (hildon_button_new_full): Removed
6233 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6235 * src/hildon-time-selector.c
6236 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6237 in order to avoid a crash if gconf is not available
6239 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6241 * src/hildon-button.c (hildon_button_set_arrangement)
6242 (hildon_button_construct_child): Don't construct the button child
6243 before setting the arrangement.
6245 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6247 * src/hildon-program-private.h
6248 * src/hildon-program.c
6249 * src/hildon-program.h
6250 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6251 (hildon_program_peek_window_stack)
6252 (hildon_program_pop_window_stack)
6253 (hildon_program_go_to_root_window): HildonProgram now has a
6254 separate list for stackable windows. Functions are provided to
6255 manage that list with a stack-like API.
6257 * src/hildon-stackable-window.c: Stackable window management is
6258 now much simpler with the new HildonProgram API. Windows no
6259 longer need to be manually added to the program, they're
6260 automatically pushed to the top of the stack when shown.
6262 * examples/hildon-stackable-window-example.c: Updated example to
6263 reflect the API changes.
6265 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6267 * src/hildon-touch-selector.c: Comment out unimplemented
6268 hildon_touch_selector_insert_column() to avoid a compile warning.
6270 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6272 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6273 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6274 (hildon_touch_selector_set_column_selection_mode),
6275 (_hildon_touch_selector_set_model),
6276 (hildon_touch_selector_set_model):
6278 Complete review of HildonTouchSelector documentation.
6280 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6282 * doc/hildon-docs.sgml
6286 * src/hildon-gtk.c: Convenience functions for standard Gtk
6287 widgets, used to easily perform frequent operations.
6289 * src/hildon-button-helpers.h
6290 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6292 * src/hildon-helper.h
6293 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6294 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6296 * src/hildon-button.h
6297 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6299 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6301 * src/hildon-button.c (hildon_button_init)
6302 (hildon_button_set_arrangement, hildon_button_construct_child):
6303 Pack the image and the labels inside the same GtkAlignment so
6304 gtk_button_set_alignment() can be used
6306 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6308 * src/hildon-button.h
6309 * src/hildon-button.c
6310 (hildon_button_init, hildon_button_set_image)
6311 (hildon_button_set_image_position)
6312 (hildon_button_construct_child): New functions to add an image to
6315 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6317 * src/hildon-date-button.c
6318 * src/hildon-picker-button.c
6319 * src/hildon-time-button.c
6320 * src/hildon-button.c:
6321 (hildon_button_class_init): "size-flags" renamed to "size"
6322 (hildon_button_set_title): Hide the title label if set to NULL.
6324 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6326 HildonButtonFlags split into HildonButtonArrangement (to set the
6327 button layout) and HildonSizeType (which can be used for any
6330 * src/hildon-button.h
6331 * src/hildon-button.c
6332 (hildon_button_class_init)
6333 (hildon_button_set_arrangement)
6334 (hildon_button_set_property): New "size-flags"
6335 property. "arrangement-flags" renamed to "arrangement".
6336 (hildon_button_new, hildon_button_new_with_text)
6337 (hildon_button_new_full): Constructors updated to reflect type changes.
6339 * src/hildon-helper.h
6340 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6341 to set the size of a widget.
6345 * src/hildon-button-helpers.c
6346 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6348 * src/hildon-date-button.c
6349 * src/hildon-date-button.h
6350 * src/hildon-picker-button.c
6351 * src/hildon-picker-button.h
6352 * src/hildon-time-button.c
6353 * src/hildon-time-button.h: Updated widgets to reflect
6354 HildonButton API changes.
6356 * examples/hildon-button-example.c
6357 * examples/hildon-date-button-example.c
6358 * examples/hildon-picker-button-example.c
6359 * examples/hildon-picker-button-multicolumn-example.c
6360 * examples/hildon-time-button-example.c
6361 * examples/hildon-touch-selector-entry-example.c
6362 * examples/hildon-touch-selector-example.c: Updated examples to
6363 reflect HildonButton API changes.
6365 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6367 * doc/hildon-docs.sgml:
6369 * examples/Makefile.am:
6370 * examples/hildon-touch-selector-entry-example.c:
6372 * src/hildon-touch-selector-entry.c:
6373 * src/hildon-touch-selector-entry.h:
6376 Moved HildonTouchSelectorEntry from sandbox. Added its
6377 documentation and examples.
6379 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6381 * src/hildon-touch-selector.h:
6382 * examples/hildon-picker-button-multicolumn-example.c:
6383 (hildon_touch_selector_append_text_column): Add a gboolean
6384 parameter to determine if text must be centered in the column.
6386 * src/hildon-date-selector.c: (hildon_date_selector_init):
6387 * src/hildon-time-selector.c: (hildon_time_selector_init):
6388 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6389 (create_touch_selector): Update widgets and example to reflect
6392 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6394 * src/hildon-touch-selector.c:
6395 (hildon_touch_selector_set_active_iter): Set also the cursor in
6398 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6400 * doc/hildon-docs.sgml
6403 * src/hildon-toggle-button.c
6404 * src/hildon-toggle-button.h
6405 * src/hildon.h: Removed HildonToggleButton widget, a derived
6406 class is not necessary for this.
6408 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6410 * src/hildon-pannable-area.c,
6411 (hildon_pannable_area_realize),
6412 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6415 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6417 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6418 "done" button the default widget for the dialog.
6420 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6422 * src/hildon-touch-selector.c:
6423 (hildon_touch_selector_class_init),
6424 (hildon_touch_selector_get_property),
6425 (_hildon_touch_selector_set_model),
6426 (_hildon_touch_selector_has_multiple_selection),
6427 (hildon_touch_selector_has_multiple_selection):
6428 Add a "has-multiple-selection" property with a virtual
6429 has_multiple_selection() method to allow derived classes to
6430 override the default value for it. See the method and property
6431 documentation for details.
6433 * src/hildon-touch-selector.h: Add the new API.
6435 * src/hildon-picker-dialog.c: (requires_done_button): Call
6436 hildon_touch_selector_has_multiple_selection() instead of
6437 determining the need for a button itself.
6439 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6441 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6442 (_hildon_touch_selector_set_model),
6443 (hildon_touch_selector_set_model): Move working code to
6444 _hildon_touch_selector_set_mode(). Call the class method instead.
6446 * src/hildon-touch-selector.h: Add (*set_model) to
6447 HildonTouchSelectorClass.
6449 Make hildon_touch_selector_set_model() a virtual method, so that
6450 derived classes can extend it and do fancy stuff with the model.
6452 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6454 * configure.ac: Set back the tarname in AC_INIT to hildon.
6456 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6460 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6461 instead of libesd (NB#86876). Volume handling is still an open issue.
6463 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6466 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6468 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6469 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6470 derived class to ease placement of an entry widget in
6471 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6472 end, where the selector columns are packed now.
6474 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6476 * src/hildon-picker-button.c: Removed the simple _text() API.
6477 * src/hildon-picker-button.h: Likewise.
6479 * src/hildon-touch-selector.h:
6480 * src/hildon-touch-selector.c:
6481 (hildon_touch_selector_new_text),
6482 (hildon_touch_selector_append_text),
6483 (hildon_touch_selector_prepend_text),
6484 (hildon_touch_selector_insert_text):
6486 Moved the simple _text() API from HildonPickerButton to
6487 HildonTouchPicker, to provide better escalability and not to tie
6488 that API to HildonPickerButton.
6490 * examples/hildon-picker-button-example.c: (main): Example updated.
6492 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6494 * src/hildon-button.c: Updated documentation.
6496 * examples/hildon-button-example.c: Add the posibility to create
6497 the buttons using horizontal layout for title and value.
6499 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6501 * src/hildon-app-menu-private.h
6502 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6503 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6504 GtkSizeGroup for the filters, use the 'homogeneous' property of
6507 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6509 * examples/hildon-button-example.c: Updated example.
6511 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6513 * doc/hildon-docs.sgml:
6516 Update documentation.
6518 * examples/Makefile.am: Update renamed examples.
6520 * examples/hildon-picker-button-multicolumn-example.c:
6521 (create_touch_selector), (main): Update after the rename.
6523 * examples/hildon-touch-picker-example.c: Removed.
6524 * examples/hildon-touch-selector-example.c: (value_changed),
6525 (create_selector), (get_visible_content), (main): Renamed from
6526 hildon-touch-picker-example.c
6528 * src/Makefile.am: Updated renamed files.
6530 * src/hildon-date-button.c: (hildon_date_button_init),
6531 (hildon_date_button_get_date), (hildon_date_button_set_date):
6532 * src/hildon-date-selector.c: (hildon_date_selector_init),
6533 (_custom_print_func), (_update_day_model),
6534 (_manage_selector_change_cb),
6535 (hildon_date_selector_select_current_date),
6536 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6537 * src/hildon-date-selector.h:
6538 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6539 (hildon_picker_button_set_property),
6540 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6541 (hildon_picker_button_init), (hildon_picker_button_new_text),
6542 (hildon_picker_button_append_text),
6543 (hildon_picker_button_prepend_text),
6544 (hildon_picker_button_insert_text),
6545 (hildon_picker_button_set_selector),
6546 (hildon_picker_button_get_selector):
6547 * src/hildon-picker-button.h:
6548 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6549 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6550 (_update_title_on_selector_changed_cb), (requires_done_button),
6551 (_hildon_picker_dialog_set_selector),
6552 (hildon_picker_dialog_set_selector),
6553 (hildon_picker_dialog_get_selector):
6554 * src/hildon-picker-dialog.h:
6555 * src/hildon-time-button.c: (hildon_time_button_init),
6556 (hildon_time_button_get_time), (hildon_time_button_set_time):
6557 * src/hildon-time-selector.c: (hildon_time_selector_init),
6558 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6559 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6560 * src/hildon-time-selector.h:
6563 Massive code updates after the rename.
6565 * src/hildon-touch-picker.c: Removed.
6566 * src/hildon-touch-picker.h: Removed.
6568 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6569 (hildon_touch_selector_init), (hildon_touch_selector_map),
6570 (hildon_touch_selector_remove), (_default_print_func),
6571 (_selection_changed_cb), (_create_new_column),
6572 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6573 (hildon_touch_selector_append_text_column),
6574 (hildon_touch_selector_remove_column),
6575 (hildon_touch_selector_set_column_attributes),
6576 (hildon_touch_selector_insert_column),
6577 (hildon_touch_selector_get_num_columns),
6578 (hildon_touch_selector_get_column_selection_mode),
6579 (hildon_touch_selector_set_column_selection_mode),
6580 (hildon_touch_selector_set_print_func),
6581 (hildon_touch_selector_get_print_func),
6582 (hildon_touch_selector_get_active_iter),
6583 (hildon_touch_selector_set_active_iter),
6584 (hildon_touch_selector_get_selected_rows),
6585 (hildon_touch_selector_get_model),
6586 (hildon_touch_selector_set_model),
6587 (hildon_touch_selector_get_current_text),
6588 (_hildon_touch_selector_center_on_selected_items):
6589 * src/hildon-touch-selector.h: Renamed from
6590 hildon-touch-picker.[ch]
6592 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6593 references, code examples, and related documentation.
6595 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6597 * doc/hildon-docs.sgml
6600 * src/hildon-toggle-button.c
6601 * src/hildon-toggle-button.h
6602 * src/hildon.h: New HildonToggleButton widget.
6604 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6606 * src/hildon-button.c: Add API documentation.
6607 (hildon_button_set_size_groups): Check input parameters
6609 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6611 * src/hildon-pannable-area.c
6612 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6613 effect after reaching the movement thredshold. This way we start
6614 using the distance after passing the thredshold.
6616 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6618 * src/hildon-button.c: (hildon_button_set_property): Use the
6619 appropriate g_value_get_flags() method.
6621 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6623 * doc/hildon-docs.sgml:
6626 Add the touch pickers, picker dialogs, and picker button widgets
6627 to the documentation.
6629 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6631 * src/hildon-button.c: (hildon_button_set_property),
6632 (hildon_button_class_init): Make "arrangement-flags" a proper
6633 G_TYPE_FLAGS derived property.
6635 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6637 * examples/Makefile.am: Add below examples.
6638 * examples/hildon-date-button-example.c:
6639 * examples/hildon-picker-button-example.c:
6640 * examples/hildon-picker-button-multicolumn-example.c:
6641 * examples/hildon-time-button-example.c:
6642 * examples/hildon-touch-picker-example.c:
6644 Add examples for the recently added touch pickers,
6645 picker dialogs, and picker button widgets.
6647 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6649 * src/hildon-button.c: Add some API documentation
6651 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6653 * src/hildon-button.h
6654 * src/hildon-button.c
6656 (hildon_button_new_with_text): New constructor to create a button
6657 with no text at all.
6658 (hildon_button_init, hildon_button_set_arrangement)
6659 (hildon_button_set_title, hildon_button_set_value)
6660 (hildon_button_set_text)
6661 (hildon_button_construct_child): Hide the value when it's not used
6662 so the rest of the text is properly aligned.
6663 Allow creating buttons with arbitrary widgets inside (not just
6664 title/value labels).
6666 * examples/hildon-button-example.c (vertical_buttons_window)
6667 (horizontal_buttons_window): Update example to use new API.
6669 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6671 * src/Makefile.am: Added HildonTimeButton.
6672 * src/hildon-time-button.c: Added missing LGPL header.
6673 * src/hildon-time-button.h: Added missing LGPL header.
6674 * src/hildon.h: Add hildon-time-button.h
6676 Copied HildonTimeButton from sandbox to trunk. Future work on this
6677 widget must take place in trunk.
6679 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6681 * src/Makefile.am: Added HildonDateButton.
6682 * src/hildon-date-button.c: Update includes.
6683 * src/hildon.h: Add hildon-date-button.h
6685 Copied HildonDateButton from sandbox to trunk. Future work on this
6686 widget must take place in trunk.
6688 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6690 * src/Makefile.am: Added HildonPickerButton.
6691 * src/hildon-picker-button.h: Update includes.
6692 * src/hildon.h: Add hildon-picker-button.h
6694 Copied HildonPickerButton from sandbox to trunk. Future work on
6695 this widget must take place in trunk.
6697 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6699 * src/Makefile.am: Added HildonPickerDialog.
6700 * src/hildon-picker-dialog.c: Update includes.
6701 * src/hildon.h: Add hildon-picker-dialog.h
6703 Copied HildonPickerDialog from sandbox to trunk. Future work
6704 on this widget must take place in trunk.
6706 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6708 * src/Makefile.am: Added HildonTimeSelector.
6709 * src/hildon.h: Add hildon-time-selector.h
6711 Copied HildonTimeSelector widget from sandbox to trunk. Future
6712 work on this widget must happen in trunk.
6714 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6716 * src/Makefile.am: Added HildonDateSelector.
6717 * src/hildon.h: Add hildon-date-selector.h
6719 Copied HildonDateSelector widget from sandbox to trunk. Future
6720 work on this widget must happen in trunk.
6722 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6724 * src/Makefile.am: Added HildonTouchPicker.
6725 * src/hildon-touch-picker.c: Update includes.
6726 * src/hildon.h: Add hildon-touch-picker.h
6728 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6729 on this widget must happen in trunk.
6731 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6733 * src/hildon-pannable-area.c:
6734 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6736 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6738 * examples/hildon-app-menu-example.c (main): Let the window
6741 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6743 * src/hildon-pannable-area.c
6744 (hildon_pannable_area_class_init): Set the min value of the
6745 overshoot properties to zero, which points out that not
6746 overshooting allowed.
6748 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6750 Modified the procedure to get the widget at a point inside the
6751 pannable area when using the movement type signals. Now the user
6752 has to call a function to get the child, that way we just
6753 calculate the child in case the user really want to use it and not
6756 * src/hildon-marshalers.list: Modified the marshallers, now we do
6757 not have the widget as a parameter.
6759 * src/hildon-pannable-area.c
6760 (hildon_pannable_area_motion_notify_cb),
6761 (hildon_pannable_area_class_init),
6762 (hildon_pannable_get_child_widget_at): Removed the widget
6763 parameter from the signal callback. We have also refactored the
6764 emission of the signals.
6766 * src/hildon-pannable-area.h: Added a new method to the API to
6767 calculate a widget at a point inside the pannable area,
6768 hildon_pannable_get_child_widget_at.
6770 * examples/hildon-pannable-area-example-4.c
6771 (horizontal_movement): Modified the example to use the new API,
6772 added condition to control which widget is under the event. This
6773 way we can avoid scrolling laterally over other widgets.
6775 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6777 * src/hildon-pannable-area.c
6778 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6779 modes, we stop getting the pointer events due to returning the
6780 callback without properly calling the get pointer again. Fixed
6781 also an error using the hscroll and vscroll.
6783 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6785 * src/hildon-app-menu-private.h
6786 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6787 (hildon_app_menu_button_release, hildon_app_menu_init)
6788 (hildon_app_menu_class_init): Don't hide the menu on button
6789 release if the user didn't press outside first.
6791 * src/hildon-window.h
6792 * src/hildon-window.c (hildon_window_toggle_menu)
6793 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6794 hildon_window_toggle_menu a virtual function for the stackable
6795 window to override it.
6797 * src/hildon-stackable-window.h
6798 * src/hildon-stackable-window-private.h
6799 * src/hildon-stackable-window.c
6800 (hildon_stackable_window_realize)
6801 (hildon_stackable_window_finalize)
6802 (hildon_stackable_window_class_init)
6803 (hildon_stackable_window_init)
6804 (hildon_stackable_window_set_main_menu): New function to set the
6805 app menu of a HildonStackableWindow.
6807 * examples/hildon-app-menu-example.c: Remove the button to show
6808 the app menu, now it'll be shown when clicking on the title bar
6811 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6813 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6814 set the widget name if the arrangement flags do not specify
6817 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6819 * src/hildon-button.c: (hildon_button_set_property),
6820 (hildon_button_class_init), (hildon_button_new_full),
6821 (hildon_button_set_arrangement): Added "arrangement-flags"
6824 Make the HildonButtonFlags a construction-only property, to allow
6825 subclasses to set them properly.
6827 2008-07-21 Tim Janik <timj@imendio.com>
6829 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6830 insertion position after backspace, so additional digits are appended,
6833 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6835 * src/hildon-pannable-area.c,
6836 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6837 TODO list, it was complete and removed the g_debug and g_print
6840 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6842 Added the movement modes to the hildon-pannable-area, with this
6843 modes the developers can control in which directions the widget
6844 can scroll. They can also connect to signals in order to do
6845 something when that happens, allowing applications scroll. There
6846 is an example uploaded showing how to use it.
6848 * examples/Makefile.am:
6849 * examples/hildon-pannable-area-example-4.c: Added this example of
6850 an application using the modes.
6852 * src/hildon-marshalers.list: Added a new marshaller for the new
6855 * src/hildon-pannable-area.h: Added new enumerations and flags in
6856 order to control the movement modes and the new signals to warn
6857 about the movements in the area.
6859 * src/hildon-pannable-area.c:
6860 (hildon_pannable_axis_scroll),
6861 (hildon_pannable_area_scroll),
6862 (hildon_pannable_area_motion_notify_cb),
6863 (hildon_pannable_area_get_property),
6864 (hildon_pannable_area_set_property),
6865 (hildon_pannable_area_map),
6866 (hildon_pannable_area_class_init),
6867 (hildon_pannable_area_init),
6868 (hildon_pannable_area_jump_to): Added the modes to control the
6869 movement in the widget. We have added properties to control it,
6870 signals to warn about the movements and refactored some code.
6872 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6874 Changes required in order to allow vfast_factor set to zero to
6877 * src/hildon-pannable-area.c:
6878 (hildon_pannable_area_button_press_cb): Changed the condition, it
6879 is required for not allowing click when vfast_factor is zero.
6880 (hildon_pannable_area_timeout): Initialized velocity variables
6881 when we stop moving, it was less than 1 but not zero and we need
6882 to check zero in some situations.
6883 (hildon_pannable_area_class_init): Changed the default value of
6884 the speed factor, now the button_press is just sent in case the
6885 speed is 2 per cent of the max speed.
6886 (hildon_pannable_area_init): Initialization with 0.
6888 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6890 * src/hildon-pannable-area.c,
6891 (hildon_pannable_area_get_topmost): replaced
6892 gdk_window_get_children with gdk_window_peek_children, this way we
6893 do not have to free the list because it is not a copy.
6895 (hildon_pannable_axis_scroll),
6896 (hildon_pannable_area_scroll),
6897 (hildon_pannable_area_timeout),
6898 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6899 two parameters that were only used inside the
6900 hildon_pannable_area_scroll function.
6902 * examples/hildon-pannable-area-example.c,
6903 (get_sawtooth_label): Fixed small memory leak.
6905 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6907 More checks for the case where the overshoot is bigger than the
6910 * src/hildon-pannable-area.c:
6911 (hildon_pannable_draw_vscroll),
6912 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6913 to draw the slider of the scrollbar under the other scrollbar.
6914 (hildon_pannable_area_expose_event): added new checks to control
6915 the drawing of the overshooting area rectangle, in case it is too
6916 big for the area of the widget.
6917 (hildon_pannable_area_size_allocate): add more checks to avoid
6918 setting a position to the child widget outside the area.
6920 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6922 * src/hildon-pannable-area.c
6923 (hildon_pannable_area_size_allocate): Added conditions to control
6924 when overshooting is bigger than the allocated space for the
6925 children, this avoids negative allocations.
6927 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6929 * doc/hildon-docs.sgml
6931 * examples/Makefile.am
6932 * examples/hildon-button-example.c
6934 * src/hildon-button.c
6935 * src/hildon-button.h
6936 * src/hildon.h: Initial version of the new HildonButton widget,
6939 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6941 * src/hildon-pannable-area.c:
6942 (hildon_pannable_area_button_press_cb),
6943 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6944 (hildon_pannable_area_motion_notify_cb),
6945 (hildon_pannable_area_button_release_cb),
6946 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6947 (hildon_pannable_area_jump_to_child):
6949 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6951 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6953 * examples/Makefile.am
6954 * examples/hildon-pannable-area-touch-grid-example.c
6955 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6956 the Hildon Touch List and Hildon Touch Grid using the
6957 HildonPannableArea widget.
6959 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6961 * src/hildon-pannable-area.c,
6962 (hildon_pannable_area_button_press_cb),
6963 (hildon_pannable_area_refresh),
6964 (hildon_pannable_area_scroll),
6965 (hildon_pannable_area_motion_notify_cb),
6966 (hildon_pannable_area_button_release_cb),
6967 (hildon_pannable_area_expose_event),
6968 (hildon_pannable_area_add),
6969 (hildon_pannable_area_remove),
6970 (hildon_pannable_area_realize),
6971 (hildon_pannable_area_size_allocate),
6972 (hildon_pannable_area_class_init),
6973 (hildon_pannable_area_init),
6974 (hildon_pannable_area_scroll_to_child),
6975 (hildon_pannable_area_jump_to_child): Fixed the problem of
6976 removing the child from the GtkBin, we have rearranged the widget
6977 hierarchy, now there is no GtkAlignment which was not doing
6978 anything interesting but breaking some of the assumptions of
6979 GtkContainer. Now developers if they want to add a GtkAlignment
6980 they could, but it is not inside the area.
6982 We had to review the whole allocation/expose process, now it is
6983 improved and we save at least three signals which would be saving
6984 some time when rendering the widget. The allocation of the
6985 scrollbars is now made in the allocate method as usual.
6987 We have also added some conditions in order to control when there
6988 is no child of the pannable area. Maybe we will need more work
6991 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6993 * src/hildon-pannable-area.c,
6994 (hildon_pannable_area_dispose): Released the fade-out timeout when
6995 disposing the widget.
6997 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6999 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7000 zero, we are going to use that property in order to deactivate the
7002 (hildon_pannable_axis_scroll),
7003 (hildon_pannable_area_size_allocate): Added conditions to control
7004 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7005 call, now it is called in all situations and we can remove calls
7006 in the allocate method.
7007 (hildon_pannable_area_map): Control the situation when
7008 overshoot_max is zero, we do not need the timeout.
7009 (hildon_pannable_area_class_init): Added documentation in order to
7010 point out that setting zero to overshoot_max means deactivate
7013 NOTE: removed trailing whitespaces from my previous comments of
7016 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7018 * src/hildon-pannable-area.c
7019 (hildon_pannable_area_get_property),
7020 (hildon_pannable_area_set_property),
7021 (hildon_pannable_area_map),
7022 (hildon_pannable_area_class_init),
7023 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7024 to cause the widget give a hint about its panning abilities upon
7027 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7029 * src/hildon-pannable-area.c: Several documentation improvements.
7031 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7033 * src/hildon-program.c
7034 * src/hildon-stackable-window.c: Update documentation.
7036 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7038 * src/hildon-stackable-window.c (get_previous_window_if_last):
7039 Renamed get_last_window()
7040 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7041 (hildon_stackable_window_unset_program):
7043 (get_previous_window_if_last):
7044 Detect if the window hasn't been added to a HildonProgram.
7046 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7048 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7050 * src/hildon-pannable-area.c
7051 (hildon_pannable_area_button_press_cb),
7052 (hildon_pannable_axis_scroll),
7053 (hildon_pannable_area_scroll),
7054 (hildon_pannable_area_timeout),
7055 (hildon_pannable_calculate_vel_factor),
7056 (hildon_pannable_area_get_property),
7057 (hildon_pannable_area_set_property),
7058 (hildon_pannable_area_class_init),
7059 (hildon_pannable_area_init),
7060 (hildon_pannable_area_scroll_to),
7061 (hildon_pannable_area_jump_to),
7062 (hildon_pannable_area_scroll_to_child),
7063 (hildon_pannable_area_jump_to_child):
7064 * src/hildon-pannable-area.h: Added the new API functions:
7065 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7066 hildon_pannable_area_scroll_to_child,
7067 hildon_pannable_area_jump_to_child
7070 * examples/Makefile.am
7071 * examples/hildon-pannable-area-example-2.c
7072 * examples/hildon-pannable-area-example-3.c: Added these two new
7073 examples in order to test and show how the new APIs work.
7075 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7077 * examples/hildon-stackable-window-example.c (new_window):
7078 * src/Makefile.am (noinst_HEADERS):
7079 * src/hildon-program.c (hildon_program_go_to_root_window):
7080 * src/hildon-program.h:
7081 * src/hildon-stackable-window-private.h:
7082 * src/hildon-stackable-window.c:
7083 * src/hildon-stackable-window.h:
7084 Create hildon-stackable-window-private.h
7085 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7087 * examples/hildon-app-menu-example.c (create_menu):
7088 * examples/hildon-hvolumebar-insensitive-example.c (main):
7089 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7090 * examples/hildon-toolbar-seekbar-example.c (main):
7091 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7092 * src/hildon-banner.c (hildon_banner_set_property):
7093 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7094 Fix compilation warnings
7096 * src/hildon-window.c:
7099 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7101 * src/hildon-stackable-window.c
7102 (hildon_stackable_window_unset_program):
7103 Calculate correctly whether to show the previous window if the
7104 last one is removed from the stack.
7105 (hildon_stackable_window_go_to_root_window):
7106 Send delete events starting from the topmost window.
7107 Stop if one of the windows is not destroyed.
7109 (hildon_stackable_window_delete_event)
7110 (hildon_stackable_window_class_init):
7111 Ignore the delete event if the window is not the topmost one.
7113 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7115 * src/hildon-pannable-area.c
7116 (hildon_pannable_area_expose_event): Fixed a problem when
7117 selecting the background color of the scrollbars.
7119 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7121 * examples/hildon-stackable-window-example.c
7122 * src/hildon-stackable-window.c
7123 * src/hildon-stackable-window.h
7124 hildon_stackable_window_go_home() renamed to
7125 hildon_stackable_window_go_to_root_window()
7126 Send delete events to windows rather than closing them with
7127 gtk_widget_destroy()
7129 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7131 * src/hildon-pannable-area.c
7132 (hildon_pannable_area_button_release_cb): Fix overshooting in
7135 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7137 * src/hildon-pannable-area.c
7138 (hildon_pannable_area_init): Initially show the scroll indicators.
7139 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7141 Add initial effect showing the widget is pannable.
7143 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7145 * src/hildon-pannable-area.c
7146 (hildon_pannable_area_class_init)
7147 (hildon_pannable_area_set_property)
7148 (hildon_pannable_area_get_property)
7149 (hildon_pannable_area_button_press_cb):
7150 New 'velocity_fast_factor' property to decide which velocity is
7153 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7155 * src/hildon-pannable-area.c
7156 (hildon_pannable_draw_hscroll)
7157 (hildon_pannable_draw_vscroll):
7158 Use float variables to calculate the size of the scrollbars to
7159 avoid error propagation and resizing during scrolling.
7161 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7163 * src/hildon-pannable-area.c
7164 (hildon_pannable_draw_vscroll)
7165 (hildon_pannable_draw_hscroll):
7166 Define a minimum size for the scroll bars
7168 * src/hildon-stackable-window.c
7169 (hildon_stackable_window_go_home): Fix compilation warning
7170 (get_last_window): Minor optimizations
7171 (hildon_stackable_window_class_init): Fix initialization of
7174 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7176 * src/hildon-stackable-window.c: Fixed typos in doc
7178 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7180 * src/hildon-pannable-area.c
7181 (hildon_pannable_area_scroll):
7182 Calculate here whether we need to scroll instead of using the booleans
7183 that tell us whether to /draw/ the scrolling bars.
7185 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7187 * src/hildon-app-menu.h
7189 * src/hildon-app-menu.c
7190 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7191 multiple filter groups related code and API. Now we support only
7193 * examples/hildon-app-menu-example.c:
7195 Update to reflect API changes.
7197 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7199 * src/hildon-stackable-window.c
7200 (hildon_stackable_window_class_init):
7201 Add hildon_stackable_window_realize.
7202 (hildon_stackable_window_realize):
7203 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7204 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7205 to apply theming and behavior specific to HildonStackableWindow
7208 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7210 * src/hildon-note.c (hildon_note_button_release):
7211 Close information notes also when tapping on them
7213 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7215 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7216 ELASTICITY, refactor and review, fix some issues with drawing
7219 * src/hildon-pannable-area.c:
7220 (hildon_pannable_area_button_press_cb): removed the conditions to
7221 avoid clicks when overshooting. It is not required
7223 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7224 define. Refatored and reviewed the code, now we do not need to
7225 manage velocity in motion_notify.
7227 (hildon_pannable_area_motion_notify_cb): We have moved the code
7228 that controls the area_scroll to the axis_scroll function and get
7229 rid of duplicated code.
7231 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7233 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7235 (hildon_pannable_draw_vscroll),
7236 (hildon_pannable_draw_hscroll): Fixed the problems with the
7237 scrollbar drawing, now we do not use two surfaces, it is easier
7238 and saves resources.
7240 (hildon_pannable_area_get_property): Style modification.
7242 (hildon_pannable_area_class_init): Changed some default values.
7244 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7246 * src/hildon-stackable-window.c: Fix some typos in the
7249 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7251 * src/hildon-dialog.c:
7252 Change indentation style
7255 (hildon_note_button_release):
7256 Use root coordinates to check if the release event happened
7259 * src/hildon-app-menu.c
7260 (hildon_app_menu_button_release):
7261 Remove unnecessary check
7263 * examples/hildon-app-menu-example.c
7265 Add cast to fix warning
7267 * src/hildon-app-menu.c
7268 (hildon_app_menu_class_init):
7269 New inner-border style property.
7270 Set all default spacings to 16
7271 (hildon_app_menu_init):
7272 Use vertical-spacing to set the space between filter buttons and
7273 regular menu buttons.
7274 Set the default container border using the inner-border value.
7276 * examples/hildon-app-menu-example.c
7278 Don't set the menu border explicitly, now we have the inner-border
7279 style property for that.
7281 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7283 * src/hildon-app-menu.c (hildon_app_menu_init):
7284 Make the window modal
7286 * src/hildon-note.c (hildon_note_map)
7287 * src/hildon-app-menu.c (hildon_app_menu_map):
7288 Destroy the grab window if we're unable to grab the pointer
7290 * src/hildon-app-menu-private.h
7291 * src/hildon-app-menu.c
7292 (hildon_app_menu_init, hildon_app_menu_finalize)
7293 (hildon_app_menu_map, hildon_app_menu_unmap)
7294 (hildon_app_menu_button_release)
7295 (grab_transfer_window_get):
7296 Bring back the grab window
7297 (hildon_app_menu_realize):
7298 Decorate the window, set WM hint for Matchbox
7300 * src/hildon-note.c (hildon_note_realize):
7301 * src/hildon-banner.c (hildon_banner_realize):
7302 Add WM hints for Matchbox
7304 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7306 * src/hildon-app-menu-private.h
7307 * src/hildon-app-menu.c
7308 (hildon_app_menu_init, hildon_app_menu_finalize)
7309 (hildon_app_menu_map, hildon_app_menu_unmap)
7310 (hildon_app_menu_button_release):
7311 Remove the grab window, it's not needed anymore
7313 * src/hildon-program.c
7314 Fixed typo in documentation
7316 * src/hildon-app-menu.h
7317 * src/hildon-app-menu.c
7318 * examples/hildon-app-menu-example.c
7319 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7321 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7324 Added new transfer_window and close_if_pressed_outside private
7326 (hildon_note_rebuild):
7327 Don't add a cancel button to the information note. It will be
7328 closed when tapping outside
7329 Remove the comment about the OK button in the documentation
7330 (hildon_note_realize):
7331 Set the notification type hint
7332 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7333 Grab/ungrab pointer and keyboard if the note has to be closed when
7335 (hildon_note_button_release):
7336 Close the note when tapping outside (if applicable)
7338 * src/hildon-app-menu.c
7339 Grab/ungrab pointer and keyboard on map/unmap
7340 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7341 Close the menu on button release, not button press
7343 * src/hildon-banner.c
7344 (hildon_banner_set_property)
7345 (hildon_banner_check_position):
7346 Make the banner use the full width of the screen
7347 (hildon_banner_show_information)
7348 (hildon_banner_show_information_with_markup):
7349 Don't display an icon by default
7351 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7353 Added fading scrollbars and adapted all the overshooting code to
7354 horizontal scrolling. We have also fixed bugs with overshooting
7355 and current fading implementation.
7357 * src/hildon-pannable-area.c
7358 (hildon_pannable_area_scroll_indicator_fade): Time out function
7359 used to change the transparency of the scrollbars.
7361 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7362 control and fixed a problem with fading, we now remove the fade
7363 timeout before adding a new one.
7365 (hildon_pannable_axis_scroll):
7366 (hildon_pannable_area_scroll):
7367 (hildon_pannable_area_timeout): Added this functions so we can use
7368 the scroll code both for vertical and horizontal.
7370 (hildon_pannable_area_motion_notify_cb):
7371 (hildon_pannable_area_button_release_cb): Added the horizontal
7372 scrolling control, fixed a problem with the overshooting timeout.
7374 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7375 painting of the scrolls.
7377 (hildon_pannable_draw_vscroll):
7378 (hildon_pannable_draw_hscroll):
7379 (hildon_pannable_area_expose_event):
7380 Draw both scrollbars and rectangles in the overshooting area.
7382 (hildon_pannable_area_get_property):
7383 (hildon_pannable_area_set_property):
7384 Modified the overshoot property to overshoot_max
7386 (hildon_pannable_area_map):
7387 Replaced the comments symbols.
7389 (hildon_pannable_area_size_allocate):
7390 (hildon_pannable_area_class_init):
7391 (hildon_pannable_area_init): Added horizontal scroll, fading
7392 effect properties, fixed a problem when overshooting in the bottom
7395 * examples/hildon-pannable-area-example.c:
7396 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7397 looks better in the example.
7399 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7401 * src/hildon-window.c
7402 * src/hildon-window.h
7403 (hildon_window_class_init)
7404 (hildon_window_unset_program)
7405 (hildon_window_unset_program_real):
7406 Make unset_program a virtual function
7408 * src/hildon-stackable-window.c
7409 * src/hildon-stackable-window.h
7410 Added hildon_stackable_window_go_home()
7412 * examples/Makefile.am
7413 * examples/hildon-stackable-window-example.c
7414 HildonStackableWindow example
7416 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7418 * hildon-pannable-area.c: Added the overshoot property and removed
7419 the OVERSHOOT define. Fixed an indent style error.
7420 (hildon_pannable_area_motion_notify_cb):
7421 (hildon_pannable_area_get_property):
7422 (hildon_pannable_area_set_property): Add overshoot property.
7424 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7427 (hildon_pannable_area_class_init): Installed the new property.
7429 * hildon-pannable-area-example.c: Added a sawtooth function, this
7430 way it is easier to check the movement in the pannable.
7431 (get_sawtooth_label): Added this function.
7432 (main): Now we get the labels from the new get_sawtooth_label
7435 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7437 * src/hildon-app-menu.h
7438 * src/hildon-app-menu.c
7439 Renamed API variables for consistency
7441 (hildon_app_menu_popup): Use also the default window size to
7442 decide where to place the menu
7444 (hildon_app_menu_init, hildon_app_menu_class_init): New
7445 external-border style property
7447 2008-05-26 Michael Natterer <mitch@imendio.com>
7449 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7450 widget_class->tap_and_hold_setup signal slot doesn't exist any
7451 longer, stop overriding it.
7453 (hildon_time_editor_init): g_signal_connect() to the
7454 tap-and-hold-setup signal instead.
7456 (hildon_time_editor_entry_keypress): add cast to fix warning.
7458 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7460 * doc/hildon-docs.sgml
7462 * examples/Makefile.am
7463 * examples/hildon-app-menu-example.c
7465 * src/hildon-app-menu-private.h
7466 * src/hildon-app-menu.c
7467 * src/hildon-app-menu.h
7469 New HildonAppMenu widget
7471 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7473 Rearranged the inheritance of the pannable area, now it inherits
7474 from GtkBin. This will allow us to control the event_window and
7475 the allocation process of the widget, required for some effects.
7477 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7478 GtkBin structures. * src/hildon-pannable-area.c: Added the
7479 event_window variable.
7480 (hildon_pannable_area_button_press_cb):
7481 (hildon_pannable_area_button_release_cb):
7482 (hildon_pannable_area_motion_notify_cb):
7483 Changed the signature of the method, now we override the event
7484 callback instead of connecting to the signal.
7486 (hildon_pannable_area_realize):
7487 (hildon_pannable_area_unrealize):
7488 (hildon_pannable_area_map):
7489 (hildon_pannable_area_unmap):
7490 (hildon_pannable_area_size_allocate):
7491 Added functions to control the widget construction. We add a
7492 INPUT_ONLY window and we put it over the widgets inside the
7493 container, this event_window handles the events.
7495 (hildon_pannable_area_class_init):
7496 Replaced the signal connections with overrides of the event
7499 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7501 Bouncing effect added when touching the borders, you can change
7502 the elasticity of the border changing the ELASTICITY define.
7504 * src/hildon-pannable-area.c: Added ELASTICITY define.
7505 (hildon_pannable_area_timeout): Added inverse velocity when
7506 touching the border of the child widget, that causes a bounce.
7508 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7510 Improved performance, we now do not go to the X server in order to
7511 get the list of window children. Apparently the effect is the
7512 same, we have to be careful and check if this breaks something in
7515 * src/hildon-pannable-area.c:
7516 (get_ordered_children): Removed this function.
7517 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7518 the children windows function with gdk_window_get_children.
7520 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7522 * src/hildon-pannable-area.c:
7523 (hildon_pannable_area_dispose): Fixed a crash when closing the
7524 window and kinetics is activated.
7526 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7528 * src/hildon-pannable-area.h
7529 * src/hildon-pannable-area.c
7530 Changed indentation style to meet the one used in Hildon
7532 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7534 Reviewed the interaction of the AUTO mode, now we use the time
7535 attribute of the events and calculate the velocity in the motion,
7536 doing a gimp like calculation. The velocity is calculated in each
7537 motion event using the last velocity and the current one, the
7538 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7540 * src/hildon-pannable-area.c: Replaced the time based algorithm
7542 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7543 timeout for the AUTO mode when we are still moving the cursor. We
7544 added also the velocity calculation in this function.
7545 (hildon_pannable_area_button_release_cb): launch the timeout in
7546 case we are in AUTO mode. There are still some constants here that
7547 come from the old implementation that should be reviewed and
7550 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7552 * doc/hildon-docs.sgml
7555 * src/hildon-stackable-window.c
7556 * src/hildon-stackable-window.h
7558 New HildonStackableWindow widget
7560 * examples/hildon-dialog-example.c
7561 * examples/hildon-pannable-area-example.c
7564 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7566 * src/hildon-dialog.c
7567 (hildon_dialog_new_with_buttons): New constructor.
7569 * examples/hildon-dialog-example.c
7570 (main): Update the example to use the new
7571 hildon_dialog_new_with_buttons().
7573 * examples/hildon-pannable-area-example.c
7574 (main): Update example.
7576 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7578 * doc/hildon-docs.sgml
7580 Added HildonPannableArea to the documentation.
7582 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7584 * doc/visual_index.xml
7585 Fix reference to HildonLoginDialog in documentation
7587 * doc/hildon-docs.sgml
7589 * examples/Makefile.am
7590 * examples/hildon-dialog-example.c
7592 * src/hildon-dialog.c
7593 * src/hildon-dialog.h
7595 New HildonDialog widget.
7597 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7599 * src/hildon-pannable-area.c
7600 Merge latest changes (r4318, r4342) from libmokoui trunk
7602 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7604 * examples/Makefile.am
7605 * examples/hildon-pannable-area-example.c
7607 * src/hildon-pannable-area.c
7608 * src/hildon-pannable-area.h
7610 New HildonPannableArea widget.
7612 2008-04-15 18:05:19 <timj@imendio.com>
7614 * src/hildon-banner.c: revert the recent change, that introduced
7615 gtk_window_present() calls. this reopens:
7616 Bug 78481 - [freetest] information banners are hidden under browser menu
7617 But resolves another variant of:
7618 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7620 2008-04-15 13:21:13 <timj@imendio.com>
7622 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7623 recreated its layout, spotted by Kris. this fixes all remaining
7624 artefacts and stability issues with the banner code. in particular:
7625 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7627 2008-04-14 16:52:59 <timj@imendio.com>
7629 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7630 operating on unrealized widgets, fixes:
7631 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7633 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7635 2008-04-09 Kristian Rietveld <kris@imendio.com>
7637 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7638 makes banner disappear.
7639 Fixes: NB#79182: info banner flickering with certain message lengts.
7641 * src/hildon-banner.c (hildon_banner_constructor),
7642 (hildon_banner_init), (hildon_banner_set_text),
7643 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7644 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7645 FALSE, reset size requests of label and banner,
7646 (force_to_wrap_truncated): when the text is too wide, always enforce
7647 the maximum possible width instead of recalculating it from the
7648 layout; enforce the maximum banner height of 3 lines,
7649 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7650 nicer wrapping and no truncated chars if space gets tight.
7652 * src/hildon-banner-private.h: add has_been_wrapped and
7653 has_been_truncated fields.
7655 2008-04-07 Sven Herzberg <sven@imendio.com>
7657 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7658 local values in hildon_date_editor_size_allocate
7660 * src/hildon-date-editor.c: moved the real allocation code into the
7663 2008-04-07 Sven Herzberg <sven@imendio.com>
7665 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7666 local values in hildon_date_editor_size_allocate
7668 * src/hildon-date-editor.c: merged the two if() branches together
7670 2008-04-07 Sven Herzberg <sven@imendio.com>
7672 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7673 local values in hildon_date_editor_size_allocate
7675 * src/hildon-date-editor.c: changed the arguments of the if()
7678 2008-04-07 Sven Herzberg <sven@imendio.com>
7680 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7681 local values in hildon_date_editor_size_allocate
7683 * src/hildon-date-editor.c: split the calculation of the allocation
7684 from the real allocation
7686 2008-03-27 Michael Natterer <mitch@imendio.com>
7688 Fixes: NB#81696: The passcode is not overwritten even after
7691 * src/hildon-code-dialog.c
7692 (hildon_code_dialog_button_clicked)
7693 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7694 because that doesn't overwrite selected text. Instead, emit the
7695 "commit" signal on the entry's im_context so the entry's normal
7696 insert logic is triggered. Set the cursor to the end of the entry
7697 after each insert operation so that we *only* insert in the middle
7698 of the text if something was selected.
7700 2008-03-27 Michael Natterer <mitch@imendio.com>
7702 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7703 selector cannot be opened
7705 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7706 when the popup color selector is created. Please connect to this
7707 signal in order to set the dialog's help ID.
7709 2008-03-25 Sven Herzberg <sven@imendio.com>
7711 Fixes: MB#1212: Hide info banners (infoprints) on click
7713 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7714 extracted the close event simulation into an extra function
7715 (hildon_banner_button_press_event): simulate a close event and destroy
7716 the widget if the event wasn't handled
7717 (hildon_banner_class_init): added the button_press_event handler
7718 (hildon_banner_init): added button-press events to the widget
7720 2008-03-25 Sven Herzberg <sven@imendio.com>
7722 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7723 Patch from: Mohammad Anwari <mdamt@maemo.org>
7725 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7726 instead of the right in RTL mode
7727 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7728 breadcrumb button list in RTL mode
7729 * src/hildon-caption.c: mirror the appearance of the caption widget in
7731 * src/hildon-date-editor.c: mirror appearance of the date editor in
7733 * src/hildon-time-editor.c: mirror appearance of the time editor in
7735 * src/hildon-window.c: fix the position of the popup in RTL mode
7737 2008-03-25 Sven Herzberg <sven@imendio.com>
7739 Amendment to the fix of NB#22072. Fix compilation.
7741 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7743 2008-03-19 Sven Herzberg <sven@imendio.com>
7745 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7748 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7749 timeout id properly when the timeout will disappear this leaves no
7750 artifacts around in the destroy(); there will only be the timeout
7751 created by hildon_banner_ensure_timeout() and adding a new timeout
7752 will also work if the timeout gets removed because the timeout_handler
7755 2008-03-19 Michael Natterer <mitch@imendio.com>
7757 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7759 * src/hildon-volumebar.c
7760 * src/hildon-vvolumebar.c
7761 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7762 the widget becomes focussable at all.
7764 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7765 set the focus to wither the mute button or the volumebar.
7767 Remove own "can-focus" property and instead listen to
7768 notify::can-focus in order to update the widget's state.
7770 Implement GtkWidget::focus() and make sure we can also *leave* the
7771 widget, not only enter it, depending on volumebar orientation and
7772 requested focus direction.
7774 Clean up set_mute() to cooperate nicely with all the above.
7776 2008-03-04 Michael Natterer <mitch@imendio.com>
7778 Fixes: NB#78481: information banners are hidden under browser menu
7780 * src/hildon-banner.c: call gtk_window_present() on the banners so
7781 they are risen if they are already visible.
7783 2008-03-03 Sven Herzberg <sven@imendio.com>
7785 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7787 * examples/hildon-window-menu-example.c: (main): extended the window
7788 menu example to serve as a testcase for automatically added
7789 accelerator groups, too
7790 * src/hildon-window.c: (hildon_window_add_accel_group),
7791 (hildon_window_set_menu): added patch by Tommi Komulainen
7793 2008-03-03 Sven Herzberg <sven@imendio.com>
7795 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7797 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7798 knowledge about the border allocators used within GTK+
7800 2008-02-26 Sven Herzberg <sven@imendio.com>
7802 Fixes: MB#2981: Build with asserts broken
7804 * src/hildon-date-editor.c,
7805 * src/hildon-number-editor.c,
7806 * src/hildon-time-editor.c,
7807 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7808 the proper GType instance check
7810 2008-02-25 Sven Herzberg <sven@imendio.com>
7812 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7814 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7815 * examples/hildon-window-menu-example.c: (main): explicitly show
7817 * src/hildon-window.c:
7818 (hildon_window_set_main_menu): moved most of the code from set_menu()
7819 to this place; skipped the call to gtk_widget_show_all(); also didn't
7820 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7821 (hildon_window_set_menu): removed most of the code, just keep the
7822 questionable gtk_widget_show_all()
7823 * src/hildon-window.h: added the new function and deprecate the old
7826 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7832 * debian/changelog: Updating.
7834 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7837 * pkgconfig/Makefile.am:
7838 * pkgconfig/hildon.pc.in:
7841 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7842 use newly created API_MAJOR_VERSION.
7844 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7850 * debian/changelog: Updating.
7852 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7854 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7856 Add outer_border style property, we use it but don't define it (!).
7860 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7862 * examples/hildon-bread-crumb-trail-example.c (main):
7866 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7868 Fix logic for the bread crumb trail node removal.
7872 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7878 * debian/changelog: Updating.
7880 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7882 Patch by Alejandro to get/set passwords dialogs accesibility.
7884 * hildon-1/src/hildon-get-password-dialog.c:
7885 * hildon-1/src/hildon-set-password-dialog.c:
7886 Set atk_set_name to the passwd entries in order to allow
7887 accessibility by name on this entries.
7889 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7894 * debian/control: Updating gtk dep.
7896 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7898 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7899 USE_MAEMO_GTK is enabled.
7901 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7903 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7904 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7906 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7912 * debian/changelog: Updating.
7914 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7916 * examples/Makefile.am:
7917 * examples/hildon-logical-color-example.c:
7918 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7919 applied + adding a test case. Fixes: NB#71660.
7921 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7923 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7924 to be visible, fixes warning on map for windows without toolbars.
7926 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7928 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7929 2.11.0, add a check for that besides the MAEMO_GTK check.
7931 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7937 * debian/changelog: Updating.
7939 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7941 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7942 visibility. Fixes: NB#70842 and MB#615.
7944 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7946 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7947 set the separator as no-show-all so it doesn't unintentionally appear when
7948 someone does a show_all.
7950 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7952 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7953 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7954 toplevel item. Fixes: NB#62031
7956 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7958 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7959 fix the name of the function in the docs.
7961 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7967 * debian/changelog: Updating.
7969 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7971 * examples/hildon-banner-long-example.c: Adding a test-case for long
7974 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7976 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7978 * src/hildon-color-chooser-dialog.c:
7979 * src/hildon-color-chooser.c:
7980 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7981 memory leaks in font selector and color selector. Fixes: NB#70499 and
7984 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7986 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7988 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7990 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7991 little bit bigger. Fixes: #NB63694.
7993 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7999 * debian/changelog: Updating.
8001 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8004 * doc/hildon-docs.sgml:
8005 * doc/images/bread-crumb-trail.png:
8006 * doc/images/calendar-popup.png:
8007 * doc/images/caption.png:
8008 * doc/images/code-dialog.png:
8009 * doc/images/color-button.png:
8010 * doc/images/color-chooser-dialog.png:
8011 * doc/images/color-chooser.png:
8012 * doc/images/controlbar.png:
8013 * doc/images/date-editor.png:
8014 * doc/images/font-selection-dialog.png:
8015 * doc/images/get-password-dialog.png:
8016 * doc/images/hvolumebar.png:
8017 * doc/images/login-dialog.png:
8018 * doc/images/note.png:
8019 * doc/images/number-editor.png:
8020 * doc/images/range-editor.png:
8021 * doc/images/seekbar.png:
8022 * doc/images/set-password-dialog.png:
8023 * doc/images/sort-dialog.png:
8024 * doc/images/time-editor.png:
8025 * doc/images/time-picker.png:
8026 * doc/images/vvolumebar.png:
8027 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8028 Adding the bread-crumb-trial and helpers to the documentation.
8030 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8032 * examples/hildon-find-toolbar-example.c:
8033 * src/hildon-find-toolbar.c:
8034 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8035 actually continue firing the other handlers if connected. Adding a new
8037 hildon_find_toolbar_get_last_index that gets the index of the most
8038 recently added (last) item. Fixes: NB#52301.
8040 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8042 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8043 behaviour. Fixes: NB#68610.
8045 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8047 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8050 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8052 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8053 when realizing the banner. Should make the infonbanner effect a bit more
8056 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8058 * src/hildon-volumebar.c:
8059 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8060 hildon_volumebar_set_range_insensitive_message and
8061 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8063 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8065 * src/hildon-window.c: Fixing the border freeing on destroy.
8067 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8069 * src/hildon-code-dialog-private.h:
8070 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8071 kw keyboard support in HildonCodeDialog.
8073 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8079 * debian/changelog: Updating.
8081 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8083 * src/hildon-date-editor.c:
8084 * src/hildon-number-editor.c:
8085 * src/hildon-private.c:
8086 * src/hildon-private.h:
8087 * src/hildon-time-editor.c:
8088 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8089 handling in subclassed composite widgets. Fixes: NB#66628.
8091 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8093 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8094 from destroy_ callback as it introduces problems in async dbus signal
8095 handlers. Fixes NB#66673.
8097 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8099 * examples/hildon-hvolumebar-example.c:
8100 * src/hildon-volumebar.c: Improving the focus handling in the
8101 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8102 set_property accessor so that "mute" property can be actually set. I'm
8103 scared that nobody noticed it's totally broken.
8105 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8107 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8110 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8112 * src/hildon-calendar.c:
8113 * src/hildon-number-editor.c:
8114 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8115 matches the spec of 6 chars per second. Fixes: NB#60489.
8117 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8119 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8120 gtk_style_lookup_color sometime returns FALSE even though color was
8121 found and values were filled properly. Weird. Removing the warning for the
8124 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8126 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8127 expand vertically. Adding some extra space to the find toolbar buttons to
8128 make them thumbable. Fixes NB#66060.
8130 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8132 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8133 popup with "Ok" and "Cancel". Fixes NB#59299.
8135 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8137 * src/hildon-calendar.c: Process all window updates before executing next
8138 timeout. Fixes: NB#54146.
8140 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8146 * debian/changelog: Updating.
8148 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8150 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8151 the client event and ignore it, since we use the delete event to close
8154 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8156 * src/hildon-helper.c: Remove the bogus warning about color not being
8157 found. Fixes NB#58352.
8159 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8161 * examples/Makefile.am:
8162 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8163 HildonSeekbar widget inside a toolbar.
8165 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8167 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8168 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8169 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8170 don't want to be closed by non-temporary windows on map.
8172 Also use G_DEFINE_TYPE instead of manually typed code.
8174 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8181 * debian/rules: Updating.
8183 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8185 * examples/Makefile.am:
8186 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8187 bug NB#61128. Strangely it works.
8189 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8191 * src/hildon-date-editor.c: When the date editor entry has been changed
8192 but the numbers of characters < max, turn off the skip validation flag.
8193 Prevents a situation when we enter first a valid year and later re-write
8194 it with an invalid one. Fixes NB#60154.
8196 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8198 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8199 code dialog. Fixes NB#64355.
8201 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8203 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8204 switching the page. Fixes NB#49374.
8206 * examples/Makefile.am:
8207 * examples/hildon-wizard-dialog-example.c: Adding an example for
8208 HildonWizardDialog that shows how to handle manual sensitivity setting on
8211 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8215 * src/hildon-version.h.in:
8216 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8218 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8220 * src/hildon-volumebar.c: Updating the docs.
8222 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8228 * debian/changelog: Updating.
8230 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8232 * src/hildon-find-toolbar.c:
8233 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8234 selected item: hildon_find_toolbar_set_active,
8235 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8236 hildon_find_toolbar_get_active_iter . They correspond to respective
8237 GtkComboBox functions.
8239 * examples/Makefile.am:
8240 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8243 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8245 * examples/Makefile.am:
8246 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8249 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8250 when font size > 32 and we pack a focusable widget inside. Actually using
8251 the default response would work too, but since we don't show default
8252 response state in any way (no theming) it would not be visible to the
8253 user. Fixes NB#63430.
8255 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8257 * src/hildon-date-editor.c: Adding the missing variable setter in the
8258 set_property handler. Fixes NB#54182.
8260 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8262 * src/hildon-window.h: Changing the long key press time from 1500ms to
8263 800ms as requested in NB#63700. I have a bad feeling about this, let's
8264 see... Fixes NB#63700.
8266 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8268 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8269 hildon_time_picker_map, hildon_time_picker_realize,
8270 hildon_time_picker_style_set): Split the contents of map to more
8271 appropriate functions; set window decorations on realize and update
8272 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8274 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8279 * debian/changelog: Updating.
8281 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8283 * src/Makefile.am: fixed installation of the header files
8285 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8291 * debian/changelog: Updating.
8293 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8295 * configure.ac: Removing some remaining of --enable-xan.
8297 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8299 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8300 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8302 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8303 2.10.12-osso6 because the move-focus signal needs to be available in
8306 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8308 * examples/Makefile.am:
8309 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8310 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8311 fine. Prolly NB#61128 is fixed now.
8313 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8315 * src/hildon-volumebar.c:
8316 * src/hildon-volumebar.h: Adding the
8317 hildon_volumebar_set_range_insensitive_message and
8318 hildon_volumebar_set_range_insensitive_messagef functions to set
8319 insensitive message on the slider of the volumebar. Fixes NB#61129.
8321 * examples/Makefile.am:
8322 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8323 test the new insensitive messsage functionality on HildonVolumebar.
8325 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8327 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8330 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8332 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8333 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8334 button on after clearing the trail.
8336 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8338 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8340 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8342 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8343 by splitting the installed headers in generated and non-generated groups. Use
8344 only the non-generated headers to create the hildon-enum-types.h file.
8346 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8348 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8350 * src/hildon-window.c: Hide the window before performing the destroy.
8351 Should make the app closing a little tiny bit more snappy.
8353 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8355 * src/hildon-seekbar.c: add gtkrange.h header
8356 * src/hildon-caption.c: remove unused variable
8358 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8360 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8363 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8369 * debian/changelog: Updating.
8371 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8373 * src/hildon-window.c (hildon_window_window_state_event,
8374 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8375 escape timeout on focus-out-event rather than notify::is-topmost; the
8376 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8378 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8380 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8381 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8383 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8385 * src/hildon-window: actually, you need to use the macro always, there's
8386 no private pointer in the instance structure. We should have cleaned this up
8387 when we had the chance...
8389 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8391 * src/hildon-window.c: do not get the private date from HildonWindow before
8392 it passes the g_return_if_fail check. Once it's passed the test, there's no
8393 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8394 if you are only going to access the data once. Whitespace cleanups.
8396 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8398 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8399 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8401 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8407 * debian/changelog: Updating.
8409 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8411 * src/hildon-window.c: When destroying the window, remove (if exists) the
8412 escape timeout handler. Fixes #NB59276.
8414 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8416 * src/hildon-banner.c: When realizing the widget, set the window
8417 transiency. Setting the transiency in the gobject constructor is not
8418 good, as the widget is not realized at that point. Fixes: #NB56624.
8420 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8422 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8423 Add padding for future expansions.
8425 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8427 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8428 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8429 will fake an activation on the previous to the last item of the trail, so
8430 the effect can be overrided by the developer as usual.
8431 Also change the callback for the back button to do the same thing, so its
8432 effect can be overrided too. Fixes: NB#58982
8434 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8436 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8437 HildonCaption. Fixes NB#52379.
8439 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8441 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8442 the internal state of the trail after the user has had the chance of executing
8443 his handler for the signal. Specifically, it may happen that the activated button
8444 is removed and the user still lets the default handler run. This would segfault
8447 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8449 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8450 scrollbar to the preview dialog. Fixes NB#54147.
8452 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8454 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8455 max/min year properties can be altered, so the client can modify it
8456 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8458 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8460 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8461 hildonlike by default. Fixing a problem with disappearing arrows when
8462 scrolling through months and years. Fixes NB#54127.
8464 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8466 * examples/hildon-date-editor-example.c: Adding error callback to the date
8469 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8475 * configure.ac: Updating.
8477 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8479 * configure.ac: Adding a special '--enable-xan' configure option that
8480 turns off the -Werror compilation setting. Usefull for development.
8482 * src/hildon-calendar.c:
8483 * src/hildon-number-editor.c:
8484 * src/hildon-time-picker.c: Adding the 5* multiplier to
8487 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8489 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8490 instead of g_object_ref + gtk_object_sink.
8492 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8498 * debian/changelog: Updating.
8500 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8502 * src/hildon-color-chooser-dialog.c:
8503 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8504 straight from Tommi labs.
8506 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8508 * examples/hildon-finger-example.c: Correcting the header file path.
8510 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8511 the changed signal. Fixes a small memory leak.
8513 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8517 * src/hildon-banner.c: Importing several usefull fixes from the
8518 ubuntu-mobile branch.
8520 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8522 * examples/Makefile.am:
8523 * examples/hildon-finger-example.c: Adding a finger-checking code
8526 * src/hildon-font-selection-dialog.c: Do not allocate the color
8527 structure using the g_new. Fixes NB#54061.
8529 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8531 * src/hildon-helper.c: Correcting tabs in file.
8533 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8535 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8536 control the visibility of the children.
8538 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8540 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8546 * debian/changelog: Updating.
8548 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8550 * src/hildon-bread-crumb-trail.c:
8551 (hildon_bread_crumb_trail_size_allocate):
8553 Make the back button always a square.
8555 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8557 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8558 from the .c file as it's a private file.
8560 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8562 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8563 uses slightly bigger height.
8565 * src/hildon-font-selection-dialog.c: Adding some checks before
8566 freeing memory in the font selection dialog.
8568 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8570 * src/hildon-font-selection-dialog.c: Adding a small check when
8573 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8574 buttons sensitivity on page switching.
8576 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8578 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8579 internal details of adding a bread crumb to the trail.
8581 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8587 * debian/changelog: Updating.
8589 * src/hildon-bread-crumb-trail.h:
8590 * src/hildon-bread-crumb.h: Changing the API guard to
8591 HILDON_ENABLE_UNSTABLE_API.
8593 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8601 * src/hildon-helper.h: Updating.
8603 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8611 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8615 * src/hildon-helper.h: Small fix to make the package actually compile.
8617 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8619 * src/hildon-bread-crumb-trail.h:
8620 * src/hildon-bread-crumb.h:
8622 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8623 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8625 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8627 * examples/hildon-bread-crumb-trail-example.c:
8629 * src/hildon-bread-crumb-trail.c:
8630 * src/hildon-bread-crumb-trail.h:
8631 * src/hildon-bread-crumb.c:
8632 * src/hildon-bread-crumb.h:
8633 * src/hildon-marshalers.list:
8634 * src/hildon-bread-crumb-widget.c:
8635 * src/hildon-bread-crumb-widget.h:
8637 Slight change in the widget design. The bread crumb trail API is
8638 unchanged, but HildonBreadCrumb is now an interface. A *private*
8639 implementation, hildon-bread-crumb-widget, is provided and used
8640 internally by the trail for the push_text/push_icon functions.
8642 The generic push API is still available, so anyone can implement
8643 and use its own bread crumb widget.
8645 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8647 * debian/rules: Fixing the shlibs.
8649 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8651 * src/hildon-banner.c: Fixing a problem with timed banners having
8652 their parrent destroyed before they are.
8654 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8656 * src/hildon-bread-crumb.c:
8657 * src/hildon-bread-crumb.h:
8659 Make the get_natural_size function a vfunc.
8661 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8663 * src/hildon-bread-crumb.c:
8664 * src/hildon-bread-crumb-trail.c:
8668 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8675 * debian/changelog: Updating for release.
8677 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8679 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8680 don't leak the pango layout.
8682 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8685 * examples/hildon-bread-crumb-trail-example.c:
8689 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8691 * debian/changelog: Removing the bug-fixed entries that were actually
8692 resolved as WONTFIX.
8694 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8697 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8699 * src/hildon-bread-crumb-trail.c:
8700 * src/hildon-bread-crumb-trail.h:
8701 * src/hildon-bread-crumb.c:
8702 * src/hildon-bread-crumb.h:
8706 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8708 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8709 until it's passed the type check.
8711 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8713 * examples/hildon-bread-crumb-trail-example.c
8717 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8719 * examples/Makefile.am
8720 * examples/hildon-bread-crumb-trail-example.c
8722 * src/hildon-bread-crumb-trail.c
8723 * src/hildon-bread-crumb-trail.h
8724 * src/hildon-bread-crumb.c
8725 * src/hildon-bread-crumb.h
8727 New HildonBreadCrumbTrail widget.
8729 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8731 * src/hildon-range-editor.c (hildon_range_editor_init),
8732 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8733 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8734 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8735 hildon_time_editor_class_init, hildon_time_editor_init),
8736 src/hildon-get-password-dialog.c (invalid_input,
8737 hildon_get_password_set_property, hildon_get_password_get_property,
8738 create_contents, hildon_get_password_dialog_set_max_characters),
8739 src/hildon-set-password-dialog.c (create_contents),
8740 src/hildon-date-editor.c (hildon_date_editor_init),
8741 src/hildon-login-dialog.c (hildon_login_dialog_init),
8742 src/hildon-number-editor.c (hildon_number_editor_init),
8743 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8744 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8745 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8746 configure option and adding the respective checks in the code.
8747 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8748 hildon_calendar_drag_data_received): fixed some build warnings.
8750 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8752 * debian/changelog: A 1.0.0 release notes.