1 2009-06-15 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-picker-button.c:
4 Explain how HildonPickerButton sets the title of its dialog
6 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
7 the title of its dialog)
9 2009-06-15 Alberto Garcia <agarcia@igalia.com>
11 * hildon/hildon-check-button.c:
14 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
17 2009-06-15 Alberto Garcia <agarcia@igalia.com>
20 * hildon/hildon-edit-toolbar-private.h
21 * hildon/hildon-edit-toolbar.c
22 (+hildon_edit_toolbar_set_progress_indicator)
23 (hildon_edit_toolbar_init): Add progress indicator to the
27 (hildon_gtk_window_set_progress_indicator):
28 If the window contains a HildonEditToolbar, enable the progress
31 * hildon/hildon-private.h
32 * hildon/hildon-private.c
33 (+hildon_private_create_animation)
34 * hildon/hildon-banner.c
35 (-hildon_banner_create_animation):
36 Moved to hildon-private.c
38 Fixes: NB#102373 (Progress indicator also for the Edit mode
41 2009-06-15 Alberto Garcia <agarcia@igalia.com>
43 * hildon/hildon-app-menu-private.h
44 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
45 (hildon_app_menu_add_filter, +menu_item_button_event)
46 (hildon_app_menu_button_release, hildon_app_menu_init):
47 Make sure that buttons receive 'button-release-event' in spite of
48 the grab held by HildonAppMenu
50 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
52 2009-06-15 Alberto Garcia <agarcia@igalia.com>
54 * hildon/hildon-app-menu.c
55 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
56 New style property to set the size of the group of filter buttons.
58 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
60 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
65 * configure.ac: Bump version.
66 * debian/changelog: Updates.
68 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
70 * hildon/hildon-main.c: Minor documentation fixes.
72 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
74 * doc/hildon-sections.txt:
75 * hildon/hildon-defines.h: Document the defines, organize them,
76 and mark deprecations as such.
78 Fixes: MB#4463 (Hildon size #defines are undocumented)
80 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
82 * hildon/hildon-animation-actor.c:
83 * hildon/hildon-app-menu.c:
84 * hildon/hildon-button.c:
85 * hildon/hildon-date-editor.c:
86 * hildon/hildon-dialog.c:
87 * hildon/hildon-edit-toolbar.c:
88 * hildon/hildon-entry.c:
89 * hildon/hildon-program.c:
90 * hildon/hildon-remote-texture.c:
91 * hildon/hildon-stackable-window.c:
92 * hildon/hildon-text-view.c:
93 * hildon/hildon-touch-selector.c:
94 * hildon/hildon-window-stack.c:
95 * hildon/hildon-window.c:
97 Remove redundant "represents" wording from most of the documentation.
99 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
101 2009-06-12 Alberto Garcia <agarcia@igalia.com>
106 * hildon/hildon-banner-private.h
107 * hildon/hildon-banner.c:
108 Move HildonBannerPrivate to hildon-banner.c and remove
109 hildon-banner-private.h
110 Use a bit field to store private booleans.
112 2009-06-12 Alberto Garcia <agarcia@igalia.com>
114 * hildon/hildon-app-menu.c (hildon_app_menu_map):
115 Don't install a new idle function if there's already one
120 2009-06-11 Alberto Garcia <agarcia@igalia.com>
122 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
123 (+legacy_menu_realized, +legacy_menu_unmapped)
124 (+set_legacy_menu_type):
125 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
126 they can be identified by the window manager.
128 Fixes: NB#101437 (Invoking CSM on the left side of page area is
129 displayed in wrong location)
131 Fixes: MB#4563 (Popup menu won't locate at the left side of the
134 2009-06-11 Alberto Garcia <agarcia@igalia.com>
136 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
138 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
141 2009-06-11 Alberto Garcia <agarcia@igalia.com>
143 * hildon/hildon-code-dialog.c
144 * hildon/hildon-date-editor.c
145 * hildon/hildon-number-editor.c
146 * hildon/hildon-seekbar.c
147 * hildon/hildon-stackable-window.c
148 * hildon/hildon-window.c:
149 Misc documentation updates
151 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
153 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
154 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
156 Fixes: NB#117931 (Theming issues in accounts dialogs)
158 2009-06-09 Alejandro G. Castro <alex@igalia.com>
160 * hildon/hildon-pannable-area.c,
161 (hildon_pannable_area_button_release_cb): Changed the coordinates
162 of the original release in case we want to discard the release,
163 some widgets in Fremantle do not handle the leave-notify.
165 2009-06-09 Alejandro G. Castro <alex@igalia.com>
167 * hildon/hildon-pannable-area.c,
168 (hildon_pannable_area_button_release_cb): Reviewed the logic of
169 the release using the last refactored functions and avoiding the
170 movement if an element was selected.
172 2009-06-09 Alejandro G. Castro <alex@igalia.com>
174 * hildon/hildon-pannable-area.c,
175 (hildon_pannable_area_check_move),
176 (hildon_pannable_area_handle_move),
177 (hildon_pannable_area_motion_notify_cb): Refactored the
178 motion_notify method using a couple of new functions.
180 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
182 * hildon/hildon-date-selector.c:
183 (hildon_date_selector_construct_ui):
184 * hildon/hildon-time-selector.c:
185 (hildon_time_selector_constructor):
186 * hildon/hildon-touch-selector-entry.c:
187 (hildon_touch_selector_entry_set_text_column),
188 (hildon_touch_selector_entry_get_text_column):
189 * hildon/hildon-touch-selector.c: (_default_print_func),
190 (hildon_touch_selector_new_text): Use
191 hildon_touch_selector_set/get_text_column() instead of
192 setting/getting the "text-column" property.
194 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
196 * doc/hildon-sections.txt: Add the new public methods below.
198 * examples/hildon-picker-button-multicolumn-example.c:
199 (create_touch_selector):
200 * examples/hildon-touch-selector-example.c: (create_selector):
201 * examples/hildon-touch-selector-multi-cells-example.c:
203 Use hildon_touch_selector_column_set_text_column()
205 * hildon/hildon-touch-selector-column.h:
206 * hildon/hildon-touch-selector.c:
207 (hildon_touch_selector_column_set_text_column),
208 (hildon_touch_selector_column_get_text_column):
209 Make hildon_touch_selector_column_set/get_column() public, use
210 them in the inline example, document them, and reference to them
213 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
215 * hildon/hildon-time-selector.c: Fix the docs for
216 hildon_time_selector_new_step().
218 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
220 * hildon/hildon-touch-selector.c: Improve the documentation for
221 hildon_touch_selector_append_column().
223 Fixes MB#4641 (Documentation:
224 hildon_touch_selector_append_column() ref-counting)
226 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
228 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
229 Comment out test 5, since the hildon_controlbar_set_range() range
230 check is broken and fixing it would have side effects. Also,
231 this finally fixes make distcheck.
233 Fixes: NB#101420 (Update unit tests and fix make distcheck)
235 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
237 * tests/TEST-CASES.txt: Remove other bogus test.
238 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
239 Remove bogus test that was setting/retrieving a valid value.
241 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
243 * tests/TEST-CASES.txt: Remove bogus tests.
244 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
245 Remove three bogus tests that were actually setting valid colors.
247 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
249 * configure.ac: post release version bump
250 * debian/changelog: post release version bump
252 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
257 * configure.ac: Bump version.
258 * debian/changelog: Updates.
260 2009-06-08 Christian Dywan <christian@lanedo.com>
264 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
265 Correct errors in hildon_format_file-size_for_display and use
266 translations from the hildon-fm package instead of osso-filemanager.
268 2009-06-08 Alejandro G. Castro <alex@igalia.com>
270 * hildon/hildon-pannable-area.c,
271 (hildon_pannable_area_init): Initialized new values to handle the
273 (hildon_pannable_area_adjust_value_changed): Check if the values
274 changed before even call the redraw function.
275 (hildon_pannable_area_size_allocate),
276 (hildon_pannable_axis_scroll),
277 (hildon_pannable_area_scroll),
278 (hildon_pannable_area_jump_to): Improved the diagonal movement
281 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
284 2009-06-08 Alberto Garcia <agarcia@igalia.com>
286 * examples/hildon-banner-example.c:
287 Several style updates
288 (on_animation_clicked, on_animation_idle)
289 (on_progress_clicked, on_progress_idle):
290 Add additional reference for the cases when the parent window is
293 2009-06-08 Alberto Garcia <agarcia@igalia.com>
295 * doc/hildon-sections.txt
296 * hildon/hildon-pannable-area.c
297 * hildon/hildon-banner.h
298 * hildon/hildon-banner.c: Documentation updates.
300 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
303 2009-06-05 Alejandro G. Castro <alex@igalia.com>
305 * hildon/hildon-calendar-popup.h:
306 * hildon/hildon-caption.h:
307 * hildon/hildon-code-dialog.h:
308 * hildon/hildon-controlbar.h:
309 * hildon/hildon-date-editor.h:
310 * hildon/hildon-dialog.h:
311 * hildon/hildon-get-password-dialog.h:
312 * hildon/hildon-hvolumebar.h:
313 * hildon/hildon-login-dialog.h:
314 * hildon/hildon-note.h:
315 * hildon/hildon-number-editor.h:
316 * hildon/hildon-range-editor.h:
317 * hildon/hildon-seekbar.h:
318 * hildon/hildon-set-password-dialog.h:
319 * hildon/hildon-sort-dialog.h:
320 * hildon/hildon-time-editor.h:
321 * hildon/hildon-time-picker.h:
322 * hildon/hildon-volumebar-range.h:
323 * hildon/hildon-volumebar.h:
324 * hildon/hildon-vvolumebar.h:
325 * hildon/hildon-weekday-picker.h:
326 * hildon/hildon-window.h:
327 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
328 macros with the current replacements
330 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
332 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
334 * hildon/hildon-color-button.c (hildon_color_button_init): Use
335 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
336 itself, to make it fit better with Fremantle style.
338 Fixes: NB#109878 (height and width of focus on color icon is not
339 consistent with other item in the application tool bar)
341 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
343 * hildon/hildon-touch-selector.c:
344 (hildon_touch_selector_optimal_size_request): use the current requisition
345 as the base, in order to include any possible extra widget, like the
346 hildon entry on HildonTouchSelectorEntry
348 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
350 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
352 * configure.ac: post release version bump
353 * debian/changelog: post release version bump
355 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
360 * configure.ac: Bump version.
361 * debian/changelog: Updates.
363 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
365 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
367 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
368 to ensure the banner contents are centered, instead of relying on
369 the expand and fill properties in GtkHBox.
370 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
372 Fixes: NB#108265 (Animation banner not properly centered)
374 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
376 * hildon/hildon-pannable-area.c
377 (hildon_pannable_area_initial_effect): Remove the initial_effect
378 management, check initial_hint
379 (hildon_pannable_are_expose_event): Remove the initial_hint management,
380 set initial_effect to FALSE
381 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
382 by launching the fade_timeout if the scrollbars state has changed and are
384 * examples/hildon-pannable-area-initial-hint-example.c
385 Modified to allow to remove rows too. Add and remove rows one by one.
387 2009-05-28 Alberto Garcia <agarcia@igalia.com>
389 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
390 Don't close the menu if there's an animation actor below it.
392 Fixes: NB#117927 (Application menu not usable with animation
395 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
397 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
398 "focus-on-click" from the dialog button, to avoid stealing the
399 focus from the entry.
401 Fixes: NB#118903 (Account setup wizard: Text in Search field
402 should be focused when "Region" touch list picker is reopened
405 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
407 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
408 (prepare_action_area): Completely hide the dialog separator.
410 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
412 * hildon/hildon-touch-selector-entry.c
413 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
414 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
415 now that the entry is exposed.
417 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
419 * hildon/hildon-touch-selector-entry.c
420 (hildon_touch_selector_entry_init): Change the entry's size
421 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
423 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
425 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
426 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
427 avoid unnecessary scaling.
429 2009-05-27 Alberto Garcia <agarcia@igalia.com>
431 * hildon/hildon-app-menu.c (hildon_app_menu_map):
432 Create grab transfer window before calling parent's map function.
434 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
435 "crushed" button(s) in the top left corner)
437 2009-05-26 Alberto Garcia <agarcia@igalia.com>
439 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
440 Check if the window is already realized when pushing it.
442 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
444 * configure.ac: post release version bump
445 * debian/changelog: post release version bump
447 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
452 * configure.ac: Bump version.
453 * debian/changelog: Updates.
455 2009-05-25 Alberto Garcia <agarcia@igalia.com>
457 * hildon/hildon-app-menu.c: Doc updates.
459 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
461 * hildon/hildon-banner.c: Remove leftover macro.
463 2009-05-25 Alejandro G. Castro <alex@igalia.com>
465 * hildon/hildon-pannable-area.c,
466 (hildon_pannable_area_scroll_indicator_fade),
467 (hildon_pannable_area_button_release_cb): Reviewed vmin
468 conditions, it could cause problems in the fadeout procedure.
470 2009-05-25 Alejandro G. Castro <alex@igalia.com>
472 * hildon/hildon-pannable-area.c
473 (hildon_pannable_area_button_release_cb): Added a threshold to
474 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
476 2009-05-25 Alejandro G. Castro <alex@igalia.com>
478 * hildon/hildon-pannable-area.c,
479 (hildon_pannable_area_set_property): Added code to sync the gtk
480 dnd threshold with the panning threshold.
482 2009-05-25 Alejandro G. Castro <alex@igalia.com>
484 * hildon/hildon-pannable-area.c,
485 (hildon_pannable_area_class_init): Changed some of the default
486 values, now it should be less responsive and more accurate.
488 2009-05-25 Alejandro G. Castro <alex@igalia.com>
490 * hildon/hildon-pannable-area.c,
491 (hildon_pannable_area_init),
492 (hildon_pannable_area_scroll_indicator_fade),
493 (hildon_pannable_area_button_press_cb),
494 (hildon_pannable_axis_scroll),
495 (hildon_pannable_area_timeout),
496 (hildon_pannable_area_motion_notify_cb),
497 (hildon_pannable_area_button_release_cb): Changed the name of the
498 clicked attribute to button_pressed, it is more clear about its use.
500 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
502 * src/hildon-pannable-area.c
503 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
505 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
506 vertical scrollbar visibility, and use the data on private section instead,
507 remove the initial_hint check
508 (hildon_pannable_area_expose_event): add the initial_hint check here
510 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
512 * src/hildon-pannable-area.c
513 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
514 if the fadeout effect was used
515 (hildon_pannable_area_expose_event): check if it is required to
516 manage the initial effect on the begining of the function. Previously
517 it was made at the end, but this doesn't ensure that the scrollbars
518 will be painted on the first show. Do not set to FALSE initial_effect,
519 to ensure that the initial hint is showed the first time the pannable
521 * examples/Makefile.am
522 * examples/hildon-pannable-area-initial-hint-example.c:
523 New example, to show that the initial-hint is showed when the widget
526 Fixes: NB#116607 (Pannable area should always have scrollbar visible
527 initially if the application can be scrolled)
529 2009-05-25 Alberto Garcia <agarcia@igalia.com>
531 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
532 Resize table before adding new items to make sure that
533 gtk_table_resize() is called just once.
535 2009-05-25 Alberto Garcia <agarcia@igalia.com>
537 * hildon/hildon-app-menu-private.h
538 * hildon/hildon-app-menu.c (item_visibility_changed)
539 (filter_visibility_changed, hildon_app_menu_show_all)
540 (hildon_app_menu_hide_all, hildon_app_menu_init):
541 Rearrange items just once when gtk_widget_show_all()/hide_all()
544 2009-05-25 Alberto Garcia <agarcia@igalia.com>
546 * hildon/hildon-app-menu.c
547 (hildon_app_menu_insert, hildon_app_menu_add_filter):
548 Don't call gtk_widget_show() on added items.
550 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
551 automatically when they're added)
553 2009-05-20 Alberto Garcia <agarcia@igalia.com>
555 * hildon/hildon-banner.c
556 (hildon_banner_realize, +hildon_banner_unrealize)
557 (+screen_size_changed, hildon_banner_class_init):
558 Redisplay the banner if the screen is rotated.
560 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
561 on transition from landscape to portrait)
563 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
565 * hildon/hildon-banner.[ch]:
566 (hildon_banner_show_information_override_dnd): remove icon_name from the
567 method definition as it is ignored.
568 * examples/hildon-banner-dnd-example.c: updated with the change on
571 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
573 * hildon/hildon-banner-private.h: new require_override_dnd and
574 overrides_dnd variables
575 * hildon/hildon-banner.h:
576 (hildon_banner_show_information_override_dnd): new method, that shows
577 the information but sets the override flag, in order to show important
579 * hildon/hildon-banner.c
580 (hildon_banner_show_information_override_dnd): new method
581 (hildon_banner_set_override_flag): new utility function
582 (hildon_banner_real_show_information): new utility function, in order to
583 generalize the current hildon_banner_show_information_override_dnd and
584 hildon_banner_show_information_override_dnd
585 * examples/Makefile.am
586 * examples/hildon-banner-dnd-example.c: New example that show how to
587 use the new hildon_banner_show_information_override_dnd
589 Fixes: NB#114874 (There is no possibility to show hildon banners with
592 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
594 * hildon/hildon-pannable-area.c: Add a comment explaining the math
595 behind hildon_pannable_calculate_vel_factor().
597 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
599 * hildon/hildon-pannable-area.c
600 (hildon_pannable_calculate_vel_factor): Correct the sum of the
601 deceleration factors.
603 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
605 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
606 Reduce the default value for 'scroll_time' to 1 second, since the
607 current initial scrolling takes too much time.
609 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
611 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
612 calculate velocity factor during initialization, since the properties
615 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
617 * hildon/hildon-pannable-area.c
618 (hildon_pannable_area_set_property): Calculate the velocity factor
619 after setting the deceleration property and not after.
621 2009-05-20 Alberto Garcia <agarcia@igalia.com>
623 * hildon/hildon-entry.c
624 (hildon_entry_class_init, +set_property, hildon_entry_new)
625 * hildon/hildon-check-button.c
626 (hildon_check_button_class_init)
627 (+set_property, hildon_check_button_new):
628 Make the theme size a property.
630 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
631 others) do too much in the _new function)
633 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
635 * configure.ac: post release version bump
636 * debian/changelog: post release version bump
638 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
643 * configure.ac: Bump version.
644 * debian/changelog: Updates.
646 2009-05-15 Alberto Garcia <agarcia@igalia.com>
648 * hildon/hildon-gtk.h
649 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
650 New API function to take a screenshot of a window
652 Fixes: NB#106374 (Need API to take a loading screenshot)
654 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
656 * hildon/hildon-time-selector.c
657 (update_format_policy): prevent to use hours and minutes unitialized
659 2009-05-15 Alberto Garcia <agarcia@igalia.com>
661 * hildon/hildon-window.c (hildon_window_size_request):
662 Always request the full size of the screen (minus the title bar if
663 not in fullscreen mode).
665 Fixes: NB#107486 (HildonWindow should size itself properly)
667 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
669 * hildon/hildon-note-private.h: Add idle_handler to the private data.
670 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
671 (on_show_cb), (sound_handling): Disconnect the idle handler for
672 the sound when the note is finalized to avoid possible crashes.
674 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
677 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
679 * src/hildon-animation-actor.c,
680 * src/hildon-remote-texture.c:
681 Added proper object cleanup to remove signal handler and object
682 references as HildonAnimationActor and HildonRemoteTexture
683 objects get destroyed.
685 Fixes: NB#116682 (Destroying parented animation actors when
686 parent in unmapped leads to crash)
688 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
690 Based on a patch by Christian Dywan (christian@imendio.com)
692 * doc/hildon-sections.txt:
693 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
694 * hildon/hildon-helper.h: New file size formatting method.
696 * debian/control: Depend on osso-filemanager l10n package for
697 proper localization strings.
699 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
701 * tests/Makefile.am: Include top_srcdir to make possible to build
702 tests in a different builddir.
703 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
704 on a different builddir.
706 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
708 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
709 (hildon_touch_selector_remove): Disconnect model's signal handler
712 Fixes: NB#116289 (Hildon home crashes while adding task
715 2009-05-11 Alberto Garcia <agarcia@igalia.com>
717 * hildon/hildon-button.c
718 (hildon_button_set_title, hildon_button_set_value):
719 Hide labels containing an empty string.
721 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
723 * configure.ac: post release version bump
724 * debian/changelog: post release version bump
726 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
731 * configure.ac: Bump version.
732 * debian/changelog: Updates.
734 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
736 * hildon/hildon-note-private.h: Removed sound_signal_handler
737 * hildon/hildon-note.c
738 (on_show_cb): new callback on note "show" event, this simply adds
739 a idle, with the function sound_handling
740 (sound_handling): removed the sound_signal_handler management
741 (hildon_note_init): connect note "show" event to on_show_cb
742 (hildon_note_realize): remove the connection to "expose-event"
744 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
745 device?' confirmation note)
747 2009-05-08 Alberto Garcia <agarcia@igalia.com>
749 * hildon/hildon-note.c
750 (hildon_note_new_information_with_icon_name)
751 (hildon_note_new_confirmation_with_icon_name):
752 Terminate the list of parameters in g_object_set() calls
754 Fixes: NB#115166 (Formatting memory card is not taking place)
756 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
758 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
759 "dialog-information" role for the sound being played.
761 2009-05-06 Alberto Garcia <agarcia@igalia.com>
763 * hildon/hildon-app-menu.c (hildon_app_menu_init):
764 Don't make the menu a modal window, it causes strange interactions
765 with the pointer grab and it's not really needed.
767 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
769 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
771 * hildon/hildon-touch-selector.[ch]
772 (hildon_touch_selector_optimal_size_request): function added to get a
773 optimal size request from the touch selector, when you want a dialog to
774 show as much of the selector
775 * hildon/hildon-picker-dialog.c:
776 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
777 (hildon_app_menu_class_init):
778 New "max-height-landscape" and "max-height-portrait" style properties
779 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
780 (hildon_picker_dialog_get_max_height): returns the maximum height using
781 the style properties defined and checking the current portrait/landscape
783 (_hildon_picker_dialog_set_selector): removed the set_size_request
785 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
787 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
789 * hildon/hildon-bread-crumb-trail.c:
790 * hildon/hildon-bread-crumb.c:
791 * hildon/hildon-seekbar.c:
792 Add reference to replacements for these deprecated widgets.
794 Fixes: MB#4461 (Documentation: All deprecations should mention
797 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
799 * examples/hildon-remote-texture-example.c
801 Change the include to the hildon-remote-texture in order to compile
802 properly the examples on the installed libhildon1-examples package
804 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
806 * tests/Makefile.am: Add check for HildonPickerButton.
807 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
808 (START_TEST), (create_hildon_picker_button_suite): Add three simple
809 checks for the HildonPickerButton.
810 * tests/check_test.c (configure_tests): Add the test suite.
811 * tests/test_suites.h: likewise.
813 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
815 * hildon/hildon-touch-selector.c
816 (+on_row_changed): Emit HildonTouchSelector:changed when the
817 contents of a selected row change.
818 (_create_new_column), (_hildon_touch_selector_set_model): connect
819 to GtkTreeModel:row-changed on a newly set model.
821 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
823 2009-05-05 Alberto Garcia <agarcia@igalia.com>
825 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
827 * hildon/hildon-banner.c (hildon_banner_destroy)
828 (hildon_banner_show_progress, hildon_banner_set_fraction):
829 Remove the progress bar from HildonBanner and use a progress
832 Fixes: NB#113761 (Update progress banner to use progress
835 2009-05-04 Alberto Garcia <agarcia@igalia.com>
837 * hildon/hildon-banner.c:
838 Calculate size of the banner label using the actual screen width
839 rather than using a fixed value.
841 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
844 2009-05-04 Alejandro G. Castro <alex@igalia.com>
846 * hildon/hildon-pannable-area.c,
847 (hildon_pannable_area_class_init): Fixed signals documentation
850 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
852 * configure.ac: post release version bump
853 * debian/changelog: post release version bump
855 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
860 * configure.ac: Bump version.
861 * debian/changelog: Updates.
863 2009-05-01 Alberto Garcia <agarcia@igalia.com>
865 * hildon/hildon-edit-toolbar.c
866 (hildon_edit_toolbar_init):
867 Don't let buttons in HildonEditToolbar receive focus.
869 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
870 typing on an HW arrows key)
872 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
874 * doc/Makefile.am: Fix build.
876 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
878 * doc/Makefile.am: Do not redefine content_files.
880 2009-04-30 Alberto Garcia <agarcia@igalia.com>
888 Renamed src/ to hildon/
893 Include <hildon/hildon.h> directly in all examples.
895 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
897 * src/hildon-sort-dialog.c
898 (hildon_sort_dialog_add_sort_key_with_sorting)
902 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
904 * src/Makefile.am: Move generated sources to CLEANFILES, so that
905 make distcheck passes.
907 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
909 * Makefile.am: Enable gtk-doc during distcheck.
911 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
913 * Makefile.am: Do not distribute the debian/ directory.
915 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
917 * doc/Makefile.am: Add the extra SGML files to content_files,
918 so that they are distributed properly.
920 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
922 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
925 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
927 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
928 (hildon_note_new_information_with_icon_name): Set the "icon" property
929 to preserve soundness.
931 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
933 * src/hildon-font-selection-dialog.c
934 (hildon_font_selection_dialog_set_property): Fail when the "family"
935 property is set to NULL.
937 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
939 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
942 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
944 * src/hildon-time-selector.h:
945 Added HildonTimeSelectorFormatPolicy
946 * src/hildon-time-selector.c:
947 Added PROP_TIME_FORMAT_POLICY
948 (_check_ampm_format): renamed to check_automatic_ampm_format
949 (update_format_policy), (update_format_dependant_columns): new functions
950 (hildon_time_selector_class_init)
951 (hildon_time_selector_contructor)
952 (hildon_time_selector_init)
953 (hildon_time_selector_get_property)
954 (hildon_time_selector_set_property)
955 (hildon_time_selector_get_time)
956 (hildon_time_selector_set_time)
957 * src/hildon-touch-selector.h: new file
958 * src/hildon-touch-selector.c
959 (hildon_touch_selector_emit_changed)
960 (hildon_touch_selector_block_changed)
961 (hildon_touch_selector_unblock_changed)
962 Added functions to allow to block the emission of the "changed" signal
963 * src/hildon-picker-dialog.c
964 (hildon_picker_dialog_show): call the parent show before the custom code
965 * examples/hildon-time-button-example.c
966 Modified, so now you can configure the time format using the new property
968 Added a new property "time-format-policy" that allow to choose the time
969 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
970 case it uses gconf in order to check if the time selector must use
973 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
976 2009-04-28 Alberto Garcia <agarcia@igalia.com>
978 * src/hildon-note.c (hildon_note_init):
979 Label in HildonNote must be left aligned, not centered. This
980 reverts the last commit in HildonNote.
982 Fixes: NB#112933 (text is not left aligned in confirmation dialog
983 is connectivity dialog)
985 2009-04-27 Alberto Garcia <agarcia@igalia.com>
990 * doc/hildon-sections.txt:
991 Added hildon_gtk_window_set_do_not_disturb()
993 2009-04-27 Alberto Garcia <agarcia@igalia.com>
995 * src/hildon-note.c (hildon_note_init): Center label.
997 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1000 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1005 * configure.ac: Bump version.
1006 * debian/changelog: Updates.
1008 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1010 * src/hildon-note-private.h: Add button-width to the private data.
1011 * src/hildon-note.c (+resize_button),
1012 (+hildon_note_orientation_update): methods to repack widgets on orientation
1014 (screen_size_changed): Call above method for confirmation notes.
1015 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1016 (hildon_note_rebuild): Store the original width request from buttons.
1018 Fixes: NB#109635 (Confirmation notes do not support portrait)
1020 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1022 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1023 when it is a progress note.
1025 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1027 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1028 in the note, since there are no horizontally arranged contents.
1030 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1032 * src/hildon-gtk.c (+set_flag): new generic method to
1033 set/delay a flag setting in a window.
1034 (hildon_gtk_window_set_progress_indicator):
1035 (hildon_gtk_window_set_do_not_disturb),
1036 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1037 avoid code redundance.
1039 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1041 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1043 * src/hildon-gtk.c (set_clear_window_flag),
1044 (do_set_progress_indicator), (do_set_do_not_disturb),
1045 (do_set_portrait_flags),
1046 (hildon_gtk_window_set_progress_indicator),
1047 (hildon_gtk_window_set_do_not_disturb),
1048 (hildon_gtk_window_set_portrait_flags):
1049 Allow setting dnd-flag, progress indicator, and portrait flags
1050 when the window is not realized.
1052 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1054 * src/hildon-pannable-area.c,
1055 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1056 the size request policy function and defines.
1058 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1060 * doc/hildon-sections.txt: Add the new API.
1061 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1062 method to set the portrait flags.
1063 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1065 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1067 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1069 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1070 to allow using this method with other flags.
1071 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1072 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1074 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1076 * src/hildon-touch-selector.c
1077 (hildon_touch_selector_append_text_column):
1078 Make the cell renderer use the smallest width possible.
1080 Fixes: NB#108470 (Selected items in multiple selection are either
1081 having a tick that is cut or not visible at all.)
1083 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1085 * src/hildon-touch-selector.c
1086 (hildon_touch_selector_append_text_column):
1089 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1091 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1092 Use g_strdup_printf() instead of a fixed size buffer.
1094 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1096 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1097 Close banners when a HildonAppMenu is popped up.
1099 Fixes: NB#111027 (Title menu closed immediately if activated when
1100 "Invalid e-mail address" banner is shown)
1102 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1107 * configure.ac: Bump version.
1108 * debian/changelog: Updates.
1110 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1112 * src/hildon-banner.c (hildon_banner_realize):
1113 Mark HildonBanner as supporting portrait mode.
1114 Use GDK to set window properties insetad of direct Xlib calls.
1116 Fixes: NB#111830 (HildonBanner should be marked as supporting
1119 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1121 * src/hildon-note.c (hildon_note_rebuild):
1122 Hide action area in information notes. Prevents text from being
1123 slightly aligned to the left.
1125 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1128 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1130 Patch by Mox Soini (ext-mox.soini@nokia.com)
1132 * src/hildon-banner.c (hildon_banner_create_animation):
1133 Use stylus-sized icons in animation banner.
1135 Fixes: NB#111206 (stylus sized icon for animation banner)
1137 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1141 (+hildon_gtk_window_set_do_not_disturb):
1142 New API to set the do-not-disturb flag.
1144 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1146 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1148 * examples/hildon-progress-indicator-example.c: Fix example
1150 * src/hildon-gtk.c (set_clear_window_flag)
1151 (hildon_gtk_window_set_progress_indicator):
1152 Create a generic function for setting flags to a window.
1153 Use GDK instead of direct Xlib calls.
1155 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1157 * src/hildon-button.c (hildon_button_set_arrangement):
1158 Due to NB#88126, if one of the labels is too long it will be
1159 painted outside the button. The 'value' label is more likely to be
1160 the longest one, so we change its packing options in order to
1161 truncate it if necessary. As a side effect, the 'title' label will
1162 no longer be truncated.
1164 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1166 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1171 * configure.ac: Bump version.
1172 * debian/changelog: Updates.
1174 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1176 Deprecation of the hildon_pannable_area_set_size_request_policy
1177 API, the only policy properly supported in gtk+ nowadays is the
1180 * src/hildon-pannable-area.c,
1181 (hildon_pannable_area_size_request): Added a workaround for the
1182 size_request to avoid the problems of huge pixmaps in case someone
1183 is still using the function.
1184 * src/hildon-pannable-area.h: Deprecated the enum with the
1187 Fixes: NB#110244 (Problems with the
1188 hildon_pannable_area_set_size_request_policy API)
1190 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1192 * src/hildon-pannable-area.c,
1193 (hildon_pannable_area_init),
1194 (hildon_pannable_area_size_request),
1195 (hildon_pannable_area_style_set),
1196 (hildon_pannable_draw_vscroll),
1197 (hildon_pannable_draw_hscroll),
1198 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1199 indicator_width to clarify the use of the attribute.
1201 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1206 * configure.ac: Bump version.
1207 * debian/changelog: Updates.
1209 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1211 * src/hildon-picker-dialog.c
1212 * src/hildon-touch-selector.c
1213 Reverting the change that tried to avoid the hardcoded height on
1214 the picker dialog, as causes problems on the hildon-touch-selector
1217 Fixes: NB#110029 (selectors not scrolling to selected value)
1219 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1221 * src/hildon-touch-selector.c: Fix typos
1223 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1225 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1226 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1227 request more motions after using it.
1229 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1231 * src/hildon-calendar.c (hildon_calendar_expose),
1232 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1233 Remove unused variables.
1235 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1237 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1238 variable assignment.
1240 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1242 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1243 Check the return value of gtk_tree_selection_get_selected()
1246 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1248 * src/hildon-animation-actor.c
1249 * src/hildon-button.c
1251 * src/hildon-pannable-area.c
1252 * src/hildon-picker-button.c
1253 * src/hildon-program.c
1254 * src/hildon-remote-texture.c
1255 * src/hildon-text-view.c
1256 * src/hildon-touch-selector.c
1257 * src/hildon-window-stack.c
1258 * src/hildon-window.c:
1259 Add missing 'Since: 2.2' tags.
1261 * doc/hildon-sections.txt:
1262 Add some missing symbols.
1264 * doc/hildon-docs.sgml:
1265 New 'Other' section for HildonAnimationActor and
1268 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1270 Patch by Iván Gómez (igomez@igalia.com)
1273 * doc/compiling.sgml
1274 * doc/hildon-docs.sgml
1275 * doc/hildon-sections.txt
1276 * doc/migration.sgml
1277 * doc/resources.sgml
1279 New chapters on using the Hildon library.
1280 Updated the general structure of the reference manual.
1281 Other minor documentation fixes.
1283 * src/hildon-calendar-popup.c
1284 * src/hildon-calendar.c
1285 * src/hildon-controlbar.c
1286 * src/hildon-date-editor.c
1287 * src/hildon-dialog.c
1288 * src/hildon-hvolumebar.c
1289 * src/hildon-number-editor.c
1290 * src/hildon-range-editor.c
1291 * src/hildon-sort-dialog.c
1292 * src/hildon-time-editor.c
1293 * src/hildon-time-picker.c
1294 * src/hildon-volumebar-range.c
1295 * src/hildon-volumebar.c
1296 * src/hildon-vvolumebar.c
1297 * src/hildon-weekday-picker.c:
1298 Add deprecation notes
1300 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1301 Document 'horizontal-movement' and 'vertical-movement' signals.
1303 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1308 * configure.ac: Bump version.
1309 * debian/changelog: Updates.
1311 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1313 * src/hildon-pannable-area.c,
1314 (hildon_pannable_area_class_init): increased the minimum velocity.
1315 (hildon_pannable_area_button_release_cb): Updated the
1316 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1317 setup. Review the code to control that last event.
1319 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1322 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1324 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1326 * src/hildon-get-password-dialog.c
1327 (hildon_get_password_set_property),
1328 (hildon_get_password_get_property), (create_contents):
1329 * src/hildon-login-dialog-private.h:
1330 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1331 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1332 (hildon_login_dialog_get_password):
1333 * src/hildon-set-password-dialog-private.h:
1334 * src/hildon-set-password-dialog.c
1335 (hildon_set_password_set_property),
1336 (hildon_set_password_get_property), (create_contents),
1337 (hildon_set_password_response_change),
1338 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1340 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1341 instead and look more Fremantle style.
1343 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1345 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1347 * doc/hildon-sections.txt
1348 * src/hildon-window-stack.h
1349 * src/hildon-window-stack.c
1350 (+hildon_window_stack_get_windows):
1351 New API to obtain the list of windows on a stack.
1353 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1355 * src/hildon-app-menu.c (hildon_app_menu_popup)
1356 (hildon_app_menu_class_init, -hildon_app_menu_show):
1357 Remove hildon_app_menu_show() and move all its checks to
1358 hildon_app_menu_popup()
1360 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1362 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1363 (_hildon_picker_dialog_set_selector): removed call to
1364 gtk_widget_set_size_request
1365 * src/hildon-touch-selector.c
1366 (_create_new_column): change the pannable size request policy
1368 Avoid to use a hardcoded height for the hildon picker dialog. In order
1369 to get that, we needed to change the hildon pannable size request
1371 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1373 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1375 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1376 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1379 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1381 * debian/control: Depend on osso-system-lock localization package.
1382 * src/hildon-code-dialog.c: Obtain the secu_application_title
1383 translation from osso-system-lock.
1384 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1385 for translation the atk related strings, that's not necessary.
1386 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1387 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1388 cancel button, it is not required.
1390 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1392 * src/hildon-pannable-area.c,
1393 (hildon_pannable_area_class_init): Modified the default value of
1394 the overshooting max speed, we have reduced it.
1396 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1398 * doc/hildon-sections.txt
1399 * src/hildon-window-private.h
1400 * src/hildon-window.h
1401 * src/hildon-window.c (hildon_window_class_init)
1402 (hildon_window_init, hildon_window_finalize)
1403 (hildon_window_realize, hildon_window_get_property)
1404 (hildon_window_set_property, hildon_window_update_markup)
1405 (hildon_window_get_markup, hildon_window_set_markup):
1406 New "markup" property and hildon_window_{get,set}_markup() methods.
1408 * examples/hildon-stackable-window-example.c (new_window):
1409 Update example to use hildon_window_set_markup()
1411 Fixes: NB#106375 (Need API to retitle a window with a title
1414 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1416 * src/hildon-pannable-area.c,
1417 (hildon_pannable_area_class_init): Changed the default value of
1418 the initial_hint to TRUE.
1419 (hildon_pannable_area_initial_effect): Changed the initial effect,
1420 not the effect is just the fade-out of the scrollbars.
1422 Fixes: NB#107775 (No scrollbars can be seen when several items are
1423 available in a dialog)
1425 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1427 * src/hildon-program.c (hildon_program_update_top_most):
1430 Fixes: NB#109179 (Memory leak in Hildon program)
1432 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1434 * src/hildon-banner.c (-get_current_app_window):
1435 Remove unused function.
1437 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1439 * src/hildon-pannable-area.c: Modified the documentation of the
1440 get adjustments functions to explain the problem of using the
1441 adjustment directly.
1442 (hildon_pannable_area_class_init): Improved the explanation about
1445 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1447 * src/hildon-app-menu-private.h
1448 * src/hildon-app-menu.c
1449 (hildon_app_menu_class_init):
1450 Bring back the 'external-border' style property
1451 (hildon_app_menu_class_init, hildon_app_menu_init)
1452 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1453 Set a fixed width-request for the menu, independent of the number
1456 Fixes: NB#94957 (Smoothly opened application menu)
1458 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1460 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1462 * src/hildon-banner.c
1463 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1465 Make sure that the banner is correctly placed the first time it's
1467 (hildon_banner_check_position, -check_fullscreen_state):
1468 Show the banner in the same place no matter if the window is in
1469 fullscreen mode or not.
1471 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1473 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1475 * src/hildon-touch-selector.c (_default_print_func): reorder
1476 concatenation for clarity.
1478 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1480 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1481 for multicolumn selectors.
1483 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1485 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1490 * configure.ac: Bump version.
1491 * debian/changelog: Updates.
1493 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1495 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1498 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1500 * configure.ac: removed libcangerra-gtk dependency
1501 * debian/control: removed libcanberra-gtk dependency
1502 * src/Makefile.am: removed libcanberra gtk related flags
1503 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1504 context, and manage a global canberra context instead
1506 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1508 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1510 Patch by Daniel Borgmann (danielb@openismus.com)
1512 * src/hildon-edit-toolbar.c:
1513 Adjust the left padding.
1514 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1515 Paint background of the edit toolbar.
1517 Fixes: NB#107897 (Patch to make editmodetoolbar background
1518 themeable and adjust margin)
1520 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1522 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1524 * src/hildon-program.c (hildon_program_update_top_most):
1525 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1527 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1528 change when the user tasks in/out of an application)
1530 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1532 * configure.ac: added libcangerra-gtk dependency
1533 * debian/control: added libcanberra-gtk dependency
1534 * src/Makefile.am: added libcanberra gtk related flags
1535 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1538 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1540 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1542 * src/hildon-program.c (hildon_program_remove_window)
1543 (hildon_program_add_window): Add checks for the window
1544 parameter. Don't decrease the window counter if the window is not
1547 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1549 * src/hildon-pannable-area.c,
1550 (hildon_pannable_area_realize): Fixed position of the event_window
1551 in the realize method.
1553 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1555 * src/hildon-app-menu-private.h
1556 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1557 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1558 (hildon_app_menu_key_press, hildon_app_menu_init)
1559 (hildon_app_menu_finalize):
1560 Make sure that all idle functions are removed when the widget is
1563 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1565 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1570 * configure.ac: Bump version.
1571 * debian/changelog: Updates.
1573 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1575 * src/hildon-entry.c
1576 (+hildon_entry_show_placeholder),
1577 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1578 that replace hildon_entry_update_contents().
1579 (hildon_entry_set_text),
1580 (hildon_entry_set_placeholder),
1581 (hildon_entry_focus_in_event),
1582 (hildon_entry_focus_out_event): Determine when it is needed
1583 either to show or hide the placeholder and call the above methods.
1585 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1586 when the placeholder text is already set)
1588 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1590 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1591 simple GdkPixbufAnim using the new icons for the banner.
1592 (hildon_banner_show_animation): Use the above mentioned method to
1593 create the animation widget.
1595 Fixes: NB#103564 (Make hildon animation banner use individual
1596 image files as the animation)
1598 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1600 * src/hildon-pannable-area.c,
1601 (hildon_pannable_leave_notify_event): Check if the child is NULL
1602 to avoid sending the leave.
1604 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1606 * src/hildon-pannable-area.c,
1607 (hildon_pannable_area_class_init),
1608 (hildon_pannable_leave_notify_event): Added a handler of the
1609 leave-notify-signal to consider when no motion notify before
1612 Fixes: NB#107494 (Items stay selected when clicking and moving
1613 away when inside pannable area)
1615 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1620 * configure.ac: Bump version.
1621 * debian/changelog: Updates.
1623 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1625 Patch by Alberto Garcia (agarcia@igalia.com)
1627 * src/hildon-date-button.c,
1628 (hildon_date_button_class_init),
1629 (hildon_date_button_init): Removed the construct property handling
1630 and created a default selector in the init method.
1631 * src/hildon-picker-button.c,
1632 (hildon_picker_button_class_init): Removed the construct flag of the
1635 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1637 * src/hildon-main.c (hildon_init):
1638 Don't allow hildon_init() to be called more than once.
1640 Fixes: NB#106607 (hildon_init should issue error message upon
1643 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1645 * examples/hildon-pannable-area-touch-list-example.c
1646 * examples/hildon-pannagle-area-touch-grid-example.c
1647 * examples/hildon-edit-toolbar-example.c
1648 * examples/hildon-touch-selector-multi-cells-example.c
1649 Removed the call to gtk_rc_parse_string, as it is not required since
1652 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1654 * src/hildon-pannable-area.c,
1655 (hildon_pannable_area_class_init): Modified the default panning
1656 threshold of the widget to 6px.
1658 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1659 than the threshold value ) within the button is not sending the
1662 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1664 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1665 for the treeview in the new column. This way, the touch list will never
1668 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1669 be selected manually for the HW keys to work)
1671 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1673 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1674 comparison instead of using strcmp(). Fixes a compiler warning as well.
1676 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1678 * doc/hildon-docs.sgml: Do not set the library version in the
1679 document title, use the releaseinfo tag for that purpose instead.
1681 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1683 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1684 Do not jump to the first item if the text in the entry is removed.
1686 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1691 * configure.ac: Bump version.
1692 * debian/changelog: Updates.
1694 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1696 * src/hildon-entry.c (hildon_entry_refresh_contents):
1697 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1698 Use "ReversedSecondaryTextColor" for the placeholder text.
1700 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1702 * src/hildon-text-view.c: Fix compilation warning.
1704 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1706 * src/hildon-button.c (hildon_button_class_init): Don't make
1707 "title" and "value" construction properties, to prevent them from
1708 overwriting labels set from derived classes.
1710 * src/hildon-picker-button.c
1711 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1712 (hildon_picker_button_class_init): Make touch-selector a
1713 construction property.
1715 * src/hildon-date-button.c (hildon_date_button_class_init)
1716 (+hildon_date_button_constructed): Add a default date selector if
1719 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1721 * src/hildon-touch-selector.c: Small documentation fixes.
1723 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1725 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1727 * src/hildon-entry.c (hildon_entry_refresh_contents),
1728 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1729 widget name, set the logical color directly instead and a boolean
1730 showing_placeholder instead.
1731 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1732 use the widget name here either.
1734 Fixes: NB#105678 (HildonTextView should use logical colours
1735 instead of setting widget name)
1737 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1739 Patch by Daniel Elster (danielk@openismus.com)
1741 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1742 Add user_data parameter.
1743 (hildon_touch_selector_set_print_func_full): New function akin
1744 hildon_touch_selector_set_print_func() but with support for user
1745 data and a destroy callback.
1746 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1747 to clean up the print function user data.
1748 (hildon_touch_selector_class_init): Install dispose function.
1749 (HildonTouchSelectorPrivate::print_user_data),
1750 (HildonTouchSelectorPrivate::print_destroy_func): New private
1752 (hildon_touch_selector_init): Initialize new private members.
1753 (hildon_touch_selector_get_current_text): Pass along user data
1754 to the print function.
1755 (_default_print_func): Add dummy user_data to parameter list.
1756 * hildon-date-selector.c (_custom_print_func): ditto,
1757 * hildon-time-selector.c (_custom_print_func): ditto,
1758 * hildon-touch-selector-entry.c
1759 (hildon_touch_selector_entry_print_func): ditto.
1761 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1763 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1765 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1767 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1769 * src/hildon-pannable-area.c,
1770 (hildon_pannable_area_init),
1771 (hildon_pannable_area_button_press_cb),
1772 (hildon_pannable_area_motion_notify_cb): We have added code to
1773 handle the leave and enter events when using the motion events.
1775 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1777 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1779 * src/hildon-date-button.c (hildon_date_button_get_date)
1780 (hildon_date_button_set_date): Make sure that the button has a
1783 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1785 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1787 * src/hildon-pannable-area.c,
1788 (hildon_pannable_area_class_init),
1789 (hildon_pannable_area_calculate_velocity): Modify the use of the
1790 force and adapt the value.
1792 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1794 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1795 (hildon_app_menu_class_init): Hide the menu if it receives a
1796 delete-event, but don't destroy it
1798 Fixes: NB#104485 (Not able to address the call when application
1799 menu is opened at background)
1801 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1803 * src/hildon-app-menu.c
1804 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1805 Remove the "external-border" style property, let the menu take its
1806 natural size (or the one set by the window manager)
1807 (hildon_app_menu_repack_items):
1808 Don't reshow the menu, avoid flickers.
1810 Partially fixes NB#94957 (Smoothly opened application menu)
1812 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1817 * configure.ac: Bump version.
1818 * debian/changelog: Updates.
1820 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1822 * src/hildon-pannable-area.c,
1823 (hildon_pannable_area_motion_notify_cb): We control that the
1824 direction error margin is used just in case the movement is
1825 allowed in the other direction.
1827 Fixes: NB#105012 (buttons inside a pannable area not getting
1828 release event when dragging/releasing)
1830 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1832 * src/hildon-pannable-area.c,
1833 (hildon_pannable_area_class_init),
1834 (hildon_pannable_area_get_property),
1835 (hildon_pannable_area_set_property),
1836 (hildon_pannable_area_initial_effect),
1837 (hildon_pannable_axis_scroll),
1838 (hildon_pannable_area_button_release_cb): Reviewed the
1839 overshooting effect, now it has its own max
1840 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1841 speed when bouncing.
1843 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1848 * configure.ac: Bump version.
1849 * debian/changelog: Updates.
1851 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1853 * src/hildon-pannable-area.c,
1854 (hildon_pannable_area_class_init): Changed the max speed, now
1855 users can launch the widget very fast. Reduced the default force,
1856 that way it is easier to control the launch speed.
1858 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1860 * src/hildon-pannable-area.c,
1861 (hildon_pannable_area_button_release_cb): Removed this check
1862 because it causes problems when the device is overloaded.
1864 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1866 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1867 add a current_text field to store the text entered in the
1868 touch selector entry.
1869 (_clean_current_selection): clean up the current text as well.
1870 (_save_current_selection), (_restore_current_selection):
1871 Save/restore the text in the entry if the selector is a
1872 HildonTouchSelectorEntry.
1874 Fixes: NB#102541 (value entered in the touch selector entry is not
1875 shown when opened for second time)
1877 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1879 * doc/hildon-sections.txt:
1880 * src/hildon-touch-selector-entry.c
1881 (+hildon_touch_selector_entry_get_entry):
1882 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1884 Fixes: NB#104815 (I need accessor to the entry inside
1885 HildonTouchSelectorEntry)
1887 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1889 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1890 (hildon_app_menu_class_init):
1891 New "filter-vertical-spacing" style property.
1893 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1895 * src/hildon-find-toolbar.c
1896 (hildon_find_toolbar_emit_close)
1897 (hildon_find_toolbar_emit_invalid_input)
1898 (hildon_find_toolbar_entry_activate):
1899 Use g_signal_emit() instead of g_signal_emit_by_name()
1901 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1903 Patch by Mox Soini (ext-mox.soini@nokia.com)
1905 * tests/TEST-CASES.txt
1906 * tests/check-hildon-banner.c
1907 * tests/check-hildon-note.c
1908 * src/hildon-banner.c
1909 * src/hildon-code-dialog.c
1910 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1911 * src/hildon-time-editor.c
1912 * examples/hildon-lookup-example.c (main):
1913 Replace obsolete icon names with new ones.
1915 * src/hildon-find-toolbar-private.h:
1916 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1917 (-hildon_find_toolbar_emit_search):
1918 Remove find button and change icon of close button.
1920 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1922 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1924 * src/hildon-time-button.c (hildon_time_button_new_step):
1925 Use the "touch-selector" property to set the selector directly
1926 when creating the object.
1928 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1930 Added a new example application that allows tuning the pannable
1931 area and replaced defines with properties in order to simplify the
1932 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1933 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1934 PROP_DIRECTION_ERROR_MARGIN.
1936 * examples/hildon-pannable-area-tuning-example.c: New example
1938 * src/hildon-pannable-area.c,
1939 (hildon_pannable_area_class_init),
1940 (hildon_pannable_area_init),
1941 (hildon_pannable_area_get_property),
1942 (hildon_pannable_area_set_property),
1943 (hildon_pannable_area_launch_fade_timeout),
1944 (hildon_pannable_area_adjust_value_changed),
1945 (hildon_pannable_axis_scroll),
1946 (hildon_pannable_area_motion_notify_cb),
1947 (hildon_pannable_area_scroll_cb),
1948 (hildon_pannable_area_button_release_cb): We have converted some
1949 of the defines that control the widget to properties to simplify
1952 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1954 * src/hildon-app-menu.c (hildon_app_menu_map)
1955 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1956 so it's closed if a new window appears.
1958 Fixes: NB#104485 (Not able to address the call when application
1959 menu is opened at background)
1961 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1963 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1964 missing 'break' statement in in 'case' construct to avoid
1967 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1969 * src/hildon-touch-selector-entry.c
1970 (hildon_touch_selector_entry_get_property),
1971 (hildon_touch_selector_entry_set_property): Add missing 'break'
1972 statements in in 'case' constructs to avoid incorrect warnings.
1974 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1976 * src/hildon-time-editor.c
1977 (hildon_time_editor_get_time_separators): Do not crash if
1978 the first label is NULL.
1980 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1982 * src/hildon-date-selector.c (_month_days): Check for month to be
1983 strictly less than 12, since otherwise we may overrun the array.
1985 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1987 * src/hildon-date-button.c (+hildon_date_button_new_full)
1988 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1989 (hildon_date_button_init): Set the date selector using a
1990 construction property, to make it happen after HildonButton's
1991 "value" property is set.
1993 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1994 current date by default)
1996 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1998 * doc/hildon-sections.txt
1999 * src/hildon-program.c
2000 * src/hildon-stackable-window.c
2001 * src/hildon-window.c:
2002 Documentation updates
2004 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2006 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2007 (hildon_window_stack_new, +hildon_window_stack_set_property)
2008 (+hildon_window_stack_get_property)
2009 (hildon_window_stack_class_init)
2010 (+hildon_window_stack_set_window_group)
2011 (+hildon_window_stack_get_window_group):
2012 Make the window group a construction property.
2014 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2016 * doc/hildon-sections.txt
2017 * src/hildon-stackable-window-private.h
2018 * src/hildon-stackable-window.h
2019 * src/hildon-stackable-window.c
2020 (-hildon_stackable_window_set_app_menu)
2021 (-hildon_stackable_window_get_app_menu)
2022 (-hildon_stackable_window_toggle_menu)
2023 (-hildon_stackable_window_finalize)
2024 (hildon_stackable_window_class_init)
2025 (hildon_stackable_window_init)
2026 * src/hildon-window-private.h
2027 * src/hildon-window.h
2028 * src/hildon-window.c (hildon_window_init)
2029 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2030 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2031 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2032 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2033 Moved all HildonAppMenu code to HildonWindow. The menu does not
2034 require a HildonStackableWindow anymore.
2036 * src/hildon-app-menu.c
2037 * src/hildon-program.c
2038 * examples/hildon-app-menu-example.c (main):
2039 Update examples and documentation to reflect HildonAppMenu
2042 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2044 * src/hildon-remote-texture.c
2045 * src/hildon-animation-actor.c:
2046 Don't include unused private headers.
2048 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2050 * src/hildon-program-private.h
2051 * src/hildon-program.c
2052 (hildon_program_set_common_menu)
2053 (hildon_program_get_common_menu)
2054 (hildon_program_set_common_app_menu)
2055 (hildon_program_get_common_app_menu):
2056 Change common menu pointers from GtkWidget* to GtkMenu* and
2057 HildonAppMenu* to avoid unnecessary casts.
2059 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2061 * src/hildon-window.c (hildon_window_set_main_menu):
2062 Removed incorrect 'Since:' tag
2064 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2066 * src/hildon-pannable-area.c,
2067 (hildon_pannable_area_calculate_velocity): We use now the
2068 RATIO_TOLERANCE here to check the distance, fixed typo in the
2070 (hildon_pannable_area_motion_notify_cb): We have to set the type
2071 and time even if we are not sending the motion.
2073 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2075 * doc/hildon-sections.txt
2076 * src/hildon-app-menu.h
2077 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2078 (+hildon_app_menu_get_filters): New methods to get the contents of
2081 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2084 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2086 * src/hildon-app-menu.c (hildon_app_menu_popup):
2089 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2091 * src/hildon-window.h
2092 * src/hildon-window.c (+hildon_window_get_main_menu)
2093 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2094 and deprecated hildon_window_get_menu().
2096 * src/hildon-stackable-window.h
2097 * src/hildon-stackable-window.c
2098 (+hildon_stackable_window_set_app_menu)
2099 (+hildon_stackable_window_get_app_menu)
2100 (hildon_stackable_window_set_main_menu): Created
2101 hildon_stackable_window_{get,set}_app_menu() and deprecated
2102 hildon_stackable_window_set_main_menu().
2104 * doc/hildon-sections.txt
2105 * examples/hildon-app-menu-example.c (main)
2106 * src/hildon-app-menu.c
2107 * src/hildon-program.c:
2108 Updated examples and documentation.
2110 Fixes: NB#103758 (No way to obtain a menu from a
2111 HildonStackableWindow)
2113 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2118 * configure.ac: Bump version.
2119 * debian/changelog: Updates.
2121 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2123 * examples/hildon-remote-texture-example.c: Include
2124 hildon-remote-texture.h explicitely.
2125 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2126 applications not defining _XOPEN_SOURCE which don't require this header.
2128 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2130 * doc/hildon-sections.txt
2131 * src/hildon-app-menu.h
2132 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2133 New function to pop up a HildonAppMenu
2135 * src/hildon-stackable-window.c
2136 (hildon_stackable_window_toggle_menu):
2137 Use hildon_app_menu_popup() to show the menu.
2139 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2141 * src/hildon-app-menu.c (hildon_app_menu_show)
2142 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2143 menu if there's another window between it and its parent window.
2145 Fixes: NB#100468 (Application menu window is launched even when a
2146 new secondary-window/dialog is pending to be shown/realized)
2148 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2150 * src/hildon-window-stack.c (hildon_window_stack_push)
2151 (hildon_window_stack_pop_and_push):
2152 Don't forget to push/pop the first window.
2153 Reverse the window list before calling _push_list()
2155 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2157 * src/hildon-picker-button.h
2158 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2159 Remove "value_changed" slot to avoid ABI breakage
2161 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2163 * src/hildon-pannable-area.c,
2164 (hildon_pannable_area_realize),
2165 (hildon_pannable_area_unrealize),
2166 (hildon_pannable_draw_vscroll),
2167 (hildon_pannable_draw_hscroll): Changed the method to handle the
2168 GC used to draw the transparent scrollbar, this way we avoid
2169 creating the GC all the time when drawing the scrollbars.
2171 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2173 * src/hildon-pannable-area.c,
2174 (hildon_pannable_area_init),
2175 (hildon_pannable_area_remove): Removed some unnecessary casts.
2176 (hildon_pannable_area_dispose): Disconnected some signals before
2177 releasing the adjustments.
2179 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2181 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2182 Make sure that all widgets contained in the toolbar are shown.
2184 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2186 * doc/hildon-sections.txt
2187 * src/hildon-picker-button.h
2188 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2189 (_selection_changed, hildon_picker_button_on_dialog_response)
2190 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2191 New hildon_picker_button_value_changed() method.
2194 * src/hildon-picker-button-private.h
2195 * src/hildon-picker-button.c (hildon_picker_button_init)
2196 (+hildon_picker_button_disable_value_changed): Add protected
2197 function for disabling the "value-changed" signal.
2199 * src/hildon-date-button.c (hildon_date_button_set_date):
2200 Don't emit "value-changed" for each one of the three columns.
2202 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2203 before actual change of values)
2205 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2207 * src/hildon-pannable-area.c,
2208 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2209 for the treeview overshooting.
2211 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2213 * src/hildon-banner.c (+hildon_banner_bind_style):
2214 Renamed from hildon_banner_bind_label_style(), now naming the
2215 banner itself as well.
2216 (hildon_banner_show_information),
2217 (hildon_banner_show_information_with_markup),
2218 (hildon_banner_show_animation), (hildon_banner_show_progress):
2219 Name the widgets and labels, based on their type.
2221 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2224 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2226 * src/hildon-note.c (hildon_note_set_property): call
2227 hildon_note_rename() on HildonNote:note-type set.
2228 (hildon_note_rename): Name the note and its label, based on the
2229 HildonNote:note-type property.
2231 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2234 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2236 * src/hildon-pannable-area.c,
2237 (hildon_pannable_area_class_init),
2238 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2239 panning parameters, increased SPS and deceleration factor. Added
2240 also a margin to control fake directions.
2242 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2244 Patch by Sven Herzberg (sven@imendio.com)
2246 * configure.ac: Add missing AM_PROG_CC_C_0
2247 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2249 See NB#101420 (Update unit tests and fix make check)
2251 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2253 This patch was applied before but reverted because it caused
2254 problems, we have changed the main condition and tested the
2255 regressions we detected before and they work ok. We have done a
2256 complete review of the topmost algorithm in order to get a more
2259 * src/hildon-pannable-area.c,
2260 (hildon_pannable_area_get_topmost): Added a new parameter to
2261 filter the the windows that do not include those events.
2262 (hildon_pannable_area_button_press_cb),
2263 (hildon_pannable_area_button_release_cb),
2264 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2265 topmost function, we have added the new parameter.
2267 Fixes: NB#97458 (Pannable area prevents propagation of button
2270 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2272 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2273 if all columns in the selector have an item selected.
2274 (_on_dialog_response): Stop "response" signal emission if there is
2275 any selector column without selected items.
2277 Fixes: NB#101889 (Picker dialog should not close when nothing is
2278 selected in multiple selection list)
2280 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2282 * src/hildon-font-selection-dialog.c
2283 (hildon_font_selection_dialog_class_init),
2284 (hildon_font_selection_dialog_init): Remove the preview
2285 button and dialog, since previewing with default theming is likely
2286 to be overcomplicated. The :preview property has now no effect.
2287 Update documentation blurbs to inform about this.
2289 Fixes: NB#92297 (Preview content is not clearly visible for
2290 default colour text)
2292 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2294 Reviewed the geometry that handles the children size and
2295 scrollbar, now it tries a size and reviews the results depending
2296 on the scrollbars visibility.
2298 * src/hildon-pannable-area.c,
2299 (hildon_pannable_area_realize): Fixed a typo.
2300 (hildon_pannable_area_child_allocate_calculate): Added this
2301 function to calculate the child allocation.
2302 (hildon_pannable_area_size_allocate): Reviewed the allocation
2304 (hildon_pannable_area_check_scrollbars),
2305 (hildon_pannable_area_refresh): Refactored refresh function, this
2306 way we can call the code handling the scrollbars without causing a
2307 size_request, it is interesting in the allocate.
2308 (hildon_pannable_area_init): Replace the callbacks of the
2309 value_changed and changed signals to propertly deal with the
2311 (hildon_pannable_area_grab_notify),
2312 (hildon_pannable_area_initial_effect),
2313 (hildon_pannable_area_launch_fade_timeout),
2314 (hildon_pannable_area_adjust_changed),
2315 (hildon_pannable_area_adjust_value_changed),
2316 (hildon_pannable_area_redraw),
2317 (hildon_pannable_area_button_press_cb),
2318 (hildon_pannable_area_button_release_cb),
2319 (hildon_pannable_area_scroll_cb),
2320 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2321 code and use the new functions adjust_changed and
2322 adjust_value_changed.
2324 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2325 Contact editor dialog)
2327 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2332 * configure.ac: Bump version.
2333 * debian/changelog: Updates.
2335 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2337 * src/hildon-pannable-area.c,
2338 (hildon_pannable_area_get_topmost),
2339 (hildon_pannable_area_button_press_cb),
2340 (hildon_pannable_area_button_release_cb),
2341 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2342 topmost function adding the event mask. We have to try a
2343 differente approach because it is still causing problems (NB#9745,
2346 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2348 * src/hildon-banner.c:
2349 Update the maximum width of timed banners.
2350 (force_to_wrap_truncated): Enforce the maximum text width if the
2353 Fixes: NB#102413 (The text margins (wrapping) in information
2354 banner should be HILDON_MARGIN_TRIPLE)
2356 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2358 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2360 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2361 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2362 bound when calculating the scroll indicator position.
2364 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2365 treat ->lower correctly)
2367 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2369 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2370 expose event handling, since it is not necessary to draw the focus
2373 Fixes: NB#102467 (Do not show highlight on the text in
2376 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2378 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2379 full height of the toolbar for the button and the label.
2381 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2383 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2384 padding before the label and after the button.
2386 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2388 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2390 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2391 Add a GtkVSeparator between the button and the back arrow.
2392 Let the button have automatic size.
2393 Set a name to the widget for theming handling.
2395 Fixes: NB#101793 (Make edit toolbar the same height as window
2396 title bar (use title area theming))
2398 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2400 * src/hildon-helper.c (attach_new_color_element): Fix memory
2403 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2405 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2407 * examples/hildon-button-example.c (common_buttons_window): Don't
2410 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2412 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2413 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2415 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2417 * src/hildon-gtk.c: Check that the window is realized.
2419 Fixes: NB#102225 (Crash setting the progress indicator to a non
2422 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2424 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2425 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2426 instead of modifying the one in the widget style.
2428 Fixes: NB#101043 (Second row of all the command button are
2429 displayed in transparent mode.)
2431 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2433 * src/hildon-date-button.c
2434 * src/hildon-time-button.c: Add gettext macros
2436 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2438 * src/hildon-date-button.c (hildon_date_button_new):
2439 * src/hildon-time-button.c (hildon_time_button_new_step):
2440 Use new logical strings to set the button default title.
2442 Fixes: NB#99915 (Date and Time options are not localised in Date
2445 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2447 * src/hildon-pannable-area.c
2448 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2449 the PANNING_THRESHOLD.
2451 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2453 * src/hildon-pannable-area.c,
2454 (hildon_pannable_area_class_init): Increased the maximum speed.
2455 (hildon_pannable_area_get_property),
2456 (hildon_pannable_area_set_property),
2457 (hildon_pannable_area_timeout): Added a new low friction mode, it
2458 allows the user avoid friction when launching the widget fast
2459 enough. It is interesting to traverse long lists.
2461 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2463 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2464 (+hildon_stackable_window_delete_event): Ignore delete events if
2465 the window is not the topmost one.
2467 Fixes: NB#101698 (Back button long press and delete-event handling)
2469 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2471 * src/hildon-pannable-area.c,
2472 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2473 gtk-dnd-drag-threshold, it was too big. We have defined our own
2474 dnd define and set a smaller value: PANNIG_THRESHOLD.
2476 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2478 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2479 user-defined icons, use always the default one.
2481 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2483 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2485 This patch was applied before but reverted because it caused
2486 problems, we have changed the main condition and tested the
2487 regressions we detected before and they work ok.
2489 * src/hildon-pannable-area.c,
2490 (hildon_pannable_area_get_topmost): Added a new parameter to
2491 filter the the windows that do not include those events. Added
2492 also a condition when finding the window to filter windows that do
2493 not ask for those events.
2494 (hildon_pannable_area_button_press_cb),
2495 (hildon_pannable_area_button_release_cb),
2496 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2497 topmost function, we have added the new parameter.
2499 Fixes: NB#97458 (Pannable area prevents propagation of button
2502 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2504 * tests/check-hildon-color-button.c (START_TEST): do not leak
2507 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2509 * src/hildon-font-selection-dialog.c
2510 (hildon_font_selection_dialog_get_preview_text): Return NULL
2511 instead of FALSE on the g_return_val_if_fail().
2513 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2515 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2516 * src/hildon-date-selector.c
2517 (hildon_date_selector_select_current_date):
2518 Do not compare unsigned integers to be greater than or equal 0,
2519 because it's always TRUE.
2521 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2523 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2524 (hildon_date_selector_constructor): Do not select the current
2525 date until we are handle the "changed" signal, to avoid having bogus
2526 elements in the days model.
2528 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2530 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2531 for num_days, since _month_days() can return a negative value.
2533 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2535 * src/hildon-caption.c (hildon_caption_size_allocate):
2536 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2537 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2539 Initialize allocation variables to 0, to avoid eventually using
2540 unitialized variables.
2542 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2544 * src/hildon-bread-crumb-trail.c
2545 (hildon_bread_crumb_trail_size_allocate):
2546 * src/hildon-calendar.c (hildon_calendar_set_background):
2547 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2548 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2549 * src/hildon-seekbar.c (hildon_seekbar_init):
2550 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2551 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2552 * src/hildon-touch-selector-entry.c
2553 (hildon_touch_selector_get_text_from_model):
2554 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2555 * src/hildon-window.c (hildon_window_finalize):
2557 Remove many unused variables.
2559 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2561 * src/hildon-seekbar.c: (hildon_seekbar_init),
2562 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2564 Remove unnecessary g_assert() calls.
2566 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2568 * src/hildon-caption.c: (hildon_caption_expose),
2569 (hildon_caption_set_property), (hildon_caption_init),
2570 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2571 (hildon_caption_size_request), (hildon_caption_size_allocate),
2572 (hildon_caption_forall), (hildon_caption_set_separator),
2573 (hildon_caption_activate), (hildon_caption_set_child_expand),
2574 (hildon_caption_set_label_text),
2575 (hildon_caption_get_label_alignment):
2577 Remove unnecessary g_assert() calls.
2579 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2581 * src/hildon-banner.c
2582 (hildon_banner_map, hildon_banner_init): Make banner temporary
2583 before mapping it to avoid closing other temporary windows, but
2584 make it non-temporary afterwards to avoid being closed by other
2585 non-temporary windows.
2586 (-hildon_banner_client_event, hildon_banner_init):
2587 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2589 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2592 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2594 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2597 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2599 * src/hildon-remote-texture.c
2600 * src/hildon-remote-texture.h
2601 * src/hildon-remote-texture-private.h
2602 * examples/hildon-remote-texture-example.c:
2603 Updates/fixes to remote-texture and its example.
2605 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2607 Patch by Mox Soini (ext-mox.soini@nokia.com)
2609 * src/hildon-code-dialog.c: Update logical id.
2610 * src/hildon-set-password-dialog.c: Update logical id.
2612 Fixes: NB#100646 (Logical strings is shown for ok in set
2613 password,Password needed dialogs)
2615 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2618 * src/hildon-remote-texture.c
2619 * src/hildon-remote-texture.h
2620 * src/hildon-remote-texture-private.h
2622 Added remote texture widget (for Clutter shared memory textures)
2624 * examples/hildon-remote-texture-example.c
2625 * examples/Makefile.am
2626 Added example file for remote texture usage
2628 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2630 * configure.ac: post release version bump.
2631 * debian/changelog: version bump.
2633 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2638 * configure.ac: Bump version.
2639 * debian/changelog: Updates.
2641 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2643 * src/hildon-date-selector.c (hildon_date_selector_init)
2644 (hildon_date_selector_constructor): Don't connect to the "changed"
2645 signal until the selector is completely constructed.
2647 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2649 * src/hildon-touch-selector.c: (_create_new_column),
2650 (hildon_touch_selector_append_column),
2651 (hildon_touch_selector_set_column_selection_mode),
2652 (hildon_touch_selector_set_active),
2653 (hildon_touch_selector_select_iter):
2654 Emit the HildonTouchSelector::changed signal every time selection
2655 is changed in any of the methods above. This behavior was already
2656 documented but not fully functional.
2658 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2659 selection is programmatically changed)
2661 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2663 * doc/hildon-sections.txt: Remove obsolete icon
2664 sizes from here as well.
2666 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2668 * examples/hildon-stackable-window-example.c (add_window): Remove
2671 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2673 * src/hildon-app-menu.c
2674 (hildon_app_menu_show): Check whether the parent window of a menu
2675 is topmost before popping it up.
2677 Fixes: NB#100468 (Application menu window is launched even when a
2678 new secondary-window/dialog is pending to be shown/realized.)
2680 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2682 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2685 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2687 Patch by Mox Soini (ext-mox.soini@nokia.com)
2689 * src/hildon-banner.c: (hildon_banner_show_animation):
2690 use stylus size instead of obsolete note size.
2691 * src/hildon-defines.h: Update icon sizes.
2693 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2695 * src/hildon-touch-selector-entry.c:
2696 (hildon_touch_selector_entry_init): Disable unsupported
2698 (hildon_touch_selector_entry_get_text_column): Emit a warning
2699 if an unsupported input modes is used and explicitile state
2700 these modes in the documentation.
2702 Fixes: NB#99802 (Hildon touch selector entry not working properly
2703 for some of the input modes)
2705 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2707 * src/hildon-pannable-area.c,
2708 (hildon_pannable_area_init): Added the changed signal handlers of
2711 Fixes: NB#100320 (HildonPannableArea does not listen to
2712 GtkAdjustment "change" signals)
2714 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2716 * doc/hildon-sections.txt
2717 * src/hildon-window-private.h
2718 * src/hildon-window.h
2719 * src/hildon-window.c (hildon_window_init)
2720 (hildon_window_realize, hildon_window_unrealize)
2721 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2722 (hildon_window_size_request, hildon_window_size_allocate)
2723 (hildon_window_forall, hildon_window_show_all)
2724 (hildon_window_destroy, +paint_edit_toolbar)
2725 (+hildon_window_set_edit_toolbar):
2726 New hildon_window_set_edit_toolbar() method, to add a
2727 HildonEditToolbar to a window without having to pack it manually.
2729 Reorganize hildon_window_size_allocate()
2731 * src/hildon-edit-toolbar.c: Update documentation.
2733 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2734 example to use the new API.
2736 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2738 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2740 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2741 Remove from stack before calling parent's hide.
2743 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2745 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2746 window is removed from the middle of the stack, update the
2747 transiency of the previous one.
2749 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2752 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2754 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2755 block/unblock the signal handler if it's not actually being used.
2756 Fixes some critical warnings.
2758 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2760 Based on a patch by Iván Gómez (igomez@igalia.com)
2762 * src/hildon-banner.c
2766 * src/hildon-pannable-area.c
2767 * src/hildon-picker-dialog.c
2768 * src/hildon-wizard-dialog.h
2769 * src/hildon-wizard-dialog.c: Documentation updates.
2771 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2772 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2774 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2776 * configure.ac: post release version bump.
2777 * debian/changelog: version bump.
2779 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2784 * configure.ac: Bump version.
2785 * debian/changelog: Updates.
2787 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2789 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2790 a stock icon nor change the relief of the back arrow.
2792 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2793 graphics from theme)
2795 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2797 * src/hildon-button.c (hildon_button_set_alignment): Use
2798 priv->alignment if the button has no child yet.
2800 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2802 * src/hildon-button.c: (hildon_button_init): Set the
2803 button style during initialization to give it the proper
2806 Fixes: NB#99713 (HildonButton value label color is wrong)
2808 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2810 * src/hildon-touch-selector.c: Document
2811 hildon_touch_selector_center_on_selected()
2813 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2815 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2816 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2817 all menu items, but not the menu itself.
2818 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2819 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2820 items after adding them to the menu so keyboard accelerators work.
2821 (hildon_app_menu_show): Don't show the menu if it contains items
2822 but none of them are visible.
2824 * examples/hildon-app-menu-example.c (create_menu): Use
2825 gtk_widget_show_all() to show all menu items.
2827 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2829 * src/hildon-picker-dialog.c:
2830 (-_update_title_on_selector_changed_cb),
2831 (-_dialog_update_title): Removed.
2832 (_select_on_selector_changed_cb), (_on_dialog_response),
2833 (on_selector_columns_changed): Do not update the dialog title.
2834 (setup_interaction_mode): Do not connect to
2835 HildonTouchSelector::changed signal if there's a "done" button, as
2836 the dialog title doesn't need to be updated.
2838 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2841 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2843 Patch by Kristian Rietveld (kris@imendio.com)
2845 * src/hildon-touch-selector.c: (_create_new_column): Use new
2846 GtkTreeView::hildon-row-tapped signal to react to user interactions
2847 instead of ::changed.
2849 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2850 with some dynamic tree model)
2852 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2854 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2855 (+screen_size_changed, +label_size_request)
2856 (hildon_note_class_init): Make the Hildon information note have a
2857 minimum height, and make its text hvae a maximum width.
2859 Fixes: NB#98614 (Hildon information note (background) should have
2860 minimum height and maximum text width)
2862 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2864 * src/hildon-banner.h
2865 * src/hildon-banner.c (hildon_banner_show_information)
2866 (hildon_banner_show_informationf)
2867 (hildon_banner_show_information_with_markup): Update documentation
2868 to reflect that the icon_name parameter is not used anymore.
2869 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2870 Remove all code from these functions and mark them as deprecated.
2871 (hildon_banner_show_progress): Mark as deprecated.
2873 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2875 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2877 * src/hildon-pannable-area.c,
2878 (hildon_pannable_area_class_init),
2879 (tranparency_color),
2880 (hildon_pannable_draw_vscroll),
2881 (hildon_pannable_draw_hscroll),
2882 (hildon_pannable_area_expose_event): Added a new way to render the
2883 scrollbars of the pannable area avoiding using cairo at all. This
2884 way we improve the performance of the pannable area rendering. The
2885 cairo rendering procedure is still in the code, we can control
2886 which one to use changing the value of the define
2887 USE_CAIRO_SCROLLBARS.
2889 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2891 * configure.ac: post release version bump.
2892 * debian/changelog: version bump.
2894 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2899 * configure.ac: Bump version.
2900 * debian/changelog: Updates.
2902 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2904 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2905 banners instead of destroying them when they receive a button
2908 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2910 Reverted commit 34028, it was causing regressions, probably the
2911 topmost condition is not correct, we have to check it in more
2912 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2913 propagation of button press events)
2915 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2917 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2918 that the selection is not empty before attempting to retrieve the
2919 current ampm selection.
2921 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2923 * src/hildon-picker-button.c:
2924 (hildon_picker_button_on_dialog_response): Directly update the
2925 button contents when required instead of calling _selection_changed.
2927 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2929 * src/hildon-program.c (hildon_program_update_top_most): Update
2930 'is-topmost' property also when wm_hints is not set.
2932 Fixes: NB#98383 (is-topmost signal is not emitted when task
2933 switcher is clicked.)
2935 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2937 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2941 * src/hildon-animation-actor.c,
2942 * src/hildon-animation-actor.h: Added the animation actor class,
2943 this widget represents an animation actor for WM-assisted
2944 animation effects in the Hildon framework.
2946 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2948 * src/hildon-window-stack-private.h
2949 * src/hildon-window-stack.c
2950 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2951 Avoid calling gtk_widget_show() again indirectly from
2952 hildon_stackable_window_show()
2954 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2956 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2959 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2961 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2962 (hildon_time_selector_init): Move the construction of the hours and
2963 ampm columns to the constructor to preserve the order the columns
2966 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2968 * src/hildon-picker-dialog.c:
2969 (hildon_picker_dialog_class_init): Connect a realize method.
2970 (+hildon_picker_dialog_realize): Setup the interaction mode here
2972 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2973 yet, do it during the realize instead.
2974 (_on_dialog_response):
2975 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2976 if the widget is not realized, to avoid the dialog response before it
2979 Avoid premature responses in the HildonPickerDialog that can cause it
2980 to be hidden before it's even shown.
2982 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2984 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2985 (on_selector_columns_changed), (requires_done_button),
2986 (+prepare_action_area), (setup_interaction_mode),
2987 (_hildon_picker_dialog_set_selector):
2989 Split the interaction mode setup into preparation of the
2990 action area (prepare_action_area()) and the connection of
2991 the signals in setup_interaction_mode() and update the code to
2994 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2996 * src/hildon-pannable-area.c,
2997 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2998 per second to 15, we will check if this is ok regarding
3001 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3003 * src/hildon-pannable-area.c,
3004 (hildon_pannable_axis_scroll): Avoid resize if we already have
3005 reached overshoot_max.
3007 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3009 * src/hildon-pannable-area.c,
3010 (hildon_pannable_area_init),
3011 (hildon_pannable_area_realize),
3012 (hildon_pannable_area_size_allocate),
3013 (hildon_pannable_area_map),
3014 (hildon_pannable_area_unmap),
3015 (hildon_pannable_draw_vscroll),
3016 (hildon_pannable_draw_hscroll),
3017 (hildon_pannable_area_expose_event),
3018 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3019 pannable are to avoid the expose events go to the window and
3020 redraw the window. We save this way that part of the stack and the
3021 paint_boxes. We had to change the positions of the elements when
3024 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3026 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3027 * src/hildon-color-chooser-dialog.c:
3028 (hildon_color_chooser_dialog_init):
3029 * src/hildon-font-selection-dialog.c:
3030 (hildon_font_selection_dialog_init),
3031 (hildon_font_selection_dialog_show_preview):
3032 * src/hildon-get-password-dialog.c:
3033 * src/hildon-login-dialog.c:
3034 * src/hildon-set-password-dialog.c:
3035 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3036 * src/hildon-time-picker.c: (hildon_time_picker_init):
3038 Remove obsolete logical string IDs and update to the appropriate ones.
3040 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3042 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3044 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3045 that happens if the window hasn't been realized yet.
3047 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3048 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3050 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3052 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3053 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3056 Fixes: NB#98537 (Device hangs in account settings dialog)
3058 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3060 * configure.ac: post release version bump.
3061 * debian/changelog: version bump
3063 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3068 * configure.ac: Bump version.
3069 * debian/changelog: Updates.
3071 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3073 Added a new function to the HildonTimeButton widget that allows to
3074 change the step of the minutes in the selector associated with the
3075 button: hildon_time_button_new_step
3077 * src/hildon-time-button.c,
3078 (hildon_time_button_init),
3079 (hildon_time_button_new),
3080 (hildon_time_button_new_step):
3081 * src/hildon-time-button.h: Added the new function and refactored
3083 * examples/hildon-time-button-example.c,
3084 (main): We have replaced the function without parameters with the
3085 function with the steps set to 5
3087 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3089 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3091 * src/hildon-time-selector.c,
3092 (hildon_time_selector_class_init),
3093 (hildon_time_selector_constructor),
3094 (hildon_time_selector_get_property),
3095 (hildon_time_selector_set_property),
3096 (_create_minutes_model),
3097 (hildon_time_selector_new_step),
3098 (hildon_time_selector_set_time),
3099 * src/hildon-time-selector.h: Added a new property to the
3100 HildonTimeSelector (minutes-step), we use that property to control
3101 the steps between the minutes in the list of the selector. We have
3102 added a new function to the API to create a widget changing the
3103 step: hildon_time_selector_new_step.
3105 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3107 * src/hildon-time-selector.c,
3108 (hildon_time_selector_class_init),
3109 (hildon_time_selector_constructor),
3110 (hildon_time_selector_init): Overrided the construct function when
3111 creating the time selector object. We have moved the minutes model
3112 handling code from the init to the new construction function:
3113 hildon_time_selector_constructor.
3115 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3117 * examples/hildon-date-button-example.c: (main): Use the new
3118 hildon_date_button_new_with_year_range() method in the example.
3119 * src/hildon-date-button.c:
3120 (+hildon_date_button_new_with_year_range): New public method
3121 to conveniently create a HildonDateButton with a custom year range
3122 in its HildonDateSelector.
3123 * src/hildon-date-button.h: Add the new public method definition.
3125 Fixes: NB#97908 (Not possible to change the year range in
3126 HildonDateSelector/HildonDateButton)
3128 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3130 * src/hildon-date-selector.c:
3131 (+hildon_date_selector_set_property),
3132 (+hildon_date_selector_get_property),
3133 (hildon_date_selector_class_init): Install new properties "min-year"
3134 and "max-year" to define boundaries for the year column.
3135 (_create_year_model): Use the boundary properties to populate the model.
3136 (+hildon_date_selector_new_with_year_range): New public method to
3137 create a HildonDateSelector with a user defined year range.
3138 (hildon_date_selector_select_current_date): Use the new boundaries to
3139 calculate the iterator of current year.
3140 * src/hildon-date-selector.h: Add the new public method definition.
3142 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3144 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3145 Install a constructor method.
3146 (+hildon_date_selector_construct_ui): construct the widget.
3147 (+hildon_date_selector_constructor): new constructor.
3148 (+hildon_date_selector_init): move out widget construction code to
3149 the new constructor.
3151 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3153 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3154 that there's actually a month or year selected before obtaining them.
3155 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3156 of the HildonTouchSelector::changed signal, as it was emitted on every
3157 single item selection.
3159 Fix some warnings and possible crashers due to the selection restoring.
3161 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3163 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3164 the signal handlers only after creating the dialog instead of on every
3167 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3169 * src/hildon-button.c (hildon_button_init)
3170 * src/hildon-check-button.c (hildon_check_button_init)
3171 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3172 focus when clicked by default.
3174 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3176 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3179 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3181 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3182 Alejandro G. Castro (alex@igalia.com)
3184 * src/hildon-picker-dialog.c:
3185 (hildon_picker_dialog_class_init): install new "center-on-show"
3187 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3188 (hildon_picker_dialog_set_property): add setter code for the new
3190 (hildon_picker_dialog_get_property): add getter code for the new
3192 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3193 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3196 Fixes: NB#92849 (Selected item is not always visible when
3197 HildonTouchSelector is shown)
3199 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3201 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3202 Alejandro G. Castro (alex@igalia.com)
3204 * src/hildon-touch-selector.c:
3205 (_create_new_column): Do not connect to the "realize" signal of the
3207 (hildon_touch_selector_append_column): center on the selected items
3208 when a new column is appended.
3209 (hildon_touch_selector_select_iter): Factor out the code to select a
3210 column to hildon_touch_selector_scroll_to().
3211 (+search_nearest_element): Method to retrieve the nearest selected
3212 element to the visible area of the pannable area in a column.
3213 (+on_realize_cb): scroll to the initially selected item.
3214 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3215 the pannable area is realized, otherwise delay this until it is.
3216 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3217 selected items of a given column.
3218 (+hildon_touch_selector_center_on_selected): Public method to center
3219 all columns on the nearest selected item.
3220 * src/hildon-touch-selector.h: Add definition for
3221 hildon_touch_selector_center_on_selected().
3223 Implement public API to ensure visibility of all selected items in
3224 a HildonTouchSelector.
3226 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3228 Fixed a problem in the fading when calling the scroll_to API, and
3229 improve scrollbar fading handling.
3231 * src/hildon-pannable-area.c,
3232 (hildon_pannable_area_grab_notify): avoid the timeout when the
3234 (hildon_pannable_area_button_press_cb),
3235 (hildon_pannable_area_motion_notify_cb): Code style changes.
3236 (hildon_pannable_area_button_release_cb): Review the conditions
3237 when releasing the mouse button to avoid unrequired fading
3239 (hildon_pannable_area_scroll_to): Do not calculate and set the
3240 velocity if the scroll is not required.
3242 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3244 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3245 Don't check whether the new selector is NULL: it cannot be.
3246 Hold a reference to the selector while doing the replacement.
3248 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3250 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3251 unnecessary size_request in a removed widget.
3253 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3255 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3256 an unnecessary reference tracking that was leaking.
3258 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3260 Added delayed motion notify event handling, this way we can
3261 discard redrawing if more than 25 events arrive per second.
3263 * src/hildon-pannable-area.c,
3264 (hildon_pannable_area_init): Initialized the new private atributes
3265 controlling this timeout
3266 (hildon_pannable_area_dispose): Remove the timeout that controls
3267 the motion notify events.
3268 (hildon_pannable_area_scroll): Added a condition to control the
3269 use of the acceleration.
3270 (hildon_pannable_area_motion_event_scroll_timeout),
3271 (hildon_pannable_area_motion_event_scroll): Added this two
3272 functions, they handle the motion notify events inside the
3274 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3275 to the scroll method with the new function.
3276 (hildon_pannable_area_button_release_cb): We have to remove the
3277 timeout handler and move to the last position if the last motion
3278 events were not handled.
3280 Fixes: NB#97028 (Pannable area updates on every motion event)
3282 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3284 * src/hildon-pannable-area.c,
3285 (hildon_pannable_area_get_topmost): Added a new parameter to
3286 filter the the windows that do not include those events. Added
3287 also a condition when finding the window to filter windows that do
3288 not ask for those events.
3289 (hildon_pannable_area_button_press_cb),
3290 (hildon_pannable_area_button_release_cb),
3291 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3292 topmost function, we have added the new parameter.
3294 Fixes: NB#97458 (Pannable area prevents propagation of button
3297 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3299 * src/hildon-pannable-area.c,
3300 (hildon_pannable_area_initial_effect): Added controls before
3301 launching the timeout and the idle functions.
3302 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3303 of the method, in some situations it can return with TRUE and 0 in
3305 (hildon_pannable_area_button_press_cb): We do not need to set
3306 DELAY for fading out here.
3308 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3310 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3312 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3313 post-cleaning if the selection is not NULL.
3315 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3317 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3318 all items before restoring the selection.
3320 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3322 * src/hildon-touch-selector.c:
3323 (+hildon_touch_selector_unselect_all):
3324 * src/hildon-touch-selector.h: New API to unselect all items in a
3325 column of the touch selector.
3327 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3329 * src/hildon-pannable-area.c,
3330 (hildon_pannable_area_redraw): Added a call to the refresh
3331 function inside the redraw because apparently in some cases the
3332 change in the adjustment does not imply a size allocate.
3334 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3335 despite the view not being scrollable)
3337 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3339 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3340 leak. Check for NULL before attempting to set the window title.
3342 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3344 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3345 whether to show or not the 'Done' button each time the dialog is
3346 shown, as it depends on the HildonTouchSelector selection mode.
3348 Fixes: NB#96226 (In multiple selection mode Done button is shown
3349 sometimes in listpicker)
3351 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3353 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3354 for the number of columns in the HildonTouchSelector more than once.
3356 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3358 * src/hildon-touch-selector.c: Minor documentation fixes.
3360 * src/hildon-picker-dialog.c (+_dialog_update_title)
3361 (_select_on_selector_changed_cb)
3362 (_update_title_on_selector_changed_cb)
3363 (on_selector_columns_changed): Update dialog title when there's no
3364 'Done' button and also when the number of columns in the selector
3368 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3369 (+_selection_changed, hildon_picker_button_on_dialog_response)
3370 (hildon_picker_button_selector_selection_changed)
3371 (+hildon_picker_button_selector_columns_changed)
3372 (hildon_picker_button_set_selector): Update button value and emit
3373 'value-changed' when the number of columns in the selector
3377 Fixes: NB#96225 (Dialog titles are not shown according to the
3378 values selected in the list picker)
3380 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3382 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3383 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3384 New "arrow-width" and "arrow-height" style properties to set the
3385 size of the arrow button.
3386 Set name of arrow button ("hildon-edit-toolbar-arrow").
3388 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3389 graphics from theme)
3391 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3393 * src/hildon-picker-button.c:
3394 (hildon_picker_button_selector_selection_changed): Use
3395 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3396 the dialog is present.
3398 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3399 the selection is accepted in the dialog)
3401 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3403 * src/hildon-color-chooser.h
3404 * src/hildon-color-chooser-dialog.h:
3405 Added G_BEGIN_DECLS and G_END_DECLS
3407 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3409 (_clean_current_selection): plug a leak in the list.
3411 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3413 * src/hildon-picker-dialog.c:
3414 (+free_path_list): Method to free a GList of GtkTreePaths.
3415 (_clean_current_selection), (_save_current_selection),
3416 (_restore_current_selection): Save the current selection in
3417 as a list of lists, to support multiple selection properly.
3419 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3421 patch by Claudio Saavedra (csaavedra@igalia.com)
3423 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3424 Store the press position.
3425 (+hildon_text_view_button_release_event): If the release position is
3426 close enough to the press position, move the cursor here. Otherwise,
3428 (hildon_text_view_class_init): Override GtkTextView press, release, and
3429 motion event handlers, disabling this way text selection through
3430 pointer interaction, and allowing the container widget to handle the
3433 Fixes: NB#95828 (HildonTextView functionality)
3435 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3437 Based on a patch by Iván Gómez (igomez@igalia.com)
3439 * src/hildon-button.[ch]
3440 * src/hildon-calendar.c
3441 * src/hildon-check-button.c
3442 * src/hildon-date-editor.c
3443 * src/hildon-date-selector.c
3444 * src/hildon-picker-button.c
3445 * src/hildon-time-editor.c
3446 * src/hildon-time-selector.c
3447 * src/hildon-touch-selector.[ch]:
3448 Documentation updates
3450 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3452 * src/hildon-pannable-area.c,
3453 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3454 threshold, it was required due to X events handling.
3456 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3458 * src/hildon-pannable-area.c,
3459 (hildon_pannable_area_grab_notify),
3460 (hildon_pannable_area_initial_effect),
3461 (hildon_pannable_area_button_press_cb),
3462 (hildon_pannable_area_button_release_cb),
3463 (hildon_pannable_area_scroll_cb),
3464 (hildon_pannable_area_scroll_to): Review the timeout management of
3465 the scrollbar, the frecuency was incorrectly set.
3467 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3469 * src/hildon-picker-button.c:
3470 (+hildon_picker_button_on_dialog_response),
3471 (hildon_picker_button_clicked): Present the dialog instead of
3472 running it with gtk_dialog_run().
3474 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3477 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3479 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3480 (hildon_app_menu_finalize): When a window is hidden it doesn't
3481 emit notify::is-topmost, so make sure than the menu also
3482 disappears in that case.
3483 (parent_window_topmost_notify): Renamed from parent_window_hidden
3485 Fixes: NB#94460 (stackable window's menu is not closed when its
3488 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3490 * src/hildon-touch-selector-entry.c:
3491 (+hildon_touch_selector_entry_set_input_mode),
3492 (+hildon_touch_selector_entry_get_input_mode):
3493 * src/hildon-touch-selector-entry.h: New methods to access the input
3494 mode in the selector's entry.
3496 Fixes: NB#93410 (API required for setting IM mode in
3497 HildonTouchSelectorEntry)
3499 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3501 * configure.ac: post release version bump.
3502 * debian/changelog: version bump
3504 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3509 * configure.ac: Bump version.
3510 * debian/changelog: Updates.
3512 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3514 * src/hildon-touch-selector.c:
3515 (_hildon_touch_selector_has_multiple_selection): No need
3516 to initialize the variables here.
3518 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3520 * src/hildon-note-private.h
3521 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3522 (hildon_note_finalize, hildon_note_rebuild): Close information
3523 notes when they receive a button press.
3525 Fixes: NB#89890 (Information notes does not get disappeared after
3528 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3530 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3531 mark from the wizard title, as it's not really necessary. Also,
3532 do not display the page title if not set.
3534 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3536 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3537 (parent_window_hidden): Use the window's "is-topmost" property to
3538 detect when to hide the menu.
3540 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3542 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3543 (hildon_app_menu_finalize): If the parent window of the menu is
3544 hidden, hide the menu too.
3546 Fixes: NB#94460 (stackable window's menu is not closed when its
3549 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3552 * debian/libhildon1-examples.install
3554 * examples/Makefile.am:
3555 Use dh_install to install all examples.
3556 Use DEB_SRCDIR instead of defining SOURCE_DIR
3558 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3560 * configure.ac: post release version bump.
3561 * debian/changelog: version bump
3563 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3568 * configure.ac: bump version
3569 * debian/changelog: updates
3570 * debian/control: bump gtk+ dependency
3572 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3574 patch by Christian Dywan (christian@imendio.com)
3576 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3577 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3579 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3581 * src/hildon-check-button.c (hildon_check_button_init)
3582 (hildon_check_button_class_init, hildon_check_button_style_set)
3583 (hildon_check_button_apply_style):
3584 New "checkbox-size" style property.
3586 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3587 larger / configurable size)
3589 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3591 * configure.ac: post release version bump.
3592 * debian/changelog: version bump
3594 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3599 * configure.ac: bump version
3600 * debian/changelog: updates
3602 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3604 * doc/hildon-sections.txt
3605 * src/hildon-pannable-area.c
3606 * src/hildon-program.c
3607 * src/hildon-time-editor.c
3608 * src/hildon-touch-selector-entry.c:
3610 More documentation updates.
3612 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3614 * doc/hildon-sections.txt
3615 * src/hildon-caption.c
3616 * src/hildon-code-dialog.c
3617 * src/hildon-color-button.c
3618 * src/hildon-controlbar.c
3619 * src/hildon-date-editor.c
3620 * src/hildon-date-selector.c
3621 * src/hildon-edit-toolbar.c
3622 * src/hildon-find-toolbar.c
3623 * src/hildon-font-selection-dialog.c
3625 * src/hildon-program.c
3626 * src/hildon-range-editor.c
3627 * src/hildon-seekbar.c
3628 * src/hildon-time-editor.c
3629 * src/hildon-time-selector.c
3630 * src/hildon-volumebar-range.c
3631 * src/hildon-volumebar.c
3632 * src/hildon-vvolumebar.c
3633 * src/hildon-weekday-picker.c
3634 * src/hildon-window.c
3635 * src/hildon-wizard-dialog.c:
3637 Lots of documentation fixes.
3639 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3641 Patch contributed by Iván Gómez (igomez@igalia.com)
3643 * src/hildon-check-button.c:
3644 * src/hildon-date-button.c:
3645 * src/hildon-date-selector.c:
3646 * src/hildon-dialog.c:
3647 * src/hildon-edit-toolbar.c:
3648 * src/hildon-entry.c:
3649 * src/hildon-picker-button.c:
3650 * src/hildon-program.c:
3651 * src/hildon-text-view.c:
3652 * src/hildon-time-button.c:
3653 * src/hildon-touch-selector-entry.c:
3654 * src/hildon-window-stack.c:
3656 Add more "since" tags to the new API.
3658 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3660 * doc/hildon-sections.txt: Add below method.
3661 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3662 version for the hildonized scale.
3663 * src/hildon-gtk.h: Add the definition.
3665 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3667 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3669 * doc/hildon-sections.txt: Add missing entries for new methods.
3671 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3673 Added API to pannable are in order to get its adjustments. We
3674 added two properties to manage the values we had in the private
3677 * src/hildon-pannable-area.c:
3678 (hildon_pannable_area_class_init): Added hadjustment and
3679 vadjustment properties in order to expose horizontal and vertical
3681 (hildon_pannable_area_get_property),
3682 (hildon_pannable_area_set_property): Added code to handle the new
3684 (hildon_pannable_area_get_hadjustment),
3685 (hildon_pannable_area_get_vadjustment): API functions to get the
3687 * src/hildon-pannable-area.h:
3688 (hildon_pannable_area_get_hadjustment),
3689 (hildon_pannable_area_get_vadjustment): API functions to get the
3692 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3694 Fixed some leaks, after valgrinding.
3696 * src/hildon-touch-selector.c:
3697 (_default_print_func): Fixed a leak.
3698 (hildon_touch_selector_append_column): Fixed a leak.
3699 * src/hildon-date-button.c:
3700 (hildon_date_button_init): Fixed a leak.
3701 * src/hildon-date-selector.c
3702 (hildon_date_selector_finalize): Fixed a leak.
3704 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3706 Based on a patch by Christian Dywan (christian@imendio.com)
3708 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3710 * src/hildon-gtk.h: Add definition.
3712 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3714 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3716 * src/hildon-picker-button.c: (hildon_picker_button_init),
3717 (hildon_picker_button_new): Set the HildonButton::style property
3718 in the init method, to propagate the value to the derived classes.
3720 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3722 * src/hildon-button.c: (hildon_button_class_init): Do not make
3723 the "style" property a construct property.
3725 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3727 * src/hildon-wizard-dialog.h
3728 * src/hildon-wizard-dialog.c
3729 (hildon_wizard_dialog_set_forward_page_func)
3730 * src/hildon-pannable-area.h
3731 * src/hildon-pannable-area.c
3732 (hildon_pannable_area_set_size_request_policy):
3733 Documentation fixes.
3735 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3737 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3739 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3741 * doc/hildon-sections.txt: Added sections file.
3743 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3746 * src/*.[ch]: Updates.
3748 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3750 * examples/hildon-progress-indicator-example.c: new file
3751 * examples/Makefile.am: include the new example program
3753 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3755 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3757 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3759 * configure.ac: post release version bump
3760 * debian/changelog: version bump
3762 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3767 * configure.ac: bump version
3768 * debian/changelog: updates
3769 * debian/control: bump gtk+ dependency
3771 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3773 * src/hildon-dialog.c: Mark as deprecated.
3774 * src/hildon-dialog.h: Mark as deprecated.
3775 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3776 from HildonDialog and still work, even if
3777 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3778 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3780 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3781 maemo changes) instead)
3783 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3785 * src/hildon-pannable_area.h:
3786 * src/hildon-pannable_area.c:
3787 (hildon_pannable_area_class_init),
3788 (hildon_pannable_area_set_property),
3789 (hildon_pannable_area_get_property),
3790 (hildon_pannable_area_size_request),
3791 (hildon_pannable_area_get_size_request_policy),
3792 (hildon_pannable_area_set_size_request_policy): Added new API
3793 allowing applications to control the request policy. Now they can
3794 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3795 children allocation (HILDON_MOVEMENT_CHILDREN).
3797 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3801 (hildon_gtk_tree_view_set_ui_mode)
3802 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3803 mode of treeviews and iconviews.
3805 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3807 * src/hildon-touch-selector-entry.c:
3808 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3809 of a GtkEntry to get proper theming.
3811 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3812 widget, not GtkEntry)
3814 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3816 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3817 no HildonWizardDialogPageFunc.
3819 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3821 Patch contributed by Iván Gómez (igomez@igalia.com)
3823 * src/hildon-app-menu.c:
3824 * src/hildon-button.c:
3825 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3826 * src/hildon-stackable-window.c:
3827 * src/hildon-time-selector.c:
3828 * src/hildon-touch-selector.c:
3829 * src/hildon-window.c:
3831 Add more "since" tags to the new API in hildon 2.2.
3833 2008-12-05 Tim Janik <timj@imendio.com>
3835 Patch contributed by Christian Dywan (christian@imendio.com)
3837 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3838 HildonSizeType, which are supplied by Gtk+ now.
3840 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3842 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3843 (with maemo changes) instead)
3845 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3847 Patch contributed by Iván Gómez (igomez@igalia.com)
3849 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3852 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3854 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3855 (some_page_func), (main): Update the example to use a
3856 HildonWizardDialogPageFunc function.
3858 * src/hildon-wizard-dialog-private.h: Add private data for
3859 the HildonWizardDialogPageFunc function usage.
3861 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3862 (destroy), (hildon_wizard_dialog_init), (response),
3863 (hildon_wizard_dialog_set_forward_page_func):
3864 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3865 that applications can use to stop a HildonWizardDialog to jump to
3868 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3871 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3873 * src/hildon-program.h
3874 * src/hildon-program-private.h
3875 * src/hildon-program.c (hildon_program_init)
3876 (hildon_program_set_common_app_menu)
3877 (hildon_program_get_common_app_menu):
3878 New API for setting a common HildonAppMenu for all
3879 HildonStackableWindows registered with the HildonProgram.
3881 * src/hildon-stackable-window.c
3882 (hildon_stackable_window_toggle_menu):
3883 Use the common HildonAppMenu if a window doesn't have a specific
3886 * src/hildon-app-menu-private.h
3887 * src/hildon-app-menu.c
3888 (hildon_app_menu_get_parent_window):
3889 Function to obtain the window a HildonAppMenu is attached to.
3890 (hildon_app_menu_set_parent_window):
3891 Hide the menu if the parent window is set to NULL.
3893 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3895 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3896 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3897 search widget to popup.
3899 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3901 * configure.ac: post release version bump
3902 * debian/changelog: version bump
3904 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3909 * configure.ac: bump version
3910 * debian/changelog: updates
3912 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3914 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3916 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3917 (hildon_window_stack_window_realized)
3918 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3919 Set the leader GdkWindow when a window is stacked and realized,
3920 unset it when it's unstacked.
3921 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3923 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3925 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3927 * src/hildon-stackable-window.h
3928 * src/hildon-window-stack.h:
3929 Protect definition of HildonWindowStack using the preprocessor.
3931 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3933 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3934 Fix warning if all menu items are hidden.
3936 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3938 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3940 * src/hildon-controlbar.c:
3941 * src/hildon-hvolumebar.c:
3942 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3943 Multiple scale size defines updates.
3945 Fixes: NB#94322 (Scale Updates)
3947 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3949 * examples/hildon-app-menu-example.c (create_menu)
3950 Show items after adding them to the menu, as in the future the
3951 menu will no longer call gtk_widget_show() on the added items.
3953 * src/hildon-app-menu.c:
3954 Update example as explained above.
3956 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3958 * src/hildon-app-menu.c
3959 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3960 Make sure that all menu items have finger height.
3962 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3964 * src/hildon-picker-dialog.c:
3965 (_on_dialog_response), (_save_current_selection),
3966 (_restore_current_selection), (_clean_current_selection),
3967 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3968 Defined new functions in order to save the current internal selector
3969 selection previous open the dialog, in case that the use cancel the
3970 interaction, so the widget restores the previous selection.
3972 Fixes: NB#92032 (In calendar application, date values in 'new event'
3975 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3977 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3979 * src/hildon-button.c: Add a reference to the button examples in
3980 hildon-button-example.c
3982 * examples/hildon-button-example.c: Added examples of the most
3983 common button layouts.
3985 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3987 * src/hildon-app-menu.c (hildon_app_menu_show)
3988 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3990 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3992 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3994 * src/hildon-picker-dialog.c:
3995 (hildon_picker_dialog_init): Initialize the signal id for
3996 HildonTouchSelector::columns-changed.
3997 (+on_selector_columns_changed): Set up the interaction mode everytime a
3998 column is added or removed from the HildonTouchSelector.
3999 (_hildon_picker_dialog_set_selector): Connect to
4000 HildonTouchSelector::columns-changed and keep track of it.
4002 Make sure to update the interaction mode of the dialog everytime a
4003 column is added or removed in the HildonTouchSelector.
4005 Fixes: NB#93228 (Done button is not shown always in listpicker)
4007 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4009 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4010 a new ::columns-changed signal.
4011 (hildon_touch_selector_append_column): Emit ::columns-changed.
4012 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4014 Add a ::columns-changed signal, emitted when the number of columns in a
4015 HildonTouchSelector changes.
4017 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4019 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4020 (_hildon_picker_dialog_set_selector): Factor out the code
4021 to set up the dialog interaction mode.
4023 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4025 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4026 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4027 to signal_changed_id.
4029 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4031 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4034 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4036 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4037 Updated the logical ids related to ampm format, as now it is required to
4038 show it correctly localized even on languages with no default
4039 abbreviations for am or pm
4040 (_check_am_pm_format): check correctly the 24h format gconf property
4042 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4044 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4046 * src/hildon-button.c: Documentation updates.
4048 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4050 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4051 * src/hildon-caption.c: (hildon_caption_class_init):
4052 * src/hildon-color-button.c: (hildon_color_button_class_init):
4053 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4054 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4055 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4056 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4058 Remove deprecated GTK+ marshalers and replace them with the ones
4059 provided by GLib, for those available, add a marshaler for
4060 BOOLEAN:VOID, which is not available in GLib, and use it.
4062 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4064 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4065 the text from the previous column if there is no
4066 HildonTouchSelectorColumn::text-property set.
4068 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4070 * src/hildon-button.h
4071 * src/hildon-button.c (hildon_button_set_property)
4072 (hildon_button_get_property, hildon_button_class_init)
4073 (hildon_button_set_style, hildon_button_get_style):
4074 New "style" property to change the visual appearance of the
4077 * src/hildon-picker-button.c (hildon_picker_button_new):
4078 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4080 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4081 HildonButton look like PickerButton)
4083 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4085 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4086 column while building the default string.
4088 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4090 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4091 scroll indicator by default.
4093 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4095 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4097 * src/hildon-main.c: Fix the documentation for hildon_init()
4099 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4101 * doc/hildon-docs.sgml
4105 * src/hildon-window-stack-private.h
4106 * src/hildon-window-stack.h
4107 * src/hildon-window-stack.c:
4108 New HildonWindowStack object, that adds support for multiple
4109 stacks of windows per process.
4111 * src/hildon-stackable-window-private.h
4112 * src/hildon-stackable-window.h
4113 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4114 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4115 (hildon_stackable_window_show, hildon_stackable_window_hide)
4116 (hildon_stackable_window_class_init)
4117 (hildon_stackable_window_init):
4118 Use HildonWindowStack for stack management.
4120 * src/hildon-program.c (hildon_program_pop_window_stack)
4121 (hildon_program_peek_window_stack)
4122 (hildon_program_go_to_root_window):
4123 Add a fallback implementation to the deprecated functions using
4126 * examples/hildon-stackable-window-example.c:
4127 Use the new HildonWindowStack API.
4129 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4131 * src/hildon-stackable-window-private.h
4132 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4133 (hildon_stackable_window_hide, hildon_stackable_window_init):
4134 Remove all window stack management.
4136 * src/hildon-program-private.h
4137 * src/hildon-program.h
4138 * src/hildon-program.c (hildon_program_init)
4139 (hildon_program_pop_window_stack)
4140 (hildon_program_peek_window_stack)
4141 (hildon_program_go_to_root_window):
4142 Remove all window stack management and mark functions as
4145 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4147 * src/hildon-app-menu.c (hildon_app_menu_realize):
4148 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4150 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4152 * configure.ac: post release version bump
4153 * debian/changelog: version bump
4155 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4160 * configure.ac: bump version
4161 * debian/changelog: updates
4163 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4165 Based on initial code by Christian Dywan (christian@imendio.com)
4167 * doc/hildon-docs.sgml: Add section for hildon-main.
4168 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4169 * src/Makefile.am: Add new hildon-main.[ch]
4170 * src/hildon-defines.h: Update the icon sizes.
4171 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4172 new library initialization files and register icon sizes.
4173 * src/hildon-main.h: New declarations.
4174 * src/hildon.h: Include hildon-main.h
4176 Add new initialization functions to the library. These methods
4177 will register the hildon specific icon sizes and can be used in the
4178 future for other hildon specific bits.
4180 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4182 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4184 * src/hildon-window.c: (hildon_window_realize),
4185 (hildon_window_notify), (-hildon_window_update_title): Do not set
4186 the application name in the window title.
4188 Fixes: NB#89754 (Applications shouldn't display their names in the
4191 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4193 * src/hildon-note-private.h:
4194 * src/hildon-note.c: (hildon_note_set_property),
4195 (hildon_note_get_property), (hildon_note_class_init),
4196 (hildon_note_init), (hildon_note_finalize),
4197 (hildon_note_new_confirmation_with_icon_name),
4198 (hildon_note_new_information_with_icon_name):
4200 No need to mark as deprecated the actual code. Revert
4201 to avoid missing symbols in widgets using deprecated API.
4203 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4205 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4207 * src/hildon-volumebar.h
4208 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4209 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4211 * src/hildon-helper.h
4212 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4213 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4215 * examples/Makefile.am:
4216 Deprecate hildon-insensitive-example
4218 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4220 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4222 * examples/hildon-pannable-area-buttons-scroll-example.c:
4223 Make all buttons finger height
4225 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4227 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4229 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4230 update the day model only if it is really required, and to avoid the
4231 full-reconstruction aproach. Now it only add or remove the required days.
4233 The purpose of this is avoid superfluous HildonTouchSelector::changed
4236 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4237 with strange parameters)
4239 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4241 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4243 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4244 the WINDOW_TYPE property.
4246 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4248 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4251 Fix dependency to allow parallel compilation with make -jX
4253 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4255 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4256 color frame and some minor tweaks to make it more consistent with
4259 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4260 highlighted but not visible)
4262 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4264 * examples/Makefile.am: Fixed typo in the Makefile.am.
4266 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4268 Reviewed the use of MAEMO_GTK define, now we add the define in the
4269 compilation line, and we also add it to the pc file.
4271 * configure.ac: Added MAEMO_GTK define to the compilation command
4272 and removed it from the config.h.
4274 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4275 do not have to take care about this define if the library was
4279 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4281 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4283 * examples/Makefile.am,
4284 * examples/hildon-pannable-area-buttons-scroll-example.c,
4285 * examples/hildon-pannable-area-gesture-signals-example.c,
4286 * examples/hildon-pannable-area-scroll-jump-example.c,
4287 * examples/hildon-pannable-area-tree-view-example.c:
4288 Renamed the pannable area examples, now they have more meaningful
4291 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4293 * src/hildon-touch-selector.c:
4294 (hildon_touch_selector_set_column_selection_mode): Used of
4295 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4296 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4297 to avoid re-seting the same selection mode.
4299 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4300 breaks HildonPickerDialog)
4302 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4304 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4305 conditional in the Makefile.am
4307 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4309 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4310 Remove unused methods.
4312 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4314 * src/hildon-button.c (hildon_button_init):
4315 Make button images center-aligned by default
4317 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4320 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4321 activated, we have to think about how to deal with both defines
4322 MAEMO_GTK and MAEMO_CHANGES.
4324 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4326 * examples/hildon-app-menu-example.c (create_menu): Make all
4327 buttons finger size.
4329 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4331 Fixed the compilation without maemo gtk adding ifdefs with
4332 MAEMO_GTK define to the code, we have to check this version more
4335 * examples/Makefile.am: Added control to avoid some examples that
4336 just make sense with maemo gtk.
4339 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4340 hildon modes with the define.
4342 * examples/hildon-edit-toolbar-example.c,
4343 (create_icon_view): Create the icon view without hildon-gtk
4344 helpers if we are not using maemo gtk.
4346 * src/hildon-touch-selector.c,
4347 (_create_new_column): Create the treeview without hildon-gtk
4348 helpers if we are not using maemo gtk.
4350 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4352 * src/hildon-pnnable-area.c,
4353 (hildon_pannable_area_dispose),
4354 (hildon_pannable_area_button_press_cb),
4355 (hildon_pannable_area_child_mapped),
4356 (hildon_pannable_area_add),
4357 (hildon_pannable_area_remove): Added code to control the position
4358 of the event_window when adding and removing children from the
4359 pannable. We have to raise the event window when the child is
4362 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4363 selection mode using custom widget inside pannable)
4365 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4367 * configure.ac: post release version bump
4368 * debian/changelog: version bump
4370 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4375 * configure.ac: bump version
4376 * debian/changelog: updates
4378 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4380 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4381 search mode, in order to avoid lose the focus on the treeview when
4382 a hw key (like enter) is pressed.
4384 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4385 in HildonDateSelector dialog)
4387 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4389 * debian/rules: Added --enable-maintainer-mode
4390 * Makefile.am: Added ACLOCAL_AMFLAGS
4392 This allows to properly regenerate the Makefiles if you modify the
4393 configure.ac or any Makefile.am.
4395 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4397 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4398 properties, not needed at all.
4400 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4402 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4404 * src/hildon-note.c: (hildon_note_set_property),
4405 (hildon_note_get_property), (hildon_note_class_init),
4406 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4407 (hildon_note_new_confirmation_add_buttons): Remove icons.
4408 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4409 (hildon_note_new_information_with_icon_name): Deprecate.
4410 (hildon_note_new_confirmation): Act directly, without calling
4411 the deprecated constructor.
4412 (hildon_note_new_information): Act directly, without calling
4413 the deprecated constructor.
4414 * src/hildon-note.h: Mark deprecate methods as such.
4415 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4416 not run tests on the deprecated methods if built with deprecation
4419 Fixes: NB#91688 (Never show icons in information notes/confirmation
4422 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4424 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4425 (hildon_app_menu_key_press): Remove leftover usage of the
4426 private structure in HildonAppMenu struct.
4427 * src/hildon-app-menu.h: Remove leftover private structure
4428 from the HildonAppMenu struct.
4430 Fixes a crasher when using the HildonAppMenu.
4432 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4434 * src/hildon-picker-dialog.c: Use appropriate logical id
4435 for the default "Done" text.
4437 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4439 * configure.ac: post release version bump
4440 * debian/changelog: version bump
4442 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4444 Modified the way to scroll to the current selection just when the touch
4445 selector is shown on the screen, avoiding a g_idle. Added too a property
4446 to configure this behaviour. See hildon_pannable_area_jump_to_child
4447 documentation for more information.
4449 * src/hildon-touch-selector.c
4450 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4451 Added 'initial-scroll' property
4452 (hildon_touch_selector_set_property): Added
4453 (hildon_touch_selector_map): Removed as not required anymore
4454 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4455 only a concrete column, instead of iterate along all the columns
4457 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4462 * configure.ac: bump version
4463 * debian/changelog: updates
4465 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4467 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4468 compilation time warnings.
4470 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4472 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4473 the default value for HildonPannableArea::mov-mode to
4474 HILDON_PANNABLE_AREA_MODE_VERT.
4476 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4478 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4480 Reverting following commit:
4482 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4484 * src/hildon-app-menu-private.h
4485 * src/hildon-app-menu.[ch]
4486 * src/hildon-button.[ch]
4487 * src/hildon-check-button.[ch]
4488 * src/hildon-entry.[ch]
4489 * src/hildon-pannable-area.[ch]
4490 * src/hildon-text-view.[ch]:
4491 Added private field to the object's structure.
4493 because it causes an ABI breakage. We will need to introduce these
4494 changes later at some point. See NB#91636 for an extensive
4495 explanation and status.
4497 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4499 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4501 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4502 remove special cases that are no longer necessary.
4504 Fixes: NB#91016 (Change toolbar sizes, simplification)
4506 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4508 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4509 is shown in the cancel note.
4511 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4513 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4514 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4515 (hildon_seekbar_init): Remove steppers, remove expose event.
4516 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4518 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4520 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4522 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4523 label font to "SmallSystemFont" for vertically arranged buttons.
4525 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4528 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4530 * src/hildon-check-button.c
4531 (hildon_check_button_set_active, hildon_check_button_clicked):
4532 Don't access private parts directly, use getters instead.
4534 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4536 * src/hildon-check-button.c (hildon_check_button_new):
4537 Align the contents of the check button to the left.
4539 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4541 * src/hildon-pannable-area.c,
4542 (hildon_pannable_area_scroll_to),
4543 (hildon_pannable_area_jump_to),
4544 (hildon_pannable_area_scroll_to_child),
4545 (hildon_pannable_area_jump_to_child): Replace the mapped
4546 precondition of these functions with the realized, it is the
4547 correct state of the widget in this case. Changed the
4548 documentation according to this modification.
4550 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4552 Added a new EXTRA_CFLAGS option to add the deprecated define to
4553 the compilation command. This way we can avoid using the define in
4554 the documentation compilation.
4556 * configure.ac: Defined EXTRA_CFLAGS.
4558 * examples/Makefile.am:
4560 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4562 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4564 * src/hildon-picker-dialog.c:
4565 Defined a utility macro with the desired touch selector height
4566 Removed currently unused separator, and title_label variables from
4568 (hildon_picker_dialog_init): Removed code related to the creation
4569 of unused private variables title_label and separator.
4570 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4571 to ensure correct visualization of the touch selector inside the dialog.
4572 * src/hildon-touch-selector.c
4573 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4574 ensure a concrete height of the widget.
4576 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4579 * tests/Makefile.am:
4581 Remove spurious whitespaces.
4583 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4585 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4586 compilation warning after the cancel button removal.
4588 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4590 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4592 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4593 Makefile.am, that way we can choose not to compile some examples
4594 and tests of the deprecated widgets.
4596 * examples/Makefile.am: Divided the sources in deprecated and
4599 * src/Makefile.am: Added undef statement of the deprecated
4600 symbol to the enums file generation process.
4602 * src/hildon-color-chooser-dialog.c
4603 * src/hildon-color-chooser-dialog.h
4604 * src/hildon-color-button.c
4605 * src/hildon-color-button.h
4606 * src/hildon-color-chooser.c
4607 * src/hildon-color-chooser.h
4608 * src/hildon-controlbar.c
4609 * src/hildon-controlbar.h
4610 * src/hildon-date-editor.c
4611 * src/hildon-date-editor.h
4612 * src/hildon-hvolumebar.c
4613 * src/hildon-hvolumebar.h
4614 * src/hildon-private.c
4615 * src/hildon-private.h
4616 * src/hildon-range-editor.c
4617 * src/hildon-range-editor.h
4618 * src/hildon-seekbar.c
4619 * src/hildon-seekbar.h
4620 * src/hildon-time-editor.c
4621 * src/hildon-time-editor.h
4622 * src/hildon-time-picker.c
4623 * src/hildon-time-picker.h
4624 * src/hildon-volumebar.c
4625 * src/hildon-volumebar.h
4626 * src/hildon-vvolumebar.c
4627 * src/hildon-vvolumebar.h
4628 * src/hildon-bread-crumb-trail.h
4629 * src/hildon-bread-crumb-trail.c
4630 * src/hildon-calendar-popup.c
4631 * src/hildon-calendar-popup.h
4632 * src/hildon-weekday-picker.c:
4633 * src/hildon-weekday-picker.h:
4634 * src/hildon-bread-crumb-widget.c:
4635 * src/hildon-bread-crumb-widget.h:
4636 * src/hildon-bread-crumb.c:
4637 * src/hildon-bread-crumb.h:
4638 * src/hildon-calendar.c:
4639 * src/hildon-calendar.h:
4640 * src/hildon-caption.c:
4641 * src/hildon-code-dialog.c:
4642 * src/hildon-code-dialog.h:
4643 * src/hildon-font-selection-dialog.c:
4644 * src/hildon-font-selection-dialog.h:
4645 * src/hildon-get-password-dialog.c:
4646 * src/hildon-get-password-dialog.h:
4647 * src/hildon-login-dialog.c:
4648 * src/hildon-login-dialog.h:
4649 * src/hildon-number-editor.c:
4650 * src/hildon-number-editor.h:
4651 * src/hildon-set-password-dialog.c:
4652 * src/hildon-set-password-dialog.h:
4653 * src/hildon-sort-dialog.c:
4654 * src/hildon-sort-dialog.h: This is the list of deprecated
4657 * src/hildon-touch-selector.c:
4658 * src/hildon-window.c: Added undef statement to avoid compilation
4661 * tests/Makefile.am: Divided the sources in deprecated and
4664 * tests/check_test.c,
4665 (configure_tests): Marked the deprecated code that was adding
4666 suites with deprecated tests.
4668 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4670 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4672 * src/hildon-touch-selector.c: (_default_print_func): Do not
4673 duplicate a string returned by gtk_tree_model_get(), it is already
4676 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4679 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4681 * src/hildon-pannable-area.c
4682 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4683 method, it had problems when adding a widget with viewport the
4684 second time. Now checks if it already has a viewport and uses it.
4686 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4689 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4691 * src/hildon-pannable-area.c,
4692 (hildon_pannable_area_scroll_to),
4693 (hildon_pannable_area_jump_to),
4694 (hildon_pannable_area_scroll_to_child),
4695 (hildon_pannable_area_jump_to_child): Added a precondition to the
4696 scroll and jump to functions: the widget must be mapped before we
4697 can safely call these functions. We have also added documentation
4698 to the functions to explain how to use them in this situation.
4701 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4703 Reviewed the threading handling of the pannable widget, we have
4704 used the gdk_threads_add_timeout function instead of the usual
4705 glib handlers. This avoids some problems with the threads.
4707 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4708 (hildon_pannable_area_initial_effect),
4709 (hildon_pannable_area_scroll_indicator_fade),
4710 (hildon_pannable_area_button_press_cb),
4711 (hildon_pannable_area_timeout),
4712 (hildon_pannable_area_motion_notify_cb),
4713 (hildon_pannable_area_button_release_cb),
4714 (hildon_pannable_area_scroll_cb),
4715 (hildon_pannable_area_scroll_to): Removed the
4716 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4717 gdk_threads_add_timeout.
4719 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4721 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4726 * configure.ac: bump version
4727 * debian/changelog: updates
4729 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4731 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4732 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4733 * src/hildon-color-chooser-dialog.c:
4734 (hildon_color_chooser_dialog_init):
4735 * src/hildon-font-selection-dialog.c:
4736 (hildon_font_selection_dialog_init):
4737 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4739 Remove all cancel/close-like dialogs, as these are not going to be
4742 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4744 * src/hildon-note.c: (hildon_note_rebuild),
4745 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4748 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4750 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4752 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4753 sure all buttons are shown, even the Cancel/Close-like ones.
4755 Fixes: NB#90861 (Custom Confirmation dialogs should be
4756 protected from cancel button removal)
4758 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4760 * debian/control: Change libhildon1-examples dependency from libhildon1
4762 * debian/libhildon1-examples.install
4764 * Makefile.am: Modified the final install directory for the examples on
4765 package libhildon1-examples
4766 * Makefile.static: Update clean target in order to remove all the binary
4769 Changes suggested by Claudio after review new libhildon1-examples package
4771 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4773 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4774 * src/hildon-touch-selector.c: Ditto.
4776 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4778 * debian/control: Added new package libhildon1-examples, in order to pack
4779 the current hildon examples as documentation
4780 * debian/rules: Not to compress .c files, modify some includes on the
4781 examples (as normally are compiled locally, but when installed it will
4782 require to include the installed libhildon1 library), and rename
4784 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4785 install all the example files on the new example package
4786 * examples/Makefile.static: Added static makefile that can be used to
4787 compile the examples, once installed the new example package
4788 * examples: Most of the examples were modified in order to grant that
4789 all use only '#include "hildon.h"', in order to be easy to prepare
4790 it on the example package
4792 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4795 * debian/libhildon1-dev.install
4796 * debian/libhildon1-doc.install:
4797 Move all gtk-doc files to a separate libhildon1-doc package.
4799 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4801 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4803 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4805 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4807 * debian/rules: Fixed a error in order to avoid unnecessary calls
4808 to autogen.sh on package building
4810 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4812 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4814 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4816 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4819 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4821 * src/hildon-picker-button.c
4822 (hildon_picker_button_finalize):
4823 Free priv->done_button_text
4825 * src/hildon-time-button.c
4826 (hildon_time_button_set_time)
4827 * src/hildon-picker-button.c
4828 (hildon_picker_button_clicked)
4829 (hildon_picker_button_selector_selection_changed)
4830 (hildon_picker_button_set_selector)
4831 * src/hildon-date-button.c
4832 (hildon_date_button_set_date):
4833 Free strings returned by hildon_touch_selector_get_current_text()
4835 * src/hildon-button.c (hildon_button_construct_child):
4836 Fix leaks in priv->image and priv->label_box
4838 Fixes: NB#90535 (Memory leak in picker button)
4840 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4842 * src/hildon-button.c: (hildon_button_get_property): Do not access
4843 private elements directly, use getters instead.
4845 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4847 * src/hildon-app-menu-private.h
4848 * src/hildon-app-menu.c
4849 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4850 Store the menu's parent window.
4852 * src/hildon-stackable-window.c
4853 (hildon_stackable_window_toggle_menu)
4854 (hildon_stackable_window_finalize):
4855 Set the menu's parent window when the menu is shown, unset it when
4858 * src/hildon-app-menu.c
4859 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4860 (hildon_app_menu_class_init):
4861 Send unhandled keyboard accelerators to the parent window.
4863 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4865 * src/hildon-stackable-window.c
4866 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4868 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4870 * configure.ac: post release version bump
4872 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4875 * configure.ac: Bump version
4876 * debian/changelog: Updates
4877 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4880 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4882 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4885 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4886 GtkMenu with Hildon style.
4888 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4890 * src/hildon-picker-button.c:
4891 (hildon_picker_button_set_done_button_text): Set the dialog's
4892 done button text here as well.
4894 Fixes: NB#90232 (Picker button does not set the label on done button
4895 for the second time)
4897 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4899 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4902 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4904 * src/hildon-app-menu.c (hildon_app_menu_insert)
4905 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4906 the HildonAppMenu to be activatable using keyboard accelerators
4907 when the menu is not being shown.
4909 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4911 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4913 * src/hildon-stackable-window.c
4914 (hildon_stackable_window_show):
4915 Don't hide old windows automatically when new windows are shown:
4916 this is now a task for the window manager.
4917 (hildon_stackable_window_class_init)
4918 (hildon_stackable_window_hide):
4919 Remove windows from the stack everytime they're hidden.
4920 (hildon_stackable_window_realize):
4921 Don't change the _NET_WM_WINDOW_TYPE property. Use
4922 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4923 it as a stackable window.
4925 * src/hildon-program.c
4926 (hildon_program_pop_window_stack):
4927 Just hide the window to remove it from the stack.
4928 (hildon_program_go_to_root_window):
4929 Don't call gtk_widget_show(), this is now a task for the window
4932 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4934 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4936 * src/hildon-button.c
4937 (hildon_button_construct_child):
4938 Don't pack anything in the button until text or image are
4939 set. This allows adding a custom child after creating the button
4940 with hildon_button_new().
4941 (hildon_button_finalize, hildon_button_class_init)
4942 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4943 alignment and the label box even when they're not packed in the
4946 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4948 * src/hildon-touch-selector.h:
4949 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4950 currently the type definition was using GTK_TYPE_VBOX
4951 * src/hildon-touch-selector.c:
4952 Added some implementation notes in order to clarify that any other widget
4953 added without the column related API will not be included on the
4954 selection logic, and how the widget is freed, as some people ask about
4956 (hildon_touch_selector_remove): Reimplemented in order to free properly
4957 the column related data when you remove the private hbox.
4958 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4959 to get a proper HildonTouchSelectorColumn documentation
4961 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4963 * src/hildon-touch-selector-entry.c:
4964 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4965 text in the GtkEntry and there is no item selected. Fixes a
4968 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4970 * src/hildon-app-menu-private.h
4971 * src/hildon-app-menu.[ch]
4972 * src/hildon-button.[ch]
4973 * src/hildon-check-button.[ch]
4974 * src/hildon-entry.[ch]
4975 * src/hildon-pannable-area.[ch]
4976 * src/hildon-text-view.[ch]:
4977 Added private field to the object's structure.
4979 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4981 * configure.ac: post-release version bump
4983 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4987 * configure.ac: pre-release version bump
4989 * debian/changelog: updates.
4991 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4993 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4994 Disconnect the handler for HildonTouchSelector::changed.
4996 (hildon_picker_button_selector_selection_changed): Update the button
4997 value if the selection change was not triggered by the
5000 (hildon_picker_button_set_selector): connect to
5001 HildonTouchSelector::changed.
5003 Fixes: NB#89650 (Picker button is not updated, when selection in
5004 selector has changed)
5006 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5008 * src/hildon-picker-dialog.c
5009 (hildon_picker_dialog_realize): Removed as not required
5010 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5011 * src/hildon-picker-button.c
5012 (_current_selector_empty): New function, checks if the selector is empty
5013 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5014 if the current selector is empty, in order to avoid to show the dialog
5015 close the dialog in this case (and shows a g_warning).
5017 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5019 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5021 * src/hildon-pannable-area.c,
5022 (hildon_pannable_area_scroll): Added clause to stop movement when
5023 the child of pannable is smaller than one page.
5024 (hildon_pannable_area_scroll_to): Added conditions to avoid
5025 starting the scrolling movement if the child is smaller than one
5026 page, the complete child is in the screen, we do not have to move.
5028 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5030 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5032 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5033 this is managed automatically by the widget when the size of the
5036 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5038 * src/hildon-picker-button.c
5039 (hildon_picker_button_set_done_button_text): Make a copy of the
5040 text, and free the previous value.
5042 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5044 * src/hildon-touch-selector-entry.c:
5045 (hildon_touch_selector_entry_print_func): Return the selected row's
5046 text if the entry is empty.
5048 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5051 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5053 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5055 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5058 * src/hildon-check-button.h
5059 * src/hildon-check-button.c
5060 * examples/hildon-check-button-example.c:
5061 HildonCheckButton is now a new widget. 'toggled' signal added.
5063 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5065 * src/hildon-program-private.h
5066 * src/hildon-program.c (hildon_program_init)
5067 (hildon_program_finalize): Removed unused variables group_leader
5068 and name from HildonProgramPrivate.
5070 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5072 * src/hildon-check-button.c (hildon_check_button_set_active)
5073 (hildon_check_button_get_active, hildon_check_button_new): Use
5074 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5076 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5078 * src/hildon-touch-selector.h
5079 (hildon_touch_selector_set_column_attributes): added deprecation
5080 guard HILDON_DISABLE_DEPRECATED
5081 * src/hildon-time-selector.c
5082 (hildon_time_selector_set_time)
5083 (hildon_time_selector_get_time): Fixed a typo on documentation
5084 * src/hildon-touch-selector.c: update HildonTouchSelector and
5085 HildonTouchSelectorColumn documentation
5086 * src/hildon-touch-selector-entry.c: update "text-column" property
5088 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5089 to be added to the general documentation.
5091 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5093 * examples/hildon-pannable-area-example-4.c,
5095 * examples/hildon-pannable-area-example.c,
5096 (main): Modified the code in order to use the container add, with
5097 viewport treeviews could have problems if they are really big.
5099 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5101 * src/hildon-weekday-picker.c,
5102 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5103 the agreement regarding deprecation in the library.
5105 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5107 * examples/hildon-picker-button-multicolumn-example.c:
5108 (main): Use custom "done" button text.
5110 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5111 (hildon_picker_button_set_property),
5112 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5113 (hildon_picker_button_init),
5114 (+hildon_picker_button_get_done_button_text),
5115 (+hildon_picker_button_set_done_button_text): New methods to customize
5116 the "done" button label in the launched HildonPickerDialog. Also,
5119 * src/hildon-picker-button.h: add the public API.
5121 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5123 * src/hildon-date-selector.h:
5124 * src/hildon-picker-dialog.h:
5125 * src/hildon-time-selector.h:
5126 * src/hildon-touch-selector-column.h:
5127 * src/hildon-touch-selector.h:
5129 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5130 declarations. Fixes gtk-doc warnings.
5132 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5134 * src/hildon-picker-dialog.h
5135 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5136 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5138 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5139 long text is set as label for done button)
5141 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5143 * src/hildon-dialog.c (hildon_dialog_add_button):
5144 Set fixed width to all buttons in the HildonDialog.
5146 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5148 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5150 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5151 Set widget name using class name plus "-finger" or "-thumb".
5153 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5155 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5156 'clicked' when the state of the button is manually changed.
5158 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5160 * src/hildon-app-menu.c (hildon_app_menu_realize)
5161 (hildon_app_menu_unrealize, hildon_app_menu_init)
5162 (hildon_app_menu_class_init, item_visibility_changed):
5163 Change the menu layout when the size of the screen changes.
5164 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5165 Show warning only when changing the number of colums using the
5168 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5170 * debian/compat: Set to 5
5171 * debian/control: Update dependencies.
5172 * debian/libhildon1-dbg.install: Remove.
5173 * debian/libhildon1-dev.install: Update according to cdbs paths.
5174 * debian/libhildon1.install: Update according to cdbs paths.
5175 * debian/rules: Switch to cdbs.
5177 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5179 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5180 'item' variable renamed to 'filter'
5182 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5184 * src/hildon-app-menu.c (hildon_app_menu_insert)
5185 (hildon_app_menu_add_filter, remove_item_from_list)
5186 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5187 Don't leak hidden items when the menu is destroyed.
5189 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5191 * src/hildon-app-menu.c (hildon_app_menu_insert)
5192 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5193 (hildon_app_menu_set_columns, item_visibility_changed)
5194 (filter_visibility_changed, hildon_app_menu_repack_filters)
5195 (hildon_app_menu_repack_items):
5196 Repack items and filters separately.
5198 Don't repack all items, change only the ones that are needed to
5201 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5203 * src/Makefile.am: added hildon-touch-selector-column.h
5205 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5207 * src/hildon-touch-selector.c: added the property "text-column" to the
5208 class HildonTouchSelectorColumn, and related get/set functions
5209 (_default_printf_func): updated to use "text-column" property
5210 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5211 "text-column" in his documentation, as this is now included on
5212 HildonTouchSelectorColumn. The get/set_property can still be used,
5213 working as a wrapper to the concrete column "text-column" property
5214 (_text_column_modified): callback added in order to handle the signal
5215 "notify::text-column" of the concrete HildonTouchSelectorColumn
5216 (hildon_touch_selector_entry_get_text_column)
5217 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5218 modified in order to use the HildonTouchSelectorColumn "text-column"
5220 * src/hildon-time-selector.c:
5221 * src/hildon-date-selector.c:
5222 * examples/hildon-touch-selector-example.c
5223 * examples/hildon-touch-selector-multi-cells-example.c
5224 * examples/hildon-picker-button-multicolumn-example.c
5225 Set the right value to "text-column" property on the creation of a new
5226 column using hildon_touch_selector_append_column()
5228 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5230 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5232 * src/hildon-app-menu.c
5233 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5234 updating the layout of the menu, don't create all widgets again,
5235 just repack the items in their new places.
5237 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5239 * src/hildon-time-selector.c
5240 (hildon_time_selector_get_time)
5241 (hildon_time_selector_set_time)
5242 Added documentation of these public methods
5244 * src/hildon-date-button.h
5245 * src/hildon-touch-selector-column.h
5246 * src/hildon-time-button.h
5247 * src/hildon-picker-dialog.h
5248 * src/hildon-time-selector.h
5249 * src/hildon-picker-button.h
5250 * src/hildon-touch-selector.h
5251 * src/hildon-time-picker.h
5252 * src/hildon-date-selector.h
5253 * src/hildon-touch-selector-entry.h
5254 Modified in order to use hildon-widgets code style
5256 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5258 Added deprecated support to the compilation process using
5259 HILDON_DISABLE_DEPRECATED
5261 * configure.ac: Added the --disable-deprecated to the configure
5264 * src/hildon-weekday-picker.c:
5265 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5266 to use the deprecated support. We will update the other deprecated
5267 widgets status in a new patch.
5269 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5271 * configure.ac: Fixed typo with fatal warnings support, the
5272 variable name was not correct
5274 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5276 * src/hildon-app-menu.c
5277 * src/hildon-program.c: Update documentation.
5279 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5281 * configure.ac: Post-release version bump.
5283 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5288 * configure.ac: Pre-release version bump.
5289 * debian/changelog: Updates.
5291 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5293 * NEWS: Update news for previous releases.
5295 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5297 * examples/hildon-touch-selector-multi-cells-example.c:
5298 (create_selector): Update the example to use
5299 hildon_touch_selector_append_column() with a NULL renderer and set
5300 the renderers later.
5301 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5302 passed a NULL renderer. This is documented behavior now.
5304 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5305 This must be used if the developer wants full control on the layout of
5306 the renderers to be added to the column.
5308 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5310 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5312 * src/hildon-touch-selector.c: Documentation fixes.
5314 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5316 * src/hildon-wizard-dialog-private.h: Remove image and box.
5317 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5318 (hildon_wizard_dialog_set_property), (response): Completely remove
5319 image/icon support, and the containers required for the layout.
5321 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5323 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5325 * src/hildon-app-menu.c: Updated documentation.
5327 * src/hildon-stackable-window.c
5328 (hildon_stackable_window_set_main_menu): Unref the old menu after
5329 ref'ing the new one.
5331 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5333 * src/hildon-stackable-window.c
5334 (hildon_stackable_window_set_main_menu): Unref the previous menu
5335 instead of destroying it.
5337 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5338 floating reference and set has_user_ref_count to FALSE to make
5339 HildonAppMenu act like a normal ref-counted widget and not a
5342 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5345 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5347 * src/hildon-touch-selector-column.h: new file
5348 * src/hildon-touch-selector.h
5349 * src/hildon-touch-selector.c
5350 Implemented GtkCellLayout interface, in order to allow to configure
5351 the cell layout on each individual selector column
5352 (hildon_touch_selector_set_column_attributes): marked as deprecated
5353 * examples/hildon-touch-selector-multi-cells-example.c
5354 Example of how to use the GtkCellLayout interface on the selector
5356 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5358 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5360 * src/hildon-app-menu.h
5361 * src/hildon-app-menu.c
5362 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5363 (hildon_app_menu_append, hildon_app_menu_prepend):
5364 New methods to prepend, insert and move items in the menu.
5366 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5368 * src/hildon-wizard-dialog.c:
5370 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5372 (create_title): Update logical IDs and related code.
5373 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5375 * src/hildon-wizard-dialog.h: Note that
5376 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5377 point, as it is not used anymore.
5379 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5381 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5383 * src/hildon-note.c:
5384 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5385 shown. Do not display an icon in confirmation notes nor information
5387 (hildon_note_set_button_text): Update logical ID for cancel button.
5389 Fixes: NB#88850 (Update HildonNote button strings + signals)
5391 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5393 * src/hildon-stackable-window.c
5394 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5396 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5398 * src/hildon-app-menu-private.h
5399 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5400 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5401 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5402 temporary property 'columns' to change the number of columns.
5404 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5406 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5408 * examples/hildon-note-example.c: (on_information_clicked),
5409 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5410 debugging information.
5411 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5413 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5414 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5415 in order to close: this will be handled by the WM from now on.
5417 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5419 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5421 * src/hildon-app-menu-private.h
5422 * src/hildon-app-menu.c
5423 (hildon_app_menu_append, hildon_app_menu_add_filter)
5424 (button_visibility_changed, hildon_app_menu_apply_style)
5425 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5426 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5427 layout everytime a button (item or filter) is shown or hidden.
5429 * src/hildon-stackable-window.c
5430 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5433 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5435 * src/hildon-touch-selector.c:
5436 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5437 that the treeview inside the touch selector is in fremantle hildon mode
5438 * examples/hildon-date-button-example.c
5439 * examples/hildon-picker-button-multicolumn-example.c
5440 * examples/hildon-touch-selector-entry-example.c
5441 * examples/hildon-touch-selector-example.c
5442 * examples/hildon-time-button-example.c
5443 * examples/hildon-picker-button-example.c:
5444 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5446 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5448 * examples/hildon-text-view-example.c: (main): Remove the
5449 gtkrc bits, now handled by the theme.
5451 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5453 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5456 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5458 * po/Makefile.am: Install properly the mo files.
5459 * po/en_GB.po: Update translation, to ease testing purposes.
5461 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5463 * examples/hildon-picker-button-example.c: (main): Select an item
5464 in the selector before setting it to the button.
5466 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5468 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5469 Update button's value if the selector has an item active.
5471 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5472 'value' with the selector)
5474 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5476 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5477 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5478 (hildon_picker_button_class_init): Plug the finalize method.
5479 (hildon_picker_button_set_selector): If there's a previously set
5480 selector, unref'it before setting a new one.
5482 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5483 HildonTouchSelector)
5485 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5487 * src/hildon-touch-selector-entry.c:
5488 (hildon_touch_selector_entry_changed): Check if there is no text
5489 selected before setting the entry text.
5492 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5494 * src/hildon-touch-selector.h
5495 * src/hildon-touch-selector.c
5496 (hildon_touch_selector_get_active)
5497 (hildon_touch_selector_set_active): New methods to set/get the
5498 index of the selected item.
5500 * src/hildon-picker-button.h
5501 * src/hildon-picker-button.c
5502 (hildon_picker_button_get_active)
5503 (hildon_picker_button_set_active): New methods to set/get the
5504 index of the selected item.
5506 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5508 * configure.ac: post-release version bump.
5510 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5514 * configure.ac: Pre-release version bump.
5515 * debian/changelog: Updates.
5516 * debian/control: Add myself as maintainer and depend on l10n
5519 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5521 * src/hildon-window.c
5522 (hildon_window_set_main_menu)
5523 * src/hildon-stackable-window.c
5524 (hildon_stackable_window_set_main_menu):
5525 Updated documentation.
5527 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5529 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5530 Don't free selector->priv manually.
5533 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5536 (hildon_gtk_window_set_progress_indicator):
5537 * src/hildon-gtk.h: Added the new API
5538 hildon_gtk_window_set_progress_indicator, it changes the state of
5539 the window progress hint.
5541 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5543 * src/hildon-button.c
5544 * src/hildon-stackable-window.c: Minor documentation updates.
5546 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5548 * src/hildon-stackable-window.c: Updated documentation.
5550 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5552 * src/hildon-defines.h: Update margins definitions
5553 to the Fremantle sizes.
5556 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5558 * src/hildon-touch-selector.c,
5559 (_hildon_touch_selector_set_model): Cleaning the code after
5560 review, removed g_print and #if 0 from the code.
5562 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5564 * src/hildon-edit-toolbar.c: Update documentation.
5566 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5568 * src/hildon-check-button.h
5569 * src/hildon-check-button.c
5570 (hildon_check_button_set_label, hildon_check_button_get_label)
5571 * examples/hildon-check-button-example.c
5572 (button_clicked_cb):
5573 Removed deprecated methods.
5575 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5577 * src/hildon-text-view.c:
5578 Add sample code to the documentation.
5580 * src/hildon-entry.h
5581 * src/hildon-text-view.h:
5582 Minor cosmetic changes.
5584 * src/hildon-entry.c:
5585 Add sample code to the documentation.
5586 (hildon_entry_init, hildon_entry_refresh_contents):
5587 Don't allow NULL values in the placeholder.
5589 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5591 * doc/hildon-docs.sgml
5593 * examples/Makefile.am
5594 * examples/hildon-text-view-example.c
5596 * src/hildon-text-view.c
5597 * src/hildon-text-view.h
5599 New HildonTextView widget, with example.
5601 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5603 * po/POTFILES.in: Add missing files with translatable strings.
5604 Partially fixes NB#88287.
5606 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5608 * examples/hildon-pannable-area-example-2.c: (main): No need to
5609 set the cellrenderer height inside hildon touch lists, the theme does
5612 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5614 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5615 they are integrated in the theme.
5617 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5619 * examples/hildon-entry-example.c: Update the example adding
5620 widgets to modify the text and the placeholder of the HildonEntry.
5622 * src/hildon-entry.c: Show the placeholder everytime the widget
5623 is empty and loses the focus.
5625 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5627 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5629 * src/hildon-pannable-area.c,
5630 (hildon_pannable_area_size_request): Fixed bug in height
5631 requisition, avoid increasing size and add border twice.
5633 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5635 * configure.ac: postrelease version bump.
5637 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5641 * configure.ac: Prerelease version bump.
5642 * debian/changelog: update.
5643 * debian/rules: make -dbg package contain useful debugging symbols.
5645 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5647 * src/hildon-dialog.h
5648 * src/hildon-dialog.c
5649 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5650 New methods to add buttons with finger size.
5651 (hildon_dialog_new_with_buttons):
5652 Create buttons with finger size.
5654 * examples/hildon-dialog-example.c (main): Use HildonDialog
5655 methods to add buttons.
5657 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5659 * src/hildon-entry.c: Updated HildonButton documentation.
5661 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5663 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5664 button value label with (FALSE, FALSE) to prevent NB#88126 from
5667 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5669 * examples/hildon-pannable-area-example.c,
5670 (main): Removed examples panning a vbox inside a pannable
5671 area. Check bug NB#87965
5673 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5675 Patch contributed by Kris Rietveld (kris@imendio.com)
5677 * src/hildon-pannable-area.c,
5678 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5679 get_size and get_position, this saves an X server roundtrip.
5681 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5683 * doc/hildon-docs.sgml
5685 * examples/Makefile.am
5686 * examples/hildon-entry-example.c
5688 * src/hildon-entry.c
5689 * src/hildon-entry.h
5691 New HildonEntry widget, with example.
5693 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5695 * src/hildon-button.c (hildon_button_construct_child): Pack the
5696 image with expand == fill == FALSE. This is a workaround for a bug
5699 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5701 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5702 labels for the text column, to make it more look more dynamic.
5704 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5706 * src/hildon-time-selector.c
5707 Define gettext auxiliar macro N_
5708 (_create_minutes_model)
5709 (_create_hours_model)
5710 (_create_ampm_model): use of strftime in order to fill the model
5711 * src/hildon-date-selector.c
5712 (hildon_date_selector_finalize):
5713 (_locales_init): remove the logic related to get the name of the months
5714 using nl_langinfo, as it is not required anymore
5716 (_create_year_model)
5717 (_create_month_model)
5718 (_update_day_model): use of strftime in order to fill the model properly
5721 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5723 * src/hildon-button.h
5724 * src/hildon-button.c (hildon_button_get_image): New method to
5727 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5729 * src/hildon-touch-selector.c:
5730 (hildon_touch_selector_remove_column): Remove from the correct parent
5731 and also remove the list element and free it.
5734 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5736 * src/hildon-time-selector.c
5737 (_create_hours_model): change the range on 12h ampm format in order to use
5738 a 12-11 range instead of previous 01-12 range
5739 (hildon_time_selector_set_time): change the way to select the current time
5740 on 12h ampm format, due the change on the range
5741 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5744 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5746 * src/hildon-touch-selector.c
5747 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5748 in order to allow use this function on multiple row selection mode if
5749 the column is different that the first one
5752 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5754 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5755 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5757 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5759 * src/hildon-date-selector.h: clean some comments, now on the .c
5760 * src/hildon-date-selector.c
5761 (hildon_date_selector_select_month): first implementation
5762 (hildon_date_selector_select_day): added documentation, reimplemented
5763 using hildon_date_selector_select_current_date to avoid repeat code
5766 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5768 Reviewed interaction logic based on device experiences, refactored
5771 * src/hildon-pannable-area.c,
5772 (hildon_pannable_area_class_init): Updated default vmax speed.
5773 (hildon_pannable_area_calculate_velocity): Added this function, it
5774 avoids duplicate valocity calculation. Adjusted calculation to
5775 avoid problems with zero dist events.
5777 (hildon_pannable_area_motion_notify_cb): Now we use the
5778 calculate_velocity function.
5780 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5782 * src/hildon-date-selector.c
5783 (hildon_date_selector_select_current_date): fix the day range check
5784 as it failed using the last day of the current month
5787 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5789 * src/hildon-touch-selector.c
5790 (hildon_touch_selector_get_num_columns): added a parameter validation
5793 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5795 * examples/Makefile.am
5796 * examples/hildon-edit-toolbar-example.c: Example of the
5797 HildonEditToolbar widget.
5799 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5801 * configure.ac: postrelease version bump.
5803 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5807 * configure.ac: prerelease version bump.
5808 * debian/changelog: update.
5810 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5812 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5813 renderer to display stock icons in the touch list. Also, set the sizes
5814 to the recommended in the style guide.
5816 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5817 * src/hildon-touch-selector.h
5818 (hildon_touch_selector_set_active_iter): renamed, now is
5819 hildon_touch_selector_select_iter
5820 (hildon_touch_selector_get_active_iter): renamed, now is
5821 hildon_touch_selector_get_selected
5822 (hildon_touch_selector_unselect_iter): added
5823 * src/hildon-touch-selector.c
5824 Update after API modification (methods renamed)
5825 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5826 order to avoid problems selecting multiple elements on the column
5827 (hildon_touch_selector_unselect_iter): added the implementation
5828 * src/hildon-time-selector.c
5829 * src/hildon-date-selector.c
5830 * src/hildon-touch-selector-entry.c
5831 Update methods calls after hildon-touch-selector.h API modification (methods
5834 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5836 * src/hildon-stackable-window.c
5837 (hildon_stackable_window_finalize): Call the parent class's finalize.
5839 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5841 * examples/hildon-touch-selector-example.c: (create_selector): Use
5842 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5845 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5847 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5848 set a cell background color, to respect theming.
5850 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5852 * doc/hildon-docs.sgml
5855 * src/hildon-edit-toolbar.c
5856 * src/hildon-edit-toolbar.h
5857 * src/hildon.h: New HildonEditToolbar widget.
5859 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5861 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5864 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5865 * src/hildon-touch-selector.c
5866 (_create_new_column): use g_object_set instead of two g_object_set_property
5868 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5869 * src/hildon-touch-selector.c
5870 (_create_new_column): use of hildon_gtk_tree_view_new to create
5871 the treeview, instead of use directly g_object_new
5872 (_create_new_column): update the property name "vindicator-mode" for the
5873 new one "vscrollbar-policy"
5874 * examples/hildon-date-button-example.c
5875 * examples/hildon-picker-button-multicolumn-example.c
5876 * examples/hildon-touch-selector-entry-example.c
5877 * examples/hildon-touch-selector-example.c
5878 * examples/hildon-time-button-example.c
5879 * examples/hildon-picker-button-example.c
5880 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5881 to all the treeviews inside a pannable area.
5883 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5885 * src/hildon-button.h
5886 * src/hildon-button.c (hildon_button_init)
5887 (hildon_button_set_arrangement, hildon_button_set_alignment)
5888 (hildon_button_set_title_alignment)
5889 (hildon_button_set_value_alignment)
5890 (hildon_button_set_image_alignment)
5891 (hildon_button_construct_child): New methods to set the alignment
5892 of the individual components of the button (title, value,
5893 image). Also, new method to alter the xscale and yscale properties
5894 of the GtkAlignment inside the button, so more complex layouts can
5897 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5899 * src/hildon-button.c (hildon_button_style_set)
5900 (hildon_button_class_init, hildon_button_set_arrangement)
5901 (hildon_button_construct_child): Apply style properties
5902 correctly. Use the 'image-spacing' style property too.
5904 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5906 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5907 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5910 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5912 * src/hildon-pannable-area.c,
5913 (hildon_pannable_area_size_request): Fixed problem with
5914 pannable-area size_request.
5916 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5918 Added management for the grab-focus to a child widget, like a
5919 range, we need to fade out the scrollbar when releasing.
5921 * src/hildon-pannable-area.c,
5922 (hildon_pannable_area_init): Connected the grab-focus signal to
5924 (hildon_pannable_area_grab_notify): Added this function in order
5925 to manage the situation when the grab-focus ends. We have to
5926 fade-out the scrollbar.
5928 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5930 * src/hildon-app-menu.c: Minor documentation update.
5932 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5934 * src/hildon-app-menu.c
5935 * examples/hildon-app-menu-example.c (create_menu): Update
5936 examples and documentation to explain how to connect callbacks.
5938 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5940 * examples/hildon-button-example.c
5941 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5942 hildon_stackable_window_new instead of gtk_window_new
5944 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5946 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5947 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5948 (hildon_pannable_area_set_property),
5949 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5950 (hildon_pannable_area_unrealize),
5951 (hildon_pannable_area_size_request),
5952 (hildon_pannable_area_size_allocate),
5953 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5954 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5955 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5956 (hildon_pannable_area_initial_effect),
5957 (hildon_pannable_area_redraw),
5958 (hildon_pannable_area_scroll_indicator_fade),
5959 (hildon_pannable_area_expose_event),
5960 (hildon_pannable_area_get_topmost), (synth_crossing),
5961 (hildon_pannable_area_button_press_cb),
5962 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5963 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5964 (hildon_pannable_area_motion_notify_cb),
5965 (hildon_pannable_area_button_release_cb),
5966 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5967 (hildon_pannable_area_remove),
5968 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5969 chage the code layout to a more GtkWidget like. Review the use of
5972 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5974 * examples/hildon-pannable-area-example-4.c,
5975 (main): Modified the name of the hindicator_mode to
5978 * src/hildon-pannable-area.c,
5979 (hildon_pannable_area_class_init),
5980 (hildon_pannable_area_motion_notify_cb),
5981 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5982 we have reduced the amount of signals and managed reviewed its
5983 rationale. Changed the default decelerate value.
5985 (hildon_pannable_area_add),
5986 (hildon_pannable_area_redraw): Refactored functions.
5988 (hildon_pannable_area_init),
5989 (hildon_pannable_area_get_property),
5990 (hildon_pannable_area_set_property):
5991 (hildon_pannable_draw_vscroll),
5992 (hildon_pannable_draw_hscroll),
5993 (hildon_pannable_area_initial_effect),
5994 (hildon_pannable_area_expose_event),
5995 (hildon_pannable_area_scroll),
5996 (hildon_pannable_area_button_press_cb),
5997 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5998 and vindicator_mode with hscrollbar_policy and
5999 vscrollbar_policy. Replaced hscroll and vscroll with
6000 hscroll_visible and vscroll_visible.
6002 (hildon_pannable_area_refresh): Refactor the function, remove
6003 variables and check the calls to this function, added resize
6004 conditions in case the children change their layout.
6006 (hildon_pannable_area_size_request): Added more detailed
6007 size_request calculation.
6010 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6012 * src/hildon-color-chooser.c
6013 (init_borders): use the correct gtk_border_free instead of g_free, to
6014 avoid a crash when this widget is used (ie: the three color selection
6017 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6019 * src/hildon-check-button.c,
6020 (hildon_check_button_set_active): Fixed problem when setting the
6021 active value, the widget was not redrawn.
6023 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6025 * src/hildon-pannable-area.c,
6026 (hildon_pannable_area_refresh),
6027 (hildon_pannable_area_scroll),
6028 (hildon_pannable_area_motion_notify_cb): Small code style change.
6030 (hildon_pannable_area_class_init): Default initial_hint set to
6031 FALSE, it is not in the specs.
6033 (hildon_pannable_area_initial_effect),
6034 (hildon_pannable_area_expose_event),
6035 (hildon_pannable_area_map),
6036 (hildon_pannable_area_init): Moved the launching point of the
6037 initial effect, it was in map but the sizes where not correct in
6038 that method so we do not know if we have the reproduce it. Now it
6039 is placed in the expose_event method and uses a variable to
6040 reproduce it just once.
6042 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6044 * src/hildon-pannable-area.c,
6045 (hildon_pannable_draw_vscroll),
6046 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6047 position allowed for the scrollbars.
6049 (hildon_pannable_area_size_allocate): Small style change.
6051 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6053 * src/hildon-pannable-area.c,
6054 (hildon_pannable_area_scroll_indicator_fade),
6055 (hildon_pannable_area_button_press_cb),
6056 (hildon_pannable_area_button_release_cb),
6057 (hildon_pannable_area_scroll_cb),
6058 (hildon_pannable_area_expose_event),
6059 (hildon_pannable_area_init): Added the define parameter
6060 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6061 and refactor the fade variable.
6063 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6065 * src/hildon-pannable-area.c,
6066 (hildon_pannable_area_redraw),
6067 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6068 lines, we were reimplemeting the redraw code.
6070 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6072 * src/hildon-pannable-area.c,
6073 (hildon_pannable_area_scroll_cb),
6074 (hildon_pannable_area_realize),
6075 (hildon_pannable_area_class_init): Added scroll_event management
6076 for pannable area, now we can scroll the usual desktop method.
6078 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6079 initialization of the parameters should depend on idle_id.
6081 (hildon_pannable_area_init),
6082 (hildon_pannable_area_map): Small code style modifications
6084 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6086 * src/hildon-pannable-area.c
6087 (hildon_pannable_area_button_press_cb),
6088 (hildon_pannable_area_motion_notify_cb),
6089 (hildon_pannable_area_button_release_cb),
6090 (hildon_pannable_area_size_allocate),
6091 (hildon_pannable_area_scroll_to): Improved the timeouts
6092 management, we avoid creating them each time.
6094 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6096 * src/hildon-pannable-area.c:
6097 (hildon_pannable_area_refresh),
6098 (hildon_pannable_area_motion_notify_cb),
6099 (hildon_pannable_area_class_init):
6100 * src/hildon-pannable-area.h:
6101 * src/hildon-touch-selector.c
6102 (_create_new_column):
6103 * examples/hildon-pannable-area-example-4.c:
6104 (horizontal_movement),
6105 (vertical_movement),
6107 Replaced the names of enums in the HildonPannableArea:
6108 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6109 HILDON_MOVEMENT_MODE_*
6110 - HILDON_PANNABLE_AREA_MOV_* ->
6112 - Removed HildonPannableAreaIndicatorMode, now we
6115 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6117 * examples/hildon-pannable-area-touch-grid-example.c
6118 * examples/hildon-pannable-area-touch-list-example.c: Fix
6119 compilation warnings.
6121 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6123 * src/hildon-gtk.c (hildon_gtk_button_new)
6124 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6125 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6126 images overriding the value of the "gtk-button-images" setting.
6128 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6130 * src/hildon-check-button.c (hildon_check_button_new):
6131 Instead of using a custom container, display the label and the
6132 checkbox using the standard GtkButton API.
6134 * examples/hildon-check-button-example.c (main): Don't use
6135 hildon_check_button_set_label() anymore
6137 * src/hildon-check-button.h
6138 * src/hildon-check-button.c
6139 (hildon_check_button_set_label, hildon_check_button_get_label):
6140 Set as deprecated, now we're using gtk_button_{get,set}_label()
6142 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6144 * src/hildon-pannable-area.c,
6145 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6146 GtkTreeview first line we detected it after the inclusion of the
6147 GtkWindowImpl in gtk+. We now check if the window is visible, not
6148 just if the pointer is over the window.
6149 (hildon_pannable_axis_scroll),
6150 (hildon_pannable_area_expose_event): Small style changes.
6152 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6154 * src/hildon-button.c: Update documentation.
6156 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6158 * examples/hildon-button-example.c: Add a switch to show images in
6161 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6163 * doc/hildon-docs.sgml: Some docs reorganization.
6165 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6167 * examples/hildon-pannable-area-touch-list-example.c
6169 * examples/hildon-pannable-area-touch-grid-example.c
6170 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6171 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6172 Fix memory leak when setting the tree model.
6174 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6178 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6180 * doc/hildon.types: Remove duplicated hildon_window_get_type
6181 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6182 documentation comment.
6184 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6186 * doc/Makefile.am: Complete list of private headers.
6188 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6190 * doc/hildon-docs.sgml
6191 * src/hildon-app-menu.c
6192 * src/hildon-bread-crumb.c
6193 * src/hildon-button.c
6195 * src/hildon-program.c
6196 * src/hildon-stackable-window.c
6197 * src/hildon-window.c: Lots of documentation updates.
6199 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6201 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6203 * configure.ac: Require Gtk+ 2.12.9 at least
6205 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6207 * src/hildon-pannable-area.c
6208 (hildon_pannable_area_scroll_indicator_fade),
6209 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6210 to protect the return of this timeout callbacks, avoiding deadlocks.
6212 2008-08-12 Christian Dywan <christian@imendio.com>
6215 * src/hildon-*.h: Ensure a consistent include order,
6216 include <gtk/gtk.h> instead of particular files and
6217 only include the topmost header in the gtk stack. See NB #39857
6219 2008-08-12 Christian Dywan <christian@imendio.com>
6221 * src/hildon-picker-dialog.c
6222 * src/hildon-touch-selector.c: Fix warnings about unused and
6223 uninitialized variables.
6225 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6227 * examples/Makefile.am
6228 * examples/hildon-check-button-example.c: Example of the hildon
6231 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6233 * src/hildon-window.h
6234 * src/hildon-window.c (hildon_window_class_init)
6235 (hildon_window_unset_program): Don't make
6236 hildon_window_unset_program a virtual function anymore.
6238 * src/hildon-stackable-window.c: Update documentation
6240 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6243 * doc/hildon-docs.sgml
6244 * doc/visual_index.xml
6245 * src/hildon-defines.c
6247 * src/hildon-helper.c
6248 * src/hildon-range-editor.c: Lots of documentation fixes.
6250 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6252 * examples/hildon-picker-button-multicolumn-example.c
6253 (create_touch_selector): Fix compilation warning.
6255 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6257 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6258 (hildon_pannable_area_button_release_cb)
6259 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6261 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6263 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6266 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6268 * src/hildon-bread-crumb-trail.h
6269 * src/hildon-date-editor.c
6270 * src/hildon-date-selector.c
6271 * src/hildon-pannable-area.c
6272 * src/hildon-picker-dialog.c
6273 * src/hildon-time-selector.c
6274 * src/hildon-touch-selector-entry.c
6275 * src/hildon-touch-selector.c
6276 * src/hildon-touch-selector.h: Misc documentation fixes
6278 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6280 * examples/hildon-date-editor-example.c (main): Updated date
6283 * examples/hildon-note-example.c (on_confirmation_clicked):
6284 Updated confirmation note example.
6286 * src/hildon-date-editor.c
6287 * src/hildon-note.c: Updated sample programs in documentation.
6290 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6292 * src/hildon-date-button.h:
6293 * src/hildon-picker-button.h:
6294 * src/hildon-time-button.c:
6295 * src/hildon-time-button.h:
6297 Some declarations changes to allow gtk-doc to document the widgets
6300 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6302 * src/hildon-date-button.c: Document the widget.
6303 * src/hildon-time-button.c: Document the widget.
6305 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6307 * src/hildon-picker-button.c: Document the widget.
6308 * src/hildon-touch-selector-entry.c: Document the widget.
6310 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6312 * doc/hildon-docs.sgml
6315 * src/hildon-check-button.h
6316 * src/hildon-check-button.c: New functions to create the Hildon
6320 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6322 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6324 * src/hildon-button.h
6325 * src/hildon-button.c
6326 (hildon_button_add_title_size_group)
6327 (hildon_button_add_value_size_group)
6328 (hildon_button_add_image_size_group)
6329 (hildon_button_add_size_groups): New functions to set size groups
6330 for the button labels and image.
6331 (hildon_button_new_full): Removed
6333 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6335 * src/hildon-time-selector.c
6336 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6337 in order to avoid a crash if gconf is not available
6339 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6341 * src/hildon-button.c (hildon_button_set_arrangement)
6342 (hildon_button_construct_child): Don't construct the button child
6343 before setting the arrangement.
6345 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6347 * src/hildon-program-private.h
6348 * src/hildon-program.c
6349 * src/hildon-program.h
6350 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6351 (hildon_program_peek_window_stack)
6352 (hildon_program_pop_window_stack)
6353 (hildon_program_go_to_root_window): HildonProgram now has a
6354 separate list for stackable windows. Functions are provided to
6355 manage that list with a stack-like API.
6357 * src/hildon-stackable-window.c: Stackable window management is
6358 now much simpler with the new HildonProgram API. Windows no
6359 longer need to be manually added to the program, they're
6360 automatically pushed to the top of the stack when shown.
6362 * examples/hildon-stackable-window-example.c: Updated example to
6363 reflect the API changes.
6365 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6367 * src/hildon-touch-selector.c: Comment out unimplemented
6368 hildon_touch_selector_insert_column() to avoid a compile warning.
6370 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6372 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6373 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6374 (hildon_touch_selector_set_column_selection_mode),
6375 (_hildon_touch_selector_set_model),
6376 (hildon_touch_selector_set_model):
6378 Complete review of HildonTouchSelector documentation.
6380 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6382 * doc/hildon-docs.sgml
6386 * src/hildon-gtk.c: Convenience functions for standard Gtk
6387 widgets, used to easily perform frequent operations.
6389 * src/hildon-button-helpers.h
6390 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6392 * src/hildon-helper.h
6393 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6394 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6396 * src/hildon-button.h
6397 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6399 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6401 * src/hildon-button.c (hildon_button_init)
6402 (hildon_button_set_arrangement, hildon_button_construct_child):
6403 Pack the image and the labels inside the same GtkAlignment so
6404 gtk_button_set_alignment() can be used
6406 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6408 * src/hildon-button.h
6409 * src/hildon-button.c
6410 (hildon_button_init, hildon_button_set_image)
6411 (hildon_button_set_image_position)
6412 (hildon_button_construct_child): New functions to add an image to
6415 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6417 * src/hildon-date-button.c
6418 * src/hildon-picker-button.c
6419 * src/hildon-time-button.c
6420 * src/hildon-button.c:
6421 (hildon_button_class_init): "size-flags" renamed to "size"
6422 (hildon_button_set_title): Hide the title label if set to NULL.
6424 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6426 HildonButtonFlags split into HildonButtonArrangement (to set the
6427 button layout) and HildonSizeType (which can be used for any
6430 * src/hildon-button.h
6431 * src/hildon-button.c
6432 (hildon_button_class_init)
6433 (hildon_button_set_arrangement)
6434 (hildon_button_set_property): New "size-flags"
6435 property. "arrangement-flags" renamed to "arrangement".
6436 (hildon_button_new, hildon_button_new_with_text)
6437 (hildon_button_new_full): Constructors updated to reflect type changes.
6439 * src/hildon-helper.h
6440 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6441 to set the size of a widget.
6445 * src/hildon-button-helpers.c
6446 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6448 * src/hildon-date-button.c
6449 * src/hildon-date-button.h
6450 * src/hildon-picker-button.c
6451 * src/hildon-picker-button.h
6452 * src/hildon-time-button.c
6453 * src/hildon-time-button.h: Updated widgets to reflect
6454 HildonButton API changes.
6456 * examples/hildon-button-example.c
6457 * examples/hildon-date-button-example.c
6458 * examples/hildon-picker-button-example.c
6459 * examples/hildon-picker-button-multicolumn-example.c
6460 * examples/hildon-time-button-example.c
6461 * examples/hildon-touch-selector-entry-example.c
6462 * examples/hildon-touch-selector-example.c: Updated examples to
6463 reflect HildonButton API changes.
6465 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6467 * doc/hildon-docs.sgml:
6469 * examples/Makefile.am:
6470 * examples/hildon-touch-selector-entry-example.c:
6472 * src/hildon-touch-selector-entry.c:
6473 * src/hildon-touch-selector-entry.h:
6476 Moved HildonTouchSelectorEntry from sandbox. Added its
6477 documentation and examples.
6479 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6481 * src/hildon-touch-selector.h:
6482 * examples/hildon-picker-button-multicolumn-example.c:
6483 (hildon_touch_selector_append_text_column): Add a gboolean
6484 parameter to determine if text must be centered in the column.
6486 * src/hildon-date-selector.c: (hildon_date_selector_init):
6487 * src/hildon-time-selector.c: (hildon_time_selector_init):
6488 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6489 (create_touch_selector): Update widgets and example to reflect
6492 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6494 * src/hildon-touch-selector.c:
6495 (hildon_touch_selector_set_active_iter): Set also the cursor in
6498 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6500 * doc/hildon-docs.sgml
6503 * src/hildon-toggle-button.c
6504 * src/hildon-toggle-button.h
6505 * src/hildon.h: Removed HildonToggleButton widget, a derived
6506 class is not necessary for this.
6508 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6510 * src/hildon-pannable-area.c,
6511 (hildon_pannable_area_realize),
6512 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6515 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6517 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6518 "done" button the default widget for the dialog.
6520 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6522 * src/hildon-touch-selector.c:
6523 (hildon_touch_selector_class_init),
6524 (hildon_touch_selector_get_property),
6525 (_hildon_touch_selector_set_model),
6526 (_hildon_touch_selector_has_multiple_selection),
6527 (hildon_touch_selector_has_multiple_selection):
6528 Add a "has-multiple-selection" property with a virtual
6529 has_multiple_selection() method to allow derived classes to
6530 override the default value for it. See the method and property
6531 documentation for details.
6533 * src/hildon-touch-selector.h: Add the new API.
6535 * src/hildon-picker-dialog.c: (requires_done_button): Call
6536 hildon_touch_selector_has_multiple_selection() instead of
6537 determining the need for a button itself.
6539 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6541 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6542 (_hildon_touch_selector_set_model),
6543 (hildon_touch_selector_set_model): Move working code to
6544 _hildon_touch_selector_set_mode(). Call the class method instead.
6546 * src/hildon-touch-selector.h: Add (*set_model) to
6547 HildonTouchSelectorClass.
6549 Make hildon_touch_selector_set_model() a virtual method, so that
6550 derived classes can extend it and do fancy stuff with the model.
6552 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6554 * configure.ac: Set back the tarname in AC_INIT to hildon.
6556 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6560 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6561 instead of libesd (NB#86876). Volume handling is still an open issue.
6563 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6566 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6568 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6569 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6570 derived class to ease placement of an entry widget in
6571 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6572 end, where the selector columns are packed now.
6574 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6576 * src/hildon-picker-button.c: Removed the simple _text() API.
6577 * src/hildon-picker-button.h: Likewise.
6579 * src/hildon-touch-selector.h:
6580 * src/hildon-touch-selector.c:
6581 (hildon_touch_selector_new_text),
6582 (hildon_touch_selector_append_text),
6583 (hildon_touch_selector_prepend_text),
6584 (hildon_touch_selector_insert_text):
6586 Moved the simple _text() API from HildonPickerButton to
6587 HildonTouchPicker, to provide better escalability and not to tie
6588 that API to HildonPickerButton.
6590 * examples/hildon-picker-button-example.c: (main): Example updated.
6592 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6594 * src/hildon-button.c: Updated documentation.
6596 * examples/hildon-button-example.c: Add the posibility to create
6597 the buttons using horizontal layout for title and value.
6599 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6601 * src/hildon-app-menu-private.h
6602 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6603 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6604 GtkSizeGroup for the filters, use the 'homogeneous' property of
6607 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6609 * examples/hildon-button-example.c: Updated example.
6611 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6613 * doc/hildon-docs.sgml:
6616 Update documentation.
6618 * examples/Makefile.am: Update renamed examples.
6620 * examples/hildon-picker-button-multicolumn-example.c:
6621 (create_touch_selector), (main): Update after the rename.
6623 * examples/hildon-touch-picker-example.c: Removed.
6624 * examples/hildon-touch-selector-example.c: (value_changed),
6625 (create_selector), (get_visible_content), (main): Renamed from
6626 hildon-touch-picker-example.c
6628 * src/Makefile.am: Updated renamed files.
6630 * src/hildon-date-button.c: (hildon_date_button_init),
6631 (hildon_date_button_get_date), (hildon_date_button_set_date):
6632 * src/hildon-date-selector.c: (hildon_date_selector_init),
6633 (_custom_print_func), (_update_day_model),
6634 (_manage_selector_change_cb),
6635 (hildon_date_selector_select_current_date),
6636 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6637 * src/hildon-date-selector.h:
6638 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6639 (hildon_picker_button_set_property),
6640 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6641 (hildon_picker_button_init), (hildon_picker_button_new_text),
6642 (hildon_picker_button_append_text),
6643 (hildon_picker_button_prepend_text),
6644 (hildon_picker_button_insert_text),
6645 (hildon_picker_button_set_selector),
6646 (hildon_picker_button_get_selector):
6647 * src/hildon-picker-button.h:
6648 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6649 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6650 (_update_title_on_selector_changed_cb), (requires_done_button),
6651 (_hildon_picker_dialog_set_selector),
6652 (hildon_picker_dialog_set_selector),
6653 (hildon_picker_dialog_get_selector):
6654 * src/hildon-picker-dialog.h:
6655 * src/hildon-time-button.c: (hildon_time_button_init),
6656 (hildon_time_button_get_time), (hildon_time_button_set_time):
6657 * src/hildon-time-selector.c: (hildon_time_selector_init),
6658 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6659 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6660 * src/hildon-time-selector.h:
6663 Massive code updates after the rename.
6665 * src/hildon-touch-picker.c: Removed.
6666 * src/hildon-touch-picker.h: Removed.
6668 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6669 (hildon_touch_selector_init), (hildon_touch_selector_map),
6670 (hildon_touch_selector_remove), (_default_print_func),
6671 (_selection_changed_cb), (_create_new_column),
6672 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6673 (hildon_touch_selector_append_text_column),
6674 (hildon_touch_selector_remove_column),
6675 (hildon_touch_selector_set_column_attributes),
6676 (hildon_touch_selector_insert_column),
6677 (hildon_touch_selector_get_num_columns),
6678 (hildon_touch_selector_get_column_selection_mode),
6679 (hildon_touch_selector_set_column_selection_mode),
6680 (hildon_touch_selector_set_print_func),
6681 (hildon_touch_selector_get_print_func),
6682 (hildon_touch_selector_get_active_iter),
6683 (hildon_touch_selector_set_active_iter),
6684 (hildon_touch_selector_get_selected_rows),
6685 (hildon_touch_selector_get_model),
6686 (hildon_touch_selector_set_model),
6687 (hildon_touch_selector_get_current_text),
6688 (_hildon_touch_selector_center_on_selected_items):
6689 * src/hildon-touch-selector.h: Renamed from
6690 hildon-touch-picker.[ch]
6692 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6693 references, code examples, and related documentation.
6695 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6697 * doc/hildon-docs.sgml
6700 * src/hildon-toggle-button.c
6701 * src/hildon-toggle-button.h
6702 * src/hildon.h: New HildonToggleButton widget.
6704 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6706 * src/hildon-button.c: Add API documentation.
6707 (hildon_button_set_size_groups): Check input parameters
6709 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6711 * src/hildon-pannable-area.c
6712 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6713 effect after reaching the movement thredshold. This way we start
6714 using the distance after passing the thredshold.
6716 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6718 * src/hildon-button.c: (hildon_button_set_property): Use the
6719 appropriate g_value_get_flags() method.
6721 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6723 * doc/hildon-docs.sgml:
6726 Add the touch pickers, picker dialogs, and picker button widgets
6727 to the documentation.
6729 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6731 * src/hildon-button.c: (hildon_button_set_property),
6732 (hildon_button_class_init): Make "arrangement-flags" a proper
6733 G_TYPE_FLAGS derived property.
6735 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6737 * examples/Makefile.am: Add below examples.
6738 * examples/hildon-date-button-example.c:
6739 * examples/hildon-picker-button-example.c:
6740 * examples/hildon-picker-button-multicolumn-example.c:
6741 * examples/hildon-time-button-example.c:
6742 * examples/hildon-touch-picker-example.c:
6744 Add examples for the recently added touch pickers,
6745 picker dialogs, and picker button widgets.
6747 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6749 * src/hildon-button.c: Add some API documentation
6751 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6753 * src/hildon-button.h
6754 * src/hildon-button.c
6756 (hildon_button_new_with_text): New constructor to create a button
6757 with no text at all.
6758 (hildon_button_init, hildon_button_set_arrangement)
6759 (hildon_button_set_title, hildon_button_set_value)
6760 (hildon_button_set_text)
6761 (hildon_button_construct_child): Hide the value when it's not used
6762 so the rest of the text is properly aligned.
6763 Allow creating buttons with arbitrary widgets inside (not just
6764 title/value labels).
6766 * examples/hildon-button-example.c (vertical_buttons_window)
6767 (horizontal_buttons_window): Update example to use new API.
6769 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6771 * src/Makefile.am: Added HildonTimeButton.
6772 * src/hildon-time-button.c: Added missing LGPL header.
6773 * src/hildon-time-button.h: Added missing LGPL header.
6774 * src/hildon.h: Add hildon-time-button.h
6776 Copied HildonTimeButton from sandbox to trunk. Future work on this
6777 widget must take place in trunk.
6779 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6781 * src/Makefile.am: Added HildonDateButton.
6782 * src/hildon-date-button.c: Update includes.
6783 * src/hildon.h: Add hildon-date-button.h
6785 Copied HildonDateButton from sandbox to trunk. Future work on this
6786 widget must take place in trunk.
6788 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6790 * src/Makefile.am: Added HildonPickerButton.
6791 * src/hildon-picker-button.h: Update includes.
6792 * src/hildon.h: Add hildon-picker-button.h
6794 Copied HildonPickerButton from sandbox to trunk. Future work on
6795 this widget must take place in trunk.
6797 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6799 * src/Makefile.am: Added HildonPickerDialog.
6800 * src/hildon-picker-dialog.c: Update includes.
6801 * src/hildon.h: Add hildon-picker-dialog.h
6803 Copied HildonPickerDialog from sandbox to trunk. Future work
6804 on this widget must take place in trunk.
6806 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6808 * src/Makefile.am: Added HildonTimeSelector.
6809 * src/hildon.h: Add hildon-time-selector.h
6811 Copied HildonTimeSelector widget from sandbox to trunk. Future
6812 work on this widget must happen in trunk.
6814 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6816 * src/Makefile.am: Added HildonDateSelector.
6817 * src/hildon.h: Add hildon-date-selector.h
6819 Copied HildonDateSelector widget from sandbox to trunk. Future
6820 work on this widget must happen in trunk.
6822 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6824 * src/Makefile.am: Added HildonTouchPicker.
6825 * src/hildon-touch-picker.c: Update includes.
6826 * src/hildon.h: Add hildon-touch-picker.h
6828 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6829 on this widget must happen in trunk.
6831 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6833 * src/hildon-pannable-area.c:
6834 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6836 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6838 * examples/hildon-app-menu-example.c (main): Let the window
6841 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6843 * src/hildon-pannable-area.c
6844 (hildon_pannable_area_class_init): Set the min value of the
6845 overshoot properties to zero, which points out that not
6846 overshooting allowed.
6848 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6850 Modified the procedure to get the widget at a point inside the
6851 pannable area when using the movement type signals. Now the user
6852 has to call a function to get the child, that way we just
6853 calculate the child in case the user really want to use it and not
6856 * src/hildon-marshalers.list: Modified the marshallers, now we do
6857 not have the widget as a parameter.
6859 * src/hildon-pannable-area.c
6860 (hildon_pannable_area_motion_notify_cb),
6861 (hildon_pannable_area_class_init),
6862 (hildon_pannable_get_child_widget_at): Removed the widget
6863 parameter from the signal callback. We have also refactored the
6864 emission of the signals.
6866 * src/hildon-pannable-area.h: Added a new method to the API to
6867 calculate a widget at a point inside the pannable area,
6868 hildon_pannable_get_child_widget_at.
6870 * examples/hildon-pannable-area-example-4.c
6871 (horizontal_movement): Modified the example to use the new API,
6872 added condition to control which widget is under the event. This
6873 way we can avoid scrolling laterally over other widgets.
6875 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6877 * src/hildon-pannable-area.c
6878 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6879 modes, we stop getting the pointer events due to returning the
6880 callback without properly calling the get pointer again. Fixed
6881 also an error using the hscroll and vscroll.
6883 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6885 * src/hildon-app-menu-private.h
6886 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6887 (hildon_app_menu_button_release, hildon_app_menu_init)
6888 (hildon_app_menu_class_init): Don't hide the menu on button
6889 release if the user didn't press outside first.
6891 * src/hildon-window.h
6892 * src/hildon-window.c (hildon_window_toggle_menu)
6893 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6894 hildon_window_toggle_menu a virtual function for the stackable
6895 window to override it.
6897 * src/hildon-stackable-window.h
6898 * src/hildon-stackable-window-private.h
6899 * src/hildon-stackable-window.c
6900 (hildon_stackable_window_realize)
6901 (hildon_stackable_window_finalize)
6902 (hildon_stackable_window_class_init)
6903 (hildon_stackable_window_init)
6904 (hildon_stackable_window_set_main_menu): New function to set the
6905 app menu of a HildonStackableWindow.
6907 * examples/hildon-app-menu-example.c: Remove the button to show
6908 the app menu, now it'll be shown when clicking on the title bar
6911 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6913 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6914 set the widget name if the arrangement flags do not specify
6917 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6919 * src/hildon-button.c: (hildon_button_set_property),
6920 (hildon_button_class_init), (hildon_button_new_full),
6921 (hildon_button_set_arrangement): Added "arrangement-flags"
6924 Make the HildonButtonFlags a construction-only property, to allow
6925 subclasses to set them properly.
6927 2008-07-21 Tim Janik <timj@imendio.com>
6929 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6930 insertion position after backspace, so additional digits are appended,
6933 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6935 * src/hildon-pannable-area.c,
6936 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6937 TODO list, it was complete and removed the g_debug and g_print
6940 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6942 Added the movement modes to the hildon-pannable-area, with this
6943 modes the developers can control in which directions the widget
6944 can scroll. They can also connect to signals in order to do
6945 something when that happens, allowing applications scroll. There
6946 is an example uploaded showing how to use it.
6948 * examples/Makefile.am:
6949 * examples/hildon-pannable-area-example-4.c: Added this example of
6950 an application using the modes.
6952 * src/hildon-marshalers.list: Added a new marshaller for the new
6955 * src/hildon-pannable-area.h: Added new enumerations and flags in
6956 order to control the movement modes and the new signals to warn
6957 about the movements in the area.
6959 * src/hildon-pannable-area.c:
6960 (hildon_pannable_axis_scroll),
6961 (hildon_pannable_area_scroll),
6962 (hildon_pannable_area_motion_notify_cb),
6963 (hildon_pannable_area_get_property),
6964 (hildon_pannable_area_set_property),
6965 (hildon_pannable_area_map),
6966 (hildon_pannable_area_class_init),
6967 (hildon_pannable_area_init),
6968 (hildon_pannable_area_jump_to): Added the modes to control the
6969 movement in the widget. We have added properties to control it,
6970 signals to warn about the movements and refactored some code.
6972 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6974 Changes required in order to allow vfast_factor set to zero to
6977 * src/hildon-pannable-area.c:
6978 (hildon_pannable_area_button_press_cb): Changed the condition, it
6979 is required for not allowing click when vfast_factor is zero.
6980 (hildon_pannable_area_timeout): Initialized velocity variables
6981 when we stop moving, it was less than 1 but not zero and we need
6982 to check zero in some situations.
6983 (hildon_pannable_area_class_init): Changed the default value of
6984 the speed factor, now the button_press is just sent in case the
6985 speed is 2 per cent of the max speed.
6986 (hildon_pannable_area_init): Initialization with 0.
6988 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6990 * src/hildon-pannable-area.c,
6991 (hildon_pannable_area_get_topmost): replaced
6992 gdk_window_get_children with gdk_window_peek_children, this way we
6993 do not have to free the list because it is not a copy.
6995 (hildon_pannable_axis_scroll),
6996 (hildon_pannable_area_scroll),
6997 (hildon_pannable_area_timeout),
6998 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6999 two parameters that were only used inside the
7000 hildon_pannable_area_scroll function.
7002 * examples/hildon-pannable-area-example.c,
7003 (get_sawtooth_label): Fixed small memory leak.
7005 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7007 More checks for the case where the overshoot is bigger than the
7010 * src/hildon-pannable-area.c:
7011 (hildon_pannable_draw_vscroll),
7012 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7013 to draw the slider of the scrollbar under the other scrollbar.
7014 (hildon_pannable_area_expose_event): added new checks to control
7015 the drawing of the overshooting area rectangle, in case it is too
7016 big for the area of the widget.
7017 (hildon_pannable_area_size_allocate): add more checks to avoid
7018 setting a position to the child widget outside the area.
7020 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7022 * src/hildon-pannable-area.c
7023 (hildon_pannable_area_size_allocate): Added conditions to control
7024 when overshooting is bigger than the allocated space for the
7025 children, this avoids negative allocations.
7027 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7029 * doc/hildon-docs.sgml
7031 * examples/Makefile.am
7032 * examples/hildon-button-example.c
7034 * src/hildon-button.c
7035 * src/hildon-button.h
7036 * src/hildon.h: Initial version of the new HildonButton widget,
7039 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7041 * src/hildon-pannable-area.c:
7042 (hildon_pannable_area_button_press_cb),
7043 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7044 (hildon_pannable_area_motion_notify_cb),
7045 (hildon_pannable_area_button_release_cb),
7046 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7047 (hildon_pannable_area_jump_to_child):
7049 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7051 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7053 * examples/Makefile.am
7054 * examples/hildon-pannable-area-touch-grid-example.c
7055 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7056 the Hildon Touch List and Hildon Touch Grid using the
7057 HildonPannableArea widget.
7059 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7061 * src/hildon-pannable-area.c,
7062 (hildon_pannable_area_button_press_cb),
7063 (hildon_pannable_area_refresh),
7064 (hildon_pannable_area_scroll),
7065 (hildon_pannable_area_motion_notify_cb),
7066 (hildon_pannable_area_button_release_cb),
7067 (hildon_pannable_area_expose_event),
7068 (hildon_pannable_area_add),
7069 (hildon_pannable_area_remove),
7070 (hildon_pannable_area_realize),
7071 (hildon_pannable_area_size_allocate),
7072 (hildon_pannable_area_class_init),
7073 (hildon_pannable_area_init),
7074 (hildon_pannable_area_scroll_to_child),
7075 (hildon_pannable_area_jump_to_child): Fixed the problem of
7076 removing the child from the GtkBin, we have rearranged the widget
7077 hierarchy, now there is no GtkAlignment which was not doing
7078 anything interesting but breaking some of the assumptions of
7079 GtkContainer. Now developers if they want to add a GtkAlignment
7080 they could, but it is not inside the area.
7082 We had to review the whole allocation/expose process, now it is
7083 improved and we save at least three signals which would be saving
7084 some time when rendering the widget. The allocation of the
7085 scrollbars is now made in the allocate method as usual.
7087 We have also added some conditions in order to control when there
7088 is no child of the pannable area. Maybe we will need more work
7091 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7093 * src/hildon-pannable-area.c,
7094 (hildon_pannable_area_dispose): Released the fade-out timeout when
7095 disposing the widget.
7097 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7099 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7100 zero, we are going to use that property in order to deactivate the
7102 (hildon_pannable_axis_scroll),
7103 (hildon_pannable_area_size_allocate): Added conditions to control
7104 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7105 call, now it is called in all situations and we can remove calls
7106 in the allocate method.
7107 (hildon_pannable_area_map): Control the situation when
7108 overshoot_max is zero, we do not need the timeout.
7109 (hildon_pannable_area_class_init): Added documentation in order to
7110 point out that setting zero to overshoot_max means deactivate
7113 NOTE: removed trailing whitespaces from my previous comments of
7116 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7118 * src/hildon-pannable-area.c
7119 (hildon_pannable_area_get_property),
7120 (hildon_pannable_area_set_property),
7121 (hildon_pannable_area_map),
7122 (hildon_pannable_area_class_init),
7123 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7124 to cause the widget give a hint about its panning abilities upon
7127 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7129 * src/hildon-pannable-area.c: Several documentation improvements.
7131 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7133 * src/hildon-program.c
7134 * src/hildon-stackable-window.c: Update documentation.
7136 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7138 * src/hildon-stackable-window.c (get_previous_window_if_last):
7139 Renamed get_last_window()
7140 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7141 (hildon_stackable_window_unset_program):
7143 (get_previous_window_if_last):
7144 Detect if the window hasn't been added to a HildonProgram.
7146 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7148 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7150 * src/hildon-pannable-area.c
7151 (hildon_pannable_area_button_press_cb),
7152 (hildon_pannable_axis_scroll),
7153 (hildon_pannable_area_scroll),
7154 (hildon_pannable_area_timeout),
7155 (hildon_pannable_calculate_vel_factor),
7156 (hildon_pannable_area_get_property),
7157 (hildon_pannable_area_set_property),
7158 (hildon_pannable_area_class_init),
7159 (hildon_pannable_area_init),
7160 (hildon_pannable_area_scroll_to),
7161 (hildon_pannable_area_jump_to),
7162 (hildon_pannable_area_scroll_to_child),
7163 (hildon_pannable_area_jump_to_child):
7164 * src/hildon-pannable-area.h: Added the new API functions:
7165 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7166 hildon_pannable_area_scroll_to_child,
7167 hildon_pannable_area_jump_to_child
7170 * examples/Makefile.am
7171 * examples/hildon-pannable-area-example-2.c
7172 * examples/hildon-pannable-area-example-3.c: Added these two new
7173 examples in order to test and show how the new APIs work.
7175 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7177 * examples/hildon-stackable-window-example.c (new_window):
7178 * src/Makefile.am (noinst_HEADERS):
7179 * src/hildon-program.c (hildon_program_go_to_root_window):
7180 * src/hildon-program.h:
7181 * src/hildon-stackable-window-private.h:
7182 * src/hildon-stackable-window.c:
7183 * src/hildon-stackable-window.h:
7184 Create hildon-stackable-window-private.h
7185 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7187 * examples/hildon-app-menu-example.c (create_menu):
7188 * examples/hildon-hvolumebar-insensitive-example.c (main):
7189 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7190 * examples/hildon-toolbar-seekbar-example.c (main):
7191 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7192 * src/hildon-banner.c (hildon_banner_set_property):
7193 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7194 Fix compilation warnings
7196 * src/hildon-window.c:
7199 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7201 * src/hildon-stackable-window.c
7202 (hildon_stackable_window_unset_program):
7203 Calculate correctly whether to show the previous window if the
7204 last one is removed from the stack.
7205 (hildon_stackable_window_go_to_root_window):
7206 Send delete events starting from the topmost window.
7207 Stop if one of the windows is not destroyed.
7209 (hildon_stackable_window_delete_event)
7210 (hildon_stackable_window_class_init):
7211 Ignore the delete event if the window is not the topmost one.
7213 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7215 * src/hildon-pannable-area.c
7216 (hildon_pannable_area_expose_event): Fixed a problem when
7217 selecting the background color of the scrollbars.
7219 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7221 * examples/hildon-stackable-window-example.c
7222 * src/hildon-stackable-window.c
7223 * src/hildon-stackable-window.h
7224 hildon_stackable_window_go_home() renamed to
7225 hildon_stackable_window_go_to_root_window()
7226 Send delete events to windows rather than closing them with
7227 gtk_widget_destroy()
7229 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7231 * src/hildon-pannable-area.c
7232 (hildon_pannable_area_button_release_cb): Fix overshooting in
7235 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7237 * src/hildon-pannable-area.c
7238 (hildon_pannable_area_init): Initially show the scroll indicators.
7239 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7241 Add initial effect showing the widget is pannable.
7243 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7245 * src/hildon-pannable-area.c
7246 (hildon_pannable_area_class_init)
7247 (hildon_pannable_area_set_property)
7248 (hildon_pannable_area_get_property)
7249 (hildon_pannable_area_button_press_cb):
7250 New 'velocity_fast_factor' property to decide which velocity is
7253 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7255 * src/hildon-pannable-area.c
7256 (hildon_pannable_draw_hscroll)
7257 (hildon_pannable_draw_vscroll):
7258 Use float variables to calculate the size of the scrollbars to
7259 avoid error propagation and resizing during scrolling.
7261 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7263 * src/hildon-pannable-area.c
7264 (hildon_pannable_draw_vscroll)
7265 (hildon_pannable_draw_hscroll):
7266 Define a minimum size for the scroll bars
7268 * src/hildon-stackable-window.c
7269 (hildon_stackable_window_go_home): Fix compilation warning
7270 (get_last_window): Minor optimizations
7271 (hildon_stackable_window_class_init): Fix initialization of
7274 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7276 * src/hildon-stackable-window.c: Fixed typos in doc
7278 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7280 * src/hildon-pannable-area.c
7281 (hildon_pannable_area_scroll):
7282 Calculate here whether we need to scroll instead of using the booleans
7283 that tell us whether to /draw/ the scrolling bars.
7285 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7287 * src/hildon-app-menu.h
7289 * src/hildon-app-menu.c
7290 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7291 multiple filter groups related code and API. Now we support only
7293 * examples/hildon-app-menu-example.c:
7295 Update to reflect API changes.
7297 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7299 * src/hildon-stackable-window.c
7300 (hildon_stackable_window_class_init):
7301 Add hildon_stackable_window_realize.
7302 (hildon_stackable_window_realize):
7303 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7304 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7305 to apply theming and behavior specific to HildonStackableWindow
7308 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7310 * src/hildon-note.c (hildon_note_button_release):
7311 Close information notes also when tapping on them
7313 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7315 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7316 ELASTICITY, refactor and review, fix some issues with drawing
7319 * src/hildon-pannable-area.c:
7320 (hildon_pannable_area_button_press_cb): removed the conditions to
7321 avoid clicks when overshooting. It is not required
7323 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7324 define. Refatored and reviewed the code, now we do not need to
7325 manage velocity in motion_notify.
7327 (hildon_pannable_area_motion_notify_cb): We have moved the code
7328 that controls the area_scroll to the axis_scroll function and get
7329 rid of duplicated code.
7331 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7333 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7335 (hildon_pannable_draw_vscroll),
7336 (hildon_pannable_draw_hscroll): Fixed the problems with the
7337 scrollbar drawing, now we do not use two surfaces, it is easier
7338 and saves resources.
7340 (hildon_pannable_area_get_property): Style modification.
7342 (hildon_pannable_area_class_init): Changed some default values.
7344 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7346 * src/hildon-stackable-window.c: Fix some typos in the
7349 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7351 * src/hildon-dialog.c:
7352 Change indentation style
7355 (hildon_note_button_release):
7356 Use root coordinates to check if the release event happened
7359 * src/hildon-app-menu.c
7360 (hildon_app_menu_button_release):
7361 Remove unnecessary check
7363 * examples/hildon-app-menu-example.c
7365 Add cast to fix warning
7367 * src/hildon-app-menu.c
7368 (hildon_app_menu_class_init):
7369 New inner-border style property.
7370 Set all default spacings to 16
7371 (hildon_app_menu_init):
7372 Use vertical-spacing to set the space between filter buttons and
7373 regular menu buttons.
7374 Set the default container border using the inner-border value.
7376 * examples/hildon-app-menu-example.c
7378 Don't set the menu border explicitly, now we have the inner-border
7379 style property for that.
7381 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7383 * src/hildon-app-menu.c (hildon_app_menu_init):
7384 Make the window modal
7386 * src/hildon-note.c (hildon_note_map)
7387 * src/hildon-app-menu.c (hildon_app_menu_map):
7388 Destroy the grab window if we're unable to grab the pointer
7390 * src/hildon-app-menu-private.h
7391 * src/hildon-app-menu.c
7392 (hildon_app_menu_init, hildon_app_menu_finalize)
7393 (hildon_app_menu_map, hildon_app_menu_unmap)
7394 (hildon_app_menu_button_release)
7395 (grab_transfer_window_get):
7396 Bring back the grab window
7397 (hildon_app_menu_realize):
7398 Decorate the window, set WM hint for Matchbox
7400 * src/hildon-note.c (hildon_note_realize):
7401 * src/hildon-banner.c (hildon_banner_realize):
7402 Add WM hints for Matchbox
7404 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7406 * src/hildon-app-menu-private.h
7407 * src/hildon-app-menu.c
7408 (hildon_app_menu_init, hildon_app_menu_finalize)
7409 (hildon_app_menu_map, hildon_app_menu_unmap)
7410 (hildon_app_menu_button_release):
7411 Remove the grab window, it's not needed anymore
7413 * src/hildon-program.c
7414 Fixed typo in documentation
7416 * src/hildon-app-menu.h
7417 * src/hildon-app-menu.c
7418 * examples/hildon-app-menu-example.c
7419 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7421 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7424 Added new transfer_window and close_if_pressed_outside private
7426 (hildon_note_rebuild):
7427 Don't add a cancel button to the information note. It will be
7428 closed when tapping outside
7429 Remove the comment about the OK button in the documentation
7430 (hildon_note_realize):
7431 Set the notification type hint
7432 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7433 Grab/ungrab pointer and keyboard if the note has to be closed when
7435 (hildon_note_button_release):
7436 Close the note when tapping outside (if applicable)
7438 * src/hildon-app-menu.c
7439 Grab/ungrab pointer and keyboard on map/unmap
7440 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7441 Close the menu on button release, not button press
7443 * src/hildon-banner.c
7444 (hildon_banner_set_property)
7445 (hildon_banner_check_position):
7446 Make the banner use the full width of the screen
7447 (hildon_banner_show_information)
7448 (hildon_banner_show_information_with_markup):
7449 Don't display an icon by default
7451 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7453 Added fading scrollbars and adapted all the overshooting code to
7454 horizontal scrolling. We have also fixed bugs with overshooting
7455 and current fading implementation.
7457 * src/hildon-pannable-area.c
7458 (hildon_pannable_area_scroll_indicator_fade): Time out function
7459 used to change the transparency of the scrollbars.
7461 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7462 control and fixed a problem with fading, we now remove the fade
7463 timeout before adding a new one.
7465 (hildon_pannable_axis_scroll):
7466 (hildon_pannable_area_scroll):
7467 (hildon_pannable_area_timeout): Added this functions so we can use
7468 the scroll code both for vertical and horizontal.
7470 (hildon_pannable_area_motion_notify_cb):
7471 (hildon_pannable_area_button_release_cb): Added the horizontal
7472 scrolling control, fixed a problem with the overshooting timeout.
7474 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7475 painting of the scrolls.
7477 (hildon_pannable_draw_vscroll):
7478 (hildon_pannable_draw_hscroll):
7479 (hildon_pannable_area_expose_event):
7480 Draw both scrollbars and rectangles in the overshooting area.
7482 (hildon_pannable_area_get_property):
7483 (hildon_pannable_area_set_property):
7484 Modified the overshoot property to overshoot_max
7486 (hildon_pannable_area_map):
7487 Replaced the comments symbols.
7489 (hildon_pannable_area_size_allocate):
7490 (hildon_pannable_area_class_init):
7491 (hildon_pannable_area_init): Added horizontal scroll, fading
7492 effect properties, fixed a problem when overshooting in the bottom
7495 * examples/hildon-pannable-area-example.c:
7496 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7497 looks better in the example.
7499 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7501 * src/hildon-window.c
7502 * src/hildon-window.h
7503 (hildon_window_class_init)
7504 (hildon_window_unset_program)
7505 (hildon_window_unset_program_real):
7506 Make unset_program a virtual function
7508 * src/hildon-stackable-window.c
7509 * src/hildon-stackable-window.h
7510 Added hildon_stackable_window_go_home()
7512 * examples/Makefile.am
7513 * examples/hildon-stackable-window-example.c
7514 HildonStackableWindow example
7516 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7518 * hildon-pannable-area.c: Added the overshoot property and removed
7519 the OVERSHOOT define. Fixed an indent style error.
7520 (hildon_pannable_area_motion_notify_cb):
7521 (hildon_pannable_area_get_property):
7522 (hildon_pannable_area_set_property): Add overshoot property.
7524 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7527 (hildon_pannable_area_class_init): Installed the new property.
7529 * hildon-pannable-area-example.c: Added a sawtooth function, this
7530 way it is easier to check the movement in the pannable.
7531 (get_sawtooth_label): Added this function.
7532 (main): Now we get the labels from the new get_sawtooth_label
7535 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7537 * src/hildon-app-menu.h
7538 * src/hildon-app-menu.c
7539 Renamed API variables for consistency
7541 (hildon_app_menu_popup): Use also the default window size to
7542 decide where to place the menu
7544 (hildon_app_menu_init, hildon_app_menu_class_init): New
7545 external-border style property
7547 2008-05-26 Michael Natterer <mitch@imendio.com>
7549 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7550 widget_class->tap_and_hold_setup signal slot doesn't exist any
7551 longer, stop overriding it.
7553 (hildon_time_editor_init): g_signal_connect() to the
7554 tap-and-hold-setup signal instead.
7556 (hildon_time_editor_entry_keypress): add cast to fix warning.
7558 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7560 * doc/hildon-docs.sgml
7562 * examples/Makefile.am
7563 * examples/hildon-app-menu-example.c
7565 * src/hildon-app-menu-private.h
7566 * src/hildon-app-menu.c
7567 * src/hildon-app-menu.h
7569 New HildonAppMenu widget
7571 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7573 Rearranged the inheritance of the pannable area, now it inherits
7574 from GtkBin. This will allow us to control the event_window and
7575 the allocation process of the widget, required for some effects.
7577 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7578 GtkBin structures. * src/hildon-pannable-area.c: Added the
7579 event_window variable.
7580 (hildon_pannable_area_button_press_cb):
7581 (hildon_pannable_area_button_release_cb):
7582 (hildon_pannable_area_motion_notify_cb):
7583 Changed the signature of the method, now we override the event
7584 callback instead of connecting to the signal.
7586 (hildon_pannable_area_realize):
7587 (hildon_pannable_area_unrealize):
7588 (hildon_pannable_area_map):
7589 (hildon_pannable_area_unmap):
7590 (hildon_pannable_area_size_allocate):
7591 Added functions to control the widget construction. We add a
7592 INPUT_ONLY window and we put it over the widgets inside the
7593 container, this event_window handles the events.
7595 (hildon_pannable_area_class_init):
7596 Replaced the signal connections with overrides of the event
7599 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7601 Bouncing effect added when touching the borders, you can change
7602 the elasticity of the border changing the ELASTICITY define.
7604 * src/hildon-pannable-area.c: Added ELASTICITY define.
7605 (hildon_pannable_area_timeout): Added inverse velocity when
7606 touching the border of the child widget, that causes a bounce.
7608 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7610 Improved performance, we now do not go to the X server in order to
7611 get the list of window children. Apparently the effect is the
7612 same, we have to be careful and check if this breaks something in
7615 * src/hildon-pannable-area.c:
7616 (get_ordered_children): Removed this function.
7617 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7618 the children windows function with gdk_window_get_children.
7620 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7622 * src/hildon-pannable-area.c:
7623 (hildon_pannable_area_dispose): Fixed a crash when closing the
7624 window and kinetics is activated.
7626 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7628 * src/hildon-pannable-area.h
7629 * src/hildon-pannable-area.c
7630 Changed indentation style to meet the one used in Hildon
7632 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7634 Reviewed the interaction of the AUTO mode, now we use the time
7635 attribute of the events and calculate the velocity in the motion,
7636 doing a gimp like calculation. The velocity is calculated in each
7637 motion event using the last velocity and the current one, the
7638 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7640 * src/hildon-pannable-area.c: Replaced the time based algorithm
7642 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7643 timeout for the AUTO mode when we are still moving the cursor. We
7644 added also the velocity calculation in this function.
7645 (hildon_pannable_area_button_release_cb): launch the timeout in
7646 case we are in AUTO mode. There are still some constants here that
7647 come from the old implementation that should be reviewed and
7650 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7652 * doc/hildon-docs.sgml
7655 * src/hildon-stackable-window.c
7656 * src/hildon-stackable-window.h
7658 New HildonStackableWindow widget
7660 * examples/hildon-dialog-example.c
7661 * examples/hildon-pannable-area-example.c
7664 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7666 * src/hildon-dialog.c
7667 (hildon_dialog_new_with_buttons): New constructor.
7669 * examples/hildon-dialog-example.c
7670 (main): Update the example to use the new
7671 hildon_dialog_new_with_buttons().
7673 * examples/hildon-pannable-area-example.c
7674 (main): Update example.
7676 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7678 * doc/hildon-docs.sgml
7680 Added HildonPannableArea to the documentation.
7682 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7684 * doc/visual_index.xml
7685 Fix reference to HildonLoginDialog in documentation
7687 * doc/hildon-docs.sgml
7689 * examples/Makefile.am
7690 * examples/hildon-dialog-example.c
7692 * src/hildon-dialog.c
7693 * src/hildon-dialog.h
7695 New HildonDialog widget.
7697 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7699 * src/hildon-pannable-area.c
7700 Merge latest changes (r4318, r4342) from libmokoui trunk
7702 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7704 * examples/Makefile.am
7705 * examples/hildon-pannable-area-example.c
7707 * src/hildon-pannable-area.c
7708 * src/hildon-pannable-area.h
7710 New HildonPannableArea widget.
7712 2008-04-15 18:05:19 <timj@imendio.com>
7714 * src/hildon-banner.c: revert the recent change, that introduced
7715 gtk_window_present() calls. this reopens:
7716 Bug 78481 - [freetest] information banners are hidden under browser menu
7717 But resolves another variant of:
7718 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7720 2008-04-15 13:21:13 <timj@imendio.com>
7722 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7723 recreated its layout, spotted by Kris. this fixes all remaining
7724 artefacts and stability issues with the banner code. in particular:
7725 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7727 2008-04-14 16:52:59 <timj@imendio.com>
7729 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7730 operating on unrealized widgets, fixes:
7731 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7733 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7735 2008-04-09 Kristian Rietveld <kris@imendio.com>
7737 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7738 makes banner disappear.
7739 Fixes: NB#79182: info banner flickering with certain message lengts.
7741 * src/hildon-banner.c (hildon_banner_constructor),
7742 (hildon_banner_init), (hildon_banner_set_text),
7743 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7744 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7745 FALSE, reset size requests of label and banner,
7746 (force_to_wrap_truncated): when the text is too wide, always enforce
7747 the maximum possible width instead of recalculating it from the
7748 layout; enforce the maximum banner height of 3 lines,
7749 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7750 nicer wrapping and no truncated chars if space gets tight.
7752 * src/hildon-banner-private.h: add has_been_wrapped and
7753 has_been_truncated fields.
7755 2008-04-07 Sven Herzberg <sven@imendio.com>
7757 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7758 local values in hildon_date_editor_size_allocate
7760 * src/hildon-date-editor.c: moved the real allocation code into the
7763 2008-04-07 Sven Herzberg <sven@imendio.com>
7765 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7766 local values in hildon_date_editor_size_allocate
7768 * src/hildon-date-editor.c: merged the two if() branches together
7770 2008-04-07 Sven Herzberg <sven@imendio.com>
7772 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7773 local values in hildon_date_editor_size_allocate
7775 * src/hildon-date-editor.c: changed the arguments of the if()
7778 2008-04-07 Sven Herzberg <sven@imendio.com>
7780 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7781 local values in hildon_date_editor_size_allocate
7783 * src/hildon-date-editor.c: split the calculation of the allocation
7784 from the real allocation
7786 2008-03-27 Michael Natterer <mitch@imendio.com>
7788 Fixes: NB#81696: The passcode is not overwritten even after
7791 * src/hildon-code-dialog.c
7792 (hildon_code_dialog_button_clicked)
7793 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7794 because that doesn't overwrite selected text. Instead, emit the
7795 "commit" signal on the entry's im_context so the entry's normal
7796 insert logic is triggered. Set the cursor to the end of the entry
7797 after each insert operation so that we *only* insert in the middle
7798 of the text if something was selected.
7800 2008-03-27 Michael Natterer <mitch@imendio.com>
7802 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7803 selector cannot be opened
7805 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7806 when the popup color selector is created. Please connect to this
7807 signal in order to set the dialog's help ID.
7809 2008-03-25 Sven Herzberg <sven@imendio.com>
7811 Fixes: MB#1212: Hide info banners (infoprints) on click
7813 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7814 extracted the close event simulation into an extra function
7815 (hildon_banner_button_press_event): simulate a close event and destroy
7816 the widget if the event wasn't handled
7817 (hildon_banner_class_init): added the button_press_event handler
7818 (hildon_banner_init): added button-press events to the widget
7820 2008-03-25 Sven Herzberg <sven@imendio.com>
7822 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7823 Patch from: Mohammad Anwari <mdamt@maemo.org>
7825 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7826 instead of the right in RTL mode
7827 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7828 breadcrumb button list in RTL mode
7829 * src/hildon-caption.c: mirror the appearance of the caption widget in
7831 * src/hildon-date-editor.c: mirror appearance of the date editor in
7833 * src/hildon-time-editor.c: mirror appearance of the time editor in
7835 * src/hildon-window.c: fix the position of the popup in RTL mode
7837 2008-03-25 Sven Herzberg <sven@imendio.com>
7839 Amendment to the fix of NB#22072. Fix compilation.
7841 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7843 2008-03-19 Sven Herzberg <sven@imendio.com>
7845 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7848 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7849 timeout id properly when the timeout will disappear this leaves no
7850 artifacts around in the destroy(); there will only be the timeout
7851 created by hildon_banner_ensure_timeout() and adding a new timeout
7852 will also work if the timeout gets removed because the timeout_handler
7855 2008-03-19 Michael Natterer <mitch@imendio.com>
7857 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7859 * src/hildon-volumebar.c
7860 * src/hildon-vvolumebar.c
7861 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7862 the widget becomes focussable at all.
7864 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7865 set the focus to wither the mute button or the volumebar.
7867 Remove own "can-focus" property and instead listen to
7868 notify::can-focus in order to update the widget's state.
7870 Implement GtkWidget::focus() and make sure we can also *leave* the
7871 widget, not only enter it, depending on volumebar orientation and
7872 requested focus direction.
7874 Clean up set_mute() to cooperate nicely with all the above.
7876 2008-03-04 Michael Natterer <mitch@imendio.com>
7878 Fixes: NB#78481: information banners are hidden under browser menu
7880 * src/hildon-banner.c: call gtk_window_present() on the banners so
7881 they are risen if they are already visible.
7883 2008-03-03 Sven Herzberg <sven@imendio.com>
7885 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7887 * examples/hildon-window-menu-example.c: (main): extended the window
7888 menu example to serve as a testcase for automatically added
7889 accelerator groups, too
7890 * src/hildon-window.c: (hildon_window_add_accel_group),
7891 (hildon_window_set_menu): added patch by Tommi Komulainen
7893 2008-03-03 Sven Herzberg <sven@imendio.com>
7895 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7897 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7898 knowledge about the border allocators used within GTK+
7900 2008-02-26 Sven Herzberg <sven@imendio.com>
7902 Fixes: MB#2981: Build with asserts broken
7904 * src/hildon-date-editor.c,
7905 * src/hildon-number-editor.c,
7906 * src/hildon-time-editor.c,
7907 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7908 the proper GType instance check
7910 2008-02-25 Sven Herzberg <sven@imendio.com>
7912 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7914 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7915 * examples/hildon-window-menu-example.c: (main): explicitly show
7917 * src/hildon-window.c:
7918 (hildon_window_set_main_menu): moved most of the code from set_menu()
7919 to this place; skipped the call to gtk_widget_show_all(); also didn't
7920 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7921 (hildon_window_set_menu): removed most of the code, just keep the
7922 questionable gtk_widget_show_all()
7923 * src/hildon-window.h: added the new function and deprecate the old
7926 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7932 * debian/changelog: Updating.
7934 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7937 * pkgconfig/Makefile.am:
7938 * pkgconfig/hildon.pc.in:
7941 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7942 use newly created API_MAJOR_VERSION.
7944 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7950 * debian/changelog: Updating.
7952 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7954 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7956 Add outer_border style property, we use it but don't define it (!).
7960 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7962 * examples/hildon-bread-crumb-trail-example.c (main):
7966 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7968 Fix logic for the bread crumb trail node removal.
7972 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7978 * debian/changelog: Updating.
7980 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7982 Patch by Alejandro to get/set passwords dialogs accesibility.
7984 * hildon-1/src/hildon-get-password-dialog.c:
7985 * hildon-1/src/hildon-set-password-dialog.c:
7986 Set atk_set_name to the passwd entries in order to allow
7987 accessibility by name on this entries.
7989 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7994 * debian/control: Updating gtk dep.
7996 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7998 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7999 USE_MAEMO_GTK is enabled.
8001 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8003 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8004 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8006 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8012 * debian/changelog: Updating.
8014 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8016 * examples/Makefile.am:
8017 * examples/hildon-logical-color-example.c:
8018 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8019 applied + adding a test case. Fixes: NB#71660.
8021 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8023 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8024 to be visible, fixes warning on map for windows without toolbars.
8026 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8028 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8029 2.11.0, add a check for that besides the MAEMO_GTK check.
8031 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8037 * debian/changelog: Updating.
8039 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8041 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8042 visibility. Fixes: NB#70842 and MB#615.
8044 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8046 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8047 set the separator as no-show-all so it doesn't unintentionally appear when
8048 someone does a show_all.
8050 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8052 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8053 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8054 toplevel item. Fixes: NB#62031
8056 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8058 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8059 fix the name of the function in the docs.
8061 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8067 * debian/changelog: Updating.
8069 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8071 * examples/hildon-banner-long-example.c: Adding a test-case for long
8074 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8076 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8078 * src/hildon-color-chooser-dialog.c:
8079 * src/hildon-color-chooser.c:
8080 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8081 memory leaks in font selector and color selector. Fixes: NB#70499 and
8084 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8086 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8088 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8090 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8091 little bit bigger. Fixes: #NB63694.
8093 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8099 * debian/changelog: Updating.
8101 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8104 * doc/hildon-docs.sgml:
8105 * doc/images/bread-crumb-trail.png:
8106 * doc/images/calendar-popup.png:
8107 * doc/images/caption.png:
8108 * doc/images/code-dialog.png:
8109 * doc/images/color-button.png:
8110 * doc/images/color-chooser-dialog.png:
8111 * doc/images/color-chooser.png:
8112 * doc/images/controlbar.png:
8113 * doc/images/date-editor.png:
8114 * doc/images/font-selection-dialog.png:
8115 * doc/images/get-password-dialog.png:
8116 * doc/images/hvolumebar.png:
8117 * doc/images/login-dialog.png:
8118 * doc/images/note.png:
8119 * doc/images/number-editor.png:
8120 * doc/images/range-editor.png:
8121 * doc/images/seekbar.png:
8122 * doc/images/set-password-dialog.png:
8123 * doc/images/sort-dialog.png:
8124 * doc/images/time-editor.png:
8125 * doc/images/time-picker.png:
8126 * doc/images/vvolumebar.png:
8127 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8128 Adding the bread-crumb-trial and helpers to the documentation.
8130 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8132 * examples/hildon-find-toolbar-example.c:
8133 * src/hildon-find-toolbar.c:
8134 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8135 actually continue firing the other handlers if connected. Adding a new
8137 hildon_find_toolbar_get_last_index that gets the index of the most
8138 recently added (last) item. Fixes: NB#52301.
8140 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8142 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8143 behaviour. Fixes: NB#68610.
8145 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8147 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8150 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8152 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8153 when realizing the banner. Should make the infonbanner effect a bit more
8156 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8158 * src/hildon-volumebar.c:
8159 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8160 hildon_volumebar_set_range_insensitive_message and
8161 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8163 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8165 * src/hildon-window.c: Fixing the border freeing on destroy.
8167 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8169 * src/hildon-code-dialog-private.h:
8170 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8171 kw keyboard support in HildonCodeDialog.
8173 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8179 * debian/changelog: Updating.
8181 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8183 * src/hildon-date-editor.c:
8184 * src/hildon-number-editor.c:
8185 * src/hildon-private.c:
8186 * src/hildon-private.h:
8187 * src/hildon-time-editor.c:
8188 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8189 handling in subclassed composite widgets. Fixes: NB#66628.
8191 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8193 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8194 from destroy_ callback as it introduces problems in async dbus signal
8195 handlers. Fixes NB#66673.
8197 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8199 * examples/hildon-hvolumebar-example.c:
8200 * src/hildon-volumebar.c: Improving the focus handling in the
8201 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8202 set_property accessor so that "mute" property can be actually set. I'm
8203 scared that nobody noticed it's totally broken.
8205 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8207 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8210 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8212 * src/hildon-calendar.c:
8213 * src/hildon-number-editor.c:
8214 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8215 matches the spec of 6 chars per second. Fixes: NB#60489.
8217 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8219 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8220 gtk_style_lookup_color sometime returns FALSE even though color was
8221 found and values were filled properly. Weird. Removing the warning for the
8224 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8226 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8227 expand vertically. Adding some extra space to the find toolbar buttons to
8228 make them thumbable. Fixes NB#66060.
8230 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8232 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8233 popup with "Ok" and "Cancel". Fixes NB#59299.
8235 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8237 * src/hildon-calendar.c: Process all window updates before executing next
8238 timeout. Fixes: NB#54146.
8240 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8246 * debian/changelog: Updating.
8248 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8250 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8251 the client event and ignore it, since we use the delete event to close
8254 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8256 * src/hildon-helper.c: Remove the bogus warning about color not being
8257 found. Fixes NB#58352.
8259 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8261 * examples/Makefile.am:
8262 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8263 HildonSeekbar widget inside a toolbar.
8265 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8267 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8268 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8269 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8270 don't want to be closed by non-temporary windows on map.
8272 Also use G_DEFINE_TYPE instead of manually typed code.
8274 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8281 * debian/rules: Updating.
8283 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8285 * examples/Makefile.am:
8286 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8287 bug NB#61128. Strangely it works.
8289 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8291 * src/hildon-date-editor.c: When the date editor entry has been changed
8292 but the numbers of characters < max, turn off the skip validation flag.
8293 Prevents a situation when we enter first a valid year and later re-write
8294 it with an invalid one. Fixes NB#60154.
8296 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8298 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8299 code dialog. Fixes NB#64355.
8301 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8303 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8304 switching the page. Fixes NB#49374.
8306 * examples/Makefile.am:
8307 * examples/hildon-wizard-dialog-example.c: Adding an example for
8308 HildonWizardDialog that shows how to handle manual sensitivity setting on
8311 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8315 * src/hildon-version.h.in:
8316 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8318 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8320 * src/hildon-volumebar.c: Updating the docs.
8322 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8328 * debian/changelog: Updating.
8330 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8332 * src/hildon-find-toolbar.c:
8333 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8334 selected item: hildon_find_toolbar_set_active,
8335 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8336 hildon_find_toolbar_get_active_iter . They correspond to respective
8337 GtkComboBox functions.
8339 * examples/Makefile.am:
8340 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8343 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8345 * examples/Makefile.am:
8346 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8349 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8350 when font size > 32 and we pack a focusable widget inside. Actually using
8351 the default response would work too, but since we don't show default
8352 response state in any way (no theming) it would not be visible to the
8353 user. Fixes NB#63430.
8355 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8357 * src/hildon-date-editor.c: Adding the missing variable setter in the
8358 set_property handler. Fixes NB#54182.
8360 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8362 * src/hildon-window.h: Changing the long key press time from 1500ms to
8363 800ms as requested in NB#63700. I have a bad feeling about this, let's
8364 see... Fixes NB#63700.
8366 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8368 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8369 hildon_time_picker_map, hildon_time_picker_realize,
8370 hildon_time_picker_style_set): Split the contents of map to more
8371 appropriate functions; set window decorations on realize and update
8372 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8374 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8379 * debian/changelog: Updating.
8381 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8383 * src/Makefile.am: fixed installation of the header files
8385 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8391 * debian/changelog: Updating.
8393 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8395 * configure.ac: Removing some remaining of --enable-xan.
8397 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8399 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8400 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8402 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8403 2.10.12-osso6 because the move-focus signal needs to be available in
8406 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8408 * examples/Makefile.am:
8409 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8410 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8411 fine. Prolly NB#61128 is fixed now.
8413 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8415 * src/hildon-volumebar.c:
8416 * src/hildon-volumebar.h: Adding the
8417 hildon_volumebar_set_range_insensitive_message and
8418 hildon_volumebar_set_range_insensitive_messagef functions to set
8419 insensitive message on the slider of the volumebar. Fixes NB#61129.
8421 * examples/Makefile.am:
8422 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8423 test the new insensitive messsage functionality on HildonVolumebar.
8425 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8427 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8430 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8432 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8433 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8434 button on after clearing the trail.
8436 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8438 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8440 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8442 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8443 by splitting the installed headers in generated and non-generated groups. Use
8444 only the non-generated headers to create the hildon-enum-types.h file.
8446 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8448 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8450 * src/hildon-window.c: Hide the window before performing the destroy.
8451 Should make the app closing a little tiny bit more snappy.
8453 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8455 * src/hildon-seekbar.c: add gtkrange.h header
8456 * src/hildon-caption.c: remove unused variable
8458 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8460 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8463 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8469 * debian/changelog: Updating.
8471 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8473 * src/hildon-window.c (hildon_window_window_state_event,
8474 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8475 escape timeout on focus-out-event rather than notify::is-topmost; the
8476 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8478 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8480 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8481 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8483 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8485 * src/hildon-window: actually, you need to use the macro always, there's
8486 no private pointer in the instance structure. We should have cleaned this up
8487 when we had the chance...
8489 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8491 * src/hildon-window.c: do not get the private date from HildonWindow before
8492 it passes the g_return_if_fail check. Once it's passed the test, there's no
8493 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8494 if you are only going to access the data once. Whitespace cleanups.
8496 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8498 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8499 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8501 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8507 * debian/changelog: Updating.
8509 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8511 * src/hildon-window.c: When destroying the window, remove (if exists) the
8512 escape timeout handler. Fixes #NB59276.
8514 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8516 * src/hildon-banner.c: When realizing the widget, set the window
8517 transiency. Setting the transiency in the gobject constructor is not
8518 good, as the widget is not realized at that point. Fixes: #NB56624.
8520 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8522 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8523 Add padding for future expansions.
8525 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8527 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8528 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8529 will fake an activation on the previous to the last item of the trail, so
8530 the effect can be overrided by the developer as usual.
8531 Also change the callback for the back button to do the same thing, so its
8532 effect can be overrided too. Fixes: NB#58982
8534 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8536 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8537 HildonCaption. Fixes NB#52379.
8539 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8541 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8542 the internal state of the trail after the user has had the chance of executing
8543 his handler for the signal. Specifically, it may happen that the activated button
8544 is removed and the user still lets the default handler run. This would segfault
8547 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8549 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8550 scrollbar to the preview dialog. Fixes NB#54147.
8552 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8554 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8555 max/min year properties can be altered, so the client can modify it
8556 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8558 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8560 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8561 hildonlike by default. Fixing a problem with disappearing arrows when
8562 scrolling through months and years. Fixes NB#54127.
8564 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8566 * examples/hildon-date-editor-example.c: Adding error callback to the date
8569 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8575 * configure.ac: Updating.
8577 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8579 * configure.ac: Adding a special '--enable-xan' configure option that
8580 turns off the -Werror compilation setting. Usefull for development.
8582 * src/hildon-calendar.c:
8583 * src/hildon-number-editor.c:
8584 * src/hildon-time-picker.c: Adding the 5* multiplier to
8587 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8589 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8590 instead of g_object_ref + gtk_object_sink.
8592 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8598 * debian/changelog: Updating.
8600 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8602 * src/hildon-color-chooser-dialog.c:
8603 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8604 straight from Tommi labs.
8606 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8608 * examples/hildon-finger-example.c: Correcting the header file path.
8610 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8611 the changed signal. Fixes a small memory leak.
8613 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8617 * src/hildon-banner.c: Importing several usefull fixes from the
8618 ubuntu-mobile branch.
8620 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8622 * examples/Makefile.am:
8623 * examples/hildon-finger-example.c: Adding a finger-checking code
8626 * src/hildon-font-selection-dialog.c: Do not allocate the color
8627 structure using the g_new. Fixes NB#54061.
8629 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8631 * src/hildon-helper.c: Correcting tabs in file.
8633 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8635 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8636 control the visibility of the children.
8638 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8640 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8646 * debian/changelog: Updating.
8648 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8650 * src/hildon-bread-crumb-trail.c:
8651 (hildon_bread_crumb_trail_size_allocate):
8653 Make the back button always a square.
8655 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8657 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8658 from the .c file as it's a private file.
8660 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8662 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8663 uses slightly bigger height.
8665 * src/hildon-font-selection-dialog.c: Adding some checks before
8666 freeing memory in the font selection dialog.
8668 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8670 * src/hildon-font-selection-dialog.c: Adding a small check when
8673 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8674 buttons sensitivity on page switching.
8676 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8678 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8679 internal details of adding a bread crumb to the trail.
8681 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8687 * debian/changelog: Updating.
8689 * src/hildon-bread-crumb-trail.h:
8690 * src/hildon-bread-crumb.h: Changing the API guard to
8691 HILDON_ENABLE_UNSTABLE_API.
8693 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8701 * src/hildon-helper.h: Updating.
8703 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8711 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8715 * src/hildon-helper.h: Small fix to make the package actually compile.
8717 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8719 * src/hildon-bread-crumb-trail.h:
8720 * src/hildon-bread-crumb.h:
8722 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8723 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8725 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8727 * examples/hildon-bread-crumb-trail-example.c:
8729 * src/hildon-bread-crumb-trail.c:
8730 * src/hildon-bread-crumb-trail.h:
8731 * src/hildon-bread-crumb.c:
8732 * src/hildon-bread-crumb.h:
8733 * src/hildon-marshalers.list:
8734 * src/hildon-bread-crumb-widget.c:
8735 * src/hildon-bread-crumb-widget.h:
8737 Slight change in the widget design. The bread crumb trail API is
8738 unchanged, but HildonBreadCrumb is now an interface. A *private*
8739 implementation, hildon-bread-crumb-widget, is provided and used
8740 internally by the trail for the push_text/push_icon functions.
8742 The generic push API is still available, so anyone can implement
8743 and use its own bread crumb widget.
8745 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8747 * debian/rules: Fixing the shlibs.
8749 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8751 * src/hildon-banner.c: Fixing a problem with timed banners having
8752 their parrent destroyed before they are.
8754 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8756 * src/hildon-bread-crumb.c:
8757 * src/hildon-bread-crumb.h:
8759 Make the get_natural_size function a vfunc.
8761 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8763 * src/hildon-bread-crumb.c:
8764 * src/hildon-bread-crumb-trail.c:
8768 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8775 * debian/changelog: Updating for release.
8777 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8779 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8780 don't leak the pango layout.
8782 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8785 * examples/hildon-bread-crumb-trail-example.c:
8789 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8791 * debian/changelog: Removing the bug-fixed entries that were actually
8792 resolved as WONTFIX.
8794 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8797 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8799 * src/hildon-bread-crumb-trail.c:
8800 * src/hildon-bread-crumb-trail.h:
8801 * src/hildon-bread-crumb.c:
8802 * src/hildon-bread-crumb.h:
8806 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8808 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8809 until it's passed the type check.
8811 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8813 * examples/hildon-bread-crumb-trail-example.c
8817 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8819 * examples/Makefile.am
8820 * examples/hildon-bread-crumb-trail-example.c
8822 * src/hildon-bread-crumb-trail.c
8823 * src/hildon-bread-crumb-trail.h
8824 * src/hildon-bread-crumb.c
8825 * src/hildon-bread-crumb.h
8827 New HildonBreadCrumbTrail widget.
8829 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8831 * src/hildon-range-editor.c (hildon_range_editor_init),
8832 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8833 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8834 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8835 hildon_time_editor_class_init, hildon_time_editor_init),
8836 src/hildon-get-password-dialog.c (invalid_input,
8837 hildon_get_password_set_property, hildon_get_password_get_property,
8838 create_contents, hildon_get_password_dialog_set_max_characters),
8839 src/hildon-set-password-dialog.c (create_contents),
8840 src/hildon-date-editor.c (hildon_date_editor_init),
8841 src/hildon-login-dialog.c (hildon_login_dialog_init),
8842 src/hildon-number-editor.c (hildon_number_editor_init),
8843 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8844 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8845 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8846 configure option and adding the respective checks in the code.
8847 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8848 hildon_calendar_drag_data_received): fixed some build warnings.
8850 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8852 * debian/changelog: A 1.0.0 release notes.