1 2009-06-15 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-app-menu.c
4 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
5 New style property to set the size of the group of filter buttons.
7 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
9 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
14 * configure.ac: Bump version.
15 * debian/changelog: Updates.
17 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
19 * hildon/hildon-main.c: Minor documentation fixes.
21 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
23 * doc/hildon-sections.txt:
24 * hildon/hildon-defines.h: Document the defines, organize them,
25 and mark deprecations as such.
27 Fixes: MB#4463 (Hildon size #defines are undocumented)
29 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
31 * hildon/hildon-animation-actor.c:
32 * hildon/hildon-app-menu.c:
33 * hildon/hildon-button.c:
34 * hildon/hildon-date-editor.c:
35 * hildon/hildon-dialog.c:
36 * hildon/hildon-edit-toolbar.c:
37 * hildon/hildon-entry.c:
38 * hildon/hildon-program.c:
39 * hildon/hildon-remote-texture.c:
40 * hildon/hildon-stackable-window.c:
41 * hildon/hildon-text-view.c:
42 * hildon/hildon-touch-selector.c:
43 * hildon/hildon-window-stack.c:
44 * hildon/hildon-window.c:
46 Remove redundant "represents" wording from most of the documentation.
48 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
50 2009-06-12 Alberto Garcia <agarcia@igalia.com>
55 * hildon/hildon-banner-private.h
56 * hildon/hildon-banner.c:
57 Move HildonBannerPrivate to hildon-banner.c and remove
58 hildon-banner-private.h
59 Use a bit field to store private booleans.
61 2009-06-12 Alberto Garcia <agarcia@igalia.com>
63 * hildon/hildon-app-menu.c (hildon_app_menu_map):
64 Don't install a new idle function if there's already one
69 2009-06-11 Alberto Garcia <agarcia@igalia.com>
71 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
72 (+legacy_menu_realized, +legacy_menu_unmapped)
73 (+set_legacy_menu_type):
74 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
75 they can be identified by the window manager.
77 Fixes: NB#101437 (Invoking CSM on the left side of page area is
78 displayed in wrong location)
80 Fixes: MB#4563 (Popup menu won't locate at the left side of the
83 2009-06-11 Alberto Garcia <agarcia@igalia.com>
85 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
87 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
90 2009-06-11 Alberto Garcia <agarcia@igalia.com>
92 * hildon/hildon-code-dialog.c
93 * hildon/hildon-date-editor.c
94 * hildon/hildon-number-editor.c
95 * hildon/hildon-seekbar.c
96 * hildon/hildon-stackable-window.c
97 * hildon/hildon-window.c:
98 Misc documentation updates
100 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
102 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
103 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
105 Fixes: NB#117931 (Theming issues in accounts dialogs)
107 2009-06-09 Alejandro G. Castro <alex@igalia.com>
109 * hildon/hildon-pannable-area.c,
110 (hildon_pannable_area_button_release_cb): Changed the coordinates
111 of the original release in case we want to discard the release,
112 some widgets in Fremantle do not handle the leave-notify.
114 2009-06-09 Alejandro G. Castro <alex@igalia.com>
116 * hildon/hildon-pannable-area.c,
117 (hildon_pannable_area_button_release_cb): Reviewed the logic of
118 the release using the last refactored functions and avoiding the
119 movement if an element was selected.
121 2009-06-09 Alejandro G. Castro <alex@igalia.com>
123 * hildon/hildon-pannable-area.c,
124 (hildon_pannable_area_check_move),
125 (hildon_pannable_area_handle_move),
126 (hildon_pannable_area_motion_notify_cb): Refactored the
127 motion_notify method using a couple of new functions.
129 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
131 * hildon/hildon-date-selector.c:
132 (hildon_date_selector_construct_ui):
133 * hildon/hildon-time-selector.c:
134 (hildon_time_selector_constructor):
135 * hildon/hildon-touch-selector-entry.c:
136 (hildon_touch_selector_entry_set_text_column),
137 (hildon_touch_selector_entry_get_text_column):
138 * hildon/hildon-touch-selector.c: (_default_print_func),
139 (hildon_touch_selector_new_text): Use
140 hildon_touch_selector_set/get_text_column() instead of
141 setting/getting the "text-column" property.
143 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
145 * doc/hildon-sections.txt: Add the new public methods below.
147 * examples/hildon-picker-button-multicolumn-example.c:
148 (create_touch_selector):
149 * examples/hildon-touch-selector-example.c: (create_selector):
150 * examples/hildon-touch-selector-multi-cells-example.c:
152 Use hildon_touch_selector_column_set_text_column()
154 * hildon/hildon-touch-selector-column.h:
155 * hildon/hildon-touch-selector.c:
156 (hildon_touch_selector_column_set_text_column),
157 (hildon_touch_selector_column_get_text_column):
158 Make hildon_touch_selector_column_set/get_column() public, use
159 them in the inline example, document them, and reference to them
162 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
164 * hildon/hildon-time-selector.c: Fix the docs for
165 hildon_time_selector_new_step().
167 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
169 * hildon/hildon-touch-selector.c: Improve the documentation for
170 hildon_touch_selector_append_column().
172 Fixes MB#4641 (Documentation:
173 hildon_touch_selector_append_column() ref-counting)
175 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
177 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
178 Comment out test 5, since the hildon_controlbar_set_range() range
179 check is broken and fixing it would have side effects. Also,
180 this finally fixes make distcheck.
182 Fixes: NB#101420 (Update unit tests and fix make distcheck)
184 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
186 * tests/TEST-CASES.txt: Remove other bogus test.
187 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
188 Remove bogus test that was setting/retrieving a valid value.
190 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
192 * tests/TEST-CASES.txt: Remove bogus tests.
193 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
194 Remove three bogus tests that were actually setting valid colors.
196 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
198 * configure.ac: post release version bump
199 * debian/changelog: post release version bump
201 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
206 * configure.ac: Bump version.
207 * debian/changelog: Updates.
209 2009-06-08 Christian Dywan <christian@lanedo.com>
213 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
214 Correct errors in hildon_format_file-size_for_display and use
215 translations from the hildon-fm package instead of osso-filemanager.
217 2009-06-08 Alejandro G. Castro <alex@igalia.com>
219 * hildon/hildon-pannable-area.c,
220 (hildon_pannable_area_init): Initialized new values to handle the
222 (hildon_pannable_area_adjust_value_changed): Check if the values
223 changed before even call the redraw function.
224 (hildon_pannable_area_size_allocate),
225 (hildon_pannable_axis_scroll),
226 (hildon_pannable_area_scroll),
227 (hildon_pannable_area_jump_to): Improved the diagonal movement
230 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
233 2009-06-08 Alberto Garcia <agarcia@igalia.com>
235 * examples/hildon-banner-example.c:
236 Several style updates
237 (on_animation_clicked, on_animation_idle)
238 (on_progress_clicked, on_progress_idle):
239 Add additional reference for the cases when the parent window is
242 2009-06-08 Alberto Garcia <agarcia@igalia.com>
244 * doc/hildon-sections.txt
245 * hildon/hildon-pannable-area.c
246 * hildon/hildon-banner.h
247 * hildon/hildon-banner.c: Documentation updates.
249 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
252 2009-06-05 Alejandro G. Castro <alex@igalia.com>
254 * hildon/hildon-calendar-popup.h:
255 * hildon/hildon-caption.h:
256 * hildon/hildon-code-dialog.h:
257 * hildon/hildon-controlbar.h:
258 * hildon/hildon-date-editor.h:
259 * hildon/hildon-dialog.h:
260 * hildon/hildon-get-password-dialog.h:
261 * hildon/hildon-hvolumebar.h:
262 * hildon/hildon-login-dialog.h:
263 * hildon/hildon-note.h:
264 * hildon/hildon-number-editor.h:
265 * hildon/hildon-range-editor.h:
266 * hildon/hildon-seekbar.h:
267 * hildon/hildon-set-password-dialog.h:
268 * hildon/hildon-sort-dialog.h:
269 * hildon/hildon-time-editor.h:
270 * hildon/hildon-time-picker.h:
271 * hildon/hildon-volumebar-range.h:
272 * hildon/hildon-volumebar.h:
273 * hildon/hildon-vvolumebar.h:
274 * hildon/hildon-weekday-picker.h:
275 * hildon/hildon-window.h:
276 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
277 macros with the current replacements
279 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
281 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
283 * hildon/hildon-color-button.c (hildon_color_button_init): Use
284 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
285 itself, to make it fit better with Fremantle style.
287 Fixes: NB#109878 (height and width of focus on color icon is not
288 consistent with other item in the application tool bar)
290 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
292 * hildon/hildon-touch-selector.c:
293 (hildon_touch_selector_optimal_size_request): use the current requisition
294 as the base, in order to include any possible extra widget, like the
295 hildon entry on HildonTouchSelectorEntry
297 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
299 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
301 * configure.ac: post release version bump
302 * debian/changelog: post release version bump
304 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
309 * configure.ac: Bump version.
310 * debian/changelog: Updates.
312 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
314 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
316 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
317 to ensure the banner contents are centered, instead of relying on
318 the expand and fill properties in GtkHBox.
319 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
321 Fixes: NB#108265 (Animation banner not properly centered)
323 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
325 * hildon/hildon-pannable-area.c
326 (hildon_pannable_area_initial_effect): Remove the initial_effect
327 management, check initial_hint
328 (hildon_pannable_are_expose_event): Remove the initial_hint management,
329 set initial_effect to FALSE
330 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
331 by launching the fade_timeout if the scrollbars state has changed and are
333 * examples/hildon-pannable-area-initial-hint-example.c
334 Modified to allow to remove rows too. Add and remove rows one by one.
336 2009-05-28 Alberto Garcia <agarcia@igalia.com>
338 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
339 Don't close the menu if there's an animation actor below it.
341 Fixes: NB#117927 (Application menu not usable with animation
344 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
346 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
347 "focus-on-click" from the dialog button, to avoid stealing the
348 focus from the entry.
350 Fixes: NB#118903 (Account setup wizard: Text in Search field
351 should be focused when "Region" touch list picker is reopened
354 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
356 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
357 (prepare_action_area): Completely hide the dialog separator.
359 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
361 * hildon/hildon-touch-selector-entry.c
362 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
363 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
364 now that the entry is exposed.
366 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
368 * hildon/hildon-touch-selector-entry.c
369 (hildon_touch_selector_entry_init): Change the entry's size
370 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
372 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
374 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
375 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
376 avoid unnecessary scaling.
378 2009-05-27 Alberto Garcia <agarcia@igalia.com>
380 * hildon/hildon-app-menu.c (hildon_app_menu_map):
381 Create grab transfer window before calling parent's map function.
383 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
384 "crushed" button(s) in the top left corner)
386 2009-05-26 Alberto Garcia <agarcia@igalia.com>
388 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
389 Check if the window is already realized when pushing it.
391 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
393 * configure.ac: post release version bump
394 * debian/changelog: post release version bump
396 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
401 * configure.ac: Bump version.
402 * debian/changelog: Updates.
404 2009-05-25 Alberto Garcia <agarcia@igalia.com>
406 * hildon/hildon-app-menu.c: Doc updates.
408 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
410 * hildon/hildon-banner.c: Remove leftover macro.
412 2009-05-25 Alejandro G. Castro <alex@igalia.com>
414 * hildon/hildon-pannable-area.c,
415 (hildon_pannable_area_scroll_indicator_fade),
416 (hildon_pannable_area_button_release_cb): Reviewed vmin
417 conditions, it could cause problems in the fadeout procedure.
419 2009-05-25 Alejandro G. Castro <alex@igalia.com>
421 * hildon/hildon-pannable-area.c
422 (hildon_pannable_area_button_release_cb): Added a threshold to
423 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
425 2009-05-25 Alejandro G. Castro <alex@igalia.com>
427 * hildon/hildon-pannable-area.c,
428 (hildon_pannable_area_set_property): Added code to sync the gtk
429 dnd threshold with the panning threshold.
431 2009-05-25 Alejandro G. Castro <alex@igalia.com>
433 * hildon/hildon-pannable-area.c,
434 (hildon_pannable_area_class_init): Changed some of the default
435 values, now it should be less responsive and more accurate.
437 2009-05-25 Alejandro G. Castro <alex@igalia.com>
439 * hildon/hildon-pannable-area.c,
440 (hildon_pannable_area_init),
441 (hildon_pannable_area_scroll_indicator_fade),
442 (hildon_pannable_area_button_press_cb),
443 (hildon_pannable_axis_scroll),
444 (hildon_pannable_area_timeout),
445 (hildon_pannable_area_motion_notify_cb),
446 (hildon_pannable_area_button_release_cb): Changed the name of the
447 clicked attribute to button_pressed, it is more clear about its use.
449 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
451 * src/hildon-pannable-area.c
452 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
454 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
455 vertical scrollbar visibility, and use the data on private section instead,
456 remove the initial_hint check
457 (hildon_pannable_area_expose_event): add the initial_hint check here
459 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
461 * src/hildon-pannable-area.c
462 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
463 if the fadeout effect was used
464 (hildon_pannable_area_expose_event): check if it is required to
465 manage the initial effect on the begining of the function. Previously
466 it was made at the end, but this doesn't ensure that the scrollbars
467 will be painted on the first show. Do not set to FALSE initial_effect,
468 to ensure that the initial hint is showed the first time the pannable
470 * examples/Makefile.am
471 * examples/hildon-pannable-area-initial-hint-example.c:
472 New example, to show that the initial-hint is showed when the widget
475 Fixes: NB#116607 (Pannable area should always have scrollbar visible
476 initially if the application can be scrolled)
478 2009-05-25 Alberto Garcia <agarcia@igalia.com>
480 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
481 Resize table before adding new items to make sure that
482 gtk_table_resize() is called just once.
484 2009-05-25 Alberto Garcia <agarcia@igalia.com>
486 * hildon/hildon-app-menu-private.h
487 * hildon/hildon-app-menu.c (item_visibility_changed)
488 (filter_visibility_changed, hildon_app_menu_show_all)
489 (hildon_app_menu_hide_all, hildon_app_menu_init):
490 Rearrange items just once when gtk_widget_show_all()/hide_all()
493 2009-05-25 Alberto Garcia <agarcia@igalia.com>
495 * hildon/hildon-app-menu.c
496 (hildon_app_menu_insert, hildon_app_menu_add_filter):
497 Don't call gtk_widget_show() on added items.
499 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
500 automatically when they're added)
502 2009-05-20 Alberto Garcia <agarcia@igalia.com>
504 * hildon/hildon-banner.c
505 (hildon_banner_realize, +hildon_banner_unrealize)
506 (+screen_size_changed, hildon_banner_class_init):
507 Redisplay the banner if the screen is rotated.
509 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
510 on transition from landscape to portrait)
512 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
514 * hildon/hildon-banner.[ch]:
515 (hildon_banner_show_information_override_dnd): remove icon_name from the
516 method definition as it is ignored.
517 * examples/hildon-banner-dnd-example.c: updated with the change on
520 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
522 * hildon/hildon-banner-private.h: new require_override_dnd and
523 overrides_dnd variables
524 * hildon/hildon-banner.h:
525 (hildon_banner_show_information_override_dnd): new method, that shows
526 the information but sets the override flag, in order to show important
528 * hildon/hildon-banner.c
529 (hildon_banner_show_information_override_dnd): new method
530 (hildon_banner_set_override_flag): new utility function
531 (hildon_banner_real_show_information): new utility function, in order to
532 generalize the current hildon_banner_show_information_override_dnd and
533 hildon_banner_show_information_override_dnd
534 * examples/Makefile.am
535 * examples/hildon-banner-dnd-example.c: New example that show how to
536 use the new hildon_banner_show_information_override_dnd
538 Fixes: NB#114874 (There is no possibility to show hildon banners with
541 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
543 * hildon/hildon-pannable-area.c: Add a comment explaining the math
544 behind hildon_pannable_calculate_vel_factor().
546 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
548 * hildon/hildon-pannable-area.c
549 (hildon_pannable_calculate_vel_factor): Correct the sum of the
550 deceleration factors.
552 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
554 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
555 Reduce the default value for 'scroll_time' to 1 second, since the
556 current initial scrolling takes too much time.
558 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
560 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
561 calculate velocity factor during initialization, since the properties
564 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
566 * hildon/hildon-pannable-area.c
567 (hildon_pannable_area_set_property): Calculate the velocity factor
568 after setting the deceleration property and not after.
570 2009-05-20 Alberto Garcia <agarcia@igalia.com>
572 * hildon/hildon-entry.c
573 (hildon_entry_class_init, +set_property, hildon_entry_new)
574 * hildon/hildon-check-button.c
575 (hildon_check_button_class_init)
576 (+set_property, hildon_check_button_new):
577 Make the theme size a property.
579 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
580 others) do too much in the _new function)
582 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
584 * configure.ac: post release version bump
585 * debian/changelog: post release version bump
587 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
592 * configure.ac: Bump version.
593 * debian/changelog: Updates.
595 2009-05-15 Alberto Garcia <agarcia@igalia.com>
597 * hildon/hildon-gtk.h
598 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
599 New API function to take a screenshot of a window
601 Fixes: NB#106374 (Need API to take a loading screenshot)
603 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
605 * hildon/hildon-time-selector.c
606 (update_format_policy): prevent to use hours and minutes unitialized
608 2009-05-15 Alberto Garcia <agarcia@igalia.com>
610 * hildon/hildon-window.c (hildon_window_size_request):
611 Always request the full size of the screen (minus the title bar if
612 not in fullscreen mode).
614 Fixes: NB#107486 (HildonWindow should size itself properly)
616 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
618 * hildon/hildon-note-private.h: Add idle_handler to the private data.
619 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
620 (on_show_cb), (sound_handling): Disconnect the idle handler for
621 the sound when the note is finalized to avoid possible crashes.
623 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
626 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
628 * src/hildon-animation-actor.c,
629 * src/hildon-remote-texture.c:
630 Added proper object cleanup to remove signal handler and object
631 references as HildonAnimationActor and HildonRemoteTexture
632 objects get destroyed.
634 Fixes: NB#116682 (Destroying parented animation actors when
635 parent in unmapped leads to crash)
637 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
639 Based on a patch by Christian Dywan (christian@imendio.com)
641 * doc/hildon-sections.txt:
642 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
643 * hildon/hildon-helper.h: New file size formatting method.
645 * debian/control: Depend on osso-filemanager l10n package for
646 proper localization strings.
648 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
650 * tests/Makefile.am: Include top_srcdir to make possible to build
651 tests in a different builddir.
652 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
653 on a different builddir.
655 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
657 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
658 (hildon_touch_selector_remove): Disconnect model's signal handler
661 Fixes: NB#116289 (Hildon home crashes while adding task
664 2009-05-11 Alberto Garcia <agarcia@igalia.com>
666 * hildon/hildon-button.c
667 (hildon_button_set_title, hildon_button_set_value):
668 Hide labels containing an empty string.
670 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
672 * configure.ac: post release version bump
673 * debian/changelog: post release version bump
675 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
680 * configure.ac: Bump version.
681 * debian/changelog: Updates.
683 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
685 * hildon/hildon-note-private.h: Removed sound_signal_handler
686 * hildon/hildon-note.c
687 (on_show_cb): new callback on note "show" event, this simply adds
688 a idle, with the function sound_handling
689 (sound_handling): removed the sound_signal_handler management
690 (hildon_note_init): connect note "show" event to on_show_cb
691 (hildon_note_realize): remove the connection to "expose-event"
693 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
694 device?' confirmation note)
696 2009-05-08 Alberto Garcia <agarcia@igalia.com>
698 * hildon/hildon-note.c
699 (hildon_note_new_information_with_icon_name)
700 (hildon_note_new_confirmation_with_icon_name):
701 Terminate the list of parameters in g_object_set() calls
703 Fixes: NB#115166 (Formatting memory card is not taking place)
705 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
707 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
708 "dialog-information" role for the sound being played.
710 2009-05-06 Alberto Garcia <agarcia@igalia.com>
712 * hildon/hildon-app-menu.c (hildon_app_menu_init):
713 Don't make the menu a modal window, it causes strange interactions
714 with the pointer grab and it's not really needed.
716 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
718 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
720 * hildon/hildon-touch-selector.[ch]
721 (hildon_touch_selector_optimal_size_request): function added to get a
722 optimal size request from the touch selector, when you want a dialog to
723 show as much of the selector
724 * hildon/hildon-picker-dialog.c:
725 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
726 (hildon_app_menu_class_init):
727 New "max-height-landscape" and "max-height-portrait" style properties
728 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
729 (hildon_picker_dialog_get_max_height): returns the maximum height using
730 the style properties defined and checking the current portrait/landscape
732 (_hildon_picker_dialog_set_selector): removed the set_size_request
734 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
736 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
738 * hildon/hildon-bread-crumb-trail.c:
739 * hildon/hildon-bread-crumb.c:
740 * hildon/hildon-seekbar.c:
741 Add reference to replacements for these deprecated widgets.
743 Fixes: MB#4461 (Documentation: All deprecations should mention
746 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
748 * examples/hildon-remote-texture-example.c
750 Change the include to the hildon-remote-texture in order to compile
751 properly the examples on the installed libhildon1-examples package
753 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
755 * tests/Makefile.am: Add check for HildonPickerButton.
756 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
757 (START_TEST), (create_hildon_picker_button_suite): Add three simple
758 checks for the HildonPickerButton.
759 * tests/check_test.c (configure_tests): Add the test suite.
760 * tests/test_suites.h: likewise.
762 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
764 * hildon/hildon-touch-selector.c
765 (+on_row_changed): Emit HildonTouchSelector:changed when the
766 contents of a selected row change.
767 (_create_new_column), (_hildon_touch_selector_set_model): connect
768 to GtkTreeModel:row-changed on a newly set model.
770 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
772 2009-05-05 Alberto Garcia <agarcia@igalia.com>
774 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
776 * hildon/hildon-banner.c (hildon_banner_destroy)
777 (hildon_banner_show_progress, hildon_banner_set_fraction):
778 Remove the progress bar from HildonBanner and use a progress
781 Fixes: NB#113761 (Update progress banner to use progress
784 2009-05-04 Alberto Garcia <agarcia@igalia.com>
786 * hildon/hildon-banner.c:
787 Calculate size of the banner label using the actual screen width
788 rather than using a fixed value.
790 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
793 2009-05-04 Alejandro G. Castro <alex@igalia.com>
795 * hildon/hildon-pannable-area.c,
796 (hildon_pannable_area_class_init): Fixed signals documentation
799 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
801 * configure.ac: post release version bump
802 * debian/changelog: post release version bump
804 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
809 * configure.ac: Bump version.
810 * debian/changelog: Updates.
812 2009-05-01 Alberto Garcia <agarcia@igalia.com>
814 * hildon/hildon-edit-toolbar.c
815 (hildon_edit_toolbar_init):
816 Don't let buttons in HildonEditToolbar receive focus.
818 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
819 typing on an HW arrows key)
821 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
823 * doc/Makefile.am: Fix build.
825 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
827 * doc/Makefile.am: Do not redefine content_files.
829 2009-04-30 Alberto Garcia <agarcia@igalia.com>
837 Renamed src/ to hildon/
842 Include <hildon/hildon.h> directly in all examples.
844 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
846 * src/hildon-sort-dialog.c
847 (hildon_sort_dialog_add_sort_key_with_sorting)
851 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
853 * src/Makefile.am: Move generated sources to CLEANFILES, so that
854 make distcheck passes.
856 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
858 * Makefile.am: Enable gtk-doc during distcheck.
860 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
862 * Makefile.am: Do not distribute the debian/ directory.
864 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
866 * doc/Makefile.am: Add the extra SGML files to content_files,
867 so that they are distributed properly.
869 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
871 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
874 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
876 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
877 (hildon_note_new_information_with_icon_name): Set the "icon" property
878 to preserve soundness.
880 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
882 * src/hildon-font-selection-dialog.c
883 (hildon_font_selection_dialog_set_property): Fail when the "family"
884 property is set to NULL.
886 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
888 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
891 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
893 * src/hildon-time-selector.h:
894 Added HildonTimeSelectorFormatPolicy
895 * src/hildon-time-selector.c:
896 Added PROP_TIME_FORMAT_POLICY
897 (_check_ampm_format): renamed to check_automatic_ampm_format
898 (update_format_policy), (update_format_dependant_columns): new functions
899 (hildon_time_selector_class_init)
900 (hildon_time_selector_contructor)
901 (hildon_time_selector_init)
902 (hildon_time_selector_get_property)
903 (hildon_time_selector_set_property)
904 (hildon_time_selector_get_time)
905 (hildon_time_selector_set_time)
906 * src/hildon-touch-selector.h: new file
907 * src/hildon-touch-selector.c
908 (hildon_touch_selector_emit_changed)
909 (hildon_touch_selector_block_changed)
910 (hildon_touch_selector_unblock_changed)
911 Added functions to allow to block the emission of the "changed" signal
912 * src/hildon-picker-dialog.c
913 (hildon_picker_dialog_show): call the parent show before the custom code
914 * examples/hildon-time-button-example.c
915 Modified, so now you can configure the time format using the new property
917 Added a new property "time-format-policy" that allow to choose the time
918 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
919 case it uses gconf in order to check if the time selector must use
922 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
925 2009-04-28 Alberto Garcia <agarcia@igalia.com>
927 * src/hildon-note.c (hildon_note_init):
928 Label in HildonNote must be left aligned, not centered. This
929 reverts the last commit in HildonNote.
931 Fixes: NB#112933 (text is not left aligned in confirmation dialog
932 is connectivity dialog)
934 2009-04-27 Alberto Garcia <agarcia@igalia.com>
939 * doc/hildon-sections.txt:
940 Added hildon_gtk_window_set_do_not_disturb()
942 2009-04-27 Alberto Garcia <agarcia@igalia.com>
944 * src/hildon-note.c (hildon_note_init): Center label.
946 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
949 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
954 * configure.ac: Bump version.
955 * debian/changelog: Updates.
957 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
959 * src/hildon-note-private.h: Add button-width to the private data.
960 * src/hildon-note.c (+resize_button),
961 (+hildon_note_orientation_update): methods to repack widgets on orientation
963 (screen_size_changed): Call above method for confirmation notes.
964 (hildon_note_realize): Always connect to the "screen-size" changed signal.
965 (hildon_note_rebuild): Store the original width request from buttons.
967 Fixes: NB#109635 (Confirmation notes do not support portrait)
969 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
971 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
972 when it is a progress note.
974 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
976 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
977 in the note, since there are no horizontally arranged contents.
979 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
981 * src/hildon-gtk.c (+set_flag): new generic method to
982 set/delay a flag setting in a window.
983 (hildon_gtk_window_set_progress_indicator):
984 (hildon_gtk_window_set_do_not_disturb),
985 (hildon_gtk_window_set_portrait_flags): use set_flag() to
986 avoid code redundance.
988 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
990 Based on a patch by Alberto Garcia (agarcia@igalia.com)
992 * src/hildon-gtk.c (set_clear_window_flag),
993 (do_set_progress_indicator), (do_set_do_not_disturb),
994 (do_set_portrait_flags),
995 (hildon_gtk_window_set_progress_indicator),
996 (hildon_gtk_window_set_do_not_disturb),
997 (hildon_gtk_window_set_portrait_flags):
998 Allow setting dnd-flag, progress indicator, and portrait flags
999 when the window is not realized.
1001 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1003 * src/hildon-pannable-area.c,
1004 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1005 the size request policy function and defines.
1007 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1009 * doc/hildon-sections.txt: Add the new API.
1010 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1011 method to set the portrait flags.
1012 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1014 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1016 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1018 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1019 to allow using this method with other flags.
1020 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1021 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1023 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1025 * src/hildon-touch-selector.c
1026 (hildon_touch_selector_append_text_column):
1027 Make the cell renderer use the smallest width possible.
1029 Fixes: NB#108470 (Selected items in multiple selection are either
1030 having a tick that is cut or not visible at all.)
1032 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1034 * src/hildon-touch-selector.c
1035 (hildon_touch_selector_append_text_column):
1038 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1040 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1041 Use g_strdup_printf() instead of a fixed size buffer.
1043 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1045 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1046 Close banners when a HildonAppMenu is popped up.
1048 Fixes: NB#111027 (Title menu closed immediately if activated when
1049 "Invalid e-mail address" banner is shown)
1051 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1056 * configure.ac: Bump version.
1057 * debian/changelog: Updates.
1059 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1061 * src/hildon-banner.c (hildon_banner_realize):
1062 Mark HildonBanner as supporting portrait mode.
1063 Use GDK to set window properties insetad of direct Xlib calls.
1065 Fixes: NB#111830 (HildonBanner should be marked as supporting
1068 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1070 * src/hildon-note.c (hildon_note_rebuild):
1071 Hide action area in information notes. Prevents text from being
1072 slightly aligned to the left.
1074 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1077 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1079 Patch by Mox Soini (ext-mox.soini@nokia.com)
1081 * src/hildon-banner.c (hildon_banner_create_animation):
1082 Use stylus-sized icons in animation banner.
1084 Fixes: NB#111206 (stylus sized icon for animation banner)
1086 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1090 (+hildon_gtk_window_set_do_not_disturb):
1091 New API to set the do-not-disturb flag.
1093 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1095 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1097 * examples/hildon-progress-indicator-example.c: Fix example
1099 * src/hildon-gtk.c (set_clear_window_flag)
1100 (hildon_gtk_window_set_progress_indicator):
1101 Create a generic function for setting flags to a window.
1102 Use GDK instead of direct Xlib calls.
1104 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1106 * src/hildon-button.c (hildon_button_set_arrangement):
1107 Due to NB#88126, if one of the labels is too long it will be
1108 painted outside the button. The 'value' label is more likely to be
1109 the longest one, so we change its packing options in order to
1110 truncate it if necessary. As a side effect, the 'title' label will
1111 no longer be truncated.
1113 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1115 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1120 * configure.ac: Bump version.
1121 * debian/changelog: Updates.
1123 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1125 Deprecation of the hildon_pannable_area_set_size_request_policy
1126 API, the only policy properly supported in gtk+ nowadays is the
1129 * src/hildon-pannable-area.c,
1130 (hildon_pannable_area_size_request): Added a workaround for the
1131 size_request to avoid the problems of huge pixmaps in case someone
1132 is still using the function.
1133 * src/hildon-pannable-area.h: Deprecated the enum with the
1136 Fixes: NB#110244 (Problems with the
1137 hildon_pannable_area_set_size_request_policy API)
1139 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1141 * src/hildon-pannable-area.c,
1142 (hildon_pannable_area_init),
1143 (hildon_pannable_area_size_request),
1144 (hildon_pannable_area_style_set),
1145 (hildon_pannable_draw_vscroll),
1146 (hildon_pannable_draw_hscroll),
1147 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1148 indicator_width to clarify the use of the attribute.
1150 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1155 * configure.ac: Bump version.
1156 * debian/changelog: Updates.
1158 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1160 * src/hildon-picker-dialog.c
1161 * src/hildon-touch-selector.c
1162 Reverting the change that tried to avoid the hardcoded height on
1163 the picker dialog, as causes problems on the hildon-touch-selector
1166 Fixes: NB#110029 (selectors not scrolling to selected value)
1168 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1170 * src/hildon-touch-selector.c: Fix typos
1172 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1174 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1175 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1176 request more motions after using it.
1178 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1180 * src/hildon-calendar.c (hildon_calendar_expose),
1181 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1182 Remove unused variables.
1184 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1186 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1187 variable assignment.
1189 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1191 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1192 Check the return value of gtk_tree_selection_get_selected()
1195 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1197 * src/hildon-animation-actor.c
1198 * src/hildon-button.c
1200 * src/hildon-pannable-area.c
1201 * src/hildon-picker-button.c
1202 * src/hildon-program.c
1203 * src/hildon-remote-texture.c
1204 * src/hildon-text-view.c
1205 * src/hildon-touch-selector.c
1206 * src/hildon-window-stack.c
1207 * src/hildon-window.c:
1208 Add missing 'Since: 2.2' tags.
1210 * doc/hildon-sections.txt:
1211 Add some missing symbols.
1213 * doc/hildon-docs.sgml:
1214 New 'Other' section for HildonAnimationActor and
1217 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1219 Patch by Iván Gómez (igomez@igalia.com)
1222 * doc/compiling.sgml
1223 * doc/hildon-docs.sgml
1224 * doc/hildon-sections.txt
1225 * doc/migration.sgml
1226 * doc/resources.sgml
1228 New chapters on using the Hildon library.
1229 Updated the general structure of the reference manual.
1230 Other minor documentation fixes.
1232 * src/hildon-calendar-popup.c
1233 * src/hildon-calendar.c
1234 * src/hildon-controlbar.c
1235 * src/hildon-date-editor.c
1236 * src/hildon-dialog.c
1237 * src/hildon-hvolumebar.c
1238 * src/hildon-number-editor.c
1239 * src/hildon-range-editor.c
1240 * src/hildon-sort-dialog.c
1241 * src/hildon-time-editor.c
1242 * src/hildon-time-picker.c
1243 * src/hildon-volumebar-range.c
1244 * src/hildon-volumebar.c
1245 * src/hildon-vvolumebar.c
1246 * src/hildon-weekday-picker.c:
1247 Add deprecation notes
1249 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1250 Document 'horizontal-movement' and 'vertical-movement' signals.
1252 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1257 * configure.ac: Bump version.
1258 * debian/changelog: Updates.
1260 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1262 * src/hildon-pannable-area.c,
1263 (hildon_pannable_area_class_init): increased the minimum velocity.
1264 (hildon_pannable_area_button_release_cb): Updated the
1265 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1266 setup. Review the code to control that last event.
1268 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1271 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1273 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1275 * src/hildon-get-password-dialog.c
1276 (hildon_get_password_set_property),
1277 (hildon_get_password_get_property), (create_contents):
1278 * src/hildon-login-dialog-private.h:
1279 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1280 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1281 (hildon_login_dialog_get_password):
1282 * src/hildon-set-password-dialog-private.h:
1283 * src/hildon-set-password-dialog.c
1284 (hildon_set_password_set_property),
1285 (hildon_set_password_get_property), (create_contents),
1286 (hildon_set_password_response_change),
1287 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1289 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1290 instead and look more Fremantle style.
1292 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1294 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1296 * doc/hildon-sections.txt
1297 * src/hildon-window-stack.h
1298 * src/hildon-window-stack.c
1299 (+hildon_window_stack_get_windows):
1300 New API to obtain the list of windows on a stack.
1302 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1304 * src/hildon-app-menu.c (hildon_app_menu_popup)
1305 (hildon_app_menu_class_init, -hildon_app_menu_show):
1306 Remove hildon_app_menu_show() and move all its checks to
1307 hildon_app_menu_popup()
1309 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1311 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1312 (_hildon_picker_dialog_set_selector): removed call to
1313 gtk_widget_set_size_request
1314 * src/hildon-touch-selector.c
1315 (_create_new_column): change the pannable size request policy
1317 Avoid to use a hardcoded height for the hildon picker dialog. In order
1318 to get that, we needed to change the hildon pannable size request
1320 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1322 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1324 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1325 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1328 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1330 * debian/control: Depend on osso-system-lock localization package.
1331 * src/hildon-code-dialog.c: Obtain the secu_application_title
1332 translation from osso-system-lock.
1333 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1334 for translation the atk related strings, that's not necessary.
1335 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1336 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1337 cancel button, it is not required.
1339 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1341 * src/hildon-pannable-area.c,
1342 (hildon_pannable_area_class_init): Modified the default value of
1343 the overshooting max speed, we have reduced it.
1345 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1347 * doc/hildon-sections.txt
1348 * src/hildon-window-private.h
1349 * src/hildon-window.h
1350 * src/hildon-window.c (hildon_window_class_init)
1351 (hildon_window_init, hildon_window_finalize)
1352 (hildon_window_realize, hildon_window_get_property)
1353 (hildon_window_set_property, hildon_window_update_markup)
1354 (hildon_window_get_markup, hildon_window_set_markup):
1355 New "markup" property and hildon_window_{get,set}_markup() methods.
1357 * examples/hildon-stackable-window-example.c (new_window):
1358 Update example to use hildon_window_set_markup()
1360 Fixes: NB#106375 (Need API to retitle a window with a title
1363 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1365 * src/hildon-pannable-area.c,
1366 (hildon_pannable_area_class_init): Changed the default value of
1367 the initial_hint to TRUE.
1368 (hildon_pannable_area_initial_effect): Changed the initial effect,
1369 not the effect is just the fade-out of the scrollbars.
1371 Fixes: NB#107775 (No scrollbars can be seen when several items are
1372 available in a dialog)
1374 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1376 * src/hildon-program.c (hildon_program_update_top_most):
1379 Fixes: NB#109179 (Memory leak in Hildon program)
1381 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1383 * src/hildon-banner.c (-get_current_app_window):
1384 Remove unused function.
1386 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1388 * src/hildon-pannable-area.c: Modified the documentation of the
1389 get adjustments functions to explain the problem of using the
1390 adjustment directly.
1391 (hildon_pannable_area_class_init): Improved the explanation about
1394 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1396 * src/hildon-app-menu-private.h
1397 * src/hildon-app-menu.c
1398 (hildon_app_menu_class_init):
1399 Bring back the 'external-border' style property
1400 (hildon_app_menu_class_init, hildon_app_menu_init)
1401 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1402 Set a fixed width-request for the menu, independent of the number
1405 Fixes: NB#94957 (Smoothly opened application menu)
1407 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1409 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1411 * src/hildon-banner.c
1412 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1414 Make sure that the banner is correctly placed the first time it's
1416 (hildon_banner_check_position, -check_fullscreen_state):
1417 Show the banner in the same place no matter if the window is in
1418 fullscreen mode or not.
1420 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1422 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1424 * src/hildon-touch-selector.c (_default_print_func): reorder
1425 concatenation for clarity.
1427 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1429 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1430 for multicolumn selectors.
1432 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1434 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1439 * configure.ac: Bump version.
1440 * debian/changelog: Updates.
1442 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1444 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1447 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1449 * configure.ac: removed libcangerra-gtk dependency
1450 * debian/control: removed libcanberra-gtk dependency
1451 * src/Makefile.am: removed libcanberra gtk related flags
1452 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1453 context, and manage a global canberra context instead
1455 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1457 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1459 Patch by Daniel Borgmann (danielb@openismus.com)
1461 * src/hildon-edit-toolbar.c:
1462 Adjust the left padding.
1463 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1464 Paint background of the edit toolbar.
1466 Fixes: NB#107897 (Patch to make editmodetoolbar background
1467 themeable and adjust margin)
1469 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1471 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1473 * src/hildon-program.c (hildon_program_update_top_most):
1474 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1476 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1477 change when the user tasks in/out of an application)
1479 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1481 * configure.ac: added libcangerra-gtk dependency
1482 * debian/control: added libcanberra-gtk dependency
1483 * src/Makefile.am: added libcanberra gtk related flags
1484 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1487 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1489 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1491 * src/hildon-program.c (hildon_program_remove_window)
1492 (hildon_program_add_window): Add checks for the window
1493 parameter. Don't decrease the window counter if the window is not
1496 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1498 * src/hildon-pannable-area.c,
1499 (hildon_pannable_area_realize): Fixed position of the event_window
1500 in the realize method.
1502 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1504 * src/hildon-app-menu-private.h
1505 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1506 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1507 (hildon_app_menu_key_press, hildon_app_menu_init)
1508 (hildon_app_menu_finalize):
1509 Make sure that all idle functions are removed when the widget is
1512 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1514 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1519 * configure.ac: Bump version.
1520 * debian/changelog: Updates.
1522 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1524 * src/hildon-entry.c
1525 (+hildon_entry_show_placeholder),
1526 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1527 that replace hildon_entry_update_contents().
1528 (hildon_entry_set_text),
1529 (hildon_entry_set_placeholder),
1530 (hildon_entry_focus_in_event),
1531 (hildon_entry_focus_out_event): Determine when it is needed
1532 either to show or hide the placeholder and call the above methods.
1534 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1535 when the placeholder text is already set)
1537 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1539 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1540 simple GdkPixbufAnim using the new icons for the banner.
1541 (hildon_banner_show_animation): Use the above mentioned method to
1542 create the animation widget.
1544 Fixes: NB#103564 (Make hildon animation banner use individual
1545 image files as the animation)
1547 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1549 * src/hildon-pannable-area.c,
1550 (hildon_pannable_leave_notify_event): Check if the child is NULL
1551 to avoid sending the leave.
1553 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1555 * src/hildon-pannable-area.c,
1556 (hildon_pannable_area_class_init),
1557 (hildon_pannable_leave_notify_event): Added a handler of the
1558 leave-notify-signal to consider when no motion notify before
1561 Fixes: NB#107494 (Items stay selected when clicking and moving
1562 away when inside pannable area)
1564 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1569 * configure.ac: Bump version.
1570 * debian/changelog: Updates.
1572 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1574 Patch by Alberto Garcia (agarcia@igalia.com)
1576 * src/hildon-date-button.c,
1577 (hildon_date_button_class_init),
1578 (hildon_date_button_init): Removed the construct property handling
1579 and created a default selector in the init method.
1580 * src/hildon-picker-button.c,
1581 (hildon_picker_button_class_init): Removed the construct flag of the
1584 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1586 * src/hildon-main.c (hildon_init):
1587 Don't allow hildon_init() to be called more than once.
1589 Fixes: NB#106607 (hildon_init should issue error message upon
1592 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1594 * examples/hildon-pannable-area-touch-list-example.c
1595 * examples/hildon-pannagle-area-touch-grid-example.c
1596 * examples/hildon-edit-toolbar-example.c
1597 * examples/hildon-touch-selector-multi-cells-example.c
1598 Removed the call to gtk_rc_parse_string, as it is not required since
1601 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1603 * src/hildon-pannable-area.c,
1604 (hildon_pannable_area_class_init): Modified the default panning
1605 threshold of the widget to 6px.
1607 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1608 than the threshold value ) within the button is not sending the
1611 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1613 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1614 for the treeview in the new column. This way, the touch list will never
1617 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1618 be selected manually for the HW keys to work)
1620 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1622 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1623 comparison instead of using strcmp(). Fixes a compiler warning as well.
1625 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1627 * doc/hildon-docs.sgml: Do not set the library version in the
1628 document title, use the releaseinfo tag for that purpose instead.
1630 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1632 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1633 Do not jump to the first item if the text in the entry is removed.
1635 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1640 * configure.ac: Bump version.
1641 * debian/changelog: Updates.
1643 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1645 * src/hildon-entry.c (hildon_entry_refresh_contents):
1646 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1647 Use "ReversedSecondaryTextColor" for the placeholder text.
1649 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1651 * src/hildon-text-view.c: Fix compilation warning.
1653 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1655 * src/hildon-button.c (hildon_button_class_init): Don't make
1656 "title" and "value" construction properties, to prevent them from
1657 overwriting labels set from derived classes.
1659 * src/hildon-picker-button.c
1660 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1661 (hildon_picker_button_class_init): Make touch-selector a
1662 construction property.
1664 * src/hildon-date-button.c (hildon_date_button_class_init)
1665 (+hildon_date_button_constructed): Add a default date selector if
1668 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1670 * src/hildon-touch-selector.c: Small documentation fixes.
1672 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1674 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1676 * src/hildon-entry.c (hildon_entry_refresh_contents),
1677 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1678 widget name, set the logical color directly instead and a boolean
1679 showing_placeholder instead.
1680 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1681 use the widget name here either.
1683 Fixes: NB#105678 (HildonTextView should use logical colours
1684 instead of setting widget name)
1686 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1688 Patch by Daniel Elster (danielk@openismus.com)
1690 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1691 Add user_data parameter.
1692 (hildon_touch_selector_set_print_func_full): New function akin
1693 hildon_touch_selector_set_print_func() but with support for user
1694 data and a destroy callback.
1695 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1696 to clean up the print function user data.
1697 (hildon_touch_selector_class_init): Install dispose function.
1698 (HildonTouchSelectorPrivate::print_user_data),
1699 (HildonTouchSelectorPrivate::print_destroy_func): New private
1701 (hildon_touch_selector_init): Initialize new private members.
1702 (hildon_touch_selector_get_current_text): Pass along user data
1703 to the print function.
1704 (_default_print_func): Add dummy user_data to parameter list.
1705 * hildon-date-selector.c (_custom_print_func): ditto,
1706 * hildon-time-selector.c (_custom_print_func): ditto,
1707 * hildon-touch-selector-entry.c
1708 (hildon_touch_selector_entry_print_func): ditto.
1710 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1712 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1714 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1716 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1718 * src/hildon-pannable-area.c,
1719 (hildon_pannable_area_init),
1720 (hildon_pannable_area_button_press_cb),
1721 (hildon_pannable_area_motion_notify_cb): We have added code to
1722 handle the leave and enter events when using the motion events.
1724 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1726 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1728 * src/hildon-date-button.c (hildon_date_button_get_date)
1729 (hildon_date_button_set_date): Make sure that the button has a
1732 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1734 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1736 * src/hildon-pannable-area.c,
1737 (hildon_pannable_area_class_init),
1738 (hildon_pannable_area_calculate_velocity): Modify the use of the
1739 force and adapt the value.
1741 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1743 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1744 (hildon_app_menu_class_init): Hide the menu if it receives a
1745 delete-event, but don't destroy it
1747 Fixes: NB#104485 (Not able to address the call when application
1748 menu is opened at background)
1750 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1752 * src/hildon-app-menu.c
1753 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1754 Remove the "external-border" style property, let the menu take its
1755 natural size (or the one set by the window manager)
1756 (hildon_app_menu_repack_items):
1757 Don't reshow the menu, avoid flickers.
1759 Partially fixes NB#94957 (Smoothly opened application menu)
1761 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1766 * configure.ac: Bump version.
1767 * debian/changelog: Updates.
1769 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1771 * src/hildon-pannable-area.c,
1772 (hildon_pannable_area_motion_notify_cb): We control that the
1773 direction error margin is used just in case the movement is
1774 allowed in the other direction.
1776 Fixes: NB#105012 (buttons inside a pannable area not getting
1777 release event when dragging/releasing)
1779 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1781 * src/hildon-pannable-area.c,
1782 (hildon_pannable_area_class_init),
1783 (hildon_pannable_area_get_property),
1784 (hildon_pannable_area_set_property),
1785 (hildon_pannable_area_initial_effect),
1786 (hildon_pannable_axis_scroll),
1787 (hildon_pannable_area_button_release_cb): Reviewed the
1788 overshooting effect, now it has its own max
1789 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1790 speed when bouncing.
1792 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1797 * configure.ac: Bump version.
1798 * debian/changelog: Updates.
1800 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1802 * src/hildon-pannable-area.c,
1803 (hildon_pannable_area_class_init): Changed the max speed, now
1804 users can launch the widget very fast. Reduced the default force,
1805 that way it is easier to control the launch speed.
1807 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1809 * src/hildon-pannable-area.c,
1810 (hildon_pannable_area_button_release_cb): Removed this check
1811 because it causes problems when the device is overloaded.
1813 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1815 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1816 add a current_text field to store the text entered in the
1817 touch selector entry.
1818 (_clean_current_selection): clean up the current text as well.
1819 (_save_current_selection), (_restore_current_selection):
1820 Save/restore the text in the entry if the selector is a
1821 HildonTouchSelectorEntry.
1823 Fixes: NB#102541 (value entered in the touch selector entry is not
1824 shown when opened for second time)
1826 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1828 * doc/hildon-sections.txt:
1829 * src/hildon-touch-selector-entry.c
1830 (+hildon_touch_selector_entry_get_entry):
1831 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1833 Fixes: NB#104815 (I need accessor to the entry inside
1834 HildonTouchSelectorEntry)
1836 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1838 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1839 (hildon_app_menu_class_init):
1840 New "filter-vertical-spacing" style property.
1842 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1844 * src/hildon-find-toolbar.c
1845 (hildon_find_toolbar_emit_close)
1846 (hildon_find_toolbar_emit_invalid_input)
1847 (hildon_find_toolbar_entry_activate):
1848 Use g_signal_emit() instead of g_signal_emit_by_name()
1850 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1852 Patch by Mox Soini (ext-mox.soini@nokia.com)
1854 * tests/TEST-CASES.txt
1855 * tests/check-hildon-banner.c
1856 * tests/check-hildon-note.c
1857 * src/hildon-banner.c
1858 * src/hildon-code-dialog.c
1859 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1860 * src/hildon-time-editor.c
1861 * examples/hildon-lookup-example.c (main):
1862 Replace obsolete icon names with new ones.
1864 * src/hildon-find-toolbar-private.h:
1865 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1866 (-hildon_find_toolbar_emit_search):
1867 Remove find button and change icon of close button.
1869 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1871 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1873 * src/hildon-time-button.c (hildon_time_button_new_step):
1874 Use the "touch-selector" property to set the selector directly
1875 when creating the object.
1877 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1879 Added a new example application that allows tuning the pannable
1880 area and replaced defines with properties in order to simplify the
1881 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1882 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1883 PROP_DIRECTION_ERROR_MARGIN.
1885 * examples/hildon-pannable-area-tuning-example.c: New example
1887 * src/hildon-pannable-area.c,
1888 (hildon_pannable_area_class_init),
1889 (hildon_pannable_area_init),
1890 (hildon_pannable_area_get_property),
1891 (hildon_pannable_area_set_property),
1892 (hildon_pannable_area_launch_fade_timeout),
1893 (hildon_pannable_area_adjust_value_changed),
1894 (hildon_pannable_axis_scroll),
1895 (hildon_pannable_area_motion_notify_cb),
1896 (hildon_pannable_area_scroll_cb),
1897 (hildon_pannable_area_button_release_cb): We have converted some
1898 of the defines that control the widget to properties to simplify
1901 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1903 * src/hildon-app-menu.c (hildon_app_menu_map)
1904 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1905 so it's closed if a new window appears.
1907 Fixes: NB#104485 (Not able to address the call when application
1908 menu is opened at background)
1910 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1912 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1913 missing 'break' statement in in 'case' construct to avoid
1916 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1918 * src/hildon-touch-selector-entry.c
1919 (hildon_touch_selector_entry_get_property),
1920 (hildon_touch_selector_entry_set_property): Add missing 'break'
1921 statements in in 'case' constructs to avoid incorrect warnings.
1923 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1925 * src/hildon-time-editor.c
1926 (hildon_time_editor_get_time_separators): Do not crash if
1927 the first label is NULL.
1929 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1931 * src/hildon-date-selector.c (_month_days): Check for month to be
1932 strictly less than 12, since otherwise we may overrun the array.
1934 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1936 * src/hildon-date-button.c (+hildon_date_button_new_full)
1937 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1938 (hildon_date_button_init): Set the date selector using a
1939 construction property, to make it happen after HildonButton's
1940 "value" property is set.
1942 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1943 current date by default)
1945 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1947 * doc/hildon-sections.txt
1948 * src/hildon-program.c
1949 * src/hildon-stackable-window.c
1950 * src/hildon-window.c:
1951 Documentation updates
1953 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1955 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1956 (hildon_window_stack_new, +hildon_window_stack_set_property)
1957 (+hildon_window_stack_get_property)
1958 (hildon_window_stack_class_init)
1959 (+hildon_window_stack_set_window_group)
1960 (+hildon_window_stack_get_window_group):
1961 Make the window group a construction property.
1963 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1965 * doc/hildon-sections.txt
1966 * src/hildon-stackable-window-private.h
1967 * src/hildon-stackable-window.h
1968 * src/hildon-stackable-window.c
1969 (-hildon_stackable_window_set_app_menu)
1970 (-hildon_stackable_window_get_app_menu)
1971 (-hildon_stackable_window_toggle_menu)
1972 (-hildon_stackable_window_finalize)
1973 (hildon_stackable_window_class_init)
1974 (hildon_stackable_window_init)
1975 * src/hildon-window-private.h
1976 * src/hildon-window.h
1977 * src/hildon-window.c (hildon_window_init)
1978 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1979 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1980 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1981 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1982 Moved all HildonAppMenu code to HildonWindow. The menu does not
1983 require a HildonStackableWindow anymore.
1985 * src/hildon-app-menu.c
1986 * src/hildon-program.c
1987 * examples/hildon-app-menu-example.c (main):
1988 Update examples and documentation to reflect HildonAppMenu
1991 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1993 * src/hildon-remote-texture.c
1994 * src/hildon-animation-actor.c:
1995 Don't include unused private headers.
1997 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1999 * src/hildon-program-private.h
2000 * src/hildon-program.c
2001 (hildon_program_set_common_menu)
2002 (hildon_program_get_common_menu)
2003 (hildon_program_set_common_app_menu)
2004 (hildon_program_get_common_app_menu):
2005 Change common menu pointers from GtkWidget* to GtkMenu* and
2006 HildonAppMenu* to avoid unnecessary casts.
2008 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2010 * src/hildon-window.c (hildon_window_set_main_menu):
2011 Removed incorrect 'Since:' tag
2013 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2015 * src/hildon-pannable-area.c,
2016 (hildon_pannable_area_calculate_velocity): We use now the
2017 RATIO_TOLERANCE here to check the distance, fixed typo in the
2019 (hildon_pannable_area_motion_notify_cb): We have to set the type
2020 and time even if we are not sending the motion.
2022 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2024 * doc/hildon-sections.txt
2025 * src/hildon-app-menu.h
2026 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2027 (+hildon_app_menu_get_filters): New methods to get the contents of
2030 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2033 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2035 * src/hildon-app-menu.c (hildon_app_menu_popup):
2038 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2040 * src/hildon-window.h
2041 * src/hildon-window.c (+hildon_window_get_main_menu)
2042 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2043 and deprecated hildon_window_get_menu().
2045 * src/hildon-stackable-window.h
2046 * src/hildon-stackable-window.c
2047 (+hildon_stackable_window_set_app_menu)
2048 (+hildon_stackable_window_get_app_menu)
2049 (hildon_stackable_window_set_main_menu): Created
2050 hildon_stackable_window_{get,set}_app_menu() and deprecated
2051 hildon_stackable_window_set_main_menu().
2053 * doc/hildon-sections.txt
2054 * examples/hildon-app-menu-example.c (main)
2055 * src/hildon-app-menu.c
2056 * src/hildon-program.c:
2057 Updated examples and documentation.
2059 Fixes: NB#103758 (No way to obtain a menu from a
2060 HildonStackableWindow)
2062 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2067 * configure.ac: Bump version.
2068 * debian/changelog: Updates.
2070 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2072 * examples/hildon-remote-texture-example.c: Include
2073 hildon-remote-texture.h explicitely.
2074 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2075 applications not defining _XOPEN_SOURCE which don't require this header.
2077 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2079 * doc/hildon-sections.txt
2080 * src/hildon-app-menu.h
2081 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2082 New function to pop up a HildonAppMenu
2084 * src/hildon-stackable-window.c
2085 (hildon_stackable_window_toggle_menu):
2086 Use hildon_app_menu_popup() to show the menu.
2088 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2090 * src/hildon-app-menu.c (hildon_app_menu_show)
2091 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2092 menu if there's another window between it and its parent window.
2094 Fixes: NB#100468 (Application menu window is launched even when a
2095 new secondary-window/dialog is pending to be shown/realized)
2097 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2099 * src/hildon-window-stack.c (hildon_window_stack_push)
2100 (hildon_window_stack_pop_and_push):
2101 Don't forget to push/pop the first window.
2102 Reverse the window list before calling _push_list()
2104 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2106 * src/hildon-picker-button.h
2107 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2108 Remove "value_changed" slot to avoid ABI breakage
2110 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2112 * src/hildon-pannable-area.c,
2113 (hildon_pannable_area_realize),
2114 (hildon_pannable_area_unrealize),
2115 (hildon_pannable_draw_vscroll),
2116 (hildon_pannable_draw_hscroll): Changed the method to handle the
2117 GC used to draw the transparent scrollbar, this way we avoid
2118 creating the GC all the time when drawing the scrollbars.
2120 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2122 * src/hildon-pannable-area.c,
2123 (hildon_pannable_area_init),
2124 (hildon_pannable_area_remove): Removed some unnecessary casts.
2125 (hildon_pannable_area_dispose): Disconnected some signals before
2126 releasing the adjustments.
2128 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2130 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2131 Make sure that all widgets contained in the toolbar are shown.
2133 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2135 * doc/hildon-sections.txt
2136 * src/hildon-picker-button.h
2137 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2138 (_selection_changed, hildon_picker_button_on_dialog_response)
2139 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2140 New hildon_picker_button_value_changed() method.
2143 * src/hildon-picker-button-private.h
2144 * src/hildon-picker-button.c (hildon_picker_button_init)
2145 (+hildon_picker_button_disable_value_changed): Add protected
2146 function for disabling the "value-changed" signal.
2148 * src/hildon-date-button.c (hildon_date_button_set_date):
2149 Don't emit "value-changed" for each one of the three columns.
2151 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2152 before actual change of values)
2154 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2156 * src/hildon-pannable-area.c,
2157 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2158 for the treeview overshooting.
2160 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2162 * src/hildon-banner.c (+hildon_banner_bind_style):
2163 Renamed from hildon_banner_bind_label_style(), now naming the
2164 banner itself as well.
2165 (hildon_banner_show_information),
2166 (hildon_banner_show_information_with_markup),
2167 (hildon_banner_show_animation), (hildon_banner_show_progress):
2168 Name the widgets and labels, based on their type.
2170 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2173 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2175 * src/hildon-note.c (hildon_note_set_property): call
2176 hildon_note_rename() on HildonNote:note-type set.
2177 (hildon_note_rename): Name the note and its label, based on the
2178 HildonNote:note-type property.
2180 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2183 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2185 * src/hildon-pannable-area.c,
2186 (hildon_pannable_area_class_init),
2187 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2188 panning parameters, increased SPS and deceleration factor. Added
2189 also a margin to control fake directions.
2191 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2193 Patch by Sven Herzberg (sven@imendio.com)
2195 * configure.ac: Add missing AM_PROG_CC_C_0
2196 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2198 See NB#101420 (Update unit tests and fix make check)
2200 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2202 This patch was applied before but reverted because it caused
2203 problems, we have changed the main condition and tested the
2204 regressions we detected before and they work ok. We have done a
2205 complete review of the topmost algorithm in order to get a more
2208 * src/hildon-pannable-area.c,
2209 (hildon_pannable_area_get_topmost): Added a new parameter to
2210 filter the the windows that do not include those events.
2211 (hildon_pannable_area_button_press_cb),
2212 (hildon_pannable_area_button_release_cb),
2213 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2214 topmost function, we have added the new parameter.
2216 Fixes: NB#97458 (Pannable area prevents propagation of button
2219 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2221 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2222 if all columns in the selector have an item selected.
2223 (_on_dialog_response): Stop "response" signal emission if there is
2224 any selector column without selected items.
2226 Fixes: NB#101889 (Picker dialog should not close when nothing is
2227 selected in multiple selection list)
2229 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2231 * src/hildon-font-selection-dialog.c
2232 (hildon_font_selection_dialog_class_init),
2233 (hildon_font_selection_dialog_init): Remove the preview
2234 button and dialog, since previewing with default theming is likely
2235 to be overcomplicated. The :preview property has now no effect.
2236 Update documentation blurbs to inform about this.
2238 Fixes: NB#92297 (Preview content is not clearly visible for
2239 default colour text)
2241 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2243 Reviewed the geometry that handles the children size and
2244 scrollbar, now it tries a size and reviews the results depending
2245 on the scrollbars visibility.
2247 * src/hildon-pannable-area.c,
2248 (hildon_pannable_area_realize): Fixed a typo.
2249 (hildon_pannable_area_child_allocate_calculate): Added this
2250 function to calculate the child allocation.
2251 (hildon_pannable_area_size_allocate): Reviewed the allocation
2253 (hildon_pannable_area_check_scrollbars),
2254 (hildon_pannable_area_refresh): Refactored refresh function, this
2255 way we can call the code handling the scrollbars without causing a
2256 size_request, it is interesting in the allocate.
2257 (hildon_pannable_area_init): Replace the callbacks of the
2258 value_changed and changed signals to propertly deal with the
2260 (hildon_pannable_area_grab_notify),
2261 (hildon_pannable_area_initial_effect),
2262 (hildon_pannable_area_launch_fade_timeout),
2263 (hildon_pannable_area_adjust_changed),
2264 (hildon_pannable_area_adjust_value_changed),
2265 (hildon_pannable_area_redraw),
2266 (hildon_pannable_area_button_press_cb),
2267 (hildon_pannable_area_button_release_cb),
2268 (hildon_pannable_area_scroll_cb),
2269 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2270 code and use the new functions adjust_changed and
2271 adjust_value_changed.
2273 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2274 Contact editor dialog)
2276 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2281 * configure.ac: Bump version.
2282 * debian/changelog: Updates.
2284 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2286 * src/hildon-pannable-area.c,
2287 (hildon_pannable_area_get_topmost),
2288 (hildon_pannable_area_button_press_cb),
2289 (hildon_pannable_area_button_release_cb),
2290 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2291 topmost function adding the event mask. We have to try a
2292 differente approach because it is still causing problems (NB#9745,
2295 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2297 * src/hildon-banner.c:
2298 Update the maximum width of timed banners.
2299 (force_to_wrap_truncated): Enforce the maximum text width if the
2302 Fixes: NB#102413 (The text margins (wrapping) in information
2303 banner should be HILDON_MARGIN_TRIPLE)
2305 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2307 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2309 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2310 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2311 bound when calculating the scroll indicator position.
2313 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2314 treat ->lower correctly)
2316 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2318 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2319 expose event handling, since it is not necessary to draw the focus
2322 Fixes: NB#102467 (Do not show highlight on the text in
2325 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2327 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2328 full height of the toolbar for the button and the label.
2330 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2332 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2333 padding before the label and after the button.
2335 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2337 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2339 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2340 Add a GtkVSeparator between the button and the back arrow.
2341 Let the button have automatic size.
2342 Set a name to the widget for theming handling.
2344 Fixes: NB#101793 (Make edit toolbar the same height as window
2345 title bar (use title area theming))
2347 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2349 * src/hildon-helper.c (attach_new_color_element): Fix memory
2352 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2354 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2356 * examples/hildon-button-example.c (common_buttons_window): Don't
2359 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2361 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2362 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2364 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2366 * src/hildon-gtk.c: Check that the window is realized.
2368 Fixes: NB#102225 (Crash setting the progress indicator to a non
2371 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2373 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2374 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2375 instead of modifying the one in the widget style.
2377 Fixes: NB#101043 (Second row of all the command button are
2378 displayed in transparent mode.)
2380 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2382 * src/hildon-date-button.c
2383 * src/hildon-time-button.c: Add gettext macros
2385 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2387 * src/hildon-date-button.c (hildon_date_button_new):
2388 * src/hildon-time-button.c (hildon_time_button_new_step):
2389 Use new logical strings to set the button default title.
2391 Fixes: NB#99915 (Date and Time options are not localised in Date
2394 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2396 * src/hildon-pannable-area.c
2397 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2398 the PANNING_THRESHOLD.
2400 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2402 * src/hildon-pannable-area.c,
2403 (hildon_pannable_area_class_init): Increased the maximum speed.
2404 (hildon_pannable_area_get_property),
2405 (hildon_pannable_area_set_property),
2406 (hildon_pannable_area_timeout): Added a new low friction mode, it
2407 allows the user avoid friction when launching the widget fast
2408 enough. It is interesting to traverse long lists.
2410 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2412 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2413 (+hildon_stackable_window_delete_event): Ignore delete events if
2414 the window is not the topmost one.
2416 Fixes: NB#101698 (Back button long press and delete-event handling)
2418 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2420 * src/hildon-pannable-area.c,
2421 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2422 gtk-dnd-drag-threshold, it was too big. We have defined our own
2423 dnd define and set a smaller value: PANNIG_THRESHOLD.
2425 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2427 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2428 user-defined icons, use always the default one.
2430 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2432 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2434 This patch was applied before but reverted because it caused
2435 problems, we have changed the main condition and tested the
2436 regressions we detected before and they work ok.
2438 * src/hildon-pannable-area.c,
2439 (hildon_pannable_area_get_topmost): Added a new parameter to
2440 filter the the windows that do not include those events. Added
2441 also a condition when finding the window to filter windows that do
2442 not ask for those events.
2443 (hildon_pannable_area_button_press_cb),
2444 (hildon_pannable_area_button_release_cb),
2445 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2446 topmost function, we have added the new parameter.
2448 Fixes: NB#97458 (Pannable area prevents propagation of button
2451 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2453 * tests/check-hildon-color-button.c (START_TEST): do not leak
2456 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2458 * src/hildon-font-selection-dialog.c
2459 (hildon_font_selection_dialog_get_preview_text): Return NULL
2460 instead of FALSE on the g_return_val_if_fail().
2462 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2464 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2465 * src/hildon-date-selector.c
2466 (hildon_date_selector_select_current_date):
2467 Do not compare unsigned integers to be greater than or equal 0,
2468 because it's always TRUE.
2470 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2472 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2473 (hildon_date_selector_constructor): Do not select the current
2474 date until we are handle the "changed" signal, to avoid having bogus
2475 elements in the days model.
2477 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2479 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2480 for num_days, since _month_days() can return a negative value.
2482 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2484 * src/hildon-caption.c (hildon_caption_size_allocate):
2485 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2486 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2488 Initialize allocation variables to 0, to avoid eventually using
2489 unitialized variables.
2491 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2493 * src/hildon-bread-crumb-trail.c
2494 (hildon_bread_crumb_trail_size_allocate):
2495 * src/hildon-calendar.c (hildon_calendar_set_background):
2496 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2497 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2498 * src/hildon-seekbar.c (hildon_seekbar_init):
2499 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2500 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2501 * src/hildon-touch-selector-entry.c
2502 (hildon_touch_selector_get_text_from_model):
2503 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2504 * src/hildon-window.c (hildon_window_finalize):
2506 Remove many unused variables.
2508 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2510 * src/hildon-seekbar.c: (hildon_seekbar_init),
2511 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2513 Remove unnecessary g_assert() calls.
2515 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2517 * src/hildon-caption.c: (hildon_caption_expose),
2518 (hildon_caption_set_property), (hildon_caption_init),
2519 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2520 (hildon_caption_size_request), (hildon_caption_size_allocate),
2521 (hildon_caption_forall), (hildon_caption_set_separator),
2522 (hildon_caption_activate), (hildon_caption_set_child_expand),
2523 (hildon_caption_set_label_text),
2524 (hildon_caption_get_label_alignment):
2526 Remove unnecessary g_assert() calls.
2528 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2530 * src/hildon-banner.c
2531 (hildon_banner_map, hildon_banner_init): Make banner temporary
2532 before mapping it to avoid closing other temporary windows, but
2533 make it non-temporary afterwards to avoid being closed by other
2534 non-temporary windows.
2535 (-hildon_banner_client_event, hildon_banner_init):
2536 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2538 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2541 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2543 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2546 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2548 * src/hildon-remote-texture.c
2549 * src/hildon-remote-texture.h
2550 * src/hildon-remote-texture-private.h
2551 * examples/hildon-remote-texture-example.c:
2552 Updates/fixes to remote-texture and its example.
2554 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2556 Patch by Mox Soini (ext-mox.soini@nokia.com)
2558 * src/hildon-code-dialog.c: Update logical id.
2559 * src/hildon-set-password-dialog.c: Update logical id.
2561 Fixes: NB#100646 (Logical strings is shown for ok in set
2562 password,Password needed dialogs)
2564 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2567 * src/hildon-remote-texture.c
2568 * src/hildon-remote-texture.h
2569 * src/hildon-remote-texture-private.h
2571 Added remote texture widget (for Clutter shared memory textures)
2573 * examples/hildon-remote-texture-example.c
2574 * examples/Makefile.am
2575 Added example file for remote texture usage
2577 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2579 * configure.ac: post release version bump.
2580 * debian/changelog: version bump.
2582 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2587 * configure.ac: Bump version.
2588 * debian/changelog: Updates.
2590 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2592 * src/hildon-date-selector.c (hildon_date_selector_init)
2593 (hildon_date_selector_constructor): Don't connect to the "changed"
2594 signal until the selector is completely constructed.
2596 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2598 * src/hildon-touch-selector.c: (_create_new_column),
2599 (hildon_touch_selector_append_column),
2600 (hildon_touch_selector_set_column_selection_mode),
2601 (hildon_touch_selector_set_active),
2602 (hildon_touch_selector_select_iter):
2603 Emit the HildonTouchSelector::changed signal every time selection
2604 is changed in any of the methods above. This behavior was already
2605 documented but not fully functional.
2607 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2608 selection is programmatically changed)
2610 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2612 * doc/hildon-sections.txt: Remove obsolete icon
2613 sizes from here as well.
2615 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2617 * examples/hildon-stackable-window-example.c (add_window): Remove
2620 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2622 * src/hildon-app-menu.c
2623 (hildon_app_menu_show): Check whether the parent window of a menu
2624 is topmost before popping it up.
2626 Fixes: NB#100468 (Application menu window is launched even when a
2627 new secondary-window/dialog is pending to be shown/realized.)
2629 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2631 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2634 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2636 Patch by Mox Soini (ext-mox.soini@nokia.com)
2638 * src/hildon-banner.c: (hildon_banner_show_animation):
2639 use stylus size instead of obsolete note size.
2640 * src/hildon-defines.h: Update icon sizes.
2642 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2644 * src/hildon-touch-selector-entry.c:
2645 (hildon_touch_selector_entry_init): Disable unsupported
2647 (hildon_touch_selector_entry_get_text_column): Emit a warning
2648 if an unsupported input modes is used and explicitile state
2649 these modes in the documentation.
2651 Fixes: NB#99802 (Hildon touch selector entry not working properly
2652 for some of the input modes)
2654 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2656 * src/hildon-pannable-area.c,
2657 (hildon_pannable_area_init): Added the changed signal handlers of
2660 Fixes: NB#100320 (HildonPannableArea does not listen to
2661 GtkAdjustment "change" signals)
2663 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2665 * doc/hildon-sections.txt
2666 * src/hildon-window-private.h
2667 * src/hildon-window.h
2668 * src/hildon-window.c (hildon_window_init)
2669 (hildon_window_realize, hildon_window_unrealize)
2670 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2671 (hildon_window_size_request, hildon_window_size_allocate)
2672 (hildon_window_forall, hildon_window_show_all)
2673 (hildon_window_destroy, +paint_edit_toolbar)
2674 (+hildon_window_set_edit_toolbar):
2675 New hildon_window_set_edit_toolbar() method, to add a
2676 HildonEditToolbar to a window without having to pack it manually.
2678 Reorganize hildon_window_size_allocate()
2680 * src/hildon-edit-toolbar.c: Update documentation.
2682 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2683 example to use the new API.
2685 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2687 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2689 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2690 Remove from stack before calling parent's hide.
2692 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2694 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2695 window is removed from the middle of the stack, update the
2696 transiency of the previous one.
2698 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2701 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2703 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2704 block/unblock the signal handler if it's not actually being used.
2705 Fixes some critical warnings.
2707 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2709 Based on a patch by Iván Gómez (igomez@igalia.com)
2711 * src/hildon-banner.c
2715 * src/hildon-pannable-area.c
2716 * src/hildon-picker-dialog.c
2717 * src/hildon-wizard-dialog.h
2718 * src/hildon-wizard-dialog.c: Documentation updates.
2720 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2721 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2723 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2725 * configure.ac: post release version bump.
2726 * debian/changelog: version bump.
2728 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2733 * configure.ac: Bump version.
2734 * debian/changelog: Updates.
2736 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2738 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2739 a stock icon nor change the relief of the back arrow.
2741 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2742 graphics from theme)
2744 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2746 * src/hildon-button.c (hildon_button_set_alignment): Use
2747 priv->alignment if the button has no child yet.
2749 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2751 * src/hildon-button.c: (hildon_button_init): Set the
2752 button style during initialization to give it the proper
2755 Fixes: NB#99713 (HildonButton value label color is wrong)
2757 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2759 * src/hildon-touch-selector.c: Document
2760 hildon_touch_selector_center_on_selected()
2762 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2764 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2765 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2766 all menu items, but not the menu itself.
2767 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2768 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2769 items after adding them to the menu so keyboard accelerators work.
2770 (hildon_app_menu_show): Don't show the menu if it contains items
2771 but none of them are visible.
2773 * examples/hildon-app-menu-example.c (create_menu): Use
2774 gtk_widget_show_all() to show all menu items.
2776 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2778 * src/hildon-picker-dialog.c:
2779 (-_update_title_on_selector_changed_cb),
2780 (-_dialog_update_title): Removed.
2781 (_select_on_selector_changed_cb), (_on_dialog_response),
2782 (on_selector_columns_changed): Do not update the dialog title.
2783 (setup_interaction_mode): Do not connect to
2784 HildonTouchSelector::changed signal if there's a "done" button, as
2785 the dialog title doesn't need to be updated.
2787 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2790 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2792 Patch by Kristian Rietveld (kris@imendio.com)
2794 * src/hildon-touch-selector.c: (_create_new_column): Use new
2795 GtkTreeView::hildon-row-tapped signal to react to user interactions
2796 instead of ::changed.
2798 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2799 with some dynamic tree model)
2801 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2803 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2804 (+screen_size_changed, +label_size_request)
2805 (hildon_note_class_init): Make the Hildon information note have a
2806 minimum height, and make its text hvae a maximum width.
2808 Fixes: NB#98614 (Hildon information note (background) should have
2809 minimum height and maximum text width)
2811 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2813 * src/hildon-banner.h
2814 * src/hildon-banner.c (hildon_banner_show_information)
2815 (hildon_banner_show_informationf)
2816 (hildon_banner_show_information_with_markup): Update documentation
2817 to reflect that the icon_name parameter is not used anymore.
2818 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2819 Remove all code from these functions and mark them as deprecated.
2820 (hildon_banner_show_progress): Mark as deprecated.
2822 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2824 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2826 * src/hildon-pannable-area.c,
2827 (hildon_pannable_area_class_init),
2828 (tranparency_color),
2829 (hildon_pannable_draw_vscroll),
2830 (hildon_pannable_draw_hscroll),
2831 (hildon_pannable_area_expose_event): Added a new way to render the
2832 scrollbars of the pannable area avoiding using cairo at all. This
2833 way we improve the performance of the pannable area rendering. The
2834 cairo rendering procedure is still in the code, we can control
2835 which one to use changing the value of the define
2836 USE_CAIRO_SCROLLBARS.
2838 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2840 * configure.ac: post release version bump.
2841 * debian/changelog: version bump.
2843 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2848 * configure.ac: Bump version.
2849 * debian/changelog: Updates.
2851 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2853 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2854 banners instead of destroying them when they receive a button
2857 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2859 Reverted commit 34028, it was causing regressions, probably the
2860 topmost condition is not correct, we have to check it in more
2861 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2862 propagation of button press events)
2864 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2866 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2867 that the selection is not empty before attempting to retrieve the
2868 current ampm selection.
2870 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2872 * src/hildon-picker-button.c:
2873 (hildon_picker_button_on_dialog_response): Directly update the
2874 button contents when required instead of calling _selection_changed.
2876 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2878 * src/hildon-program.c (hildon_program_update_top_most): Update
2879 'is-topmost' property also when wm_hints is not set.
2881 Fixes: NB#98383 (is-topmost signal is not emitted when task
2882 switcher is clicked.)
2884 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2886 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2890 * src/hildon-animation-actor.c,
2891 * src/hildon-animation-actor.h: Added the animation actor class,
2892 this widget represents an animation actor for WM-assisted
2893 animation effects in the Hildon framework.
2895 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2897 * src/hildon-window-stack-private.h
2898 * src/hildon-window-stack.c
2899 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2900 Avoid calling gtk_widget_show() again indirectly from
2901 hildon_stackable_window_show()
2903 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2905 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2908 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2910 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2911 (hildon_time_selector_init): Move the construction of the hours and
2912 ampm columns to the constructor to preserve the order the columns
2915 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2917 * src/hildon-picker-dialog.c:
2918 (hildon_picker_dialog_class_init): Connect a realize method.
2919 (+hildon_picker_dialog_realize): Setup the interaction mode here
2921 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2922 yet, do it during the realize instead.
2923 (_on_dialog_response):
2924 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2925 if the widget is not realized, to avoid the dialog response before it
2928 Avoid premature responses in the HildonPickerDialog that can cause it
2929 to be hidden before it's even shown.
2931 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2933 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2934 (on_selector_columns_changed), (requires_done_button),
2935 (+prepare_action_area), (setup_interaction_mode),
2936 (_hildon_picker_dialog_set_selector):
2938 Split the interaction mode setup into preparation of the
2939 action area (prepare_action_area()) and the connection of
2940 the signals in setup_interaction_mode() and update the code to
2943 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2945 * src/hildon-pannable-area.c,
2946 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2947 per second to 15, we will check if this is ok regarding
2950 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2952 * src/hildon-pannable-area.c,
2953 (hildon_pannable_axis_scroll): Avoid resize if we already have
2954 reached overshoot_max.
2956 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2958 * src/hildon-pannable-area.c,
2959 (hildon_pannable_area_init),
2960 (hildon_pannable_area_realize),
2961 (hildon_pannable_area_size_allocate),
2962 (hildon_pannable_area_map),
2963 (hildon_pannable_area_unmap),
2964 (hildon_pannable_draw_vscroll),
2965 (hildon_pannable_draw_hscroll),
2966 (hildon_pannable_area_expose_event),
2967 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2968 pannable are to avoid the expose events go to the window and
2969 redraw the window. We save this way that part of the stack and the
2970 paint_boxes. We had to change the positions of the elements when
2973 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2975 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2976 * src/hildon-color-chooser-dialog.c:
2977 (hildon_color_chooser_dialog_init):
2978 * src/hildon-font-selection-dialog.c:
2979 (hildon_font_selection_dialog_init),
2980 (hildon_font_selection_dialog_show_preview):
2981 * src/hildon-get-password-dialog.c:
2982 * src/hildon-login-dialog.c:
2983 * src/hildon-set-password-dialog.c:
2984 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2985 * src/hildon-time-picker.c: (hildon_time_picker_init):
2987 Remove obsolete logical string IDs and update to the appropriate ones.
2989 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2991 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2993 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2994 that happens if the window hasn't been realized yet.
2996 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2997 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2999 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3001 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3002 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3005 Fixes: NB#98537 (Device hangs in account settings dialog)
3007 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3009 * configure.ac: post release version bump.
3010 * debian/changelog: version bump
3012 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3017 * configure.ac: Bump version.
3018 * debian/changelog: Updates.
3020 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3022 Added a new function to the HildonTimeButton widget that allows to
3023 change the step of the minutes in the selector associated with the
3024 button: hildon_time_button_new_step
3026 * src/hildon-time-button.c,
3027 (hildon_time_button_init),
3028 (hildon_time_button_new),
3029 (hildon_time_button_new_step):
3030 * src/hildon-time-button.h: Added the new function and refactored
3032 * examples/hildon-time-button-example.c,
3033 (main): We have replaced the function without parameters with the
3034 function with the steps set to 5
3036 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3038 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3040 * src/hildon-time-selector.c,
3041 (hildon_time_selector_class_init),
3042 (hildon_time_selector_constructor),
3043 (hildon_time_selector_get_property),
3044 (hildon_time_selector_set_property),
3045 (_create_minutes_model),
3046 (hildon_time_selector_new_step),
3047 (hildon_time_selector_set_time),
3048 * src/hildon-time-selector.h: Added a new property to the
3049 HildonTimeSelector (minutes-step), we use that property to control
3050 the steps between the minutes in the list of the selector. We have
3051 added a new function to the API to create a widget changing the
3052 step: hildon_time_selector_new_step.
3054 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3056 * src/hildon-time-selector.c,
3057 (hildon_time_selector_class_init),
3058 (hildon_time_selector_constructor),
3059 (hildon_time_selector_init): Overrided the construct function when
3060 creating the time selector object. We have moved the minutes model
3061 handling code from the init to the new construction function:
3062 hildon_time_selector_constructor.
3064 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3066 * examples/hildon-date-button-example.c: (main): Use the new
3067 hildon_date_button_new_with_year_range() method in the example.
3068 * src/hildon-date-button.c:
3069 (+hildon_date_button_new_with_year_range): New public method
3070 to conveniently create a HildonDateButton with a custom year range
3071 in its HildonDateSelector.
3072 * src/hildon-date-button.h: Add the new public method definition.
3074 Fixes: NB#97908 (Not possible to change the year range in
3075 HildonDateSelector/HildonDateButton)
3077 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3079 * src/hildon-date-selector.c:
3080 (+hildon_date_selector_set_property),
3081 (+hildon_date_selector_get_property),
3082 (hildon_date_selector_class_init): Install new properties "min-year"
3083 and "max-year" to define boundaries for the year column.
3084 (_create_year_model): Use the boundary properties to populate the model.
3085 (+hildon_date_selector_new_with_year_range): New public method to
3086 create a HildonDateSelector with a user defined year range.
3087 (hildon_date_selector_select_current_date): Use the new boundaries to
3088 calculate the iterator of current year.
3089 * src/hildon-date-selector.h: Add the new public method definition.
3091 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3093 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3094 Install a constructor method.
3095 (+hildon_date_selector_construct_ui): construct the widget.
3096 (+hildon_date_selector_constructor): new constructor.
3097 (+hildon_date_selector_init): move out widget construction code to
3098 the new constructor.
3100 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3102 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3103 that there's actually a month or year selected before obtaining them.
3104 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3105 of the HildonTouchSelector::changed signal, as it was emitted on every
3106 single item selection.
3108 Fix some warnings and possible crashers due to the selection restoring.
3110 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3112 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3113 the signal handlers only after creating the dialog instead of on every
3116 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3118 * src/hildon-button.c (hildon_button_init)
3119 * src/hildon-check-button.c (hildon_check_button_init)
3120 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3121 focus when clicked by default.
3123 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3125 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3128 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3130 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3131 Alejandro G. Castro (alex@igalia.com)
3133 * src/hildon-picker-dialog.c:
3134 (hildon_picker_dialog_class_init): install new "center-on-show"
3136 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3137 (hildon_picker_dialog_set_property): add setter code for the new
3139 (hildon_picker_dialog_get_property): add getter code for the new
3141 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3142 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3145 Fixes: NB#92849 (Selected item is not always visible when
3146 HildonTouchSelector is shown)
3148 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3150 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3151 Alejandro G. Castro (alex@igalia.com)
3153 * src/hildon-touch-selector.c:
3154 (_create_new_column): Do not connect to the "realize" signal of the
3156 (hildon_touch_selector_append_column): center on the selected items
3157 when a new column is appended.
3158 (hildon_touch_selector_select_iter): Factor out the code to select a
3159 column to hildon_touch_selector_scroll_to().
3160 (+search_nearest_element): Method to retrieve the nearest selected
3161 element to the visible area of the pannable area in a column.
3162 (+on_realize_cb): scroll to the initially selected item.
3163 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3164 the pannable area is realized, otherwise delay this until it is.
3165 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3166 selected items of a given column.
3167 (+hildon_touch_selector_center_on_selected): Public method to center
3168 all columns on the nearest selected item.
3169 * src/hildon-touch-selector.h: Add definition for
3170 hildon_touch_selector_center_on_selected().
3172 Implement public API to ensure visibility of all selected items in
3173 a HildonTouchSelector.
3175 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3177 Fixed a problem in the fading when calling the scroll_to API, and
3178 improve scrollbar fading handling.
3180 * src/hildon-pannable-area.c,
3181 (hildon_pannable_area_grab_notify): avoid the timeout when the
3183 (hildon_pannable_area_button_press_cb),
3184 (hildon_pannable_area_motion_notify_cb): Code style changes.
3185 (hildon_pannable_area_button_release_cb): Review the conditions
3186 when releasing the mouse button to avoid unrequired fading
3188 (hildon_pannable_area_scroll_to): Do not calculate and set the
3189 velocity if the scroll is not required.
3191 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3193 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3194 Don't check whether the new selector is NULL: it cannot be.
3195 Hold a reference to the selector while doing the replacement.
3197 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3199 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3200 unnecessary size_request in a removed widget.
3202 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3204 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3205 an unnecessary reference tracking that was leaking.
3207 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3209 Added delayed motion notify event handling, this way we can
3210 discard redrawing if more than 25 events arrive per second.
3212 * src/hildon-pannable-area.c,
3213 (hildon_pannable_area_init): Initialized the new private atributes
3214 controlling this timeout
3215 (hildon_pannable_area_dispose): Remove the timeout that controls
3216 the motion notify events.
3217 (hildon_pannable_area_scroll): Added a condition to control the
3218 use of the acceleration.
3219 (hildon_pannable_area_motion_event_scroll_timeout),
3220 (hildon_pannable_area_motion_event_scroll): Added this two
3221 functions, they handle the motion notify events inside the
3223 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3224 to the scroll method with the new function.
3225 (hildon_pannable_area_button_release_cb): We have to remove the
3226 timeout handler and move to the last position if the last motion
3227 events were not handled.
3229 Fixes: NB#97028 (Pannable area updates on every motion event)
3231 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3233 * src/hildon-pannable-area.c,
3234 (hildon_pannable_area_get_topmost): Added a new parameter to
3235 filter the the windows that do not include those events. Added
3236 also a condition when finding the window to filter windows that do
3237 not ask for those events.
3238 (hildon_pannable_area_button_press_cb),
3239 (hildon_pannable_area_button_release_cb),
3240 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3241 topmost function, we have added the new parameter.
3243 Fixes: NB#97458 (Pannable area prevents propagation of button
3246 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3248 * src/hildon-pannable-area.c,
3249 (hildon_pannable_area_initial_effect): Added controls before
3250 launching the timeout and the idle functions.
3251 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3252 of the method, in some situations it can return with TRUE and 0 in
3254 (hildon_pannable_area_button_press_cb): We do not need to set
3255 DELAY for fading out here.
3257 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3259 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3261 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3262 post-cleaning if the selection is not NULL.
3264 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3266 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3267 all items before restoring the selection.
3269 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3271 * src/hildon-touch-selector.c:
3272 (+hildon_touch_selector_unselect_all):
3273 * src/hildon-touch-selector.h: New API to unselect all items in a
3274 column of the touch selector.
3276 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3278 * src/hildon-pannable-area.c,
3279 (hildon_pannable_area_redraw): Added a call to the refresh
3280 function inside the redraw because apparently in some cases the
3281 change in the adjustment does not imply a size allocate.
3283 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3284 despite the view not being scrollable)
3286 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3288 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3289 leak. Check for NULL before attempting to set the window title.
3291 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3293 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3294 whether to show or not the 'Done' button each time the dialog is
3295 shown, as it depends on the HildonTouchSelector selection mode.
3297 Fixes: NB#96226 (In multiple selection mode Done button is shown
3298 sometimes in listpicker)
3300 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3302 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3303 for the number of columns in the HildonTouchSelector more than once.
3305 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3307 * src/hildon-touch-selector.c: Minor documentation fixes.
3309 * src/hildon-picker-dialog.c (+_dialog_update_title)
3310 (_select_on_selector_changed_cb)
3311 (_update_title_on_selector_changed_cb)
3312 (on_selector_columns_changed): Update dialog title when there's no
3313 'Done' button and also when the number of columns in the selector
3317 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3318 (+_selection_changed, hildon_picker_button_on_dialog_response)
3319 (hildon_picker_button_selector_selection_changed)
3320 (+hildon_picker_button_selector_columns_changed)
3321 (hildon_picker_button_set_selector): Update button value and emit
3322 'value-changed' when the number of columns in the selector
3326 Fixes: NB#96225 (Dialog titles are not shown according to the
3327 values selected in the list picker)
3329 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3331 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3332 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3333 New "arrow-width" and "arrow-height" style properties to set the
3334 size of the arrow button.
3335 Set name of arrow button ("hildon-edit-toolbar-arrow").
3337 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3338 graphics from theme)
3340 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3342 * src/hildon-picker-button.c:
3343 (hildon_picker_button_selector_selection_changed): Use
3344 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3345 the dialog is present.
3347 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3348 the selection is accepted in the dialog)
3350 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3352 * src/hildon-color-chooser.h
3353 * src/hildon-color-chooser-dialog.h:
3354 Added G_BEGIN_DECLS and G_END_DECLS
3356 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3358 (_clean_current_selection): plug a leak in the list.
3360 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3362 * src/hildon-picker-dialog.c:
3363 (+free_path_list): Method to free a GList of GtkTreePaths.
3364 (_clean_current_selection), (_save_current_selection),
3365 (_restore_current_selection): Save the current selection in
3366 as a list of lists, to support multiple selection properly.
3368 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3370 patch by Claudio Saavedra (csaavedra@igalia.com)
3372 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3373 Store the press position.
3374 (+hildon_text_view_button_release_event): If the release position is
3375 close enough to the press position, move the cursor here. Otherwise,
3377 (hildon_text_view_class_init): Override GtkTextView press, release, and
3378 motion event handlers, disabling this way text selection through
3379 pointer interaction, and allowing the container widget to handle the
3382 Fixes: NB#95828 (HildonTextView functionality)
3384 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3386 Based on a patch by Iván Gómez (igomez@igalia.com)
3388 * src/hildon-button.[ch]
3389 * src/hildon-calendar.c
3390 * src/hildon-check-button.c
3391 * src/hildon-date-editor.c
3392 * src/hildon-date-selector.c
3393 * src/hildon-picker-button.c
3394 * src/hildon-time-editor.c
3395 * src/hildon-time-selector.c
3396 * src/hildon-touch-selector.[ch]:
3397 Documentation updates
3399 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3401 * src/hildon-pannable-area.c,
3402 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3403 threshold, it was required due to X events handling.
3405 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3407 * src/hildon-pannable-area.c,
3408 (hildon_pannable_area_grab_notify),
3409 (hildon_pannable_area_initial_effect),
3410 (hildon_pannable_area_button_press_cb),
3411 (hildon_pannable_area_button_release_cb),
3412 (hildon_pannable_area_scroll_cb),
3413 (hildon_pannable_area_scroll_to): Review the timeout management of
3414 the scrollbar, the frecuency was incorrectly set.
3416 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3418 * src/hildon-picker-button.c:
3419 (+hildon_picker_button_on_dialog_response),
3420 (hildon_picker_button_clicked): Present the dialog instead of
3421 running it with gtk_dialog_run().
3423 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3426 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3428 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3429 (hildon_app_menu_finalize): When a window is hidden it doesn't
3430 emit notify::is-topmost, so make sure than the menu also
3431 disappears in that case.
3432 (parent_window_topmost_notify): Renamed from parent_window_hidden
3434 Fixes: NB#94460 (stackable window's menu is not closed when its
3437 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3439 * src/hildon-touch-selector-entry.c:
3440 (+hildon_touch_selector_entry_set_input_mode),
3441 (+hildon_touch_selector_entry_get_input_mode):
3442 * src/hildon-touch-selector-entry.h: New methods to access the input
3443 mode in the selector's entry.
3445 Fixes: NB#93410 (API required for setting IM mode in
3446 HildonTouchSelectorEntry)
3448 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3450 * configure.ac: post release version bump.
3451 * debian/changelog: version bump
3453 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3458 * configure.ac: Bump version.
3459 * debian/changelog: Updates.
3461 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3463 * src/hildon-touch-selector.c:
3464 (_hildon_touch_selector_has_multiple_selection): No need
3465 to initialize the variables here.
3467 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3469 * src/hildon-note-private.h
3470 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3471 (hildon_note_finalize, hildon_note_rebuild): Close information
3472 notes when they receive a button press.
3474 Fixes: NB#89890 (Information notes does not get disappeared after
3477 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3479 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3480 mark from the wizard title, as it's not really necessary. Also,
3481 do not display the page title if not set.
3483 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3485 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3486 (parent_window_hidden): Use the window's "is-topmost" property to
3487 detect when to hide the menu.
3489 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3491 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3492 (hildon_app_menu_finalize): If the parent window of the menu is
3493 hidden, hide the menu too.
3495 Fixes: NB#94460 (stackable window's menu is not closed when its
3498 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3501 * debian/libhildon1-examples.install
3503 * examples/Makefile.am:
3504 Use dh_install to install all examples.
3505 Use DEB_SRCDIR instead of defining SOURCE_DIR
3507 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3509 * configure.ac: post release version bump.
3510 * debian/changelog: version bump
3512 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3517 * configure.ac: bump version
3518 * debian/changelog: updates
3519 * debian/control: bump gtk+ dependency
3521 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3523 patch by Christian Dywan (christian@imendio.com)
3525 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3526 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3528 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3530 * src/hildon-check-button.c (hildon_check_button_init)
3531 (hildon_check_button_class_init, hildon_check_button_style_set)
3532 (hildon_check_button_apply_style):
3533 New "checkbox-size" style property.
3535 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3536 larger / configurable size)
3538 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3540 * configure.ac: post release version bump.
3541 * debian/changelog: version bump
3543 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3548 * configure.ac: bump version
3549 * debian/changelog: updates
3551 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3553 * doc/hildon-sections.txt
3554 * src/hildon-pannable-area.c
3555 * src/hildon-program.c
3556 * src/hildon-time-editor.c
3557 * src/hildon-touch-selector-entry.c:
3559 More documentation updates.
3561 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3563 * doc/hildon-sections.txt
3564 * src/hildon-caption.c
3565 * src/hildon-code-dialog.c
3566 * src/hildon-color-button.c
3567 * src/hildon-controlbar.c
3568 * src/hildon-date-editor.c
3569 * src/hildon-date-selector.c
3570 * src/hildon-edit-toolbar.c
3571 * src/hildon-find-toolbar.c
3572 * src/hildon-font-selection-dialog.c
3574 * src/hildon-program.c
3575 * src/hildon-range-editor.c
3576 * src/hildon-seekbar.c
3577 * src/hildon-time-editor.c
3578 * src/hildon-time-selector.c
3579 * src/hildon-volumebar-range.c
3580 * src/hildon-volumebar.c
3581 * src/hildon-vvolumebar.c
3582 * src/hildon-weekday-picker.c
3583 * src/hildon-window.c
3584 * src/hildon-wizard-dialog.c:
3586 Lots of documentation fixes.
3588 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3590 Patch contributed by Iván Gómez (igomez@igalia.com)
3592 * src/hildon-check-button.c:
3593 * src/hildon-date-button.c:
3594 * src/hildon-date-selector.c:
3595 * src/hildon-dialog.c:
3596 * src/hildon-edit-toolbar.c:
3597 * src/hildon-entry.c:
3598 * src/hildon-picker-button.c:
3599 * src/hildon-program.c:
3600 * src/hildon-text-view.c:
3601 * src/hildon-time-button.c:
3602 * src/hildon-touch-selector-entry.c:
3603 * src/hildon-window-stack.c:
3605 Add more "since" tags to the new API.
3607 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3609 * doc/hildon-sections.txt: Add below method.
3610 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3611 version for the hildonized scale.
3612 * src/hildon-gtk.h: Add the definition.
3614 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3616 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3618 * doc/hildon-sections.txt: Add missing entries for new methods.
3620 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3622 Added API to pannable are in order to get its adjustments. We
3623 added two properties to manage the values we had in the private
3626 * src/hildon-pannable-area.c:
3627 (hildon_pannable_area_class_init): Added hadjustment and
3628 vadjustment properties in order to expose horizontal and vertical
3630 (hildon_pannable_area_get_property),
3631 (hildon_pannable_area_set_property): Added code to handle the new
3633 (hildon_pannable_area_get_hadjustment),
3634 (hildon_pannable_area_get_vadjustment): API functions to get the
3636 * src/hildon-pannable-area.h:
3637 (hildon_pannable_area_get_hadjustment),
3638 (hildon_pannable_area_get_vadjustment): API functions to get the
3641 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3643 Fixed some leaks, after valgrinding.
3645 * src/hildon-touch-selector.c:
3646 (_default_print_func): Fixed a leak.
3647 (hildon_touch_selector_append_column): Fixed a leak.
3648 * src/hildon-date-button.c:
3649 (hildon_date_button_init): Fixed a leak.
3650 * src/hildon-date-selector.c
3651 (hildon_date_selector_finalize): Fixed a leak.
3653 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3655 Based on a patch by Christian Dywan (christian@imendio.com)
3657 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3659 * src/hildon-gtk.h: Add definition.
3661 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3663 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3665 * src/hildon-picker-button.c: (hildon_picker_button_init),
3666 (hildon_picker_button_new): Set the HildonButton::style property
3667 in the init method, to propagate the value to the derived classes.
3669 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3671 * src/hildon-button.c: (hildon_button_class_init): Do not make
3672 the "style" property a construct property.
3674 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3676 * src/hildon-wizard-dialog.h
3677 * src/hildon-wizard-dialog.c
3678 (hildon_wizard_dialog_set_forward_page_func)
3679 * src/hildon-pannable-area.h
3680 * src/hildon-pannable-area.c
3681 (hildon_pannable_area_set_size_request_policy):
3682 Documentation fixes.
3684 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3686 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3688 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3690 * doc/hildon-sections.txt: Added sections file.
3692 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3695 * src/*.[ch]: Updates.
3697 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3699 * examples/hildon-progress-indicator-example.c: new file
3700 * examples/Makefile.am: include the new example program
3702 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3704 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3706 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3708 * configure.ac: post release version bump
3709 * debian/changelog: version bump
3711 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3716 * configure.ac: bump version
3717 * debian/changelog: updates
3718 * debian/control: bump gtk+ dependency
3720 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3722 * src/hildon-dialog.c: Mark as deprecated.
3723 * src/hildon-dialog.h: Mark as deprecated.
3724 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3725 from HildonDialog and still work, even if
3726 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3727 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3729 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3730 maemo changes) instead)
3732 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3734 * src/hildon-pannable_area.h:
3735 * src/hildon-pannable_area.c:
3736 (hildon_pannable_area_class_init),
3737 (hildon_pannable_area_set_property),
3738 (hildon_pannable_area_get_property),
3739 (hildon_pannable_area_size_request),
3740 (hildon_pannable_area_get_size_request_policy),
3741 (hildon_pannable_area_set_size_request_policy): Added new API
3742 allowing applications to control the request policy. Now they can
3743 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3744 children allocation (HILDON_MOVEMENT_CHILDREN).
3746 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3750 (hildon_gtk_tree_view_set_ui_mode)
3751 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3752 mode of treeviews and iconviews.
3754 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3756 * src/hildon-touch-selector-entry.c:
3757 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3758 of a GtkEntry to get proper theming.
3760 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3761 widget, not GtkEntry)
3763 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3765 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3766 no HildonWizardDialogPageFunc.
3768 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3770 Patch contributed by Iván Gómez (igomez@igalia.com)
3772 * src/hildon-app-menu.c:
3773 * src/hildon-button.c:
3774 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3775 * src/hildon-stackable-window.c:
3776 * src/hildon-time-selector.c:
3777 * src/hildon-touch-selector.c:
3778 * src/hildon-window.c:
3780 Add more "since" tags to the new API in hildon 2.2.
3782 2008-12-05 Tim Janik <timj@imendio.com>
3784 Patch contributed by Christian Dywan (christian@imendio.com)
3786 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3787 HildonSizeType, which are supplied by Gtk+ now.
3789 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3791 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3792 (with maemo changes) instead)
3794 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3796 Patch contributed by Iván Gómez (igomez@igalia.com)
3798 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3801 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3803 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3804 (some_page_func), (main): Update the example to use a
3805 HildonWizardDialogPageFunc function.
3807 * src/hildon-wizard-dialog-private.h: Add private data for
3808 the HildonWizardDialogPageFunc function usage.
3810 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3811 (destroy), (hildon_wizard_dialog_init), (response),
3812 (hildon_wizard_dialog_set_forward_page_func):
3813 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3814 that applications can use to stop a HildonWizardDialog to jump to
3817 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3820 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3822 * src/hildon-program.h
3823 * src/hildon-program-private.h
3824 * src/hildon-program.c (hildon_program_init)
3825 (hildon_program_set_common_app_menu)
3826 (hildon_program_get_common_app_menu):
3827 New API for setting a common HildonAppMenu for all
3828 HildonStackableWindows registered with the HildonProgram.
3830 * src/hildon-stackable-window.c
3831 (hildon_stackable_window_toggle_menu):
3832 Use the common HildonAppMenu if a window doesn't have a specific
3835 * src/hildon-app-menu-private.h
3836 * src/hildon-app-menu.c
3837 (hildon_app_menu_get_parent_window):
3838 Function to obtain the window a HildonAppMenu is attached to.
3839 (hildon_app_menu_set_parent_window):
3840 Hide the menu if the parent window is set to NULL.
3842 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3844 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3845 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3846 search widget to popup.
3848 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3850 * configure.ac: post release version bump
3851 * debian/changelog: version bump
3853 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3858 * configure.ac: bump version
3859 * debian/changelog: updates
3861 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3863 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3865 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3866 (hildon_window_stack_window_realized)
3867 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3868 Set the leader GdkWindow when a window is stacked and realized,
3869 unset it when it's unstacked.
3870 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3872 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3874 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3876 * src/hildon-stackable-window.h
3877 * src/hildon-window-stack.h:
3878 Protect definition of HildonWindowStack using the preprocessor.
3880 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3882 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3883 Fix warning if all menu items are hidden.
3885 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3887 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3889 * src/hildon-controlbar.c:
3890 * src/hildon-hvolumebar.c:
3891 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3892 Multiple scale size defines updates.
3894 Fixes: NB#94322 (Scale Updates)
3896 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3898 * examples/hildon-app-menu-example.c (create_menu)
3899 Show items after adding them to the menu, as in the future the
3900 menu will no longer call gtk_widget_show() on the added items.
3902 * src/hildon-app-menu.c:
3903 Update example as explained above.
3905 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3907 * src/hildon-app-menu.c
3908 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3909 Make sure that all menu items have finger height.
3911 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3913 * src/hildon-picker-dialog.c:
3914 (_on_dialog_response), (_save_current_selection),
3915 (_restore_current_selection), (_clean_current_selection),
3916 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3917 Defined new functions in order to save the current internal selector
3918 selection previous open the dialog, in case that the use cancel the
3919 interaction, so the widget restores the previous selection.
3921 Fixes: NB#92032 (In calendar application, date values in 'new event'
3924 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3926 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3928 * src/hildon-button.c: Add a reference to the button examples in
3929 hildon-button-example.c
3931 * examples/hildon-button-example.c: Added examples of the most
3932 common button layouts.
3934 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3936 * src/hildon-app-menu.c (hildon_app_menu_show)
3937 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3939 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3941 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3943 * src/hildon-picker-dialog.c:
3944 (hildon_picker_dialog_init): Initialize the signal id for
3945 HildonTouchSelector::columns-changed.
3946 (+on_selector_columns_changed): Set up the interaction mode everytime a
3947 column is added or removed from the HildonTouchSelector.
3948 (_hildon_picker_dialog_set_selector): Connect to
3949 HildonTouchSelector::columns-changed and keep track of it.
3951 Make sure to update the interaction mode of the dialog everytime a
3952 column is added or removed in the HildonTouchSelector.
3954 Fixes: NB#93228 (Done button is not shown always in listpicker)
3956 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3958 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3959 a new ::columns-changed signal.
3960 (hildon_touch_selector_append_column): Emit ::columns-changed.
3961 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3963 Add a ::columns-changed signal, emitted when the number of columns in a
3964 HildonTouchSelector changes.
3966 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3968 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3969 (_hildon_picker_dialog_set_selector): Factor out the code
3970 to set up the dialog interaction mode.
3972 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3974 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3975 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3976 to signal_changed_id.
3978 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3980 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3983 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3985 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3986 Updated the logical ids related to ampm format, as now it is required to
3987 show it correctly localized even on languages with no default
3988 abbreviations for am or pm
3989 (_check_am_pm_format): check correctly the 24h format gconf property
3991 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3993 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3995 * src/hildon-button.c: Documentation updates.
3997 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3999 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4000 * src/hildon-caption.c: (hildon_caption_class_init):
4001 * src/hildon-color-button.c: (hildon_color_button_class_init):
4002 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4003 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4004 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4005 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4007 Remove deprecated GTK+ marshalers and replace them with the ones
4008 provided by GLib, for those available, add a marshaler for
4009 BOOLEAN:VOID, which is not available in GLib, and use it.
4011 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4013 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4014 the text from the previous column if there is no
4015 HildonTouchSelectorColumn::text-property set.
4017 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4019 * src/hildon-button.h
4020 * src/hildon-button.c (hildon_button_set_property)
4021 (hildon_button_get_property, hildon_button_class_init)
4022 (hildon_button_set_style, hildon_button_get_style):
4023 New "style" property to change the visual appearance of the
4026 * src/hildon-picker-button.c (hildon_picker_button_new):
4027 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4029 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4030 HildonButton look like PickerButton)
4032 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4034 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4035 column while building the default string.
4037 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4039 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4040 scroll indicator by default.
4042 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4044 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4046 * src/hildon-main.c: Fix the documentation for hildon_init()
4048 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4050 * doc/hildon-docs.sgml
4054 * src/hildon-window-stack-private.h
4055 * src/hildon-window-stack.h
4056 * src/hildon-window-stack.c:
4057 New HildonWindowStack object, that adds support for multiple
4058 stacks of windows per process.
4060 * src/hildon-stackable-window-private.h
4061 * src/hildon-stackable-window.h
4062 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4063 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4064 (hildon_stackable_window_show, hildon_stackable_window_hide)
4065 (hildon_stackable_window_class_init)
4066 (hildon_stackable_window_init):
4067 Use HildonWindowStack for stack management.
4069 * src/hildon-program.c (hildon_program_pop_window_stack)
4070 (hildon_program_peek_window_stack)
4071 (hildon_program_go_to_root_window):
4072 Add a fallback implementation to the deprecated functions using
4075 * examples/hildon-stackable-window-example.c:
4076 Use the new HildonWindowStack API.
4078 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4080 * src/hildon-stackable-window-private.h
4081 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4082 (hildon_stackable_window_hide, hildon_stackable_window_init):
4083 Remove all window stack management.
4085 * src/hildon-program-private.h
4086 * src/hildon-program.h
4087 * src/hildon-program.c (hildon_program_init)
4088 (hildon_program_pop_window_stack)
4089 (hildon_program_peek_window_stack)
4090 (hildon_program_go_to_root_window):
4091 Remove all window stack management and mark functions as
4094 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4096 * src/hildon-app-menu.c (hildon_app_menu_realize):
4097 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4099 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4101 * configure.ac: post release version bump
4102 * debian/changelog: version bump
4104 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4109 * configure.ac: bump version
4110 * debian/changelog: updates
4112 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4114 Based on initial code by Christian Dywan (christian@imendio.com)
4116 * doc/hildon-docs.sgml: Add section for hildon-main.
4117 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4118 * src/Makefile.am: Add new hildon-main.[ch]
4119 * src/hildon-defines.h: Update the icon sizes.
4120 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4121 new library initialization files and register icon sizes.
4122 * src/hildon-main.h: New declarations.
4123 * src/hildon.h: Include hildon-main.h
4125 Add new initialization functions to the library. These methods
4126 will register the hildon specific icon sizes and can be used in the
4127 future for other hildon specific bits.
4129 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4131 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4133 * src/hildon-window.c: (hildon_window_realize),
4134 (hildon_window_notify), (-hildon_window_update_title): Do not set
4135 the application name in the window title.
4137 Fixes: NB#89754 (Applications shouldn't display their names in the
4140 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4142 * src/hildon-note-private.h:
4143 * src/hildon-note.c: (hildon_note_set_property),
4144 (hildon_note_get_property), (hildon_note_class_init),
4145 (hildon_note_init), (hildon_note_finalize),
4146 (hildon_note_new_confirmation_with_icon_name),
4147 (hildon_note_new_information_with_icon_name):
4149 No need to mark as deprecated the actual code. Revert
4150 to avoid missing symbols in widgets using deprecated API.
4152 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4154 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4156 * src/hildon-volumebar.h
4157 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4158 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4160 * src/hildon-helper.h
4161 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4162 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4164 * examples/Makefile.am:
4165 Deprecate hildon-insensitive-example
4167 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4169 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4171 * examples/hildon-pannable-area-buttons-scroll-example.c:
4172 Make all buttons finger height
4174 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4176 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4178 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4179 update the day model only if it is really required, and to avoid the
4180 full-reconstruction aproach. Now it only add or remove the required days.
4182 The purpose of this is avoid superfluous HildonTouchSelector::changed
4185 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4186 with strange parameters)
4188 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4190 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4192 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4193 the WINDOW_TYPE property.
4195 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4197 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4200 Fix dependency to allow parallel compilation with make -jX
4202 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4204 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4205 color frame and some minor tweaks to make it more consistent with
4208 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4209 highlighted but not visible)
4211 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4213 * examples/Makefile.am: Fixed typo in the Makefile.am.
4215 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4217 Reviewed the use of MAEMO_GTK define, now we add the define in the
4218 compilation line, and we also add it to the pc file.
4220 * configure.ac: Added MAEMO_GTK define to the compilation command
4221 and removed it from the config.h.
4223 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4224 do not have to take care about this define if the library was
4228 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4230 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4232 * examples/Makefile.am,
4233 * examples/hildon-pannable-area-buttons-scroll-example.c,
4234 * examples/hildon-pannable-area-gesture-signals-example.c,
4235 * examples/hildon-pannable-area-scroll-jump-example.c,
4236 * examples/hildon-pannable-area-tree-view-example.c:
4237 Renamed the pannable area examples, now they have more meaningful
4240 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4242 * src/hildon-touch-selector.c:
4243 (hildon_touch_selector_set_column_selection_mode): Used of
4244 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4245 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4246 to avoid re-seting the same selection mode.
4248 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4249 breaks HildonPickerDialog)
4251 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4253 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4254 conditional in the Makefile.am
4256 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4258 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4259 Remove unused methods.
4261 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4263 * src/hildon-button.c (hildon_button_init):
4264 Make button images center-aligned by default
4266 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4269 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4270 activated, we have to think about how to deal with both defines
4271 MAEMO_GTK and MAEMO_CHANGES.
4273 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4275 * examples/hildon-app-menu-example.c (create_menu): Make all
4276 buttons finger size.
4278 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4280 Fixed the compilation without maemo gtk adding ifdefs with
4281 MAEMO_GTK define to the code, we have to check this version more
4284 * examples/Makefile.am: Added control to avoid some examples that
4285 just make sense with maemo gtk.
4288 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4289 hildon modes with the define.
4291 * examples/hildon-edit-toolbar-example.c,
4292 (create_icon_view): Create the icon view without hildon-gtk
4293 helpers if we are not using maemo gtk.
4295 * src/hildon-touch-selector.c,
4296 (_create_new_column): Create the treeview without hildon-gtk
4297 helpers if we are not using maemo gtk.
4299 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4301 * src/hildon-pnnable-area.c,
4302 (hildon_pannable_area_dispose),
4303 (hildon_pannable_area_button_press_cb),
4304 (hildon_pannable_area_child_mapped),
4305 (hildon_pannable_area_add),
4306 (hildon_pannable_area_remove): Added code to control the position
4307 of the event_window when adding and removing children from the
4308 pannable. We have to raise the event window when the child is
4311 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4312 selection mode using custom widget inside pannable)
4314 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4316 * configure.ac: post release version bump
4317 * debian/changelog: version bump
4319 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4324 * configure.ac: bump version
4325 * debian/changelog: updates
4327 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4329 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4330 search mode, in order to avoid lose the focus on the treeview when
4331 a hw key (like enter) is pressed.
4333 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4334 in HildonDateSelector dialog)
4336 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4338 * debian/rules: Added --enable-maintainer-mode
4339 * Makefile.am: Added ACLOCAL_AMFLAGS
4341 This allows to properly regenerate the Makefiles if you modify the
4342 configure.ac or any Makefile.am.
4344 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4346 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4347 properties, not needed at all.
4349 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4351 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4353 * src/hildon-note.c: (hildon_note_set_property),
4354 (hildon_note_get_property), (hildon_note_class_init),
4355 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4356 (hildon_note_new_confirmation_add_buttons): Remove icons.
4357 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4358 (hildon_note_new_information_with_icon_name): Deprecate.
4359 (hildon_note_new_confirmation): Act directly, without calling
4360 the deprecated constructor.
4361 (hildon_note_new_information): Act directly, without calling
4362 the deprecated constructor.
4363 * src/hildon-note.h: Mark deprecate methods as such.
4364 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4365 not run tests on the deprecated methods if built with deprecation
4368 Fixes: NB#91688 (Never show icons in information notes/confirmation
4371 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4373 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4374 (hildon_app_menu_key_press): Remove leftover usage of the
4375 private structure in HildonAppMenu struct.
4376 * src/hildon-app-menu.h: Remove leftover private structure
4377 from the HildonAppMenu struct.
4379 Fixes a crasher when using the HildonAppMenu.
4381 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4383 * src/hildon-picker-dialog.c: Use appropriate logical id
4384 for the default "Done" text.
4386 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4388 * configure.ac: post release version bump
4389 * debian/changelog: version bump
4391 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4393 Modified the way to scroll to the current selection just when the touch
4394 selector is shown on the screen, avoiding a g_idle. Added too a property
4395 to configure this behaviour. See hildon_pannable_area_jump_to_child
4396 documentation for more information.
4398 * src/hildon-touch-selector.c
4399 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4400 Added 'initial-scroll' property
4401 (hildon_touch_selector_set_property): Added
4402 (hildon_touch_selector_map): Removed as not required anymore
4403 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4404 only a concrete column, instead of iterate along all the columns
4406 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4411 * configure.ac: bump version
4412 * debian/changelog: updates
4414 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4416 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4417 compilation time warnings.
4419 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4421 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4422 the default value for HildonPannableArea::mov-mode to
4423 HILDON_PANNABLE_AREA_MODE_VERT.
4425 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4427 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4429 Reverting following commit:
4431 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4433 * src/hildon-app-menu-private.h
4434 * src/hildon-app-menu.[ch]
4435 * src/hildon-button.[ch]
4436 * src/hildon-check-button.[ch]
4437 * src/hildon-entry.[ch]
4438 * src/hildon-pannable-area.[ch]
4439 * src/hildon-text-view.[ch]:
4440 Added private field to the object's structure.
4442 because it causes an ABI breakage. We will need to introduce these
4443 changes later at some point. See NB#91636 for an extensive
4444 explanation and status.
4446 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4448 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4450 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4451 remove special cases that are no longer necessary.
4453 Fixes: NB#91016 (Change toolbar sizes, simplification)
4455 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4457 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4458 is shown in the cancel note.
4460 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4462 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4463 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4464 (hildon_seekbar_init): Remove steppers, remove expose event.
4465 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4467 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4469 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4471 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4472 label font to "SmallSystemFont" for vertically arranged buttons.
4474 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4477 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4479 * src/hildon-check-button.c
4480 (hildon_check_button_set_active, hildon_check_button_clicked):
4481 Don't access private parts directly, use getters instead.
4483 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4485 * src/hildon-check-button.c (hildon_check_button_new):
4486 Align the contents of the check button to the left.
4488 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4490 * src/hildon-pannable-area.c,
4491 (hildon_pannable_area_scroll_to),
4492 (hildon_pannable_area_jump_to),
4493 (hildon_pannable_area_scroll_to_child),
4494 (hildon_pannable_area_jump_to_child): Replace the mapped
4495 precondition of these functions with the realized, it is the
4496 correct state of the widget in this case. Changed the
4497 documentation according to this modification.
4499 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4501 Added a new EXTRA_CFLAGS option to add the deprecated define to
4502 the compilation command. This way we can avoid using the define in
4503 the documentation compilation.
4505 * configure.ac: Defined EXTRA_CFLAGS.
4507 * examples/Makefile.am:
4509 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4511 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4513 * src/hildon-picker-dialog.c:
4514 Defined a utility macro with the desired touch selector height
4515 Removed currently unused separator, and title_label variables from
4517 (hildon_picker_dialog_init): Removed code related to the creation
4518 of unused private variables title_label and separator.
4519 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4520 to ensure correct visualization of the touch selector inside the dialog.
4521 * src/hildon-touch-selector.c
4522 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4523 ensure a concrete height of the widget.
4525 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4528 * tests/Makefile.am:
4530 Remove spurious whitespaces.
4532 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4534 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4535 compilation warning after the cancel button removal.
4537 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4539 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4541 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4542 Makefile.am, that way we can choose not to compile some examples
4543 and tests of the deprecated widgets.
4545 * examples/Makefile.am: Divided the sources in deprecated and
4548 * src/Makefile.am: Added undef statement of the deprecated
4549 symbol to the enums file generation process.
4551 * src/hildon-color-chooser-dialog.c
4552 * src/hildon-color-chooser-dialog.h
4553 * src/hildon-color-button.c
4554 * src/hildon-color-button.h
4555 * src/hildon-color-chooser.c
4556 * src/hildon-color-chooser.h
4557 * src/hildon-controlbar.c
4558 * src/hildon-controlbar.h
4559 * src/hildon-date-editor.c
4560 * src/hildon-date-editor.h
4561 * src/hildon-hvolumebar.c
4562 * src/hildon-hvolumebar.h
4563 * src/hildon-private.c
4564 * src/hildon-private.h
4565 * src/hildon-range-editor.c
4566 * src/hildon-range-editor.h
4567 * src/hildon-seekbar.c
4568 * src/hildon-seekbar.h
4569 * src/hildon-time-editor.c
4570 * src/hildon-time-editor.h
4571 * src/hildon-time-picker.c
4572 * src/hildon-time-picker.h
4573 * src/hildon-volumebar.c
4574 * src/hildon-volumebar.h
4575 * src/hildon-vvolumebar.c
4576 * src/hildon-vvolumebar.h
4577 * src/hildon-bread-crumb-trail.h
4578 * src/hildon-bread-crumb-trail.c
4579 * src/hildon-calendar-popup.c
4580 * src/hildon-calendar-popup.h
4581 * src/hildon-weekday-picker.c:
4582 * src/hildon-weekday-picker.h:
4583 * src/hildon-bread-crumb-widget.c:
4584 * src/hildon-bread-crumb-widget.h:
4585 * src/hildon-bread-crumb.c:
4586 * src/hildon-bread-crumb.h:
4587 * src/hildon-calendar.c:
4588 * src/hildon-calendar.h:
4589 * src/hildon-caption.c:
4590 * src/hildon-code-dialog.c:
4591 * src/hildon-code-dialog.h:
4592 * src/hildon-font-selection-dialog.c:
4593 * src/hildon-font-selection-dialog.h:
4594 * src/hildon-get-password-dialog.c:
4595 * src/hildon-get-password-dialog.h:
4596 * src/hildon-login-dialog.c:
4597 * src/hildon-login-dialog.h:
4598 * src/hildon-number-editor.c:
4599 * src/hildon-number-editor.h:
4600 * src/hildon-set-password-dialog.c:
4601 * src/hildon-set-password-dialog.h:
4602 * src/hildon-sort-dialog.c:
4603 * src/hildon-sort-dialog.h: This is the list of deprecated
4606 * src/hildon-touch-selector.c:
4607 * src/hildon-window.c: Added undef statement to avoid compilation
4610 * tests/Makefile.am: Divided the sources in deprecated and
4613 * tests/check_test.c,
4614 (configure_tests): Marked the deprecated code that was adding
4615 suites with deprecated tests.
4617 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4619 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4621 * src/hildon-touch-selector.c: (_default_print_func): Do not
4622 duplicate a string returned by gtk_tree_model_get(), it is already
4625 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4628 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4630 * src/hildon-pannable-area.c
4631 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4632 method, it had problems when adding a widget with viewport the
4633 second time. Now checks if it already has a viewport and uses it.
4635 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4638 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4640 * src/hildon-pannable-area.c,
4641 (hildon_pannable_area_scroll_to),
4642 (hildon_pannable_area_jump_to),
4643 (hildon_pannable_area_scroll_to_child),
4644 (hildon_pannable_area_jump_to_child): Added a precondition to the
4645 scroll and jump to functions: the widget must be mapped before we
4646 can safely call these functions. We have also added documentation
4647 to the functions to explain how to use them in this situation.
4650 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4652 Reviewed the threading handling of the pannable widget, we have
4653 used the gdk_threads_add_timeout function instead of the usual
4654 glib handlers. This avoids some problems with the threads.
4656 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4657 (hildon_pannable_area_initial_effect),
4658 (hildon_pannable_area_scroll_indicator_fade),
4659 (hildon_pannable_area_button_press_cb),
4660 (hildon_pannable_area_timeout),
4661 (hildon_pannable_area_motion_notify_cb),
4662 (hildon_pannable_area_button_release_cb),
4663 (hildon_pannable_area_scroll_cb),
4664 (hildon_pannable_area_scroll_to): Removed the
4665 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4666 gdk_threads_add_timeout.
4668 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4670 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4675 * configure.ac: bump version
4676 * debian/changelog: updates
4678 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4680 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4681 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4682 * src/hildon-color-chooser-dialog.c:
4683 (hildon_color_chooser_dialog_init):
4684 * src/hildon-font-selection-dialog.c:
4685 (hildon_font_selection_dialog_init):
4686 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4688 Remove all cancel/close-like dialogs, as these are not going to be
4691 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4693 * src/hildon-note.c: (hildon_note_rebuild),
4694 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4697 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4699 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4701 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4702 sure all buttons are shown, even the Cancel/Close-like ones.
4704 Fixes: NB#90861 (Custom Confirmation dialogs should be
4705 protected from cancel button removal)
4707 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4709 * debian/control: Change libhildon1-examples dependency from libhildon1
4711 * debian/libhildon1-examples.install
4713 * Makefile.am: Modified the final install directory for the examples on
4714 package libhildon1-examples
4715 * Makefile.static: Update clean target in order to remove all the binary
4718 Changes suggested by Claudio after review new libhildon1-examples package
4720 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4722 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4723 * src/hildon-touch-selector.c: Ditto.
4725 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4727 * debian/control: Added new package libhildon1-examples, in order to pack
4728 the current hildon examples as documentation
4729 * debian/rules: Not to compress .c files, modify some includes on the
4730 examples (as normally are compiled locally, but when installed it will
4731 require to include the installed libhildon1 library), and rename
4733 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4734 install all the example files on the new example package
4735 * examples/Makefile.static: Added static makefile that can be used to
4736 compile the examples, once installed the new example package
4737 * examples: Most of the examples were modified in order to grant that
4738 all use only '#include "hildon.h"', in order to be easy to prepare
4739 it on the example package
4741 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4744 * debian/libhildon1-dev.install
4745 * debian/libhildon1-doc.install:
4746 Move all gtk-doc files to a separate libhildon1-doc package.
4748 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4750 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4752 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4754 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4756 * debian/rules: Fixed a error in order to avoid unnecessary calls
4757 to autogen.sh on package building
4759 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4761 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4763 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4765 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4768 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4770 * src/hildon-picker-button.c
4771 (hildon_picker_button_finalize):
4772 Free priv->done_button_text
4774 * src/hildon-time-button.c
4775 (hildon_time_button_set_time)
4776 * src/hildon-picker-button.c
4777 (hildon_picker_button_clicked)
4778 (hildon_picker_button_selector_selection_changed)
4779 (hildon_picker_button_set_selector)
4780 * src/hildon-date-button.c
4781 (hildon_date_button_set_date):
4782 Free strings returned by hildon_touch_selector_get_current_text()
4784 * src/hildon-button.c (hildon_button_construct_child):
4785 Fix leaks in priv->image and priv->label_box
4787 Fixes: NB#90535 (Memory leak in picker button)
4789 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4791 * src/hildon-button.c: (hildon_button_get_property): Do not access
4792 private elements directly, use getters instead.
4794 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4796 * src/hildon-app-menu-private.h
4797 * src/hildon-app-menu.c
4798 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4799 Store the menu's parent window.
4801 * src/hildon-stackable-window.c
4802 (hildon_stackable_window_toggle_menu)
4803 (hildon_stackable_window_finalize):
4804 Set the menu's parent window when the menu is shown, unset it when
4807 * src/hildon-app-menu.c
4808 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4809 (hildon_app_menu_class_init):
4810 Send unhandled keyboard accelerators to the parent window.
4812 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4814 * src/hildon-stackable-window.c
4815 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4817 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4819 * configure.ac: post release version bump
4821 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4824 * configure.ac: Bump version
4825 * debian/changelog: Updates
4826 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4829 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4831 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4834 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4835 GtkMenu with Hildon style.
4837 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4839 * src/hildon-picker-button.c:
4840 (hildon_picker_button_set_done_button_text): Set the dialog's
4841 done button text here as well.
4843 Fixes: NB#90232 (Picker button does not set the label on done button
4844 for the second time)
4846 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4848 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4851 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4853 * src/hildon-app-menu.c (hildon_app_menu_insert)
4854 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4855 the HildonAppMenu to be activatable using keyboard accelerators
4856 when the menu is not being shown.
4858 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4860 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4862 * src/hildon-stackable-window.c
4863 (hildon_stackable_window_show):
4864 Don't hide old windows automatically when new windows are shown:
4865 this is now a task for the window manager.
4866 (hildon_stackable_window_class_init)
4867 (hildon_stackable_window_hide):
4868 Remove windows from the stack everytime they're hidden.
4869 (hildon_stackable_window_realize):
4870 Don't change the _NET_WM_WINDOW_TYPE property. Use
4871 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4872 it as a stackable window.
4874 * src/hildon-program.c
4875 (hildon_program_pop_window_stack):
4876 Just hide the window to remove it from the stack.
4877 (hildon_program_go_to_root_window):
4878 Don't call gtk_widget_show(), this is now a task for the window
4881 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4883 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4885 * src/hildon-button.c
4886 (hildon_button_construct_child):
4887 Don't pack anything in the button until text or image are
4888 set. This allows adding a custom child after creating the button
4889 with hildon_button_new().
4890 (hildon_button_finalize, hildon_button_class_init)
4891 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4892 alignment and the label box even when they're not packed in the
4895 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4897 * src/hildon-touch-selector.h:
4898 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4899 currently the type definition was using GTK_TYPE_VBOX
4900 * src/hildon-touch-selector.c:
4901 Added some implementation notes in order to clarify that any other widget
4902 added without the column related API will not be included on the
4903 selection logic, and how the widget is freed, as some people ask about
4905 (hildon_touch_selector_remove): Reimplemented in order to free properly
4906 the column related data when you remove the private hbox.
4907 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4908 to get a proper HildonTouchSelectorColumn documentation
4910 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4912 * src/hildon-touch-selector-entry.c:
4913 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4914 text in the GtkEntry and there is no item selected. Fixes a
4917 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4919 * src/hildon-app-menu-private.h
4920 * src/hildon-app-menu.[ch]
4921 * src/hildon-button.[ch]
4922 * src/hildon-check-button.[ch]
4923 * src/hildon-entry.[ch]
4924 * src/hildon-pannable-area.[ch]
4925 * src/hildon-text-view.[ch]:
4926 Added private field to the object's structure.
4928 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4930 * configure.ac: post-release version bump
4932 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4936 * configure.ac: pre-release version bump
4938 * debian/changelog: updates.
4940 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4942 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4943 Disconnect the handler for HildonTouchSelector::changed.
4945 (hildon_picker_button_selector_selection_changed): Update the button
4946 value if the selection change was not triggered by the
4949 (hildon_picker_button_set_selector): connect to
4950 HildonTouchSelector::changed.
4952 Fixes: NB#89650 (Picker button is not updated, when selection in
4953 selector has changed)
4955 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4957 * src/hildon-picker-dialog.c
4958 (hildon_picker_dialog_realize): Removed as not required
4959 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4960 * src/hildon-picker-button.c
4961 (_current_selector_empty): New function, checks if the selector is empty
4962 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4963 if the current selector is empty, in order to avoid to show the dialog
4964 close the dialog in this case (and shows a g_warning).
4966 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4968 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4970 * src/hildon-pannable-area.c,
4971 (hildon_pannable_area_scroll): Added clause to stop movement when
4972 the child of pannable is smaller than one page.
4973 (hildon_pannable_area_scroll_to): Added conditions to avoid
4974 starting the scrolling movement if the child is smaller than one
4975 page, the complete child is in the screen, we do not have to move.
4977 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4979 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4981 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4982 this is managed automatically by the widget when the size of the
4985 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4987 * src/hildon-picker-button.c
4988 (hildon_picker_button_set_done_button_text): Make a copy of the
4989 text, and free the previous value.
4991 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4993 * src/hildon-touch-selector-entry.c:
4994 (hildon_touch_selector_entry_print_func): Return the selected row's
4995 text if the entry is empty.
4997 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5000 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5002 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5004 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5007 * src/hildon-check-button.h
5008 * src/hildon-check-button.c
5009 * examples/hildon-check-button-example.c:
5010 HildonCheckButton is now a new widget. 'toggled' signal added.
5012 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5014 * src/hildon-program-private.h
5015 * src/hildon-program.c (hildon_program_init)
5016 (hildon_program_finalize): Removed unused variables group_leader
5017 and name from HildonProgramPrivate.
5019 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5021 * src/hildon-check-button.c (hildon_check_button_set_active)
5022 (hildon_check_button_get_active, hildon_check_button_new): Use
5023 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5025 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5027 * src/hildon-touch-selector.h
5028 (hildon_touch_selector_set_column_attributes): added deprecation
5029 guard HILDON_DISABLE_DEPRECATED
5030 * src/hildon-time-selector.c
5031 (hildon_time_selector_set_time)
5032 (hildon_time_selector_get_time): Fixed a typo on documentation
5033 * src/hildon-touch-selector.c: update HildonTouchSelector and
5034 HildonTouchSelectorColumn documentation
5035 * src/hildon-touch-selector-entry.c: update "text-column" property
5037 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5038 to be added to the general documentation.
5040 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5042 * examples/hildon-pannable-area-example-4.c,
5044 * examples/hildon-pannable-area-example.c,
5045 (main): Modified the code in order to use the container add, with
5046 viewport treeviews could have problems if they are really big.
5048 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5050 * src/hildon-weekday-picker.c,
5051 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5052 the agreement regarding deprecation in the library.
5054 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5056 * examples/hildon-picker-button-multicolumn-example.c:
5057 (main): Use custom "done" button text.
5059 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5060 (hildon_picker_button_set_property),
5061 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5062 (hildon_picker_button_init),
5063 (+hildon_picker_button_get_done_button_text),
5064 (+hildon_picker_button_set_done_button_text): New methods to customize
5065 the "done" button label in the launched HildonPickerDialog. Also,
5068 * src/hildon-picker-button.h: add the public API.
5070 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5072 * src/hildon-date-selector.h:
5073 * src/hildon-picker-dialog.h:
5074 * src/hildon-time-selector.h:
5075 * src/hildon-touch-selector-column.h:
5076 * src/hildon-touch-selector.h:
5078 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5079 declarations. Fixes gtk-doc warnings.
5081 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5083 * src/hildon-picker-dialog.h
5084 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5085 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5087 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5088 long text is set as label for done button)
5090 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5092 * src/hildon-dialog.c (hildon_dialog_add_button):
5093 Set fixed width to all buttons in the HildonDialog.
5095 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5097 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5099 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5100 Set widget name using class name plus "-finger" or "-thumb".
5102 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5104 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5105 'clicked' when the state of the button is manually changed.
5107 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5109 * src/hildon-app-menu.c (hildon_app_menu_realize)
5110 (hildon_app_menu_unrealize, hildon_app_menu_init)
5111 (hildon_app_menu_class_init, item_visibility_changed):
5112 Change the menu layout when the size of the screen changes.
5113 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5114 Show warning only when changing the number of colums using the
5117 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5119 * debian/compat: Set to 5
5120 * debian/control: Update dependencies.
5121 * debian/libhildon1-dbg.install: Remove.
5122 * debian/libhildon1-dev.install: Update according to cdbs paths.
5123 * debian/libhildon1.install: Update according to cdbs paths.
5124 * debian/rules: Switch to cdbs.
5126 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5128 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5129 'item' variable renamed to 'filter'
5131 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5133 * src/hildon-app-menu.c (hildon_app_menu_insert)
5134 (hildon_app_menu_add_filter, remove_item_from_list)
5135 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5136 Don't leak hidden items when the menu is destroyed.
5138 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5140 * src/hildon-app-menu.c (hildon_app_menu_insert)
5141 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5142 (hildon_app_menu_set_columns, item_visibility_changed)
5143 (filter_visibility_changed, hildon_app_menu_repack_filters)
5144 (hildon_app_menu_repack_items):
5145 Repack items and filters separately.
5147 Don't repack all items, change only the ones that are needed to
5150 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5152 * src/Makefile.am: added hildon-touch-selector-column.h
5154 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5156 * src/hildon-touch-selector.c: added the property "text-column" to the
5157 class HildonTouchSelectorColumn, and related get/set functions
5158 (_default_printf_func): updated to use "text-column" property
5159 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5160 "text-column" in his documentation, as this is now included on
5161 HildonTouchSelectorColumn. The get/set_property can still be used,
5162 working as a wrapper to the concrete column "text-column" property
5163 (_text_column_modified): callback added in order to handle the signal
5164 "notify::text-column" of the concrete HildonTouchSelectorColumn
5165 (hildon_touch_selector_entry_get_text_column)
5166 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5167 modified in order to use the HildonTouchSelectorColumn "text-column"
5169 * src/hildon-time-selector.c:
5170 * src/hildon-date-selector.c:
5171 * examples/hildon-touch-selector-example.c
5172 * examples/hildon-touch-selector-multi-cells-example.c
5173 * examples/hildon-picker-button-multicolumn-example.c
5174 Set the right value to "text-column" property on the creation of a new
5175 column using hildon_touch_selector_append_column()
5177 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5179 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5181 * src/hildon-app-menu.c
5182 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5183 updating the layout of the menu, don't create all widgets again,
5184 just repack the items in their new places.
5186 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5188 * src/hildon-time-selector.c
5189 (hildon_time_selector_get_time)
5190 (hildon_time_selector_set_time)
5191 Added documentation of these public methods
5193 * src/hildon-date-button.h
5194 * src/hildon-touch-selector-column.h
5195 * src/hildon-time-button.h
5196 * src/hildon-picker-dialog.h
5197 * src/hildon-time-selector.h
5198 * src/hildon-picker-button.h
5199 * src/hildon-touch-selector.h
5200 * src/hildon-time-picker.h
5201 * src/hildon-date-selector.h
5202 * src/hildon-touch-selector-entry.h
5203 Modified in order to use hildon-widgets code style
5205 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5207 Added deprecated support to the compilation process using
5208 HILDON_DISABLE_DEPRECATED
5210 * configure.ac: Added the --disable-deprecated to the configure
5213 * src/hildon-weekday-picker.c:
5214 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5215 to use the deprecated support. We will update the other deprecated
5216 widgets status in a new patch.
5218 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5220 * configure.ac: Fixed typo with fatal warnings support, the
5221 variable name was not correct
5223 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5225 * src/hildon-app-menu.c
5226 * src/hildon-program.c: Update documentation.
5228 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5230 * configure.ac: Post-release version bump.
5232 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5237 * configure.ac: Pre-release version bump.
5238 * debian/changelog: Updates.
5240 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5242 * NEWS: Update news for previous releases.
5244 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5246 * examples/hildon-touch-selector-multi-cells-example.c:
5247 (create_selector): Update the example to use
5248 hildon_touch_selector_append_column() with a NULL renderer and set
5249 the renderers later.
5250 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5251 passed a NULL renderer. This is documented behavior now.
5253 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5254 This must be used if the developer wants full control on the layout of
5255 the renderers to be added to the column.
5257 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5259 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5261 * src/hildon-touch-selector.c: Documentation fixes.
5263 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5265 * src/hildon-wizard-dialog-private.h: Remove image and box.
5266 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5267 (hildon_wizard_dialog_set_property), (response): Completely remove
5268 image/icon support, and the containers required for the layout.
5270 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5272 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5274 * src/hildon-app-menu.c: Updated documentation.
5276 * src/hildon-stackable-window.c
5277 (hildon_stackable_window_set_main_menu): Unref the old menu after
5278 ref'ing the new one.
5280 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5282 * src/hildon-stackable-window.c
5283 (hildon_stackable_window_set_main_menu): Unref the previous menu
5284 instead of destroying it.
5286 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5287 floating reference and set has_user_ref_count to FALSE to make
5288 HildonAppMenu act like a normal ref-counted widget and not a
5291 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5294 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5296 * src/hildon-touch-selector-column.h: new file
5297 * src/hildon-touch-selector.h
5298 * src/hildon-touch-selector.c
5299 Implemented GtkCellLayout interface, in order to allow to configure
5300 the cell layout on each individual selector column
5301 (hildon_touch_selector_set_column_attributes): marked as deprecated
5302 * examples/hildon-touch-selector-multi-cells-example.c
5303 Example of how to use the GtkCellLayout interface on the selector
5305 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5307 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5309 * src/hildon-app-menu.h
5310 * src/hildon-app-menu.c
5311 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5312 (hildon_app_menu_append, hildon_app_menu_prepend):
5313 New methods to prepend, insert and move items in the menu.
5315 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5317 * src/hildon-wizard-dialog.c:
5319 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5321 (create_title): Update logical IDs and related code.
5322 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5324 * src/hildon-wizard-dialog.h: Note that
5325 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5326 point, as it is not used anymore.
5328 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5330 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5332 * src/hildon-note.c:
5333 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5334 shown. Do not display an icon in confirmation notes nor information
5336 (hildon_note_set_button_text): Update logical ID for cancel button.
5338 Fixes: NB#88850 (Update HildonNote button strings + signals)
5340 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5342 * src/hildon-stackable-window.c
5343 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5345 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5347 * src/hildon-app-menu-private.h
5348 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5349 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5350 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5351 temporary property 'columns' to change the number of columns.
5353 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5355 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5357 * examples/hildon-note-example.c: (on_information_clicked),
5358 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5359 debugging information.
5360 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5362 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5363 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5364 in order to close: this will be handled by the WM from now on.
5366 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5368 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5370 * src/hildon-app-menu-private.h
5371 * src/hildon-app-menu.c
5372 (hildon_app_menu_append, hildon_app_menu_add_filter)
5373 (button_visibility_changed, hildon_app_menu_apply_style)
5374 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5375 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5376 layout everytime a button (item or filter) is shown or hidden.
5378 * src/hildon-stackable-window.c
5379 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5382 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5384 * src/hildon-touch-selector.c:
5385 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5386 that the treeview inside the touch selector is in fremantle hildon mode
5387 * examples/hildon-date-button-example.c
5388 * examples/hildon-picker-button-multicolumn-example.c
5389 * examples/hildon-touch-selector-entry-example.c
5390 * examples/hildon-touch-selector-example.c
5391 * examples/hildon-time-button-example.c
5392 * examples/hildon-picker-button-example.c:
5393 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5395 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5397 * examples/hildon-text-view-example.c: (main): Remove the
5398 gtkrc bits, now handled by the theme.
5400 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5402 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5405 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5407 * po/Makefile.am: Install properly the mo files.
5408 * po/en_GB.po: Update translation, to ease testing purposes.
5410 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5412 * examples/hildon-picker-button-example.c: (main): Select an item
5413 in the selector before setting it to the button.
5415 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5417 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5418 Update button's value if the selector has an item active.
5420 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5421 'value' with the selector)
5423 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5425 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5426 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5427 (hildon_picker_button_class_init): Plug the finalize method.
5428 (hildon_picker_button_set_selector): If there's a previously set
5429 selector, unref'it before setting a new one.
5431 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5432 HildonTouchSelector)
5434 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5436 * src/hildon-touch-selector-entry.c:
5437 (hildon_touch_selector_entry_changed): Check if there is no text
5438 selected before setting the entry text.
5441 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5443 * src/hildon-touch-selector.h
5444 * src/hildon-touch-selector.c
5445 (hildon_touch_selector_get_active)
5446 (hildon_touch_selector_set_active): New methods to set/get the
5447 index of the selected item.
5449 * src/hildon-picker-button.h
5450 * src/hildon-picker-button.c
5451 (hildon_picker_button_get_active)
5452 (hildon_picker_button_set_active): New methods to set/get the
5453 index of the selected item.
5455 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5457 * configure.ac: post-release version bump.
5459 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5463 * configure.ac: Pre-release version bump.
5464 * debian/changelog: Updates.
5465 * debian/control: Add myself as maintainer and depend on l10n
5468 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5470 * src/hildon-window.c
5471 (hildon_window_set_main_menu)
5472 * src/hildon-stackable-window.c
5473 (hildon_stackable_window_set_main_menu):
5474 Updated documentation.
5476 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5478 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5479 Don't free selector->priv manually.
5482 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5485 (hildon_gtk_window_set_progress_indicator):
5486 * src/hildon-gtk.h: Added the new API
5487 hildon_gtk_window_set_progress_indicator, it changes the state of
5488 the window progress hint.
5490 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5492 * src/hildon-button.c
5493 * src/hildon-stackable-window.c: Minor documentation updates.
5495 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5497 * src/hildon-stackable-window.c: Updated documentation.
5499 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5501 * src/hildon-defines.h: Update margins definitions
5502 to the Fremantle sizes.
5505 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5507 * src/hildon-touch-selector.c,
5508 (_hildon_touch_selector_set_model): Cleaning the code after
5509 review, removed g_print and #if 0 from the code.
5511 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5513 * src/hildon-edit-toolbar.c: Update documentation.
5515 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5517 * src/hildon-check-button.h
5518 * src/hildon-check-button.c
5519 (hildon_check_button_set_label, hildon_check_button_get_label)
5520 * examples/hildon-check-button-example.c
5521 (button_clicked_cb):
5522 Removed deprecated methods.
5524 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5526 * src/hildon-text-view.c:
5527 Add sample code to the documentation.
5529 * src/hildon-entry.h
5530 * src/hildon-text-view.h:
5531 Minor cosmetic changes.
5533 * src/hildon-entry.c:
5534 Add sample code to the documentation.
5535 (hildon_entry_init, hildon_entry_refresh_contents):
5536 Don't allow NULL values in the placeholder.
5538 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5540 * doc/hildon-docs.sgml
5542 * examples/Makefile.am
5543 * examples/hildon-text-view-example.c
5545 * src/hildon-text-view.c
5546 * src/hildon-text-view.h
5548 New HildonTextView widget, with example.
5550 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5552 * po/POTFILES.in: Add missing files with translatable strings.
5553 Partially fixes NB#88287.
5555 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5557 * examples/hildon-pannable-area-example-2.c: (main): No need to
5558 set the cellrenderer height inside hildon touch lists, the theme does
5561 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5563 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5564 they are integrated in the theme.
5566 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5568 * examples/hildon-entry-example.c: Update the example adding
5569 widgets to modify the text and the placeholder of the HildonEntry.
5571 * src/hildon-entry.c: Show the placeholder everytime the widget
5572 is empty and loses the focus.
5574 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5576 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5578 * src/hildon-pannable-area.c,
5579 (hildon_pannable_area_size_request): Fixed bug in height
5580 requisition, avoid increasing size and add border twice.
5582 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5584 * configure.ac: postrelease version bump.
5586 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5590 * configure.ac: Prerelease version bump.
5591 * debian/changelog: update.
5592 * debian/rules: make -dbg package contain useful debugging symbols.
5594 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5596 * src/hildon-dialog.h
5597 * src/hildon-dialog.c
5598 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5599 New methods to add buttons with finger size.
5600 (hildon_dialog_new_with_buttons):
5601 Create buttons with finger size.
5603 * examples/hildon-dialog-example.c (main): Use HildonDialog
5604 methods to add buttons.
5606 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5608 * src/hildon-entry.c: Updated HildonButton documentation.
5610 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5612 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5613 button value label with (FALSE, FALSE) to prevent NB#88126 from
5616 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5618 * examples/hildon-pannable-area-example.c,
5619 (main): Removed examples panning a vbox inside a pannable
5620 area. Check bug NB#87965
5622 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5624 Patch contributed by Kris Rietveld (kris@imendio.com)
5626 * src/hildon-pannable-area.c,
5627 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5628 get_size and get_position, this saves an X server roundtrip.
5630 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5632 * doc/hildon-docs.sgml
5634 * examples/Makefile.am
5635 * examples/hildon-entry-example.c
5637 * src/hildon-entry.c
5638 * src/hildon-entry.h
5640 New HildonEntry widget, with example.
5642 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5644 * src/hildon-button.c (hildon_button_construct_child): Pack the
5645 image with expand == fill == FALSE. This is a workaround for a bug
5648 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5650 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5651 labels for the text column, to make it more look more dynamic.
5653 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5655 * src/hildon-time-selector.c
5656 Define gettext auxiliar macro N_
5657 (_create_minutes_model)
5658 (_create_hours_model)
5659 (_create_ampm_model): use of strftime in order to fill the model
5660 * src/hildon-date-selector.c
5661 (hildon_date_selector_finalize):
5662 (_locales_init): remove the logic related to get the name of the months
5663 using nl_langinfo, as it is not required anymore
5665 (_create_year_model)
5666 (_create_month_model)
5667 (_update_day_model): use of strftime in order to fill the model properly
5670 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5672 * src/hildon-button.h
5673 * src/hildon-button.c (hildon_button_get_image): New method to
5676 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5678 * src/hildon-touch-selector.c:
5679 (hildon_touch_selector_remove_column): Remove from the correct parent
5680 and also remove the list element and free it.
5683 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5685 * src/hildon-time-selector.c
5686 (_create_hours_model): change the range on 12h ampm format in order to use
5687 a 12-11 range instead of previous 01-12 range
5688 (hildon_time_selector_set_time): change the way to select the current time
5689 on 12h ampm format, due the change on the range
5690 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5693 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5695 * src/hildon-touch-selector.c
5696 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5697 in order to allow use this function on multiple row selection mode if
5698 the column is different that the first one
5701 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5703 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5704 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5706 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5708 * src/hildon-date-selector.h: clean some comments, now on the .c
5709 * src/hildon-date-selector.c
5710 (hildon_date_selector_select_month): first implementation
5711 (hildon_date_selector_select_day): added documentation, reimplemented
5712 using hildon_date_selector_select_current_date to avoid repeat code
5715 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5717 Reviewed interaction logic based on device experiences, refactored
5720 * src/hildon-pannable-area.c,
5721 (hildon_pannable_area_class_init): Updated default vmax speed.
5722 (hildon_pannable_area_calculate_velocity): Added this function, it
5723 avoids duplicate valocity calculation. Adjusted calculation to
5724 avoid problems with zero dist events.
5726 (hildon_pannable_area_motion_notify_cb): Now we use the
5727 calculate_velocity function.
5729 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5731 * src/hildon-date-selector.c
5732 (hildon_date_selector_select_current_date): fix the day range check
5733 as it failed using the last day of the current month
5736 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5738 * src/hildon-touch-selector.c
5739 (hildon_touch_selector_get_num_columns): added a parameter validation
5742 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5744 * examples/Makefile.am
5745 * examples/hildon-edit-toolbar-example.c: Example of the
5746 HildonEditToolbar widget.
5748 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5750 * configure.ac: postrelease version bump.
5752 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5756 * configure.ac: prerelease version bump.
5757 * debian/changelog: update.
5759 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5761 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5762 renderer to display stock icons in the touch list. Also, set the sizes
5763 to the recommended in the style guide.
5765 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5766 * src/hildon-touch-selector.h
5767 (hildon_touch_selector_set_active_iter): renamed, now is
5768 hildon_touch_selector_select_iter
5769 (hildon_touch_selector_get_active_iter): renamed, now is
5770 hildon_touch_selector_get_selected
5771 (hildon_touch_selector_unselect_iter): added
5772 * src/hildon-touch-selector.c
5773 Update after API modification (methods renamed)
5774 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5775 order to avoid problems selecting multiple elements on the column
5776 (hildon_touch_selector_unselect_iter): added the implementation
5777 * src/hildon-time-selector.c
5778 * src/hildon-date-selector.c
5779 * src/hildon-touch-selector-entry.c
5780 Update methods calls after hildon-touch-selector.h API modification (methods
5783 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5785 * src/hildon-stackable-window.c
5786 (hildon_stackable_window_finalize): Call the parent class's finalize.
5788 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5790 * examples/hildon-touch-selector-example.c: (create_selector): Use
5791 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5794 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5796 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5797 set a cell background color, to respect theming.
5799 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5801 * doc/hildon-docs.sgml
5804 * src/hildon-edit-toolbar.c
5805 * src/hildon-edit-toolbar.h
5806 * src/hildon.h: New HildonEditToolbar widget.
5808 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5810 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5813 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5814 * src/hildon-touch-selector.c
5815 (_create_new_column): use g_object_set instead of two g_object_set_property
5817 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5818 * src/hildon-touch-selector.c
5819 (_create_new_column): use of hildon_gtk_tree_view_new to create
5820 the treeview, instead of use directly g_object_new
5821 (_create_new_column): update the property name "vindicator-mode" for the
5822 new one "vscrollbar-policy"
5823 * examples/hildon-date-button-example.c
5824 * examples/hildon-picker-button-multicolumn-example.c
5825 * examples/hildon-touch-selector-entry-example.c
5826 * examples/hildon-touch-selector-example.c
5827 * examples/hildon-time-button-example.c
5828 * examples/hildon-picker-button-example.c
5829 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5830 to all the treeviews inside a pannable area.
5832 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5834 * src/hildon-button.h
5835 * src/hildon-button.c (hildon_button_init)
5836 (hildon_button_set_arrangement, hildon_button_set_alignment)
5837 (hildon_button_set_title_alignment)
5838 (hildon_button_set_value_alignment)
5839 (hildon_button_set_image_alignment)
5840 (hildon_button_construct_child): New methods to set the alignment
5841 of the individual components of the button (title, value,
5842 image). Also, new method to alter the xscale and yscale properties
5843 of the GtkAlignment inside the button, so more complex layouts can
5846 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5848 * src/hildon-button.c (hildon_button_style_set)
5849 (hildon_button_class_init, hildon_button_set_arrangement)
5850 (hildon_button_construct_child): Apply style properties
5851 correctly. Use the 'image-spacing' style property too.
5853 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5855 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5856 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5859 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5861 * src/hildon-pannable-area.c,
5862 (hildon_pannable_area_size_request): Fixed problem with
5863 pannable-area size_request.
5865 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5867 Added management for the grab-focus to a child widget, like a
5868 range, we need to fade out the scrollbar when releasing.
5870 * src/hildon-pannable-area.c,
5871 (hildon_pannable_area_init): Connected the grab-focus signal to
5873 (hildon_pannable_area_grab_notify): Added this function in order
5874 to manage the situation when the grab-focus ends. We have to
5875 fade-out the scrollbar.
5877 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5879 * src/hildon-app-menu.c: Minor documentation update.
5881 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5883 * src/hildon-app-menu.c
5884 * examples/hildon-app-menu-example.c (create_menu): Update
5885 examples and documentation to explain how to connect callbacks.
5887 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5889 * examples/hildon-button-example.c
5890 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5891 hildon_stackable_window_new instead of gtk_window_new
5893 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5895 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5896 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5897 (hildon_pannable_area_set_property),
5898 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5899 (hildon_pannable_area_unrealize),
5900 (hildon_pannable_area_size_request),
5901 (hildon_pannable_area_size_allocate),
5902 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5903 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5904 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5905 (hildon_pannable_area_initial_effect),
5906 (hildon_pannable_area_redraw),
5907 (hildon_pannable_area_scroll_indicator_fade),
5908 (hildon_pannable_area_expose_event),
5909 (hildon_pannable_area_get_topmost), (synth_crossing),
5910 (hildon_pannable_area_button_press_cb),
5911 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5912 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5913 (hildon_pannable_area_motion_notify_cb),
5914 (hildon_pannable_area_button_release_cb),
5915 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5916 (hildon_pannable_area_remove),
5917 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5918 chage the code layout to a more GtkWidget like. Review the use of
5921 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5923 * examples/hildon-pannable-area-example-4.c,
5924 (main): Modified the name of the hindicator_mode to
5927 * src/hildon-pannable-area.c,
5928 (hildon_pannable_area_class_init),
5929 (hildon_pannable_area_motion_notify_cb),
5930 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5931 we have reduced the amount of signals and managed reviewed its
5932 rationale. Changed the default decelerate value.
5934 (hildon_pannable_area_add),
5935 (hildon_pannable_area_redraw): Refactored functions.
5937 (hildon_pannable_area_init),
5938 (hildon_pannable_area_get_property),
5939 (hildon_pannable_area_set_property):
5940 (hildon_pannable_draw_vscroll),
5941 (hildon_pannable_draw_hscroll),
5942 (hildon_pannable_area_initial_effect),
5943 (hildon_pannable_area_expose_event),
5944 (hildon_pannable_area_scroll),
5945 (hildon_pannable_area_button_press_cb),
5946 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5947 and vindicator_mode with hscrollbar_policy and
5948 vscrollbar_policy. Replaced hscroll and vscroll with
5949 hscroll_visible and vscroll_visible.
5951 (hildon_pannable_area_refresh): Refactor the function, remove
5952 variables and check the calls to this function, added resize
5953 conditions in case the children change their layout.
5955 (hildon_pannable_area_size_request): Added more detailed
5956 size_request calculation.
5959 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5961 * src/hildon-color-chooser.c
5962 (init_borders): use the correct gtk_border_free instead of g_free, to
5963 avoid a crash when this widget is used (ie: the three color selection
5966 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5968 * src/hildon-check-button.c,
5969 (hildon_check_button_set_active): Fixed problem when setting the
5970 active value, the widget was not redrawn.
5972 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5974 * src/hildon-pannable-area.c,
5975 (hildon_pannable_area_refresh),
5976 (hildon_pannable_area_scroll),
5977 (hildon_pannable_area_motion_notify_cb): Small code style change.
5979 (hildon_pannable_area_class_init): Default initial_hint set to
5980 FALSE, it is not in the specs.
5982 (hildon_pannable_area_initial_effect),
5983 (hildon_pannable_area_expose_event),
5984 (hildon_pannable_area_map),
5985 (hildon_pannable_area_init): Moved the launching point of the
5986 initial effect, it was in map but the sizes where not correct in
5987 that method so we do not know if we have the reproduce it. Now it
5988 is placed in the expose_event method and uses a variable to
5989 reproduce it just once.
5991 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5993 * src/hildon-pannable-area.c,
5994 (hildon_pannable_draw_vscroll),
5995 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5996 position allowed for the scrollbars.
5998 (hildon_pannable_area_size_allocate): Small style change.
6000 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6002 * src/hildon-pannable-area.c,
6003 (hildon_pannable_area_scroll_indicator_fade),
6004 (hildon_pannable_area_button_press_cb),
6005 (hildon_pannable_area_button_release_cb),
6006 (hildon_pannable_area_scroll_cb),
6007 (hildon_pannable_area_expose_event),
6008 (hildon_pannable_area_init): Added the define parameter
6009 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6010 and refactor the fade variable.
6012 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6014 * src/hildon-pannable-area.c,
6015 (hildon_pannable_area_redraw),
6016 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6017 lines, we were reimplemeting the redraw code.
6019 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6021 * src/hildon-pannable-area.c,
6022 (hildon_pannable_area_scroll_cb),
6023 (hildon_pannable_area_realize),
6024 (hildon_pannable_area_class_init): Added scroll_event management
6025 for pannable area, now we can scroll the usual desktop method.
6027 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6028 initialization of the parameters should depend on idle_id.
6030 (hildon_pannable_area_init),
6031 (hildon_pannable_area_map): Small code style modifications
6033 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6035 * src/hildon-pannable-area.c
6036 (hildon_pannable_area_button_press_cb),
6037 (hildon_pannable_area_motion_notify_cb),
6038 (hildon_pannable_area_button_release_cb),
6039 (hildon_pannable_area_size_allocate),
6040 (hildon_pannable_area_scroll_to): Improved the timeouts
6041 management, we avoid creating them each time.
6043 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6045 * src/hildon-pannable-area.c:
6046 (hildon_pannable_area_refresh),
6047 (hildon_pannable_area_motion_notify_cb),
6048 (hildon_pannable_area_class_init):
6049 * src/hildon-pannable-area.h:
6050 * src/hildon-touch-selector.c
6051 (_create_new_column):
6052 * examples/hildon-pannable-area-example-4.c:
6053 (horizontal_movement),
6054 (vertical_movement),
6056 Replaced the names of enums in the HildonPannableArea:
6057 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6058 HILDON_MOVEMENT_MODE_*
6059 - HILDON_PANNABLE_AREA_MOV_* ->
6061 - Removed HildonPannableAreaIndicatorMode, now we
6064 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6066 * examples/hildon-pannable-area-touch-grid-example.c
6067 * examples/hildon-pannable-area-touch-list-example.c: Fix
6068 compilation warnings.
6070 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6072 * src/hildon-gtk.c (hildon_gtk_button_new)
6073 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6074 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6075 images overriding the value of the "gtk-button-images" setting.
6077 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6079 * src/hildon-check-button.c (hildon_check_button_new):
6080 Instead of using a custom container, display the label and the
6081 checkbox using the standard GtkButton API.
6083 * examples/hildon-check-button-example.c (main): Don't use
6084 hildon_check_button_set_label() anymore
6086 * src/hildon-check-button.h
6087 * src/hildon-check-button.c
6088 (hildon_check_button_set_label, hildon_check_button_get_label):
6089 Set as deprecated, now we're using gtk_button_{get,set}_label()
6091 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6093 * src/hildon-pannable-area.c,
6094 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6095 GtkTreeview first line we detected it after the inclusion of the
6096 GtkWindowImpl in gtk+. We now check if the window is visible, not
6097 just if the pointer is over the window.
6098 (hildon_pannable_axis_scroll),
6099 (hildon_pannable_area_expose_event): Small style changes.
6101 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6103 * src/hildon-button.c: Update documentation.
6105 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6107 * examples/hildon-button-example.c: Add a switch to show images in
6110 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6112 * doc/hildon-docs.sgml: Some docs reorganization.
6114 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6116 * examples/hildon-pannable-area-touch-list-example.c
6118 * examples/hildon-pannable-area-touch-grid-example.c
6119 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6120 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6121 Fix memory leak when setting the tree model.
6123 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6127 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6129 * doc/hildon.types: Remove duplicated hildon_window_get_type
6130 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6131 documentation comment.
6133 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6135 * doc/Makefile.am: Complete list of private headers.
6137 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6139 * doc/hildon-docs.sgml
6140 * src/hildon-app-menu.c
6141 * src/hildon-bread-crumb.c
6142 * src/hildon-button.c
6144 * src/hildon-program.c
6145 * src/hildon-stackable-window.c
6146 * src/hildon-window.c: Lots of documentation updates.
6148 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6150 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6152 * configure.ac: Require Gtk+ 2.12.9 at least
6154 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6156 * src/hildon-pannable-area.c
6157 (hildon_pannable_area_scroll_indicator_fade),
6158 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6159 to protect the return of this timeout callbacks, avoiding deadlocks.
6161 2008-08-12 Christian Dywan <christian@imendio.com>
6164 * src/hildon-*.h: Ensure a consistent include order,
6165 include <gtk/gtk.h> instead of particular files and
6166 only include the topmost header in the gtk stack. See NB #39857
6168 2008-08-12 Christian Dywan <christian@imendio.com>
6170 * src/hildon-picker-dialog.c
6171 * src/hildon-touch-selector.c: Fix warnings about unused and
6172 uninitialized variables.
6174 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6176 * examples/Makefile.am
6177 * examples/hildon-check-button-example.c: Example of the hildon
6180 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6182 * src/hildon-window.h
6183 * src/hildon-window.c (hildon_window_class_init)
6184 (hildon_window_unset_program): Don't make
6185 hildon_window_unset_program a virtual function anymore.
6187 * src/hildon-stackable-window.c: Update documentation
6189 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6192 * doc/hildon-docs.sgml
6193 * doc/visual_index.xml
6194 * src/hildon-defines.c
6196 * src/hildon-helper.c
6197 * src/hildon-range-editor.c: Lots of documentation fixes.
6199 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6201 * examples/hildon-picker-button-multicolumn-example.c
6202 (create_touch_selector): Fix compilation warning.
6204 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6206 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6207 (hildon_pannable_area_button_release_cb)
6208 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6210 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6212 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6215 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6217 * src/hildon-bread-crumb-trail.h
6218 * src/hildon-date-editor.c
6219 * src/hildon-date-selector.c
6220 * src/hildon-pannable-area.c
6221 * src/hildon-picker-dialog.c
6222 * src/hildon-time-selector.c
6223 * src/hildon-touch-selector-entry.c
6224 * src/hildon-touch-selector.c
6225 * src/hildon-touch-selector.h: Misc documentation fixes
6227 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6229 * examples/hildon-date-editor-example.c (main): Updated date
6232 * examples/hildon-note-example.c (on_confirmation_clicked):
6233 Updated confirmation note example.
6235 * src/hildon-date-editor.c
6236 * src/hildon-note.c: Updated sample programs in documentation.
6239 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6241 * src/hildon-date-button.h:
6242 * src/hildon-picker-button.h:
6243 * src/hildon-time-button.c:
6244 * src/hildon-time-button.h:
6246 Some declarations changes to allow gtk-doc to document the widgets
6249 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6251 * src/hildon-date-button.c: Document the widget.
6252 * src/hildon-time-button.c: Document the widget.
6254 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6256 * src/hildon-picker-button.c: Document the widget.
6257 * src/hildon-touch-selector-entry.c: Document the widget.
6259 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6261 * doc/hildon-docs.sgml
6264 * src/hildon-check-button.h
6265 * src/hildon-check-button.c: New functions to create the Hildon
6269 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6271 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6273 * src/hildon-button.h
6274 * src/hildon-button.c
6275 (hildon_button_add_title_size_group)
6276 (hildon_button_add_value_size_group)
6277 (hildon_button_add_image_size_group)
6278 (hildon_button_add_size_groups): New functions to set size groups
6279 for the button labels and image.
6280 (hildon_button_new_full): Removed
6282 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6284 * src/hildon-time-selector.c
6285 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6286 in order to avoid a crash if gconf is not available
6288 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6290 * src/hildon-button.c (hildon_button_set_arrangement)
6291 (hildon_button_construct_child): Don't construct the button child
6292 before setting the arrangement.
6294 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6296 * src/hildon-program-private.h
6297 * src/hildon-program.c
6298 * src/hildon-program.h
6299 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6300 (hildon_program_peek_window_stack)
6301 (hildon_program_pop_window_stack)
6302 (hildon_program_go_to_root_window): HildonProgram now has a
6303 separate list for stackable windows. Functions are provided to
6304 manage that list with a stack-like API.
6306 * src/hildon-stackable-window.c: Stackable window management is
6307 now much simpler with the new HildonProgram API. Windows no
6308 longer need to be manually added to the program, they're
6309 automatically pushed to the top of the stack when shown.
6311 * examples/hildon-stackable-window-example.c: Updated example to
6312 reflect the API changes.
6314 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6316 * src/hildon-touch-selector.c: Comment out unimplemented
6317 hildon_touch_selector_insert_column() to avoid a compile warning.
6319 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6321 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6322 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6323 (hildon_touch_selector_set_column_selection_mode),
6324 (_hildon_touch_selector_set_model),
6325 (hildon_touch_selector_set_model):
6327 Complete review of HildonTouchSelector documentation.
6329 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6331 * doc/hildon-docs.sgml
6335 * src/hildon-gtk.c: Convenience functions for standard Gtk
6336 widgets, used to easily perform frequent operations.
6338 * src/hildon-button-helpers.h
6339 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6341 * src/hildon-helper.h
6342 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6343 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6345 * src/hildon-button.h
6346 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6348 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6350 * src/hildon-button.c (hildon_button_init)
6351 (hildon_button_set_arrangement, hildon_button_construct_child):
6352 Pack the image and the labels inside the same GtkAlignment so
6353 gtk_button_set_alignment() can be used
6355 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6357 * src/hildon-button.h
6358 * src/hildon-button.c
6359 (hildon_button_init, hildon_button_set_image)
6360 (hildon_button_set_image_position)
6361 (hildon_button_construct_child): New functions to add an image to
6364 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6366 * src/hildon-date-button.c
6367 * src/hildon-picker-button.c
6368 * src/hildon-time-button.c
6369 * src/hildon-button.c:
6370 (hildon_button_class_init): "size-flags" renamed to "size"
6371 (hildon_button_set_title): Hide the title label if set to NULL.
6373 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6375 HildonButtonFlags split into HildonButtonArrangement (to set the
6376 button layout) and HildonSizeType (which can be used for any
6379 * src/hildon-button.h
6380 * src/hildon-button.c
6381 (hildon_button_class_init)
6382 (hildon_button_set_arrangement)
6383 (hildon_button_set_property): New "size-flags"
6384 property. "arrangement-flags" renamed to "arrangement".
6385 (hildon_button_new, hildon_button_new_with_text)
6386 (hildon_button_new_full): Constructors updated to reflect type changes.
6388 * src/hildon-helper.h
6389 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6390 to set the size of a widget.
6394 * src/hildon-button-helpers.c
6395 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6397 * src/hildon-date-button.c
6398 * src/hildon-date-button.h
6399 * src/hildon-picker-button.c
6400 * src/hildon-picker-button.h
6401 * src/hildon-time-button.c
6402 * src/hildon-time-button.h: Updated widgets to reflect
6403 HildonButton API changes.
6405 * examples/hildon-button-example.c
6406 * examples/hildon-date-button-example.c
6407 * examples/hildon-picker-button-example.c
6408 * examples/hildon-picker-button-multicolumn-example.c
6409 * examples/hildon-time-button-example.c
6410 * examples/hildon-touch-selector-entry-example.c
6411 * examples/hildon-touch-selector-example.c: Updated examples to
6412 reflect HildonButton API changes.
6414 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6416 * doc/hildon-docs.sgml:
6418 * examples/Makefile.am:
6419 * examples/hildon-touch-selector-entry-example.c:
6421 * src/hildon-touch-selector-entry.c:
6422 * src/hildon-touch-selector-entry.h:
6425 Moved HildonTouchSelectorEntry from sandbox. Added its
6426 documentation and examples.
6428 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6430 * src/hildon-touch-selector.h:
6431 * examples/hildon-picker-button-multicolumn-example.c:
6432 (hildon_touch_selector_append_text_column): Add a gboolean
6433 parameter to determine if text must be centered in the column.
6435 * src/hildon-date-selector.c: (hildon_date_selector_init):
6436 * src/hildon-time-selector.c: (hildon_time_selector_init):
6437 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6438 (create_touch_selector): Update widgets and example to reflect
6441 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6443 * src/hildon-touch-selector.c:
6444 (hildon_touch_selector_set_active_iter): Set also the cursor in
6447 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6449 * doc/hildon-docs.sgml
6452 * src/hildon-toggle-button.c
6453 * src/hildon-toggle-button.h
6454 * src/hildon.h: Removed HildonToggleButton widget, a derived
6455 class is not necessary for this.
6457 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6459 * src/hildon-pannable-area.c,
6460 (hildon_pannable_area_realize),
6461 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6464 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6466 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6467 "done" button the default widget for the dialog.
6469 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6471 * src/hildon-touch-selector.c:
6472 (hildon_touch_selector_class_init),
6473 (hildon_touch_selector_get_property),
6474 (_hildon_touch_selector_set_model),
6475 (_hildon_touch_selector_has_multiple_selection),
6476 (hildon_touch_selector_has_multiple_selection):
6477 Add a "has-multiple-selection" property with a virtual
6478 has_multiple_selection() method to allow derived classes to
6479 override the default value for it. See the method and property
6480 documentation for details.
6482 * src/hildon-touch-selector.h: Add the new API.
6484 * src/hildon-picker-dialog.c: (requires_done_button): Call
6485 hildon_touch_selector_has_multiple_selection() instead of
6486 determining the need for a button itself.
6488 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6490 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6491 (_hildon_touch_selector_set_model),
6492 (hildon_touch_selector_set_model): Move working code to
6493 _hildon_touch_selector_set_mode(). Call the class method instead.
6495 * src/hildon-touch-selector.h: Add (*set_model) to
6496 HildonTouchSelectorClass.
6498 Make hildon_touch_selector_set_model() a virtual method, so that
6499 derived classes can extend it and do fancy stuff with the model.
6501 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6503 * configure.ac: Set back the tarname in AC_INIT to hildon.
6505 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6509 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6510 instead of libesd (NB#86876). Volume handling is still an open issue.
6512 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6515 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6517 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6518 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6519 derived class to ease placement of an entry widget in
6520 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6521 end, where the selector columns are packed now.
6523 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6525 * src/hildon-picker-button.c: Removed the simple _text() API.
6526 * src/hildon-picker-button.h: Likewise.
6528 * src/hildon-touch-selector.h:
6529 * src/hildon-touch-selector.c:
6530 (hildon_touch_selector_new_text),
6531 (hildon_touch_selector_append_text),
6532 (hildon_touch_selector_prepend_text),
6533 (hildon_touch_selector_insert_text):
6535 Moved the simple _text() API from HildonPickerButton to
6536 HildonTouchPicker, to provide better escalability and not to tie
6537 that API to HildonPickerButton.
6539 * examples/hildon-picker-button-example.c: (main): Example updated.
6541 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6543 * src/hildon-button.c: Updated documentation.
6545 * examples/hildon-button-example.c: Add the posibility to create
6546 the buttons using horizontal layout for title and value.
6548 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6550 * src/hildon-app-menu-private.h
6551 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6552 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6553 GtkSizeGroup for the filters, use the 'homogeneous' property of
6556 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6558 * examples/hildon-button-example.c: Updated example.
6560 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6562 * doc/hildon-docs.sgml:
6565 Update documentation.
6567 * examples/Makefile.am: Update renamed examples.
6569 * examples/hildon-picker-button-multicolumn-example.c:
6570 (create_touch_selector), (main): Update after the rename.
6572 * examples/hildon-touch-picker-example.c: Removed.
6573 * examples/hildon-touch-selector-example.c: (value_changed),
6574 (create_selector), (get_visible_content), (main): Renamed from
6575 hildon-touch-picker-example.c
6577 * src/Makefile.am: Updated renamed files.
6579 * src/hildon-date-button.c: (hildon_date_button_init),
6580 (hildon_date_button_get_date), (hildon_date_button_set_date):
6581 * src/hildon-date-selector.c: (hildon_date_selector_init),
6582 (_custom_print_func), (_update_day_model),
6583 (_manage_selector_change_cb),
6584 (hildon_date_selector_select_current_date),
6585 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6586 * src/hildon-date-selector.h:
6587 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6588 (hildon_picker_button_set_property),
6589 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6590 (hildon_picker_button_init), (hildon_picker_button_new_text),
6591 (hildon_picker_button_append_text),
6592 (hildon_picker_button_prepend_text),
6593 (hildon_picker_button_insert_text),
6594 (hildon_picker_button_set_selector),
6595 (hildon_picker_button_get_selector):
6596 * src/hildon-picker-button.h:
6597 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6598 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6599 (_update_title_on_selector_changed_cb), (requires_done_button),
6600 (_hildon_picker_dialog_set_selector),
6601 (hildon_picker_dialog_set_selector),
6602 (hildon_picker_dialog_get_selector):
6603 * src/hildon-picker-dialog.h:
6604 * src/hildon-time-button.c: (hildon_time_button_init),
6605 (hildon_time_button_get_time), (hildon_time_button_set_time):
6606 * src/hildon-time-selector.c: (hildon_time_selector_init),
6607 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6608 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6609 * src/hildon-time-selector.h:
6612 Massive code updates after the rename.
6614 * src/hildon-touch-picker.c: Removed.
6615 * src/hildon-touch-picker.h: Removed.
6617 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6618 (hildon_touch_selector_init), (hildon_touch_selector_map),
6619 (hildon_touch_selector_remove), (_default_print_func),
6620 (_selection_changed_cb), (_create_new_column),
6621 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6622 (hildon_touch_selector_append_text_column),
6623 (hildon_touch_selector_remove_column),
6624 (hildon_touch_selector_set_column_attributes),
6625 (hildon_touch_selector_insert_column),
6626 (hildon_touch_selector_get_num_columns),
6627 (hildon_touch_selector_get_column_selection_mode),
6628 (hildon_touch_selector_set_column_selection_mode),
6629 (hildon_touch_selector_set_print_func),
6630 (hildon_touch_selector_get_print_func),
6631 (hildon_touch_selector_get_active_iter),
6632 (hildon_touch_selector_set_active_iter),
6633 (hildon_touch_selector_get_selected_rows),
6634 (hildon_touch_selector_get_model),
6635 (hildon_touch_selector_set_model),
6636 (hildon_touch_selector_get_current_text),
6637 (_hildon_touch_selector_center_on_selected_items):
6638 * src/hildon-touch-selector.h: Renamed from
6639 hildon-touch-picker.[ch]
6641 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6642 references, code examples, and related documentation.
6644 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6646 * doc/hildon-docs.sgml
6649 * src/hildon-toggle-button.c
6650 * src/hildon-toggle-button.h
6651 * src/hildon.h: New HildonToggleButton widget.
6653 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6655 * src/hildon-button.c: Add API documentation.
6656 (hildon_button_set_size_groups): Check input parameters
6658 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6660 * src/hildon-pannable-area.c
6661 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6662 effect after reaching the movement thredshold. This way we start
6663 using the distance after passing the thredshold.
6665 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6667 * src/hildon-button.c: (hildon_button_set_property): Use the
6668 appropriate g_value_get_flags() method.
6670 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6672 * doc/hildon-docs.sgml:
6675 Add the touch pickers, picker dialogs, and picker button widgets
6676 to the documentation.
6678 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6680 * src/hildon-button.c: (hildon_button_set_property),
6681 (hildon_button_class_init): Make "arrangement-flags" a proper
6682 G_TYPE_FLAGS derived property.
6684 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6686 * examples/Makefile.am: Add below examples.
6687 * examples/hildon-date-button-example.c:
6688 * examples/hildon-picker-button-example.c:
6689 * examples/hildon-picker-button-multicolumn-example.c:
6690 * examples/hildon-time-button-example.c:
6691 * examples/hildon-touch-picker-example.c:
6693 Add examples for the recently added touch pickers,
6694 picker dialogs, and picker button widgets.
6696 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6698 * src/hildon-button.c: Add some API documentation
6700 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6702 * src/hildon-button.h
6703 * src/hildon-button.c
6705 (hildon_button_new_with_text): New constructor to create a button
6706 with no text at all.
6707 (hildon_button_init, hildon_button_set_arrangement)
6708 (hildon_button_set_title, hildon_button_set_value)
6709 (hildon_button_set_text)
6710 (hildon_button_construct_child): Hide the value when it's not used
6711 so the rest of the text is properly aligned.
6712 Allow creating buttons with arbitrary widgets inside (not just
6713 title/value labels).
6715 * examples/hildon-button-example.c (vertical_buttons_window)
6716 (horizontal_buttons_window): Update example to use new API.
6718 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6720 * src/Makefile.am: Added HildonTimeButton.
6721 * src/hildon-time-button.c: Added missing LGPL header.
6722 * src/hildon-time-button.h: Added missing LGPL header.
6723 * src/hildon.h: Add hildon-time-button.h
6725 Copied HildonTimeButton from sandbox to trunk. Future work on this
6726 widget must take place in trunk.
6728 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6730 * src/Makefile.am: Added HildonDateButton.
6731 * src/hildon-date-button.c: Update includes.
6732 * src/hildon.h: Add hildon-date-button.h
6734 Copied HildonDateButton from sandbox to trunk. Future work on this
6735 widget must take place in trunk.
6737 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6739 * src/Makefile.am: Added HildonPickerButton.
6740 * src/hildon-picker-button.h: Update includes.
6741 * src/hildon.h: Add hildon-picker-button.h
6743 Copied HildonPickerButton from sandbox to trunk. Future work on
6744 this widget must take place in trunk.
6746 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6748 * src/Makefile.am: Added HildonPickerDialog.
6749 * src/hildon-picker-dialog.c: Update includes.
6750 * src/hildon.h: Add hildon-picker-dialog.h
6752 Copied HildonPickerDialog from sandbox to trunk. Future work
6753 on this widget must take place in trunk.
6755 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6757 * src/Makefile.am: Added HildonTimeSelector.
6758 * src/hildon.h: Add hildon-time-selector.h
6760 Copied HildonTimeSelector widget from sandbox to trunk. Future
6761 work on this widget must happen in trunk.
6763 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6765 * src/Makefile.am: Added HildonDateSelector.
6766 * src/hildon.h: Add hildon-date-selector.h
6768 Copied HildonDateSelector widget from sandbox to trunk. Future
6769 work on this widget must happen in trunk.
6771 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6773 * src/Makefile.am: Added HildonTouchPicker.
6774 * src/hildon-touch-picker.c: Update includes.
6775 * src/hildon.h: Add hildon-touch-picker.h
6777 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6778 on this widget must happen in trunk.
6780 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6782 * src/hildon-pannable-area.c:
6783 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6785 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6787 * examples/hildon-app-menu-example.c (main): Let the window
6790 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6792 * src/hildon-pannable-area.c
6793 (hildon_pannable_area_class_init): Set the min value of the
6794 overshoot properties to zero, which points out that not
6795 overshooting allowed.
6797 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6799 Modified the procedure to get the widget at a point inside the
6800 pannable area when using the movement type signals. Now the user
6801 has to call a function to get the child, that way we just
6802 calculate the child in case the user really want to use it and not
6805 * src/hildon-marshalers.list: Modified the marshallers, now we do
6806 not have the widget as a parameter.
6808 * src/hildon-pannable-area.c
6809 (hildon_pannable_area_motion_notify_cb),
6810 (hildon_pannable_area_class_init),
6811 (hildon_pannable_get_child_widget_at): Removed the widget
6812 parameter from the signal callback. We have also refactored the
6813 emission of the signals.
6815 * src/hildon-pannable-area.h: Added a new method to the API to
6816 calculate a widget at a point inside the pannable area,
6817 hildon_pannable_get_child_widget_at.
6819 * examples/hildon-pannable-area-example-4.c
6820 (horizontal_movement): Modified the example to use the new API,
6821 added condition to control which widget is under the event. This
6822 way we can avoid scrolling laterally over other widgets.
6824 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6826 * src/hildon-pannable-area.c
6827 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6828 modes, we stop getting the pointer events due to returning the
6829 callback without properly calling the get pointer again. Fixed
6830 also an error using the hscroll and vscroll.
6832 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6834 * src/hildon-app-menu-private.h
6835 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6836 (hildon_app_menu_button_release, hildon_app_menu_init)
6837 (hildon_app_menu_class_init): Don't hide the menu on button
6838 release if the user didn't press outside first.
6840 * src/hildon-window.h
6841 * src/hildon-window.c (hildon_window_toggle_menu)
6842 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6843 hildon_window_toggle_menu a virtual function for the stackable
6844 window to override it.
6846 * src/hildon-stackable-window.h
6847 * src/hildon-stackable-window-private.h
6848 * src/hildon-stackable-window.c
6849 (hildon_stackable_window_realize)
6850 (hildon_stackable_window_finalize)
6851 (hildon_stackable_window_class_init)
6852 (hildon_stackable_window_init)
6853 (hildon_stackable_window_set_main_menu): New function to set the
6854 app menu of a HildonStackableWindow.
6856 * examples/hildon-app-menu-example.c: Remove the button to show
6857 the app menu, now it'll be shown when clicking on the title bar
6860 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6862 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6863 set the widget name if the arrangement flags do not specify
6866 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6868 * src/hildon-button.c: (hildon_button_set_property),
6869 (hildon_button_class_init), (hildon_button_new_full),
6870 (hildon_button_set_arrangement): Added "arrangement-flags"
6873 Make the HildonButtonFlags a construction-only property, to allow
6874 subclasses to set them properly.
6876 2008-07-21 Tim Janik <timj@imendio.com>
6878 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6879 insertion position after backspace, so additional digits are appended,
6882 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6884 * src/hildon-pannable-area.c,
6885 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6886 TODO list, it was complete and removed the g_debug and g_print
6889 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6891 Added the movement modes to the hildon-pannable-area, with this
6892 modes the developers can control in which directions the widget
6893 can scroll. They can also connect to signals in order to do
6894 something when that happens, allowing applications scroll. There
6895 is an example uploaded showing how to use it.
6897 * examples/Makefile.am:
6898 * examples/hildon-pannable-area-example-4.c: Added this example of
6899 an application using the modes.
6901 * src/hildon-marshalers.list: Added a new marshaller for the new
6904 * src/hildon-pannable-area.h: Added new enumerations and flags in
6905 order to control the movement modes and the new signals to warn
6906 about the movements in the area.
6908 * src/hildon-pannable-area.c:
6909 (hildon_pannable_axis_scroll),
6910 (hildon_pannable_area_scroll),
6911 (hildon_pannable_area_motion_notify_cb),
6912 (hildon_pannable_area_get_property),
6913 (hildon_pannable_area_set_property),
6914 (hildon_pannable_area_map),
6915 (hildon_pannable_area_class_init),
6916 (hildon_pannable_area_init),
6917 (hildon_pannable_area_jump_to): Added the modes to control the
6918 movement in the widget. We have added properties to control it,
6919 signals to warn about the movements and refactored some code.
6921 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6923 Changes required in order to allow vfast_factor set to zero to
6926 * src/hildon-pannable-area.c:
6927 (hildon_pannable_area_button_press_cb): Changed the condition, it
6928 is required for not allowing click when vfast_factor is zero.
6929 (hildon_pannable_area_timeout): Initialized velocity variables
6930 when we stop moving, it was less than 1 but not zero and we need
6931 to check zero in some situations.
6932 (hildon_pannable_area_class_init): Changed the default value of
6933 the speed factor, now the button_press is just sent in case the
6934 speed is 2 per cent of the max speed.
6935 (hildon_pannable_area_init): Initialization with 0.
6937 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6939 * src/hildon-pannable-area.c,
6940 (hildon_pannable_area_get_topmost): replaced
6941 gdk_window_get_children with gdk_window_peek_children, this way we
6942 do not have to free the list because it is not a copy.
6944 (hildon_pannable_axis_scroll),
6945 (hildon_pannable_area_scroll),
6946 (hildon_pannable_area_timeout),
6947 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6948 two parameters that were only used inside the
6949 hildon_pannable_area_scroll function.
6951 * examples/hildon-pannable-area-example.c,
6952 (get_sawtooth_label): Fixed small memory leak.
6954 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6956 More checks for the case where the overshoot is bigger than the
6959 * src/hildon-pannable-area.c:
6960 (hildon_pannable_draw_vscroll),
6961 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6962 to draw the slider of the scrollbar under the other scrollbar.
6963 (hildon_pannable_area_expose_event): added new checks to control
6964 the drawing of the overshooting area rectangle, in case it is too
6965 big for the area of the widget.
6966 (hildon_pannable_area_size_allocate): add more checks to avoid
6967 setting a position to the child widget outside the area.
6969 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6971 * src/hildon-pannable-area.c
6972 (hildon_pannable_area_size_allocate): Added conditions to control
6973 when overshooting is bigger than the allocated space for the
6974 children, this avoids negative allocations.
6976 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6978 * doc/hildon-docs.sgml
6980 * examples/Makefile.am
6981 * examples/hildon-button-example.c
6983 * src/hildon-button.c
6984 * src/hildon-button.h
6985 * src/hildon.h: Initial version of the new HildonButton widget,
6988 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6990 * src/hildon-pannable-area.c:
6991 (hildon_pannable_area_button_press_cb),
6992 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6993 (hildon_pannable_area_motion_notify_cb),
6994 (hildon_pannable_area_button_release_cb),
6995 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6996 (hildon_pannable_area_jump_to_child):
6998 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7000 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7002 * examples/Makefile.am
7003 * examples/hildon-pannable-area-touch-grid-example.c
7004 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7005 the Hildon Touch List and Hildon Touch Grid using the
7006 HildonPannableArea widget.
7008 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7010 * src/hildon-pannable-area.c,
7011 (hildon_pannable_area_button_press_cb),
7012 (hildon_pannable_area_refresh),
7013 (hildon_pannable_area_scroll),
7014 (hildon_pannable_area_motion_notify_cb),
7015 (hildon_pannable_area_button_release_cb),
7016 (hildon_pannable_area_expose_event),
7017 (hildon_pannable_area_add),
7018 (hildon_pannable_area_remove),
7019 (hildon_pannable_area_realize),
7020 (hildon_pannable_area_size_allocate),
7021 (hildon_pannable_area_class_init),
7022 (hildon_pannable_area_init),
7023 (hildon_pannable_area_scroll_to_child),
7024 (hildon_pannable_area_jump_to_child): Fixed the problem of
7025 removing the child from the GtkBin, we have rearranged the widget
7026 hierarchy, now there is no GtkAlignment which was not doing
7027 anything interesting but breaking some of the assumptions of
7028 GtkContainer. Now developers if they want to add a GtkAlignment
7029 they could, but it is not inside the area.
7031 We had to review the whole allocation/expose process, now it is
7032 improved and we save at least three signals which would be saving
7033 some time when rendering the widget. The allocation of the
7034 scrollbars is now made in the allocate method as usual.
7036 We have also added some conditions in order to control when there
7037 is no child of the pannable area. Maybe we will need more work
7040 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7042 * src/hildon-pannable-area.c,
7043 (hildon_pannable_area_dispose): Released the fade-out timeout when
7044 disposing the widget.
7046 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7048 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7049 zero, we are going to use that property in order to deactivate the
7051 (hildon_pannable_axis_scroll),
7052 (hildon_pannable_area_size_allocate): Added conditions to control
7053 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7054 call, now it is called in all situations and we can remove calls
7055 in the allocate method.
7056 (hildon_pannable_area_map): Control the situation when
7057 overshoot_max is zero, we do not need the timeout.
7058 (hildon_pannable_area_class_init): Added documentation in order to
7059 point out that setting zero to overshoot_max means deactivate
7062 NOTE: removed trailing whitespaces from my previous comments of
7065 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7067 * src/hildon-pannable-area.c
7068 (hildon_pannable_area_get_property),
7069 (hildon_pannable_area_set_property),
7070 (hildon_pannable_area_map),
7071 (hildon_pannable_area_class_init),
7072 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7073 to cause the widget give a hint about its panning abilities upon
7076 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7078 * src/hildon-pannable-area.c: Several documentation improvements.
7080 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7082 * src/hildon-program.c
7083 * src/hildon-stackable-window.c: Update documentation.
7085 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7087 * src/hildon-stackable-window.c (get_previous_window_if_last):
7088 Renamed get_last_window()
7089 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7090 (hildon_stackable_window_unset_program):
7092 (get_previous_window_if_last):
7093 Detect if the window hasn't been added to a HildonProgram.
7095 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7097 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7099 * src/hildon-pannable-area.c
7100 (hildon_pannable_area_button_press_cb),
7101 (hildon_pannable_axis_scroll),
7102 (hildon_pannable_area_scroll),
7103 (hildon_pannable_area_timeout),
7104 (hildon_pannable_calculate_vel_factor),
7105 (hildon_pannable_area_get_property),
7106 (hildon_pannable_area_set_property),
7107 (hildon_pannable_area_class_init),
7108 (hildon_pannable_area_init),
7109 (hildon_pannable_area_scroll_to),
7110 (hildon_pannable_area_jump_to),
7111 (hildon_pannable_area_scroll_to_child),
7112 (hildon_pannable_area_jump_to_child):
7113 * src/hildon-pannable-area.h: Added the new API functions:
7114 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7115 hildon_pannable_area_scroll_to_child,
7116 hildon_pannable_area_jump_to_child
7119 * examples/Makefile.am
7120 * examples/hildon-pannable-area-example-2.c
7121 * examples/hildon-pannable-area-example-3.c: Added these two new
7122 examples in order to test and show how the new APIs work.
7124 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7126 * examples/hildon-stackable-window-example.c (new_window):
7127 * src/Makefile.am (noinst_HEADERS):
7128 * src/hildon-program.c (hildon_program_go_to_root_window):
7129 * src/hildon-program.h:
7130 * src/hildon-stackable-window-private.h:
7131 * src/hildon-stackable-window.c:
7132 * src/hildon-stackable-window.h:
7133 Create hildon-stackable-window-private.h
7134 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7136 * examples/hildon-app-menu-example.c (create_menu):
7137 * examples/hildon-hvolumebar-insensitive-example.c (main):
7138 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7139 * examples/hildon-toolbar-seekbar-example.c (main):
7140 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7141 * src/hildon-banner.c (hildon_banner_set_property):
7142 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7143 Fix compilation warnings
7145 * src/hildon-window.c:
7148 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7150 * src/hildon-stackable-window.c
7151 (hildon_stackable_window_unset_program):
7152 Calculate correctly whether to show the previous window if the
7153 last one is removed from the stack.
7154 (hildon_stackable_window_go_to_root_window):
7155 Send delete events starting from the topmost window.
7156 Stop if one of the windows is not destroyed.
7158 (hildon_stackable_window_delete_event)
7159 (hildon_stackable_window_class_init):
7160 Ignore the delete event if the window is not the topmost one.
7162 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7164 * src/hildon-pannable-area.c
7165 (hildon_pannable_area_expose_event): Fixed a problem when
7166 selecting the background color of the scrollbars.
7168 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7170 * examples/hildon-stackable-window-example.c
7171 * src/hildon-stackable-window.c
7172 * src/hildon-stackable-window.h
7173 hildon_stackable_window_go_home() renamed to
7174 hildon_stackable_window_go_to_root_window()
7175 Send delete events to windows rather than closing them with
7176 gtk_widget_destroy()
7178 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7180 * src/hildon-pannable-area.c
7181 (hildon_pannable_area_button_release_cb): Fix overshooting in
7184 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7186 * src/hildon-pannable-area.c
7187 (hildon_pannable_area_init): Initially show the scroll indicators.
7188 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7190 Add initial effect showing the widget is pannable.
7192 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7194 * src/hildon-pannable-area.c
7195 (hildon_pannable_area_class_init)
7196 (hildon_pannable_area_set_property)
7197 (hildon_pannable_area_get_property)
7198 (hildon_pannable_area_button_press_cb):
7199 New 'velocity_fast_factor' property to decide which velocity is
7202 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7204 * src/hildon-pannable-area.c
7205 (hildon_pannable_draw_hscroll)
7206 (hildon_pannable_draw_vscroll):
7207 Use float variables to calculate the size of the scrollbars to
7208 avoid error propagation and resizing during scrolling.
7210 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7212 * src/hildon-pannable-area.c
7213 (hildon_pannable_draw_vscroll)
7214 (hildon_pannable_draw_hscroll):
7215 Define a minimum size for the scroll bars
7217 * src/hildon-stackable-window.c
7218 (hildon_stackable_window_go_home): Fix compilation warning
7219 (get_last_window): Minor optimizations
7220 (hildon_stackable_window_class_init): Fix initialization of
7223 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7225 * src/hildon-stackable-window.c: Fixed typos in doc
7227 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7229 * src/hildon-pannable-area.c
7230 (hildon_pannable_area_scroll):
7231 Calculate here whether we need to scroll instead of using the booleans
7232 that tell us whether to /draw/ the scrolling bars.
7234 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7236 * src/hildon-app-menu.h
7238 * src/hildon-app-menu.c
7239 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7240 multiple filter groups related code and API. Now we support only
7242 * examples/hildon-app-menu-example.c:
7244 Update to reflect API changes.
7246 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7248 * src/hildon-stackable-window.c
7249 (hildon_stackable_window_class_init):
7250 Add hildon_stackable_window_realize.
7251 (hildon_stackable_window_realize):
7252 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7253 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7254 to apply theming and behavior specific to HildonStackableWindow
7257 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7259 * src/hildon-note.c (hildon_note_button_release):
7260 Close information notes also when tapping on them
7262 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7264 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7265 ELASTICITY, refactor and review, fix some issues with drawing
7268 * src/hildon-pannable-area.c:
7269 (hildon_pannable_area_button_press_cb): removed the conditions to
7270 avoid clicks when overshooting. It is not required
7272 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7273 define. Refatored and reviewed the code, now we do not need to
7274 manage velocity in motion_notify.
7276 (hildon_pannable_area_motion_notify_cb): We have moved the code
7277 that controls the area_scroll to the axis_scroll function and get
7278 rid of duplicated code.
7280 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7282 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7284 (hildon_pannable_draw_vscroll),
7285 (hildon_pannable_draw_hscroll): Fixed the problems with the
7286 scrollbar drawing, now we do not use two surfaces, it is easier
7287 and saves resources.
7289 (hildon_pannable_area_get_property): Style modification.
7291 (hildon_pannable_area_class_init): Changed some default values.
7293 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7295 * src/hildon-stackable-window.c: Fix some typos in the
7298 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7300 * src/hildon-dialog.c:
7301 Change indentation style
7304 (hildon_note_button_release):
7305 Use root coordinates to check if the release event happened
7308 * src/hildon-app-menu.c
7309 (hildon_app_menu_button_release):
7310 Remove unnecessary check
7312 * examples/hildon-app-menu-example.c
7314 Add cast to fix warning
7316 * src/hildon-app-menu.c
7317 (hildon_app_menu_class_init):
7318 New inner-border style property.
7319 Set all default spacings to 16
7320 (hildon_app_menu_init):
7321 Use vertical-spacing to set the space between filter buttons and
7322 regular menu buttons.
7323 Set the default container border using the inner-border value.
7325 * examples/hildon-app-menu-example.c
7327 Don't set the menu border explicitly, now we have the inner-border
7328 style property for that.
7330 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7332 * src/hildon-app-menu.c (hildon_app_menu_init):
7333 Make the window modal
7335 * src/hildon-note.c (hildon_note_map)
7336 * src/hildon-app-menu.c (hildon_app_menu_map):
7337 Destroy the grab window if we're unable to grab the pointer
7339 * src/hildon-app-menu-private.h
7340 * src/hildon-app-menu.c
7341 (hildon_app_menu_init, hildon_app_menu_finalize)
7342 (hildon_app_menu_map, hildon_app_menu_unmap)
7343 (hildon_app_menu_button_release)
7344 (grab_transfer_window_get):
7345 Bring back the grab window
7346 (hildon_app_menu_realize):
7347 Decorate the window, set WM hint for Matchbox
7349 * src/hildon-note.c (hildon_note_realize):
7350 * src/hildon-banner.c (hildon_banner_realize):
7351 Add WM hints for Matchbox
7353 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7355 * src/hildon-app-menu-private.h
7356 * src/hildon-app-menu.c
7357 (hildon_app_menu_init, hildon_app_menu_finalize)
7358 (hildon_app_menu_map, hildon_app_menu_unmap)
7359 (hildon_app_menu_button_release):
7360 Remove the grab window, it's not needed anymore
7362 * src/hildon-program.c
7363 Fixed typo in documentation
7365 * src/hildon-app-menu.h
7366 * src/hildon-app-menu.c
7367 * examples/hildon-app-menu-example.c
7368 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7370 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7373 Added new transfer_window and close_if_pressed_outside private
7375 (hildon_note_rebuild):
7376 Don't add a cancel button to the information note. It will be
7377 closed when tapping outside
7378 Remove the comment about the OK button in the documentation
7379 (hildon_note_realize):
7380 Set the notification type hint
7381 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7382 Grab/ungrab pointer and keyboard if the note has to be closed when
7384 (hildon_note_button_release):
7385 Close the note when tapping outside (if applicable)
7387 * src/hildon-app-menu.c
7388 Grab/ungrab pointer and keyboard on map/unmap
7389 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7390 Close the menu on button release, not button press
7392 * src/hildon-banner.c
7393 (hildon_banner_set_property)
7394 (hildon_banner_check_position):
7395 Make the banner use the full width of the screen
7396 (hildon_banner_show_information)
7397 (hildon_banner_show_information_with_markup):
7398 Don't display an icon by default
7400 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7402 Added fading scrollbars and adapted all the overshooting code to
7403 horizontal scrolling. We have also fixed bugs with overshooting
7404 and current fading implementation.
7406 * src/hildon-pannable-area.c
7407 (hildon_pannable_area_scroll_indicator_fade): Time out function
7408 used to change the transparency of the scrollbars.
7410 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7411 control and fixed a problem with fading, we now remove the fade
7412 timeout before adding a new one.
7414 (hildon_pannable_axis_scroll):
7415 (hildon_pannable_area_scroll):
7416 (hildon_pannable_area_timeout): Added this functions so we can use
7417 the scroll code both for vertical and horizontal.
7419 (hildon_pannable_area_motion_notify_cb):
7420 (hildon_pannable_area_button_release_cb): Added the horizontal
7421 scrolling control, fixed a problem with the overshooting timeout.
7423 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7424 painting of the scrolls.
7426 (hildon_pannable_draw_vscroll):
7427 (hildon_pannable_draw_hscroll):
7428 (hildon_pannable_area_expose_event):
7429 Draw both scrollbars and rectangles in the overshooting area.
7431 (hildon_pannable_area_get_property):
7432 (hildon_pannable_area_set_property):
7433 Modified the overshoot property to overshoot_max
7435 (hildon_pannable_area_map):
7436 Replaced the comments symbols.
7438 (hildon_pannable_area_size_allocate):
7439 (hildon_pannable_area_class_init):
7440 (hildon_pannable_area_init): Added horizontal scroll, fading
7441 effect properties, fixed a problem when overshooting in the bottom
7444 * examples/hildon-pannable-area-example.c:
7445 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7446 looks better in the example.
7448 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7450 * src/hildon-window.c
7451 * src/hildon-window.h
7452 (hildon_window_class_init)
7453 (hildon_window_unset_program)
7454 (hildon_window_unset_program_real):
7455 Make unset_program a virtual function
7457 * src/hildon-stackable-window.c
7458 * src/hildon-stackable-window.h
7459 Added hildon_stackable_window_go_home()
7461 * examples/Makefile.am
7462 * examples/hildon-stackable-window-example.c
7463 HildonStackableWindow example
7465 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7467 * hildon-pannable-area.c: Added the overshoot property and removed
7468 the OVERSHOOT define. Fixed an indent style error.
7469 (hildon_pannable_area_motion_notify_cb):
7470 (hildon_pannable_area_get_property):
7471 (hildon_pannable_area_set_property): Add overshoot property.
7473 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7476 (hildon_pannable_area_class_init): Installed the new property.
7478 * hildon-pannable-area-example.c: Added a sawtooth function, this
7479 way it is easier to check the movement in the pannable.
7480 (get_sawtooth_label): Added this function.
7481 (main): Now we get the labels from the new get_sawtooth_label
7484 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7486 * src/hildon-app-menu.h
7487 * src/hildon-app-menu.c
7488 Renamed API variables for consistency
7490 (hildon_app_menu_popup): Use also the default window size to
7491 decide where to place the menu
7493 (hildon_app_menu_init, hildon_app_menu_class_init): New
7494 external-border style property
7496 2008-05-26 Michael Natterer <mitch@imendio.com>
7498 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7499 widget_class->tap_and_hold_setup signal slot doesn't exist any
7500 longer, stop overriding it.
7502 (hildon_time_editor_init): g_signal_connect() to the
7503 tap-and-hold-setup signal instead.
7505 (hildon_time_editor_entry_keypress): add cast to fix warning.
7507 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7509 * doc/hildon-docs.sgml
7511 * examples/Makefile.am
7512 * examples/hildon-app-menu-example.c
7514 * src/hildon-app-menu-private.h
7515 * src/hildon-app-menu.c
7516 * src/hildon-app-menu.h
7518 New HildonAppMenu widget
7520 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7522 Rearranged the inheritance of the pannable area, now it inherits
7523 from GtkBin. This will allow us to control the event_window and
7524 the allocation process of the widget, required for some effects.
7526 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7527 GtkBin structures. * src/hildon-pannable-area.c: Added the
7528 event_window variable.
7529 (hildon_pannable_area_button_press_cb):
7530 (hildon_pannable_area_button_release_cb):
7531 (hildon_pannable_area_motion_notify_cb):
7532 Changed the signature of the method, now we override the event
7533 callback instead of connecting to the signal.
7535 (hildon_pannable_area_realize):
7536 (hildon_pannable_area_unrealize):
7537 (hildon_pannable_area_map):
7538 (hildon_pannable_area_unmap):
7539 (hildon_pannable_area_size_allocate):
7540 Added functions to control the widget construction. We add a
7541 INPUT_ONLY window and we put it over the widgets inside the
7542 container, this event_window handles the events.
7544 (hildon_pannable_area_class_init):
7545 Replaced the signal connections with overrides of the event
7548 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7550 Bouncing effect added when touching the borders, you can change
7551 the elasticity of the border changing the ELASTICITY define.
7553 * src/hildon-pannable-area.c: Added ELASTICITY define.
7554 (hildon_pannable_area_timeout): Added inverse velocity when
7555 touching the border of the child widget, that causes a bounce.
7557 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7559 Improved performance, we now do not go to the X server in order to
7560 get the list of window children. Apparently the effect is the
7561 same, we have to be careful and check if this breaks something in
7564 * src/hildon-pannable-area.c:
7565 (get_ordered_children): Removed this function.
7566 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7567 the children windows function with gdk_window_get_children.
7569 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7571 * src/hildon-pannable-area.c:
7572 (hildon_pannable_area_dispose): Fixed a crash when closing the
7573 window and kinetics is activated.
7575 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7577 * src/hildon-pannable-area.h
7578 * src/hildon-pannable-area.c
7579 Changed indentation style to meet the one used in Hildon
7581 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7583 Reviewed the interaction of the AUTO mode, now we use the time
7584 attribute of the events and calculate the velocity in the motion,
7585 doing a gimp like calculation. The velocity is calculated in each
7586 motion event using the last velocity and the current one, the
7587 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7589 * src/hildon-pannable-area.c: Replaced the time based algorithm
7591 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7592 timeout for the AUTO mode when we are still moving the cursor. We
7593 added also the velocity calculation in this function.
7594 (hildon_pannable_area_button_release_cb): launch the timeout in
7595 case we are in AUTO mode. There are still some constants here that
7596 come from the old implementation that should be reviewed and
7599 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7601 * doc/hildon-docs.sgml
7604 * src/hildon-stackable-window.c
7605 * src/hildon-stackable-window.h
7607 New HildonStackableWindow widget
7609 * examples/hildon-dialog-example.c
7610 * examples/hildon-pannable-area-example.c
7613 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7615 * src/hildon-dialog.c
7616 (hildon_dialog_new_with_buttons): New constructor.
7618 * examples/hildon-dialog-example.c
7619 (main): Update the example to use the new
7620 hildon_dialog_new_with_buttons().
7622 * examples/hildon-pannable-area-example.c
7623 (main): Update example.
7625 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7627 * doc/hildon-docs.sgml
7629 Added HildonPannableArea to the documentation.
7631 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7633 * doc/visual_index.xml
7634 Fix reference to HildonLoginDialog in documentation
7636 * doc/hildon-docs.sgml
7638 * examples/Makefile.am
7639 * examples/hildon-dialog-example.c
7641 * src/hildon-dialog.c
7642 * src/hildon-dialog.h
7644 New HildonDialog widget.
7646 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7648 * src/hildon-pannable-area.c
7649 Merge latest changes (r4318, r4342) from libmokoui trunk
7651 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7653 * examples/Makefile.am
7654 * examples/hildon-pannable-area-example.c
7656 * src/hildon-pannable-area.c
7657 * src/hildon-pannable-area.h
7659 New HildonPannableArea widget.
7661 2008-04-15 18:05:19 <timj@imendio.com>
7663 * src/hildon-banner.c: revert the recent change, that introduced
7664 gtk_window_present() calls. this reopens:
7665 Bug 78481 - [freetest] information banners are hidden under browser menu
7666 But resolves another variant of:
7667 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7669 2008-04-15 13:21:13 <timj@imendio.com>
7671 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7672 recreated its layout, spotted by Kris. this fixes all remaining
7673 artefacts and stability issues with the banner code. in particular:
7674 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7676 2008-04-14 16:52:59 <timj@imendio.com>
7678 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7679 operating on unrealized widgets, fixes:
7680 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7682 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7684 2008-04-09 Kristian Rietveld <kris@imendio.com>
7686 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7687 makes banner disappear.
7688 Fixes: NB#79182: info banner flickering with certain message lengts.
7690 * src/hildon-banner.c (hildon_banner_constructor),
7691 (hildon_banner_init), (hildon_banner_set_text),
7692 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7693 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7694 FALSE, reset size requests of label and banner,
7695 (force_to_wrap_truncated): when the text is too wide, always enforce
7696 the maximum possible width instead of recalculating it from the
7697 layout; enforce the maximum banner height of 3 lines,
7698 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7699 nicer wrapping and no truncated chars if space gets tight.
7701 * src/hildon-banner-private.h: add has_been_wrapped and
7702 has_been_truncated fields.
7704 2008-04-07 Sven Herzberg <sven@imendio.com>
7706 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7707 local values in hildon_date_editor_size_allocate
7709 * src/hildon-date-editor.c: moved the real allocation code into the
7712 2008-04-07 Sven Herzberg <sven@imendio.com>
7714 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7715 local values in hildon_date_editor_size_allocate
7717 * src/hildon-date-editor.c: merged the two if() branches together
7719 2008-04-07 Sven Herzberg <sven@imendio.com>
7721 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7722 local values in hildon_date_editor_size_allocate
7724 * src/hildon-date-editor.c: changed the arguments of the if()
7727 2008-04-07 Sven Herzberg <sven@imendio.com>
7729 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7730 local values in hildon_date_editor_size_allocate
7732 * src/hildon-date-editor.c: split the calculation of the allocation
7733 from the real allocation
7735 2008-03-27 Michael Natterer <mitch@imendio.com>
7737 Fixes: NB#81696: The passcode is not overwritten even after
7740 * src/hildon-code-dialog.c
7741 (hildon_code_dialog_button_clicked)
7742 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7743 because that doesn't overwrite selected text. Instead, emit the
7744 "commit" signal on the entry's im_context so the entry's normal
7745 insert logic is triggered. Set the cursor to the end of the entry
7746 after each insert operation so that we *only* insert in the middle
7747 of the text if something was selected.
7749 2008-03-27 Michael Natterer <mitch@imendio.com>
7751 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7752 selector cannot be opened
7754 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7755 when the popup color selector is created. Please connect to this
7756 signal in order to set the dialog's help ID.
7758 2008-03-25 Sven Herzberg <sven@imendio.com>
7760 Fixes: MB#1212: Hide info banners (infoprints) on click
7762 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7763 extracted the close event simulation into an extra function
7764 (hildon_banner_button_press_event): simulate a close event and destroy
7765 the widget if the event wasn't handled
7766 (hildon_banner_class_init): added the button_press_event handler
7767 (hildon_banner_init): added button-press events to the widget
7769 2008-03-25 Sven Herzberg <sven@imendio.com>
7771 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7772 Patch from: Mohammad Anwari <mdamt@maemo.org>
7774 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7775 instead of the right in RTL mode
7776 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7777 breadcrumb button list in RTL mode
7778 * src/hildon-caption.c: mirror the appearance of the caption widget in
7780 * src/hildon-date-editor.c: mirror appearance of the date editor in
7782 * src/hildon-time-editor.c: mirror appearance of the time editor in
7784 * src/hildon-window.c: fix the position of the popup in RTL mode
7786 2008-03-25 Sven Herzberg <sven@imendio.com>
7788 Amendment to the fix of NB#22072. Fix compilation.
7790 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7792 2008-03-19 Sven Herzberg <sven@imendio.com>
7794 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7797 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7798 timeout id properly when the timeout will disappear this leaves no
7799 artifacts around in the destroy(); there will only be the timeout
7800 created by hildon_banner_ensure_timeout() and adding a new timeout
7801 will also work if the timeout gets removed because the timeout_handler
7804 2008-03-19 Michael Natterer <mitch@imendio.com>
7806 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7808 * src/hildon-volumebar.c
7809 * src/hildon-vvolumebar.c
7810 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7811 the widget becomes focussable at all.
7813 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7814 set the focus to wither the mute button or the volumebar.
7816 Remove own "can-focus" property and instead listen to
7817 notify::can-focus in order to update the widget's state.
7819 Implement GtkWidget::focus() and make sure we can also *leave* the
7820 widget, not only enter it, depending on volumebar orientation and
7821 requested focus direction.
7823 Clean up set_mute() to cooperate nicely with all the above.
7825 2008-03-04 Michael Natterer <mitch@imendio.com>
7827 Fixes: NB#78481: information banners are hidden under browser menu
7829 * src/hildon-banner.c: call gtk_window_present() on the banners so
7830 they are risen if they are already visible.
7832 2008-03-03 Sven Herzberg <sven@imendio.com>
7834 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7836 * examples/hildon-window-menu-example.c: (main): extended the window
7837 menu example to serve as a testcase for automatically added
7838 accelerator groups, too
7839 * src/hildon-window.c: (hildon_window_add_accel_group),
7840 (hildon_window_set_menu): added patch by Tommi Komulainen
7842 2008-03-03 Sven Herzberg <sven@imendio.com>
7844 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7846 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7847 knowledge about the border allocators used within GTK+
7849 2008-02-26 Sven Herzberg <sven@imendio.com>
7851 Fixes: MB#2981: Build with asserts broken
7853 * src/hildon-date-editor.c,
7854 * src/hildon-number-editor.c,
7855 * src/hildon-time-editor.c,
7856 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7857 the proper GType instance check
7859 2008-02-25 Sven Herzberg <sven@imendio.com>
7861 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7863 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7864 * examples/hildon-window-menu-example.c: (main): explicitly show
7866 * src/hildon-window.c:
7867 (hildon_window_set_main_menu): moved most of the code from set_menu()
7868 to this place; skipped the call to gtk_widget_show_all(); also didn't
7869 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7870 (hildon_window_set_menu): removed most of the code, just keep the
7871 questionable gtk_widget_show_all()
7872 * src/hildon-window.h: added the new function and deprecate the old
7875 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7881 * debian/changelog: Updating.
7883 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7886 * pkgconfig/Makefile.am:
7887 * pkgconfig/hildon.pc.in:
7890 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7891 use newly created API_MAJOR_VERSION.
7893 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7899 * debian/changelog: Updating.
7901 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7903 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7905 Add outer_border style property, we use it but don't define it (!).
7909 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7911 * examples/hildon-bread-crumb-trail-example.c (main):
7915 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7917 Fix logic for the bread crumb trail node removal.
7921 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7927 * debian/changelog: Updating.
7929 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7931 Patch by Alejandro to get/set passwords dialogs accesibility.
7933 * hildon-1/src/hildon-get-password-dialog.c:
7934 * hildon-1/src/hildon-set-password-dialog.c:
7935 Set atk_set_name to the passwd entries in order to allow
7936 accessibility by name on this entries.
7938 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7943 * debian/control: Updating gtk dep.
7945 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7947 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7948 USE_MAEMO_GTK is enabled.
7950 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7952 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7953 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7955 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7961 * debian/changelog: Updating.
7963 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7965 * examples/Makefile.am:
7966 * examples/hildon-logical-color-example.c:
7967 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7968 applied + adding a test case. Fixes: NB#71660.
7970 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7972 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7973 to be visible, fixes warning on map for windows without toolbars.
7975 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7977 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7978 2.11.0, add a check for that besides the MAEMO_GTK check.
7980 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7986 * debian/changelog: Updating.
7988 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7990 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7991 visibility. Fixes: NB#70842 and MB#615.
7993 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7995 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7996 set the separator as no-show-all so it doesn't unintentionally appear when
7997 someone does a show_all.
7999 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8001 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8002 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8003 toplevel item. Fixes: NB#62031
8005 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8007 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8008 fix the name of the function in the docs.
8010 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8016 * debian/changelog: Updating.
8018 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8020 * examples/hildon-banner-long-example.c: Adding a test-case for long
8023 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8025 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8027 * src/hildon-color-chooser-dialog.c:
8028 * src/hildon-color-chooser.c:
8029 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8030 memory leaks in font selector and color selector. Fixes: NB#70499 and
8033 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8035 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8037 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8039 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8040 little bit bigger. Fixes: #NB63694.
8042 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8048 * debian/changelog: Updating.
8050 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8053 * doc/hildon-docs.sgml:
8054 * doc/images/bread-crumb-trail.png:
8055 * doc/images/calendar-popup.png:
8056 * doc/images/caption.png:
8057 * doc/images/code-dialog.png:
8058 * doc/images/color-button.png:
8059 * doc/images/color-chooser-dialog.png:
8060 * doc/images/color-chooser.png:
8061 * doc/images/controlbar.png:
8062 * doc/images/date-editor.png:
8063 * doc/images/font-selection-dialog.png:
8064 * doc/images/get-password-dialog.png:
8065 * doc/images/hvolumebar.png:
8066 * doc/images/login-dialog.png:
8067 * doc/images/note.png:
8068 * doc/images/number-editor.png:
8069 * doc/images/range-editor.png:
8070 * doc/images/seekbar.png:
8071 * doc/images/set-password-dialog.png:
8072 * doc/images/sort-dialog.png:
8073 * doc/images/time-editor.png:
8074 * doc/images/time-picker.png:
8075 * doc/images/vvolumebar.png:
8076 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8077 Adding the bread-crumb-trial and helpers to the documentation.
8079 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8081 * examples/hildon-find-toolbar-example.c:
8082 * src/hildon-find-toolbar.c:
8083 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8084 actually continue firing the other handlers if connected. Adding a new
8086 hildon_find_toolbar_get_last_index that gets the index of the most
8087 recently added (last) item. Fixes: NB#52301.
8089 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8091 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8092 behaviour. Fixes: NB#68610.
8094 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8096 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8099 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8101 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8102 when realizing the banner. Should make the infonbanner effect a bit more
8105 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8107 * src/hildon-volumebar.c:
8108 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8109 hildon_volumebar_set_range_insensitive_message and
8110 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8112 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8114 * src/hildon-window.c: Fixing the border freeing on destroy.
8116 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8118 * src/hildon-code-dialog-private.h:
8119 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8120 kw keyboard support in HildonCodeDialog.
8122 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8128 * debian/changelog: Updating.
8130 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8132 * src/hildon-date-editor.c:
8133 * src/hildon-number-editor.c:
8134 * src/hildon-private.c:
8135 * src/hildon-private.h:
8136 * src/hildon-time-editor.c:
8137 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8138 handling in subclassed composite widgets. Fixes: NB#66628.
8140 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8142 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8143 from destroy_ callback as it introduces problems in async dbus signal
8144 handlers. Fixes NB#66673.
8146 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8148 * examples/hildon-hvolumebar-example.c:
8149 * src/hildon-volumebar.c: Improving the focus handling in the
8150 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8151 set_property accessor so that "mute" property can be actually set. I'm
8152 scared that nobody noticed it's totally broken.
8154 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8156 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8159 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8161 * src/hildon-calendar.c:
8162 * src/hildon-number-editor.c:
8163 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8164 matches the spec of 6 chars per second. Fixes: NB#60489.
8166 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8168 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8169 gtk_style_lookup_color sometime returns FALSE even though color was
8170 found and values were filled properly. Weird. Removing the warning for the
8173 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8175 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8176 expand vertically. Adding some extra space to the find toolbar buttons to
8177 make them thumbable. Fixes NB#66060.
8179 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8181 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8182 popup with "Ok" and "Cancel". Fixes NB#59299.
8184 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8186 * src/hildon-calendar.c: Process all window updates before executing next
8187 timeout. Fixes: NB#54146.
8189 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8195 * debian/changelog: Updating.
8197 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8199 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8200 the client event and ignore it, since we use the delete event to close
8203 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8205 * src/hildon-helper.c: Remove the bogus warning about color not being
8206 found. Fixes NB#58352.
8208 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8210 * examples/Makefile.am:
8211 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8212 HildonSeekbar widget inside a toolbar.
8214 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8216 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8217 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8218 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8219 don't want to be closed by non-temporary windows on map.
8221 Also use G_DEFINE_TYPE instead of manually typed code.
8223 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8230 * debian/rules: Updating.
8232 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8234 * examples/Makefile.am:
8235 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8236 bug NB#61128. Strangely it works.
8238 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8240 * src/hildon-date-editor.c: When the date editor entry has been changed
8241 but the numbers of characters < max, turn off the skip validation flag.
8242 Prevents a situation when we enter first a valid year and later re-write
8243 it with an invalid one. Fixes NB#60154.
8245 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8247 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8248 code dialog. Fixes NB#64355.
8250 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8252 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8253 switching the page. Fixes NB#49374.
8255 * examples/Makefile.am:
8256 * examples/hildon-wizard-dialog-example.c: Adding an example for
8257 HildonWizardDialog that shows how to handle manual sensitivity setting on
8260 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8264 * src/hildon-version.h.in:
8265 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8267 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8269 * src/hildon-volumebar.c: Updating the docs.
8271 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8277 * debian/changelog: Updating.
8279 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8281 * src/hildon-find-toolbar.c:
8282 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8283 selected item: hildon_find_toolbar_set_active,
8284 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8285 hildon_find_toolbar_get_active_iter . They correspond to respective
8286 GtkComboBox functions.
8288 * examples/Makefile.am:
8289 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8292 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8294 * examples/Makefile.am:
8295 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8298 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8299 when font size > 32 and we pack a focusable widget inside. Actually using
8300 the default response would work too, but since we don't show default
8301 response state in any way (no theming) it would not be visible to the
8302 user. Fixes NB#63430.
8304 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8306 * src/hildon-date-editor.c: Adding the missing variable setter in the
8307 set_property handler. Fixes NB#54182.
8309 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8311 * src/hildon-window.h: Changing the long key press time from 1500ms to
8312 800ms as requested in NB#63700. I have a bad feeling about this, let's
8313 see... Fixes NB#63700.
8315 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8317 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8318 hildon_time_picker_map, hildon_time_picker_realize,
8319 hildon_time_picker_style_set): Split the contents of map to more
8320 appropriate functions; set window decorations on realize and update
8321 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8323 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8328 * debian/changelog: Updating.
8330 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8332 * src/Makefile.am: fixed installation of the header files
8334 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8340 * debian/changelog: Updating.
8342 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8344 * configure.ac: Removing some remaining of --enable-xan.
8346 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8348 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8349 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8351 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8352 2.10.12-osso6 because the move-focus signal needs to be available in
8355 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8357 * examples/Makefile.am:
8358 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8359 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8360 fine. Prolly NB#61128 is fixed now.
8362 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8364 * src/hildon-volumebar.c:
8365 * src/hildon-volumebar.h: Adding the
8366 hildon_volumebar_set_range_insensitive_message and
8367 hildon_volumebar_set_range_insensitive_messagef functions to set
8368 insensitive message on the slider of the volumebar. Fixes NB#61129.
8370 * examples/Makefile.am:
8371 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8372 test the new insensitive messsage functionality on HildonVolumebar.
8374 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8376 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8379 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8381 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8382 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8383 button on after clearing the trail.
8385 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8387 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8389 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8391 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8392 by splitting the installed headers in generated and non-generated groups. Use
8393 only the non-generated headers to create the hildon-enum-types.h file.
8395 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8397 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8399 * src/hildon-window.c: Hide the window before performing the destroy.
8400 Should make the app closing a little tiny bit more snappy.
8402 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8404 * src/hildon-seekbar.c: add gtkrange.h header
8405 * src/hildon-caption.c: remove unused variable
8407 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8409 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8412 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8418 * debian/changelog: Updating.
8420 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8422 * src/hildon-window.c (hildon_window_window_state_event,
8423 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8424 escape timeout on focus-out-event rather than notify::is-topmost; the
8425 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8427 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8429 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8430 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8432 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8434 * src/hildon-window: actually, you need to use the macro always, there's
8435 no private pointer in the instance structure. We should have cleaned this up
8436 when we had the chance...
8438 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8440 * src/hildon-window.c: do not get the private date from HildonWindow before
8441 it passes the g_return_if_fail check. Once it's passed the test, there's no
8442 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8443 if you are only going to access the data once. Whitespace cleanups.
8445 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8447 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8448 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8450 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8456 * debian/changelog: Updating.
8458 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8460 * src/hildon-window.c: When destroying the window, remove (if exists) the
8461 escape timeout handler. Fixes #NB59276.
8463 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8465 * src/hildon-banner.c: When realizing the widget, set the window
8466 transiency. Setting the transiency in the gobject constructor is not
8467 good, as the widget is not realized at that point. Fixes: #NB56624.
8469 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8471 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8472 Add padding for future expansions.
8474 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8476 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8477 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8478 will fake an activation on the previous to the last item of the trail, so
8479 the effect can be overrided by the developer as usual.
8480 Also change the callback for the back button to do the same thing, so its
8481 effect can be overrided too. Fixes: NB#58982
8483 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8485 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8486 HildonCaption. Fixes NB#52379.
8488 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8490 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8491 the internal state of the trail after the user has had the chance of executing
8492 his handler for the signal. Specifically, it may happen that the activated button
8493 is removed and the user still lets the default handler run. This would segfault
8496 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8498 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8499 scrollbar to the preview dialog. Fixes NB#54147.
8501 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8503 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8504 max/min year properties can be altered, so the client can modify it
8505 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8507 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8509 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8510 hildonlike by default. Fixing a problem with disappearing arrows when
8511 scrolling through months and years. Fixes NB#54127.
8513 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8515 * examples/hildon-date-editor-example.c: Adding error callback to the date
8518 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8524 * configure.ac: Updating.
8526 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8528 * configure.ac: Adding a special '--enable-xan' configure option that
8529 turns off the -Werror compilation setting. Usefull for development.
8531 * src/hildon-calendar.c:
8532 * src/hildon-number-editor.c:
8533 * src/hildon-time-picker.c: Adding the 5* multiplier to
8536 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8538 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8539 instead of g_object_ref + gtk_object_sink.
8541 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8547 * debian/changelog: Updating.
8549 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8551 * src/hildon-color-chooser-dialog.c:
8552 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8553 straight from Tommi labs.
8555 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8557 * examples/hildon-finger-example.c: Correcting the header file path.
8559 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8560 the changed signal. Fixes a small memory leak.
8562 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8566 * src/hildon-banner.c: Importing several usefull fixes from the
8567 ubuntu-mobile branch.
8569 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8571 * examples/Makefile.am:
8572 * examples/hildon-finger-example.c: Adding a finger-checking code
8575 * src/hildon-font-selection-dialog.c: Do not allocate the color
8576 structure using the g_new. Fixes NB#54061.
8578 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8580 * src/hildon-helper.c: Correcting tabs in file.
8582 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8584 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8585 control the visibility of the children.
8587 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8589 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8595 * debian/changelog: Updating.
8597 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8599 * src/hildon-bread-crumb-trail.c:
8600 (hildon_bread_crumb_trail_size_allocate):
8602 Make the back button always a square.
8604 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8606 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8607 from the .c file as it's a private file.
8609 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8611 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8612 uses slightly bigger height.
8614 * src/hildon-font-selection-dialog.c: Adding some checks before
8615 freeing memory in the font selection dialog.
8617 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8619 * src/hildon-font-selection-dialog.c: Adding a small check when
8622 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8623 buttons sensitivity on page switching.
8625 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8627 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8628 internal details of adding a bread crumb to the trail.
8630 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8636 * debian/changelog: Updating.
8638 * src/hildon-bread-crumb-trail.h:
8639 * src/hildon-bread-crumb.h: Changing the API guard to
8640 HILDON_ENABLE_UNSTABLE_API.
8642 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8650 * src/hildon-helper.h: Updating.
8652 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8660 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8664 * src/hildon-helper.h: Small fix to make the package actually compile.
8666 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8668 * src/hildon-bread-crumb-trail.h:
8669 * src/hildon-bread-crumb.h:
8671 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8672 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8674 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8676 * examples/hildon-bread-crumb-trail-example.c:
8678 * src/hildon-bread-crumb-trail.c:
8679 * src/hildon-bread-crumb-trail.h:
8680 * src/hildon-bread-crumb.c:
8681 * src/hildon-bread-crumb.h:
8682 * src/hildon-marshalers.list:
8683 * src/hildon-bread-crumb-widget.c:
8684 * src/hildon-bread-crumb-widget.h:
8686 Slight change in the widget design. The bread crumb trail API is
8687 unchanged, but HildonBreadCrumb is now an interface. A *private*
8688 implementation, hildon-bread-crumb-widget, is provided and used
8689 internally by the trail for the push_text/push_icon functions.
8691 The generic push API is still available, so anyone can implement
8692 and use its own bread crumb widget.
8694 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8696 * debian/rules: Fixing the shlibs.
8698 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8700 * src/hildon-banner.c: Fixing a problem with timed banners having
8701 their parrent destroyed before they are.
8703 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8705 * src/hildon-bread-crumb.c:
8706 * src/hildon-bread-crumb.h:
8708 Make the get_natural_size function a vfunc.
8710 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8712 * src/hildon-bread-crumb.c:
8713 * src/hildon-bread-crumb-trail.c:
8717 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8724 * debian/changelog: Updating for release.
8726 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8728 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8729 don't leak the pango layout.
8731 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8734 * examples/hildon-bread-crumb-trail-example.c:
8738 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8740 * debian/changelog: Removing the bug-fixed entries that were actually
8741 resolved as WONTFIX.
8743 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8746 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8748 * src/hildon-bread-crumb-trail.c:
8749 * src/hildon-bread-crumb-trail.h:
8750 * src/hildon-bread-crumb.c:
8751 * src/hildon-bread-crumb.h:
8755 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8757 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8758 until it's passed the type check.
8760 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8762 * examples/hildon-bread-crumb-trail-example.c
8766 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8768 * examples/Makefile.am
8769 * examples/hildon-bread-crumb-trail-example.c
8771 * src/hildon-bread-crumb-trail.c
8772 * src/hildon-bread-crumb-trail.h
8773 * src/hildon-bread-crumb.c
8774 * src/hildon-bread-crumb.h
8776 New HildonBreadCrumbTrail widget.
8778 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8780 * src/hildon-range-editor.c (hildon_range_editor_init),
8781 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8782 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8783 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8784 hildon_time_editor_class_init, hildon_time_editor_init),
8785 src/hildon-get-password-dialog.c (invalid_input,
8786 hildon_get_password_set_property, hildon_get_password_get_property,
8787 create_contents, hildon_get_password_dialog_set_max_characters),
8788 src/hildon-set-password-dialog.c (create_contents),
8789 src/hildon-date-editor.c (hildon_date_editor_init),
8790 src/hildon-login-dialog.c (hildon_login_dialog_init),
8791 src/hildon-number-editor.c (hildon_number_editor_init),
8792 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8793 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8794 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8795 configure option and adding the respective checks in the code.
8796 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8797 hildon_calendar_drag_data_received): fixed some build warnings.
8799 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8801 * debian/changelog: A 1.0.0 release notes.