1 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-animation-actor.c:
4 * hildon/hildon-app-menu.c:
5 * hildon/hildon-button.c:
6 * hildon/hildon-date-editor.c:
7 * hildon/hildon-dialog.c:
8 * hildon/hildon-edit-toolbar.c:
9 * hildon/hildon-entry.c:
10 * hildon/hildon-program.c:
11 * hildon/hildon-remote-texture.c:
12 * hildon/hildon-stackable-window.c:
13 * hildon/hildon-text-view.c:
14 * hildon/hildon-touch-selector.c:
15 * hildon/hildon-window-stack.c:
16 * hildon/hildon-window.c:
18 Remove redundant "represents" wording from most of the documentation.
20 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
22 2009-06-12 Alberto Garcia <agarcia@igalia.com>
27 * hildon/hildon-banner-private.h
28 * hildon/hildon-banner.c:
29 Move HildonBannerPrivate to hildon-banner.c and remove
30 hildon-banner-private.h
31 Use a bit field to store private booleans.
33 2009-06-12 Alberto Garcia <agarcia@igalia.com>
35 * hildon/hildon-app-menu.c (hildon_app_menu_map):
36 Don't install a new idle function if there's already one
41 2009-06-11 Alberto Garcia <agarcia@igalia.com>
43 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
44 (+legacy_menu_realized, +legacy_menu_unmapped)
45 (+set_legacy_menu_type):
46 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
47 they can be identified by the window manager.
49 Fixes: NB#101437 (Invoking CSM on the left side of page area is
50 displayed in wrong location)
52 Fixes: MB#4563 (Popup menu won't locate at the left side of the
55 2009-06-11 Alberto Garcia <agarcia@igalia.com>
57 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
59 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
62 2009-06-11 Alberto Garcia <agarcia@igalia.com>
64 * hildon/hildon-code-dialog.c
65 * hildon/hildon-date-editor.c
66 * hildon/hildon-number-editor.c
67 * hildon/hildon-seekbar.c
68 * hildon/hildon-stackable-window.c
69 * hildon/hildon-window.c:
70 Misc documentation updates
72 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
74 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
75 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
77 Fixes: NB#117931 (Theming issues in accounts dialogs)
79 2009-06-09 Alejandro G. Castro <alex@igalia.com>
81 * hildon/hildon-pannable-area.c,
82 (hildon_pannable_area_button_release_cb): Changed the coordinates
83 of the original release in case we want to discard the release,
84 some widgets in Fremantle do not handle the leave-notify.
86 2009-06-09 Alejandro G. Castro <alex@igalia.com>
88 * hildon/hildon-pannable-area.c,
89 (hildon_pannable_area_button_release_cb): Reviewed the logic of
90 the release using the last refactored functions and avoiding the
91 movement if an element was selected.
93 2009-06-09 Alejandro G. Castro <alex@igalia.com>
95 * hildon/hildon-pannable-area.c,
96 (hildon_pannable_area_check_move),
97 (hildon_pannable_area_handle_move),
98 (hildon_pannable_area_motion_notify_cb): Refactored the
99 motion_notify method using a couple of new functions.
101 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
103 * hildon/hildon-date-selector.c:
104 (hildon_date_selector_construct_ui):
105 * hildon/hildon-time-selector.c:
106 (hildon_time_selector_constructor):
107 * hildon/hildon-touch-selector-entry.c:
108 (hildon_touch_selector_entry_set_text_column),
109 (hildon_touch_selector_entry_get_text_column):
110 * hildon/hildon-touch-selector.c: (_default_print_func),
111 (hildon_touch_selector_new_text): Use
112 hildon_touch_selector_set/get_text_column() instead of
113 setting/getting the "text-column" property.
115 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
117 * doc/hildon-sections.txt: Add the new public methods below.
119 * examples/hildon-picker-button-multicolumn-example.c:
120 (create_touch_selector):
121 * examples/hildon-touch-selector-example.c: (create_selector):
122 * examples/hildon-touch-selector-multi-cells-example.c:
124 Use hildon_touch_selector_column_set_text_column()
126 * hildon/hildon-touch-selector-column.h:
127 * hildon/hildon-touch-selector.c:
128 (hildon_touch_selector_column_set_text_column),
129 (hildon_touch_selector_column_get_text_column):
130 Make hildon_touch_selector_column_set/get_column() public, use
131 them in the inline example, document them, and reference to them
134 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
136 * hildon/hildon-time-selector.c: Fix the docs for
137 hildon_time_selector_new_step().
139 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
141 * hildon/hildon-touch-selector.c: Improve the documentation for
142 hildon_touch_selector_append_column().
144 Fixes MB#4641 (Documentation:
145 hildon_touch_selector_append_column() ref-counting)
147 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
149 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
150 Comment out test 5, since the hildon_controlbar_set_range() range
151 check is broken and fixing it would have side effects. Also,
152 this finally fixes make distcheck.
154 Fixes: NB#101420 (Update unit tests and fix make distcheck)
156 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
158 * tests/TEST-CASES.txt: Remove other bogus test.
159 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
160 Remove bogus test that was setting/retrieving a valid value.
162 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
164 * tests/TEST-CASES.txt: Remove bogus tests.
165 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
166 Remove three bogus tests that were actually setting valid colors.
168 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
170 * configure.ac: post release version bump
171 * debian/changelog: post release version bump
173 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
178 * configure.ac: Bump version.
179 * debian/changelog: Updates.
181 2009-06-08 Christian Dywan <christian@lanedo.com>
185 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
186 Correct errors in hildon_format_file-size_for_display and use
187 translations from the hildon-fm package instead of osso-filemanager.
189 2009-06-08 Alejandro G. Castro <alex@igalia.com>
191 * hildon/hildon-pannable-area.c,
192 (hildon_pannable_area_init): Initialized new values to handle the
194 (hildon_pannable_area_adjust_value_changed): Check if the values
195 changed before even call the redraw function.
196 (hildon_pannable_area_size_allocate),
197 (hildon_pannable_axis_scroll),
198 (hildon_pannable_area_scroll),
199 (hildon_pannable_area_jump_to): Improved the diagonal movement
202 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
205 2009-06-08 Alberto Garcia <agarcia@igalia.com>
207 * examples/hildon-banner-example.c:
208 Several style updates
209 (on_animation_clicked, on_animation_idle)
210 (on_progress_clicked, on_progress_idle):
211 Add additional reference for the cases when the parent window is
214 2009-06-08 Alberto Garcia <agarcia@igalia.com>
216 * doc/hildon-sections.txt
217 * hildon/hildon-pannable-area.c
218 * hildon/hildon-banner.h
219 * hildon/hildon-banner.c: Documentation updates.
221 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
224 2009-06-05 Alejandro G. Castro <alex@igalia.com>
226 * hildon/hildon-calendar-popup.h:
227 * hildon/hildon-caption.h:
228 * hildon/hildon-code-dialog.h:
229 * hildon/hildon-controlbar.h:
230 * hildon/hildon-date-editor.h:
231 * hildon/hildon-dialog.h:
232 * hildon/hildon-get-password-dialog.h:
233 * hildon/hildon-hvolumebar.h:
234 * hildon/hildon-login-dialog.h:
235 * hildon/hildon-note.h:
236 * hildon/hildon-number-editor.h:
237 * hildon/hildon-range-editor.h:
238 * hildon/hildon-seekbar.h:
239 * hildon/hildon-set-password-dialog.h:
240 * hildon/hildon-sort-dialog.h:
241 * hildon/hildon-time-editor.h:
242 * hildon/hildon-time-picker.h:
243 * hildon/hildon-volumebar-range.h:
244 * hildon/hildon-volumebar.h:
245 * hildon/hildon-vvolumebar.h:
246 * hildon/hildon-weekday-picker.h:
247 * hildon/hildon-window.h:
248 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
249 macros with the current replacements
251 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
253 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
255 * hildon/hildon-color-button.c (hildon_color_button_init): Use
256 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
257 itself, to make it fit better with Fremantle style.
259 Fixes: NB#109878 (height and width of focus on color icon is not
260 consistent with other item in the application tool bar)
262 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
264 * hildon/hildon-touch-selector.c:
265 (hildon_touch_selector_optimal_size_request): use the current requisition
266 as the base, in order to include any possible extra widget, like the
267 hildon entry on HildonTouchSelectorEntry
269 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
271 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
273 * configure.ac: post release version bump
274 * debian/changelog: post release version bump
276 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
281 * configure.ac: Bump version.
282 * debian/changelog: Updates.
284 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
286 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
288 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
289 to ensure the banner contents are centered, instead of relying on
290 the expand and fill properties in GtkHBox.
291 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
293 Fixes: NB#108265 (Animation banner not properly centered)
295 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
297 * hildon/hildon-pannable-area.c
298 (hildon_pannable_area_initial_effect): Remove the initial_effect
299 management, check initial_hint
300 (hildon_pannable_are_expose_event): Remove the initial_hint management,
301 set initial_effect to FALSE
302 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
303 by launching the fade_timeout if the scrollbars state has changed and are
305 * examples/hildon-pannable-area-initial-hint-example.c
306 Modified to allow to remove rows too. Add and remove rows one by one.
308 2009-05-28 Alberto Garcia <agarcia@igalia.com>
310 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
311 Don't close the menu if there's an animation actor below it.
313 Fixes: NB#117927 (Application menu not usable with animation
316 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
318 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
319 "focus-on-click" from the dialog button, to avoid stealing the
320 focus from the entry.
322 Fixes: NB#118903 (Account setup wizard: Text in Search field
323 should be focused when "Region" touch list picker is reopened
326 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
328 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
329 (prepare_action_area): Completely hide the dialog separator.
331 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
333 * hildon/hildon-touch-selector-entry.c
334 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
335 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
336 now that the entry is exposed.
338 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
340 * hildon/hildon-touch-selector-entry.c
341 (hildon_touch_selector_entry_init): Change the entry's size
342 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
344 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
346 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
347 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
348 avoid unnecessary scaling.
350 2009-05-27 Alberto Garcia <agarcia@igalia.com>
352 * hildon/hildon-app-menu.c (hildon_app_menu_map):
353 Create grab transfer window before calling parent's map function.
355 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
356 "crushed" button(s) in the top left corner)
358 2009-05-26 Alberto Garcia <agarcia@igalia.com>
360 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
361 Check if the window is already realized when pushing it.
363 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
365 * configure.ac: post release version bump
366 * debian/changelog: post release version bump
368 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
373 * configure.ac: Bump version.
374 * debian/changelog: Updates.
376 2009-05-25 Alberto Garcia <agarcia@igalia.com>
378 * hildon/hildon-app-menu.c: Doc updates.
380 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
382 * hildon/hildon-banner.c: Remove leftover macro.
384 2009-05-25 Alejandro G. Castro <alex@igalia.com>
386 * hildon/hildon-pannable-area.c,
387 (hildon_pannable_area_scroll_indicator_fade),
388 (hildon_pannable_area_button_release_cb): Reviewed vmin
389 conditions, it could cause problems in the fadeout procedure.
391 2009-05-25 Alejandro G. Castro <alex@igalia.com>
393 * hildon/hildon-pannable-area.c
394 (hildon_pannable_area_button_release_cb): Added a threshold to
395 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
397 2009-05-25 Alejandro G. Castro <alex@igalia.com>
399 * hildon/hildon-pannable-area.c,
400 (hildon_pannable_area_set_property): Added code to sync the gtk
401 dnd threshold with the panning threshold.
403 2009-05-25 Alejandro G. Castro <alex@igalia.com>
405 * hildon/hildon-pannable-area.c,
406 (hildon_pannable_area_class_init): Changed some of the default
407 values, now it should be less responsive and more accurate.
409 2009-05-25 Alejandro G. Castro <alex@igalia.com>
411 * hildon/hildon-pannable-area.c,
412 (hildon_pannable_area_init),
413 (hildon_pannable_area_scroll_indicator_fade),
414 (hildon_pannable_area_button_press_cb),
415 (hildon_pannable_axis_scroll),
416 (hildon_pannable_area_timeout),
417 (hildon_pannable_area_motion_notify_cb),
418 (hildon_pannable_area_button_release_cb): Changed the name of the
419 clicked attribute to button_pressed, it is more clear about its use.
421 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
423 * src/hildon-pannable-area.c
424 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
426 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
427 vertical scrollbar visibility, and use the data on private section instead,
428 remove the initial_hint check
429 (hildon_pannable_area_expose_event): add the initial_hint check here
431 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
433 * src/hildon-pannable-area.c
434 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
435 if the fadeout effect was used
436 (hildon_pannable_area_expose_event): check if it is required to
437 manage the initial effect on the begining of the function. Previously
438 it was made at the end, but this doesn't ensure that the scrollbars
439 will be painted on the first show. Do not set to FALSE initial_effect,
440 to ensure that the initial hint is showed the first time the pannable
442 * examples/Makefile.am
443 * examples/hildon-pannable-area-initial-hint-example.c:
444 New example, to show that the initial-hint is showed when the widget
447 Fixes: NB#116607 (Pannable area should always have scrollbar visible
448 initially if the application can be scrolled)
450 2009-05-25 Alberto Garcia <agarcia@igalia.com>
452 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
453 Resize table before adding new items to make sure that
454 gtk_table_resize() is called just once.
456 2009-05-25 Alberto Garcia <agarcia@igalia.com>
458 * hildon/hildon-app-menu-private.h
459 * hildon/hildon-app-menu.c (item_visibility_changed)
460 (filter_visibility_changed, hildon_app_menu_show_all)
461 (hildon_app_menu_hide_all, hildon_app_menu_init):
462 Rearrange items just once when gtk_widget_show_all()/hide_all()
465 2009-05-25 Alberto Garcia <agarcia@igalia.com>
467 * hildon/hildon-app-menu.c
468 (hildon_app_menu_insert, hildon_app_menu_add_filter):
469 Don't call gtk_widget_show() on added items.
471 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
472 automatically when they're added)
474 2009-05-20 Alberto Garcia <agarcia@igalia.com>
476 * hildon/hildon-banner.c
477 (hildon_banner_realize, +hildon_banner_unrealize)
478 (+screen_size_changed, hildon_banner_class_init):
479 Redisplay the banner if the screen is rotated.
481 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
482 on transition from landscape to portrait)
484 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
486 * hildon/hildon-banner.[ch]:
487 (hildon_banner_show_information_override_dnd): remove icon_name from the
488 method definition as it is ignored.
489 * examples/hildon-banner-dnd-example.c: updated with the change on
492 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
494 * hildon/hildon-banner-private.h: new require_override_dnd and
495 overrides_dnd variables
496 * hildon/hildon-banner.h:
497 (hildon_banner_show_information_override_dnd): new method, that shows
498 the information but sets the override flag, in order to show important
500 * hildon/hildon-banner.c
501 (hildon_banner_show_information_override_dnd): new method
502 (hildon_banner_set_override_flag): new utility function
503 (hildon_banner_real_show_information): new utility function, in order to
504 generalize the current hildon_banner_show_information_override_dnd and
505 hildon_banner_show_information_override_dnd
506 * examples/Makefile.am
507 * examples/hildon-banner-dnd-example.c: New example that show how to
508 use the new hildon_banner_show_information_override_dnd
510 Fixes: NB#114874 (There is no possibility to show hildon banners with
513 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
515 * hildon/hildon-pannable-area.c: Add a comment explaining the math
516 behind hildon_pannable_calculate_vel_factor().
518 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
520 * hildon/hildon-pannable-area.c
521 (hildon_pannable_calculate_vel_factor): Correct the sum of the
522 deceleration factors.
524 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
526 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
527 Reduce the default value for 'scroll_time' to 1 second, since the
528 current initial scrolling takes too much time.
530 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
532 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
533 calculate velocity factor during initialization, since the properties
536 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
538 * hildon/hildon-pannable-area.c
539 (hildon_pannable_area_set_property): Calculate the velocity factor
540 after setting the deceleration property and not after.
542 2009-05-20 Alberto Garcia <agarcia@igalia.com>
544 * hildon/hildon-entry.c
545 (hildon_entry_class_init, +set_property, hildon_entry_new)
546 * hildon/hildon-check-button.c
547 (hildon_check_button_class_init)
548 (+set_property, hildon_check_button_new):
549 Make the theme size a property.
551 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
552 others) do too much in the _new function)
554 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
556 * configure.ac: post release version bump
557 * debian/changelog: post release version bump
559 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
564 * configure.ac: Bump version.
565 * debian/changelog: Updates.
567 2009-05-15 Alberto Garcia <agarcia@igalia.com>
569 * hildon/hildon-gtk.h
570 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
571 New API function to take a screenshot of a window
573 Fixes: NB#106374 (Need API to take a loading screenshot)
575 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
577 * hildon/hildon-time-selector.c
578 (update_format_policy): prevent to use hours and minutes unitialized
580 2009-05-15 Alberto Garcia <agarcia@igalia.com>
582 * hildon/hildon-window.c (hildon_window_size_request):
583 Always request the full size of the screen (minus the title bar if
584 not in fullscreen mode).
586 Fixes: NB#107486 (HildonWindow should size itself properly)
588 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
590 * hildon/hildon-note-private.h: Add idle_handler to the private data.
591 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
592 (on_show_cb), (sound_handling): Disconnect the idle handler for
593 the sound when the note is finalized to avoid possible crashes.
595 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
598 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
600 * src/hildon-animation-actor.c,
601 * src/hildon-remote-texture.c:
602 Added proper object cleanup to remove signal handler and object
603 references as HildonAnimationActor and HildonRemoteTexture
604 objects get destroyed.
606 Fixes: NB#116682 (Destroying parented animation actors when
607 parent in unmapped leads to crash)
609 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
611 Based on a patch by Christian Dywan (christian@imendio.com)
613 * doc/hildon-sections.txt:
614 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
615 * hildon/hildon-helper.h: New file size formatting method.
617 * debian/control: Depend on osso-filemanager l10n package for
618 proper localization strings.
620 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
622 * tests/Makefile.am: Include top_srcdir to make possible to build
623 tests in a different builddir.
624 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
625 on a different builddir.
627 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
629 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
630 (hildon_touch_selector_remove): Disconnect model's signal handler
633 Fixes: NB#116289 (Hildon home crashes while adding task
636 2009-05-11 Alberto Garcia <agarcia@igalia.com>
638 * hildon/hildon-button.c
639 (hildon_button_set_title, hildon_button_set_value):
640 Hide labels containing an empty string.
642 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
644 * configure.ac: post release version bump
645 * debian/changelog: post release version bump
647 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
652 * configure.ac: Bump version.
653 * debian/changelog: Updates.
655 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
657 * hildon/hildon-note-private.h: Removed sound_signal_handler
658 * hildon/hildon-note.c
659 (on_show_cb): new callback on note "show" event, this simply adds
660 a idle, with the function sound_handling
661 (sound_handling): removed the sound_signal_handler management
662 (hildon_note_init): connect note "show" event to on_show_cb
663 (hildon_note_realize): remove the connection to "expose-event"
665 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
666 device?' confirmation note)
668 2009-05-08 Alberto Garcia <agarcia@igalia.com>
670 * hildon/hildon-note.c
671 (hildon_note_new_information_with_icon_name)
672 (hildon_note_new_confirmation_with_icon_name):
673 Terminate the list of parameters in g_object_set() calls
675 Fixes: NB#115166 (Formatting memory card is not taking place)
677 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
679 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
680 "dialog-information" role for the sound being played.
682 2009-05-06 Alberto Garcia <agarcia@igalia.com>
684 * hildon/hildon-app-menu.c (hildon_app_menu_init):
685 Don't make the menu a modal window, it causes strange interactions
686 with the pointer grab and it's not really needed.
688 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
690 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
692 * hildon/hildon-touch-selector.[ch]
693 (hildon_touch_selector_optimal_size_request): function added to get a
694 optimal size request from the touch selector, when you want a dialog to
695 show as much of the selector
696 * hildon/hildon-picker-dialog.c:
697 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
698 (hildon_app_menu_class_init):
699 New "max-height-landscape" and "max-height-portrait" style properties
700 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
701 (hildon_picker_dialog_get_max_height): returns the maximum height using
702 the style properties defined and checking the current portrait/landscape
704 (_hildon_picker_dialog_set_selector): removed the set_size_request
706 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
708 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
710 * hildon/hildon-bread-crumb-trail.c:
711 * hildon/hildon-bread-crumb.c:
712 * hildon/hildon-seekbar.c:
713 Add reference to replacements for these deprecated widgets.
715 Fixes: MB#4461 (Documentation: All deprecations should mention
718 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
720 * examples/hildon-remote-texture-example.c
722 Change the include to the hildon-remote-texture in order to compile
723 properly the examples on the installed libhildon1-examples package
725 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
727 * tests/Makefile.am: Add check for HildonPickerButton.
728 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
729 (START_TEST), (create_hildon_picker_button_suite): Add three simple
730 checks for the HildonPickerButton.
731 * tests/check_test.c (configure_tests): Add the test suite.
732 * tests/test_suites.h: likewise.
734 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
736 * hildon/hildon-touch-selector.c
737 (+on_row_changed): Emit HildonTouchSelector:changed when the
738 contents of a selected row change.
739 (_create_new_column), (_hildon_touch_selector_set_model): connect
740 to GtkTreeModel:row-changed on a newly set model.
742 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
744 2009-05-05 Alberto Garcia <agarcia@igalia.com>
746 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
748 * hildon/hildon-banner.c (hildon_banner_destroy)
749 (hildon_banner_show_progress, hildon_banner_set_fraction):
750 Remove the progress bar from HildonBanner and use a progress
753 Fixes: NB#113761 (Update progress banner to use progress
756 2009-05-04 Alberto Garcia <agarcia@igalia.com>
758 * hildon/hildon-banner.c:
759 Calculate size of the banner label using the actual screen width
760 rather than using a fixed value.
762 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
765 2009-05-04 Alejandro G. Castro <alex@igalia.com>
767 * hildon/hildon-pannable-area.c,
768 (hildon_pannable_area_class_init): Fixed signals documentation
771 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
773 * configure.ac: post release version bump
774 * debian/changelog: post release version bump
776 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
781 * configure.ac: Bump version.
782 * debian/changelog: Updates.
784 2009-05-01 Alberto Garcia <agarcia@igalia.com>
786 * hildon/hildon-edit-toolbar.c
787 (hildon_edit_toolbar_init):
788 Don't let buttons in HildonEditToolbar receive focus.
790 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
791 typing on an HW arrows key)
793 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
795 * doc/Makefile.am: Fix build.
797 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
799 * doc/Makefile.am: Do not redefine content_files.
801 2009-04-30 Alberto Garcia <agarcia@igalia.com>
809 Renamed src/ to hildon/
814 Include <hildon/hildon.h> directly in all examples.
816 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
818 * src/hildon-sort-dialog.c
819 (hildon_sort_dialog_add_sort_key_with_sorting)
823 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
825 * src/Makefile.am: Move generated sources to CLEANFILES, so that
826 make distcheck passes.
828 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
830 * Makefile.am: Enable gtk-doc during distcheck.
832 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
834 * Makefile.am: Do not distribute the debian/ directory.
836 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
838 * doc/Makefile.am: Add the extra SGML files to content_files,
839 so that they are distributed properly.
841 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
843 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
846 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
848 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
849 (hildon_note_new_information_with_icon_name): Set the "icon" property
850 to preserve soundness.
852 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
854 * src/hildon-font-selection-dialog.c
855 (hildon_font_selection_dialog_set_property): Fail when the "family"
856 property is set to NULL.
858 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
860 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
863 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
865 * src/hildon-time-selector.h:
866 Added HildonTimeSelectorFormatPolicy
867 * src/hildon-time-selector.c:
868 Added PROP_TIME_FORMAT_POLICY
869 (_check_ampm_format): renamed to check_automatic_ampm_format
870 (update_format_policy), (update_format_dependant_columns): new functions
871 (hildon_time_selector_class_init)
872 (hildon_time_selector_contructor)
873 (hildon_time_selector_init)
874 (hildon_time_selector_get_property)
875 (hildon_time_selector_set_property)
876 (hildon_time_selector_get_time)
877 (hildon_time_selector_set_time)
878 * src/hildon-touch-selector.h: new file
879 * src/hildon-touch-selector.c
880 (hildon_touch_selector_emit_changed)
881 (hildon_touch_selector_block_changed)
882 (hildon_touch_selector_unblock_changed)
883 Added functions to allow to block the emission of the "changed" signal
884 * src/hildon-picker-dialog.c
885 (hildon_picker_dialog_show): call the parent show before the custom code
886 * examples/hildon-time-button-example.c
887 Modified, so now you can configure the time format using the new property
889 Added a new property "time-format-policy" that allow to choose the time
890 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
891 case it uses gconf in order to check if the time selector must use
894 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
897 2009-04-28 Alberto Garcia <agarcia@igalia.com>
899 * src/hildon-note.c (hildon_note_init):
900 Label in HildonNote must be left aligned, not centered. This
901 reverts the last commit in HildonNote.
903 Fixes: NB#112933 (text is not left aligned in confirmation dialog
904 is connectivity dialog)
906 2009-04-27 Alberto Garcia <agarcia@igalia.com>
911 * doc/hildon-sections.txt:
912 Added hildon_gtk_window_set_do_not_disturb()
914 2009-04-27 Alberto Garcia <agarcia@igalia.com>
916 * src/hildon-note.c (hildon_note_init): Center label.
918 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
921 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
926 * configure.ac: Bump version.
927 * debian/changelog: Updates.
929 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
931 * src/hildon-note-private.h: Add button-width to the private data.
932 * src/hildon-note.c (+resize_button),
933 (+hildon_note_orientation_update): methods to repack widgets on orientation
935 (screen_size_changed): Call above method for confirmation notes.
936 (hildon_note_realize): Always connect to the "screen-size" changed signal.
937 (hildon_note_rebuild): Store the original width request from buttons.
939 Fixes: NB#109635 (Confirmation notes do not support portrait)
941 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
943 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
944 when it is a progress note.
946 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
948 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
949 in the note, since there are no horizontally arranged contents.
951 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
953 * src/hildon-gtk.c (+set_flag): new generic method to
954 set/delay a flag setting in a window.
955 (hildon_gtk_window_set_progress_indicator):
956 (hildon_gtk_window_set_do_not_disturb),
957 (hildon_gtk_window_set_portrait_flags): use set_flag() to
958 avoid code redundance.
960 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
962 Based on a patch by Alberto Garcia (agarcia@igalia.com)
964 * src/hildon-gtk.c (set_clear_window_flag),
965 (do_set_progress_indicator), (do_set_do_not_disturb),
966 (do_set_portrait_flags),
967 (hildon_gtk_window_set_progress_indicator),
968 (hildon_gtk_window_set_do_not_disturb),
969 (hildon_gtk_window_set_portrait_flags):
970 Allow setting dnd-flag, progress indicator, and portrait flags
971 when the window is not realized.
973 2009-04-24 Alejandro G. Castro <alex@igalia.com>
975 * src/hildon-pannable-area.c,
976 * src/hildon-pannable-area.h: Add the hildon deprecated define to
977 the size request policy function and defines.
979 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
981 * doc/hildon-sections.txt: Add the new API.
982 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
983 method to set the portrait flags.
984 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
986 Fixes: NB#112328 (Adding helpers for setting portrait properties)
988 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
990 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
991 to allow using this method with other flags.
992 (hildon_gtk_window_set_progress_indicator): Update accordingly.
993 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
995 2009-04-22 Alberto Garcia <agarcia@igalia.com>
997 * src/hildon-touch-selector.c
998 (hildon_touch_selector_append_text_column):
999 Make the cell renderer use the smallest width possible.
1001 Fixes: NB#108470 (Selected items in multiple selection are either
1002 having a tick that is cut or not visible at all.)
1004 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1006 * src/hildon-touch-selector.c
1007 (hildon_touch_selector_append_text_column):
1010 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1012 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1013 Use g_strdup_printf() instead of a fixed size buffer.
1015 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1017 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1018 Close banners when a HildonAppMenu is popped up.
1020 Fixes: NB#111027 (Title menu closed immediately if activated when
1021 "Invalid e-mail address" banner is shown)
1023 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1028 * configure.ac: Bump version.
1029 * debian/changelog: Updates.
1031 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1033 * src/hildon-banner.c (hildon_banner_realize):
1034 Mark HildonBanner as supporting portrait mode.
1035 Use GDK to set window properties insetad of direct Xlib calls.
1037 Fixes: NB#111830 (HildonBanner should be marked as supporting
1040 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1042 * src/hildon-note.c (hildon_note_rebuild):
1043 Hide action area in information notes. Prevents text from being
1044 slightly aligned to the left.
1046 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1049 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1051 Patch by Mox Soini (ext-mox.soini@nokia.com)
1053 * src/hildon-banner.c (hildon_banner_create_animation):
1054 Use stylus-sized icons in animation banner.
1056 Fixes: NB#111206 (stylus sized icon for animation banner)
1058 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1062 (+hildon_gtk_window_set_do_not_disturb):
1063 New API to set the do-not-disturb flag.
1065 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1067 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1069 * examples/hildon-progress-indicator-example.c: Fix example
1071 * src/hildon-gtk.c (set_clear_window_flag)
1072 (hildon_gtk_window_set_progress_indicator):
1073 Create a generic function for setting flags to a window.
1074 Use GDK instead of direct Xlib calls.
1076 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1078 * src/hildon-button.c (hildon_button_set_arrangement):
1079 Due to NB#88126, if one of the labels is too long it will be
1080 painted outside the button. The 'value' label is more likely to be
1081 the longest one, so we change its packing options in order to
1082 truncate it if necessary. As a side effect, the 'title' label will
1083 no longer be truncated.
1085 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1087 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1092 * configure.ac: Bump version.
1093 * debian/changelog: Updates.
1095 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1097 Deprecation of the hildon_pannable_area_set_size_request_policy
1098 API, the only policy properly supported in gtk+ nowadays is the
1101 * src/hildon-pannable-area.c,
1102 (hildon_pannable_area_size_request): Added a workaround for the
1103 size_request to avoid the problems of huge pixmaps in case someone
1104 is still using the function.
1105 * src/hildon-pannable-area.h: Deprecated the enum with the
1108 Fixes: NB#110244 (Problems with the
1109 hildon_pannable_area_set_size_request_policy API)
1111 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1113 * src/hildon-pannable-area.c,
1114 (hildon_pannable_area_init),
1115 (hildon_pannable_area_size_request),
1116 (hildon_pannable_area_style_set),
1117 (hildon_pannable_draw_vscroll),
1118 (hildon_pannable_draw_hscroll),
1119 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1120 indicator_width to clarify the use of the attribute.
1122 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1127 * configure.ac: Bump version.
1128 * debian/changelog: Updates.
1130 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1132 * src/hildon-picker-dialog.c
1133 * src/hildon-touch-selector.c
1134 Reverting the change that tried to avoid the hardcoded height on
1135 the picker dialog, as causes problems on the hildon-touch-selector
1138 Fixes: NB#110029 (selectors not scrolling to selected value)
1140 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1142 * src/hildon-touch-selector.c: Fix typos
1144 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1146 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1147 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1148 request more motions after using it.
1150 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1152 * src/hildon-calendar.c (hildon_calendar_expose),
1153 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1154 Remove unused variables.
1156 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1158 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1159 variable assignment.
1161 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1163 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1164 Check the return value of gtk_tree_selection_get_selected()
1167 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1169 * src/hildon-animation-actor.c
1170 * src/hildon-button.c
1172 * src/hildon-pannable-area.c
1173 * src/hildon-picker-button.c
1174 * src/hildon-program.c
1175 * src/hildon-remote-texture.c
1176 * src/hildon-text-view.c
1177 * src/hildon-touch-selector.c
1178 * src/hildon-window-stack.c
1179 * src/hildon-window.c:
1180 Add missing 'Since: 2.2' tags.
1182 * doc/hildon-sections.txt:
1183 Add some missing symbols.
1185 * doc/hildon-docs.sgml:
1186 New 'Other' section for HildonAnimationActor and
1189 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1191 Patch by Iván Gómez (igomez@igalia.com)
1194 * doc/compiling.sgml
1195 * doc/hildon-docs.sgml
1196 * doc/hildon-sections.txt
1197 * doc/migration.sgml
1198 * doc/resources.sgml
1200 New chapters on using the Hildon library.
1201 Updated the general structure of the reference manual.
1202 Other minor documentation fixes.
1204 * src/hildon-calendar-popup.c
1205 * src/hildon-calendar.c
1206 * src/hildon-controlbar.c
1207 * src/hildon-date-editor.c
1208 * src/hildon-dialog.c
1209 * src/hildon-hvolumebar.c
1210 * src/hildon-number-editor.c
1211 * src/hildon-range-editor.c
1212 * src/hildon-sort-dialog.c
1213 * src/hildon-time-editor.c
1214 * src/hildon-time-picker.c
1215 * src/hildon-volumebar-range.c
1216 * src/hildon-volumebar.c
1217 * src/hildon-vvolumebar.c
1218 * src/hildon-weekday-picker.c:
1219 Add deprecation notes
1221 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1222 Document 'horizontal-movement' and 'vertical-movement' signals.
1224 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1229 * configure.ac: Bump version.
1230 * debian/changelog: Updates.
1232 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1234 * src/hildon-pannable-area.c,
1235 (hildon_pannable_area_class_init): increased the minimum velocity.
1236 (hildon_pannable_area_button_release_cb): Updated the
1237 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1238 setup. Review the code to control that last event.
1240 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1243 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1245 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1247 * src/hildon-get-password-dialog.c
1248 (hildon_get_password_set_property),
1249 (hildon_get_password_get_property), (create_contents):
1250 * src/hildon-login-dialog-private.h:
1251 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1252 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1253 (hildon_login_dialog_get_password):
1254 * src/hildon-set-password-dialog-private.h:
1255 * src/hildon-set-password-dialog.c
1256 (hildon_set_password_set_property),
1257 (hildon_set_password_get_property), (create_contents),
1258 (hildon_set_password_response_change),
1259 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1261 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1262 instead and look more Fremantle style.
1264 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1266 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1268 * doc/hildon-sections.txt
1269 * src/hildon-window-stack.h
1270 * src/hildon-window-stack.c
1271 (+hildon_window_stack_get_windows):
1272 New API to obtain the list of windows on a stack.
1274 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1276 * src/hildon-app-menu.c (hildon_app_menu_popup)
1277 (hildon_app_menu_class_init, -hildon_app_menu_show):
1278 Remove hildon_app_menu_show() and move all its checks to
1279 hildon_app_menu_popup()
1281 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1283 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1284 (_hildon_picker_dialog_set_selector): removed call to
1285 gtk_widget_set_size_request
1286 * src/hildon-touch-selector.c
1287 (_create_new_column): change the pannable size request policy
1289 Avoid to use a hardcoded height for the hildon picker dialog. In order
1290 to get that, we needed to change the hildon pannable size request
1292 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1294 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1296 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1297 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1300 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1302 * debian/control: Depend on osso-system-lock localization package.
1303 * src/hildon-code-dialog.c: Obtain the secu_application_title
1304 translation from osso-system-lock.
1305 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1306 for translation the atk related strings, that's not necessary.
1307 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1308 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1309 cancel button, it is not required.
1311 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1313 * src/hildon-pannable-area.c,
1314 (hildon_pannable_area_class_init): Modified the default value of
1315 the overshooting max speed, we have reduced it.
1317 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1319 * doc/hildon-sections.txt
1320 * src/hildon-window-private.h
1321 * src/hildon-window.h
1322 * src/hildon-window.c (hildon_window_class_init)
1323 (hildon_window_init, hildon_window_finalize)
1324 (hildon_window_realize, hildon_window_get_property)
1325 (hildon_window_set_property, hildon_window_update_markup)
1326 (hildon_window_get_markup, hildon_window_set_markup):
1327 New "markup" property and hildon_window_{get,set}_markup() methods.
1329 * examples/hildon-stackable-window-example.c (new_window):
1330 Update example to use hildon_window_set_markup()
1332 Fixes: NB#106375 (Need API to retitle a window with a title
1335 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1337 * src/hildon-pannable-area.c,
1338 (hildon_pannable_area_class_init): Changed the default value of
1339 the initial_hint to TRUE.
1340 (hildon_pannable_area_initial_effect): Changed the initial effect,
1341 not the effect is just the fade-out of the scrollbars.
1343 Fixes: NB#107775 (No scrollbars can be seen when several items are
1344 available in a dialog)
1346 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1348 * src/hildon-program.c (hildon_program_update_top_most):
1351 Fixes: NB#109179 (Memory leak in Hildon program)
1353 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1355 * src/hildon-banner.c (-get_current_app_window):
1356 Remove unused function.
1358 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1360 * src/hildon-pannable-area.c: Modified the documentation of the
1361 get adjustments functions to explain the problem of using the
1362 adjustment directly.
1363 (hildon_pannable_area_class_init): Improved the explanation about
1366 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1368 * src/hildon-app-menu-private.h
1369 * src/hildon-app-menu.c
1370 (hildon_app_menu_class_init):
1371 Bring back the 'external-border' style property
1372 (hildon_app_menu_class_init, hildon_app_menu_init)
1373 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1374 Set a fixed width-request for the menu, independent of the number
1377 Fixes: NB#94957 (Smoothly opened application menu)
1379 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1381 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1383 * src/hildon-banner.c
1384 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1386 Make sure that the banner is correctly placed the first time it's
1388 (hildon_banner_check_position, -check_fullscreen_state):
1389 Show the banner in the same place no matter if the window is in
1390 fullscreen mode or not.
1392 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1394 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1396 * src/hildon-touch-selector.c (_default_print_func): reorder
1397 concatenation for clarity.
1399 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1401 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1402 for multicolumn selectors.
1404 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1406 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1411 * configure.ac: Bump version.
1412 * debian/changelog: Updates.
1414 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1416 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1419 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1421 * configure.ac: removed libcangerra-gtk dependency
1422 * debian/control: removed libcanberra-gtk dependency
1423 * src/Makefile.am: removed libcanberra gtk related flags
1424 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1425 context, and manage a global canberra context instead
1427 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1429 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1431 Patch by Daniel Borgmann (danielb@openismus.com)
1433 * src/hildon-edit-toolbar.c:
1434 Adjust the left padding.
1435 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1436 Paint background of the edit toolbar.
1438 Fixes: NB#107897 (Patch to make editmodetoolbar background
1439 themeable and adjust margin)
1441 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1443 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1445 * src/hildon-program.c (hildon_program_update_top_most):
1446 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1448 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1449 change when the user tasks in/out of an application)
1451 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1453 * configure.ac: added libcangerra-gtk dependency
1454 * debian/control: added libcanberra-gtk dependency
1455 * src/Makefile.am: added libcanberra gtk related flags
1456 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1459 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1461 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1463 * src/hildon-program.c (hildon_program_remove_window)
1464 (hildon_program_add_window): Add checks for the window
1465 parameter. Don't decrease the window counter if the window is not
1468 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1470 * src/hildon-pannable-area.c,
1471 (hildon_pannable_area_realize): Fixed position of the event_window
1472 in the realize method.
1474 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1476 * src/hildon-app-menu-private.h
1477 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1478 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1479 (hildon_app_menu_key_press, hildon_app_menu_init)
1480 (hildon_app_menu_finalize):
1481 Make sure that all idle functions are removed when the widget is
1484 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1486 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1491 * configure.ac: Bump version.
1492 * debian/changelog: Updates.
1494 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1496 * src/hildon-entry.c
1497 (+hildon_entry_show_placeholder),
1498 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1499 that replace hildon_entry_update_contents().
1500 (hildon_entry_set_text),
1501 (hildon_entry_set_placeholder),
1502 (hildon_entry_focus_in_event),
1503 (hildon_entry_focus_out_event): Determine when it is needed
1504 either to show or hide the placeholder and call the above methods.
1506 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1507 when the placeholder text is already set)
1509 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1511 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1512 simple GdkPixbufAnim using the new icons for the banner.
1513 (hildon_banner_show_animation): Use the above mentioned method to
1514 create the animation widget.
1516 Fixes: NB#103564 (Make hildon animation banner use individual
1517 image files as the animation)
1519 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1521 * src/hildon-pannable-area.c,
1522 (hildon_pannable_leave_notify_event): Check if the child is NULL
1523 to avoid sending the leave.
1525 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1527 * src/hildon-pannable-area.c,
1528 (hildon_pannable_area_class_init),
1529 (hildon_pannable_leave_notify_event): Added a handler of the
1530 leave-notify-signal to consider when no motion notify before
1533 Fixes: NB#107494 (Items stay selected when clicking and moving
1534 away when inside pannable area)
1536 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1541 * configure.ac: Bump version.
1542 * debian/changelog: Updates.
1544 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1546 Patch by Alberto Garcia (agarcia@igalia.com)
1548 * src/hildon-date-button.c,
1549 (hildon_date_button_class_init),
1550 (hildon_date_button_init): Removed the construct property handling
1551 and created a default selector in the init method.
1552 * src/hildon-picker-button.c,
1553 (hildon_picker_button_class_init): Removed the construct flag of the
1556 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1558 * src/hildon-main.c (hildon_init):
1559 Don't allow hildon_init() to be called more than once.
1561 Fixes: NB#106607 (hildon_init should issue error message upon
1564 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1566 * examples/hildon-pannable-area-touch-list-example.c
1567 * examples/hildon-pannagle-area-touch-grid-example.c
1568 * examples/hildon-edit-toolbar-example.c
1569 * examples/hildon-touch-selector-multi-cells-example.c
1570 Removed the call to gtk_rc_parse_string, as it is not required since
1573 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1575 * src/hildon-pannable-area.c,
1576 (hildon_pannable_area_class_init): Modified the default panning
1577 threshold of the widget to 6px.
1579 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1580 than the threshold value ) within the button is not sending the
1583 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1585 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1586 for the treeview in the new column. This way, the touch list will never
1589 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1590 be selected manually for the HW keys to work)
1592 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1594 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1595 comparison instead of using strcmp(). Fixes a compiler warning as well.
1597 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1599 * doc/hildon-docs.sgml: Do not set the library version in the
1600 document title, use the releaseinfo tag for that purpose instead.
1602 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1604 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1605 Do not jump to the first item if the text in the entry is removed.
1607 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1612 * configure.ac: Bump version.
1613 * debian/changelog: Updates.
1615 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1617 * src/hildon-entry.c (hildon_entry_refresh_contents):
1618 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1619 Use "ReversedSecondaryTextColor" for the placeholder text.
1621 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1623 * src/hildon-text-view.c: Fix compilation warning.
1625 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1627 * src/hildon-button.c (hildon_button_class_init): Don't make
1628 "title" and "value" construction properties, to prevent them from
1629 overwriting labels set from derived classes.
1631 * src/hildon-picker-button.c
1632 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1633 (hildon_picker_button_class_init): Make touch-selector a
1634 construction property.
1636 * src/hildon-date-button.c (hildon_date_button_class_init)
1637 (+hildon_date_button_constructed): Add a default date selector if
1640 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1642 * src/hildon-touch-selector.c: Small documentation fixes.
1644 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1646 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1648 * src/hildon-entry.c (hildon_entry_refresh_contents),
1649 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1650 widget name, set the logical color directly instead and a boolean
1651 showing_placeholder instead.
1652 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1653 use the widget name here either.
1655 Fixes: NB#105678 (HildonTextView should use logical colours
1656 instead of setting widget name)
1658 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1660 Patch by Daniel Elster (danielk@openismus.com)
1662 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1663 Add user_data parameter.
1664 (hildon_touch_selector_set_print_func_full): New function akin
1665 hildon_touch_selector_set_print_func() but with support for user
1666 data and a destroy callback.
1667 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1668 to clean up the print function user data.
1669 (hildon_touch_selector_class_init): Install dispose function.
1670 (HildonTouchSelectorPrivate::print_user_data),
1671 (HildonTouchSelectorPrivate::print_destroy_func): New private
1673 (hildon_touch_selector_init): Initialize new private members.
1674 (hildon_touch_selector_get_current_text): Pass along user data
1675 to the print function.
1676 (_default_print_func): Add dummy user_data to parameter list.
1677 * hildon-date-selector.c (_custom_print_func): ditto,
1678 * hildon-time-selector.c (_custom_print_func): ditto,
1679 * hildon-touch-selector-entry.c
1680 (hildon_touch_selector_entry_print_func): ditto.
1682 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1684 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1686 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1688 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1690 * src/hildon-pannable-area.c,
1691 (hildon_pannable_area_init),
1692 (hildon_pannable_area_button_press_cb),
1693 (hildon_pannable_area_motion_notify_cb): We have added code to
1694 handle the leave and enter events when using the motion events.
1696 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1698 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1700 * src/hildon-date-button.c (hildon_date_button_get_date)
1701 (hildon_date_button_set_date): Make sure that the button has a
1704 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1706 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1708 * src/hildon-pannable-area.c,
1709 (hildon_pannable_area_class_init),
1710 (hildon_pannable_area_calculate_velocity): Modify the use of the
1711 force and adapt the value.
1713 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1715 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1716 (hildon_app_menu_class_init): Hide the menu if it receives a
1717 delete-event, but don't destroy it
1719 Fixes: NB#104485 (Not able to address the call when application
1720 menu is opened at background)
1722 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1724 * src/hildon-app-menu.c
1725 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1726 Remove the "external-border" style property, let the menu take its
1727 natural size (or the one set by the window manager)
1728 (hildon_app_menu_repack_items):
1729 Don't reshow the menu, avoid flickers.
1731 Partially fixes NB#94957 (Smoothly opened application menu)
1733 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1738 * configure.ac: Bump version.
1739 * debian/changelog: Updates.
1741 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1743 * src/hildon-pannable-area.c,
1744 (hildon_pannable_area_motion_notify_cb): We control that the
1745 direction error margin is used just in case the movement is
1746 allowed in the other direction.
1748 Fixes: NB#105012 (buttons inside a pannable area not getting
1749 release event when dragging/releasing)
1751 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1753 * src/hildon-pannable-area.c,
1754 (hildon_pannable_area_class_init),
1755 (hildon_pannable_area_get_property),
1756 (hildon_pannable_area_set_property),
1757 (hildon_pannable_area_initial_effect),
1758 (hildon_pannable_axis_scroll),
1759 (hildon_pannable_area_button_release_cb): Reviewed the
1760 overshooting effect, now it has its own max
1761 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1762 speed when bouncing.
1764 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1769 * configure.ac: Bump version.
1770 * debian/changelog: Updates.
1772 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1774 * src/hildon-pannable-area.c,
1775 (hildon_pannable_area_class_init): Changed the max speed, now
1776 users can launch the widget very fast. Reduced the default force,
1777 that way it is easier to control the launch speed.
1779 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1781 * src/hildon-pannable-area.c,
1782 (hildon_pannable_area_button_release_cb): Removed this check
1783 because it causes problems when the device is overloaded.
1785 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1787 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1788 add a current_text field to store the text entered in the
1789 touch selector entry.
1790 (_clean_current_selection): clean up the current text as well.
1791 (_save_current_selection), (_restore_current_selection):
1792 Save/restore the text in the entry if the selector is a
1793 HildonTouchSelectorEntry.
1795 Fixes: NB#102541 (value entered in the touch selector entry is not
1796 shown when opened for second time)
1798 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1800 * doc/hildon-sections.txt:
1801 * src/hildon-touch-selector-entry.c
1802 (+hildon_touch_selector_entry_get_entry):
1803 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1805 Fixes: NB#104815 (I need accessor to the entry inside
1806 HildonTouchSelectorEntry)
1808 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1810 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1811 (hildon_app_menu_class_init):
1812 New "filter-vertical-spacing" style property.
1814 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1816 * src/hildon-find-toolbar.c
1817 (hildon_find_toolbar_emit_close)
1818 (hildon_find_toolbar_emit_invalid_input)
1819 (hildon_find_toolbar_entry_activate):
1820 Use g_signal_emit() instead of g_signal_emit_by_name()
1822 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1824 Patch by Mox Soini (ext-mox.soini@nokia.com)
1826 * tests/TEST-CASES.txt
1827 * tests/check-hildon-banner.c
1828 * tests/check-hildon-note.c
1829 * src/hildon-banner.c
1830 * src/hildon-code-dialog.c
1831 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1832 * src/hildon-time-editor.c
1833 * examples/hildon-lookup-example.c (main):
1834 Replace obsolete icon names with new ones.
1836 * src/hildon-find-toolbar-private.h:
1837 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1838 (-hildon_find_toolbar_emit_search):
1839 Remove find button and change icon of close button.
1841 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1843 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1845 * src/hildon-time-button.c (hildon_time_button_new_step):
1846 Use the "touch-selector" property to set the selector directly
1847 when creating the object.
1849 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1851 Added a new example application that allows tuning the pannable
1852 area and replaced defines with properties in order to simplify the
1853 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1854 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1855 PROP_DIRECTION_ERROR_MARGIN.
1857 * examples/hildon-pannable-area-tuning-example.c: New example
1859 * src/hildon-pannable-area.c,
1860 (hildon_pannable_area_class_init),
1861 (hildon_pannable_area_init),
1862 (hildon_pannable_area_get_property),
1863 (hildon_pannable_area_set_property),
1864 (hildon_pannable_area_launch_fade_timeout),
1865 (hildon_pannable_area_adjust_value_changed),
1866 (hildon_pannable_axis_scroll),
1867 (hildon_pannable_area_motion_notify_cb),
1868 (hildon_pannable_area_scroll_cb),
1869 (hildon_pannable_area_button_release_cb): We have converted some
1870 of the defines that control the widget to properties to simplify
1873 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1875 * src/hildon-app-menu.c (hildon_app_menu_map)
1876 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1877 so it's closed if a new window appears.
1879 Fixes: NB#104485 (Not able to address the call when application
1880 menu is opened at background)
1882 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1884 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1885 missing 'break' statement in in 'case' construct to avoid
1888 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1890 * src/hildon-touch-selector-entry.c
1891 (hildon_touch_selector_entry_get_property),
1892 (hildon_touch_selector_entry_set_property): Add missing 'break'
1893 statements in in 'case' constructs to avoid incorrect warnings.
1895 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1897 * src/hildon-time-editor.c
1898 (hildon_time_editor_get_time_separators): Do not crash if
1899 the first label is NULL.
1901 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1903 * src/hildon-date-selector.c (_month_days): Check for month to be
1904 strictly less than 12, since otherwise we may overrun the array.
1906 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1908 * src/hildon-date-button.c (+hildon_date_button_new_full)
1909 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1910 (hildon_date_button_init): Set the date selector using a
1911 construction property, to make it happen after HildonButton's
1912 "value" property is set.
1914 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1915 current date by default)
1917 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1919 * doc/hildon-sections.txt
1920 * src/hildon-program.c
1921 * src/hildon-stackable-window.c
1922 * src/hildon-window.c:
1923 Documentation updates
1925 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1927 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1928 (hildon_window_stack_new, +hildon_window_stack_set_property)
1929 (+hildon_window_stack_get_property)
1930 (hildon_window_stack_class_init)
1931 (+hildon_window_stack_set_window_group)
1932 (+hildon_window_stack_get_window_group):
1933 Make the window group a construction property.
1935 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1937 * doc/hildon-sections.txt
1938 * src/hildon-stackable-window-private.h
1939 * src/hildon-stackable-window.h
1940 * src/hildon-stackable-window.c
1941 (-hildon_stackable_window_set_app_menu)
1942 (-hildon_stackable_window_get_app_menu)
1943 (-hildon_stackable_window_toggle_menu)
1944 (-hildon_stackable_window_finalize)
1945 (hildon_stackable_window_class_init)
1946 (hildon_stackable_window_init)
1947 * src/hildon-window-private.h
1948 * src/hildon-window.h
1949 * src/hildon-window.c (hildon_window_init)
1950 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1951 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1952 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1953 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1954 Moved all HildonAppMenu code to HildonWindow. The menu does not
1955 require a HildonStackableWindow anymore.
1957 * src/hildon-app-menu.c
1958 * src/hildon-program.c
1959 * examples/hildon-app-menu-example.c (main):
1960 Update examples and documentation to reflect HildonAppMenu
1963 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1965 * src/hildon-remote-texture.c
1966 * src/hildon-animation-actor.c:
1967 Don't include unused private headers.
1969 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1971 * src/hildon-program-private.h
1972 * src/hildon-program.c
1973 (hildon_program_set_common_menu)
1974 (hildon_program_get_common_menu)
1975 (hildon_program_set_common_app_menu)
1976 (hildon_program_get_common_app_menu):
1977 Change common menu pointers from GtkWidget* to GtkMenu* and
1978 HildonAppMenu* to avoid unnecessary casts.
1980 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1982 * src/hildon-window.c (hildon_window_set_main_menu):
1983 Removed incorrect 'Since:' tag
1985 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1987 * src/hildon-pannable-area.c,
1988 (hildon_pannable_area_calculate_velocity): We use now the
1989 RATIO_TOLERANCE here to check the distance, fixed typo in the
1991 (hildon_pannable_area_motion_notify_cb): We have to set the type
1992 and time even if we are not sending the motion.
1994 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1996 * doc/hildon-sections.txt
1997 * src/hildon-app-menu.h
1998 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1999 (+hildon_app_menu_get_filters): New methods to get the contents of
2002 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2005 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2007 * src/hildon-app-menu.c (hildon_app_menu_popup):
2010 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2012 * src/hildon-window.h
2013 * src/hildon-window.c (+hildon_window_get_main_menu)
2014 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2015 and deprecated hildon_window_get_menu().
2017 * src/hildon-stackable-window.h
2018 * src/hildon-stackable-window.c
2019 (+hildon_stackable_window_set_app_menu)
2020 (+hildon_stackable_window_get_app_menu)
2021 (hildon_stackable_window_set_main_menu): Created
2022 hildon_stackable_window_{get,set}_app_menu() and deprecated
2023 hildon_stackable_window_set_main_menu().
2025 * doc/hildon-sections.txt
2026 * examples/hildon-app-menu-example.c (main)
2027 * src/hildon-app-menu.c
2028 * src/hildon-program.c:
2029 Updated examples and documentation.
2031 Fixes: NB#103758 (No way to obtain a menu from a
2032 HildonStackableWindow)
2034 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2039 * configure.ac: Bump version.
2040 * debian/changelog: Updates.
2042 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2044 * examples/hildon-remote-texture-example.c: Include
2045 hildon-remote-texture.h explicitely.
2046 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2047 applications not defining _XOPEN_SOURCE which don't require this header.
2049 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2051 * doc/hildon-sections.txt
2052 * src/hildon-app-menu.h
2053 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2054 New function to pop up a HildonAppMenu
2056 * src/hildon-stackable-window.c
2057 (hildon_stackable_window_toggle_menu):
2058 Use hildon_app_menu_popup() to show the menu.
2060 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2062 * src/hildon-app-menu.c (hildon_app_menu_show)
2063 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2064 menu if there's another window between it and its parent window.
2066 Fixes: NB#100468 (Application menu window is launched even when a
2067 new secondary-window/dialog is pending to be shown/realized)
2069 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2071 * src/hildon-window-stack.c (hildon_window_stack_push)
2072 (hildon_window_stack_pop_and_push):
2073 Don't forget to push/pop the first window.
2074 Reverse the window list before calling _push_list()
2076 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2078 * src/hildon-picker-button.h
2079 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2080 Remove "value_changed" slot to avoid ABI breakage
2082 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2084 * src/hildon-pannable-area.c,
2085 (hildon_pannable_area_realize),
2086 (hildon_pannable_area_unrealize),
2087 (hildon_pannable_draw_vscroll),
2088 (hildon_pannable_draw_hscroll): Changed the method to handle the
2089 GC used to draw the transparent scrollbar, this way we avoid
2090 creating the GC all the time when drawing the scrollbars.
2092 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2094 * src/hildon-pannable-area.c,
2095 (hildon_pannable_area_init),
2096 (hildon_pannable_area_remove): Removed some unnecessary casts.
2097 (hildon_pannable_area_dispose): Disconnected some signals before
2098 releasing the adjustments.
2100 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2102 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2103 Make sure that all widgets contained in the toolbar are shown.
2105 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2107 * doc/hildon-sections.txt
2108 * src/hildon-picker-button.h
2109 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2110 (_selection_changed, hildon_picker_button_on_dialog_response)
2111 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2112 New hildon_picker_button_value_changed() method.
2115 * src/hildon-picker-button-private.h
2116 * src/hildon-picker-button.c (hildon_picker_button_init)
2117 (+hildon_picker_button_disable_value_changed): Add protected
2118 function for disabling the "value-changed" signal.
2120 * src/hildon-date-button.c (hildon_date_button_set_date):
2121 Don't emit "value-changed" for each one of the three columns.
2123 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2124 before actual change of values)
2126 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2128 * src/hildon-pannable-area.c,
2129 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2130 for the treeview overshooting.
2132 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2134 * src/hildon-banner.c (+hildon_banner_bind_style):
2135 Renamed from hildon_banner_bind_label_style(), now naming the
2136 banner itself as well.
2137 (hildon_banner_show_information),
2138 (hildon_banner_show_information_with_markup),
2139 (hildon_banner_show_animation), (hildon_banner_show_progress):
2140 Name the widgets and labels, based on their type.
2142 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2145 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2147 * src/hildon-note.c (hildon_note_set_property): call
2148 hildon_note_rename() on HildonNote:note-type set.
2149 (hildon_note_rename): Name the note and its label, based on the
2150 HildonNote:note-type property.
2152 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2155 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2157 * src/hildon-pannable-area.c,
2158 (hildon_pannable_area_class_init),
2159 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2160 panning parameters, increased SPS and deceleration factor. Added
2161 also a margin to control fake directions.
2163 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2165 Patch by Sven Herzberg (sven@imendio.com)
2167 * configure.ac: Add missing AM_PROG_CC_C_0
2168 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2170 See NB#101420 (Update unit tests and fix make check)
2172 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2174 This patch was applied before but reverted because it caused
2175 problems, we have changed the main condition and tested the
2176 regressions we detected before and they work ok. We have done a
2177 complete review of the topmost algorithm in order to get a more
2180 * src/hildon-pannable-area.c,
2181 (hildon_pannable_area_get_topmost): Added a new parameter to
2182 filter the the windows that do not include those events.
2183 (hildon_pannable_area_button_press_cb),
2184 (hildon_pannable_area_button_release_cb),
2185 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2186 topmost function, we have added the new parameter.
2188 Fixes: NB#97458 (Pannable area prevents propagation of button
2191 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2193 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2194 if all columns in the selector have an item selected.
2195 (_on_dialog_response): Stop "response" signal emission if there is
2196 any selector column without selected items.
2198 Fixes: NB#101889 (Picker dialog should not close when nothing is
2199 selected in multiple selection list)
2201 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2203 * src/hildon-font-selection-dialog.c
2204 (hildon_font_selection_dialog_class_init),
2205 (hildon_font_selection_dialog_init): Remove the preview
2206 button and dialog, since previewing with default theming is likely
2207 to be overcomplicated. The :preview property has now no effect.
2208 Update documentation blurbs to inform about this.
2210 Fixes: NB#92297 (Preview content is not clearly visible for
2211 default colour text)
2213 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2215 Reviewed the geometry that handles the children size and
2216 scrollbar, now it tries a size and reviews the results depending
2217 on the scrollbars visibility.
2219 * src/hildon-pannable-area.c,
2220 (hildon_pannable_area_realize): Fixed a typo.
2221 (hildon_pannable_area_child_allocate_calculate): Added this
2222 function to calculate the child allocation.
2223 (hildon_pannable_area_size_allocate): Reviewed the allocation
2225 (hildon_pannable_area_check_scrollbars),
2226 (hildon_pannable_area_refresh): Refactored refresh function, this
2227 way we can call the code handling the scrollbars without causing a
2228 size_request, it is interesting in the allocate.
2229 (hildon_pannable_area_init): Replace the callbacks of the
2230 value_changed and changed signals to propertly deal with the
2232 (hildon_pannable_area_grab_notify),
2233 (hildon_pannable_area_initial_effect),
2234 (hildon_pannable_area_launch_fade_timeout),
2235 (hildon_pannable_area_adjust_changed),
2236 (hildon_pannable_area_adjust_value_changed),
2237 (hildon_pannable_area_redraw),
2238 (hildon_pannable_area_button_press_cb),
2239 (hildon_pannable_area_button_release_cb),
2240 (hildon_pannable_area_scroll_cb),
2241 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2242 code and use the new functions adjust_changed and
2243 adjust_value_changed.
2245 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2246 Contact editor dialog)
2248 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2253 * configure.ac: Bump version.
2254 * debian/changelog: Updates.
2256 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2258 * src/hildon-pannable-area.c,
2259 (hildon_pannable_area_get_topmost),
2260 (hildon_pannable_area_button_press_cb),
2261 (hildon_pannable_area_button_release_cb),
2262 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2263 topmost function adding the event mask. We have to try a
2264 differente approach because it is still causing problems (NB#9745,
2267 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2269 * src/hildon-banner.c:
2270 Update the maximum width of timed banners.
2271 (force_to_wrap_truncated): Enforce the maximum text width if the
2274 Fixes: NB#102413 (The text margins (wrapping) in information
2275 banner should be HILDON_MARGIN_TRIPLE)
2277 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2279 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2281 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2282 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2283 bound when calculating the scroll indicator position.
2285 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2286 treat ->lower correctly)
2288 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2290 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2291 expose event handling, since it is not necessary to draw the focus
2294 Fixes: NB#102467 (Do not show highlight on the text in
2297 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2299 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2300 full height of the toolbar for the button and the label.
2302 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2304 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2305 padding before the label and after the button.
2307 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2309 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2311 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2312 Add a GtkVSeparator between the button and the back arrow.
2313 Let the button have automatic size.
2314 Set a name to the widget for theming handling.
2316 Fixes: NB#101793 (Make edit toolbar the same height as window
2317 title bar (use title area theming))
2319 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2321 * src/hildon-helper.c (attach_new_color_element): Fix memory
2324 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2326 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2328 * examples/hildon-button-example.c (common_buttons_window): Don't
2331 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2333 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2334 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2336 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2338 * src/hildon-gtk.c: Check that the window is realized.
2340 Fixes: NB#102225 (Crash setting the progress indicator to a non
2343 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2345 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2346 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2347 instead of modifying the one in the widget style.
2349 Fixes: NB#101043 (Second row of all the command button are
2350 displayed in transparent mode.)
2352 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2354 * src/hildon-date-button.c
2355 * src/hildon-time-button.c: Add gettext macros
2357 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2359 * src/hildon-date-button.c (hildon_date_button_new):
2360 * src/hildon-time-button.c (hildon_time_button_new_step):
2361 Use new logical strings to set the button default title.
2363 Fixes: NB#99915 (Date and Time options are not localised in Date
2366 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2368 * src/hildon-pannable-area.c
2369 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2370 the PANNING_THRESHOLD.
2372 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2374 * src/hildon-pannable-area.c,
2375 (hildon_pannable_area_class_init): Increased the maximum speed.
2376 (hildon_pannable_area_get_property),
2377 (hildon_pannable_area_set_property),
2378 (hildon_pannable_area_timeout): Added a new low friction mode, it
2379 allows the user avoid friction when launching the widget fast
2380 enough. It is interesting to traverse long lists.
2382 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2384 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2385 (+hildon_stackable_window_delete_event): Ignore delete events if
2386 the window is not the topmost one.
2388 Fixes: NB#101698 (Back button long press and delete-event handling)
2390 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2392 * src/hildon-pannable-area.c,
2393 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2394 gtk-dnd-drag-threshold, it was too big. We have defined our own
2395 dnd define and set a smaller value: PANNIG_THRESHOLD.
2397 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2399 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2400 user-defined icons, use always the default one.
2402 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2404 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2406 This patch was applied before but reverted because it caused
2407 problems, we have changed the main condition and tested the
2408 regressions we detected before and they work ok.
2410 * src/hildon-pannable-area.c,
2411 (hildon_pannable_area_get_topmost): Added a new parameter to
2412 filter the the windows that do not include those events. Added
2413 also a condition when finding the window to filter windows that do
2414 not ask for those events.
2415 (hildon_pannable_area_button_press_cb),
2416 (hildon_pannable_area_button_release_cb),
2417 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2418 topmost function, we have added the new parameter.
2420 Fixes: NB#97458 (Pannable area prevents propagation of button
2423 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2425 * tests/check-hildon-color-button.c (START_TEST): do not leak
2428 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2430 * src/hildon-font-selection-dialog.c
2431 (hildon_font_selection_dialog_get_preview_text): Return NULL
2432 instead of FALSE on the g_return_val_if_fail().
2434 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2436 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2437 * src/hildon-date-selector.c
2438 (hildon_date_selector_select_current_date):
2439 Do not compare unsigned integers to be greater than or equal 0,
2440 because it's always TRUE.
2442 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2444 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2445 (hildon_date_selector_constructor): Do not select the current
2446 date until we are handle the "changed" signal, to avoid having bogus
2447 elements in the days model.
2449 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2451 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2452 for num_days, since _month_days() can return a negative value.
2454 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2456 * src/hildon-caption.c (hildon_caption_size_allocate):
2457 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2458 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2460 Initialize allocation variables to 0, to avoid eventually using
2461 unitialized variables.
2463 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2465 * src/hildon-bread-crumb-trail.c
2466 (hildon_bread_crumb_trail_size_allocate):
2467 * src/hildon-calendar.c (hildon_calendar_set_background):
2468 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2469 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2470 * src/hildon-seekbar.c (hildon_seekbar_init):
2471 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2472 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2473 * src/hildon-touch-selector-entry.c
2474 (hildon_touch_selector_get_text_from_model):
2475 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2476 * src/hildon-window.c (hildon_window_finalize):
2478 Remove many unused variables.
2480 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2482 * src/hildon-seekbar.c: (hildon_seekbar_init),
2483 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2485 Remove unnecessary g_assert() calls.
2487 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2489 * src/hildon-caption.c: (hildon_caption_expose),
2490 (hildon_caption_set_property), (hildon_caption_init),
2491 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2492 (hildon_caption_size_request), (hildon_caption_size_allocate),
2493 (hildon_caption_forall), (hildon_caption_set_separator),
2494 (hildon_caption_activate), (hildon_caption_set_child_expand),
2495 (hildon_caption_set_label_text),
2496 (hildon_caption_get_label_alignment):
2498 Remove unnecessary g_assert() calls.
2500 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2502 * src/hildon-banner.c
2503 (hildon_banner_map, hildon_banner_init): Make banner temporary
2504 before mapping it to avoid closing other temporary windows, but
2505 make it non-temporary afterwards to avoid being closed by other
2506 non-temporary windows.
2507 (-hildon_banner_client_event, hildon_banner_init):
2508 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2510 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2513 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2515 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2518 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2520 * src/hildon-remote-texture.c
2521 * src/hildon-remote-texture.h
2522 * src/hildon-remote-texture-private.h
2523 * examples/hildon-remote-texture-example.c:
2524 Updates/fixes to remote-texture and its example.
2526 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2528 Patch by Mox Soini (ext-mox.soini@nokia.com)
2530 * src/hildon-code-dialog.c: Update logical id.
2531 * src/hildon-set-password-dialog.c: Update logical id.
2533 Fixes: NB#100646 (Logical strings is shown for ok in set
2534 password,Password needed dialogs)
2536 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2539 * src/hildon-remote-texture.c
2540 * src/hildon-remote-texture.h
2541 * src/hildon-remote-texture-private.h
2543 Added remote texture widget (for Clutter shared memory textures)
2545 * examples/hildon-remote-texture-example.c
2546 * examples/Makefile.am
2547 Added example file for remote texture usage
2549 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2551 * configure.ac: post release version bump.
2552 * debian/changelog: version bump.
2554 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2559 * configure.ac: Bump version.
2560 * debian/changelog: Updates.
2562 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2564 * src/hildon-date-selector.c (hildon_date_selector_init)
2565 (hildon_date_selector_constructor): Don't connect to the "changed"
2566 signal until the selector is completely constructed.
2568 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2570 * src/hildon-touch-selector.c: (_create_new_column),
2571 (hildon_touch_selector_append_column),
2572 (hildon_touch_selector_set_column_selection_mode),
2573 (hildon_touch_selector_set_active),
2574 (hildon_touch_selector_select_iter):
2575 Emit the HildonTouchSelector::changed signal every time selection
2576 is changed in any of the methods above. This behavior was already
2577 documented but not fully functional.
2579 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2580 selection is programmatically changed)
2582 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2584 * doc/hildon-sections.txt: Remove obsolete icon
2585 sizes from here as well.
2587 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2589 * examples/hildon-stackable-window-example.c (add_window): Remove
2592 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2594 * src/hildon-app-menu.c
2595 (hildon_app_menu_show): Check whether the parent window of a menu
2596 is topmost before popping it up.
2598 Fixes: NB#100468 (Application menu window is launched even when a
2599 new secondary-window/dialog is pending to be shown/realized.)
2601 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2603 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2606 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2608 Patch by Mox Soini (ext-mox.soini@nokia.com)
2610 * src/hildon-banner.c: (hildon_banner_show_animation):
2611 use stylus size instead of obsolete note size.
2612 * src/hildon-defines.h: Update icon sizes.
2614 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2616 * src/hildon-touch-selector-entry.c:
2617 (hildon_touch_selector_entry_init): Disable unsupported
2619 (hildon_touch_selector_entry_get_text_column): Emit a warning
2620 if an unsupported input modes is used and explicitile state
2621 these modes in the documentation.
2623 Fixes: NB#99802 (Hildon touch selector entry not working properly
2624 for some of the input modes)
2626 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2628 * src/hildon-pannable-area.c,
2629 (hildon_pannable_area_init): Added the changed signal handlers of
2632 Fixes: NB#100320 (HildonPannableArea does not listen to
2633 GtkAdjustment "change" signals)
2635 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2637 * doc/hildon-sections.txt
2638 * src/hildon-window-private.h
2639 * src/hildon-window.h
2640 * src/hildon-window.c (hildon_window_init)
2641 (hildon_window_realize, hildon_window_unrealize)
2642 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2643 (hildon_window_size_request, hildon_window_size_allocate)
2644 (hildon_window_forall, hildon_window_show_all)
2645 (hildon_window_destroy, +paint_edit_toolbar)
2646 (+hildon_window_set_edit_toolbar):
2647 New hildon_window_set_edit_toolbar() method, to add a
2648 HildonEditToolbar to a window without having to pack it manually.
2650 Reorganize hildon_window_size_allocate()
2652 * src/hildon-edit-toolbar.c: Update documentation.
2654 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2655 example to use the new API.
2657 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2659 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2661 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2662 Remove from stack before calling parent's hide.
2664 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2666 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2667 window is removed from the middle of the stack, update the
2668 transiency of the previous one.
2670 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2673 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2675 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2676 block/unblock the signal handler if it's not actually being used.
2677 Fixes some critical warnings.
2679 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2681 Based on a patch by Iván Gómez (igomez@igalia.com)
2683 * src/hildon-banner.c
2687 * src/hildon-pannable-area.c
2688 * src/hildon-picker-dialog.c
2689 * src/hildon-wizard-dialog.h
2690 * src/hildon-wizard-dialog.c: Documentation updates.
2692 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2693 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2695 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2697 * configure.ac: post release version bump.
2698 * debian/changelog: version bump.
2700 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2705 * configure.ac: Bump version.
2706 * debian/changelog: Updates.
2708 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2710 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2711 a stock icon nor change the relief of the back arrow.
2713 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2714 graphics from theme)
2716 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2718 * src/hildon-button.c (hildon_button_set_alignment): Use
2719 priv->alignment if the button has no child yet.
2721 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2723 * src/hildon-button.c: (hildon_button_init): Set the
2724 button style during initialization to give it the proper
2727 Fixes: NB#99713 (HildonButton value label color is wrong)
2729 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2731 * src/hildon-touch-selector.c: Document
2732 hildon_touch_selector_center_on_selected()
2734 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2736 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2737 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2738 all menu items, but not the menu itself.
2739 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2740 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2741 items after adding them to the menu so keyboard accelerators work.
2742 (hildon_app_menu_show): Don't show the menu if it contains items
2743 but none of them are visible.
2745 * examples/hildon-app-menu-example.c (create_menu): Use
2746 gtk_widget_show_all() to show all menu items.
2748 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2750 * src/hildon-picker-dialog.c:
2751 (-_update_title_on_selector_changed_cb),
2752 (-_dialog_update_title): Removed.
2753 (_select_on_selector_changed_cb), (_on_dialog_response),
2754 (on_selector_columns_changed): Do not update the dialog title.
2755 (setup_interaction_mode): Do not connect to
2756 HildonTouchSelector::changed signal if there's a "done" button, as
2757 the dialog title doesn't need to be updated.
2759 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2762 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2764 Patch by Kristian Rietveld (kris@imendio.com)
2766 * src/hildon-touch-selector.c: (_create_new_column): Use new
2767 GtkTreeView::hildon-row-tapped signal to react to user interactions
2768 instead of ::changed.
2770 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2771 with some dynamic tree model)
2773 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2775 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2776 (+screen_size_changed, +label_size_request)
2777 (hildon_note_class_init): Make the Hildon information note have a
2778 minimum height, and make its text hvae a maximum width.
2780 Fixes: NB#98614 (Hildon information note (background) should have
2781 minimum height and maximum text width)
2783 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2785 * src/hildon-banner.h
2786 * src/hildon-banner.c (hildon_banner_show_information)
2787 (hildon_banner_show_informationf)
2788 (hildon_banner_show_information_with_markup): Update documentation
2789 to reflect that the icon_name parameter is not used anymore.
2790 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2791 Remove all code from these functions and mark them as deprecated.
2792 (hildon_banner_show_progress): Mark as deprecated.
2794 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2796 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2798 * src/hildon-pannable-area.c,
2799 (hildon_pannable_area_class_init),
2800 (tranparency_color),
2801 (hildon_pannable_draw_vscroll),
2802 (hildon_pannable_draw_hscroll),
2803 (hildon_pannable_area_expose_event): Added a new way to render the
2804 scrollbars of the pannable area avoiding using cairo at all. This
2805 way we improve the performance of the pannable area rendering. The
2806 cairo rendering procedure is still in the code, we can control
2807 which one to use changing the value of the define
2808 USE_CAIRO_SCROLLBARS.
2810 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2812 * configure.ac: post release version bump.
2813 * debian/changelog: version bump.
2815 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2820 * configure.ac: Bump version.
2821 * debian/changelog: Updates.
2823 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2825 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2826 banners instead of destroying them when they receive a button
2829 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2831 Reverted commit 34028, it was causing regressions, probably the
2832 topmost condition is not correct, we have to check it in more
2833 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2834 propagation of button press events)
2836 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2838 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2839 that the selection is not empty before attempting to retrieve the
2840 current ampm selection.
2842 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2844 * src/hildon-picker-button.c:
2845 (hildon_picker_button_on_dialog_response): Directly update the
2846 button contents when required instead of calling _selection_changed.
2848 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2850 * src/hildon-program.c (hildon_program_update_top_most): Update
2851 'is-topmost' property also when wm_hints is not set.
2853 Fixes: NB#98383 (is-topmost signal is not emitted when task
2854 switcher is clicked.)
2856 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2858 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2862 * src/hildon-animation-actor.c,
2863 * src/hildon-animation-actor.h: Added the animation actor class,
2864 this widget represents an animation actor for WM-assisted
2865 animation effects in the Hildon framework.
2867 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2869 * src/hildon-window-stack-private.h
2870 * src/hildon-window-stack.c
2871 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2872 Avoid calling gtk_widget_show() again indirectly from
2873 hildon_stackable_window_show()
2875 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2877 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2880 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2882 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2883 (hildon_time_selector_init): Move the construction of the hours and
2884 ampm columns to the constructor to preserve the order the columns
2887 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2889 * src/hildon-picker-dialog.c:
2890 (hildon_picker_dialog_class_init): Connect a realize method.
2891 (+hildon_picker_dialog_realize): Setup the interaction mode here
2893 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2894 yet, do it during the realize instead.
2895 (_on_dialog_response):
2896 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2897 if the widget is not realized, to avoid the dialog response before it
2900 Avoid premature responses in the HildonPickerDialog that can cause it
2901 to be hidden before it's even shown.
2903 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2905 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2906 (on_selector_columns_changed), (requires_done_button),
2907 (+prepare_action_area), (setup_interaction_mode),
2908 (_hildon_picker_dialog_set_selector):
2910 Split the interaction mode setup into preparation of the
2911 action area (prepare_action_area()) and the connection of
2912 the signals in setup_interaction_mode() and update the code to
2915 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2917 * src/hildon-pannable-area.c,
2918 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2919 per second to 15, we will check if this is ok regarding
2922 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2924 * src/hildon-pannable-area.c,
2925 (hildon_pannable_axis_scroll): Avoid resize if we already have
2926 reached overshoot_max.
2928 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2930 * src/hildon-pannable-area.c,
2931 (hildon_pannable_area_init),
2932 (hildon_pannable_area_realize),
2933 (hildon_pannable_area_size_allocate),
2934 (hildon_pannable_area_map),
2935 (hildon_pannable_area_unmap),
2936 (hildon_pannable_draw_vscroll),
2937 (hildon_pannable_draw_hscroll),
2938 (hildon_pannable_area_expose_event),
2939 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2940 pannable are to avoid the expose events go to the window and
2941 redraw the window. We save this way that part of the stack and the
2942 paint_boxes. We had to change the positions of the elements when
2945 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2947 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2948 * src/hildon-color-chooser-dialog.c:
2949 (hildon_color_chooser_dialog_init):
2950 * src/hildon-font-selection-dialog.c:
2951 (hildon_font_selection_dialog_init),
2952 (hildon_font_selection_dialog_show_preview):
2953 * src/hildon-get-password-dialog.c:
2954 * src/hildon-login-dialog.c:
2955 * src/hildon-set-password-dialog.c:
2956 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2957 * src/hildon-time-picker.c: (hildon_time_picker_init):
2959 Remove obsolete logical string IDs and update to the appropriate ones.
2961 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2963 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2965 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2966 that happens if the window hasn't been realized yet.
2968 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2969 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2971 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2973 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2974 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2977 Fixes: NB#98537 (Device hangs in account settings dialog)
2979 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2981 * configure.ac: post release version bump.
2982 * debian/changelog: version bump
2984 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2989 * configure.ac: Bump version.
2990 * debian/changelog: Updates.
2992 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2994 Added a new function to the HildonTimeButton widget that allows to
2995 change the step of the minutes in the selector associated with the
2996 button: hildon_time_button_new_step
2998 * src/hildon-time-button.c,
2999 (hildon_time_button_init),
3000 (hildon_time_button_new),
3001 (hildon_time_button_new_step):
3002 * src/hildon-time-button.h: Added the new function and refactored
3004 * examples/hildon-time-button-example.c,
3005 (main): We have replaced the function without parameters with the
3006 function with the steps set to 5
3008 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3010 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3012 * src/hildon-time-selector.c,
3013 (hildon_time_selector_class_init),
3014 (hildon_time_selector_constructor),
3015 (hildon_time_selector_get_property),
3016 (hildon_time_selector_set_property),
3017 (_create_minutes_model),
3018 (hildon_time_selector_new_step),
3019 (hildon_time_selector_set_time),
3020 * src/hildon-time-selector.h: Added a new property to the
3021 HildonTimeSelector (minutes-step), we use that property to control
3022 the steps between the minutes in the list of the selector. We have
3023 added a new function to the API to create a widget changing the
3024 step: hildon_time_selector_new_step.
3026 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3028 * src/hildon-time-selector.c,
3029 (hildon_time_selector_class_init),
3030 (hildon_time_selector_constructor),
3031 (hildon_time_selector_init): Overrided the construct function when
3032 creating the time selector object. We have moved the minutes model
3033 handling code from the init to the new construction function:
3034 hildon_time_selector_constructor.
3036 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3038 * examples/hildon-date-button-example.c: (main): Use the new
3039 hildon_date_button_new_with_year_range() method in the example.
3040 * src/hildon-date-button.c:
3041 (+hildon_date_button_new_with_year_range): New public method
3042 to conveniently create a HildonDateButton with a custom year range
3043 in its HildonDateSelector.
3044 * src/hildon-date-button.h: Add the new public method definition.
3046 Fixes: NB#97908 (Not possible to change the year range in
3047 HildonDateSelector/HildonDateButton)
3049 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3051 * src/hildon-date-selector.c:
3052 (+hildon_date_selector_set_property),
3053 (+hildon_date_selector_get_property),
3054 (hildon_date_selector_class_init): Install new properties "min-year"
3055 and "max-year" to define boundaries for the year column.
3056 (_create_year_model): Use the boundary properties to populate the model.
3057 (+hildon_date_selector_new_with_year_range): New public method to
3058 create a HildonDateSelector with a user defined year range.
3059 (hildon_date_selector_select_current_date): Use the new boundaries to
3060 calculate the iterator of current year.
3061 * src/hildon-date-selector.h: Add the new public method definition.
3063 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3065 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3066 Install a constructor method.
3067 (+hildon_date_selector_construct_ui): construct the widget.
3068 (+hildon_date_selector_constructor): new constructor.
3069 (+hildon_date_selector_init): move out widget construction code to
3070 the new constructor.
3072 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3074 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3075 that there's actually a month or year selected before obtaining them.
3076 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3077 of the HildonTouchSelector::changed signal, as it was emitted on every
3078 single item selection.
3080 Fix some warnings and possible crashers due to the selection restoring.
3082 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3084 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3085 the signal handlers only after creating the dialog instead of on every
3088 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3090 * src/hildon-button.c (hildon_button_init)
3091 * src/hildon-check-button.c (hildon_check_button_init)
3092 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3093 focus when clicked by default.
3095 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3097 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3100 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3102 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3103 Alejandro G. Castro (alex@igalia.com)
3105 * src/hildon-picker-dialog.c:
3106 (hildon_picker_dialog_class_init): install new "center-on-show"
3108 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3109 (hildon_picker_dialog_set_property): add setter code for the new
3111 (hildon_picker_dialog_get_property): add getter code for the new
3113 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3114 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3117 Fixes: NB#92849 (Selected item is not always visible when
3118 HildonTouchSelector is shown)
3120 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3122 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3123 Alejandro G. Castro (alex@igalia.com)
3125 * src/hildon-touch-selector.c:
3126 (_create_new_column): Do not connect to the "realize" signal of the
3128 (hildon_touch_selector_append_column): center on the selected items
3129 when a new column is appended.
3130 (hildon_touch_selector_select_iter): Factor out the code to select a
3131 column to hildon_touch_selector_scroll_to().
3132 (+search_nearest_element): Method to retrieve the nearest selected
3133 element to the visible area of the pannable area in a column.
3134 (+on_realize_cb): scroll to the initially selected item.
3135 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3136 the pannable area is realized, otherwise delay this until it is.
3137 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3138 selected items of a given column.
3139 (+hildon_touch_selector_center_on_selected): Public method to center
3140 all columns on the nearest selected item.
3141 * src/hildon-touch-selector.h: Add definition for
3142 hildon_touch_selector_center_on_selected().
3144 Implement public API to ensure visibility of all selected items in
3145 a HildonTouchSelector.
3147 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3149 Fixed a problem in the fading when calling the scroll_to API, and
3150 improve scrollbar fading handling.
3152 * src/hildon-pannable-area.c,
3153 (hildon_pannable_area_grab_notify): avoid the timeout when the
3155 (hildon_pannable_area_button_press_cb),
3156 (hildon_pannable_area_motion_notify_cb): Code style changes.
3157 (hildon_pannable_area_button_release_cb): Review the conditions
3158 when releasing the mouse button to avoid unrequired fading
3160 (hildon_pannable_area_scroll_to): Do not calculate and set the
3161 velocity if the scroll is not required.
3163 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3165 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3166 Don't check whether the new selector is NULL: it cannot be.
3167 Hold a reference to the selector while doing the replacement.
3169 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3171 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3172 unnecessary size_request in a removed widget.
3174 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3176 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3177 an unnecessary reference tracking that was leaking.
3179 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3181 Added delayed motion notify event handling, this way we can
3182 discard redrawing if more than 25 events arrive per second.
3184 * src/hildon-pannable-area.c,
3185 (hildon_pannable_area_init): Initialized the new private atributes
3186 controlling this timeout
3187 (hildon_pannable_area_dispose): Remove the timeout that controls
3188 the motion notify events.
3189 (hildon_pannable_area_scroll): Added a condition to control the
3190 use of the acceleration.
3191 (hildon_pannable_area_motion_event_scroll_timeout),
3192 (hildon_pannable_area_motion_event_scroll): Added this two
3193 functions, they handle the motion notify events inside the
3195 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3196 to the scroll method with the new function.
3197 (hildon_pannable_area_button_release_cb): We have to remove the
3198 timeout handler and move to the last position if the last motion
3199 events were not handled.
3201 Fixes: NB#97028 (Pannable area updates on every motion event)
3203 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3205 * src/hildon-pannable-area.c,
3206 (hildon_pannable_area_get_topmost): Added a new parameter to
3207 filter the the windows that do not include those events. Added
3208 also a condition when finding the window to filter windows that do
3209 not ask for those events.
3210 (hildon_pannable_area_button_press_cb),
3211 (hildon_pannable_area_button_release_cb),
3212 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3213 topmost function, we have added the new parameter.
3215 Fixes: NB#97458 (Pannable area prevents propagation of button
3218 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3220 * src/hildon-pannable-area.c,
3221 (hildon_pannable_area_initial_effect): Added controls before
3222 launching the timeout and the idle functions.
3223 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3224 of the method, in some situations it can return with TRUE and 0 in
3226 (hildon_pannable_area_button_press_cb): We do not need to set
3227 DELAY for fading out here.
3229 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3231 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3233 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3234 post-cleaning if the selection is not NULL.
3236 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3238 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3239 all items before restoring the selection.
3241 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3243 * src/hildon-touch-selector.c:
3244 (+hildon_touch_selector_unselect_all):
3245 * src/hildon-touch-selector.h: New API to unselect all items in a
3246 column of the touch selector.
3248 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3250 * src/hildon-pannable-area.c,
3251 (hildon_pannable_area_redraw): Added a call to the refresh
3252 function inside the redraw because apparently in some cases the
3253 change in the adjustment does not imply a size allocate.
3255 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3256 despite the view not being scrollable)
3258 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3260 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3261 leak. Check for NULL before attempting to set the window title.
3263 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3265 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3266 whether to show or not the 'Done' button each time the dialog is
3267 shown, as it depends on the HildonTouchSelector selection mode.
3269 Fixes: NB#96226 (In multiple selection mode Done button is shown
3270 sometimes in listpicker)
3272 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3274 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3275 for the number of columns in the HildonTouchSelector more than once.
3277 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3279 * src/hildon-touch-selector.c: Minor documentation fixes.
3281 * src/hildon-picker-dialog.c (+_dialog_update_title)
3282 (_select_on_selector_changed_cb)
3283 (_update_title_on_selector_changed_cb)
3284 (on_selector_columns_changed): Update dialog title when there's no
3285 'Done' button and also when the number of columns in the selector
3289 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3290 (+_selection_changed, hildon_picker_button_on_dialog_response)
3291 (hildon_picker_button_selector_selection_changed)
3292 (+hildon_picker_button_selector_columns_changed)
3293 (hildon_picker_button_set_selector): Update button value and emit
3294 'value-changed' when the number of columns in the selector
3298 Fixes: NB#96225 (Dialog titles are not shown according to the
3299 values selected in the list picker)
3301 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3303 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3304 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3305 New "arrow-width" and "arrow-height" style properties to set the
3306 size of the arrow button.
3307 Set name of arrow button ("hildon-edit-toolbar-arrow").
3309 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3310 graphics from theme)
3312 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3314 * src/hildon-picker-button.c:
3315 (hildon_picker_button_selector_selection_changed): Use
3316 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3317 the dialog is present.
3319 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3320 the selection is accepted in the dialog)
3322 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3324 * src/hildon-color-chooser.h
3325 * src/hildon-color-chooser-dialog.h:
3326 Added G_BEGIN_DECLS and G_END_DECLS
3328 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3330 (_clean_current_selection): plug a leak in the list.
3332 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3334 * src/hildon-picker-dialog.c:
3335 (+free_path_list): Method to free a GList of GtkTreePaths.
3336 (_clean_current_selection), (_save_current_selection),
3337 (_restore_current_selection): Save the current selection in
3338 as a list of lists, to support multiple selection properly.
3340 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3342 patch by Claudio Saavedra (csaavedra@igalia.com)
3344 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3345 Store the press position.
3346 (+hildon_text_view_button_release_event): If the release position is
3347 close enough to the press position, move the cursor here. Otherwise,
3349 (hildon_text_view_class_init): Override GtkTextView press, release, and
3350 motion event handlers, disabling this way text selection through
3351 pointer interaction, and allowing the container widget to handle the
3354 Fixes: NB#95828 (HildonTextView functionality)
3356 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3358 Based on a patch by Iván Gómez (igomez@igalia.com)
3360 * src/hildon-button.[ch]
3361 * src/hildon-calendar.c
3362 * src/hildon-check-button.c
3363 * src/hildon-date-editor.c
3364 * src/hildon-date-selector.c
3365 * src/hildon-picker-button.c
3366 * src/hildon-time-editor.c
3367 * src/hildon-time-selector.c
3368 * src/hildon-touch-selector.[ch]:
3369 Documentation updates
3371 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3373 * src/hildon-pannable-area.c,
3374 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3375 threshold, it was required due to X events handling.
3377 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3379 * src/hildon-pannable-area.c,
3380 (hildon_pannable_area_grab_notify),
3381 (hildon_pannable_area_initial_effect),
3382 (hildon_pannable_area_button_press_cb),
3383 (hildon_pannable_area_button_release_cb),
3384 (hildon_pannable_area_scroll_cb),
3385 (hildon_pannable_area_scroll_to): Review the timeout management of
3386 the scrollbar, the frecuency was incorrectly set.
3388 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3390 * src/hildon-picker-button.c:
3391 (+hildon_picker_button_on_dialog_response),
3392 (hildon_picker_button_clicked): Present the dialog instead of
3393 running it with gtk_dialog_run().
3395 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3398 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3400 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3401 (hildon_app_menu_finalize): When a window is hidden it doesn't
3402 emit notify::is-topmost, so make sure than the menu also
3403 disappears in that case.
3404 (parent_window_topmost_notify): Renamed from parent_window_hidden
3406 Fixes: NB#94460 (stackable window's menu is not closed when its
3409 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3411 * src/hildon-touch-selector-entry.c:
3412 (+hildon_touch_selector_entry_set_input_mode),
3413 (+hildon_touch_selector_entry_get_input_mode):
3414 * src/hildon-touch-selector-entry.h: New methods to access the input
3415 mode in the selector's entry.
3417 Fixes: NB#93410 (API required for setting IM mode in
3418 HildonTouchSelectorEntry)
3420 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3422 * configure.ac: post release version bump.
3423 * debian/changelog: version bump
3425 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3430 * configure.ac: Bump version.
3431 * debian/changelog: Updates.
3433 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3435 * src/hildon-touch-selector.c:
3436 (_hildon_touch_selector_has_multiple_selection): No need
3437 to initialize the variables here.
3439 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3441 * src/hildon-note-private.h
3442 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3443 (hildon_note_finalize, hildon_note_rebuild): Close information
3444 notes when they receive a button press.
3446 Fixes: NB#89890 (Information notes does not get disappeared after
3449 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3451 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3452 mark from the wizard title, as it's not really necessary. Also,
3453 do not display the page title if not set.
3455 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3457 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3458 (parent_window_hidden): Use the window's "is-topmost" property to
3459 detect when to hide the menu.
3461 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3463 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3464 (hildon_app_menu_finalize): If the parent window of the menu is
3465 hidden, hide the menu too.
3467 Fixes: NB#94460 (stackable window's menu is not closed when its
3470 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3473 * debian/libhildon1-examples.install
3475 * examples/Makefile.am:
3476 Use dh_install to install all examples.
3477 Use DEB_SRCDIR instead of defining SOURCE_DIR
3479 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3481 * configure.ac: post release version bump.
3482 * debian/changelog: version bump
3484 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3489 * configure.ac: bump version
3490 * debian/changelog: updates
3491 * debian/control: bump gtk+ dependency
3493 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3495 patch by Christian Dywan (christian@imendio.com)
3497 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3498 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3500 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3502 * src/hildon-check-button.c (hildon_check_button_init)
3503 (hildon_check_button_class_init, hildon_check_button_style_set)
3504 (hildon_check_button_apply_style):
3505 New "checkbox-size" style property.
3507 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3508 larger / configurable size)
3510 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3512 * configure.ac: post release version bump.
3513 * debian/changelog: version bump
3515 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3520 * configure.ac: bump version
3521 * debian/changelog: updates
3523 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3525 * doc/hildon-sections.txt
3526 * src/hildon-pannable-area.c
3527 * src/hildon-program.c
3528 * src/hildon-time-editor.c
3529 * src/hildon-touch-selector-entry.c:
3531 More documentation updates.
3533 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3535 * doc/hildon-sections.txt
3536 * src/hildon-caption.c
3537 * src/hildon-code-dialog.c
3538 * src/hildon-color-button.c
3539 * src/hildon-controlbar.c
3540 * src/hildon-date-editor.c
3541 * src/hildon-date-selector.c
3542 * src/hildon-edit-toolbar.c
3543 * src/hildon-find-toolbar.c
3544 * src/hildon-font-selection-dialog.c
3546 * src/hildon-program.c
3547 * src/hildon-range-editor.c
3548 * src/hildon-seekbar.c
3549 * src/hildon-time-editor.c
3550 * src/hildon-time-selector.c
3551 * src/hildon-volumebar-range.c
3552 * src/hildon-volumebar.c
3553 * src/hildon-vvolumebar.c
3554 * src/hildon-weekday-picker.c
3555 * src/hildon-window.c
3556 * src/hildon-wizard-dialog.c:
3558 Lots of documentation fixes.
3560 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3562 Patch contributed by Iván Gómez (igomez@igalia.com)
3564 * src/hildon-check-button.c:
3565 * src/hildon-date-button.c:
3566 * src/hildon-date-selector.c:
3567 * src/hildon-dialog.c:
3568 * src/hildon-edit-toolbar.c:
3569 * src/hildon-entry.c:
3570 * src/hildon-picker-button.c:
3571 * src/hildon-program.c:
3572 * src/hildon-text-view.c:
3573 * src/hildon-time-button.c:
3574 * src/hildon-touch-selector-entry.c:
3575 * src/hildon-window-stack.c:
3577 Add more "since" tags to the new API.
3579 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3581 * doc/hildon-sections.txt: Add below method.
3582 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3583 version for the hildonized scale.
3584 * src/hildon-gtk.h: Add the definition.
3586 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3588 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3590 * doc/hildon-sections.txt: Add missing entries for new methods.
3592 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3594 Added API to pannable are in order to get its adjustments. We
3595 added two properties to manage the values we had in the private
3598 * src/hildon-pannable-area.c:
3599 (hildon_pannable_area_class_init): Added hadjustment and
3600 vadjustment properties in order to expose horizontal and vertical
3602 (hildon_pannable_area_get_property),
3603 (hildon_pannable_area_set_property): Added code to handle the new
3605 (hildon_pannable_area_get_hadjustment),
3606 (hildon_pannable_area_get_vadjustment): API functions to get the
3608 * src/hildon-pannable-area.h:
3609 (hildon_pannable_area_get_hadjustment),
3610 (hildon_pannable_area_get_vadjustment): API functions to get the
3613 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3615 Fixed some leaks, after valgrinding.
3617 * src/hildon-touch-selector.c:
3618 (_default_print_func): Fixed a leak.
3619 (hildon_touch_selector_append_column): Fixed a leak.
3620 * src/hildon-date-button.c:
3621 (hildon_date_button_init): Fixed a leak.
3622 * src/hildon-date-selector.c
3623 (hildon_date_selector_finalize): Fixed a leak.
3625 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3627 Based on a patch by Christian Dywan (christian@imendio.com)
3629 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3631 * src/hildon-gtk.h: Add definition.
3633 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3635 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3637 * src/hildon-picker-button.c: (hildon_picker_button_init),
3638 (hildon_picker_button_new): Set the HildonButton::style property
3639 in the init method, to propagate the value to the derived classes.
3641 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3643 * src/hildon-button.c: (hildon_button_class_init): Do not make
3644 the "style" property a construct property.
3646 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3648 * src/hildon-wizard-dialog.h
3649 * src/hildon-wizard-dialog.c
3650 (hildon_wizard_dialog_set_forward_page_func)
3651 * src/hildon-pannable-area.h
3652 * src/hildon-pannable-area.c
3653 (hildon_pannable_area_set_size_request_policy):
3654 Documentation fixes.
3656 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3658 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3660 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3662 * doc/hildon-sections.txt: Added sections file.
3664 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3667 * src/*.[ch]: Updates.
3669 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3671 * examples/hildon-progress-indicator-example.c: new file
3672 * examples/Makefile.am: include the new example program
3674 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3676 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3678 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3680 * configure.ac: post release version bump
3681 * debian/changelog: version bump
3683 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3688 * configure.ac: bump version
3689 * debian/changelog: updates
3690 * debian/control: bump gtk+ dependency
3692 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3694 * src/hildon-dialog.c: Mark as deprecated.
3695 * src/hildon-dialog.h: Mark as deprecated.
3696 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3697 from HildonDialog and still work, even if
3698 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3699 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3701 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3702 maemo changes) instead)
3704 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3706 * src/hildon-pannable_area.h:
3707 * src/hildon-pannable_area.c:
3708 (hildon_pannable_area_class_init),
3709 (hildon_pannable_area_set_property),
3710 (hildon_pannable_area_get_property),
3711 (hildon_pannable_area_size_request),
3712 (hildon_pannable_area_get_size_request_policy),
3713 (hildon_pannable_area_set_size_request_policy): Added new API
3714 allowing applications to control the request policy. Now they can
3715 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3716 children allocation (HILDON_MOVEMENT_CHILDREN).
3718 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3722 (hildon_gtk_tree_view_set_ui_mode)
3723 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3724 mode of treeviews and iconviews.
3726 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3728 * src/hildon-touch-selector-entry.c:
3729 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3730 of a GtkEntry to get proper theming.
3732 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3733 widget, not GtkEntry)
3735 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3737 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3738 no HildonWizardDialogPageFunc.
3740 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3742 Patch contributed by Iván Gómez (igomez@igalia.com)
3744 * src/hildon-app-menu.c:
3745 * src/hildon-button.c:
3746 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3747 * src/hildon-stackable-window.c:
3748 * src/hildon-time-selector.c:
3749 * src/hildon-touch-selector.c:
3750 * src/hildon-window.c:
3752 Add more "since" tags to the new API in hildon 2.2.
3754 2008-12-05 Tim Janik <timj@imendio.com>
3756 Patch contributed by Christian Dywan (christian@imendio.com)
3758 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3759 HildonSizeType, which are supplied by Gtk+ now.
3761 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3763 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3764 (with maemo changes) instead)
3766 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3768 Patch contributed by Iván Gómez (igomez@igalia.com)
3770 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3773 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3775 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3776 (some_page_func), (main): Update the example to use a
3777 HildonWizardDialogPageFunc function.
3779 * src/hildon-wizard-dialog-private.h: Add private data for
3780 the HildonWizardDialogPageFunc function usage.
3782 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3783 (destroy), (hildon_wizard_dialog_init), (response),
3784 (hildon_wizard_dialog_set_forward_page_func):
3785 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3786 that applications can use to stop a HildonWizardDialog to jump to
3789 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3792 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3794 * src/hildon-program.h
3795 * src/hildon-program-private.h
3796 * src/hildon-program.c (hildon_program_init)
3797 (hildon_program_set_common_app_menu)
3798 (hildon_program_get_common_app_menu):
3799 New API for setting a common HildonAppMenu for all
3800 HildonStackableWindows registered with the HildonProgram.
3802 * src/hildon-stackable-window.c
3803 (hildon_stackable_window_toggle_menu):
3804 Use the common HildonAppMenu if a window doesn't have a specific
3807 * src/hildon-app-menu-private.h
3808 * src/hildon-app-menu.c
3809 (hildon_app_menu_get_parent_window):
3810 Function to obtain the window a HildonAppMenu is attached to.
3811 (hildon_app_menu_set_parent_window):
3812 Hide the menu if the parent window is set to NULL.
3814 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3816 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3817 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3818 search widget to popup.
3820 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3822 * configure.ac: post release version bump
3823 * debian/changelog: version bump
3825 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3830 * configure.ac: bump version
3831 * debian/changelog: updates
3833 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3835 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3837 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3838 (hildon_window_stack_window_realized)
3839 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3840 Set the leader GdkWindow when a window is stacked and realized,
3841 unset it when it's unstacked.
3842 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3844 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3846 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3848 * src/hildon-stackable-window.h
3849 * src/hildon-window-stack.h:
3850 Protect definition of HildonWindowStack using the preprocessor.
3852 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3854 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3855 Fix warning if all menu items are hidden.
3857 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3859 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3861 * src/hildon-controlbar.c:
3862 * src/hildon-hvolumebar.c:
3863 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3864 Multiple scale size defines updates.
3866 Fixes: NB#94322 (Scale Updates)
3868 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3870 * examples/hildon-app-menu-example.c (create_menu)
3871 Show items after adding them to the menu, as in the future the
3872 menu will no longer call gtk_widget_show() on the added items.
3874 * src/hildon-app-menu.c:
3875 Update example as explained above.
3877 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3879 * src/hildon-app-menu.c
3880 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3881 Make sure that all menu items have finger height.
3883 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3885 * src/hildon-picker-dialog.c:
3886 (_on_dialog_response), (_save_current_selection),
3887 (_restore_current_selection), (_clean_current_selection),
3888 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3889 Defined new functions in order to save the current internal selector
3890 selection previous open the dialog, in case that the use cancel the
3891 interaction, so the widget restores the previous selection.
3893 Fixes: NB#92032 (In calendar application, date values in 'new event'
3896 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3898 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3900 * src/hildon-button.c: Add a reference to the button examples in
3901 hildon-button-example.c
3903 * examples/hildon-button-example.c: Added examples of the most
3904 common button layouts.
3906 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3908 * src/hildon-app-menu.c (hildon_app_menu_show)
3909 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3911 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3913 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3915 * src/hildon-picker-dialog.c:
3916 (hildon_picker_dialog_init): Initialize the signal id for
3917 HildonTouchSelector::columns-changed.
3918 (+on_selector_columns_changed): Set up the interaction mode everytime a
3919 column is added or removed from the HildonTouchSelector.
3920 (_hildon_picker_dialog_set_selector): Connect to
3921 HildonTouchSelector::columns-changed and keep track of it.
3923 Make sure to update the interaction mode of the dialog everytime a
3924 column is added or removed in the HildonTouchSelector.
3926 Fixes: NB#93228 (Done button is not shown always in listpicker)
3928 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3930 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3931 a new ::columns-changed signal.
3932 (hildon_touch_selector_append_column): Emit ::columns-changed.
3933 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3935 Add a ::columns-changed signal, emitted when the number of columns in a
3936 HildonTouchSelector changes.
3938 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3940 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3941 (_hildon_picker_dialog_set_selector): Factor out the code
3942 to set up the dialog interaction mode.
3944 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3946 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3947 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3948 to signal_changed_id.
3950 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3952 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3955 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3957 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3958 Updated the logical ids related to ampm format, as now it is required to
3959 show it correctly localized even on languages with no default
3960 abbreviations for am or pm
3961 (_check_am_pm_format): check correctly the 24h format gconf property
3963 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3965 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3967 * src/hildon-button.c: Documentation updates.
3969 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3971 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3972 * src/hildon-caption.c: (hildon_caption_class_init):
3973 * src/hildon-color-button.c: (hildon_color_button_class_init):
3974 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3975 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3976 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3977 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3979 Remove deprecated GTK+ marshalers and replace them with the ones
3980 provided by GLib, for those available, add a marshaler for
3981 BOOLEAN:VOID, which is not available in GLib, and use it.
3983 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3985 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3986 the text from the previous column if there is no
3987 HildonTouchSelectorColumn::text-property set.
3989 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3991 * src/hildon-button.h
3992 * src/hildon-button.c (hildon_button_set_property)
3993 (hildon_button_get_property, hildon_button_class_init)
3994 (hildon_button_set_style, hildon_button_get_style):
3995 New "style" property to change the visual appearance of the
3998 * src/hildon-picker-button.c (hildon_picker_button_new):
3999 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4001 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4002 HildonButton look like PickerButton)
4004 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4006 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4007 column while building the default string.
4009 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4011 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4012 scroll indicator by default.
4014 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4016 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4018 * src/hildon-main.c: Fix the documentation for hildon_init()
4020 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4022 * doc/hildon-docs.sgml
4026 * src/hildon-window-stack-private.h
4027 * src/hildon-window-stack.h
4028 * src/hildon-window-stack.c:
4029 New HildonWindowStack object, that adds support for multiple
4030 stacks of windows per process.
4032 * src/hildon-stackable-window-private.h
4033 * src/hildon-stackable-window.h
4034 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4035 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4036 (hildon_stackable_window_show, hildon_stackable_window_hide)
4037 (hildon_stackable_window_class_init)
4038 (hildon_stackable_window_init):
4039 Use HildonWindowStack for stack management.
4041 * src/hildon-program.c (hildon_program_pop_window_stack)
4042 (hildon_program_peek_window_stack)
4043 (hildon_program_go_to_root_window):
4044 Add a fallback implementation to the deprecated functions using
4047 * examples/hildon-stackable-window-example.c:
4048 Use the new HildonWindowStack API.
4050 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4052 * src/hildon-stackable-window-private.h
4053 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4054 (hildon_stackable_window_hide, hildon_stackable_window_init):
4055 Remove all window stack management.
4057 * src/hildon-program-private.h
4058 * src/hildon-program.h
4059 * src/hildon-program.c (hildon_program_init)
4060 (hildon_program_pop_window_stack)
4061 (hildon_program_peek_window_stack)
4062 (hildon_program_go_to_root_window):
4063 Remove all window stack management and mark functions as
4066 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4068 * src/hildon-app-menu.c (hildon_app_menu_realize):
4069 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4071 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4073 * configure.ac: post release version bump
4074 * debian/changelog: version bump
4076 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4081 * configure.ac: bump version
4082 * debian/changelog: updates
4084 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4086 Based on initial code by Christian Dywan (christian@imendio.com)
4088 * doc/hildon-docs.sgml: Add section for hildon-main.
4089 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4090 * src/Makefile.am: Add new hildon-main.[ch]
4091 * src/hildon-defines.h: Update the icon sizes.
4092 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4093 new library initialization files and register icon sizes.
4094 * src/hildon-main.h: New declarations.
4095 * src/hildon.h: Include hildon-main.h
4097 Add new initialization functions to the library. These methods
4098 will register the hildon specific icon sizes and can be used in the
4099 future for other hildon specific bits.
4101 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4103 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4105 * src/hildon-window.c: (hildon_window_realize),
4106 (hildon_window_notify), (-hildon_window_update_title): Do not set
4107 the application name in the window title.
4109 Fixes: NB#89754 (Applications shouldn't display their names in the
4112 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4114 * src/hildon-note-private.h:
4115 * src/hildon-note.c: (hildon_note_set_property),
4116 (hildon_note_get_property), (hildon_note_class_init),
4117 (hildon_note_init), (hildon_note_finalize),
4118 (hildon_note_new_confirmation_with_icon_name),
4119 (hildon_note_new_information_with_icon_name):
4121 No need to mark as deprecated the actual code. Revert
4122 to avoid missing symbols in widgets using deprecated API.
4124 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4126 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4128 * src/hildon-volumebar.h
4129 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4130 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4132 * src/hildon-helper.h
4133 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4134 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4136 * examples/Makefile.am:
4137 Deprecate hildon-insensitive-example
4139 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4141 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4143 * examples/hildon-pannable-area-buttons-scroll-example.c:
4144 Make all buttons finger height
4146 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4148 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4150 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4151 update the day model only if it is really required, and to avoid the
4152 full-reconstruction aproach. Now it only add or remove the required days.
4154 The purpose of this is avoid superfluous HildonTouchSelector::changed
4157 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4158 with strange parameters)
4160 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4162 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4164 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4165 the WINDOW_TYPE property.
4167 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4169 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4172 Fix dependency to allow parallel compilation with make -jX
4174 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4176 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4177 color frame and some minor tweaks to make it more consistent with
4180 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4181 highlighted but not visible)
4183 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4185 * examples/Makefile.am: Fixed typo in the Makefile.am.
4187 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4189 Reviewed the use of MAEMO_GTK define, now we add the define in the
4190 compilation line, and we also add it to the pc file.
4192 * configure.ac: Added MAEMO_GTK define to the compilation command
4193 and removed it from the config.h.
4195 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4196 do not have to take care about this define if the library was
4200 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4202 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4204 * examples/Makefile.am,
4205 * examples/hildon-pannable-area-buttons-scroll-example.c,
4206 * examples/hildon-pannable-area-gesture-signals-example.c,
4207 * examples/hildon-pannable-area-scroll-jump-example.c,
4208 * examples/hildon-pannable-area-tree-view-example.c:
4209 Renamed the pannable area examples, now they have more meaningful
4212 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4214 * src/hildon-touch-selector.c:
4215 (hildon_touch_selector_set_column_selection_mode): Used of
4216 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4217 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4218 to avoid re-seting the same selection mode.
4220 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4221 breaks HildonPickerDialog)
4223 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4225 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4226 conditional in the Makefile.am
4228 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4230 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4231 Remove unused methods.
4233 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4235 * src/hildon-button.c (hildon_button_init):
4236 Make button images center-aligned by default
4238 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4241 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4242 activated, we have to think about how to deal with both defines
4243 MAEMO_GTK and MAEMO_CHANGES.
4245 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4247 * examples/hildon-app-menu-example.c (create_menu): Make all
4248 buttons finger size.
4250 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4252 Fixed the compilation without maemo gtk adding ifdefs with
4253 MAEMO_GTK define to the code, we have to check this version more
4256 * examples/Makefile.am: Added control to avoid some examples that
4257 just make sense with maemo gtk.
4260 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4261 hildon modes with the define.
4263 * examples/hildon-edit-toolbar-example.c,
4264 (create_icon_view): Create the icon view without hildon-gtk
4265 helpers if we are not using maemo gtk.
4267 * src/hildon-touch-selector.c,
4268 (_create_new_column): Create the treeview without hildon-gtk
4269 helpers if we are not using maemo gtk.
4271 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4273 * src/hildon-pnnable-area.c,
4274 (hildon_pannable_area_dispose),
4275 (hildon_pannable_area_button_press_cb),
4276 (hildon_pannable_area_child_mapped),
4277 (hildon_pannable_area_add),
4278 (hildon_pannable_area_remove): Added code to control the position
4279 of the event_window when adding and removing children from the
4280 pannable. We have to raise the event window when the child is
4283 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4284 selection mode using custom widget inside pannable)
4286 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4288 * configure.ac: post release version bump
4289 * debian/changelog: version bump
4291 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4296 * configure.ac: bump version
4297 * debian/changelog: updates
4299 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4301 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4302 search mode, in order to avoid lose the focus on the treeview when
4303 a hw key (like enter) is pressed.
4305 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4306 in HildonDateSelector dialog)
4308 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4310 * debian/rules: Added --enable-maintainer-mode
4311 * Makefile.am: Added ACLOCAL_AMFLAGS
4313 This allows to properly regenerate the Makefiles if you modify the
4314 configure.ac or any Makefile.am.
4316 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4318 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4319 properties, not needed at all.
4321 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4323 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4325 * src/hildon-note.c: (hildon_note_set_property),
4326 (hildon_note_get_property), (hildon_note_class_init),
4327 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4328 (hildon_note_new_confirmation_add_buttons): Remove icons.
4329 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4330 (hildon_note_new_information_with_icon_name): Deprecate.
4331 (hildon_note_new_confirmation): Act directly, without calling
4332 the deprecated constructor.
4333 (hildon_note_new_information): Act directly, without calling
4334 the deprecated constructor.
4335 * src/hildon-note.h: Mark deprecate methods as such.
4336 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4337 not run tests on the deprecated methods if built with deprecation
4340 Fixes: NB#91688 (Never show icons in information notes/confirmation
4343 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4345 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4346 (hildon_app_menu_key_press): Remove leftover usage of the
4347 private structure in HildonAppMenu struct.
4348 * src/hildon-app-menu.h: Remove leftover private structure
4349 from the HildonAppMenu struct.
4351 Fixes a crasher when using the HildonAppMenu.
4353 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4355 * src/hildon-picker-dialog.c: Use appropriate logical id
4356 for the default "Done" text.
4358 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4360 * configure.ac: post release version bump
4361 * debian/changelog: version bump
4363 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4365 Modified the way to scroll to the current selection just when the touch
4366 selector is shown on the screen, avoiding a g_idle. Added too a property
4367 to configure this behaviour. See hildon_pannable_area_jump_to_child
4368 documentation for more information.
4370 * src/hildon-touch-selector.c
4371 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4372 Added 'initial-scroll' property
4373 (hildon_touch_selector_set_property): Added
4374 (hildon_touch_selector_map): Removed as not required anymore
4375 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4376 only a concrete column, instead of iterate along all the columns
4378 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4383 * configure.ac: bump version
4384 * debian/changelog: updates
4386 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4388 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4389 compilation time warnings.
4391 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4393 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4394 the default value for HildonPannableArea::mov-mode to
4395 HILDON_PANNABLE_AREA_MODE_VERT.
4397 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4399 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4401 Reverting following commit:
4403 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4405 * src/hildon-app-menu-private.h
4406 * src/hildon-app-menu.[ch]
4407 * src/hildon-button.[ch]
4408 * src/hildon-check-button.[ch]
4409 * src/hildon-entry.[ch]
4410 * src/hildon-pannable-area.[ch]
4411 * src/hildon-text-view.[ch]:
4412 Added private field to the object's structure.
4414 because it causes an ABI breakage. We will need to introduce these
4415 changes later at some point. See NB#91636 for an extensive
4416 explanation and status.
4418 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4420 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4422 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4423 remove special cases that are no longer necessary.
4425 Fixes: NB#91016 (Change toolbar sizes, simplification)
4427 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4429 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4430 is shown in the cancel note.
4432 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4434 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4435 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4436 (hildon_seekbar_init): Remove steppers, remove expose event.
4437 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4439 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4441 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4443 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4444 label font to "SmallSystemFont" for vertically arranged buttons.
4446 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4449 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4451 * src/hildon-check-button.c
4452 (hildon_check_button_set_active, hildon_check_button_clicked):
4453 Don't access private parts directly, use getters instead.
4455 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4457 * src/hildon-check-button.c (hildon_check_button_new):
4458 Align the contents of the check button to the left.
4460 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4462 * src/hildon-pannable-area.c,
4463 (hildon_pannable_area_scroll_to),
4464 (hildon_pannable_area_jump_to),
4465 (hildon_pannable_area_scroll_to_child),
4466 (hildon_pannable_area_jump_to_child): Replace the mapped
4467 precondition of these functions with the realized, it is the
4468 correct state of the widget in this case. Changed the
4469 documentation according to this modification.
4471 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4473 Added a new EXTRA_CFLAGS option to add the deprecated define to
4474 the compilation command. This way we can avoid using the define in
4475 the documentation compilation.
4477 * configure.ac: Defined EXTRA_CFLAGS.
4479 * examples/Makefile.am:
4481 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4483 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4485 * src/hildon-picker-dialog.c:
4486 Defined a utility macro with the desired touch selector height
4487 Removed currently unused separator, and title_label variables from
4489 (hildon_picker_dialog_init): Removed code related to the creation
4490 of unused private variables title_label and separator.
4491 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4492 to ensure correct visualization of the touch selector inside the dialog.
4493 * src/hildon-touch-selector.c
4494 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4495 ensure a concrete height of the widget.
4497 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4500 * tests/Makefile.am:
4502 Remove spurious whitespaces.
4504 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4506 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4507 compilation warning after the cancel button removal.
4509 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4511 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4513 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4514 Makefile.am, that way we can choose not to compile some examples
4515 and tests of the deprecated widgets.
4517 * examples/Makefile.am: Divided the sources in deprecated and
4520 * src/Makefile.am: Added undef statement of the deprecated
4521 symbol to the enums file generation process.
4523 * src/hildon-color-chooser-dialog.c
4524 * src/hildon-color-chooser-dialog.h
4525 * src/hildon-color-button.c
4526 * src/hildon-color-button.h
4527 * src/hildon-color-chooser.c
4528 * src/hildon-color-chooser.h
4529 * src/hildon-controlbar.c
4530 * src/hildon-controlbar.h
4531 * src/hildon-date-editor.c
4532 * src/hildon-date-editor.h
4533 * src/hildon-hvolumebar.c
4534 * src/hildon-hvolumebar.h
4535 * src/hildon-private.c
4536 * src/hildon-private.h
4537 * src/hildon-range-editor.c
4538 * src/hildon-range-editor.h
4539 * src/hildon-seekbar.c
4540 * src/hildon-seekbar.h
4541 * src/hildon-time-editor.c
4542 * src/hildon-time-editor.h
4543 * src/hildon-time-picker.c
4544 * src/hildon-time-picker.h
4545 * src/hildon-volumebar.c
4546 * src/hildon-volumebar.h
4547 * src/hildon-vvolumebar.c
4548 * src/hildon-vvolumebar.h
4549 * src/hildon-bread-crumb-trail.h
4550 * src/hildon-bread-crumb-trail.c
4551 * src/hildon-calendar-popup.c
4552 * src/hildon-calendar-popup.h
4553 * src/hildon-weekday-picker.c:
4554 * src/hildon-weekday-picker.h:
4555 * src/hildon-bread-crumb-widget.c:
4556 * src/hildon-bread-crumb-widget.h:
4557 * src/hildon-bread-crumb.c:
4558 * src/hildon-bread-crumb.h:
4559 * src/hildon-calendar.c:
4560 * src/hildon-calendar.h:
4561 * src/hildon-caption.c:
4562 * src/hildon-code-dialog.c:
4563 * src/hildon-code-dialog.h:
4564 * src/hildon-font-selection-dialog.c:
4565 * src/hildon-font-selection-dialog.h:
4566 * src/hildon-get-password-dialog.c:
4567 * src/hildon-get-password-dialog.h:
4568 * src/hildon-login-dialog.c:
4569 * src/hildon-login-dialog.h:
4570 * src/hildon-number-editor.c:
4571 * src/hildon-number-editor.h:
4572 * src/hildon-set-password-dialog.c:
4573 * src/hildon-set-password-dialog.h:
4574 * src/hildon-sort-dialog.c:
4575 * src/hildon-sort-dialog.h: This is the list of deprecated
4578 * src/hildon-touch-selector.c:
4579 * src/hildon-window.c: Added undef statement to avoid compilation
4582 * tests/Makefile.am: Divided the sources in deprecated and
4585 * tests/check_test.c,
4586 (configure_tests): Marked the deprecated code that was adding
4587 suites with deprecated tests.
4589 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4591 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4593 * src/hildon-touch-selector.c: (_default_print_func): Do not
4594 duplicate a string returned by gtk_tree_model_get(), it is already
4597 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4600 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4602 * src/hildon-pannable-area.c
4603 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4604 method, it had problems when adding a widget with viewport the
4605 second time. Now checks if it already has a viewport and uses it.
4607 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4610 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4612 * src/hildon-pannable-area.c,
4613 (hildon_pannable_area_scroll_to),
4614 (hildon_pannable_area_jump_to),
4615 (hildon_pannable_area_scroll_to_child),
4616 (hildon_pannable_area_jump_to_child): Added a precondition to the
4617 scroll and jump to functions: the widget must be mapped before we
4618 can safely call these functions. We have also added documentation
4619 to the functions to explain how to use them in this situation.
4622 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4624 Reviewed the threading handling of the pannable widget, we have
4625 used the gdk_threads_add_timeout function instead of the usual
4626 glib handlers. This avoids some problems with the threads.
4628 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4629 (hildon_pannable_area_initial_effect),
4630 (hildon_pannable_area_scroll_indicator_fade),
4631 (hildon_pannable_area_button_press_cb),
4632 (hildon_pannable_area_timeout),
4633 (hildon_pannable_area_motion_notify_cb),
4634 (hildon_pannable_area_button_release_cb),
4635 (hildon_pannable_area_scroll_cb),
4636 (hildon_pannable_area_scroll_to): Removed the
4637 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4638 gdk_threads_add_timeout.
4640 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4642 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4647 * configure.ac: bump version
4648 * debian/changelog: updates
4650 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4652 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4653 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4654 * src/hildon-color-chooser-dialog.c:
4655 (hildon_color_chooser_dialog_init):
4656 * src/hildon-font-selection-dialog.c:
4657 (hildon_font_selection_dialog_init):
4658 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4660 Remove all cancel/close-like dialogs, as these are not going to be
4663 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4665 * src/hildon-note.c: (hildon_note_rebuild),
4666 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4669 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4671 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4673 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4674 sure all buttons are shown, even the Cancel/Close-like ones.
4676 Fixes: NB#90861 (Custom Confirmation dialogs should be
4677 protected from cancel button removal)
4679 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4681 * debian/control: Change libhildon1-examples dependency from libhildon1
4683 * debian/libhildon1-examples.install
4685 * Makefile.am: Modified the final install directory for the examples on
4686 package libhildon1-examples
4687 * Makefile.static: Update clean target in order to remove all the binary
4690 Changes suggested by Claudio after review new libhildon1-examples package
4692 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4694 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4695 * src/hildon-touch-selector.c: Ditto.
4697 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4699 * debian/control: Added new package libhildon1-examples, in order to pack
4700 the current hildon examples as documentation
4701 * debian/rules: Not to compress .c files, modify some includes on the
4702 examples (as normally are compiled locally, but when installed it will
4703 require to include the installed libhildon1 library), and rename
4705 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4706 install all the example files on the new example package
4707 * examples/Makefile.static: Added static makefile that can be used to
4708 compile the examples, once installed the new example package
4709 * examples: Most of the examples were modified in order to grant that
4710 all use only '#include "hildon.h"', in order to be easy to prepare
4711 it on the example package
4713 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4716 * debian/libhildon1-dev.install
4717 * debian/libhildon1-doc.install:
4718 Move all gtk-doc files to a separate libhildon1-doc package.
4720 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4722 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4724 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4726 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4728 * debian/rules: Fixed a error in order to avoid unnecessary calls
4729 to autogen.sh on package building
4731 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4733 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4735 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4737 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4740 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4742 * src/hildon-picker-button.c
4743 (hildon_picker_button_finalize):
4744 Free priv->done_button_text
4746 * src/hildon-time-button.c
4747 (hildon_time_button_set_time)
4748 * src/hildon-picker-button.c
4749 (hildon_picker_button_clicked)
4750 (hildon_picker_button_selector_selection_changed)
4751 (hildon_picker_button_set_selector)
4752 * src/hildon-date-button.c
4753 (hildon_date_button_set_date):
4754 Free strings returned by hildon_touch_selector_get_current_text()
4756 * src/hildon-button.c (hildon_button_construct_child):
4757 Fix leaks in priv->image and priv->label_box
4759 Fixes: NB#90535 (Memory leak in picker button)
4761 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4763 * src/hildon-button.c: (hildon_button_get_property): Do not access
4764 private elements directly, use getters instead.
4766 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4768 * src/hildon-app-menu-private.h
4769 * src/hildon-app-menu.c
4770 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4771 Store the menu's parent window.
4773 * src/hildon-stackable-window.c
4774 (hildon_stackable_window_toggle_menu)
4775 (hildon_stackable_window_finalize):
4776 Set the menu's parent window when the menu is shown, unset it when
4779 * src/hildon-app-menu.c
4780 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4781 (hildon_app_menu_class_init):
4782 Send unhandled keyboard accelerators to the parent window.
4784 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4786 * src/hildon-stackable-window.c
4787 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4789 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4791 * configure.ac: post release version bump
4793 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4796 * configure.ac: Bump version
4797 * debian/changelog: Updates
4798 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4801 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4803 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4806 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4807 GtkMenu with Hildon style.
4809 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4811 * src/hildon-picker-button.c:
4812 (hildon_picker_button_set_done_button_text): Set the dialog's
4813 done button text here as well.
4815 Fixes: NB#90232 (Picker button does not set the label on done button
4816 for the second time)
4818 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4820 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4823 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4825 * src/hildon-app-menu.c (hildon_app_menu_insert)
4826 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4827 the HildonAppMenu to be activatable using keyboard accelerators
4828 when the menu is not being shown.
4830 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4832 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4834 * src/hildon-stackable-window.c
4835 (hildon_stackable_window_show):
4836 Don't hide old windows automatically when new windows are shown:
4837 this is now a task for the window manager.
4838 (hildon_stackable_window_class_init)
4839 (hildon_stackable_window_hide):
4840 Remove windows from the stack everytime they're hidden.
4841 (hildon_stackable_window_realize):
4842 Don't change the _NET_WM_WINDOW_TYPE property. Use
4843 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4844 it as a stackable window.
4846 * src/hildon-program.c
4847 (hildon_program_pop_window_stack):
4848 Just hide the window to remove it from the stack.
4849 (hildon_program_go_to_root_window):
4850 Don't call gtk_widget_show(), this is now a task for the window
4853 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4855 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4857 * src/hildon-button.c
4858 (hildon_button_construct_child):
4859 Don't pack anything in the button until text or image are
4860 set. This allows adding a custom child after creating the button
4861 with hildon_button_new().
4862 (hildon_button_finalize, hildon_button_class_init)
4863 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4864 alignment and the label box even when they're not packed in the
4867 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4869 * src/hildon-touch-selector.h:
4870 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4871 currently the type definition was using GTK_TYPE_VBOX
4872 * src/hildon-touch-selector.c:
4873 Added some implementation notes in order to clarify that any other widget
4874 added without the column related API will not be included on the
4875 selection logic, and how the widget is freed, as some people ask about
4877 (hildon_touch_selector_remove): Reimplemented in order to free properly
4878 the column related data when you remove the private hbox.
4879 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4880 to get a proper HildonTouchSelectorColumn documentation
4882 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4884 * src/hildon-touch-selector-entry.c:
4885 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4886 text in the GtkEntry and there is no item selected. Fixes a
4889 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4891 * src/hildon-app-menu-private.h
4892 * src/hildon-app-menu.[ch]
4893 * src/hildon-button.[ch]
4894 * src/hildon-check-button.[ch]
4895 * src/hildon-entry.[ch]
4896 * src/hildon-pannable-area.[ch]
4897 * src/hildon-text-view.[ch]:
4898 Added private field to the object's structure.
4900 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4902 * configure.ac: post-release version bump
4904 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4908 * configure.ac: pre-release version bump
4910 * debian/changelog: updates.
4912 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4914 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4915 Disconnect the handler for HildonTouchSelector::changed.
4917 (hildon_picker_button_selector_selection_changed): Update the button
4918 value if the selection change was not triggered by the
4921 (hildon_picker_button_set_selector): connect to
4922 HildonTouchSelector::changed.
4924 Fixes: NB#89650 (Picker button is not updated, when selection in
4925 selector has changed)
4927 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4929 * src/hildon-picker-dialog.c
4930 (hildon_picker_dialog_realize): Removed as not required
4931 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4932 * src/hildon-picker-button.c
4933 (_current_selector_empty): New function, checks if the selector is empty
4934 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4935 if the current selector is empty, in order to avoid to show the dialog
4936 close the dialog in this case (and shows a g_warning).
4938 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4940 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4942 * src/hildon-pannable-area.c,
4943 (hildon_pannable_area_scroll): Added clause to stop movement when
4944 the child of pannable is smaller than one page.
4945 (hildon_pannable_area_scroll_to): Added conditions to avoid
4946 starting the scrolling movement if the child is smaller than one
4947 page, the complete child is in the screen, we do not have to move.
4949 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4951 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4953 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4954 this is managed automatically by the widget when the size of the
4957 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4959 * src/hildon-picker-button.c
4960 (hildon_picker_button_set_done_button_text): Make a copy of the
4961 text, and free the previous value.
4963 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4965 * src/hildon-touch-selector-entry.c:
4966 (hildon_touch_selector_entry_print_func): Return the selected row's
4967 text if the entry is empty.
4969 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4972 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4974 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4976 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4979 * src/hildon-check-button.h
4980 * src/hildon-check-button.c
4981 * examples/hildon-check-button-example.c:
4982 HildonCheckButton is now a new widget. 'toggled' signal added.
4984 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4986 * src/hildon-program-private.h
4987 * src/hildon-program.c (hildon_program_init)
4988 (hildon_program_finalize): Removed unused variables group_leader
4989 and name from HildonProgramPrivate.
4991 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4993 * src/hildon-check-button.c (hildon_check_button_set_active)
4994 (hildon_check_button_get_active, hildon_check_button_new): Use
4995 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4997 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4999 * src/hildon-touch-selector.h
5000 (hildon_touch_selector_set_column_attributes): added deprecation
5001 guard HILDON_DISABLE_DEPRECATED
5002 * src/hildon-time-selector.c
5003 (hildon_time_selector_set_time)
5004 (hildon_time_selector_get_time): Fixed a typo on documentation
5005 * src/hildon-touch-selector.c: update HildonTouchSelector and
5006 HildonTouchSelectorColumn documentation
5007 * src/hildon-touch-selector-entry.c: update "text-column" property
5009 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5010 to be added to the general documentation.
5012 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5014 * examples/hildon-pannable-area-example-4.c,
5016 * examples/hildon-pannable-area-example.c,
5017 (main): Modified the code in order to use the container add, with
5018 viewport treeviews could have problems if they are really big.
5020 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5022 * src/hildon-weekday-picker.c,
5023 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5024 the agreement regarding deprecation in the library.
5026 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5028 * examples/hildon-picker-button-multicolumn-example.c:
5029 (main): Use custom "done" button text.
5031 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5032 (hildon_picker_button_set_property),
5033 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5034 (hildon_picker_button_init),
5035 (+hildon_picker_button_get_done_button_text),
5036 (+hildon_picker_button_set_done_button_text): New methods to customize
5037 the "done" button label in the launched HildonPickerDialog. Also,
5040 * src/hildon-picker-button.h: add the public API.
5042 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5044 * src/hildon-date-selector.h:
5045 * src/hildon-picker-dialog.h:
5046 * src/hildon-time-selector.h:
5047 * src/hildon-touch-selector-column.h:
5048 * src/hildon-touch-selector.h:
5050 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5051 declarations. Fixes gtk-doc warnings.
5053 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5055 * src/hildon-picker-dialog.h
5056 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5057 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5059 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5060 long text is set as label for done button)
5062 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5064 * src/hildon-dialog.c (hildon_dialog_add_button):
5065 Set fixed width to all buttons in the HildonDialog.
5067 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5069 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5071 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5072 Set widget name using class name plus "-finger" or "-thumb".
5074 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5076 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5077 'clicked' when the state of the button is manually changed.
5079 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5081 * src/hildon-app-menu.c (hildon_app_menu_realize)
5082 (hildon_app_menu_unrealize, hildon_app_menu_init)
5083 (hildon_app_menu_class_init, item_visibility_changed):
5084 Change the menu layout when the size of the screen changes.
5085 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5086 Show warning only when changing the number of colums using the
5089 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5091 * debian/compat: Set to 5
5092 * debian/control: Update dependencies.
5093 * debian/libhildon1-dbg.install: Remove.
5094 * debian/libhildon1-dev.install: Update according to cdbs paths.
5095 * debian/libhildon1.install: Update according to cdbs paths.
5096 * debian/rules: Switch to cdbs.
5098 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5100 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5101 'item' variable renamed to 'filter'
5103 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5105 * src/hildon-app-menu.c (hildon_app_menu_insert)
5106 (hildon_app_menu_add_filter, remove_item_from_list)
5107 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5108 Don't leak hidden items when the menu is destroyed.
5110 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5112 * src/hildon-app-menu.c (hildon_app_menu_insert)
5113 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5114 (hildon_app_menu_set_columns, item_visibility_changed)
5115 (filter_visibility_changed, hildon_app_menu_repack_filters)
5116 (hildon_app_menu_repack_items):
5117 Repack items and filters separately.
5119 Don't repack all items, change only the ones that are needed to
5122 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5124 * src/Makefile.am: added hildon-touch-selector-column.h
5126 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5128 * src/hildon-touch-selector.c: added the property "text-column" to the
5129 class HildonTouchSelectorColumn, and related get/set functions
5130 (_default_printf_func): updated to use "text-column" property
5131 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5132 "text-column" in his documentation, as this is now included on
5133 HildonTouchSelectorColumn. The get/set_property can still be used,
5134 working as a wrapper to the concrete column "text-column" property
5135 (_text_column_modified): callback added in order to handle the signal
5136 "notify::text-column" of the concrete HildonTouchSelectorColumn
5137 (hildon_touch_selector_entry_get_text_column)
5138 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5139 modified in order to use the HildonTouchSelectorColumn "text-column"
5141 * src/hildon-time-selector.c:
5142 * src/hildon-date-selector.c:
5143 * examples/hildon-touch-selector-example.c
5144 * examples/hildon-touch-selector-multi-cells-example.c
5145 * examples/hildon-picker-button-multicolumn-example.c
5146 Set the right value to "text-column" property on the creation of a new
5147 column using hildon_touch_selector_append_column()
5149 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5151 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5153 * src/hildon-app-menu.c
5154 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5155 updating the layout of the menu, don't create all widgets again,
5156 just repack the items in their new places.
5158 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5160 * src/hildon-time-selector.c
5161 (hildon_time_selector_get_time)
5162 (hildon_time_selector_set_time)
5163 Added documentation of these public methods
5165 * src/hildon-date-button.h
5166 * src/hildon-touch-selector-column.h
5167 * src/hildon-time-button.h
5168 * src/hildon-picker-dialog.h
5169 * src/hildon-time-selector.h
5170 * src/hildon-picker-button.h
5171 * src/hildon-touch-selector.h
5172 * src/hildon-time-picker.h
5173 * src/hildon-date-selector.h
5174 * src/hildon-touch-selector-entry.h
5175 Modified in order to use hildon-widgets code style
5177 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5179 Added deprecated support to the compilation process using
5180 HILDON_DISABLE_DEPRECATED
5182 * configure.ac: Added the --disable-deprecated to the configure
5185 * src/hildon-weekday-picker.c:
5186 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5187 to use the deprecated support. We will update the other deprecated
5188 widgets status in a new patch.
5190 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5192 * configure.ac: Fixed typo with fatal warnings support, the
5193 variable name was not correct
5195 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5197 * src/hildon-app-menu.c
5198 * src/hildon-program.c: Update documentation.
5200 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5202 * configure.ac: Post-release version bump.
5204 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5209 * configure.ac: Pre-release version bump.
5210 * debian/changelog: Updates.
5212 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5214 * NEWS: Update news for previous releases.
5216 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5218 * examples/hildon-touch-selector-multi-cells-example.c:
5219 (create_selector): Update the example to use
5220 hildon_touch_selector_append_column() with a NULL renderer and set
5221 the renderers later.
5222 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5223 passed a NULL renderer. This is documented behavior now.
5225 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5226 This must be used if the developer wants full control on the layout of
5227 the renderers to be added to the column.
5229 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5231 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5233 * src/hildon-touch-selector.c: Documentation fixes.
5235 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5237 * src/hildon-wizard-dialog-private.h: Remove image and box.
5238 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5239 (hildon_wizard_dialog_set_property), (response): Completely remove
5240 image/icon support, and the containers required for the layout.
5242 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5244 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5246 * src/hildon-app-menu.c: Updated documentation.
5248 * src/hildon-stackable-window.c
5249 (hildon_stackable_window_set_main_menu): Unref the old menu after
5250 ref'ing the new one.
5252 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5254 * src/hildon-stackable-window.c
5255 (hildon_stackable_window_set_main_menu): Unref the previous menu
5256 instead of destroying it.
5258 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5259 floating reference and set has_user_ref_count to FALSE to make
5260 HildonAppMenu act like a normal ref-counted widget and not a
5263 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5266 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5268 * src/hildon-touch-selector-column.h: new file
5269 * src/hildon-touch-selector.h
5270 * src/hildon-touch-selector.c
5271 Implemented GtkCellLayout interface, in order to allow to configure
5272 the cell layout on each individual selector column
5273 (hildon_touch_selector_set_column_attributes): marked as deprecated
5274 * examples/hildon-touch-selector-multi-cells-example.c
5275 Example of how to use the GtkCellLayout interface on the selector
5277 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5279 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5281 * src/hildon-app-menu.h
5282 * src/hildon-app-menu.c
5283 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5284 (hildon_app_menu_append, hildon_app_menu_prepend):
5285 New methods to prepend, insert and move items in the menu.
5287 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5289 * src/hildon-wizard-dialog.c:
5291 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5293 (create_title): Update logical IDs and related code.
5294 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5296 * src/hildon-wizard-dialog.h: Note that
5297 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5298 point, as it is not used anymore.
5300 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5302 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5304 * src/hildon-note.c:
5305 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5306 shown. Do not display an icon in confirmation notes nor information
5308 (hildon_note_set_button_text): Update logical ID for cancel button.
5310 Fixes: NB#88850 (Update HildonNote button strings + signals)
5312 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5314 * src/hildon-stackable-window.c
5315 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5317 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5319 * src/hildon-app-menu-private.h
5320 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5321 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5322 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5323 temporary property 'columns' to change the number of columns.
5325 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5327 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5329 * examples/hildon-note-example.c: (on_information_clicked),
5330 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5331 debugging information.
5332 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5334 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5335 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5336 in order to close: this will be handled by the WM from now on.
5338 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5340 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5342 * src/hildon-app-menu-private.h
5343 * src/hildon-app-menu.c
5344 (hildon_app_menu_append, hildon_app_menu_add_filter)
5345 (button_visibility_changed, hildon_app_menu_apply_style)
5346 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5347 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5348 layout everytime a button (item or filter) is shown or hidden.
5350 * src/hildon-stackable-window.c
5351 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5354 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5356 * src/hildon-touch-selector.c:
5357 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5358 that the treeview inside the touch selector is in fremantle hildon mode
5359 * examples/hildon-date-button-example.c
5360 * examples/hildon-picker-button-multicolumn-example.c
5361 * examples/hildon-touch-selector-entry-example.c
5362 * examples/hildon-touch-selector-example.c
5363 * examples/hildon-time-button-example.c
5364 * examples/hildon-picker-button-example.c:
5365 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5367 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5369 * examples/hildon-text-view-example.c: (main): Remove the
5370 gtkrc bits, now handled by the theme.
5372 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5374 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5377 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5379 * po/Makefile.am: Install properly the mo files.
5380 * po/en_GB.po: Update translation, to ease testing purposes.
5382 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5384 * examples/hildon-picker-button-example.c: (main): Select an item
5385 in the selector before setting it to the button.
5387 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5389 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5390 Update button's value if the selector has an item active.
5392 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5393 'value' with the selector)
5395 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5397 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5398 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5399 (hildon_picker_button_class_init): Plug the finalize method.
5400 (hildon_picker_button_set_selector): If there's a previously set
5401 selector, unref'it before setting a new one.
5403 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5404 HildonTouchSelector)
5406 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5408 * src/hildon-touch-selector-entry.c:
5409 (hildon_touch_selector_entry_changed): Check if there is no text
5410 selected before setting the entry text.
5413 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5415 * src/hildon-touch-selector.h
5416 * src/hildon-touch-selector.c
5417 (hildon_touch_selector_get_active)
5418 (hildon_touch_selector_set_active): New methods to set/get the
5419 index of the selected item.
5421 * src/hildon-picker-button.h
5422 * src/hildon-picker-button.c
5423 (hildon_picker_button_get_active)
5424 (hildon_picker_button_set_active): New methods to set/get the
5425 index of the selected item.
5427 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5429 * configure.ac: post-release version bump.
5431 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5435 * configure.ac: Pre-release version bump.
5436 * debian/changelog: Updates.
5437 * debian/control: Add myself as maintainer and depend on l10n
5440 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5442 * src/hildon-window.c
5443 (hildon_window_set_main_menu)
5444 * src/hildon-stackable-window.c
5445 (hildon_stackable_window_set_main_menu):
5446 Updated documentation.
5448 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5450 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5451 Don't free selector->priv manually.
5454 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5457 (hildon_gtk_window_set_progress_indicator):
5458 * src/hildon-gtk.h: Added the new API
5459 hildon_gtk_window_set_progress_indicator, it changes the state of
5460 the window progress hint.
5462 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5464 * src/hildon-button.c
5465 * src/hildon-stackable-window.c: Minor documentation updates.
5467 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5469 * src/hildon-stackable-window.c: Updated documentation.
5471 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5473 * src/hildon-defines.h: Update margins definitions
5474 to the Fremantle sizes.
5477 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5479 * src/hildon-touch-selector.c,
5480 (_hildon_touch_selector_set_model): Cleaning the code after
5481 review, removed g_print and #if 0 from the code.
5483 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5485 * src/hildon-edit-toolbar.c: Update documentation.
5487 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5489 * src/hildon-check-button.h
5490 * src/hildon-check-button.c
5491 (hildon_check_button_set_label, hildon_check_button_get_label)
5492 * examples/hildon-check-button-example.c
5493 (button_clicked_cb):
5494 Removed deprecated methods.
5496 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5498 * src/hildon-text-view.c:
5499 Add sample code to the documentation.
5501 * src/hildon-entry.h
5502 * src/hildon-text-view.h:
5503 Minor cosmetic changes.
5505 * src/hildon-entry.c:
5506 Add sample code to the documentation.
5507 (hildon_entry_init, hildon_entry_refresh_contents):
5508 Don't allow NULL values in the placeholder.
5510 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5512 * doc/hildon-docs.sgml
5514 * examples/Makefile.am
5515 * examples/hildon-text-view-example.c
5517 * src/hildon-text-view.c
5518 * src/hildon-text-view.h
5520 New HildonTextView widget, with example.
5522 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5524 * po/POTFILES.in: Add missing files with translatable strings.
5525 Partially fixes NB#88287.
5527 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5529 * examples/hildon-pannable-area-example-2.c: (main): No need to
5530 set the cellrenderer height inside hildon touch lists, the theme does
5533 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5535 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5536 they are integrated in the theme.
5538 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5540 * examples/hildon-entry-example.c: Update the example adding
5541 widgets to modify the text and the placeholder of the HildonEntry.
5543 * src/hildon-entry.c: Show the placeholder everytime the widget
5544 is empty and loses the focus.
5546 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5548 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5550 * src/hildon-pannable-area.c,
5551 (hildon_pannable_area_size_request): Fixed bug in height
5552 requisition, avoid increasing size and add border twice.
5554 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5556 * configure.ac: postrelease version bump.
5558 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5562 * configure.ac: Prerelease version bump.
5563 * debian/changelog: update.
5564 * debian/rules: make -dbg package contain useful debugging symbols.
5566 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5568 * src/hildon-dialog.h
5569 * src/hildon-dialog.c
5570 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5571 New methods to add buttons with finger size.
5572 (hildon_dialog_new_with_buttons):
5573 Create buttons with finger size.
5575 * examples/hildon-dialog-example.c (main): Use HildonDialog
5576 methods to add buttons.
5578 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5580 * src/hildon-entry.c: Updated HildonButton documentation.
5582 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5584 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5585 button value label with (FALSE, FALSE) to prevent NB#88126 from
5588 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5590 * examples/hildon-pannable-area-example.c,
5591 (main): Removed examples panning a vbox inside a pannable
5592 area. Check bug NB#87965
5594 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5596 Patch contributed by Kris Rietveld (kris@imendio.com)
5598 * src/hildon-pannable-area.c,
5599 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5600 get_size and get_position, this saves an X server roundtrip.
5602 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5604 * doc/hildon-docs.sgml
5606 * examples/Makefile.am
5607 * examples/hildon-entry-example.c
5609 * src/hildon-entry.c
5610 * src/hildon-entry.h
5612 New HildonEntry widget, with example.
5614 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5616 * src/hildon-button.c (hildon_button_construct_child): Pack the
5617 image with expand == fill == FALSE. This is a workaround for a bug
5620 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5622 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5623 labels for the text column, to make it more look more dynamic.
5625 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5627 * src/hildon-time-selector.c
5628 Define gettext auxiliar macro N_
5629 (_create_minutes_model)
5630 (_create_hours_model)
5631 (_create_ampm_model): use of strftime in order to fill the model
5632 * src/hildon-date-selector.c
5633 (hildon_date_selector_finalize):
5634 (_locales_init): remove the logic related to get the name of the months
5635 using nl_langinfo, as it is not required anymore
5637 (_create_year_model)
5638 (_create_month_model)
5639 (_update_day_model): use of strftime in order to fill the model properly
5642 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5644 * src/hildon-button.h
5645 * src/hildon-button.c (hildon_button_get_image): New method to
5648 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5650 * src/hildon-touch-selector.c:
5651 (hildon_touch_selector_remove_column): Remove from the correct parent
5652 and also remove the list element and free it.
5655 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5657 * src/hildon-time-selector.c
5658 (_create_hours_model): change the range on 12h ampm format in order to use
5659 a 12-11 range instead of previous 01-12 range
5660 (hildon_time_selector_set_time): change the way to select the current time
5661 on 12h ampm format, due the change on the range
5662 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5665 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5667 * src/hildon-touch-selector.c
5668 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5669 in order to allow use this function on multiple row selection mode if
5670 the column is different that the first one
5673 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5675 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5676 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5678 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5680 * src/hildon-date-selector.h: clean some comments, now on the .c
5681 * src/hildon-date-selector.c
5682 (hildon_date_selector_select_month): first implementation
5683 (hildon_date_selector_select_day): added documentation, reimplemented
5684 using hildon_date_selector_select_current_date to avoid repeat code
5687 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5689 Reviewed interaction logic based on device experiences, refactored
5692 * src/hildon-pannable-area.c,
5693 (hildon_pannable_area_class_init): Updated default vmax speed.
5694 (hildon_pannable_area_calculate_velocity): Added this function, it
5695 avoids duplicate valocity calculation. Adjusted calculation to
5696 avoid problems with zero dist events.
5698 (hildon_pannable_area_motion_notify_cb): Now we use the
5699 calculate_velocity function.
5701 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5703 * src/hildon-date-selector.c
5704 (hildon_date_selector_select_current_date): fix the day range check
5705 as it failed using the last day of the current month
5708 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5710 * src/hildon-touch-selector.c
5711 (hildon_touch_selector_get_num_columns): added a parameter validation
5714 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5716 * examples/Makefile.am
5717 * examples/hildon-edit-toolbar-example.c: Example of the
5718 HildonEditToolbar widget.
5720 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5722 * configure.ac: postrelease version bump.
5724 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5728 * configure.ac: prerelease version bump.
5729 * debian/changelog: update.
5731 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5733 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5734 renderer to display stock icons in the touch list. Also, set the sizes
5735 to the recommended in the style guide.
5737 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5738 * src/hildon-touch-selector.h
5739 (hildon_touch_selector_set_active_iter): renamed, now is
5740 hildon_touch_selector_select_iter
5741 (hildon_touch_selector_get_active_iter): renamed, now is
5742 hildon_touch_selector_get_selected
5743 (hildon_touch_selector_unselect_iter): added
5744 * src/hildon-touch-selector.c
5745 Update after API modification (methods renamed)
5746 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5747 order to avoid problems selecting multiple elements on the column
5748 (hildon_touch_selector_unselect_iter): added the implementation
5749 * src/hildon-time-selector.c
5750 * src/hildon-date-selector.c
5751 * src/hildon-touch-selector-entry.c
5752 Update methods calls after hildon-touch-selector.h API modification (methods
5755 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5757 * src/hildon-stackable-window.c
5758 (hildon_stackable_window_finalize): Call the parent class's finalize.
5760 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5762 * examples/hildon-touch-selector-example.c: (create_selector): Use
5763 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5766 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5768 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5769 set a cell background color, to respect theming.
5771 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5773 * doc/hildon-docs.sgml
5776 * src/hildon-edit-toolbar.c
5777 * src/hildon-edit-toolbar.h
5778 * src/hildon.h: New HildonEditToolbar widget.
5780 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5782 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5785 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5786 * src/hildon-touch-selector.c
5787 (_create_new_column): use g_object_set instead of two g_object_set_property
5789 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5790 * src/hildon-touch-selector.c
5791 (_create_new_column): use of hildon_gtk_tree_view_new to create
5792 the treeview, instead of use directly g_object_new
5793 (_create_new_column): update the property name "vindicator-mode" for the
5794 new one "vscrollbar-policy"
5795 * examples/hildon-date-button-example.c
5796 * examples/hildon-picker-button-multicolumn-example.c
5797 * examples/hildon-touch-selector-entry-example.c
5798 * examples/hildon-touch-selector-example.c
5799 * examples/hildon-time-button-example.c
5800 * examples/hildon-picker-button-example.c
5801 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5802 to all the treeviews inside a pannable area.
5804 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5806 * src/hildon-button.h
5807 * src/hildon-button.c (hildon_button_init)
5808 (hildon_button_set_arrangement, hildon_button_set_alignment)
5809 (hildon_button_set_title_alignment)
5810 (hildon_button_set_value_alignment)
5811 (hildon_button_set_image_alignment)
5812 (hildon_button_construct_child): New methods to set the alignment
5813 of the individual components of the button (title, value,
5814 image). Also, new method to alter the xscale and yscale properties
5815 of the GtkAlignment inside the button, so more complex layouts can
5818 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5820 * src/hildon-button.c (hildon_button_style_set)
5821 (hildon_button_class_init, hildon_button_set_arrangement)
5822 (hildon_button_construct_child): Apply style properties
5823 correctly. Use the 'image-spacing' style property too.
5825 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5827 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5828 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5831 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5833 * src/hildon-pannable-area.c,
5834 (hildon_pannable_area_size_request): Fixed problem with
5835 pannable-area size_request.
5837 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5839 Added management for the grab-focus to a child widget, like a
5840 range, we need to fade out the scrollbar when releasing.
5842 * src/hildon-pannable-area.c,
5843 (hildon_pannable_area_init): Connected the grab-focus signal to
5845 (hildon_pannable_area_grab_notify): Added this function in order
5846 to manage the situation when the grab-focus ends. We have to
5847 fade-out the scrollbar.
5849 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5851 * src/hildon-app-menu.c: Minor documentation update.
5853 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5855 * src/hildon-app-menu.c
5856 * examples/hildon-app-menu-example.c (create_menu): Update
5857 examples and documentation to explain how to connect callbacks.
5859 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5861 * examples/hildon-button-example.c
5862 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5863 hildon_stackable_window_new instead of gtk_window_new
5865 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5867 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5868 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5869 (hildon_pannable_area_set_property),
5870 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5871 (hildon_pannable_area_unrealize),
5872 (hildon_pannable_area_size_request),
5873 (hildon_pannable_area_size_allocate),
5874 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5875 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5876 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5877 (hildon_pannable_area_initial_effect),
5878 (hildon_pannable_area_redraw),
5879 (hildon_pannable_area_scroll_indicator_fade),
5880 (hildon_pannable_area_expose_event),
5881 (hildon_pannable_area_get_topmost), (synth_crossing),
5882 (hildon_pannable_area_button_press_cb),
5883 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5884 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5885 (hildon_pannable_area_motion_notify_cb),
5886 (hildon_pannable_area_button_release_cb),
5887 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5888 (hildon_pannable_area_remove),
5889 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5890 chage the code layout to a more GtkWidget like. Review the use of
5893 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5895 * examples/hildon-pannable-area-example-4.c,
5896 (main): Modified the name of the hindicator_mode to
5899 * src/hildon-pannable-area.c,
5900 (hildon_pannable_area_class_init),
5901 (hildon_pannable_area_motion_notify_cb),
5902 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5903 we have reduced the amount of signals and managed reviewed its
5904 rationale. Changed the default decelerate value.
5906 (hildon_pannable_area_add),
5907 (hildon_pannable_area_redraw): Refactored functions.
5909 (hildon_pannable_area_init),
5910 (hildon_pannable_area_get_property),
5911 (hildon_pannable_area_set_property):
5912 (hildon_pannable_draw_vscroll),
5913 (hildon_pannable_draw_hscroll),
5914 (hildon_pannable_area_initial_effect),
5915 (hildon_pannable_area_expose_event),
5916 (hildon_pannable_area_scroll),
5917 (hildon_pannable_area_button_press_cb),
5918 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5919 and vindicator_mode with hscrollbar_policy and
5920 vscrollbar_policy. Replaced hscroll and vscroll with
5921 hscroll_visible and vscroll_visible.
5923 (hildon_pannable_area_refresh): Refactor the function, remove
5924 variables and check the calls to this function, added resize
5925 conditions in case the children change their layout.
5927 (hildon_pannable_area_size_request): Added more detailed
5928 size_request calculation.
5931 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5933 * src/hildon-color-chooser.c
5934 (init_borders): use the correct gtk_border_free instead of g_free, to
5935 avoid a crash when this widget is used (ie: the three color selection
5938 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5940 * src/hildon-check-button.c,
5941 (hildon_check_button_set_active): Fixed problem when setting the
5942 active value, the widget was not redrawn.
5944 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5946 * src/hildon-pannable-area.c,
5947 (hildon_pannable_area_refresh),
5948 (hildon_pannable_area_scroll),
5949 (hildon_pannable_area_motion_notify_cb): Small code style change.
5951 (hildon_pannable_area_class_init): Default initial_hint set to
5952 FALSE, it is not in the specs.
5954 (hildon_pannable_area_initial_effect),
5955 (hildon_pannable_area_expose_event),
5956 (hildon_pannable_area_map),
5957 (hildon_pannable_area_init): Moved the launching point of the
5958 initial effect, it was in map but the sizes where not correct in
5959 that method so we do not know if we have the reproduce it. Now it
5960 is placed in the expose_event method and uses a variable to
5961 reproduce it just once.
5963 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5965 * src/hildon-pannable-area.c,
5966 (hildon_pannable_draw_vscroll),
5967 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5968 position allowed for the scrollbars.
5970 (hildon_pannable_area_size_allocate): Small style change.
5972 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5974 * src/hildon-pannable-area.c,
5975 (hildon_pannable_area_scroll_indicator_fade),
5976 (hildon_pannable_area_button_press_cb),
5977 (hildon_pannable_area_button_release_cb),
5978 (hildon_pannable_area_scroll_cb),
5979 (hildon_pannable_area_expose_event),
5980 (hildon_pannable_area_init): Added the define parameter
5981 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5982 and refactor the fade variable.
5984 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5986 * src/hildon-pannable-area.c,
5987 (hildon_pannable_area_redraw),
5988 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5989 lines, we were reimplemeting the redraw code.
5991 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5993 * src/hildon-pannable-area.c,
5994 (hildon_pannable_area_scroll_cb),
5995 (hildon_pannable_area_realize),
5996 (hildon_pannable_area_class_init): Added scroll_event management
5997 for pannable area, now we can scroll the usual desktop method.
5999 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6000 initialization of the parameters should depend on idle_id.
6002 (hildon_pannable_area_init),
6003 (hildon_pannable_area_map): Small code style modifications
6005 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6007 * src/hildon-pannable-area.c
6008 (hildon_pannable_area_button_press_cb),
6009 (hildon_pannable_area_motion_notify_cb),
6010 (hildon_pannable_area_button_release_cb),
6011 (hildon_pannable_area_size_allocate),
6012 (hildon_pannable_area_scroll_to): Improved the timeouts
6013 management, we avoid creating them each time.
6015 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6017 * src/hildon-pannable-area.c:
6018 (hildon_pannable_area_refresh),
6019 (hildon_pannable_area_motion_notify_cb),
6020 (hildon_pannable_area_class_init):
6021 * src/hildon-pannable-area.h:
6022 * src/hildon-touch-selector.c
6023 (_create_new_column):
6024 * examples/hildon-pannable-area-example-4.c:
6025 (horizontal_movement),
6026 (vertical_movement),
6028 Replaced the names of enums in the HildonPannableArea:
6029 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6030 HILDON_MOVEMENT_MODE_*
6031 - HILDON_PANNABLE_AREA_MOV_* ->
6033 - Removed HildonPannableAreaIndicatorMode, now we
6036 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6038 * examples/hildon-pannable-area-touch-grid-example.c
6039 * examples/hildon-pannable-area-touch-list-example.c: Fix
6040 compilation warnings.
6042 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6044 * src/hildon-gtk.c (hildon_gtk_button_new)
6045 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6046 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6047 images overriding the value of the "gtk-button-images" setting.
6049 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6051 * src/hildon-check-button.c (hildon_check_button_new):
6052 Instead of using a custom container, display the label and the
6053 checkbox using the standard GtkButton API.
6055 * examples/hildon-check-button-example.c (main): Don't use
6056 hildon_check_button_set_label() anymore
6058 * src/hildon-check-button.h
6059 * src/hildon-check-button.c
6060 (hildon_check_button_set_label, hildon_check_button_get_label):
6061 Set as deprecated, now we're using gtk_button_{get,set}_label()
6063 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6065 * src/hildon-pannable-area.c,
6066 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6067 GtkTreeview first line we detected it after the inclusion of the
6068 GtkWindowImpl in gtk+. We now check if the window is visible, not
6069 just if the pointer is over the window.
6070 (hildon_pannable_axis_scroll),
6071 (hildon_pannable_area_expose_event): Small style changes.
6073 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6075 * src/hildon-button.c: Update documentation.
6077 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6079 * examples/hildon-button-example.c: Add a switch to show images in
6082 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6084 * doc/hildon-docs.sgml: Some docs reorganization.
6086 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6088 * examples/hildon-pannable-area-touch-list-example.c
6090 * examples/hildon-pannable-area-touch-grid-example.c
6091 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6092 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6093 Fix memory leak when setting the tree model.
6095 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6099 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6101 * doc/hildon.types: Remove duplicated hildon_window_get_type
6102 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6103 documentation comment.
6105 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6107 * doc/Makefile.am: Complete list of private headers.
6109 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6111 * doc/hildon-docs.sgml
6112 * src/hildon-app-menu.c
6113 * src/hildon-bread-crumb.c
6114 * src/hildon-button.c
6116 * src/hildon-program.c
6117 * src/hildon-stackable-window.c
6118 * src/hildon-window.c: Lots of documentation updates.
6120 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6122 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6124 * configure.ac: Require Gtk+ 2.12.9 at least
6126 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6128 * src/hildon-pannable-area.c
6129 (hildon_pannable_area_scroll_indicator_fade),
6130 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6131 to protect the return of this timeout callbacks, avoiding deadlocks.
6133 2008-08-12 Christian Dywan <christian@imendio.com>
6136 * src/hildon-*.h: Ensure a consistent include order,
6137 include <gtk/gtk.h> instead of particular files and
6138 only include the topmost header in the gtk stack. See NB #39857
6140 2008-08-12 Christian Dywan <christian@imendio.com>
6142 * src/hildon-picker-dialog.c
6143 * src/hildon-touch-selector.c: Fix warnings about unused and
6144 uninitialized variables.
6146 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6148 * examples/Makefile.am
6149 * examples/hildon-check-button-example.c: Example of the hildon
6152 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6154 * src/hildon-window.h
6155 * src/hildon-window.c (hildon_window_class_init)
6156 (hildon_window_unset_program): Don't make
6157 hildon_window_unset_program a virtual function anymore.
6159 * src/hildon-stackable-window.c: Update documentation
6161 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6164 * doc/hildon-docs.sgml
6165 * doc/visual_index.xml
6166 * src/hildon-defines.c
6168 * src/hildon-helper.c
6169 * src/hildon-range-editor.c: Lots of documentation fixes.
6171 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6173 * examples/hildon-picker-button-multicolumn-example.c
6174 (create_touch_selector): Fix compilation warning.
6176 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6178 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6179 (hildon_pannable_area_button_release_cb)
6180 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6182 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6184 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6187 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6189 * src/hildon-bread-crumb-trail.h
6190 * src/hildon-date-editor.c
6191 * src/hildon-date-selector.c
6192 * src/hildon-pannable-area.c
6193 * src/hildon-picker-dialog.c
6194 * src/hildon-time-selector.c
6195 * src/hildon-touch-selector-entry.c
6196 * src/hildon-touch-selector.c
6197 * src/hildon-touch-selector.h: Misc documentation fixes
6199 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6201 * examples/hildon-date-editor-example.c (main): Updated date
6204 * examples/hildon-note-example.c (on_confirmation_clicked):
6205 Updated confirmation note example.
6207 * src/hildon-date-editor.c
6208 * src/hildon-note.c: Updated sample programs in documentation.
6211 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6213 * src/hildon-date-button.h:
6214 * src/hildon-picker-button.h:
6215 * src/hildon-time-button.c:
6216 * src/hildon-time-button.h:
6218 Some declarations changes to allow gtk-doc to document the widgets
6221 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6223 * src/hildon-date-button.c: Document the widget.
6224 * src/hildon-time-button.c: Document the widget.
6226 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6228 * src/hildon-picker-button.c: Document the widget.
6229 * src/hildon-touch-selector-entry.c: Document the widget.
6231 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6233 * doc/hildon-docs.sgml
6236 * src/hildon-check-button.h
6237 * src/hildon-check-button.c: New functions to create the Hildon
6241 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6243 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6245 * src/hildon-button.h
6246 * src/hildon-button.c
6247 (hildon_button_add_title_size_group)
6248 (hildon_button_add_value_size_group)
6249 (hildon_button_add_image_size_group)
6250 (hildon_button_add_size_groups): New functions to set size groups
6251 for the button labels and image.
6252 (hildon_button_new_full): Removed
6254 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6256 * src/hildon-time-selector.c
6257 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6258 in order to avoid a crash if gconf is not available
6260 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6262 * src/hildon-button.c (hildon_button_set_arrangement)
6263 (hildon_button_construct_child): Don't construct the button child
6264 before setting the arrangement.
6266 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6268 * src/hildon-program-private.h
6269 * src/hildon-program.c
6270 * src/hildon-program.h
6271 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6272 (hildon_program_peek_window_stack)
6273 (hildon_program_pop_window_stack)
6274 (hildon_program_go_to_root_window): HildonProgram now has a
6275 separate list for stackable windows. Functions are provided to
6276 manage that list with a stack-like API.
6278 * src/hildon-stackable-window.c: Stackable window management is
6279 now much simpler with the new HildonProgram API. Windows no
6280 longer need to be manually added to the program, they're
6281 automatically pushed to the top of the stack when shown.
6283 * examples/hildon-stackable-window-example.c: Updated example to
6284 reflect the API changes.
6286 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6288 * src/hildon-touch-selector.c: Comment out unimplemented
6289 hildon_touch_selector_insert_column() to avoid a compile warning.
6291 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6293 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6294 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6295 (hildon_touch_selector_set_column_selection_mode),
6296 (_hildon_touch_selector_set_model),
6297 (hildon_touch_selector_set_model):
6299 Complete review of HildonTouchSelector documentation.
6301 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6303 * doc/hildon-docs.sgml
6307 * src/hildon-gtk.c: Convenience functions for standard Gtk
6308 widgets, used to easily perform frequent operations.
6310 * src/hildon-button-helpers.h
6311 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6313 * src/hildon-helper.h
6314 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6315 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6317 * src/hildon-button.h
6318 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6320 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6322 * src/hildon-button.c (hildon_button_init)
6323 (hildon_button_set_arrangement, hildon_button_construct_child):
6324 Pack the image and the labels inside the same GtkAlignment so
6325 gtk_button_set_alignment() can be used
6327 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6329 * src/hildon-button.h
6330 * src/hildon-button.c
6331 (hildon_button_init, hildon_button_set_image)
6332 (hildon_button_set_image_position)
6333 (hildon_button_construct_child): New functions to add an image to
6336 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6338 * src/hildon-date-button.c
6339 * src/hildon-picker-button.c
6340 * src/hildon-time-button.c
6341 * src/hildon-button.c:
6342 (hildon_button_class_init): "size-flags" renamed to "size"
6343 (hildon_button_set_title): Hide the title label if set to NULL.
6345 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6347 HildonButtonFlags split into HildonButtonArrangement (to set the
6348 button layout) and HildonSizeType (which can be used for any
6351 * src/hildon-button.h
6352 * src/hildon-button.c
6353 (hildon_button_class_init)
6354 (hildon_button_set_arrangement)
6355 (hildon_button_set_property): New "size-flags"
6356 property. "arrangement-flags" renamed to "arrangement".
6357 (hildon_button_new, hildon_button_new_with_text)
6358 (hildon_button_new_full): Constructors updated to reflect type changes.
6360 * src/hildon-helper.h
6361 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6362 to set the size of a widget.
6366 * src/hildon-button-helpers.c
6367 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6369 * src/hildon-date-button.c
6370 * src/hildon-date-button.h
6371 * src/hildon-picker-button.c
6372 * src/hildon-picker-button.h
6373 * src/hildon-time-button.c
6374 * src/hildon-time-button.h: Updated widgets to reflect
6375 HildonButton API changes.
6377 * examples/hildon-button-example.c
6378 * examples/hildon-date-button-example.c
6379 * examples/hildon-picker-button-example.c
6380 * examples/hildon-picker-button-multicolumn-example.c
6381 * examples/hildon-time-button-example.c
6382 * examples/hildon-touch-selector-entry-example.c
6383 * examples/hildon-touch-selector-example.c: Updated examples to
6384 reflect HildonButton API changes.
6386 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6388 * doc/hildon-docs.sgml:
6390 * examples/Makefile.am:
6391 * examples/hildon-touch-selector-entry-example.c:
6393 * src/hildon-touch-selector-entry.c:
6394 * src/hildon-touch-selector-entry.h:
6397 Moved HildonTouchSelectorEntry from sandbox. Added its
6398 documentation and examples.
6400 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6402 * src/hildon-touch-selector.h:
6403 * examples/hildon-picker-button-multicolumn-example.c:
6404 (hildon_touch_selector_append_text_column): Add a gboolean
6405 parameter to determine if text must be centered in the column.
6407 * src/hildon-date-selector.c: (hildon_date_selector_init):
6408 * src/hildon-time-selector.c: (hildon_time_selector_init):
6409 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6410 (create_touch_selector): Update widgets and example to reflect
6413 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6415 * src/hildon-touch-selector.c:
6416 (hildon_touch_selector_set_active_iter): Set also the cursor in
6419 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6421 * doc/hildon-docs.sgml
6424 * src/hildon-toggle-button.c
6425 * src/hildon-toggle-button.h
6426 * src/hildon.h: Removed HildonToggleButton widget, a derived
6427 class is not necessary for this.
6429 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6431 * src/hildon-pannable-area.c,
6432 (hildon_pannable_area_realize),
6433 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6436 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6438 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6439 "done" button the default widget for the dialog.
6441 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6443 * src/hildon-touch-selector.c:
6444 (hildon_touch_selector_class_init),
6445 (hildon_touch_selector_get_property),
6446 (_hildon_touch_selector_set_model),
6447 (_hildon_touch_selector_has_multiple_selection),
6448 (hildon_touch_selector_has_multiple_selection):
6449 Add a "has-multiple-selection" property with a virtual
6450 has_multiple_selection() method to allow derived classes to
6451 override the default value for it. See the method and property
6452 documentation for details.
6454 * src/hildon-touch-selector.h: Add the new API.
6456 * src/hildon-picker-dialog.c: (requires_done_button): Call
6457 hildon_touch_selector_has_multiple_selection() instead of
6458 determining the need for a button itself.
6460 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6462 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6463 (_hildon_touch_selector_set_model),
6464 (hildon_touch_selector_set_model): Move working code to
6465 _hildon_touch_selector_set_mode(). Call the class method instead.
6467 * src/hildon-touch-selector.h: Add (*set_model) to
6468 HildonTouchSelectorClass.
6470 Make hildon_touch_selector_set_model() a virtual method, so that
6471 derived classes can extend it and do fancy stuff with the model.
6473 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6475 * configure.ac: Set back the tarname in AC_INIT to hildon.
6477 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6481 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6482 instead of libesd (NB#86876). Volume handling is still an open issue.
6484 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6487 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6489 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6490 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6491 derived class to ease placement of an entry widget in
6492 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6493 end, where the selector columns are packed now.
6495 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6497 * src/hildon-picker-button.c: Removed the simple _text() API.
6498 * src/hildon-picker-button.h: Likewise.
6500 * src/hildon-touch-selector.h:
6501 * src/hildon-touch-selector.c:
6502 (hildon_touch_selector_new_text),
6503 (hildon_touch_selector_append_text),
6504 (hildon_touch_selector_prepend_text),
6505 (hildon_touch_selector_insert_text):
6507 Moved the simple _text() API from HildonPickerButton to
6508 HildonTouchPicker, to provide better escalability and not to tie
6509 that API to HildonPickerButton.
6511 * examples/hildon-picker-button-example.c: (main): Example updated.
6513 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6515 * src/hildon-button.c: Updated documentation.
6517 * examples/hildon-button-example.c: Add the posibility to create
6518 the buttons using horizontal layout for title and value.
6520 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6522 * src/hildon-app-menu-private.h
6523 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6524 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6525 GtkSizeGroup for the filters, use the 'homogeneous' property of
6528 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6530 * examples/hildon-button-example.c: Updated example.
6532 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6534 * doc/hildon-docs.sgml:
6537 Update documentation.
6539 * examples/Makefile.am: Update renamed examples.
6541 * examples/hildon-picker-button-multicolumn-example.c:
6542 (create_touch_selector), (main): Update after the rename.
6544 * examples/hildon-touch-picker-example.c: Removed.
6545 * examples/hildon-touch-selector-example.c: (value_changed),
6546 (create_selector), (get_visible_content), (main): Renamed from
6547 hildon-touch-picker-example.c
6549 * src/Makefile.am: Updated renamed files.
6551 * src/hildon-date-button.c: (hildon_date_button_init),
6552 (hildon_date_button_get_date), (hildon_date_button_set_date):
6553 * src/hildon-date-selector.c: (hildon_date_selector_init),
6554 (_custom_print_func), (_update_day_model),
6555 (_manage_selector_change_cb),
6556 (hildon_date_selector_select_current_date),
6557 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6558 * src/hildon-date-selector.h:
6559 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6560 (hildon_picker_button_set_property),
6561 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6562 (hildon_picker_button_init), (hildon_picker_button_new_text),
6563 (hildon_picker_button_append_text),
6564 (hildon_picker_button_prepend_text),
6565 (hildon_picker_button_insert_text),
6566 (hildon_picker_button_set_selector),
6567 (hildon_picker_button_get_selector):
6568 * src/hildon-picker-button.h:
6569 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6570 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6571 (_update_title_on_selector_changed_cb), (requires_done_button),
6572 (_hildon_picker_dialog_set_selector),
6573 (hildon_picker_dialog_set_selector),
6574 (hildon_picker_dialog_get_selector):
6575 * src/hildon-picker-dialog.h:
6576 * src/hildon-time-button.c: (hildon_time_button_init),
6577 (hildon_time_button_get_time), (hildon_time_button_set_time):
6578 * src/hildon-time-selector.c: (hildon_time_selector_init),
6579 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6580 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6581 * src/hildon-time-selector.h:
6584 Massive code updates after the rename.
6586 * src/hildon-touch-picker.c: Removed.
6587 * src/hildon-touch-picker.h: Removed.
6589 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6590 (hildon_touch_selector_init), (hildon_touch_selector_map),
6591 (hildon_touch_selector_remove), (_default_print_func),
6592 (_selection_changed_cb), (_create_new_column),
6593 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6594 (hildon_touch_selector_append_text_column),
6595 (hildon_touch_selector_remove_column),
6596 (hildon_touch_selector_set_column_attributes),
6597 (hildon_touch_selector_insert_column),
6598 (hildon_touch_selector_get_num_columns),
6599 (hildon_touch_selector_get_column_selection_mode),
6600 (hildon_touch_selector_set_column_selection_mode),
6601 (hildon_touch_selector_set_print_func),
6602 (hildon_touch_selector_get_print_func),
6603 (hildon_touch_selector_get_active_iter),
6604 (hildon_touch_selector_set_active_iter),
6605 (hildon_touch_selector_get_selected_rows),
6606 (hildon_touch_selector_get_model),
6607 (hildon_touch_selector_set_model),
6608 (hildon_touch_selector_get_current_text),
6609 (_hildon_touch_selector_center_on_selected_items):
6610 * src/hildon-touch-selector.h: Renamed from
6611 hildon-touch-picker.[ch]
6613 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6614 references, code examples, and related documentation.
6616 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6618 * doc/hildon-docs.sgml
6621 * src/hildon-toggle-button.c
6622 * src/hildon-toggle-button.h
6623 * src/hildon.h: New HildonToggleButton widget.
6625 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6627 * src/hildon-button.c: Add API documentation.
6628 (hildon_button_set_size_groups): Check input parameters
6630 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6632 * src/hildon-pannable-area.c
6633 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6634 effect after reaching the movement thredshold. This way we start
6635 using the distance after passing the thredshold.
6637 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6639 * src/hildon-button.c: (hildon_button_set_property): Use the
6640 appropriate g_value_get_flags() method.
6642 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6644 * doc/hildon-docs.sgml:
6647 Add the touch pickers, picker dialogs, and picker button widgets
6648 to the documentation.
6650 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6652 * src/hildon-button.c: (hildon_button_set_property),
6653 (hildon_button_class_init): Make "arrangement-flags" a proper
6654 G_TYPE_FLAGS derived property.
6656 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6658 * examples/Makefile.am: Add below examples.
6659 * examples/hildon-date-button-example.c:
6660 * examples/hildon-picker-button-example.c:
6661 * examples/hildon-picker-button-multicolumn-example.c:
6662 * examples/hildon-time-button-example.c:
6663 * examples/hildon-touch-picker-example.c:
6665 Add examples for the recently added touch pickers,
6666 picker dialogs, and picker button widgets.
6668 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6670 * src/hildon-button.c: Add some API documentation
6672 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6674 * src/hildon-button.h
6675 * src/hildon-button.c
6677 (hildon_button_new_with_text): New constructor to create a button
6678 with no text at all.
6679 (hildon_button_init, hildon_button_set_arrangement)
6680 (hildon_button_set_title, hildon_button_set_value)
6681 (hildon_button_set_text)
6682 (hildon_button_construct_child): Hide the value when it's not used
6683 so the rest of the text is properly aligned.
6684 Allow creating buttons with arbitrary widgets inside (not just
6685 title/value labels).
6687 * examples/hildon-button-example.c (vertical_buttons_window)
6688 (horizontal_buttons_window): Update example to use new API.
6690 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6692 * src/Makefile.am: Added HildonTimeButton.
6693 * src/hildon-time-button.c: Added missing LGPL header.
6694 * src/hildon-time-button.h: Added missing LGPL header.
6695 * src/hildon.h: Add hildon-time-button.h
6697 Copied HildonTimeButton from sandbox to trunk. Future work on this
6698 widget must take place in trunk.
6700 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6702 * src/Makefile.am: Added HildonDateButton.
6703 * src/hildon-date-button.c: Update includes.
6704 * src/hildon.h: Add hildon-date-button.h
6706 Copied HildonDateButton from sandbox to trunk. Future work on this
6707 widget must take place in trunk.
6709 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6711 * src/Makefile.am: Added HildonPickerButton.
6712 * src/hildon-picker-button.h: Update includes.
6713 * src/hildon.h: Add hildon-picker-button.h
6715 Copied HildonPickerButton from sandbox to trunk. Future work on
6716 this widget must take place in trunk.
6718 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6720 * src/Makefile.am: Added HildonPickerDialog.
6721 * src/hildon-picker-dialog.c: Update includes.
6722 * src/hildon.h: Add hildon-picker-dialog.h
6724 Copied HildonPickerDialog from sandbox to trunk. Future work
6725 on this widget must take place in trunk.
6727 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6729 * src/Makefile.am: Added HildonTimeSelector.
6730 * src/hildon.h: Add hildon-time-selector.h
6732 Copied HildonTimeSelector widget from sandbox to trunk. Future
6733 work on this widget must happen in trunk.
6735 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6737 * src/Makefile.am: Added HildonDateSelector.
6738 * src/hildon.h: Add hildon-date-selector.h
6740 Copied HildonDateSelector widget from sandbox to trunk. Future
6741 work on this widget must happen in trunk.
6743 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6745 * src/Makefile.am: Added HildonTouchPicker.
6746 * src/hildon-touch-picker.c: Update includes.
6747 * src/hildon.h: Add hildon-touch-picker.h
6749 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6750 on this widget must happen in trunk.
6752 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6754 * src/hildon-pannable-area.c:
6755 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6757 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6759 * examples/hildon-app-menu-example.c (main): Let the window
6762 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6764 * src/hildon-pannable-area.c
6765 (hildon_pannable_area_class_init): Set the min value of the
6766 overshoot properties to zero, which points out that not
6767 overshooting allowed.
6769 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6771 Modified the procedure to get the widget at a point inside the
6772 pannable area when using the movement type signals. Now the user
6773 has to call a function to get the child, that way we just
6774 calculate the child in case the user really want to use it and not
6777 * src/hildon-marshalers.list: Modified the marshallers, now we do
6778 not have the widget as a parameter.
6780 * src/hildon-pannable-area.c
6781 (hildon_pannable_area_motion_notify_cb),
6782 (hildon_pannable_area_class_init),
6783 (hildon_pannable_get_child_widget_at): Removed the widget
6784 parameter from the signal callback. We have also refactored the
6785 emission of the signals.
6787 * src/hildon-pannable-area.h: Added a new method to the API to
6788 calculate a widget at a point inside the pannable area,
6789 hildon_pannable_get_child_widget_at.
6791 * examples/hildon-pannable-area-example-4.c
6792 (horizontal_movement): Modified the example to use the new API,
6793 added condition to control which widget is under the event. This
6794 way we can avoid scrolling laterally over other widgets.
6796 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6798 * src/hildon-pannable-area.c
6799 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6800 modes, we stop getting the pointer events due to returning the
6801 callback without properly calling the get pointer again. Fixed
6802 also an error using the hscroll and vscroll.
6804 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6806 * src/hildon-app-menu-private.h
6807 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6808 (hildon_app_menu_button_release, hildon_app_menu_init)
6809 (hildon_app_menu_class_init): Don't hide the menu on button
6810 release if the user didn't press outside first.
6812 * src/hildon-window.h
6813 * src/hildon-window.c (hildon_window_toggle_menu)
6814 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6815 hildon_window_toggle_menu a virtual function for the stackable
6816 window to override it.
6818 * src/hildon-stackable-window.h
6819 * src/hildon-stackable-window-private.h
6820 * src/hildon-stackable-window.c
6821 (hildon_stackable_window_realize)
6822 (hildon_stackable_window_finalize)
6823 (hildon_stackable_window_class_init)
6824 (hildon_stackable_window_init)
6825 (hildon_stackable_window_set_main_menu): New function to set the
6826 app menu of a HildonStackableWindow.
6828 * examples/hildon-app-menu-example.c: Remove the button to show
6829 the app menu, now it'll be shown when clicking on the title bar
6832 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6834 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6835 set the widget name if the arrangement flags do not specify
6838 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6840 * src/hildon-button.c: (hildon_button_set_property),
6841 (hildon_button_class_init), (hildon_button_new_full),
6842 (hildon_button_set_arrangement): Added "arrangement-flags"
6845 Make the HildonButtonFlags a construction-only property, to allow
6846 subclasses to set them properly.
6848 2008-07-21 Tim Janik <timj@imendio.com>
6850 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6851 insertion position after backspace, so additional digits are appended,
6854 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6856 * src/hildon-pannable-area.c,
6857 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6858 TODO list, it was complete and removed the g_debug and g_print
6861 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6863 Added the movement modes to the hildon-pannable-area, with this
6864 modes the developers can control in which directions the widget
6865 can scroll. They can also connect to signals in order to do
6866 something when that happens, allowing applications scroll. There
6867 is an example uploaded showing how to use it.
6869 * examples/Makefile.am:
6870 * examples/hildon-pannable-area-example-4.c: Added this example of
6871 an application using the modes.
6873 * src/hildon-marshalers.list: Added a new marshaller for the new
6876 * src/hildon-pannable-area.h: Added new enumerations and flags in
6877 order to control the movement modes and the new signals to warn
6878 about the movements in the area.
6880 * src/hildon-pannable-area.c:
6881 (hildon_pannable_axis_scroll),
6882 (hildon_pannable_area_scroll),
6883 (hildon_pannable_area_motion_notify_cb),
6884 (hildon_pannable_area_get_property),
6885 (hildon_pannable_area_set_property),
6886 (hildon_pannable_area_map),
6887 (hildon_pannable_area_class_init),
6888 (hildon_pannable_area_init),
6889 (hildon_pannable_area_jump_to): Added the modes to control the
6890 movement in the widget. We have added properties to control it,
6891 signals to warn about the movements and refactored some code.
6893 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6895 Changes required in order to allow vfast_factor set to zero to
6898 * src/hildon-pannable-area.c:
6899 (hildon_pannable_area_button_press_cb): Changed the condition, it
6900 is required for not allowing click when vfast_factor is zero.
6901 (hildon_pannable_area_timeout): Initialized velocity variables
6902 when we stop moving, it was less than 1 but not zero and we need
6903 to check zero in some situations.
6904 (hildon_pannable_area_class_init): Changed the default value of
6905 the speed factor, now the button_press is just sent in case the
6906 speed is 2 per cent of the max speed.
6907 (hildon_pannable_area_init): Initialization with 0.
6909 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6911 * src/hildon-pannable-area.c,
6912 (hildon_pannable_area_get_topmost): replaced
6913 gdk_window_get_children with gdk_window_peek_children, this way we
6914 do not have to free the list because it is not a copy.
6916 (hildon_pannable_axis_scroll),
6917 (hildon_pannable_area_scroll),
6918 (hildon_pannable_area_timeout),
6919 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6920 two parameters that were only used inside the
6921 hildon_pannable_area_scroll function.
6923 * examples/hildon-pannable-area-example.c,
6924 (get_sawtooth_label): Fixed small memory leak.
6926 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6928 More checks for the case where the overshoot is bigger than the
6931 * src/hildon-pannable-area.c:
6932 (hildon_pannable_draw_vscroll),
6933 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6934 to draw the slider of the scrollbar under the other scrollbar.
6935 (hildon_pannable_area_expose_event): added new checks to control
6936 the drawing of the overshooting area rectangle, in case it is too
6937 big for the area of the widget.
6938 (hildon_pannable_area_size_allocate): add more checks to avoid
6939 setting a position to the child widget outside the area.
6941 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6943 * src/hildon-pannable-area.c
6944 (hildon_pannable_area_size_allocate): Added conditions to control
6945 when overshooting is bigger than the allocated space for the
6946 children, this avoids negative allocations.
6948 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6950 * doc/hildon-docs.sgml
6952 * examples/Makefile.am
6953 * examples/hildon-button-example.c
6955 * src/hildon-button.c
6956 * src/hildon-button.h
6957 * src/hildon.h: Initial version of the new HildonButton widget,
6960 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6962 * src/hildon-pannable-area.c:
6963 (hildon_pannable_area_button_press_cb),
6964 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6965 (hildon_pannable_area_motion_notify_cb),
6966 (hildon_pannable_area_button_release_cb),
6967 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6968 (hildon_pannable_area_jump_to_child):
6970 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6972 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6974 * examples/Makefile.am
6975 * examples/hildon-pannable-area-touch-grid-example.c
6976 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6977 the Hildon Touch List and Hildon Touch Grid using the
6978 HildonPannableArea widget.
6980 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6982 * src/hildon-pannable-area.c,
6983 (hildon_pannable_area_button_press_cb),
6984 (hildon_pannable_area_refresh),
6985 (hildon_pannable_area_scroll),
6986 (hildon_pannable_area_motion_notify_cb),
6987 (hildon_pannable_area_button_release_cb),
6988 (hildon_pannable_area_expose_event),
6989 (hildon_pannable_area_add),
6990 (hildon_pannable_area_remove),
6991 (hildon_pannable_area_realize),
6992 (hildon_pannable_area_size_allocate),
6993 (hildon_pannable_area_class_init),
6994 (hildon_pannable_area_init),
6995 (hildon_pannable_area_scroll_to_child),
6996 (hildon_pannable_area_jump_to_child): Fixed the problem of
6997 removing the child from the GtkBin, we have rearranged the widget
6998 hierarchy, now there is no GtkAlignment which was not doing
6999 anything interesting but breaking some of the assumptions of
7000 GtkContainer. Now developers if they want to add a GtkAlignment
7001 they could, but it is not inside the area.
7003 We had to review the whole allocation/expose process, now it is
7004 improved and we save at least three signals which would be saving
7005 some time when rendering the widget. The allocation of the
7006 scrollbars is now made in the allocate method as usual.
7008 We have also added some conditions in order to control when there
7009 is no child of the pannable area. Maybe we will need more work
7012 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7014 * src/hildon-pannable-area.c,
7015 (hildon_pannable_area_dispose): Released the fade-out timeout when
7016 disposing the widget.
7018 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7020 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7021 zero, we are going to use that property in order to deactivate the
7023 (hildon_pannable_axis_scroll),
7024 (hildon_pannable_area_size_allocate): Added conditions to control
7025 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7026 call, now it is called in all situations and we can remove calls
7027 in the allocate method.
7028 (hildon_pannable_area_map): Control the situation when
7029 overshoot_max is zero, we do not need the timeout.
7030 (hildon_pannable_area_class_init): Added documentation in order to
7031 point out that setting zero to overshoot_max means deactivate
7034 NOTE: removed trailing whitespaces from my previous comments of
7037 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7039 * src/hildon-pannable-area.c
7040 (hildon_pannable_area_get_property),
7041 (hildon_pannable_area_set_property),
7042 (hildon_pannable_area_map),
7043 (hildon_pannable_area_class_init),
7044 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7045 to cause the widget give a hint about its panning abilities upon
7048 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7050 * src/hildon-pannable-area.c: Several documentation improvements.
7052 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7054 * src/hildon-program.c
7055 * src/hildon-stackable-window.c: Update documentation.
7057 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7059 * src/hildon-stackable-window.c (get_previous_window_if_last):
7060 Renamed get_last_window()
7061 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7062 (hildon_stackable_window_unset_program):
7064 (get_previous_window_if_last):
7065 Detect if the window hasn't been added to a HildonProgram.
7067 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7069 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7071 * src/hildon-pannable-area.c
7072 (hildon_pannable_area_button_press_cb),
7073 (hildon_pannable_axis_scroll),
7074 (hildon_pannable_area_scroll),
7075 (hildon_pannable_area_timeout),
7076 (hildon_pannable_calculate_vel_factor),
7077 (hildon_pannable_area_get_property),
7078 (hildon_pannable_area_set_property),
7079 (hildon_pannable_area_class_init),
7080 (hildon_pannable_area_init),
7081 (hildon_pannable_area_scroll_to),
7082 (hildon_pannable_area_jump_to),
7083 (hildon_pannable_area_scroll_to_child),
7084 (hildon_pannable_area_jump_to_child):
7085 * src/hildon-pannable-area.h: Added the new API functions:
7086 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7087 hildon_pannable_area_scroll_to_child,
7088 hildon_pannable_area_jump_to_child
7091 * examples/Makefile.am
7092 * examples/hildon-pannable-area-example-2.c
7093 * examples/hildon-pannable-area-example-3.c: Added these two new
7094 examples in order to test and show how the new APIs work.
7096 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7098 * examples/hildon-stackable-window-example.c (new_window):
7099 * src/Makefile.am (noinst_HEADERS):
7100 * src/hildon-program.c (hildon_program_go_to_root_window):
7101 * src/hildon-program.h:
7102 * src/hildon-stackable-window-private.h:
7103 * src/hildon-stackable-window.c:
7104 * src/hildon-stackable-window.h:
7105 Create hildon-stackable-window-private.h
7106 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7108 * examples/hildon-app-menu-example.c (create_menu):
7109 * examples/hildon-hvolumebar-insensitive-example.c (main):
7110 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7111 * examples/hildon-toolbar-seekbar-example.c (main):
7112 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7113 * src/hildon-banner.c (hildon_banner_set_property):
7114 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7115 Fix compilation warnings
7117 * src/hildon-window.c:
7120 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7122 * src/hildon-stackable-window.c
7123 (hildon_stackable_window_unset_program):
7124 Calculate correctly whether to show the previous window if the
7125 last one is removed from the stack.
7126 (hildon_stackable_window_go_to_root_window):
7127 Send delete events starting from the topmost window.
7128 Stop if one of the windows is not destroyed.
7130 (hildon_stackable_window_delete_event)
7131 (hildon_stackable_window_class_init):
7132 Ignore the delete event if the window is not the topmost one.
7134 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7136 * src/hildon-pannable-area.c
7137 (hildon_pannable_area_expose_event): Fixed a problem when
7138 selecting the background color of the scrollbars.
7140 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7142 * examples/hildon-stackable-window-example.c
7143 * src/hildon-stackable-window.c
7144 * src/hildon-stackable-window.h
7145 hildon_stackable_window_go_home() renamed to
7146 hildon_stackable_window_go_to_root_window()
7147 Send delete events to windows rather than closing them with
7148 gtk_widget_destroy()
7150 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7152 * src/hildon-pannable-area.c
7153 (hildon_pannable_area_button_release_cb): Fix overshooting in
7156 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7158 * src/hildon-pannable-area.c
7159 (hildon_pannable_area_init): Initially show the scroll indicators.
7160 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7162 Add initial effect showing the widget is pannable.
7164 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7166 * src/hildon-pannable-area.c
7167 (hildon_pannable_area_class_init)
7168 (hildon_pannable_area_set_property)
7169 (hildon_pannable_area_get_property)
7170 (hildon_pannable_area_button_press_cb):
7171 New 'velocity_fast_factor' property to decide which velocity is
7174 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7176 * src/hildon-pannable-area.c
7177 (hildon_pannable_draw_hscroll)
7178 (hildon_pannable_draw_vscroll):
7179 Use float variables to calculate the size of the scrollbars to
7180 avoid error propagation and resizing during scrolling.
7182 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7184 * src/hildon-pannable-area.c
7185 (hildon_pannable_draw_vscroll)
7186 (hildon_pannable_draw_hscroll):
7187 Define a minimum size for the scroll bars
7189 * src/hildon-stackable-window.c
7190 (hildon_stackable_window_go_home): Fix compilation warning
7191 (get_last_window): Minor optimizations
7192 (hildon_stackable_window_class_init): Fix initialization of
7195 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7197 * src/hildon-stackable-window.c: Fixed typos in doc
7199 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7201 * src/hildon-pannable-area.c
7202 (hildon_pannable_area_scroll):
7203 Calculate here whether we need to scroll instead of using the booleans
7204 that tell us whether to /draw/ the scrolling bars.
7206 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7208 * src/hildon-app-menu.h
7210 * src/hildon-app-menu.c
7211 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7212 multiple filter groups related code and API. Now we support only
7214 * examples/hildon-app-menu-example.c:
7216 Update to reflect API changes.
7218 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7220 * src/hildon-stackable-window.c
7221 (hildon_stackable_window_class_init):
7222 Add hildon_stackable_window_realize.
7223 (hildon_stackable_window_realize):
7224 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7225 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7226 to apply theming and behavior specific to HildonStackableWindow
7229 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7231 * src/hildon-note.c (hildon_note_button_release):
7232 Close information notes also when tapping on them
7234 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7236 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7237 ELASTICITY, refactor and review, fix some issues with drawing
7240 * src/hildon-pannable-area.c:
7241 (hildon_pannable_area_button_press_cb): removed the conditions to
7242 avoid clicks when overshooting. It is not required
7244 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7245 define. Refatored and reviewed the code, now we do not need to
7246 manage velocity in motion_notify.
7248 (hildon_pannable_area_motion_notify_cb): We have moved the code
7249 that controls the area_scroll to the axis_scroll function and get
7250 rid of duplicated code.
7252 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7254 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7256 (hildon_pannable_draw_vscroll),
7257 (hildon_pannable_draw_hscroll): Fixed the problems with the
7258 scrollbar drawing, now we do not use two surfaces, it is easier
7259 and saves resources.
7261 (hildon_pannable_area_get_property): Style modification.
7263 (hildon_pannable_area_class_init): Changed some default values.
7265 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7267 * src/hildon-stackable-window.c: Fix some typos in the
7270 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7272 * src/hildon-dialog.c:
7273 Change indentation style
7276 (hildon_note_button_release):
7277 Use root coordinates to check if the release event happened
7280 * src/hildon-app-menu.c
7281 (hildon_app_menu_button_release):
7282 Remove unnecessary check
7284 * examples/hildon-app-menu-example.c
7286 Add cast to fix warning
7288 * src/hildon-app-menu.c
7289 (hildon_app_menu_class_init):
7290 New inner-border style property.
7291 Set all default spacings to 16
7292 (hildon_app_menu_init):
7293 Use vertical-spacing to set the space between filter buttons and
7294 regular menu buttons.
7295 Set the default container border using the inner-border value.
7297 * examples/hildon-app-menu-example.c
7299 Don't set the menu border explicitly, now we have the inner-border
7300 style property for that.
7302 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7304 * src/hildon-app-menu.c (hildon_app_menu_init):
7305 Make the window modal
7307 * src/hildon-note.c (hildon_note_map)
7308 * src/hildon-app-menu.c (hildon_app_menu_map):
7309 Destroy the grab window if we're unable to grab the pointer
7311 * src/hildon-app-menu-private.h
7312 * src/hildon-app-menu.c
7313 (hildon_app_menu_init, hildon_app_menu_finalize)
7314 (hildon_app_menu_map, hildon_app_menu_unmap)
7315 (hildon_app_menu_button_release)
7316 (grab_transfer_window_get):
7317 Bring back the grab window
7318 (hildon_app_menu_realize):
7319 Decorate the window, set WM hint for Matchbox
7321 * src/hildon-note.c (hildon_note_realize):
7322 * src/hildon-banner.c (hildon_banner_realize):
7323 Add WM hints for Matchbox
7325 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7327 * src/hildon-app-menu-private.h
7328 * src/hildon-app-menu.c
7329 (hildon_app_menu_init, hildon_app_menu_finalize)
7330 (hildon_app_menu_map, hildon_app_menu_unmap)
7331 (hildon_app_menu_button_release):
7332 Remove the grab window, it's not needed anymore
7334 * src/hildon-program.c
7335 Fixed typo in documentation
7337 * src/hildon-app-menu.h
7338 * src/hildon-app-menu.c
7339 * examples/hildon-app-menu-example.c
7340 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7342 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7345 Added new transfer_window and close_if_pressed_outside private
7347 (hildon_note_rebuild):
7348 Don't add a cancel button to the information note. It will be
7349 closed when tapping outside
7350 Remove the comment about the OK button in the documentation
7351 (hildon_note_realize):
7352 Set the notification type hint
7353 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7354 Grab/ungrab pointer and keyboard if the note has to be closed when
7356 (hildon_note_button_release):
7357 Close the note when tapping outside (if applicable)
7359 * src/hildon-app-menu.c
7360 Grab/ungrab pointer and keyboard on map/unmap
7361 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7362 Close the menu on button release, not button press
7364 * src/hildon-banner.c
7365 (hildon_banner_set_property)
7366 (hildon_banner_check_position):
7367 Make the banner use the full width of the screen
7368 (hildon_banner_show_information)
7369 (hildon_banner_show_information_with_markup):
7370 Don't display an icon by default
7372 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7374 Added fading scrollbars and adapted all the overshooting code to
7375 horizontal scrolling. We have also fixed bugs with overshooting
7376 and current fading implementation.
7378 * src/hildon-pannable-area.c
7379 (hildon_pannable_area_scroll_indicator_fade): Time out function
7380 used to change the transparency of the scrollbars.
7382 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7383 control and fixed a problem with fading, we now remove the fade
7384 timeout before adding a new one.
7386 (hildon_pannable_axis_scroll):
7387 (hildon_pannable_area_scroll):
7388 (hildon_pannable_area_timeout): Added this functions so we can use
7389 the scroll code both for vertical and horizontal.
7391 (hildon_pannable_area_motion_notify_cb):
7392 (hildon_pannable_area_button_release_cb): Added the horizontal
7393 scrolling control, fixed a problem with the overshooting timeout.
7395 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7396 painting of the scrolls.
7398 (hildon_pannable_draw_vscroll):
7399 (hildon_pannable_draw_hscroll):
7400 (hildon_pannable_area_expose_event):
7401 Draw both scrollbars and rectangles in the overshooting area.
7403 (hildon_pannable_area_get_property):
7404 (hildon_pannable_area_set_property):
7405 Modified the overshoot property to overshoot_max
7407 (hildon_pannable_area_map):
7408 Replaced the comments symbols.
7410 (hildon_pannable_area_size_allocate):
7411 (hildon_pannable_area_class_init):
7412 (hildon_pannable_area_init): Added horizontal scroll, fading
7413 effect properties, fixed a problem when overshooting in the bottom
7416 * examples/hildon-pannable-area-example.c:
7417 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7418 looks better in the example.
7420 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7422 * src/hildon-window.c
7423 * src/hildon-window.h
7424 (hildon_window_class_init)
7425 (hildon_window_unset_program)
7426 (hildon_window_unset_program_real):
7427 Make unset_program a virtual function
7429 * src/hildon-stackable-window.c
7430 * src/hildon-stackable-window.h
7431 Added hildon_stackable_window_go_home()
7433 * examples/Makefile.am
7434 * examples/hildon-stackable-window-example.c
7435 HildonStackableWindow example
7437 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7439 * hildon-pannable-area.c: Added the overshoot property and removed
7440 the OVERSHOOT define. Fixed an indent style error.
7441 (hildon_pannable_area_motion_notify_cb):
7442 (hildon_pannable_area_get_property):
7443 (hildon_pannable_area_set_property): Add overshoot property.
7445 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7448 (hildon_pannable_area_class_init): Installed the new property.
7450 * hildon-pannable-area-example.c: Added a sawtooth function, this
7451 way it is easier to check the movement in the pannable.
7452 (get_sawtooth_label): Added this function.
7453 (main): Now we get the labels from the new get_sawtooth_label
7456 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7458 * src/hildon-app-menu.h
7459 * src/hildon-app-menu.c
7460 Renamed API variables for consistency
7462 (hildon_app_menu_popup): Use also the default window size to
7463 decide where to place the menu
7465 (hildon_app_menu_init, hildon_app_menu_class_init): New
7466 external-border style property
7468 2008-05-26 Michael Natterer <mitch@imendio.com>
7470 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7471 widget_class->tap_and_hold_setup signal slot doesn't exist any
7472 longer, stop overriding it.
7474 (hildon_time_editor_init): g_signal_connect() to the
7475 tap-and-hold-setup signal instead.
7477 (hildon_time_editor_entry_keypress): add cast to fix warning.
7479 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7481 * doc/hildon-docs.sgml
7483 * examples/Makefile.am
7484 * examples/hildon-app-menu-example.c
7486 * src/hildon-app-menu-private.h
7487 * src/hildon-app-menu.c
7488 * src/hildon-app-menu.h
7490 New HildonAppMenu widget
7492 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7494 Rearranged the inheritance of the pannable area, now it inherits
7495 from GtkBin. This will allow us to control the event_window and
7496 the allocation process of the widget, required for some effects.
7498 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7499 GtkBin structures. * src/hildon-pannable-area.c: Added the
7500 event_window variable.
7501 (hildon_pannable_area_button_press_cb):
7502 (hildon_pannable_area_button_release_cb):
7503 (hildon_pannable_area_motion_notify_cb):
7504 Changed the signature of the method, now we override the event
7505 callback instead of connecting to the signal.
7507 (hildon_pannable_area_realize):
7508 (hildon_pannable_area_unrealize):
7509 (hildon_pannable_area_map):
7510 (hildon_pannable_area_unmap):
7511 (hildon_pannable_area_size_allocate):
7512 Added functions to control the widget construction. We add a
7513 INPUT_ONLY window and we put it over the widgets inside the
7514 container, this event_window handles the events.
7516 (hildon_pannable_area_class_init):
7517 Replaced the signal connections with overrides of the event
7520 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7522 Bouncing effect added when touching the borders, you can change
7523 the elasticity of the border changing the ELASTICITY define.
7525 * src/hildon-pannable-area.c: Added ELASTICITY define.
7526 (hildon_pannable_area_timeout): Added inverse velocity when
7527 touching the border of the child widget, that causes a bounce.
7529 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7531 Improved performance, we now do not go to the X server in order to
7532 get the list of window children. Apparently the effect is the
7533 same, we have to be careful and check if this breaks something in
7536 * src/hildon-pannable-area.c:
7537 (get_ordered_children): Removed this function.
7538 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7539 the children windows function with gdk_window_get_children.
7541 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7543 * src/hildon-pannable-area.c:
7544 (hildon_pannable_area_dispose): Fixed a crash when closing the
7545 window and kinetics is activated.
7547 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7549 * src/hildon-pannable-area.h
7550 * src/hildon-pannable-area.c
7551 Changed indentation style to meet the one used in Hildon
7553 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7555 Reviewed the interaction of the AUTO mode, now we use the time
7556 attribute of the events and calculate the velocity in the motion,
7557 doing a gimp like calculation. The velocity is calculated in each
7558 motion event using the last velocity and the current one, the
7559 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7561 * src/hildon-pannable-area.c: Replaced the time based algorithm
7563 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7564 timeout for the AUTO mode when we are still moving the cursor. We
7565 added also the velocity calculation in this function.
7566 (hildon_pannable_area_button_release_cb): launch the timeout in
7567 case we are in AUTO mode. There are still some constants here that
7568 come from the old implementation that should be reviewed and
7571 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7573 * doc/hildon-docs.sgml
7576 * src/hildon-stackable-window.c
7577 * src/hildon-stackable-window.h
7579 New HildonStackableWindow widget
7581 * examples/hildon-dialog-example.c
7582 * examples/hildon-pannable-area-example.c
7585 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7587 * src/hildon-dialog.c
7588 (hildon_dialog_new_with_buttons): New constructor.
7590 * examples/hildon-dialog-example.c
7591 (main): Update the example to use the new
7592 hildon_dialog_new_with_buttons().
7594 * examples/hildon-pannable-area-example.c
7595 (main): Update example.
7597 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7599 * doc/hildon-docs.sgml
7601 Added HildonPannableArea to the documentation.
7603 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7605 * doc/visual_index.xml
7606 Fix reference to HildonLoginDialog in documentation
7608 * doc/hildon-docs.sgml
7610 * examples/Makefile.am
7611 * examples/hildon-dialog-example.c
7613 * src/hildon-dialog.c
7614 * src/hildon-dialog.h
7616 New HildonDialog widget.
7618 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7620 * src/hildon-pannable-area.c
7621 Merge latest changes (r4318, r4342) from libmokoui trunk
7623 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7625 * examples/Makefile.am
7626 * examples/hildon-pannable-area-example.c
7628 * src/hildon-pannable-area.c
7629 * src/hildon-pannable-area.h
7631 New HildonPannableArea widget.
7633 2008-04-15 18:05:19 <timj@imendio.com>
7635 * src/hildon-banner.c: revert the recent change, that introduced
7636 gtk_window_present() calls. this reopens:
7637 Bug 78481 - [freetest] information banners are hidden under browser menu
7638 But resolves another variant of:
7639 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7641 2008-04-15 13:21:13 <timj@imendio.com>
7643 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7644 recreated its layout, spotted by Kris. this fixes all remaining
7645 artefacts and stability issues with the banner code. in particular:
7646 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7648 2008-04-14 16:52:59 <timj@imendio.com>
7650 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7651 operating on unrealized widgets, fixes:
7652 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7654 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7656 2008-04-09 Kristian Rietveld <kris@imendio.com>
7658 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7659 makes banner disappear.
7660 Fixes: NB#79182: info banner flickering with certain message lengts.
7662 * src/hildon-banner.c (hildon_banner_constructor),
7663 (hildon_banner_init), (hildon_banner_set_text),
7664 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7665 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7666 FALSE, reset size requests of label and banner,
7667 (force_to_wrap_truncated): when the text is too wide, always enforce
7668 the maximum possible width instead of recalculating it from the
7669 layout; enforce the maximum banner height of 3 lines,
7670 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7671 nicer wrapping and no truncated chars if space gets tight.
7673 * src/hildon-banner-private.h: add has_been_wrapped and
7674 has_been_truncated fields.
7676 2008-04-07 Sven Herzberg <sven@imendio.com>
7678 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7679 local values in hildon_date_editor_size_allocate
7681 * src/hildon-date-editor.c: moved the real allocation code into the
7684 2008-04-07 Sven Herzberg <sven@imendio.com>
7686 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7687 local values in hildon_date_editor_size_allocate
7689 * src/hildon-date-editor.c: merged the two if() branches together
7691 2008-04-07 Sven Herzberg <sven@imendio.com>
7693 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7694 local values in hildon_date_editor_size_allocate
7696 * src/hildon-date-editor.c: changed the arguments of the if()
7699 2008-04-07 Sven Herzberg <sven@imendio.com>
7701 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7702 local values in hildon_date_editor_size_allocate
7704 * src/hildon-date-editor.c: split the calculation of the allocation
7705 from the real allocation
7707 2008-03-27 Michael Natterer <mitch@imendio.com>
7709 Fixes: NB#81696: The passcode is not overwritten even after
7712 * src/hildon-code-dialog.c
7713 (hildon_code_dialog_button_clicked)
7714 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7715 because that doesn't overwrite selected text. Instead, emit the
7716 "commit" signal on the entry's im_context so the entry's normal
7717 insert logic is triggered. Set the cursor to the end of the entry
7718 after each insert operation so that we *only* insert in the middle
7719 of the text if something was selected.
7721 2008-03-27 Michael Natterer <mitch@imendio.com>
7723 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7724 selector cannot be opened
7726 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7727 when the popup color selector is created. Please connect to this
7728 signal in order to set the dialog's help ID.
7730 2008-03-25 Sven Herzberg <sven@imendio.com>
7732 Fixes: MB#1212: Hide info banners (infoprints) on click
7734 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7735 extracted the close event simulation into an extra function
7736 (hildon_banner_button_press_event): simulate a close event and destroy
7737 the widget if the event wasn't handled
7738 (hildon_banner_class_init): added the button_press_event handler
7739 (hildon_banner_init): added button-press events to the widget
7741 2008-03-25 Sven Herzberg <sven@imendio.com>
7743 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7744 Patch from: Mohammad Anwari <mdamt@maemo.org>
7746 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7747 instead of the right in RTL mode
7748 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7749 breadcrumb button list in RTL mode
7750 * src/hildon-caption.c: mirror the appearance of the caption widget in
7752 * src/hildon-date-editor.c: mirror appearance of the date editor in
7754 * src/hildon-time-editor.c: mirror appearance of the time editor in
7756 * src/hildon-window.c: fix the position of the popup in RTL mode
7758 2008-03-25 Sven Herzberg <sven@imendio.com>
7760 Amendment to the fix of NB#22072. Fix compilation.
7762 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7764 2008-03-19 Sven Herzberg <sven@imendio.com>
7766 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7769 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7770 timeout id properly when the timeout will disappear this leaves no
7771 artifacts around in the destroy(); there will only be the timeout
7772 created by hildon_banner_ensure_timeout() and adding a new timeout
7773 will also work if the timeout gets removed because the timeout_handler
7776 2008-03-19 Michael Natterer <mitch@imendio.com>
7778 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7780 * src/hildon-volumebar.c
7781 * src/hildon-vvolumebar.c
7782 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7783 the widget becomes focussable at all.
7785 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7786 set the focus to wither the mute button or the volumebar.
7788 Remove own "can-focus" property and instead listen to
7789 notify::can-focus in order to update the widget's state.
7791 Implement GtkWidget::focus() and make sure we can also *leave* the
7792 widget, not only enter it, depending on volumebar orientation and
7793 requested focus direction.
7795 Clean up set_mute() to cooperate nicely with all the above.
7797 2008-03-04 Michael Natterer <mitch@imendio.com>
7799 Fixes: NB#78481: information banners are hidden under browser menu
7801 * src/hildon-banner.c: call gtk_window_present() on the banners so
7802 they are risen if they are already visible.
7804 2008-03-03 Sven Herzberg <sven@imendio.com>
7806 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7808 * examples/hildon-window-menu-example.c: (main): extended the window
7809 menu example to serve as a testcase for automatically added
7810 accelerator groups, too
7811 * src/hildon-window.c: (hildon_window_add_accel_group),
7812 (hildon_window_set_menu): added patch by Tommi Komulainen
7814 2008-03-03 Sven Herzberg <sven@imendio.com>
7816 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7818 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7819 knowledge about the border allocators used within GTK+
7821 2008-02-26 Sven Herzberg <sven@imendio.com>
7823 Fixes: MB#2981: Build with asserts broken
7825 * src/hildon-date-editor.c,
7826 * src/hildon-number-editor.c,
7827 * src/hildon-time-editor.c,
7828 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7829 the proper GType instance check
7831 2008-02-25 Sven Herzberg <sven@imendio.com>
7833 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7835 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7836 * examples/hildon-window-menu-example.c: (main): explicitly show
7838 * src/hildon-window.c:
7839 (hildon_window_set_main_menu): moved most of the code from set_menu()
7840 to this place; skipped the call to gtk_widget_show_all(); also didn't
7841 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7842 (hildon_window_set_menu): removed most of the code, just keep the
7843 questionable gtk_widget_show_all()
7844 * src/hildon-window.h: added the new function and deprecate the old
7847 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7853 * debian/changelog: Updating.
7855 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7858 * pkgconfig/Makefile.am:
7859 * pkgconfig/hildon.pc.in:
7862 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7863 use newly created API_MAJOR_VERSION.
7865 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7871 * debian/changelog: Updating.
7873 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7875 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7877 Add outer_border style property, we use it but don't define it (!).
7881 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7883 * examples/hildon-bread-crumb-trail-example.c (main):
7887 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7889 Fix logic for the bread crumb trail node removal.
7893 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7899 * debian/changelog: Updating.
7901 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7903 Patch by Alejandro to get/set passwords dialogs accesibility.
7905 * hildon-1/src/hildon-get-password-dialog.c:
7906 * hildon-1/src/hildon-set-password-dialog.c:
7907 Set atk_set_name to the passwd entries in order to allow
7908 accessibility by name on this entries.
7910 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7915 * debian/control: Updating gtk dep.
7917 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7919 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7920 USE_MAEMO_GTK is enabled.
7922 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7924 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7925 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7927 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7933 * debian/changelog: Updating.
7935 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7937 * examples/Makefile.am:
7938 * examples/hildon-logical-color-example.c:
7939 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7940 applied + adding a test case. Fixes: NB#71660.
7942 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7944 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7945 to be visible, fixes warning on map for windows without toolbars.
7947 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7949 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7950 2.11.0, add a check for that besides the MAEMO_GTK check.
7952 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7958 * debian/changelog: Updating.
7960 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7962 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7963 visibility. Fixes: NB#70842 and MB#615.
7965 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7967 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7968 set the separator as no-show-all so it doesn't unintentionally appear when
7969 someone does a show_all.
7971 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7973 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7974 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7975 toplevel item. Fixes: NB#62031
7977 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7979 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7980 fix the name of the function in the docs.
7982 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7988 * debian/changelog: Updating.
7990 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7992 * examples/hildon-banner-long-example.c: Adding a test-case for long
7995 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7997 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7999 * src/hildon-color-chooser-dialog.c:
8000 * src/hildon-color-chooser.c:
8001 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8002 memory leaks in font selector and color selector. Fixes: NB#70499 and
8005 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8007 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8009 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8011 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8012 little bit bigger. Fixes: #NB63694.
8014 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8020 * debian/changelog: Updating.
8022 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8025 * doc/hildon-docs.sgml:
8026 * doc/images/bread-crumb-trail.png:
8027 * doc/images/calendar-popup.png:
8028 * doc/images/caption.png:
8029 * doc/images/code-dialog.png:
8030 * doc/images/color-button.png:
8031 * doc/images/color-chooser-dialog.png:
8032 * doc/images/color-chooser.png:
8033 * doc/images/controlbar.png:
8034 * doc/images/date-editor.png:
8035 * doc/images/font-selection-dialog.png:
8036 * doc/images/get-password-dialog.png:
8037 * doc/images/hvolumebar.png:
8038 * doc/images/login-dialog.png:
8039 * doc/images/note.png:
8040 * doc/images/number-editor.png:
8041 * doc/images/range-editor.png:
8042 * doc/images/seekbar.png:
8043 * doc/images/set-password-dialog.png:
8044 * doc/images/sort-dialog.png:
8045 * doc/images/time-editor.png:
8046 * doc/images/time-picker.png:
8047 * doc/images/vvolumebar.png:
8048 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8049 Adding the bread-crumb-trial and helpers to the documentation.
8051 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8053 * examples/hildon-find-toolbar-example.c:
8054 * src/hildon-find-toolbar.c:
8055 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8056 actually continue firing the other handlers if connected. Adding a new
8058 hildon_find_toolbar_get_last_index that gets the index of the most
8059 recently added (last) item. Fixes: NB#52301.
8061 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8063 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8064 behaviour. Fixes: NB#68610.
8066 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8068 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8071 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8073 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8074 when realizing the banner. Should make the infonbanner effect a bit more
8077 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8079 * src/hildon-volumebar.c:
8080 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8081 hildon_volumebar_set_range_insensitive_message and
8082 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8084 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8086 * src/hildon-window.c: Fixing the border freeing on destroy.
8088 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8090 * src/hildon-code-dialog-private.h:
8091 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8092 kw keyboard support in HildonCodeDialog.
8094 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8100 * debian/changelog: Updating.
8102 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8104 * src/hildon-date-editor.c:
8105 * src/hildon-number-editor.c:
8106 * src/hildon-private.c:
8107 * src/hildon-private.h:
8108 * src/hildon-time-editor.c:
8109 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8110 handling in subclassed composite widgets. Fixes: NB#66628.
8112 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8114 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8115 from destroy_ callback as it introduces problems in async dbus signal
8116 handlers. Fixes NB#66673.
8118 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8120 * examples/hildon-hvolumebar-example.c:
8121 * src/hildon-volumebar.c: Improving the focus handling in the
8122 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8123 set_property accessor so that "mute" property can be actually set. I'm
8124 scared that nobody noticed it's totally broken.
8126 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8128 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8131 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8133 * src/hildon-calendar.c:
8134 * src/hildon-number-editor.c:
8135 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8136 matches the spec of 6 chars per second. Fixes: NB#60489.
8138 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8140 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8141 gtk_style_lookup_color sometime returns FALSE even though color was
8142 found and values were filled properly. Weird. Removing the warning for the
8145 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8147 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8148 expand vertically. Adding some extra space to the find toolbar buttons to
8149 make them thumbable. Fixes NB#66060.
8151 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8153 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8154 popup with "Ok" and "Cancel". Fixes NB#59299.
8156 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8158 * src/hildon-calendar.c: Process all window updates before executing next
8159 timeout. Fixes: NB#54146.
8161 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8167 * debian/changelog: Updating.
8169 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8171 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8172 the client event and ignore it, since we use the delete event to close
8175 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8177 * src/hildon-helper.c: Remove the bogus warning about color not being
8178 found. Fixes NB#58352.
8180 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8182 * examples/Makefile.am:
8183 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8184 HildonSeekbar widget inside a toolbar.
8186 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8188 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8189 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8190 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8191 don't want to be closed by non-temporary windows on map.
8193 Also use G_DEFINE_TYPE instead of manually typed code.
8195 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8202 * debian/rules: Updating.
8204 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8206 * examples/Makefile.am:
8207 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8208 bug NB#61128. Strangely it works.
8210 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8212 * src/hildon-date-editor.c: When the date editor entry has been changed
8213 but the numbers of characters < max, turn off the skip validation flag.
8214 Prevents a situation when we enter first a valid year and later re-write
8215 it with an invalid one. Fixes NB#60154.
8217 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8219 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8220 code dialog. Fixes NB#64355.
8222 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8224 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8225 switching the page. Fixes NB#49374.
8227 * examples/Makefile.am:
8228 * examples/hildon-wizard-dialog-example.c: Adding an example for
8229 HildonWizardDialog that shows how to handle manual sensitivity setting on
8232 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8236 * src/hildon-version.h.in:
8237 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8239 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8241 * src/hildon-volumebar.c: Updating the docs.
8243 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8249 * debian/changelog: Updating.
8251 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8253 * src/hildon-find-toolbar.c:
8254 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8255 selected item: hildon_find_toolbar_set_active,
8256 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8257 hildon_find_toolbar_get_active_iter . They correspond to respective
8258 GtkComboBox functions.
8260 * examples/Makefile.am:
8261 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8264 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8266 * examples/Makefile.am:
8267 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8270 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8271 when font size > 32 and we pack a focusable widget inside. Actually using
8272 the default response would work too, but since we don't show default
8273 response state in any way (no theming) it would not be visible to the
8274 user. Fixes NB#63430.
8276 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8278 * src/hildon-date-editor.c: Adding the missing variable setter in the
8279 set_property handler. Fixes NB#54182.
8281 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8283 * src/hildon-window.h: Changing the long key press time from 1500ms to
8284 800ms as requested in NB#63700. I have a bad feeling about this, let's
8285 see... Fixes NB#63700.
8287 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8289 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8290 hildon_time_picker_map, hildon_time_picker_realize,
8291 hildon_time_picker_style_set): Split the contents of map to more
8292 appropriate functions; set window decorations on realize and update
8293 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8295 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8300 * debian/changelog: Updating.
8302 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8304 * src/Makefile.am: fixed installation of the header files
8306 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8312 * debian/changelog: Updating.
8314 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8316 * configure.ac: Removing some remaining of --enable-xan.
8318 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8320 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8321 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8323 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8324 2.10.12-osso6 because the move-focus signal needs to be available in
8327 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8329 * examples/Makefile.am:
8330 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8331 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8332 fine. Prolly NB#61128 is fixed now.
8334 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8336 * src/hildon-volumebar.c:
8337 * src/hildon-volumebar.h: Adding the
8338 hildon_volumebar_set_range_insensitive_message and
8339 hildon_volumebar_set_range_insensitive_messagef functions to set
8340 insensitive message on the slider of the volumebar. Fixes NB#61129.
8342 * examples/Makefile.am:
8343 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8344 test the new insensitive messsage functionality on HildonVolumebar.
8346 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8348 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8351 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8353 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8354 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8355 button on after clearing the trail.
8357 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8359 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8361 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8363 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8364 by splitting the installed headers in generated and non-generated groups. Use
8365 only the non-generated headers to create the hildon-enum-types.h file.
8367 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8369 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8371 * src/hildon-window.c: Hide the window before performing the destroy.
8372 Should make the app closing a little tiny bit more snappy.
8374 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8376 * src/hildon-seekbar.c: add gtkrange.h header
8377 * src/hildon-caption.c: remove unused variable
8379 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8381 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8384 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8390 * debian/changelog: Updating.
8392 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8394 * src/hildon-window.c (hildon_window_window_state_event,
8395 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8396 escape timeout on focus-out-event rather than notify::is-topmost; the
8397 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8399 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8401 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8402 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8404 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8406 * src/hildon-window: actually, you need to use the macro always, there's
8407 no private pointer in the instance structure. We should have cleaned this up
8408 when we had the chance...
8410 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8412 * src/hildon-window.c: do not get the private date from HildonWindow before
8413 it passes the g_return_if_fail check. Once it's passed the test, there's no
8414 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8415 if you are only going to access the data once. Whitespace cleanups.
8417 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8419 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8420 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8422 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8428 * debian/changelog: Updating.
8430 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8432 * src/hildon-window.c: When destroying the window, remove (if exists) the
8433 escape timeout handler. Fixes #NB59276.
8435 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8437 * src/hildon-banner.c: When realizing the widget, set the window
8438 transiency. Setting the transiency in the gobject constructor is not
8439 good, as the widget is not realized at that point. Fixes: #NB56624.
8441 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8443 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8444 Add padding for future expansions.
8446 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8448 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8449 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8450 will fake an activation on the previous to the last item of the trail, so
8451 the effect can be overrided by the developer as usual.
8452 Also change the callback for the back button to do the same thing, so its
8453 effect can be overrided too. Fixes: NB#58982
8455 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8457 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8458 HildonCaption. Fixes NB#52379.
8460 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8462 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8463 the internal state of the trail after the user has had the chance of executing
8464 his handler for the signal. Specifically, it may happen that the activated button
8465 is removed and the user still lets the default handler run. This would segfault
8468 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8470 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8471 scrollbar to the preview dialog. Fixes NB#54147.
8473 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8475 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8476 max/min year properties can be altered, so the client can modify it
8477 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8479 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8481 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8482 hildonlike by default. Fixing a problem with disappearing arrows when
8483 scrolling through months and years. Fixes NB#54127.
8485 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8487 * examples/hildon-date-editor-example.c: Adding error callback to the date
8490 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8496 * configure.ac: Updating.
8498 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8500 * configure.ac: Adding a special '--enable-xan' configure option that
8501 turns off the -Werror compilation setting. Usefull for development.
8503 * src/hildon-calendar.c:
8504 * src/hildon-number-editor.c:
8505 * src/hildon-time-picker.c: Adding the 5* multiplier to
8508 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8510 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8511 instead of g_object_ref + gtk_object_sink.
8513 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8519 * debian/changelog: Updating.
8521 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8523 * src/hildon-color-chooser-dialog.c:
8524 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8525 straight from Tommi labs.
8527 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8529 * examples/hildon-finger-example.c: Correcting the header file path.
8531 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8532 the changed signal. Fixes a small memory leak.
8534 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8538 * src/hildon-banner.c: Importing several usefull fixes from the
8539 ubuntu-mobile branch.
8541 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8543 * examples/Makefile.am:
8544 * examples/hildon-finger-example.c: Adding a finger-checking code
8547 * src/hildon-font-selection-dialog.c: Do not allocate the color
8548 structure using the g_new. Fixes NB#54061.
8550 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8552 * src/hildon-helper.c: Correcting tabs in file.
8554 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8556 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8557 control the visibility of the children.
8559 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8561 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8567 * debian/changelog: Updating.
8569 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8571 * src/hildon-bread-crumb-trail.c:
8572 (hildon_bread_crumb_trail_size_allocate):
8574 Make the back button always a square.
8576 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8578 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8579 from the .c file as it's a private file.
8581 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8583 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8584 uses slightly bigger height.
8586 * src/hildon-font-selection-dialog.c: Adding some checks before
8587 freeing memory in the font selection dialog.
8589 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8591 * src/hildon-font-selection-dialog.c: Adding a small check when
8594 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8595 buttons sensitivity on page switching.
8597 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8599 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8600 internal details of adding a bread crumb to the trail.
8602 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8608 * debian/changelog: Updating.
8610 * src/hildon-bread-crumb-trail.h:
8611 * src/hildon-bread-crumb.h: Changing the API guard to
8612 HILDON_ENABLE_UNSTABLE_API.
8614 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8622 * src/hildon-helper.h: Updating.
8624 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8632 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8636 * src/hildon-helper.h: Small fix to make the package actually compile.
8638 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8640 * src/hildon-bread-crumb-trail.h:
8641 * src/hildon-bread-crumb.h:
8643 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8644 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8646 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8648 * examples/hildon-bread-crumb-trail-example.c:
8650 * src/hildon-bread-crumb-trail.c:
8651 * src/hildon-bread-crumb-trail.h:
8652 * src/hildon-bread-crumb.c:
8653 * src/hildon-bread-crumb.h:
8654 * src/hildon-marshalers.list:
8655 * src/hildon-bread-crumb-widget.c:
8656 * src/hildon-bread-crumb-widget.h:
8658 Slight change in the widget design. The bread crumb trail API is
8659 unchanged, but HildonBreadCrumb is now an interface. A *private*
8660 implementation, hildon-bread-crumb-widget, is provided and used
8661 internally by the trail for the push_text/push_icon functions.
8663 The generic push API is still available, so anyone can implement
8664 and use its own bread crumb widget.
8666 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8668 * debian/rules: Fixing the shlibs.
8670 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8672 * src/hildon-banner.c: Fixing a problem with timed banners having
8673 their parrent destroyed before they are.
8675 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8677 * src/hildon-bread-crumb.c:
8678 * src/hildon-bread-crumb.h:
8680 Make the get_natural_size function a vfunc.
8682 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8684 * src/hildon-bread-crumb.c:
8685 * src/hildon-bread-crumb-trail.c:
8689 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8696 * debian/changelog: Updating for release.
8698 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8700 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8701 don't leak the pango layout.
8703 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8706 * examples/hildon-bread-crumb-trail-example.c:
8710 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8712 * debian/changelog: Removing the bug-fixed entries that were actually
8713 resolved as WONTFIX.
8715 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8718 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8720 * src/hildon-bread-crumb-trail.c:
8721 * src/hildon-bread-crumb-trail.h:
8722 * src/hildon-bread-crumb.c:
8723 * src/hildon-bread-crumb.h:
8727 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8729 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8730 until it's passed the type check.
8732 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8734 * examples/hildon-bread-crumb-trail-example.c
8738 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8740 * examples/Makefile.am
8741 * examples/hildon-bread-crumb-trail-example.c
8743 * src/hildon-bread-crumb-trail.c
8744 * src/hildon-bread-crumb-trail.h
8745 * src/hildon-bread-crumb.c
8746 * src/hildon-bread-crumb.h
8748 New HildonBreadCrumbTrail widget.
8750 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8752 * src/hildon-range-editor.c (hildon_range_editor_init),
8753 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8754 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8755 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8756 hildon_time_editor_class_init, hildon_time_editor_init),
8757 src/hildon-get-password-dialog.c (invalid_input,
8758 hildon_get_password_set_property, hildon_get_password_get_property,
8759 create_contents, hildon_get_password_dialog_set_max_characters),
8760 src/hildon-set-password-dialog.c (create_contents),
8761 src/hildon-date-editor.c (hildon_date_editor_init),
8762 src/hildon-login-dialog.c (hildon_login_dialog_init),
8763 src/hildon-number-editor.c (hildon_number_editor_init),
8764 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8765 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8766 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8767 configure option and adding the respective checks in the code.
8768 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8769 hildon_calendar_drag_data_received): fixed some build warnings.
8771 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8773 * debian/changelog: A 1.0.0 release notes.